/* ==========================================================
   Carlos Santos Junior — Gestão & Estratégia para Pequenos Negócios
   Versão V3 · interpretação visual sobre a base V2 aprovada
   Paleta fixa: #FFFFFF · #F5F6F4 · #243C57 · #B08B62 · #343C45
   ========================================================== */

/* Tipografia DM Sans — arquivos locais (funciona offline) */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/dm-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/dm-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/dm-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/dm-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:800;font-display:swap;src:url(assets/fonts/dm-sans-latin-800-normal.woff2) format('woff2')}

:root{
  /* paleta aprovada */
  --white:#FFFFFF;
  --ice:#F5F6F4;
  --navy:#243C57;
  --gold:#B08B62;
  --ink:#343C45;
  /* tons de apoio (variações discretas) */
  --gold-ink:#8A6A45;      /* dourado mais profundo, para texto pequeno sobre fundo claro (contraste) */
  --gold-soft:#D0AE84;     /* dourado claro, para texto sobre azul-petróleo */
  --navy-deep:#1C3047;
  --muted:#5D6975;
  --line:#E2E6E6;
  --radius:22px;
  --ease:cubic-bezier(.22,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:140px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
h1,h2,h3,p{margin-top:0}
h1,h2{color:var(--navy);letter-spacing:-.05em;line-height:1.1;text-wrap:balance}
h1{font-size:clamp(2.8rem,5.2vw,5.4rem);font-weight:700}
h2{font-size:clamp(2.3rem,4vw,4.1rem);font-weight:700}
h3{letter-spacing:-.025em;text-wrap:balance}
h1 em,h2 em{font-style:normal;color:var(--gold)}
p{line-height:1.75}

.ic{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.section{padding:128px 0}

:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:8px}
.skip{position:absolute;top:-100px;left:12px;z-index:100;background:#fff;color:var(--navy);padding:12px 16px;border-radius:10px;font-weight:700}
.skip:focus{top:12px}

/* ---------- Cabeçalho flutuante ---------- */
.site-header{position:fixed;z-index:50;top:18px;left:0;right:0;pointer-events:none}
.header-inner{width:min(1240px,calc(100% - 40px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;pointer-events:auto}
.brand{display:flex;flex-direction:column;gap:7px;line-height:1.2;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:17px 24px;border:1px solid rgba(214,221,224,.85);border-radius:24px;box-shadow:0 10px 36px rgba(36,60,87,.07);transition:box-shadow .3s}
.brand strong{font-size:19px;color:var(--navy);letter-spacing:-.02em}
.brand span{font-size:12px;color:var(--muted)}
.nav{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:14px;border-radius:54px;border:1px solid rgba(214,221,224,.85);box-shadow:0 14px 44px rgba(36,60,87,.1)}
.nav a{display:inline-flex;align-items:center;gap:6px;padding:17px 17px;border-radius:34px;font-size:15px;font-weight:600;color:var(--ink);transition:background .25s,color .25s}
.nav a:hover{background:var(--ice);color:var(--navy)}
.nav a.active{color:var(--navy);background:var(--ice);box-shadow:inset 0 -2px 0 var(--gold)}
.nav .nav-contact{background:var(--navy);color:#fff;padding:17px 22px;box-shadow:none}
.nav .nav-contact:hover{background:#34506f;color:#fff}
.nav .nav-contact .ic{width:1.05em;height:1.05em;transition:transform .25s var(--ease)}
.nav .nav-contact:hover .ic{transform:translate(2px,-2px)}
.site-header.scrolled .brand{box-shadow:0 14px 40px rgba(36,60,87,.13)}
.mobile-toggle{display:none;align-items:center;justify-content:center;background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:18px;width:54px;height:54px;color:var(--navy);box-shadow:0 8px 26px rgba(36,60,87,.1)}
.mobile-toggle .ic{width:26px;height:26px}
.mobile-toggle .ic-close{display:none}
.mobile-toggle[aria-expanded="true"] .ic-menu{display:none}
.mobile-toggle[aria-expanded="true"] .ic-close{display:block}

/* ---------- Elementos comuns ---------- */
.eyebrow,.kicker{color:var(--gold-ink);font-weight:800;letter-spacing:.13em;font-size:16.5px}
.eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:30px}
.dot{width:9px;height:9px;background:var(--gold);border-radius:50%;box-shadow:0 0 0 5px rgba(176,139,98,.18)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;padding:19px 28px;border-radius:44px;font-weight:700;font-size:15px;transition:transform .3s var(--ease),box-shadow .3s,background .3s}
.button .ic{width:1.2em;height:1.2em;transition:transform .3s var(--ease)}
.button:hover{transform:translateY(-3px);box-shadow:0 18px 30px rgba(23,44,67,.22)}
.button:hover .ic{transform:translate(3px,-3px)}
.button-primary{background:var(--navy);color:#fff}
.button-primary:hover{background:#2c4a6c}
.button-light{background:#fff;color:var(--navy)}
.section-heading{max-width:820px;margin-bottom:60px}
.section-heading h2{margin:18px 0 22px}
.section-heading p{max-width:680px;font-size:18px;color:var(--muted);margin-bottom:0}

/* ---------- 1 · Abertura ---------- */
.hero{position:relative;padding:190px 0 28px;background:linear-gradient(118deg,#fff 0%,#fff 46%,var(--ice) 100%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:56px;min-height:640px}
.hero-copy{position:relative;z-index:2}
.hero h1{max-width:700px;margin-bottom:26px}
.lead{font-size:clamp(18px,1.7vw,21px);max-width:520px;color:var(--muted);margin-bottom:36px}
.hero-note{margin-top:56px;color:#66727d;font-size:14px;display:flex;align-items:center;gap:14px}
.rule{height:1px;width:42px;background:var(--gold)}

.hero-visual{position:relative;justify-self:end;width:min(100%,490px);aspect-ratio:4/5.15}
.hero-disc{position:absolute;width:112%;aspect-ratio:1;right:-26%;top:2%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0%,var(--ice) 70%);box-shadow:inset 0 0 0 1px rgba(36,60,87,.06)}
.hero-orbit{position:absolute;border:1px solid rgba(176,139,98,.38);border-radius:50%}
.orbit-one{width:128%;aspect-ratio:1;right:-34%;top:-9%}
.orbit-two{width:96%;aspect-ratio:1;right:-18%;top:11%;border-color:rgba(36,60,87,.12)}
.hero-arch{position:absolute;inset:-16px 18px 16px -18px;border:1.5px solid var(--gold);border-radius:999px 999px 28px 28px;opacity:.75;transform:translate(34px,16px)}
.hero-photo{position:absolute;inset:0;overflow:hidden;border-radius:999px 999px 28px 28px;background:#e9edf0;box-shadow:0 40px 80px -30px rgba(36,60,87,.45)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 12%}
.hero-caption{position:absolute;left:-34px;bottom:48px;z-index:3;background:rgba(255,255,255,.96);border-left:3px solid var(--gold);padding:17px 22px;border-radius:4px 14px 14px 4px;box-shadow:0 18px 44px rgba(36,60,87,.16);font-size:11px;letter-spacing:.12em;line-height:1.8;color:#5f6b76;font-weight:600}
.hero-caption strong{color:var(--navy);font-weight:800;font-size:13px}
.hero-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:34px;padding-top:22px;font-size:11px;letter-spacing:.16em;color:#66727d;font-weight:600}
.hero-bottom a{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(176,139,98,.55);color:var(--gold-ink);transition:background .3s,color .3s,transform .3s var(--ease)}
.hero-bottom a:hover{background:var(--gold);color:#fff;transform:translateY(3px)}
.hero-bottom .ic{width:22px;height:22px}

/* ---------- 2 · Oportunidades ---------- */
.opportunities{background:var(--white)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.problem-card{position:relative;display:flex;flex-direction:column;background:var(--ice);border:1px solid #E9ECEA;border-radius:var(--radius);padding:32px 32px 30px;min-height:318px;transition:transform .35s var(--ease),box-shadow .35s,border-color .35s,background .35s}
.problem-card:hover{transform:scale(1.03);background:#fff;box-shadow:0 26px 56px -18px rgba(36,60,87,.2);border-color:#D4DCE1;z-index:2}
.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.tile{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#fff;color:var(--gold);box-shadow:0 6px 20px rgba(36,60,87,.08),inset 0 0 0 1px rgba(176,139,98,.28);transition:background .35s,color .35s,box-shadow .35s}
.tile .ic{width:28px;height:28px;stroke-width:1.6}
.problem-card:hover .tile{background:var(--navy);color:#fff;box-shadow:0 8px 22px rgba(36,60,87,.28)}
.number{color:#8D97A0;font-size:13px;font-weight:700;letter-spacing:.06em}
.problem-card h3{font-size:22px;line-height:1.25;color:var(--navy);margin-bottom:12px}
.problem-card p{font-size:15px;line-height:1.7;color:var(--muted);margin-bottom:26px}
.accent-line{width:42px;height:3px;border-radius:4px;background:var(--gold);margin-top:auto;transition:width .4s var(--ease)}
.problem-card:hover .accent-line{width:84px}

/* ---------- 3 · Metodologia ---------- */
.method{background:var(--ice)}
.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:start}
.method-intro{position:sticky;top:160px}
.method-intro h2{margin:20px 0 24px}
.method-intro>p{font-size:18px;color:var(--muted)}
.method-aside{border-left:3px solid var(--gold);margin-top:38px;padding:14px 0 14px 22px;font-size:15px;color:#56626d;max-width:420px}

.timeline{--p:0px;list-style:none;margin:0;padding:0;position:relative}
.timeline::before,.timeline::after{content:'';position:absolute;left:23px;top:23px;width:2px;border-radius:2px}
.timeline::before{bottom:23px;background:#D3D9DA}
.timeline::after{height:var(--p);background:linear-gradient(var(--gold),var(--gold));max-height:calc(100% - 46px);transition:height .2s linear}
.timeline li{position:relative;display:grid;grid-template-columns:48px 1fr;gap:26px;padding-bottom:38px;align-items:start}
.timeline li:last-child{padding-bottom:0}
.step-num{position:relative;z-index:1;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--ice);border:2px solid #C9D0D2;color:var(--gold-ink);font-size:14px;font-weight:800;letter-spacing:.02em;transition:background .45s,border-color .45s,color .45s,transform .45s var(--ease)}
.timeline li.reached .step-num{background:var(--navy);border-color:var(--navy);color:#fff;transform:scale(1.04)}
.timeline li>div{padding-top:9px}
.timeline h3{color:var(--navy);font-size:19px;letter-spacing:.07em;font-weight:700;margin:0 0 6px}
.timeline p{color:var(--muted);font-size:16px;line-height:1.6;margin:0}

/* ---------- 4 · Soluções ---------- */
.solutions{background:var(--white)}
.section-heading.split{max-width:none;display:grid;grid-template-columns:1.1fr .9fr;gap:8%;align-items:end}
.section-heading.split p{max-width:none;padding-bottom:10px}
.solution-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 84px}
.solution{display:flex;align-items:flex-start;gap:26px;padding:34px 0;border-top:1px solid var(--line);transition:border-color .3s}
.solution:nth-last-child(-n+2){border-bottom:1px solid var(--line)}
.solution:hover{border-top-color:var(--gold)}
.solution-icon{display:grid;place-items:center;flex:none;width:60px;height:60px;border-radius:50%;border:1.5px solid rgba(176,139,98,.55);color:var(--gold-ink);transition:background .35s,color .35s,border-color .35s,transform .35s var(--ease)}
.solution-icon .ic{width:27px;height:27px;stroke-width:1.6}
.solution:hover .solution-icon{background:var(--navy);border-color:var(--navy);color:#fff;transform:rotate(-6deg)}
.solution h3{color:var(--navy);font-size:21px;line-height:1.3;margin:2px 0 9px}
.solution p{color:var(--muted);font-size:15.5px;line-height:1.7;margin:0}

/* ---------- 5 · Sobre ---------- */
.about{background:var(--ice)}
.about-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:9%;align-items:center}
.about-photo{position:relative;isolation:isolate;max-width:520px}
.about-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 22%;border-radius:30px;box-shadow:0 36px 70px -34px rgba(36,60,87,.5)}
.about-photo::before{content:'';position:absolute;z-index:-1;right:-20px;bottom:-20px;width:72%;height:78%;border:2px solid var(--gold);border-radius:30px}
.about-photo::after{content:'';position:absolute;z-index:-1;left:-22px;top:-22px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(176,139,98,.28) 1.5px,transparent 2px) 0 0/16px 16px}
.about-copy h2{margin:20px 0 30px}
.about-copy p{font-size:18px;color:var(--muted);max-width:600px}
.signature{margin-top:34px;border-top:1px solid #DADFE0;padding-top:26px;display:flex;flex-direction:column;gap:5px;max-width:600px}
.signature strong{font-size:20px;color:var(--navy);letter-spacing:-.02em}
.signature span{font-size:14px;color:var(--gold-ink);font-weight:600}

/* ---------- 6 · Contato ---------- */
.contact{position:relative;overflow:hidden;background:var(--navy);color:#fff;text-align:center;padding:140px 0}
.contact::before,.contact::after{content:'';position:absolute;border-radius:50%;border:1px solid rgba(208,174,132,.22);pointer-events:none}
.contact::before{width:760px;aspect-ratio:1;left:50%;top:50%;transform:translate(-50%,-50%)}
.contact::after{width:1120px;aspect-ratio:1;left:50%;top:50%;transform:translate(-50%,-50%);border-color:rgba(255,255,255,.07)}
.contact-inner{position:relative;z-index:1;max-width:860px}
.contact h2{color:#fff;margin:22px 0 24px}
.contact h2 em{color:var(--gold-soft)}
.contact p{color:#DCE3E9;font-size:19px;margin:0 auto 40px;max-width:700px;text-wrap:balance}
.contact .kicker{color:var(--gold-soft)}
.contact .button-light:hover{background:var(--ice);box-shadow:0 20px 34px rgba(0,0,0,.28)}

/* ---------- Rodapé ---------- */
.footer{background:var(--navy-deep);color:#fff;padding:60px 0 26px;border-top:2px solid var(--gold)}
.footer-main{display:flex;justify-content:space-between;gap:48px;padding-bottom:42px}
.footer-main strong{font-size:22px;letter-spacing:-.02em}
.footer-main p{color:var(--gold-soft);font-size:14px;margin:8px 0 0}
.footer nav{display:flex;flex-wrap:wrap;align-content:start;gap:14px 26px;max-width:480px}
.footer nav a{font-size:14px;color:#DCE3E9;transition:color .25s}
.footer a:hover{color:var(--gold-soft)}
.footer-bottom{border-top:1px solid #3F5167;padding-top:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px;color:#B9C5CE}
.footer-bottom a{display:inline-flex;align-items:center;gap:6px}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float{position:fixed;z-index:60;right:24px;bottom:24px;width:62px;height:62px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(0,0,0,.28);transition:transform .3s var(--ease),box-shadow .3s}
.whatsapp-float:hover{transform:scale(1.09);box-shadow:0 16px 36px rgba(0,0,0,.34)}
.whatsapp-float svg{width:34px;height:34px}

/* ---------- Movimento discreto ---------- */
.js .reveal{opacity:0;transform:translateY(20px);transition:opacity .75s ease var(--d,0s),transform .75s var(--ease) var(--d,0s)}
.js .reveal.visible{opacity:1;transform:none}
/* hover dos cartões não pode ser atrasado pelo "reveal" */
.js .problem-card.reveal.visible{transition:transform .35s var(--ease),box-shadow .35s,border-color .35s,background .35s}

/* única sequência de entrada: a abertura */
.js .hero-copy>*{opacity:0;animation:rise .8s var(--ease) forwards}
.js .hero-copy>*:nth-child(1){animation-delay:.05s}
.js .hero-copy>*:nth-child(2){animation-delay:.15s}
.js .hero-copy>*:nth-child(3){animation-delay:.28s}
.js .hero-copy>*:nth-child(4){animation-delay:.4s}
.js .hero-copy>*:nth-child(5){animation-delay:.52s}
.js .hero-photo{animation:unveil 1.1s var(--ease) .15s both}
.js .hero-arch,.js .hero-caption{animation:rise .9s var(--ease) .6s both}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes unveil{from{clip-path:inset(18% 8% 0 8% round 999px 999px 28px 28px);opacity:0}to{clip-path:inset(0 0 0 0 round 999px 999px 28px 28px);opacity:1}}

/* ---------- Responsivo ---------- */
@media(max-width:1250px) and (min-width:851px){
  .header-inner{width:calc(100% - 28px);gap:12px}
  .brand{padding:14px 16px}
  .brand strong{font-size:17px}
  .brand span{font-size:10.5px}
  .nav{padding:11px;gap:3px}
  .nav a{padding:14px 10px;font-size:13.5px}
  .nav .nav-contact{padding:14px 15px}
}
@media(max-width:1100px){
  .hero-grid{gap:30px}
  .section-heading.split{grid-template-columns:1fr;gap:10px}
  .section-heading.split p{max-width:680px;padding:0}
  .solution-grid{gap:0 44px}
}
@media(max-width:1000px) and (min-width:851px){
  .cards{grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  .container{width:min(100% - 36px,680px)}
  .section{padding:88px 0}
  .site-header{top:10px}
  .header-inner{width:calc(100% - 22px);gap:8px}
  .brand{padding:14px 17px;max-width:calc(100% - 64px);border-radius:22px}
  .brand strong{font-size:16px}
  .brand span{font-size:10px}
  .mobile-toggle{display:flex}
  .nav{display:none;position:absolute;right:0;top:72px;width:min(320px,calc(100vw - 22px));border-radius:26px;flex-direction:column;align-items:stretch;padding:14px;gap:4px}
  .nav.open{display:flex;animation:rise .3s var(--ease)}
  .nav a{padding:16px 18px;font-size:16px}
  .nav .nav-contact{justify-content:center;margin-top:6px}
  .hero{padding-top:150px}
  .hero-grid{grid-template-columns:1fr;min-height:0;gap:0}
  .hero h1{font-size:clamp(2.6rem,8vw,4.5rem)}
  .eyebrow,.kicker{font-size:14px;letter-spacing:.1em}
  .hero-note{margin-top:30px}
  .hero-visual{justify-self:center;width:min(380px,84%);margin:56px auto 20px}
  .hero-caption{left:-16px;bottom:34px}
  .cards{grid-template-columns:1fr 1fr}
  .method-grid,.about-grid{grid-template-columns:1fr;gap:56px}
  .method-intro{position:static}
  .about-photo{max-width:430px;margin-inline:6px 20px}
  .solution-grid{gap:0 30px}
  .footer-main{flex-direction:column}
  .contact{padding:100px 0}
  .contact::before{width:520px}
  .contact::after{width:760px}
}
@media(max-width:700px){
  .solution-grid{grid-template-columns:1fr}
  .solution:nth-last-child(-n+2){border-bottom:0}
  .solution:last-child{border-bottom:1px solid var(--line)}
}
@media(max-width:600px){
  .cards{grid-template-columns:1fr}
  .problem-card{min-height:0;padding:26px}
  .card-top{margin-bottom:22px}
  .section-heading{margin-bottom:42px}
  .section-heading h2,.method-intro h2,.about-copy h2,.contact h2{font-size:clamp(2.1rem,9vw,3rem)}
  .hero-bottom{font-size:9.5px;letter-spacing:.1em;gap:12px}
  .hero-caption{font-size:9px;padding:13px 16px}
  .hero-caption strong{font-size:11px}
  .timeline li{grid-template-columns:44px 1fr;gap:18px}
  .step-num{width:44px;height:44px;font-size:13px}
  .timeline::before,.timeline::after{left:21px;top:21px}
  .timeline::before{bottom:21px}
  .solution{gap:20px;padding:28px 0}
  .solution-icon{width:54px;height:54px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .contact p{font-size:17px}
  .whatsapp-float{right:16px;bottom:16px;width:58px;height:58px}
  .button{width:100%;justify-content:space-between}
}
@media(max-width:420px){
  .brand strong{font-size:15px}
  .brand span{font-size:9px}
  .eyebrow,.kicker{font-size:13.5px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
  .js .reveal,.js .hero-copy>*{opacity:1;transform:none}
}
