/* ============================================================
   QUINTAL — Feitos de Cem · sistema visual
   ============================================================ */
:root{
  --navy:        #15307a;
  --navy-deep:   #0f2360;
  --navy-ink:    #0b1a47;
  --red:         #ec4b36;
  --orange:      #f0883b;
  --yellow:      #f7c23d;
  --green:       #57a548;
  --blue:        #2f80ca;
  --sky:         #6cb7e6;
  --cream:       #fbf6ec;
  --cream-2:     #f3ead8;
  --ink:         #20264a;
  --ink-soft:    #5a608a;
  --white:       #ffffff;

  --maxw: 1180px;
  --r-lg: 34px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow: 0 22px 50px -28px rgba(11,26,71,.55);
  --ff-head: "Fredoka", system-ui, sans-serif;
  --ff-body: "Nunito", system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--ff-body);
  background:var(--navy);
  color:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{ font-family:var(--ff-head); font-weight:600; margin:0; line-height:1.04; }
p{ margin:0; }

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 26px; position:relative; }

/* ---------- botões ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--ff-head); font-weight:600; font-size:1.02rem;
  padding:.85em 1.6em; border-radius:999px; border:0; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height:1;
}
.btn:active{ transform:translateY(1px) scale(.99); }
.btn-red{ background:var(--red); color:#fff; box-shadow:0 10px 0 -2px #c2381f; }
.btn-red:hover{ transform:translateY(-2px); box-shadow:0 14px 0 -2px #c2381f; }
.btn-yellow{ background:var(--yellow); color:var(--navy-ink); box-shadow:0 10px 0 -2px #d39e16; }
.btn-yellow:hover{ transform:translateY(-2px); box-shadow:0 14px 0 -2px #d39e16; }
.btn-ghost{ background:transparent; color:#fff; box-shadow:inset 0 0 0 2.5px rgba(255,255,255,.7); }
.btn-ghost:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); }
.btn-navy{ background:var(--navy); color:#fff; box-shadow:0 10px 0 -2px var(--navy-deep); }
.btn-navy:hover{ transform:translateY(-2px); }

/* ---------- pílulas / eyebrow ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--ff-head); font-weight:600; letter-spacing:.04em;
  text-transform:uppercase; font-size:.82rem;
  padding:.5em 1em; border-radius:999px;
}
.eyebrow .dot{ width:9px; height:9px; border-radius:50%; }

/* ---------- dividers ---------- */
.scallop{ height:30px; line-height:0; position:relative; z-index:3; margin-top:-1px; }
.scallop svg{ width:100%; height:100%; display:block; }
.divider{ position:relative; z-index:3; line-height:0; margin-top:-1px; }
.divider svg{ display:block; width:100%; height:100%; }
.divider-accent{ position:absolute; top:50%; z-index:4; line-height:0; pointer-events:none; }
.bob{ animation:bob 6s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform:translate(-50%,-50%) rotate(var(--rot,0deg)); } 50%{ transform:translate(-50%,calc(-50% - 12px)) rotate(var(--rot,0deg)); } }

/* onda orgânica dentro do hero */
.hero{ overflow:hidden; }
.hero-wave{
  position:absolute; bottom:-1px; left:0; right:0; z-index:3;
  line-height:0; pointer-events:none;
}
.hero-wave svg{ display:block; width:100%; height:156px; }

