/* ============================================================
   CHAVEIRO ALMEIDA — Landing Page (fiel ao Figma)
   Paleta: #161616  #FFF200  #FF2E34  #FFFFFF
   Tipografia: Inter (local / variable)
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Inter";
  src: url("Assets/font/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("Assets/font/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --dark: #161616;
  --dark-2: #1f1f1f;
  --dark-3: #2a2a2a;
  --yellow: #fff200;
  --yellow-pale: #fef6a8;
  --red: #ff2e34;
  --red-deep: #e11116;
  --white: #ffffff;
  --gray-50: #f6f6f7;
  --gray-100: #ededf0;
  --gray-200: #e0e0e4;
  --gray-400: #9a9aa3;
  --gray-500: #6e6e78;
  --gray-700: #3a3a40;

  --txt: #1a1a1a;
  --txt-soft: #55555f;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(20, 20, 20, 0.08);
  --shadow: 0 18px 40px rgba(20, 20, 20, 0.12);
  --shadow-lg: 0 30px 70px rgba(20, 20, 20, 0.22);

  --container: 1180px;
  --nav-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.35s var(--ease);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--txt);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

/* ---------- FOCUS VISIBLE (acessibilidade) ---------- */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.dark-wrap :focus-visible,
.footer :focus-visible,
.btn-red:focus-visible,
.whats-float:focus-visible {
  outline-color: var(--yellow);
}

/* ---------- HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head.right { text-align: right; margin-right: 0; margin-left: auto; }
.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: var(--dark);
}
.section-title.light { color: var(--white); }
.hl-yellow { color: var(--yellow); background-color: #161616;}
.section-sub {
  margin-top: 12px;
  color: var(--txt-soft);
  font-size: 1.02rem;
}
.section-sub.light { color: #b9b9c0; }
.section-sub strong { color: var(--dark); }
.section-sub.light strong { color: var(--yellow); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn-icon { width: 20px; height: 20px; object-fit: contain; }
.btn-icon-light { filter: brightness(0) invert(1); }
/* Recolore ícone (originalmente preto) para o amarelo da paleta (--yellow: #fff200) */
.btn-icon-yellow {
  filter: brightness(0) saturate(100%) invert(94%) sepia(97%) saturate(1938%) hue-rotate(-13deg) brightness(100%) contrast(103%);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}
.btn-yellow:hover { transform: translateY(-3px); }
.btn-dark-line {
  background: var(--dark-2);
  color: var(--white);
  border-color: var(--yellow)
}
.btn-dark-line:hover { transform: translateY(-3px); background: #000; border-color: rgba(255,255,255,0.3); }
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { transform: translateY(-3px); }
.btn-lg { padding: 17px 40px; font-size: 1.08rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255);
  border-bottom: 1px solid transparent;
  transition: height var(--t), box-shadow var(--t), border-color var(--t);
}
.navbar.scrolled { height: 64px; box-shadow: var(--shadow-sm); border-bottom-color: var(--gray-100); }
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: var(--dark); }
.brand-sub { font-weight: 700; font-size: 0.7rem; color: var(--red); letter-spacing: 0.03em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--t);
}
.nav-link:hover, .nav-link.active { color: var(--dark); }
.nav-link-cta {
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
}
.nav-link-cta:hover { background: var(--red-deep); }
.nav-link-cta::after { display: none; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
}
.nav-burger span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  min-height: 85vh;
  padding: calc(var(--nav-h) + 56px) 0 96px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg { display: none; }
