/* Cerrado Engenharia - LP V2
   Espaçamento: mobile 10/40, tablet 40/60, desktop 40/80 (conteúdo 1280 centralizado = lateral 320 em 1920, 640 em 2560). Gap 20. */
:root{--ink:#111;--mute:#5b6660;--bg:#f4f5f0;--line:#e6e9e3;--forest:#0a3d2a;--brand:#01cb72;--brand-d:#017f47;--navy:#04004f;--deep:#02002e;--lime:#9be86b;--white:#fff;--sans:"Poppins",sans-serif;--serif:"Instrument Serif",serif}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:left}
section[id]{scroll-margin-top:16px}
.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sec{padding:40px 10px}
.wrap{max-width:1280px;margin:0 auto;width:100%}
.bg-white{background:#fff}.bg-bg{background:var(--bg)}
h1,h2,h3,h4{font-weight:400}
.h2{font-size:34px;line-height:1.1;letter-spacing:-.04em}
.h2 em{font-style:normal;color:var(--brand-d)}
.p{font-size:16px;line-height:1.7;color:var(--mute)}
.chip{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 16px 6px 6px;font-size:14px;font-weight:500;color:var(--forest)}
.chip b{width:26px;height:26px;border-radius:50%;background:var(--forest);color:#fff;display:flex;align-items:center;justify-content:center}
.chip .i{width:14px;height:14px}
.btn{display:inline-flex;align-items:center;gap:12px;border-radius:999px;padding:8px 8px 8px 24px;font-size:16px;font-weight:500;transition:transform .2s}
.btn:hover{transform:translateY(-2px)}
.btn .ic{width:44px;height:44px;border-radius:50%;background:var(--brand);color:var(--deep);display:flex;align-items:center;justify-content:center;flex:none}
.btn .ic .i{stroke-width:2.2}
.btn-dark{background:var(--forest);color:#fff}.btn-navy{background:var(--navy);color:#fff}.btn-white{background:#fff;color:var(--deep)}
.btn-green{background:var(--brand);color:var(--deep)}.btn-green .ic{background:var(--deep);color:var(--brand)}

/* HERO */
.hero-wrap{padding:10px}
.hero{position:relative;display:flex;flex-direction:column;align-items:center;min-height:720px;overflow:hidden;border-radius:28px;color:#fff;background:linear-gradient(180deg,rgba(2,0,46,.55),rgba(2,0,46,.25) 45%,rgba(2,0,46,.7)),url(../assets/hero.jpg) center/cover}
.nav{display:flex;align-items:center;justify-content:space-between;gap:8px;width:calc(100% - 20px);max-width:1280px;height:60px;padding:8px 8px 8px 12px;background:rgba(240,244,241,.95);border-radius:0 0 24px 24px;color:var(--navy)}
.logo{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;font-weight:600;min-width:0}
.logo span{width:30px;height:30px;border-radius:8px;background:var(--navy);padding:3px;flex:none}
.logo img{width:100%;height:100%;object-fit:contain}
.nav-links{display:none;gap:4px;padding:6px;border-radius:999px;background:rgba(4,0,79,.07)}
.nav-links a{padding:8px 16px;border-radius:999px;font-size:15px;font-weight:500;white-space:nowrap}
.nav-links a:hover{background:rgba(255,255,255,.7)}
.nav-cta{display:flex;align-items:center;gap:8px;white-space:nowrap;border-radius:999px;background:var(--navy);color:#fff;font-size:10.5px;font-weight:500;padding:10px 10px 10px 10px}
.nav-cta .i{display:none;stroke:var(--brand);width:16px;height:16px;stroke-width:2.4}
.hero-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;max-width:1120px;padding:56px 20px 40px}
.tag{border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.1);border-radius:999px;padding:10px 20px;font-size:13px;font-weight:500}
.hero h1{margin-top:28px;font-size:38px;font-weight:500;line-height:1.08;letter-spacing:-.04em}
.hero h1 span{color:var(--lime);font-weight:400}
.hero .lead{margin-top:24px;max-width:800px;font-size:16px;line-height:1.6;color:#eef1f6}
.hero .btn{margin-top:36px}
.hero .note{margin-top:24px;font-size:14px;color:#dfe4ee}

/* SEGMENTOS */
.head-row{display:flex;flex-direction:column;gap:20px}
.head-row .h2{max-width:780px}
.seg-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:40px}
.seg{display:flex;align-items:center;gap:12px;border-radius:28px;background:var(--bg);padding:8px}
.seg-text{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 8px}
.seg-n{font-family:var(--serif);font-style:italic;font-size:56px;line-height:1;letter-spacing:-.03em;color:var(--brand-d)}
.seg h3{text-align:center;max-width:210px;font-size:20px;line-height:1.15;letter-spacing:-.02em}
.seg h3.long{max-width:190px;font-size:18px}
@media (max-width:767px){
  .seg{gap:10px;padding:6px}
  .seg-n{font-size:36px}
  .seg h3{max-width:none;font-size:15px}
  .seg h3.long{max-width:none;font-size:14px}
  .seg-text{gap:8px;padding:0 4px}
  .seg img{width:96px;height:96px;border-radius:16px}
}
.seg img{width:150px;height:150px;border-radius:22px;object-fit:cover;flex:none}

/* SPLIT (licenciamento / fauna) */
.split{display:flex;flex-direction:column;gap:20px}
.split>img{width:100%;height:420px;border-radius:28px;object-fit:cover}
.col{display:flex;flex-direction:column;align-items:flex-start;gap:20px;flex:1}
.col h3.sub{margin-top:16px;font-size:20px;font-weight:500}
.cards{display:grid;grid-template-columns:1fr;gap:15px;width:100%}
.card{display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:220px;border-radius:28px;padding:24px;background:#fff;border:1px solid var(--line)}
.card.dk{background:var(--forest);color:#fff;border-color:var(--forest)}
.card.lt{background:var(--bg)}
.card h4{font-size:20px;line-height:1.25;letter-spacing:-.02em}
.card p{margin-top:8px;font-size:15px;line-height:1.5;color:var(--mute)}
.card.dk p{color:#cfe3d8}
.card .ico{width:44px;height:44px;border-radius:50%;background:var(--brand);color:var(--deep);display:flex;align-items:center;justify-content:center}
.card.plain{min-height:190px;justify-content:flex-start;gap:10px}

/* DIFERENCIAIS */
.dif{display:flex;flex-direction:column;gap:32px}
.dif-text{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.dif-grid{display:grid;grid-template-columns:1fr;gap:20px;flex:1}
.dcard{display:flex;flex-direction:column;justify-content:space-between;gap:32px;min-height:280px;border-radius:28px;border:1px solid var(--line);background:#fff;padding:24px}
.dtop{display:flex;justify-content:space-between;align-items:flex-start}
.blob{width:54px;height:54px;border-radius:27px 27px 27px 6px;background:#dfe7d5;color:var(--forest);display:flex;align-items:center;justify-content:center}
.blob .i{width:26px;height:26px}
.dtop small{font-size:14px;color:var(--mute)}
.dcard h3{font-size:22px;line-height:1.2;letter-spacing:-.02em}
.dcard p{margin-top:10px;font-size:15px;line-height:1.6;color:var(--mute)}

/* COMO FUNCIONA */
.panel{display:grid;grid-template-columns:1fr;margin-top:40px;border-radius:28px;background:var(--forest);padding:12px}
.step{display:flex;flex-direction:column;gap:14px;padding:28px 20px;border-top:1px solid rgba(255,255,255,.1)}
.step:first-child{border-top:0}
.step b{font-size:64px;font-weight:400;line-height:1;letter-spacing:-.05em;color:var(--lime)}
.step h3{font-size:20px;line-height:1.25;letter-spacing:-.02em;color:#fff}
.step p{font-size:15px;line-height:1.6;color:#cfe3d8}
.after{margin-top:40px}

/* SOBRE */
.sobre-top{display:flex;flex-direction:column;gap:24px}
.sobre-top .h2 i{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.02em;color:var(--brand-d)}
.sobre-p{display:flex;flex-direction:column;gap:18px}
.resp{margin-top:48px;font-size:26px;letter-spacing:-.03em}
.team{display:grid;grid-template-columns:1fr;gap:20px;margin-top:24px}
.person{display:flex;align-items:center;border-radius:28px;background:#fff;padding:10px}
.person img{width:130px;height:190px;border-radius:20px;object-fit:cover;object-position:top;flex:none}
.person div{display:flex;flex-direction:column;gap:6px;padding:0 20px}
.person h4{font-family:var(--serif);font-size:36px;line-height:1;letter-spacing:-.01em}
.person p{font-size:15px;line-height:1.4;color:var(--mute)}
.person small{font-size:14px;font-weight:500;color:var(--brand-d)}
.note-b{margin-top:24px}

/* FAQ */
.faq-h{font-size:34px;letter-spacing:-.04em;line-height:1.1}
.faq-h i{font-family:var(--serif);font-style:italic;color:var(--brand-d)}
.faq-row{display:flex;flex-direction:column;gap:24px;margin-top:40px}
.faq-card{display:flex;flex-direction:column;align-items:flex-start;gap:16px;border-radius:18px;background:#05101a;color:#fff;padding:24px}
.faq-card p{font-size:20px;line-height:1.5}
.faq-list{flex:1;display:flex;flex-direction:column;gap:14px}
.q{border-radius:18px;background:#f6f6f4}
.q button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;padding:20px}
.q button span{font-size:18px;line-height:1.3;letter-spacing:-.01em}
.q .i{width:24px;height:24px}

/* CTA */
.cta{display:flex;flex-direction:column;min-height:640px;padding:40px 10px;color:#fff;background:linear-gradient(180deg,rgba(0,30,15,.55),rgba(0,25,12,.25) 60%,rgba(0,25,12,.5)),url(../assets/cta.jpg) center/cover}
.cta .wrap{flex:1;display:flex;flex-direction:column}
.cta h2{max-width:1000px;margin:0 auto;text-align:center;font-size:34px;font-weight:500;line-height:1.1;letter-spacing:-.04em}
.cta h2 i{font-family:var(--serif);font-weight:400}
.cta-bottom{margin-top:auto;padding-top:64px;display:flex;flex-direction:column;gap:24px}
.cta-bottom>p{max-width:440px;font-size:17px;line-height:1.6}
.cta-card{display:flex;flex-direction:column;gap:24px;max-width:470px;border-radius:18px;background:var(--brand);color:var(--deep);padding:24px}
.cta-card p{font-size:20px;line-height:1.35;letter-spacing:-.01em}
.cta-card .btn{align-self:flex-start}

/* FOOTER */
footer{overflow:hidden;background:#02050a;color:#fff;padding:40px 10px 0}
.f-top{display:flex;flex-direction:column;gap:32px}
.f-top img{width:160px}
.f-brand{display:flex;flex-direction:column;gap:24px;font-size:18px}
.f-info{display:flex;flex-direction:column;gap:16px;font-size:16px;color:#c8d1d8}
.f-base{display:flex;flex-direction:column;gap:12px;margin-top:40px;font-size:15px}
.f-base span:first-child{color:var(--brand)}
.f-word{height:22vw;margin-top:32px;overflow:hidden}
.f-word p{font-size:min(24vw,318px);font-weight:600;line-height:1;letter-spacing:-.04em;background:linear-gradient(180deg,#fff,rgba(255,255,255,.9) 40%,rgba(255,255,255,0));-webkit-background-clip:text;background-clip:text;color:transparent}

/* TABLET */
@media (min-width:768px){
  .sec{padding:60px 40px}
  .hero-wrap{padding:16px}
  .hero{min-height:820px;border-radius:44px}
  .nav{width:calc(100% - 48px);height:68px;padding:8px 10px 8px 18px}
  .logo{gap:10px;font-size:21px}.logo span{width:34px;height:34px}
  .nav-cta{font-size:16px;padding:14px 20px 14px 24px}.nav-cta .i{display:block}
  .hero-body{padding:96px 20px 64px}
  .tag{font-size:15px}
  .hero h1{font-size:56px}
  .hero .lead{font-size:20px}.hero .note{font-size:15px}
  .h2{font-size:44px}
  .p{font-size:17px}
  .btn{font-size:17px}
  .seg-grid{margin-top:56px}
  .seg{gap:20px;border-radius:36px;padding:10px}
  .seg-text{gap:16px;padding:0 20px}
  .seg-n{font-size:84px}
  .seg h3{font-size:26px}.seg h3.long{font-size:22px}
  .seg img{width:260px;height:260px;border-radius:28px}
  .split>img{height:560px;border-radius:44px}
  .cards{grid-template-columns:1fr 1fr}
  .dif-grid{grid-template-columns:1fr 1fr}
  .dcard{border-radius:32px;padding:28px}.dcard h3{font-size:24px}.dcard p{font-size:16px}
  .dcard.wide{grid-column:span 2}
  .panel{grid-template-columns:1fr 1fr;margin-top:48px;border-radius:44px;padding:20px}
  .step{padding:36px 28px}
  .step:nth-child(2){border-top:0;border-left:1px solid rgba(255,255,255,.1)}
  .step:nth-child(4){border-left:1px solid rgba(255,255,255,.1)}
  .step h3{font-size:22px}.step p{font-size:16px}
  .resp{margin-top:64px;font-size:32px}
  .person{border-radius:36px}
  .person img{width:260px;height:300px;border-radius:28px}
  .person div{padding:0 28px}.person h4{font-size:44px}.person p{font-size:17px}.person small{font-size:15px}
  .faq-h{font-size:44px}
  .q button{padding:22px 28px}.q button span{font-size:22px}.q .a{padding:0 28px 24px;font-size:17px}
  .cta{min-height:700px;padding:60px 40px}
  .cta h2{font-size:52px}
  .cta-bottom>p{font-size:19px}.cta-card p{font-size:22px}
  footer{padding:60px 40px 0}
  .f-top{flex-direction:row;justify-content:space-between}
  .f-top img{width:210px}.f-brand{font-size:22px}.f-info{font-size:17px}
  .f-base{flex-direction:row;justify-content:space-between;margin-top:56px;font-size:17px}
}
/* DESKTOP: conteúdo 1280 (lateral 320 em 1920, 640 em 2560) */
@media (min-width:1024px){
  .nav-links{display:flex}
}
@media (min-width:1280px){
  .sec{padding:80px 40px}
  .hero{min-height:940px}
  .hero h1{font-size:64px}
  .h2{font-size:52px}
  .head-row{flex-direction:row;justify-content:space-between;align-items:flex-start}
  .head-row .p{max-width:400px;padding-top:28px}
  .seg-n{font-size:96px}.seg h3{font-size:30px}.seg h3.long{font-size:22px}
  .seg-grid{grid-template-columns:1fr 1fr}
  .split{flex-direction:row;gap:50px}
  .split>img{width:560px;height:auto;flex:none}
  .split.rev>img{order:2}
  .dif{flex-direction:row;gap:50px}
  .dif-text{width:440px;flex:none;padding-top:8px}
  .dif-text .h2{font-size:42px}
  .dcard{min-height:330px}.dcard.wide{min-height:250px}
  .panel{grid-template-columns:repeat(4,1fr)}
  .step{border-top:0!important}
  .step+.step{border-left:1px solid rgba(255,255,255,.1)}
  .step b{font-size:88px}
  .step h3{min-height:56px}
  .sobre-top{flex-direction:row;gap:70px}
  .sobre-top>*{flex:1}
  .sobre-top .h2{font-size:56px}
  .sobre-p{padding-top:52px}
  .team{grid-template-columns:1fr 1fr}
  .faq-h{font-size:64px}.faq-h i{font-size:72px}
  .faq-row{flex-direction:row;align-items:flex-end;margin-top:56px}
  .faq-card{width:384px;flex:none}
  .cta{padding:80px 40px}
  .cta h2{font-size:60px}
  .cta-bottom{flex-direction:row;justify-content:space-between;align-items:flex-end}
  footer{padding:80px 40px 0}
  .f-word{height:230px}
}

/* ===== EFEITOS (estilo GreenNova) ===== */
.hero,.cta{background:none;position:relative;isolation:isolate}
.hero::before,.cta::before{content:"";position:absolute;inset:-6% 0;z-index:-2;background:center/cover;transform:translate3d(0,calc(var(--py,0)*1px),0) scale(1)}
.hero::before{background-image:url(../assets/hero.jpg);animation:heroZoom 1.8s cubic-bezier(.2,.7,.2,1) both}
.cta::before{background-image:url(../assets/cta.jpg)}
.hero::after,.cta::after{content:"";position:absolute;inset:0;z-index:-1}
.hero::after{background:linear-gradient(180deg,rgba(2,0,46,.55),rgba(2,0,46,.25) 45%,rgba(2,0,46,.7))}
.cta::after{background:linear-gradient(180deg,rgba(0,30,15,.55),rgba(0,25,12,.25) 60%,rgba(0,25,12,.5))}
@keyframes heroZoom{from{transform:translate3d(0,0,0) scale(1.14)}to{transform:translate3d(0,0,0) scale(1)}}

.nav{position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:50;transition:background .3s,box-shadow .3s,height .3s;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.nav.scrolled{background:rgba(244,247,244,.97);box-shadow:0 10px 30px rgba(2,0,46,.18)}
.hero-body{padding-top:110px}

.btn .ic{transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.btn:hover .ic{transform:rotate(45deg)}
.nav-cta .i{transition:transform .3s}.nav-cta:hover .i{transform:translate(2px,-2px)}

.seg,.card,.dcard,.person,.step{transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s,background .3s}
.seg:hover,.card:hover,.dcard:hover,.person:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(10,61,42,.12)}
.seg img,.person img,.split>img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.seg:hover img,.person:hover img{transform:scale(1.05)}
.dcard:hover .blob{transform:rotate(-8deg) scale(1.06)}.blob{transition:transform .4s}
.card:hover .ico{transform:scale(1.1)}.card .ico{transition:transform .35s}
.step:hover b{transform:translateX(6px)}.step b{transition:transform .4s;display:inline-block}

.q{transition:background .3s}.q:hover{background:#eeeeea}
.q .a{display:grid;grid-template-rows:0fr;padding:0;transition:grid-template-rows .45s cubic-bezier(.2,.7,.2,1)}
.q .a>div{overflow:hidden}
.q .a p{padding:0 20px 20px;font-size:16px;line-height:1.6;color:var(--mute)}
.q.open .a{display:grid;grid-template-rows:1fr}
.q .pl{transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.q.open .pl{display:block;transform:rotate(45deg)}
@media (min-width:768px){.q .a p{padding:0 28px 24px;font-size:17px}}

/* revelar ao rolar (só com JS) */
.js .rv{opacity:0;transform:translateY(32px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.js .rv.in{opacity:1;transform:none}
.js .seg.rv.in:hover,.js .card.rv.in:hover,.js .dcard.rv.in:hover,.js .person.rv.in:hover{transform:translateY(-6px)}
.w{display:inline-block;opacity:0;transform:translateY(55%);filter:blur(8px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1),filter .8s;transition-delay:calc(var(--i)*55ms + .15s)}
.in .w,.words-in .w{opacity:1;transform:none;filter:none}
.hero-body>*:not(h1){animation:fadeUp .9s cubic-bezier(.2,.7,.2,1) both;animation-delay:.1s}
.hero-body .lead{animation-delay:.7s}.hero-body .btn{animation-delay:.85s}.hero-body .note{animation-delay:1s}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .rv,.w{opacity:1;transform:none;filter:none}
}

/* correção: a foto de fundo da CTA vazava por cima do footer e deixava uma faixa */
.cta{overflow:hidden}
footer{position:relative;z-index:1}
@media (min-width:768px){.cta-card .btn{white-space:nowrap}}
@media (min-width:768px){.cta-card{max-width:520px}.cta-card .btn{font-size:16px}}