/* seção sobre encosta direto na onda, sem gap */
#sobre{ margin-top:0; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky; top:0; z-index:60;
  background:rgba(15,35,96,.86); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav .wrap{ display:flex; align-items:center; gap:22px; height:78px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-letra{ height:34px; width:auto; display:block; }
.brand-logo-full{ height:44px; width:auto; display:block; filter:brightness(0) invert(1); }
.brand .chip{
  background:var(--cream); border-radius:16px; padding:7px 10px;
  display:flex; align-items:center; box-shadow:0 6px 16px -8px rgba(0,0,0,.5);
}
.brand .chip img{ height:38px; width:auto; }
.brand .word{ font-family:var(--ff-head); font-weight:600; font-size:1.25rem; color:#fff; letter-spacing:.01em; }
.brand .word small{ display:block; font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; color:var(--yellow); font-weight:500; margin-top:2px; }
.nav nav{ margin-left:auto; display:flex; align-items:center; gap:26px; }
.nav nav a{ font-family:var(--ff-head); font-weight:500; font-size:1rem; color:#e8edff; opacity:.9; white-space:nowrap; transition:opacity .15s, color .15s; }
.nav nav a:hover{ opacity:1; color:var(--yellow); }
.nav .btn{ font-size:.95rem; padding:.7em 1.3em; }
.nav-toggle{ display:none; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; padding:0; overflow:hidden; min-height:660px; display:flex; align-items:center; }
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg .ph{ width:100%; height:100%; }
.hero-bg::after{ content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(11,26,71,.55) 0%, rgba(11,26,71,.32) 40%, rgba(11,26,71,.06) 68%, rgba(11,26,71,0) 100%); }
.hero .wrap{ z-index:2; padding-top:96px; padding-bottom:104px; }
.hero-copy{ position:relative; z-index:2; max-width:600px; }
.hero-eyebrow{ background:rgba(255,255,255,.1); color:#fff; }
.hero-eyebrow .dot{ background:var(--yellow); }
.hero h1{
  font-size:clamp(2.6rem, 5.4vw, 4.25rem); font-weight:600; color:#fff;
  margin:.42em 0 .35em; letter-spacing:-.01em; text-wrap:balance;
}
.hero h1 .mark{ position:relative; white-space:nowrap; color:var(--yellow); }
.hero h1 .mark svg{ position:absolute; left:-2%; bottom:-.22em; width:104%; height:.4em; }
.hero p.lead{ font-size:1.2rem; line-height:1.55; color:#e3e8ff; max-width:40ch; }
.hero .cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.hero .trust{ display:flex; align-items:center; gap:14px; margin-top:30px; color:#c5cdf3; font-weight:600; font-size:.95rem; }
.hero .trust .av{ display:flex; }
.hero .trust .av span{ width:38px; height:38px; border-radius:50%; border:3px solid var(--navy); margin-left:-12px; background-size:cover; }

/* ============================================================
   PAINÉIS DE SEÇÃO
   ============================================================ */
.panel{ background:var(--cream); color:var(--ink); position:relative; overflow:hidden; }
.panel.navy{ background:var(--navy); color:var(--cream); }
.section{ padding:84px 0; position:relative; z-index:2; }
.section.tight{ padding:66px 0; }

.kicker{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.kicker .eyebrow{ background:#fff; color:var(--navy); box-shadow:inset 0 0 0 2px rgba(21,48,122,.12); }
.panel.navy .kicker .eyebrow{ background:rgba(255,255,255,.1); color:#fff; box-shadow:none; }
.sec-head{ max-width:660px; }
.sec-head h2{ font-size:clamp(2rem,3.6vw,3rem); letter-spacing:-.01em; text-wrap:balance; }
.panel:not(.navy) .sec-head h2{ color:var(--navy); }
.sec-head p{ margin-top:16px; font-size:1.12rem; line-height:1.6; color:var(--ink-soft); }
.panel.navy .sec-head p{ color:#cdd5f5; }
.center{ margin:0 auto; text-align:center; }
.center .kicker{ justify-content:center; }

/* ---------- SOBRE ---------- */
.about{ display:grid; grid-template-columns:1fr 1.02fr; gap:56px; align-items:center; }
.about .media{ position:relative; }
.about .media .frame{ border-radius:28px; overflow:hidden; border:7px solid #fff; box-shadow:var(--shadow); aspect-ratio:1/1; transform:rotate(1.6deg); }
.about .copy h2{ color:var(--navy); font-size:clamp(1.9rem,3.2vw,2.7rem); }
.about .copy p{ margin-top:18px; font-size:1.1rem; line-height:1.65; color:var(--ink-soft); }
.about .stats{ display:flex; gap:26px; margin-top:34px; flex-wrap:wrap; }
.about .stats .s b{ font-family:var(--ff-head); font-weight:600; font-size:2.3rem; color:var(--red); display:block; line-height:1; }
.about .stats .s span{ font-weight:700; color:var(--navy); font-size:.95rem; }

/* ---------- FAIXAS ETÁRIAS ---------- */
.ages{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:48px; }
.age-card{
  background:#fff; border-radius:var(--r-md); padding:26px 22px 28px;
  color:var(--ink); position:relative; overflow:hidden; min-height:228px;
  display:flex; flex-direction:column; box-shadow:0 18px 36px -26px rgba(11,26,71,.6);
  transition:transform .2s ease;
}
.age-card:hover{ transform:translateY(-6px); }
.age-card .blob{ position:absolute; top:-26px; right:-26px; width:96px; height:96px; border-radius:50% 50% 48% 52%/55% 50% 50% 45%; opacity:.92; }
.age-card .num{ font-family:var(--ff-head); font-weight:600; font-size:1.05rem; color:#fff; position:relative; z-index:2;
  width:44px; height:44px; border-radius:14px; display:grid; place-items:center; }
.age-card h3{ font-size:1.45rem; color:var(--navy); margin-top:18px; }
.age-card .range{ font-family:var(--ff-head); font-weight:600; font-size:.92rem; margin-top:4px; }
.age-card p{ margin-top:12px; color:var(--ink-soft); font-size:.98rem; line-height:1.5; }

/* ---------- VALORES (numerados) ---------- */
.values{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:48px; }
.value{
  border-radius:var(--r-md); padding:28px 24px 30px; color:#fff; position:relative; overflow:hidden;
  min-height:300px; display:flex; flex-direction:column;
}
.value .big{ font-family:var(--ff-head); font-weight:600; font-size:5.2rem; line-height:.8; opacity:.95; }
.value h3{ font-size:1.5rem; margin-top:18px; }
.value p{ margin-top:12px; font-size:1rem; line-height:1.55; color:rgba(255,255,255,.92); }
.value .corner{ position:absolute; right:-18px; bottom:-18px; width:90px; height:90px; opacity:.18; }

/* ---------- COMO FUNCIONA ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:50px; }
.step{ text-align:center; position:relative; }
.step .ico{ width:96px; height:96px; border-radius:30px; margin:0 auto; display:grid; place-items:center; color:#fff; font-family:var(--ff-head); font-weight:600; font-size:2.4rem; box-shadow:0 16px 30px -18px rgba(11,26,71,.7); }
.step h3{ color:var(--navy); font-size:1.35rem; margin-top:22px; }
.step p{ color:var(--ink-soft); margin-top:10px; font-size:1.02rem; line-height:1.55; max-width:30ch; margin-inline:auto; }
.steps-cta{ text-align:center; margin-top:48px; }

/* ---------- DEPOIMENTOS ---------- */
.quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:48px; }
.quote{ background:#fff; border-radius:var(--r-md); padding:30px 28px; box-shadow:0 18px 36px -26px rgba(11,26,71,.6); display:flex; flex-direction:column; }
.quote .mark{ font-family:var(--ff-head); font-weight:700; font-size:3.4rem; line-height:.6; color:var(--yellow); }
.quote p{ color:var(--ink); font-size:1.08rem; line-height:1.6; margin-top:8px; flex:1; }
.quote .who{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.quote .who .pic{ width:48px; height:48px; border-radius:50%; background-size:cover; flex:none; }
.quote .who b{ display:block; color:var(--navy); font-family:var(--ff-head); }
.quote .who span{ color:var(--ink-soft); font-size:.9rem; }

/* ---------- CTA FINAL ---------- */
.finalcta{ position:relative; overflow:hidden; }
.finalcta .box{ background:var(--red); border-radius:var(--r-lg); padding:60px 50px; text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow); }
.finalcta h2{ color:#fff; font-size:clamp(2rem,4vw,3rem); }
.finalcta p{ color:#ffe3dc; font-size:1.15rem; margin:16px auto 30px; max-width:46ch; line-height:1.55; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.foot{ background:var(--navy-ink); color:#d7ddf5; padding:70px 0 30px; position:relative; overflow:hidden; }
.foot .top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.foot .brand .chip{ display:inline-flex; }
.foot .about-min{ margin-top:18px; max-width:34ch; line-height:1.6; color:#aab4e0; font-size:1rem; }
.foot h4{ font-family:var(--ff-head); font-weight:600; color:#fff; font-size:1.05rem; margin-bottom:16px; letter-spacing:.02em; }
.foot ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
.foot ul a{ color:#aab4e0; font-size:1rem; transition:color .15s; }
.foot ul a:hover{ color:var(--yellow); }
.foot .social{ display:flex; gap:10px; margin-top:6px; }
.foot .social a{ width:42px; height:42px; border-radius:13px; background:rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; transition:background .15s, transform .15s; }
.foot .social a:hover{ background:var(--red); transform:translateY(-3px); }
.foot .rule{ height:1px; background:rgba(255,255,255,.1); margin:46px 0 22px; }
.foot .bottom{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color:#8c96c8; font-size:.9rem; }

/* ============================================================
   FORMAS DECORATIVAS
   ============================================================ */
.deco{ position:absolute; z-index:0; pointer-events:none; }
.float{ animation:float 7s ease-in-out infinite; }
.float.alt{ animation-duration:9s; animation-delay:-2s; }
.float.alt2{ animation-duration:11s; animation-delay:-4s; }
@keyframes float{ 0%,100%{ transform:translateY(0) rotate(var(--rot,0deg)); } 50%{ transform:translateY(-16px) rotate(var(--rot,0deg)); } }

.shape-circle{ border-radius:50%; }
.shape-blob{ border-radius:62% 38% 55% 45%/55% 45% 55% 45%; }
.shape-star{ clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.shape-tri{ clip-path:polygon(50% 0,100% 100%,0 100%); }
.shape-burst{ clip-path:polygon(50% 0%,63% 13%,79% 7%,80% 25%,97% 28%,87% 43%,100% 56%,83% 62%,88% 80%,69% 78%,61% 95%,50% 81%,39% 95%,31% 78%,12% 80%,17% 62%,0 56%,13% 43%,3% 28%,20% 25%,21% 7%,37% 13%); }

/* smiley motif */
.smiley{ position:relative; border-radius:50%; }
.smiley .eye{ position:absolute; top:36%; width:11%; height:14%; border-radius:50%; background:var(--navy-ink); }
.smiley .eye.l{ left:30%; } .smiley .eye.r{ right:30%; }
.smiley .mouth{ position:absolute; left:32%; top:50%; width:36%; height:24%; border:3px solid var(--navy-ink); border-top:0; border-radius:0 0 60px 60px; }

/* placeholder de imagem */
.ph{ position:relative; width:100%; height:100%; background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.16) 0 10px, rgba(255,255,255,.05) 10px 20px), var(--navy); }
.ph.dark{ background:
    repeating-linear-gradient(45deg, rgba(21,48,122,.14) 0 10px, rgba(21,48,122,.06) 10px 20px), #dfe5f5; }
.ph .lbl{ position:absolute; inset:0; display:grid; place-items:center; text-align:center;
    font-family:ui-monospace,"SF Mono",Menlo,monospace; font-size:.78rem; letter-spacing:.02em;
    color:rgba(255,255,255,.82); padding:14px; }
.ph.dark .lbl{ color:rgba(21,48,122,.6); }

/* reveal */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width:1000px){
  .about{ grid-template-columns:1fr; gap:34px; }
  .ages,.values{ grid-template-columns:repeat(2,1fr); }
  .steps,.quotes{ grid-template-columns:1fr; }
  .foot .top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .nav nav{ display:none; }
  .nav nav.open{ display:flex; position:absolute; top:78px; left:0; right:0; flex-direction:column; background:var(--navy-deep); padding:22px 26px; gap:18px; border-bottom:1px solid rgba(255,255,255,.1); }
  .nav-toggle{ display:grid; place-items:center; margin-left:auto; width:46px; height:46px; border-radius:13px; background:rgba(255,255,255,.1); border:0; color:#fff; cursor:pointer; }
  .ages,.values{ grid-template-columns:1fr; }
  .foot .top{ grid-template-columns:1fr; gap:30px; }
  .section{ padding:62px 0; }
  .finalcta .box{ padding:42px 24px; }
}

/* ============================================================
   MOTION
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  .hero-copy > *{ animation:heroIn .85s cubic-bezier(.22,.7,.2,1) both; }
  .hero-copy > *:nth-child(1){ animation-delay:.10s; }
  .hero-copy > *:nth-child(2){ animation-delay:.22s; }
  .hero-copy > *:nth-child(3){ animation-delay:.34s; }
  .hero-copy > *:nth-child(4){ animation-delay:.46s; }
  .hero-copy > *:nth-child(5){ animation-delay:.58s; }
  @keyframes heroIn{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:none; } }

  .hero h1 .mark svg path{ stroke-dasharray:280; stroke-dashoffset:280; animation:drawLine 1s ease .9s forwards; }
  @keyframes drawLine{ to{ stroke-dashoffset:0; } }

  .hero-bg .ph{ animation:slowZoom 20s ease-in-out infinite alternate; transform-origin:60% 40%; }
  @keyframes slowZoom{ from{ transform:scale(1); } to{ transform:scale(1.07); } }
}

/* micro-interações de hover */
.quote{ transition:transform .22s ease, box-shadow .22s ease; }
.quote:hover{ transform:translateY(-7px); }
.step .ico{ transition:transform .28s cubic-bezier(.34,1.56,.64,1); }
.step:hover .ico{ transform:translateY(-7px) rotate(-7deg); }
.btn-yellow,.btn-red,.btn-navy,.btn-ghost{ will-change:transform; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none; }
  .float,.bob,.hero-bg .ph{ animation:none !important; }
}
