/* ============================================================
   Elven — Site Oficial | Estilos
   Paleta extraída do design (Home v2.svg)
   ============================================================ */

:root {
  --green:        #1BB77A;
  --green-dark:   #159966;
  --green-deep:   #0E3D2E;   /* faixa CTA / depoimento */
  --green-foot:   #1F8A5B;   /* rodapé */
  --ink:          #1F2733;   /* títulos */
  --ink-soft:     #2D2D2D;
  --muted:        #515151;
  --muted-2:      #6B7280;
  --line:         #E0E0E0;
  --line-soft:    #EDEDED;
  --bg:           #FFFFFF;
  --bg-soft:      #F6F7F8;
  --cyan:         #2BC7DD;
  --blue:         #0075FF;
  --radius:       16px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md:    0 12px 32px rgba(16,24,40,.10);
  --shadow-lg:    0 24px 60px rgba(16,24,40,.14);
  --container:    1200px;
  --grad-accent:  linear-gradient(90deg, #19B6C9 0%, #1BB77A 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: clip;   /* segurança contra overflow horizontal (mantém o header sticky) */
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.accent-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn .arrow { font-size: 13px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 34px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-item { position: relative; }
.nav-menu a,
.nav-menu .nav-link {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-menu a:hover,
.nav-menu .nav-link:hover { color: var(--green); }
.nav-menu .caret {
  width: 12px; height: 12px;
  object-fit: contain;
  transition: transform .2s ease;
}
/* caret gira quando o mega está aberto */
.nav-item.open .caret { transform: rotate(180deg); }

/* ---------- Megamenu ---------- */
.mega {
  position: fixed;
  top: 78px;           /* altura do header */
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 24px 40px rgba(16,24,40,.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner { padding: 40px 32px 48px; }
.mega-title { color: var(--green); font-size: 26px; font-weight: 600; margin-bottom: 28px; }
.mega-grid {
  display: grid;
  grid-template-columns: 340px 340px;   /* colunas fixas: o gap vale exatamente o definido */
  justify-content: start;
  gap: 6px 24px;            /* espaço enxuto; o respiro vem do padding da caixa */
}
.mega-grid .mega-item {
  display: block;
  width: 340px;
  padding: 28px 34px;       /* vence o reset .nav-menu a { padding:0 } por especificidade */
  border-radius: 16px;
  transition: background .15s ease;
}
.mega-grid .mega-item:hover { background: #EAF7F1; }
.mi-title { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 9px; transition: color .15s ease; }
.mega-item:hover .mi-title { color: var(--green); }
.mi-desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.55; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .login { font-weight: 600; font-size: 15px; }
.nav-actions .globe { width: 24px; height: 24px; }

/* seletor de idioma */
.lang-switch { position: relative; }
.lang-btn { background: none; border: none; cursor: pointer; padding: 4px; display: inline-flex; line-height: 0; }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 150px;
  display: none;
  z-index: 70;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: block;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 8px;
}
.lang-menu a:hover { background: var(--bg-soft); color: var(--green); }
.lang-menu a.active { color: var(--green); font-weight: 600; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 130px;
}
/* cenário do hero: mesmo sistema de coordenadas do SVG (frame 1440, centro das
   elipses em 720,438). Elipses e ícones ficam juntos para se alinharem. */
.hero-scene {
  position: absolute;
  top: -36px;            /* desloca verticalmente p/ casar com o texto */
  left: 50%;
  transform: translateX(-50%);
  width: 1440px;
  height: 720px;
  pointer-events: none;
  z-index: 1;
}
.hero-ring {
  position: absolute;
  left: 720px; top: 438px;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(0,0,0,.05);
  border-radius: 50%;
}
.hero-ring.r1 { width: 298.5px;  height: 298.5px; }
.hero-ring.r2 { width: 518.5px;  height: 518.5px; }
.hero-ring.r3 { width: 758.5px;  height: 758.5px; }
.hero-ring.r4 { width: 1018.5px; height: 1018.5px; }
.hero-glow {
  position: absolute;
  left: 720px; top: 458px;
  width: 940px; height: 940px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(27,183,122,.07) 0%, rgba(27,183,122,0) 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 440px;
}
.hero .btn { margin-top: 30px; font-size: 16px; padding: 13px 24px; }

/* mockup à direita */
.hero-visual { position: relative; height: 380px; }
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
  width: 360px;
  right: 0;
  top: 30px;
}
.float-card .fc-row { display: flex; align-items: flex-start; gap: 12px; }
.float-card .fc-row + .fc-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.fc-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0; font-size: 16px;
}
.fc-icon.ok   { background: #E6F7F0; color: var(--green); }
.fc-icon.warn { background: #FFF3E5; color: #F0A132; }
.fc-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.fc-sub   { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.fc-time  { margin-left: auto; font-size: 12px; color: var(--green); font-weight: 500; }
.fc-time.muted { color: #F0A132; }

/* ícones do hero: centrados exatamente sobre o ponto da elipse (conectados) */
.hero-ic {
  position: absolute;
  width: 66px; height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 18px rgba(16,24,40,.12));  /* sombra limpa (sem corte) */
}
.hero-ic.h-bolt   { left: 857px;  top: 217px; }
.hero-ic.h-pulse  { left: 858px;  top: 406px; }
.hero-ic.h-bell   { left: 361px;  top: 560px; }   /* na elipse, abaixo do botão e longe do carrossel */
.hero-ic.h-chart  { left: 581px;  top: 474px; }
.hero-ic.h-shield { left: 1096px; top: 440px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   FAIXA DE LOGOS (clientes)
   ============================================================ */
.logos-band {
  background: linear-gradient(90deg, #0E8BD1 0%, #1BB77A 100%);
  padding: 24px 0;
  overflow: hidden;
}
.logos-viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logos-scroll 38s linear infinite;
}
.logos-track img {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: .92;
  flex-shrink: 0;
  margin-right: 72px;
}
.logos-track img.lg-big { height: 44px; }
/* pausa ao passar o mouse */
.logos-viewport:hover .logos-track { animation-play-state: paused; }

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}

/* ============================================================
   SECTIONS genéricas
   ============================================================ */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: 38px; font-weight: 700; color: var(--ink); letter-spacing: -.4px;
  line-height: 1.15;
}
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.section-head.head-wide { max-width: 1040px; }
.section-head.head-wide h2 { white-space: nowrap; }

/* ---------- Features (4 cards) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.feature {
  padding: 32px 28px;
  border-right: 1px solid var(--line-soft);
}
.feature:last-child { border-right: none; }
.feature .f-icon {
  width: 38px; height: 38px; margin-bottom: 22px; object-fit: contain;
}
.feature h3 { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.feature p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* ============================================================
   PRODUTOS E SERVIÇOS
   ============================================================ */
.products {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.products-intro h2 { font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1.12; letter-spacing: -.5px; }
.products-intro .divider { height: 1px; background: var(--line); margin: 26px 0; }
.products-intro p { font-size: 17px; color: var(--muted); max-width: 360px; }
/* copy de conversão (esquerda, acima do form) */
.products-intro .intro-cta { font-size: 18px; color: var(--ink-soft); font-weight: 500; line-height: 1.5; max-width: 380px; }
.products-intro .intro-cta strong { color: var(--green); font-weight: 700; }
/* texto destacado acima dos produtos (direita) */
.products-lead {
  font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.45;
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 18px;
  margin-bottom: 28px;
}

/* formulário de lead */
.lead-form { margin-top: 32px; max-width: 380px; display: grid; gap: 16px; scroll-margin-top: 100px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form label { font-size: 13px; font-weight: 600; color: var(--ink); }
.lead-form input {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input::placeholder { color: #9CA3AF; }
.lead-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,183,122,.15); }
.lead-form input:not(:placeholder-shown):invalid { border-color: #E5484D; }
.lead-form .lf-submit { margin-top: 4px; justify-content: center; font-size: 16px; padding: 13px 24px; }
.lead-form .lf-success { color: var(--green); font-weight: 600; font-size: 14px; margin: 4px 0 0; }

.product-list { display: flex; flex-direction: column; gap: 4px; }
.product-item {
  display: block;
  padding: 22px 28px;
  border-radius: 18px;
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background .28s ease, box-shadow .28s ease, transform .28s ease, border-color .2s ease;
}
.product-item:last-child { border-bottom: 1px solid var(--line-soft); }
.p-head { display: flex; align-items: center; gap: 18px; }
.p-icon {
  width: 46px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  transition: filter .25s ease;
}
.p-name { font-size: 26px; font-weight: 600; color: var(--ink); transition: color .25s ease; }

/* conteúdo extra (some por padrão, surge no hover) */
.p-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height .3s ease, opacity .25s ease, transform .3s ease, margin-top .3s ease;
}
.p-desc { color: #fff; font-size: 16px; line-height: 1.5; max-width: 560px; }
.p-more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; color: #fff; font-weight: 600; font-size: 15px;
}
.p-more .arrow { font-size: 15px; }
.p-extra .p-more { padding-left: 64px; } /* alinha com o texto, após o ícone */

/* ---- estado hover: vira card com gradiente ---- */
.product-item:hover {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(16,24,40,.16);
  transform: translateY(-2px);
}
.product-item:hover .p-name { color: #fff; }
.product-item:hover .p-icon { filter: brightness(0) invert(1); }  /* símbolo fica branco */
.product-item:hover .p-extra {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
}
.product-item:hover .p-desc { padding-left: 64px; } /* alinha a descrição abaixo do título */

/* ============================================================
   CTA (faixa verde escuro)
   ============================================================ */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 50%, rgba(27,183,122,.30), transparent 70%),
    var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: 34px; font-weight: 700; line-height: 1.2; }
.cta-band h2 .hl {
  background: linear-gradient(90deg,#2BC7DD,#2EE6A6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band p { color: rgba(255,255,255,.7); margin-top: 16px; font-size: 16px; max-width: 380px; }
.cta-form .label { color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .8px; font-weight: 600; text-transform: uppercase; }
.cta-input {
  margin-top: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-input input {
  flex: 1; border: none; outline: none; font-family: inherit;
  font-size: 15px; padding: 10px 14px; color: var(--ink); background: transparent;
}
.cta-btn { margin-top: 14px; font-size: 16px; padding: 14px 28px; }
.cta-perks { display: flex; gap: 24px; margin-top: 16px; }
.cta-perks span { color: rgba(255,255,255,.85); font-size: 13.5px; display: flex; align-items: center; gap: 7px; }
.cta-perks .ck { color: #2EE6A6; }

/* ============================================================
   APP MOBILE
   ============================================================ */
/* seção mais baixa: o celular "vaza" e é cortado na base da seção */
.app-section { overflow: hidden; padding-top: 40px; padding-bottom: 0; }
.app-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.app-text { align-self: center; }
.app-phone { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 620px; }
.app-phone .phone-img {
  position: relative;
  z-index: 2;
  width: 340px; height: auto;
  margin-bottom: -70px;   /* desce além da base; a seção corta com overflow:hidden */
  filter: drop-shadow(0 24px 50px rgba(16,24,40,.20));
}
/* anéis concêntricos de fundo */
.app-rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.app-rings span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border: 1.5px solid rgba(0,0,0,.06); border-radius: 50%;
}
.app-rings span:nth-child(1) { width: 460px; height: 460px; }
.app-rings span:nth-child(2) { width: 640px; height: 640px; }
.app-rings span:nth-child(3) { width: 820px; height: 820px; }
/* ícones flutuantes ao redor do celular */
.app-ic {
  position: absolute; z-index: 3;
  filter: drop-shadow(0 14px 26px rgba(16,24,40,.16));
  animation: floaty 5s ease-in-out infinite;
}
.app-ic.a-shield { width: 70px;  left: 0;    top: 150px;  animation-delay: .2s; }
.app-ic.a-donut  { width: 86px;  right: 10px; top: 110px;  animation-delay: 1.0s; }
.app-ic.a-bell   { width: 84px;  left: 40px;  bottom: 120px; animation-delay: 1.6s; }
.app-ic.a-head   { width: 70px;  right: 20px; bottom: 130px; animation-delay: .7s; }
.app-text h2 { font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.4px; }
.app-text > p { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 480px; }
.app-list { margin-top: 24px; display: grid; gap: 14px; }
.app-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.app-list .ck { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; object-fit: contain; }
.store-badges { display: flex; gap: 14px; margin-top: 30px; }
.store-badges img { height: 48px; width: auto; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testi-sec { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.testi-left h2 { font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.testi-left h2 .accent-text { display: inline; }
.testi-left p { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 280px; }
.testi-nav { display: flex; gap: 12px; align-items: center; margin-top: 30px; }
.testi-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 18px; color: var(--ink);
  display: grid; place-items: center; transition: .15s;
}
.testi-nav button:hover { border-color: var(--green); color: var(--green); }
.testi-dots { display: flex; gap: 7px; margin-left: 8px; }
.testi-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.testi-dots i.on { width: 22px; border-radius: 5px; background: var(--green); }

.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .4s ease; }
.testi-track .testi-card { flex: 0 0 100%; }
.testi-dots i { cursor: pointer; }
.testi-card {
  background:
    radial-gradient(500px 250px at 90% 0%, rgba(27,183,122,.25), transparent 70%),
    var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.testi-card .quote-mark { font-size: 60px; color: rgba(255,255,255,.18); line-height: .6; font-family: Georgia, serif; }
.testi-card blockquote { font-size: 22px; font-weight: 500; line-height: 1.45; margin-top: 12px; }
.testi-foot { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.testi-foot .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,#2BC7DD,#1BB77A); }
.testi-foot .t-name { font-weight: 600; font-size: 15px; }
.testi-foot .t-role { font-size: 13px; color: rgba(255,255,255,.6); }
.testi-foot .stars { margin-left: auto; color: #2EE6A6; letter-spacing: 2px; }

/* ============================================================
   CASES DE SUCESSO
   ============================================================ */
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.case-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.case-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.case-name { font-size: 18px; font-weight: 600; color: var(--ink); }
.case-tag  { font-size: 13px; color: var(--muted-2); }
.case-card p { font-size: 15px; color: var(--muted); }
.case-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 1080px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform .2s ease; color: var(--muted-2); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 28px 24px; color: var(--muted); font-size: 15px; max-width: 860px; }
.faq-item.open .faq-a { max-height: 240px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-foot); color: #fff; padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 36px; margin-bottom: 28px; }
.footer-col h4 { font-size: 14px; font-weight: 700; letter-spacing: .6px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background-color: rgba(255,255,255,.15);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  transition: background-color .15s;
}
.footer-social a:hover { background-color: rgba(255,255,255,.28); }
.footer-contact { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.9); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22);
  text-align: center; font-size: 14px; color: rgba(255,255,255,.8);
}

/* ============================================================
   RESPONSIVO (tablet + mobile)
   ============================================================ */
.nav-toggle { display: none; }
.nav-collapse { display: contents; }   /* no desktop não afeta o layout */

/* ---------- Tablet / abaixo (≤ 980px) ---------- */
@media (max-width: 980px) {
  .container { padding: 0 24px; }

  /* ----- header: menu hambúrguer ----- */
  .nav { position: relative; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto;
    border: none; background: none; cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-collapse {
    display: none;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 22px;
    gap: 6px;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .site-header.nav-open .nav-collapse { display: flex; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-item { position: static; width: 100%; }
  .nav-menu a, .nav-menu .nav-link { width: 100%; padding: 13px 4px; font-size: 16px; justify-content: space-between; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
  .nav-actions .btn-primary { justify-content: center; }
  .nav-actions .login { text-align: center; padding: 8px; }
  .lang-switch { width: 100%; }
  .lang-btn { display: none; }
  .lang-menu { position: static; display: block; border: none; box-shadow: none; padding: 0; min-width: 0; }
  .lang-menu a { padding: 12px 4px; font-size: 16px; }

  /* megamenu: inline dentro do menu mobile */
  .mega {
    position: static; width: 100%; box-shadow: none; border: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav-item.open .mega { display: block; }
  .mega-inner { padding: 4px 0 8px 10px; max-width: none; }
  .mega-title { display: none; }
  .mega-grid { display: flex; flex-direction: column; gap: 0; }
  .mega-grid .mega-item { width: 100%; padding: 11px 12px; border-radius: 10px; }
  .mi-desc { display: none; }

  /* ----- hero ----- */
  .hero-scene { display: none; }          /* decoração em coords fixas de 1440 */
  .hero { padding: 56px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 38px; }
  .hero-visual { height: auto; }
  .float-card { position: static; width: 100%; max-width: 440px; }

  /* ----- seções 2 colunas -> 1 ----- */
  .products { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .app-sec { grid-template-columns: 1fr; gap: 36px; }
  .app-section { padding-bottom: 0; }
  .app-phone { min-height: auto; order: 2; }
  .app-phone .phone-img { width: 280px; margin-bottom: 0; }
  .app-rings, .app-ic { display: none; }
  .app-text { order: 1; }
  .testi-sec { grid-template-columns: 1fr; gap: 32px; }

  /* features 4 -> 2 col */
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-bottom: 1px solid var(--line-soft); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:nth-last-child(-n+2) { border-bottom: none; }

  /* cases 2 -> 1 */
  .cases-grid { grid-template-columns: 1fr; }

  /* footer 4 -> 2 col */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Celular (≤ 600px) ---------- */
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2, .section-head.head-wide h2 { font-size: 25px; white-space: normal; }
  .section-head.head-wide { max-width: 100%; }
  .section-head p { font-size: 15px; }

  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 15px; }

  .products-intro h2 { font-size: 28px; }
  .p-name { font-size: 21px; }
  .product-item { padding: 18px 16px; }

  .cta-band h2 { font-size: 24px; }
  .cta-perks { flex-wrap: wrap; gap: 8px 18px; }
  .cta-btn { width: 100%; justify-content: center; }
  .app-text h2 { font-size: 26px; }
  .testi-left h2 { font-size: 28px; }
  .testi-card { padding: 30px 22px; }
  .testi-card blockquote { font-size: 18px; }

  /* features e footer 1 col */
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .feature:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .logos-track img { height: 24px; }
  .logos-track img.lg-big { height: 34px; }

  .faq-q { font-size: 15px; padding: 18px 18px; }
}

/* ---------- Telas pequenas (≤ 400px) ---------- */
@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 27px; }
}

/* ============================================================
   Botão flutuante WhatsApp
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  z-index: 90;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float img { width: 100%; height: 100%; display: block; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(0,0,0,.26); }
@media (max-width: 600px) {
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