.hero-grid {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-pre { font-size: 0.95rem; color: #c2c2c8; font-weight: 400; }
.hero-title {
  margin-top: 6px;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.hero-sub-title {
  font-size: clamp(2.2rem, 4.6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-info { margin-top: 34px; font-size: 0.95rem; }
.hero-region { color: #dcdce2; font-weight: 500; }
.hero-address { margin-top: 8px; color: #9b9ba3; }
.hero-address strong { color: var(--yellow); font-weight: 700; }

/* Arte decorativa (figura amarela+vermelha) */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-art {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.art-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: floaty 7s ease-in-out infinite;
}
.art-front { position: relative; z-index: 2; }
.art-controls { width: 95%; filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55)); animation: float 5s ease-in-out infinite; }
.art-logo { width: 46%; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floaty { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(2deg) scale(1.015); } }

/* ============================================================
   BENEFÍCIOS (pílulas amarelas)
   ============================================================ */
.benefits { position: relative; z-index: 5; margin-top: -48px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--yellow-pale);
  border: 1px solid #f3e98a;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.benefit-pill:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit-ico {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--yellow);
  border-radius: 14px;
}
.benefit-ico img { width: 30px; height: 30px; object-fit: contain; }
.benefit-pill p { font-size: 0.9rem; font-weight: 500; color: #4a4a3a; line-height: 1.4; }

/* ============================================================
   SERVIÇOS (cards escuros com borda vermelha)
   ============================================================ */
.services { padding: 76px 0 86px; background: var(--white); }

/* Como funciona */
.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 10px;
}
.how-num {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--dark);
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
.how-label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.how-arrow { font-size: 1.1rem; color: var(--gray-400); font-weight: 400; }

/* Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Showcase de serviços (bloco escuro + carrossel) */
.svc-showcase {
  display: grid;
  grid-template-columns: auto 1fr 1.05fr;
  align-items: center;
  gap: 40px;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}
/* Stepper vertical */
.svc-stepper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
}
.svc-stepper::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.12);
}
.svc-dot {
  position: relative;
  z-index: 1;
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: var(--dark);
  cursor: pointer;
  padding: 0;
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.svc-dot:hover { border-color: var(--yellow); }
.svc-dot.active { background: var(--yellow); border-color: var(--yellow); transform: scale(1.25); }

/* Conteúdo */
.svc-show-content { transition: opacity var(--t), transform var(--t); }
.svc-show-content.svc-fade-out { opacity: 0; transform: translateY(10px); }
.svc-show-count { display: inline-block; color: var(--yellow); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.14em; margin-bottom: 14px; }
.svc-show-title {
  color: var(--white);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.svc-show-desc { color: #b5b5b5; font-size: 0.98rem; line-height: 1.65; max-width: 400px; margin-bottom: 28px; }
.svc-show-btn { text-transform: uppercase; letter-spacing: 0.06em; }

/* Visual */
.svc-show-visual { display: flex; flex-direction: column; gap: 18px; }
.svc-stage {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.svc-stage-inner { width: 100%; height: 100%; transition: opacity var(--t), transform var(--t); }
.svc-stage-inner.svc-fade-out { opacity: 0; transform: scale(1.04); }
.svc-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-icon-art {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 242, 0, 0.14), transparent 62%),
    #101010;
}
.svc-icon-big { width: 42%; max-width: 150px; height: auto; color: var(--yellow); }
.svc-nav-row { display: flex; gap: 12px; align-self: flex-end; }
.svc-nav {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.svc-nav svg { width: 22px; height: 22px; }
.svc-nav:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.service-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t);
}
.service-card:hover { transform: translateY(-8px); }

/* Imagem */
.service-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Corpo */
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 22px;
}
.service-title { color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }

/* Lista de features */
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}
.service-features li {
  font-size: 0.875rem;
  color: #b6b6bd;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Rodapé do card */
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  flex-wrap: wrap;
}
.service-price-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  font-size: 0.9rem;
}
.btn-svg-dark { width: 18px; height: 18px; fill: var(--dark); flex-shrink: 0; }

.services-cta { margin-top: 56px; text-align: center; }
.services-cta-text { font-weight: 700; color: var(--dark); font-size: 1.15rem; margin-bottom: 20px; }

/* Serviços adicionais (grid compacto) */
.services-more { margin-top: 52px; }
.services-more-head { text-align: center; margin-bottom: 24px; }
.services-more-title { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.services-more-sub { margin-top: 4px; font-size: 0.9rem; color: var(--txt-soft); }
.services-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service-mini:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.service-mini-ico {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--yellow-pale);
  border-radius: 12px;
  color: var(--dark);
}
.service-mini-ico svg { width: 24px; height: 24px; }
.service-mini-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.service-mini-title { font-weight: 800; font-size: 0.95rem; color: var(--dark); line-height: 1.2; }
.service-mini-desc { font-size: 0.82rem; color: var(--txt-soft); }
.service-mini-arrow { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; transition: transform var(--t); }
.service-mini:hover .service-mini-arrow { transform: translateX(3px); }

/* ============================================================
   BLOCO ESCURO (Sobre / Portfólio / Avaliações)
   ============================================================ */
