/* Cabeçalho, navegação e abertura da landing page. */
:root{--header-height:88px}
.site-header{position:fixed;inset:0 0 auto;z-index:50;background:#fff;border-bottom:1px solid #eaf0ee;box-shadow:0 2px 18px #0a1a3c06}
.nav-container{width:min(1360px,100%);height:88px;margin:auto;padding:0 36px;display:flex;align-items:center;gap:28px}
.brand{position:relative;display:inline-flex;margin-right:auto;flex-shrink:0}
.brand::after{content:"";position:absolute;inset:0;background:url('../logo-contafacil.webp') center/contain no-repeat;filter:brightness(0) invert(1);clip-path:inset(0 0 0 22%);pointer-events:none;opacity:1}
.site-header.is-scrolled .brand::after,.site-header.is-menu-open .brand::after{opacity:0}
.brand img{width:180px;height:auto;object-fit:contain}
.site-header .ecf-nav{display:flex;align-items:center;gap:22px}
.site-header .ecf-nav a{color:#52605a;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;transition:color .2s}
.site-header .ecf-nav a:hover,.nav-login:hover,.services-toggle:hover{color:#15833b}
.services-toggle{border:0;background:none;cursor:pointer;padding:18px 0;display:flex;gap:9px;align-items:center;font-family:inherit}
.services-toggle span{color:#159448;font-size:19px}
.nav-services{position:relative}
.services-menu{position:absolute;top:100%;left:-20px;min-width:240px;padding:10px;background:white;border:1px solid #e7eeea;border-radius:12px;box-shadow:0 14px 40px #0a1a3c1a}
.site-header .services-menu a{display:block;padding:13px 12px;font-size:12px;border-radius:7px}
.services-menu a:hover{background:#f0f8f2}
.site-header .ecf-headcta{display:flex;align-items:center;gap:28px}
.nav-login{display:flex;gap:10px;align-items:center}
.nav-start{display:inline-flex;align-items:center;gap:25px;background:#16883d;color:white;padding:17px 25px;border-radius:7px;font-size:12px;font-family:Sora,sans-serif;font-weight:800;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s}
.nav-start:hover{background:#0e7130;color:white;transform:translateY(-2px)}
.nav-start span{font-size:21px;font-weight:500}
.site-header .ecf-burger{display:none;width:44px;height:44px;flex-shrink:0;background:#eef6f0;border:0;border-radius:8px;padding:11px;cursor:pointer}
.ecf-burger span{display:block;height:2px;width:22px;background:#123c2b;transition:transform .2s,opacity .2s}
.ecf-burger span+span{margin-top:5px}
.site-header .ecf-mobile-menu{display:none;max-height:0;overflow:hidden;background:#fff;transition:max-height .25s}
.ecf-mobile-menu a{display:block;padding:15px 24px;color:#19422c;font-weight:700;text-decoration:none;border-top:1px solid #edf2ee}
.site-header a:focus-visible,.site-header button:focus-visible,.hero-button:focus-visible{outline:3px solid #e5b929;outline-offset:5px}

#hero.landing-hero{position:relative;isolation:isolate;overflow:hidden;margin-top:88px;padding:0!important;background:url('../images/hero-bg-clean.png') 60% center/cover no-repeat,#087745;display:block!important}
.hero-container{width:min(1280px,100%);margin:auto;padding:clamp(30px,6vh,72px) 40px;min-height:min(640px,calc(100svh - 88px));display:flex;align-items:center;position:relative;z-index:1}
.hero-copy{width:57%;max-width:650px}
.hero-eyebrow{font-family:Sora,sans-serif;font-size:10px;font-weight:700;letter-spacing:.19em;color:#d1f3da;margin:0 0 23px}
#hero h1{font-family:Sora,sans-serif;font-size:clamp(34px,3.1vw,46px)!important;font-weight:800;line-height:1.18!important;letter-spacing:-.035em;color:#fff;margin:0 0 24px;text-wrap:balance}
#hero h1 span{color:#f5cf36}
.hero-description{max-width:520px;font-size:18px;line-height:1.65;color:#effaf4;margin:0 0 20px}
.hero-offer{font-size:15px;color:#effaf4;margin:0 0 35px}
.hero-offer strong{position:relative;display:inline-block;font-family:Sora,sans-serif;font-size:25px;color:white;margin-left:5px}
.hero-offer strong::after{content:"";position:absolute;left:0;right:37px;bottom:-7px;height:2px;background:currentColor;border-radius:2px}
.hero-offer strong span{font-family:Mulish,sans-serif;font-weight:500;font-size:14px;margin-left:3px}
.hero-actions{display:flex;gap:14px;align-items:stretch}
.hero-button{position:relative;display:inline-flex;justify-content:center;align-items:center;gap:20px;min-height:54px;padding:16px 23px;border-radius:7px;font-family:Sora,sans-serif;font-weight:800;font-size:11px;text-transform:uppercase;text-decoration:none;transition:transform .2s,box-shadow .2s}
.hero-button:hover{transform:translateY(-3px);box-shadow:0 10px 24px #001a2426}
.hero-button-primary{background:#fff;color:#116932}
.hero-button-primary:hover{color:#0c5829}
.hero-button-secondary{background:#f5cf36;color:#102c27}
.hero-button-secondary:hover{color:#102c27}
.hero-button>span:last-child{font-size:18px}
.hero-free{position:absolute;top:-12px;right:10px;padding:5px 8px;background:#12472d;color:#fff;font-size:8px;letter-spacing:.04em;border-radius:4px;white-space:nowrap}
.hero-note{font-size:12px;line-height:1.6;color:#e5f4ed;margin:23px 0 0;max-width:460px}
#hero::before,#hero::after{content:"";position:absolute;inset:-15%;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 15% 30%,#3dea8a38,transparent 48%),radial-gradient(ellipse at 85% 65%,#20beff2b,transparent 45%);animation:ecfHeroAmbient 18s ease-in-out infinite alternate}
#hero::after{background:radial-gradient(ellipse at 65% 20%,#f5c5181c,transparent 42%);animation-duration:24s;animation-direction:alternate-reverse}
@keyframes ecfHeroAmbient{from{transform:translate3d(-3%,-2%,0) scale(1);opacity:.4}to{transform:translate3d(4%,3%,0) scale(1.08);opacity:1}}
#sobre.intro-benefits{background:#fff!important;padding:88px 0!important}
#sobre h2{font-size:36px!important;line-height:1.25!important}
#sobre .ecf-benef-card{border:0!important;box-shadow:none!important;text-align:center;align-items:center;padding:24px 20px!important;background:transparent!important}
#sobre .ecf-benef-card>div:first-child{display:none}
#sobre .ecf-benef-card>div:nth-child(2){width:70px!important;height:70px!important;margin-bottom:18px!important;padding:9px;background:#edf8ee;border-radius:50%}

@media(max-width:1100px) and (min-width:901px){.nav-container{padding:0 28px;gap:24px}.brand img{width:150px}.site-header .ecf-nav{gap:18px}.site-header .ecf-headcta{gap:18px}.nav-start{padding:16px 18px;gap:12px}}
@media(max-width:900px){
 .nav-container{height:72px;padding:0 24px}.brand img{width:158px}
 .site-header .ecf-nav,.site-header .ecf-headcta{display:none!important}
 .site-header .ecf-burger{display:block!important}
 .site-header .ecf-mobile-menu{display:block!important}
 #hero.landing-hero{margin-top:72px;background:url('../images/hero-bg-clean.png') 64% center/cover no-repeat!important}
 .hero-container{min-height:620px;padding:64px 28px;background:linear-gradient(90deg,#07552ad9 0%,#07552ab3 50%,transparent 100%)}
 .hero-copy{width:68%;max-width:500px}.hero-eyebrow{font-size:9px;letter-spacing:.12em}
 #hero h1{font-size:36px!important}.hero-description{font-size:16px}
 .hero-actions{flex-wrap:wrap}.hero-button{min-height:48px;font-size:10px;padding:14px 18px}
 #hero .hero-actions>a[href="#planos"]{width:auto!important}
 #sobre.intro-benefits{padding:64px 0!important}#sobre h2{font-size:29px!important}
}
@media(max-width:560px){
 #hero.landing-hero{background-position:68% top!important}
 .hero-container{min-height:690px;padding:48px 24px 44px;align-items:flex-start;background:linear-gradient(90deg,#07552af5 0%,#07552acc 65%,#07552a38 100%)}
 .hero-copy{width:100%;max-width:380px}.hero-eyebrow{font-size:8px;margin-bottom:20px}
 #hero h1{font-size:32px!important;max-width:330px}.hero-description{font-size:16px;max-width:300px}
 .hero-offer{margin-bottom:30px}.hero-actions{flex-direction:column;gap:22px;max-width:300px}
 .hero-button{font-size:11px!important;width:100%!important;min-height:52px!important}
 #hero .hero-actions>a[href="#planos"]{width:100%!important}.hero-note{max-width:290px}
}
@media(prefers-reduced-motion:reduce){#hero::before,#hero::after{animation:none;opacity:.5}.hero-button,.nav-start{transition:none}}

@media(max-width:1100px){
 .site-header .ecf-nav,.site-header .ecf-headcta{display:none!important}
 .site-header .ecf-burger{display:block!important}
 .site-header .ecf-mobile-menu{display:block!important;overflow-y:auto;max-height:0;overscroll-behavior:contain}
 .nav-container{height:72px;padding:0 24px}
 #hero.landing-hero{margin-top:72px}
 .ecf-mobile-menu a{padding:12px 24px}
}

/* Telas de notebook: a abertura acompanha a altura disponível. */
@media(min-width:901px) and (max-height:800px){
 .nav-container{height:76px}
 #hero.landing-hero{margin-top:76px;background-position:60% top}
 .hero-container{min-height:calc(100svh - 76px);padding:28px 40px}
 .hero-copy{width:56%}
 .hero-eyebrow{margin-bottom:16px}
 #hero h1{font-size:clamp(32px,3vw,42px)!important;margin-bottom:18px}
 .hero-description{font-size:16px;line-height:1.55;margin-bottom:16px}
 .hero-offer{margin-bottom:27px}
 .hero-note{margin-top:18px}
}
@media(max-width:560px){
 .hero-container{min-height:calc(100svh - 72px);padding-top:32px;padding-bottom:32px}
 #hero h1{font-size:30px!important;margin-bottom:20px}
 .hero-eyebrow{margin-bottom:16px}
 .hero-description{line-height:1.5;margin-bottom:16px}
 .hero-offer{margin-bottom:26px}
 .hero-note{margin-top:18px}
}

/* Transparente sobre a abertura; superfície branca depois da rolagem. */
.site-header{background:transparent;border-bottom-color:#ffffff26;box-shadow:none;transition:background .25s,border-color .25s,box-shadow .25s}
.site-header:not(.is-scrolled):not(.is-menu-open) .ecf-nav a{color:#fff}
.site-header:not(.is-scrolled):not(.is-menu-open) .ecf-nav a:hover{color:#f5cf36}
.site-header.is-scrolled,.site-header.is-menu-open{background:#fff;border-bottom-color:#eaf0ee;box-shadow:0 4px 24px #0a1a3c0d}
.site-header .nav-start{height:44px;min-width:132px;padding:0 20px;justify-content:center;gap:18px;border:1px solid transparent;border-radius:8px;font-size:12px;line-height:1;box-shadow:none}
.site-header .nav-start span{display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
.site-header:not(.is-scrolled):not(.is-menu-open) .nav-start{background:#f5cf36;color:#123329}
.site-header:not(.is-scrolled):not(.is-menu-open) .nav-start:hover{background:#ffdc55;color:#123329}
.site-header.is-scrolled .nav-start{background:#16883d;color:#fff}
.site-header .nav-start:hover{transform:translateY(-1px)}
#hero.landing-hero{margin-top:0}
.hero-container{min-height:min(728px,100svh);padding-top:calc(var(--header-height) + clamp(30px,6vh,72px))}
@media(max-width:1100px){:root{--header-height:72px}.hero-container{padding-top:calc(var(--header-height) + 40px)}}
@media(min-width:901px) and (max-height:800px){
 :root{--header-height:76px}
 .hero-container{min-height:100svh;padding-top:calc(var(--header-height) + 28px)}
}
@media(max-width:560px){.hero-container{min-height:100svh;padding-top:calc(var(--header-height) + 32px)}}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}

/* Traço luminoso da seta: camada decorativa, sem capturar cliques. */
.hero-growth-arrow{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:1}
#hero.landing-hero{background:linear-gradient(110deg,#099b43 0%,#087d55 38%,#096171 68%,#0b3b86 100%)!important}
.hero-arrow-build{stroke-dasharray:100;stroke-dashoffset:100;opacity:.7;animation:ecfArrowBuild 6s cubic-bezier(.4,0,.2,1) forwards}
@keyframes ecfArrowBuild{
  0%{stroke-dashoffset:100;opacity:0}
  8%{opacity:.7}
  100%{stroke-dashoffset:0;opacity:.7}
}
.hero-copy> *{animation:heroContentIn .7s cubic-bezier(.22,1,.36,1) both}
.hero-copy> :nth-child(1){animation-delay:.08s}
.hero-copy> :nth-child(2){animation-delay:.18s}
.hero-copy> :nth-child(3){animation-delay:.3s}
.hero-copy> :nth-child(4){animation-delay:.42s}
.hero-copy> :nth-child(5){animation-delay:.54s}
.hero-copy> :nth-child(6){animation-delay:.64s}
@keyframes heroContentIn{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(max-width:900px){.hero-growth-arrow{opacity:1}.hero-container{background:linear-gradient(90deg,#07552ae6,#07552a99 60%,transparent)}}
@media(prefers-reduced-motion:reduce){.hero-arrow-build{animation:none;stroke-dashoffset:0}.hero-copy> *{animation:none;opacity:1;transform:none}}

.hero-mobile-portrait { display: none; }
@media (max-width: 650px) {
 #hero.landing-hero { margin-top: 0; padding: 0 !important; }
 #hero .hero-person-layer { display: none; }
 #hero .hero-growth-arrow { opacity: .35; }
 #hero .hero-container { width: 100%; box-sizing: border-box; min-height: 0; padding: calc(var(--header-height) + 28px) 24px 24px; background: none; }
 #hero .hero-copy { width: 100%; max-width: none; }
 #hero .hero-eyebrow { font-size: 8px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 16px; }
 #hero h1 { max-width: none; font-size: clamp(28px, 7.5vw, 38px) !important; line-height: 1.16 !important; margin-bottom: 20px; text-wrap: initial; }
 #hero .hero-description { max-width: none; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
 #hero .hero-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 13px; margin-bottom: 28px; }
 #hero .hero-offer strong { font-size: 25px; margin-left: 0; white-space: nowrap; }
 #hero .hero-actions { display: flex; flex-direction: column; max-width: none; gap: 22px; }
 #hero .hero-button { box-sizing: border-box; width: 100%; min-height: 50px !important; padding: 14px 20px; font-size: 10px !important; }
 #hero .hero-free { font-size: 7px; top: -11px; }
 #hero .hero-note { max-width: none; font-size: 11px; margin-top: 18px; }
 #hero .hero-mobile-portrait { position: relative; display: block; width: min(240px, 64%); height: 290px; margin: 0 auto; }
}
@media (max-width: 650px) {
 #hero .hero-copy > * { animation: none; opacity: 1; transform: none; }
}
