/* ==========================================================================
   Despachante Falkemback — Landing Page Google Ads
   style.css — mobile-first, tokens conforme BRIEFING.md
   ========================================================================== */

:root{
  --color-primaria:#012B65;
  --color-top-notice:#071D40;
  --color-header-bg:#012B65;
  --color-footer-bg:#091322;
  --color-amber-accent:#FBB808;
  --color-amber-text:#B98300;
  --color-grafite:#0F172A;
  --color-texto-suave:#475569;
  --color-neutro:#F5F7FA;
  --color-branco:#FFFFFF;
  --color-borda:#E2E8F0;
  --offset-top:140px;
}

/* ---------- Reset básico ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:var(--color-grafite);
  background:var(--color-branco);
  padding-top:var(--offset-top);
  line-height:1.5;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3,p{margin:0;}
button{font-family:inherit;}

.container{width:100%;max-width:1120px;margin:0 auto;padding:0 20px;}

section[id]{scroll-margin-top:var(--offset-top);}

/* ---------- Tipografia utilitária ---------- */
.eyebrow{
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--color-primaria);
  margin:0 0 10px;
}
.eyebrow--amber{color:var(--color-amber-accent);}

h2{font-size:1.5rem;line-height:1.2;letter-spacing:-0.01em;margin:0 0 16px;color:var(--color-grafite);}
h3{font-size:1.0625rem;margin:0 0 8px;color:var(--color-grafite);}
.secao__intro{color:var(--color-texto-suave);font-size:1rem;line-height:1.6;max-width:680px;margin:0 0 24px;}
.secao__nota{color:var(--color-texto-suave);font-size:0.875rem;line-height:1.6;margin:20px 0 20px;max-width:680px;}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  min-width:44px;
  padding:12px 22px;
  border-radius:8px;
  font-weight:700;
  font-size:0.9375rem;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary{background:var(--color-primaria);color:#fff;}
.btn--primary:hover{background:#01204a;}
.btn--outline{background:#fff;color:var(--color-grafite);border-color:#CBD5E1;}
.btn--outline:hover{border-color:var(--color-primaria);}
.btn--ghost{background:transparent;color:var(--color-texto-suave);border-color:transparent;text-decoration:underline;}
.btn--whatsapp{background:#15803D;color:#fff;}
.btn--whatsapp:hover{background:#166534;}
.link-button{
  background:none;border:none;padding:0;margin:0;color:inherit;
  font:inherit;text-decoration:underline;cursor:pointer;min-height:44px;
}

/* ---------- Faixa superior + Cabeçalho fixos ---------- */
.site-top{position:fixed;top:0;left:0;width:100%;z-index:60;}
.top-notice{
  background:var(--color-top-notice);
  color:#E2E8F0;
  font-size:0.78rem;
  padding:8px 0;
  text-align:center;
  line-height:1.4;
}
.cab{background:var(--color-header-bg);min-height:72px;display:flex;align-items:center;}
.cab .container{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.cab__logo{display:inline-flex;min-height:44px;align-items:center;}
.cab__logo img{height:32px;width:auto;}

.cab__nav{
  position:fixed;
  top:var(--offset-top);
  left:0;
  width:100%;
  background:var(--color-header-bg);
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  z-index:55;
}
.cab__nav.is-open{max-height:320px;}
.cab__nav ul{display:flex;flex-direction:column;padding:8px 20px 16px;}
.cab__nav a{
  display:block;
  padding:12px 0;
  color:#fff;
  font-size:0.8125rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border-top:1px solid rgba(255,255,255,0.12);
}
.cab__nav li:first-child a{border-top:none;}
.cab__nav a:hover{color:var(--color-amber-accent);}

.cab__toggle{
  order:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  min-height:44px;
  min-width:44px;
  background:transparent;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:8px;
  color:#fff;
  position:relative;
  padding:0;
  cursor:pointer;
}
.cab__toggle-label{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
.cab__toggle::before{
  content:"";
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  box-shadow:0 -6px 0 #fff, 0 6px 0 #fff;
}

.cab__cta{
  order:2;
  background:var(--color-amber-accent);
  color:var(--color-grafite);
  font-weight:700;
  font-size:0.75rem;
  letter-spacing:0.02em;
  padding:10px 14px;
  border-radius:8px;
  white-space:nowrap;
  min-height:44px;
  display:none;
  align-items:center;
}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(135deg,#F8FAFC 0%,#EEF2F7 100%);
  border-bottom:1px solid var(--color-borda);
  padding:40px 0 48px;
  overflow-x:clip;
}
.hero__grid{display:flex;flex-direction:column;gap:32px;}
.hero__col-text{max-width:560px;}
.hero__eyebrow{color:var(--color-primaria);font-size:0.75rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;margin:0 0 12px;}
.hero h1{font-size:2.25rem;line-height:1.08;letter-spacing:-0.02em;margin:0 0 16px;text-wrap:balance;color:var(--color-primaria);text-shadow:0 2px 10px rgba(1,43,101,0.14);}
.hero__subtitle{color:var(--color-texto-suave);font-size:1.0625rem;line-height:1.6;margin:0 0 20px;}
.hero__notice{
  background:#fff;
  border:1px solid var(--color-borda);
  border-radius:10px;
  padding:12px 14px;
  font-size:0.875rem;
  color:var(--color-texto-suave);
  margin:0 0 24px;
}
.hero__ctas{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 16px;}
.hero__support{color:var(--color-texto-suave);font-size:0.8125rem;margin:0 0 6px;}
.hero__hours{color:var(--color-texto-suave);font-size:0.8125rem;}
.hero__col-img{position:relative;}
.hero__col-img img{border-radius:16px;width:100%;height:auto;}

/* ---------- Seções e cards ---------- */
.secao{padding:56px 0;background:var(--color-branco);}
.secao--neutro{background:var(--color-neutro);}
.secao--contato{background:var(--color-branco);}

.cards{display:grid;grid-template-columns:1fr;gap:20px;margin:0 0 24px;}
.card{
  border:1px solid var(--color-borda);
  border-radius:12px;
  padding:24px;
  background:#fff;
  box-shadow:0 2px 10px rgba(15,23,42,0.03);
}
.card p{color:var(--color-texto-suave);font-size:0.9375rem;line-height:1.6;}

/* ---------- Como funciona ---------- */
.passos{display:flex;flex-direction:column;gap:24px;}
.passo{display:flex;gap:16px;align-items:flex-start;}
.passo__numero{
  flex:none;
  width:36px;height:36px;
  border-radius:50%;
  background:var(--color-primaria);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:0.9375rem;
}
.passo p{color:var(--color-texto-suave);font-size:0.9375rem;line-height:1.6;}

/* ---------- Banda escura de autoridade ---------- */
.stats-strip{
  background:linear-gradient(135deg,#091526 0%,#012B65 100%);
  color:#fff;
  padding:48px 0;
}
.stats-strip h2{color:#fff;}
.stats-strip__texto{color:#CBD5E1;font-size:1rem;line-height:1.6;max-width:680px;margin:0 0 24px;}
.stats-strip__destaques{display:flex;flex-direction:column;gap:12px;}
.stats-strip__destaques li{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(251,184,8,0.25);
  border-radius:10px;
  padding:14px 16px;
  font-weight:700;
  font-size:0.9375rem;
}

/* ---------- FAQ ---------- */
.faq{display:flex;flex-direction:column;gap:12px;}
.faq__item{
  background:#fff;
  border:1px solid var(--color-borda);
  border-radius:12px;
  padding:16px 20px;
}
.faq__item summary{
  font-weight:700;
  font-size:0.9375rem;
  cursor:pointer;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  list-style:none;
}
.faq__item summary::-webkit-details-marker{display:none;}
.faq__item summary::after{
  content:"+";
  flex:none;
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.25rem;
  font-weight:700;
  line-height:1;
  color:var(--color-primaria);
  transition:transform .2s ease;
}
.faq__item[open] summary::after{transform:rotate(45deg);}
.faq__item p{color:var(--color-texto-suave);font-size:0.9375rem;line-height:1.6;margin-top:12px;}

/* ---------- Contato ---------- */
.contato__ctas{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 16px;}
.contato__dados{display:grid;grid-template-columns:1fr;gap:20px;margin-top:32px;}
.contato__dados p{color:var(--color-texto-suave);font-size:0.9375rem;line-height:1.6;}
.contato__dados a{text-decoration:underline;}

/* ---------- Rodapé ---------- */
.rodape{background:var(--color-footer-bg);color:#CBD5E1;padding:48px 0 24px;}
.rodape__grid{display:grid;grid-template-columns:1fr;gap:28px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,0.1);}
.rodape__marca img{height:28px;width:auto;margin-bottom:12px;}
.rodape__marca p{font-size:0.875rem;}
.rodape__empresa p,.rodape__contato p,.rodape__links p{font-size:0.875rem;margin:0 0 8px;}
.rodape__empresa p:first-child{font-weight:700;color:#fff;}
.rodape a{text-decoration:underline;}
.rodape__aviso{padding:20px 0;font-size:0.8125rem;color:#94A3B8;max-width:820px;}
.rodape__credito{font-size:0.8125rem;color:#64748B;}

/* ---------- Botão flutuante WhatsApp ---------- */
.float-wa{
  position:fixed;
  right:16px;
  bottom:16px;
  width:56px;height:56px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(15,23,42,0.25);
  z-index:70;
}

/* ---------- Banner de cookies ---------- */
.cookie-banner{
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  max-width:460px;
  background:#fff;
  border:1px solid var(--color-borda);
  border-radius:12px;
  box-shadow:0 8px 28px rgba(15,23,42,0.18);
  padding:14px;
  z-index:80;
}
.cookie-banner[hidden]{display:none;}
.cookie-banner__title{font-weight:700;font-size:0.8125rem;margin:0 0 6px;}
.cookie-banner__text{font-size:0.75rem;color:var(--color-texto-suave);line-height:1.5;margin:0 0 12px;}
.cookie-banner__text a{text-decoration:underline;}
.cookie-banner__actions{display:flex;flex-wrap:wrap;gap:8px;}
.cookie-banner__actions .btn{flex:1 1 auto;font-size:0.75rem;padding:10px 12px;min-height:44px;}

.cookie-panel{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,0.5);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  z-index:90;
}
.cookie-panel[hidden]{display:none;}
.cookie-panel__dialog{
  background:#fff;
  border-radius:16px 16px 0 0;
  max-width:560px;
  width:100%;
  max-height:88vh;
  overflow-y:auto;
  padding:24px 20px 28px;
}
.cookie-panel__dialog h2{font-size:1.125rem;margin:0 0 16px;}
.cookie-panel__category{border-top:1px solid var(--color-borda);padding:14px 0;}
.cookie-panel__category:first-of-type{border-top:none;}
.cookie-panel__category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px;}
.cookie-panel__category-head label{font-weight:700;font-size:0.9375rem;}
.cookie-panel__category-head input[type="checkbox"]{width:20px;height:20px;}
.cookie-panel__category p{color:var(--color-texto-suave);font-size:0.8125rem;line-height:1.5;}
.cookie-panel__confirmation{color:var(--color-primaria);font-size:0.8125rem;font-weight:700;margin:12px 0 0;}
.cookie-panel__confirmation[hidden]{display:none;}
.cookie-panel__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.cookie-panel__actions .btn{flex:1 1 auto;font-size:0.8125rem;padding:10px 14px;}

/* ==========================================================================
   Breakpoints — mobile-first (min-width)
   ========================================================================== */

@media (min-width:640px){
  :root{--offset-top:116px;}

  .cards--2{grid-template-columns:1fr 1fr;}
  .cards--3{grid-template-columns:repeat(3,1fr);}
  .contato__dados{grid-template-columns:1fr 1fr;}
  .rodape__grid{grid-template-columns:1fr 1fr;}
  .stats-strip__destaques{flex-direction:row;}
  .stats-strip__destaques li{flex:1;}

  .cookie-banner{left:16px;right:16px;bottom:16px;padding:20px;}
  .cookie-banner__title{font-size:0.9375rem;margin:0 0 8px;}
  .cookie-banner__text{font-size:0.8125rem;margin:0 0 16px;}
  .cookie-banner__actions .btn{font-size:0.8125rem;padding:10px 14px;}
}

@media (min-width:900px){
  :root{--offset-top:108px;}

  .cab__nav{
    position:static;
    max-height:none;
    overflow:visible;
    width:auto;
    background:transparent;
  }
  .cab__nav ul{flex-direction:row;padding:0;gap:28px;}
  .cab__nav a{padding:0;border-top:none;color:#fff;}
  .cab__toggle{display:none;}
  .cab__cta{display:inline-flex;order:3;font-size:0.8125rem;padding:10px 18px;}

  .hero{padding:56px 0 64px;}
  .hero__grid{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,0.95fr);
    align-items:center;
    gap:48px;
  }
  .hero__col-text{max-width:560px;min-width:0;}
  .hero__col-img{position:relative;min-width:0;}
  .hero__col-img::before{
    content:"";
    position:absolute;
    left:-40px;top:0;bottom:0;width:40px;
    background:linear-gradient(90deg,#F1F5F9 0%,rgba(241,245,249,0) 100%);
    z-index:1;
  }
  .hero h1{font-size:2.75rem;}

  .secao{padding:80px 0;}
  .cards--3{grid-template-columns:repeat(3,1fr);}
  .contato__dados{grid-template-columns:repeat(4,1fr);}
  .rodape__grid{grid-template-columns:repeat(4,1fr);}
}

@media (min-width:1120px){
  .hero h1{font-size:3rem;}
}