.dark-wrap {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 20px 0 30px;
  position: relative;
  overflow: hidden;
}
.dark-wrap::before { display: none; }
.dark-wrap > section { position: relative; }

/* SOBRE */
.about { padding: 66px 0 50px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-text p { color: #c4c4cc; margin-bottom: 22px; }
.about-contact { display: flex; flex-direction: column; gap: 10px; }
.about-contact li { font-size: 0.95rem; color: #b6b6bd; }
.about-contact strong { color: var(--yellow); font-weight: 700; margin-right: 4px; }
.about-visual { display: flex; justify-content: center; }
.about-visual .hero-art { max-width: 360px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 46px 0 36px;
  text-align: center;
}
.stat-num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--yellow); letter-spacing: -0.03em; }
.stat-label { display: block; margin-top: 4px; font-size: 0.9rem; color: #c4c4cc; }
.about-cta { text-align: center; }

/* PORTFÓLIO */
.portfolio { padding: 50px 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.portfolio-card {
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  background: var(--dark-2);
}
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.portfolio-card:hover img { transform: scale(1.08); }

/* PORTFÓLIO CTA */
.portfolio-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.portfolio-cta-text {
  color: #c4c4cc;
  font-size: 1rem;
  font-weight: 500;
}
.portfolio-cta-text strong { color: var(--white); font-weight: 700; }
.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  cursor: pointer;
  transition: transform var(--t), opacity var(--t);
}
.btn-insta:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-svg { width: 20px; height: 20px; fill: var(--dark); flex-shrink: 0; }

/* AVALIAÇÕES */
.reviews { padding: 56px 0 70px; }
.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.reviews-heading { flex: 1; }
.reviews-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 22px;
  flex-shrink: 0;
}
.badge-score {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.03em;
}
.badge-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; }
.badge-label { display: block; font-size: 0.8rem; color: #b0b0b8; margin-top: 2px; }

.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card {
  background: var(--yellow);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--t);
}
.review-card:hover { transform: translateY(-6px); }
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.review-google {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.review-google svg { width: 18px; height: 18px; display: block; }
.review-stars { color: var(--dark); font-size: 1.05rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  margin-bottom: 22px;
  color: #2a2a1a;
  line-height: 1.55;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 16px;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.review-name { font-weight: 800; font-size: 0.9rem; color: var(--dark); line-height: 1.2; }
.review-via { font-size: 0.75rem; color: #6a6a48; font-weight: 600; }

/* ============================================================
   REGIÕES + LOCALIZAÇÃO
   ============================================================ */
.regions { padding: 84px 0; background: var(--white); }
.regions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }

/* Eyebrow (rótulo de seção) */
.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  background: var(--yellow-pale);
  color: #4a4a1a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px 6px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow-ico { width: 15px; height: 15px; fill: var(--red); flex: 0 0 auto; }

/* Coluna de cobertura */
.regions-text { display: flex; flex-direction: column; }
.regions-text .section-title { margin-bottom: 14px; }
.regions-lead { color: var(--txt-soft); font-size: 1.02rem; max-width: 440px; margin-bottom: 26px; }
.regions-lead strong { color: var(--dark); font-weight: 800; }

.regions-list { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.regions-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}
.ico-pin { width: 18px; height: 18px; fill: var(--red); flex: 0 0 auto; }

.regions-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--txt-soft);
  margin-bottom: 28px;
}
.regions-note .note-ico { width: 20px; height: 20px; fill: var(--red-deep); flex: 0 0 auto; margin-top: 1px; }
.regions-note strong { color: var(--dark); font-weight: 700; }

/* Ações (encostam no rodapé da coluna p/ equilibrar a altura) */
.regions-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--gray-200);
}
.btn-outline:hover { transform: translateY(-3px); background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-outline:hover .btn-svg-dark { fill: var(--white); }
.btn-svg-light { width: 18px; height: 18px; fill: var(--white); flex-shrink: 0; }
.regions-social { display: flex; gap: 14px; }
.about-social { margin-top: 20px; }
.social-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--red);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.social-btn:hover { transform: translateY(-4px); }
.social-btn svg { width: 24px; height: 24px; fill: var(--white); }

.location { display: flex; flex-direction: column; }
.location-title { margin-bottom: 18px; }
.location-map {
  border: 2px solid var(--red);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 1 1 auto;
  min-height: 320px;
  background: var(--gray-100);
}
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.location-addr { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; color: var(--dark); font-size: 0.95rem; line-height: 1.35; }
.location-addr .ico-pin { margin-top: 2px; }
.addr-sub { display: block; font-weight: 500; color: var(--txt-soft); font-size: 0.84rem; margin-top: 2px; }
.location-btn { gap: 8px; flex-shrink: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { padding: 30px 0 90px; background: var(--white); text-align: center; }
.cta-final-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-final-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--dark); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 30px 0 96px; background: var(--white); }
.faq-title { font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--dark); }
.faq .section-sub { margin-top: 4px; }
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.faq-item[open] { background: var(--white); border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  align-self: center;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 400; line-height: 1;
  color: var(--dark);
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--t), background var(--t);
}
.faq-item[open] summary::after { content: "−"; background: var(--yellow); transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--txt-soft); }

/* ============================================================
   CATÁLOGO DE CHAVES
   ============================================================ */
.keycatalog { padding: 30px 0 90px; background: var(--white); }

/* Cores por tipo de chave (tokens) */
.kc-dot, .kc-type-tag { --c-transponder:#1e40af; --c-telecomando:#15803d; --c-canivete:#b45309; --c-smartkey:#6d28d9; --c-pantografica:#be185d; }

/* Legenda de tipos */
.kc-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 28px;
}
.kc-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt-soft);
}
.kc-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.kc-dot.transponder { background: #1e40af; }
.kc-dot.telecomando { background: #15803d; }
.kc-dot.canivete    { background: #b45309; }
.kc-dot.smartkey    { background: #6d28d9; }
.kc-dot.pantografica{ background: #be185d; }

/* Busca */
.kc-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 36px;
}
.kc-search-ico {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  fill: var(--gray-400);
  pointer-events: none;
}
.kc-search input {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--dark);
  padding: 15px 20px 15px 50px;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.kc-search input::placeholder { color: var(--gray-400); }
.kc-search input:focus { border-color: var(--dark); }

/* Views */
.kc-view { animation: kc-fade-in 0.35s var(--ease) both; }
.kc-view[hidden] { display: none; }
@keyframes kc-fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Grade de marcas */
.kc-brands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.kc-brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 14px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  animation: kc-card-in 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes kc-card-in { from { opacity: 0; transform: translateY(18px); } }
.kc-brand-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.kc-brand-card:hover { transform: translateY(-6px); border-color: var(--gray-200); box-shadow: var(--shadow); }
.kc-brand-card:hover::before { transform: scaleX(1); }
.kc-brand-logo {
  width: 100%;
  height: 62px;
  display: grid;
  place-items: center;
}
.kc-brand-logo img {
  max-width: 80%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform var(--t);
}
.kc-brand-card:hover .kc-brand-logo img { transform: scale(1.08); }
.kc-brand-mono {
  display: none; /* fallback caso o logo não carregue */
  width: 60px; height: 60px;
  place-items: center;
  background: var(--dark);
  color: var(--yellow);
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.kc-brand-name { font-weight: 800; font-size: 1rem; color: var(--dark); letter-spacing: -0.01em; }
.kc-brand-count { font-size: 0.78rem; color: var(--gray-400); font-weight: 600; }

.kc-empty {
  text-align: center;
  color: var(--txt-soft);
  font-size: 1rem;
  padding: 40px 0;
}
.kc-empty a { color: var(--red); font-weight: 700; }
.kc-empty a:hover { text-decoration: underline; }

/* Detalhe da marca */
.kc-detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.kc-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 18px 9px 12px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.kc-back svg { width: 20px; height: 20px; fill: var(--yellow); }
.kc-back:hover { background: #000; transform: translateX(-3px); }
.kc-detail-title { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--dark); margin-right: auto; }
.kc-detail-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

/* Grade de chaves (fotos reais + legenda) */
.kc-models {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.kc-key-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  animation: kc-card-in 0.45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}
.kc-key-card:hover { transform: translateY(-5px); border-color: var(--yellow); box-shadow: var(--shadow); }
.kc-key-photo {
  width: 100%;
  height: 110px;
  display: grid;
  place-items: center;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.kc-key-photo img {
  max-width: 86%;
  max-height: 92px;
  width: auto;
  object-fit: contain;
  transition: transform var(--t);
}
.kc-key-card:hover .kc-key-photo img { transform: scale(1.07); }
.kc-key-cap {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.35;
}

/* CTA do detalhe */
.kc-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  flex-wrap: wrap;
}
.kc-detail-cta p { color: #c4c4cc; font-size: 1rem; }
.kc-detail-cta strong { color: var(--white); }
.kc-detail-cta .btn { gap: 8px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog { padding: 30px 0 96px; background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--yellow); }
.blog-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--dark);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.blog-meta { font-size: 0.76rem; color: var(--gray-400); font-weight: 500; margin-bottom: 10px; }
.blog-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.blog-excerpt { font-size: 0.855rem; color: var(--txt-soft); line-height: 1.55; flex: 1; margin-bottom: 18px; }
.blog-read {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.01em;
  transition: gap var(--t);
}
.blog-card:hover .blog-read { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: #c4c4cc; padding: 66px 0 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 10px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .brand-name { color: var(--white); }
.footer-text { margin-top: 18px; font-size: 0.94rem; max-width: 360px; }
.footer-title { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-nav li, .footer-info li { margin-bottom: 12px; font-size: 0.94rem; }
.footer-nav a:hover, .footer-info a:hover { color: var(--yellow); }
.footer-info li { display: flex; align-items: center; gap: 8px; }
.footer-info a { display: flex; align-items: center; gap: 8px; }
.ico-mini { width: 17px; height: 17px; fill: var(--yellow); flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; text-align: center; font-size: 0.84rem; color: var(--gray-400); display: flex; flex-direction: column; gap: 6px; }
.footer-dev { font-size: 0.78rem; color: #666670; display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-dev-link { display: inline-flex; align-items: center; opacity: 0.8; transition: opacity var(--t); }
.footer-dev-link:hover { opacity: 1; }
.footer-dev-logo { height: 22px; width: auto; display: block; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  transition: transform var(--t);
}
.whats-float:hover { transform: scale(1.1); }
.whats-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ============================================================
   ANIMATION STATES
   ============================================================ */
[data-animate], [data-delay] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.is-visible { opacity: 1; transform: none; }
.no-js [data-animate], .no-js [data-delay] { opacity: 1 !important; transform: none !important; }

/* GSAP no controle: mata a transição CSS (o GSAP cuida do timing) */
body.gsap-on [data-animate], body.gsap-on [data-delay] { transition: none !important; will-change: auto; }
/* Fallback de segurança caso o GSAP não carregue */
.reveal-all [data-animate], .reveal-all [data-delay] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
  [data-animate], [data-delay] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: -1; }
  .hero-art { max-width: 360px; }
  .hero-copy { text-align: center; }
  .hero-ctas { justify-content: center; }
  .svc-showcase { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }
  .svc-stepper { flex-direction: row; justify-content: center; gap: 14px; }
  .svc-stepper::before { top: 50%; bottom: auto; left: 6px; right: 6px; width: auto; height: 2px; transform: translateY(-50%); }
  .svc-show-desc { max-width: 560px; }
  .svc-nav-row { align-self: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { order: -1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-header { align-items: flex-start; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .services-more-grid { grid-template-columns: repeat(2, 1fr); }
  .kc-brands { grid-template-columns: repeat(4, 1fr); }
  .regions-grid { grid-template-columns: 1fr; gap: 44px; }
  .location-map { min-height: 280px; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 26px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform var(--t), visibility var(--t);
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-link { padding: 13px 16px; font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-burger { display: flex; }

  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .how-it-works { gap: 8px; }
  .how-arrow { display: none; }
  .portfolio-cta { flex-direction: column; align-items: center; text-align: center; }
  .section-head.right { text-align: left; margin-right: auto; }
}

@media (max-width: 560px) {
  :root { --radius-xl: 30px; }
  .container, .nav-inner, .hero-grid { padding-inline: 18px; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .svc-showcase { padding: 28px 18px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-badge { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .services-more-grid { grid-template-columns: 1fr; }
  .kc-brands { grid-template-columns: repeat(2, 1fr); }
  .kc-models { grid-template-columns: 1fr; }
  .kc-detail-cta { flex-direction: column; text-align: center; }
  .kc-detail-cta .btn { width: 100%; }
  .kc-types { gap: 8px 16px; }
  .about-stats { gap: 18px; }
  .regions-actions { flex-direction: column; }
  .regions-actions .btn { width: 100%; }
  .location-bar { flex-direction: column; align-items: stretch; }
  .location-bar .location-btn { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
