:root{
  --navy:#0b3d58;
  --navy-dark:#082f45;
  --orange:#ff6a00;
  --yellow:#ffc21c;
  --cream:#fffaf0;
  --mint:#1c9e83;
  --text:#123044;
  --muted:#637583;
  --white:#fff;
  --shadow:0 18px 40px rgba(40,62,69,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;font-family:'Nunito Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text);background:#fffdf8;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,select{font:inherit}
.container{width:min(1280px,calc(100% - 72px));margin:0 auto;position:relative}

.topbar{height:86px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(7,61,88,.08);position:sticky;top:0;z-index:80;backdrop-filter:blur(16px)}
.nav-shell{height:100%;display:grid;grid-template-columns:310px 1fr 250px;align-items:center;gap:20px}
.brand{display:flex;align-items:center;width:290px}
.brand img{width:286px;height:auto}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:42px;font-weight:800;font-size:15px}
.desktop-nav a{position:relative;padding:32px 0 27px;transition:.25s}
.desktop-nav a::after{content:"";position:absolute;left:50%;right:50%;bottom:19px;height:3px;border-radius:9px;background:var(--orange);transition:.25s}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--orange)}
.desktop-nav a:hover::after,.desktop-nav a.active::after{left:8%;right:8%}
.header-cta{justify-self:end;display:inline-flex;align-items:center;gap:11px;background:linear-gradient(135deg,#ffd33f,#ffb900);border-radius:34px;padding:16px 25px;color:#0d2f43;font-weight:900;box-shadow:0 10px 25px rgba(255,190,0,.22);transition:.25s}
.header-cta:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(255,190,0,.3)}
.sun-dot{font-size:24px;line-height:1}
.menu-toggle{display:none}
.mobile-menu{display:none}

.hero{height:520px;position:relative;isolation:isolate;overflow:hidden;background:#f9ce73}
.hero-bg{position:absolute;inset:0;background-image:url('assets/hero-casa-1672.webp');background-image:image-set(url('assets/hero-casa-1672.avif') type('image/avif'),url('assets/hero-casa-1672.webp') type('image/webp'));background-size:cover;background-position:center 52%;z-index:-4;transform:scale(1.035);animation:heroDrift 18s ease-in-out infinite alternate}
@keyframes heroDrift{to{transform:scale(1.07) translateX(-10px)}}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,225,.98) 0%,rgba(255,244,207,.88) 24%,rgba(255,246,220,.5) 41%,rgba(255,255,255,.02) 63%);z-index:-3}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(180deg,transparent,rgba(255,183,0,.16));z-index:-2}
.hero-glow{position:absolute;left:30%;top:20%;width:310px;height:310px;border-radius:50%;background:radial-gradient(circle,rgba(255,236,144,.75),rgba(255,207,45,.18),transparent 69%);filter:blur(8px);z-index:-2}
.hero-inner{height:100%;display:flex;align-items:flex-start}
.hero-copy{padding-top:29px;width:54%;position:relative;z-index:4}
.eyebrow{font-family:'Montserrat',sans-serif;letter-spacing:4px;font-weight:800;font-size:12px;line-height:1.35;margin:0 0 13px 52px;position:relative;color:#294b59}
.eyebrow span{position:absolute;left:-48px;top:10px;width:36px;height:4px;border-radius:6px;background:#f4ad00}
.hero h1{font-size:65px;line-height:.93;letter-spacing:-3.8px;margin:0;font-weight:900;color:var(--navy)}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero-sub{font-size:20px;line-height:1.12;font-weight:700;color:#294a5a;margin:12px 0 14px}
.hero-actions{display:flex;gap:12px;margin-bottom:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:30px;padding:13px 25px;font-weight:900;transition:.25s;border:2px solid transparent;cursor:pointer}
.btn img{width:28px;height:28px;object-fit:contain}
.btn-primary{background:linear-gradient(135deg,#ffd139,#ffad00);color:#0c2d40;box-shadow:0 10px 23px rgba(255,166,0,.18)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(255,166,0,.28)}
.btn-outline{background:rgba(255,255,255,.72);border-color:#154862;color:#173d52;backdrop-filter:blur(8px)}
.btn-outline:hover{background:white;transform:translateY(-2px)}
.hero-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;width:585px}
.hero-benefits article{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;color:#173d52;font-size:14px;font-weight:900;line-height:1.1}
.benefit-icon{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.76);display:grid;place-items:center;box-shadow:0 8px 18px rgba(47,76,83,.09);border:1px solid rgba(255,255,255,.8)}
.benefit-icon img{width:42px;height:42px;object-fit:contain}
.floating-note{position:absolute;z-index:5;filter:drop-shadow(0 9px 18px rgba(13,56,68,.12));animation:float 4.2s ease-in-out infinite}
.note-sun{width:220px;right:27%;top:15px}
.note-region{width:235px;right:-18px;bottom:72px;animation-delay:-2s}
@keyframes float{50%{transform:translateY(-7px) rotate(.5deg)}}
.hero-wave{position:absolute;left:-2%;right:-2%;bottom:-1px;height:40px;background:#fffdf8;border-radius:50% 50% 0 0/100% 100% 0 0;transform:scaleX(1.04)}

.services{padding:5px 0 14px;background:#fffdf8;position:relative}
.section-heading{text-align:center;margin-bottom:18px}
.section-kicker{font-family:'Montserrat',sans-serif;letter-spacing:4px;font-size:12px;font-weight:800;color:#607683;display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 5px}
.section-kicker span{width:37px;height:3px;border-radius:8px;background:#f6b803}
.section-heading h2{font-size:38px;line-height:1;margin:0;color:var(--navy);font-weight:900;letter-spacing:-1.4px}
.section-heading h2 strong{color:var(--orange)}
.section-heading>p:last-child{font-size:16px;color:#5b6b78;margin:7px 0 0}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.service-card{height:193px;border-radius:18px;background:#fff;position:relative;overflow:hidden;box-shadow:0 8px 18px rgba(50,75,85,.08);border:1px solid rgba(39,71,87,.08);transition:.3s}
.service-card:hover{transform:translateY(-7px);box-shadow:var(--shadow)}
.service-photo{height:84px;overflow:hidden}
.service-photo img{width:100%;height:100%;object-fit:cover;transition:.5s}
.service-card:hover .service-photo img{transform:scale(1.06)}
.service-icon{position:absolute;top:53px;left:22px;width:52px;height:52px;border-radius:50%;background:linear-gradient(145deg,#ffd54b,#ffae00);display:grid;place-items:center;border:4px solid #fff;box-shadow:0 5px 14px rgba(255,171,0,.25)}
.service-icon img{width:40px;height:40px;object-fit:contain}
.service-copy{position:absolute;left:22px;right:18px;bottom:10px}
.service-copy h3{font-size:20px;line-height:1;margin:0 0 5px;color:#0d3850;font-weight:900}
.service-copy p{font-size:13px;line-height:1.1;margin:0;color:#65727a;max-width:82%}
.service-copy a{position:absolute;right:0;bottom:0;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f6f6f2;font-size:22px;font-weight:800;color:#173d51;transition:.25s}
.service-copy a:hover{background:#ffc51c;transform:translateX(2px)}

.results{height:170px;position:relative;overflow:hidden;background:linear-gradient(90deg,#ffc725 0 23%,#fff9eb 23% 78%,#2796b5 78% 100%)}
.results::before{content:"";position:absolute;left:-7%;top:-48px;width:40%;height:160px;background:#ffb619;border-radius:50%;opacity:.8;transform:rotate(7deg)}
.results-bg-right{position:absolute;right:0;top:0;bottom:0;width:23%;background-image:url('assets/panorama-1024.webp');background-image:image-set(url('assets/panorama-1024.avif') type('image/avif'),url('assets/panorama-1024.webp') type('image/webp'));background-position:center;background-size:cover;background-repeat:no-repeat;opacity:.9;mix-blend-mode:multiply}
.results-inner{height:100%;display:grid;grid-template-columns:250px 1fr 220px;align-items:center;gap:18px}
.results-title{z-index:2;align-self:start;padding-top:29px}
.results-title h2{font-size:29px;line-height:.88;margin:0 0 7px;color:#0b3c57;font-weight:900;letter-spacing:-1.2px}
.results-title p{font-size:14px;line-height:1.14;margin:0;color:#775c28;font-weight:700}
.testimonial-card{height:142px;background:#fff;border-radius:17px;display:grid;grid-template-columns:170px 1fr 295px;overflow:hidden;box-shadow:0 9px 24px rgba(32,72,86,.14);position:relative;z-index:2}
.testimonial-photo{background-position:center 42%;background-size:cover;background-repeat:no-repeat}
.testimonial-copy{padding:12px 16px 8px}
.location-pill{display:inline-flex;align-items:center;font-size:10px;background:#fff6da;border-radius:15px;padding:3px 8px;color:#6f6a62}
blockquote{margin:8px 0 0;font-size:12px;line-height:1.28;color:#59646b}
.stars{display:inline-block;color:#ffbd00;font-size:21px;letter-spacing:1px;margin-top:2px}
.client{display:inline-flex;flex-direction:column;margin-left:10px;vertical-align:top;transform:translateY(-1px)}
.client strong{font-size:11px}.client small{font-size:9px;color:#7b8790}
.saving-visual{border-left:1px solid #edf0ef;padding:14px 15px;position:relative;background:#fffdf9}
.saving-head{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#54626a;font-weight:800}
.saving-head span{display:flex;flex-direction:column}.saving-head strong{font-size:17px;color:#2f3d45}.saving-head small{font-size:9px;font-weight:500}.saving-head b{color:#f5a700;font-size:27px}.saving-head .after strong{color:#128247}
.bars{position:absolute;bottom:16px;left:24px;display:flex;align-items:end;gap:5px;height:55px}.bars i{display:block;width:20px;background:#c5c9cb;border-radius:3px 3px 0 0}.bars i.green{background:#14954e}
.saving-caption{position:absolute;right:18px;bottom:17px;font-size:10px;color:#5f6a68}.saving-caption strong{font-size:27px;line-height:.8;color:#198d46}
.coast-note{z-index:2;justify-self:end;text-align:right;color:white;padding-top:12px}.sun-outline{font-size:37px;color:#ffca25}.coast-note p{font-size:13px;line-height:1.17;font-weight:800;margin:5px 0 0;text-shadow:0 1px 7px rgba(0,44,67,.35)}

.advantages,.projects{padding:86px 0;background:#fff}
.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.split-image{height:430px;border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.split-image img{width:100%;height:100%;object-fit:cover}
.section-kicker.left{justify-content:flex-start}.section-kicker.left span:last-child{display:none}
.split-copy h2,.contact h2{font-size:50px;line-height:1.02;letter-spacing:-2px;color:var(--navy);margin:8px 0 18px;font-weight:900}.split-copy h2 strong,.contact h2 strong{color:var(--orange)}
.split-copy>p{font-size:18px;line-height:1.55;color:#637482}
.split-copy ul{list-style:none;padding:0;margin:24px 0;display:grid;gap:12px}.split-copy li{font-size:17px;font-weight:800}.split-copy li b{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#dff5ec;color:#1f9a71;margin-right:9px}
.btn.compact{padding:13px 20px}
.projects{background:#fffaf1}.project-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px}.project-card{height:340px;border-radius:24px;overflow:hidden;position:relative;margin:0;box-shadow:var(--shadow)}.project-card img{width:100%;height:100%;object-fit:cover;transition:.5s}.project-card:hover img{transform:scale(1.05)}.project-card::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(2,46,68,.83))}.project-card figcaption{position:absolute;left:24px;right:24px;bottom:22px;z-index:2;color:white;display:flex;flex-direction:column}.project-card b{font-size:22px}.project-card span{font-size:14px;opacity:.9}

.simulation{padding:85px 0;background:linear-gradient(135deg,#0b4160,#116a7f);color:#fff;position:relative;overflow:hidden}.simulation::before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;background:rgba(255,190,0,.12);top:-260px;right:-80px}.simulation-shell{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:start}.section-kicker.light{color:#d2e7ea}.simulation-copy h2{font-size:54px;line-height:1;letter-spacing:-2px;margin:10px 0 15px}.simulation-copy h2 strong{color:#ffc41e}.simulation-copy>p{font-size:18px;color:#d7e3e5}.estimator{margin-top:28px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:24px;backdrop-filter:blur(10px)}.estimator label{display:block;font-weight:800;margin-bottom:8px}.range-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.range-row input{height:48px;border-radius:13px;border:0;padding:0 14px;font-size:22px;font-weight:900;color:#0e3d55}.range-row button{height:48px;border:0;border-radius:13px;background:#ffc31a;color:#0e3d55;font-weight:900;padding:0 18px;cursor:pointer}.estimate-output{margin-top:18px;display:grid;grid-template-columns:1fr auto;align-items:end}.estimate-output small{grid-column:1/-1;color:#cbe0e4}.estimate-output strong{font-size:34px;color:#ffce35}.estimate-output span{color:#cbe0e4;font-size:14px}
.lead-form{background:#fff;color:var(--text);padding:28px;border-radius:28px;box-shadow:0 24px 60px rgba(0,28,45,.22)}.lead-form h3{margin:0 0 18px;font-size:25px;color:var(--navy)}.lead-form label{display:grid;gap:6px;font-weight:800;font-size:14px;margin-bottom:13px}.lead-form input,.lead-form select{height:48px;border-radius:12px;border:1px solid #dce3e5;padding:0 14px;outline:none}.lead-form input:focus,.lead-form select:focus{border-color:#22a5b5;box-shadow:0 0 0 3px rgba(34,165,181,.12)}.btn.full{width:100%;border:0}.form-note{min-height:20px;margin:10px 0 0;font-size:13px;color:#168051;font-weight:800}

.contact{padding:72px 0;background:#fff}.contact-shell{display:flex;align-items:center;justify-content:space-between;gap:40px}.contact h2{font-size:43px;margin-bottom:10px}.contact p{font-size:17px;color:#6b7880;max-width:740px}
footer{background:#082f45;color:#dbe7eb;padding-top:52px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:36px;align-items:start}.footer-brand img{width:260px;filter:brightness(0) invert(1);opacity:.96}.footer-brand p{color:#aac4ce}.footer-grid h4{color:#fff;margin:0 0 12px}.footer-grid>div:not(.footer-brand){display:flex;flex-direction:column;gap:8px}.footer-grid a{color:#c9dbe1}.back-top{border:1px solid rgba(255,255,255,.22);padding:11px 16px;border-radius:18px}.footer-bottom{margin-top:35px;padding:19px 0;background:#06283b;color:#a5bac3;font-size:13px}
.floating-sun{position:fixed;right:22px;bottom:22px;z-index:40;width:58px;height:58px;border-radius:50%;border:0;background:linear-gradient(145deg,#ffd33b,#ffad00);color:#0d3a53;font-size:26px;box-shadow:0 12px 30px rgba(0,0,0,.2);cursor:pointer;transition:.25s}.floating-sun:hover{transform:translateY(-4px) rotate(8deg)}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}

@media (max-width:1100px){
  .container{width:min(100% - 42px,1000px)}
  .nav-shell{grid-template-columns:250px 1fr 210px}.brand{width:230px}.brand img{width:226px}.desktop-nav{gap:20px;font-size:14px}.header-cta{padding:14px 18px}
  .hero h1{font-size:58px}.hero-copy{width:58%}.note-sun{right:18%;width:190px}.note-region{width:205px}
  .hero-benefits{width:530px}.service-copy p{font-size:12px}.results-inner{grid-template-columns:220px 1fr 180px}.testimonial-card{grid-template-columns:145px 1fr 260px}
}

@media (max-width:800px){
  .container{width:calc(100% - 32px)}
  .topbar{height:78px}.nav-shell{grid-template-columns:1fr auto}.brand{width:205px}.brand img{width:198px}.desktop-nav,.header-cta{display:none}
  .menu-toggle{width:48px;height:48px;border:1px solid rgba(10,57,82,.14);background:#fff;border-radius:15px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;box-shadow:0 7px 18px rgba(0,39,57,.08)}.menu-toggle span{width:23px;height:3px;border-radius:5px;background:var(--navy)}
  .mobile-menu{position:fixed;inset:0;z-index:120;background:rgba(4,42,58,.5);backdrop-filter:blur(12px);opacity:0;visibility:hidden;transition:.3s;display:block}.mobile-menu.open{opacity:1;visibility:visible}.mobile-menu-panel{width:min(92%,520px);height:100%;margin-left:auto;background:#fffdf8;padding:22px 22px 28px;transform:translateX(100%);transition:.35s;box-shadow:-20px 0 60px rgba(1,37,52,.2)}.mobile-menu.open .mobile-menu-panel{transform:none}.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.mobile-menu-head img{width:220px}.menu-close{width:48px;height:48px;border:0;border-radius:15px;background:#eff4f5;color:var(--navy);font-size:35px}.mobile-menu nav{display:grid;gap:10px}.mobile-menu nav a{padding:17px 18px;border-radius:15px;background:#fff;border:1px solid #edf1f1;font-size:20px;font-weight:900}.mobile-menu nav a:hover{background:#fff2d0;color:#e65c00}.mobile-menu-cta{margin-top:18px;display:flex;justify-content:space-between;background:linear-gradient(135deg,#ffd63d,#ffaf00);padding:17px 20px;border-radius:16px;font-size:19px;font-weight:900}
  .hero{height:auto;min-height:830px}.hero-bg{background-position:64% center}.hero::before{background:linear-gradient(180deg,rgba(255,249,225,.98) 0%,rgba(255,246,214,.92) 37%,rgba(255,244,210,.35) 59%,rgba(255,255,255,0) 75%)}.hero-inner{display:block}.hero-copy{width:100%;padding-top:28px}.eyebrow{margin-left:44px;font-size:10px;letter-spacing:3px}.hero h1{font-size:53px;line-height:.94;letter-spacing:-2.7px}.hero-sub{font-size:17px;line-height:1.3;max-width:94%}.desktop-only{display:none}.hero-actions{flex-direction:column;align-items:stretch;width:100%;max-width:450px}.btn{min-height:52px}.hero-benefits{width:100%;grid-template-columns:repeat(2,1fr);gap:10px;max-width:430px}.hero-benefits article{background:rgba(255,255,255,.55);border-radius:16px;padding:10px}.floating-note.note-sun{top:395px;right:16px;width:155px}.floating-note.note-region{right:16px;bottom:58px;width:180px}.hero-wave{height:28px}
  .services{padding-top:20px}.section-heading{margin-bottom:25px}.section-heading h2{font-size:31px}.section-heading>p:last-child{font-size:14px;line-height:1.4}.service-grid{grid-template-columns:1fr 1fr;gap:13px}.service-card{height:220px}.service-photo{height:104px}.service-icon{top:73px}.service-copy{bottom:14px}.service-copy h3{font-size:18px}.service-copy p{font-size:12px;max-width:85%}
  .results{height:auto;min-height:520px;background:linear-gradient(145deg,#ffc82b 0 31%,#fff9eb 31% 72%,#2b9fb8 72%);padding:30px 0}.results-bg-right{width:100%;top:auto;height:155px;bottom:0;opacity:.68}.results-inner{display:grid;grid-template-columns:1fr;gap:18px}.results-title{padding-top:0}.results-title h2{font-size:31px}.testimonial-card{height:auto;min-height:315px;grid-template-columns:1fr;overflow:hidden}.testimonial-photo{height:110px;background-position:8% 39%;background-size:180% auto}.testimonial-copy{padding:14px 16px}.saving-visual{height:125px;border-left:0;border-top:1px solid #eef0ee}.coast-note{padding:0 0 8px;text-align:left;justify-self:start;color:#fff}.coast-note p{font-size:14px}.sun-outline{display:none}
  .advantages,.projects{padding:60px 0}.split-layout,.simulation-shell{grid-template-columns:1fr;gap:30px}.split-image{height:300px}.split-copy h2,.contact h2,.simulation-copy h2{font-size:38px}.project-grid{grid-template-columns:1fr}.project-card{height:280px}.simulation{padding:60px 0}.contact-shell{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.back-top{align-self:end}.floating-sun{right:16px;bottom:16px;width:54px;height:54px}
}

@media (max-width:520px){
  .container{width:calc(100% - 24px)}
  .topbar{height:72px}.brand{width:190px}.brand img{width:186px}.menu-toggle{width:46px;height:46px}
  .hero{min-height:850px}.hero h1{font-size:46px}.hero-sub{font-size:16px}.floating-note.note-sun{top:388px;width:135px}.floating-note.note-region{width:160px;bottom:55px}.hero-benefits{max-width:none}.hero-benefits article{font-size:13px}.benefit-icon{width:48px;height:48px}.benefit-icon img{width:38px;height:38px}
  .service-grid{grid-template-columns:1fr}.service-card{height:228px}.service-photo{height:112px}.service-icon{top:78px}.section-heading h2{font-size:29px}.section-kicker{letter-spacing:2.5px;font-size:10px}.section-kicker span{width:24px}.results{min-height:550px}.split-copy h2,.contact h2,.simulation-copy h2{font-size:34px}.project-card{height:245px}.range-row{grid-template-columns:auto 1fr}.range-row button{grid-column:1/-1}.estimate-output{grid-template-columns:1fr}.estimate-output span{margin-top:4px}.footer-grid{grid-template-columns:1fr}.back-top{justify-self:start}.footer-brand img{width:220px}
}

/* ===== Ajustes V2: cards, hero notes, resultado e simulador ===== */
.hero-notes{position:static}

/* Cards de serviços: estrutura previsível e sem recortes de conteúdo */
.service-card{display:flex;flex-direction:column;height:210px;overflow:hidden}
.service-photo{height:92px;flex:0 0 92px}
.service-photo img{object-position:center center}
.service-copy{position:relative;left:auto;right:auto;bottom:auto;flex:1;padding:32px 58px 14px 22px;min-height:0}
.service-copy h3{margin-bottom:6px}
.service-copy p{max-width:none}
.service-copy a{right:16px;bottom:16px}
.service-icon{top:62px;z-index:3}

/* Foto do depoimento usa somente o cliente, sem a paisagem anexada ao asset original */
.testimonial-photo{background-image:url('assets/depoimento-pessoa-624.webp');background-image:image-set(url('assets/depoimento-pessoa-624.avif') type('image/avif'),url('assets/depoimento-pessoa-624.webp') type('image/webp'));background-position:center 42%;background-size:cover;background-repeat:no-repeat}

/* Gráfico compacto e legível, em vez de barras que parecem blocos/prédios */
.bars{position:absolute;left:16px;bottom:14px;height:50px;width:116px;display:flex;align-items:flex-end;gap:8px}
.bars i{display:block;width:18px;border-radius:4px 4px 1px 1px;background:#cbd0d2;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
.bars i.green{background:#169a4f}
.saving-caption{right:16px;bottom:14px;line-height:1.05}

@media (min-width:1101px){
  .results{height:186px}
  .results-inner{grid-template-columns:245px minmax(0,1fr) 205px;gap:20px}
  .testimonial-card{height:150px;grid-template-columns:155px minmax(250px,1fr) 270px}
  .testimonial-copy{padding:14px 16px 10px}
  .saving-visual{padding:15px 16px}
}

/* Desktop compacto / "site para computador" em telas físicas menores */
@media (min-width:801px) and (max-width:1100px){
  .results{height:200px}
  .results-inner{grid-template-columns:190px minmax(0,1fr);gap:16px}
  .results-title{padding-top:25px}
  .results-title h2{font-size:26px}
  .results-title p{font-size:12px}
  .testimonial-card{height:156px;grid-template-columns:125px minmax(190px,1fr) 215px}
  .testimonial-photo{background-position:center 38%}
  .testimonial-copy{padding:11px 12px 8px}
  blockquote{font-size:10.5px;line-height:1.25}
  .stars{font-size:18px}
  .saving-visual{padding:12px 11px}
  .saving-head strong{font-size:15px}
  .saving-caption{font-size:9px;right:10px}
  .saving-caption strong{font-size:23px}
  .bars{left:11px;bottom:14px;width:88px;gap:5px}
  .bars i{width:14px}
  .coast-note{display:none}
  .results-bg-right{width:19%}
}

@media (max-width:800px){
  /* Os dois selos passam a ocupar um espaço próprio: nunca sobrepõem os benefícios */
  .hero{min-height:980px}
  .hero-inner{display:flex;flex-direction:column;align-items:stretch}
  .hero-copy{flex:0 0 auto}
  .hero-notes{position:relative;z-index:7;display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(100%,430px);margin-top:18px;padding-bottom:85px}
  .floating-note.note-sun,.floating-note.note-region{position:relative;inset:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:100%;max-width:190px;justify-self:center;animation:none;filter:drop-shadow(0 8px 16px rgba(13,56,68,.12))}
  .note-sun{align-self:center}
  .note-region{align-self:center}

  .service-grid{grid-template-columns:1fr 1fr;gap:14px}
  .service-card{height:auto;min-height:270px}
  .service-photo{height:126px;flex-basis:126px}
  .service-photo img{object-fit:cover;object-position:center center}
  .service-icon{top:91px;left:20px;width:58px;height:58px}
  .service-icon img{width:44px;height:44px}
  .service-copy{padding:38px 60px 18px 20px;min-height:140px}
  .service-copy h3{font-size:20px;line-height:1.06}
  .service-copy p{font-size:13px;line-height:1.22}
  .service-copy a{right:16px;bottom:18px}

  .results{min-height:650px;padding:34px 0 175px}
  .testimonial-card{min-height:390px}
  .testimonial-photo{height:170px;background-position:center 34%;background-size:cover}
  .testimonial-copy{padding:16px 18px 14px}
  .saving-visual{height:135px;padding:14px 18px}
  .bars{left:18px;bottom:16px;width:124px}
  .saving-caption{right:18px;bottom:16px}
}

@media (max-width:520px){
  .hero{min-height:940px}
  .hero-notes{grid-template-columns:1fr 1fr;margin-top:16px;padding-bottom:44px}
  .floating-note.note-sun,.floating-note.note-region{max-width:156px}

  .service-grid{grid-template-columns:1fr;gap:18px}
  .service-card{min-height:300px;border-radius:22px}
  .service-photo{height:150px;flex-basis:150px}
  .service-photo img{object-fit:cover}
  .service-icon{top:112px;left:24px;width:62px;height:62px}
  .service-icon img{width:47px;height:47px}
  .service-copy{padding:42px 70px 20px 24px;min-height:150px}
  .service-copy h3{font-size:23px}
  .service-copy p{font-size:15px;line-height:1.25}
  .service-copy a{width:46px;height:46px;right:20px;bottom:24px;font-size:27px}

  .results{min-height:700px;padding-bottom:185px}
  .testimonial-card{min-height:430px;border-radius:22px}
  .testimonial-photo{height:190px}
  .testimonial-copy{padding:18px 20px 15px}
  blockquote{font-size:14px;line-height:1.4}
  .saving-visual{height:145px}
  .saving-head strong{font-size:20px}
  .saving-head{font-size:10px}
  .saving-caption{font-size:12px}.saving-caption strong{font-size:31px}
}

/* ===== Ajustes V3: footer enxuto + menu mobile central + hero mobile limpo ===== */
.site-footer{
  background:#082f45;
  color:#dbe7eb;
  padding:34px 0 0;
}
.footer-minimal{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:20px;
}
.footer-logo{display:inline-flex;align-items:center;justify-content:center}
.footer-logo img{
  width:min(280px,72vw);
  height:auto;
  filter:brightness(0) invert(1);
  opacity:.98;
}
.footer-legal{
  width:100%;
  padding:18px 0 22px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#a9c0c9;
  font-size:13px;
  line-height:1.5;
}
.footer-legal p{margin:0}
.footer-credit{margin-top:5px!important}
.footer-credit a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
  transition:color .2s ease,opacity .2s ease;
}
.footer-credit a:hover{color:#ffc21a}

@media (max-width:800px){
  /* Os selos decorativos não aparecem no mobile. */
  .hero-notes{display:none!important}
  .hero{min-height:820px}
  .hero-inner{min-height:inherit}

  /* O próprio hambúrguer vira X; não há outro botão concorrendo com ele. */
  .menu-toggle{
    position:relative;
    z-index:131;
    transition:background .25s ease,border-color .25s ease,transform .25s ease;
  }
  .menu-toggle span{
    position:absolute;
    left:50%;
    top:50%;
    margin:0;
    transform:translate(-50%,-50%);
    transition:transform .28s ease,opacity .2s ease,width .28s ease;
  }
  .menu-toggle span:nth-child(1){transform:translate(-50%,calc(-50% - 7px))}
  .menu-toggle span:nth-child(2){transform:translate(-50%,-50%)}
  .menu-toggle span:nth-child(3){transform:translate(-50%,calc(-50% + 7px))}
  .menu-toggle[aria-expanded="true"]{background:#fff7e6;border-color:rgba(230,92,0,.16)}
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translate(-50%,-50%) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;width:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translate(-50%,-50%) rotate(-45deg)}

  .mobile-menu{
    position:fixed;
    inset:0;
    z-index:120;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:88px 18px 24px;
    background:rgba(3,35,48,.58);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .28s ease,visibility .28s ease;
  }
  .mobile-menu.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .mobile-menu-panel{
    width:min(100%,520px);
    height:auto;
    max-height:calc(100dvh - 118px);
    overflow:auto;
    margin:0;
    padding:22px;
    border-radius:28px;
    background:rgba(255,253,248,.97);
    border:1px solid rgba(255,255,255,.72);
    box-shadow:0 28px 80px rgba(1,37,52,.28);
    transform:translateY(20px) scale(.97);
    opacity:0;
    transition:transform .32s cubic-bezier(.2,.75,.2,1),opacity .24s ease;
  }
  .mobile-menu.open .mobile-menu-panel{transform:none;opacity:1}
  .mobile-menu-head{margin:0 0 18px;justify-content:center}
  .mobile-menu-head img{width:min(240px,68vw)}
  .menu-close{display:none!important}
  .mobile-menu nav{gap:8px}
  .mobile-menu nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    padding:13px 18px;
    border-radius:16px;
    background:#fff;
    border:1px solid rgba(10,57,82,.09);
    color:var(--navy);
    font-size:18px;
    font-weight:900;
    box-shadow:0 7px 18px rgba(0,39,57,.035);
  }
  .mobile-menu-cta{
    margin-top:14px;
    min-height:60px;
    align-items:center;
    border-radius:18px;
    box-shadow:0 12px 26px rgba(255,174,0,.22);
  }

  .site-footer{padding-top:26px}
  .footer-minimal{gap:15px}
  .footer-logo img{width:min(245px,68vw)}
  .footer-legal{padding:16px 10px 18px;font-size:12px}
}

@media (max-width:520px){
  .hero{min-height:800px}
  .mobile-menu{padding:82px 14px 20px}
  .mobile-menu-panel{padding:18px;border-radius:24px;max-height:calc(100dvh - 104px)}
  .mobile-menu-head img{width:min(220px,68vw)}
  .mobile-menu nav a{min-height:54px;font-size:17px}
  .mobile-menu-cta{min-height:56px;font-size:17px}
  .footer-logo img{width:min(225px,72vw)}
}

@media (max-width:800px){
  /* Mantém o cabeçalho acima do backdrop para o hambúrguer/X continuar acessível. */
  .topbar{z-index:140}
  .mobile-menu-head{display:none}
  .mobile-menu-panel{padding-top:22px}
}

/* ===== Ajustes V4: CTA desktop proporcional + WhatsApp flutuante ===== */
.header-cta{
  white-space:nowrap;
  width:auto;
  max-width:100%;
  min-height:48px;
  padding:13px 20px;
  font-size:15px;
  line-height:1;
  justify-content:center;
}
.header-cta .sun-dot{
  flex:0 0 auto;
  font-size:21px;
}

.floating-whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:70;
  width:60px;
  height:60px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#25D366;
  color:#fff;
  border:2px solid rgba(255,255,255,.94);
  box-shadow:0 14px 32px rgba(20,110,61,.30),0 4px 12px rgba(0,0,0,.12);
  text-decoration:none;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.floating-whatsapp i{
  font-size:31px;
  line-height:1;
  display:block;
}
.floating-whatsapp:hover{
  transform:translateY(-4px) scale(1.04);
  box-shadow:0 18px 38px rgba(20,110,61,.36),0 5px 14px rgba(0,0,0,.14);
  filter:saturate(1.06);
}
.floating-whatsapp:focus-visible{
  outline:4px solid rgba(37,211,102,.24);
  outline-offset:4px;
}

@media (min-width:801px) and (max-width:1100px){
  .nav-shell{
    grid-template-columns:210px minmax(0,1fr) auto;
    gap:10px;
  }
  .brand{width:205px}
  .brand img{width:200px}
  .desktop-nav{
    gap:clamp(10px,1.55vw,18px);
    font-size:12.5px;
  }
  .desktop-nav a{padding-left:0;padding-right:0}
  .header-cta{
    padding:11px 14px;
    min-height:44px;
    border-radius:24px;
    gap:7px;
    font-size:13px;
    box-shadow:0 8px 20px rgba(255,190,0,.18);
  }
  .header-cta .sun-dot{font-size:18px}
}

@media (min-width:1101px){
  .nav-shell{grid-template-columns:290px minmax(0,1fr) auto}
  .header-cta{min-width:190px}
}

@media (max-width:800px){
  .floating-whatsapp{
    right:16px;
    bottom:18px;
    width:56px;
    height:56px;
    z-index:95;
  }
  .floating-whatsapp i{font-size:29px}
}

@media (max-width:520px){
  .floating-whatsapp{
    right:14px;
    bottom:14px;
    width:54px;
    height:54px;
  }
  .floating-whatsapp i{font-size:28px}
}

/* ===== Ajustes V5: resultado full-width no desktop + WhatsApp sem cobrir o rodapé ===== */
@media (min-width:801px){
  /* Replica a faixa da referência: 23% resultados | 55% relato | 22% panorama. */
  .results-inner.container{
    width:100%;
    max-width:none;
    margin:0;
    grid-template-columns:23.4% 54.8% 21.8%;
    gap:0;
    padding:0;
  }
  .results-title{
    width:100%;
    padding-left:clamp(28px,4.8vw,68px);
    padding-right:18px;
  }
  .testimonial-card{
    width:100%;
    max-width:none;
    justify-self:stretch;
    grid-template-columns:21.5% 40% 38.5%;
    border-radius:17px;
  }
  .testimonial-photo{min-width:0}
  .testimonial-copy{min-width:0}
  .saving-visual{min-width:0}
  .coast-note{
    width:100%;
    padding-right:clamp(24px,4vw,58px);
  }
  .results-bg-right{width:21.8%}
}

@media (min-width:801px) and (max-width:1100px){
  .results-inner.container{
    grid-template-columns:22% 59% 19%;
  }
  .results-title{
    padding-left:clamp(20px,3.4vw,36px);
    padding-right:12px;
  }
  .testimonial-card{
    grid-template-columns:20% 43% 37%;
  }
  .results-bg-right{width:19%}
}

@media (max-width:800px){
  .floating-whatsapp{
    transition:bottom .3s ease,transform .22s ease,box-shadow .22s ease,filter .22s ease;
  }
  .floating-whatsapp.footer-near{
    bottom:112px;
  }
}

@media (max-width:520px){
  .floating-whatsapp.footer-near{
    bottom:108px;
  }
}


/* ===== Otimização V6: imagens responsivas / formatos modernos ===== */
.service-photo picture,.split-image picture,.project-card picture{display:contents}
@media (max-width:800px){.hero-bg{background-image:url('assets/hero-casa-960.webp');background-image:image-set(url('assets/hero-casa-960.avif') type('image/avif'),url('assets/hero-casa-960.webp') type('image/webp'))}.results-bg-right{background-image:url('assets/panorama-768.webp');background-image:image-set(url('assets/panorama-768.avif') type('image/avif'),url('assets/panorama-768.webp') type('image/webp'))}}


/* ===== Ajustes V7: acabamento do relato mobile + formulário para WhatsApp ===== */
@media (max-width:800px){
  /*
     Faz a foto sangrar alguns pixels dentro do próprio card. Isso elimina a
     fresta clara que podia aparecer entre o fundo amarelo e a foto em alguns
     níveis de zoom/DPR do Chrome mobile, sem alterar o tamanho do card.
  */
  .testimonial-card{
    isolation:isolate;
  }
  .testimonial-photo{
    width:calc(100% + 4px);
    max-width:none;
    margin-left:-2px;
    margin-right:-2px;
    background-color:#d2b663;
    background-clip:border-box;
  }
}

/* ===== Ajustes V10: acabamento desktop dos selos do hero + CTA pré-rodapé ===== */
/*
   Estes ajustes atuam SOMENTE no layout desktop. No mobile os selos continuam
   ocultos e o CTA mantém o comportamento já aprovado.
*/
@media (min-width:801px){
  /*
     Cria uma camada própria para os dois selos do hero. Assim o tamanho deles
     deixa de depender do fluxo/flex do conteúdo e não cresce nem invade os
     botões/benefícios em larguras intermediárias de desktop.
  */
  .hero-inner{position:relative}
  .hero-notes{
    position:absolute;
    inset:0;
    z-index:5;
    pointer-events:none;
  }
  .hero-notes .floating-note{
    position:absolute;
    height:auto;
    margin:0;
    max-width:none;
    object-fit:contain;
    transform-origin:center;
  }
  .hero-notes .note-sun{
    width:clamp(138px,11.5vw,170px);
    top:18px;
    right:25.5%;
  }
  .hero-notes .note-region{
    width:clamp(168px,14vw,208px);
    right:.8%;
    bottom:76px;
  }

  /* CTA final: tamanho consistente com os demais botões e sem quebra de linha. */
  .contact-shell{
    gap:clamp(28px,4vw,58px);
  }
  .contact-shell > div{
    flex:1 1 auto;
    min-width:0;
  }
  .contact-shell > .btn{
    flex:0 0 auto;
    width:auto;
    min-width:190px;
    max-width:none;
    min-height:50px;
    padding:13px 24px;
    border-radius:28px;
    white-space:nowrap;
    font-size:15px;
    line-height:1;
  }
}

/* Desktop compacto / "site para computador" em telas menores. */
@media (min-width:801px) and (max-width:1100px){
  .hero-notes .note-sun{
    width:138px;
    top:20px;
    right:25%;
  }
  .hero-notes .note-region{
    width:166px;
    right:1.2%;
    bottom:78px;
  }
  .contact-shell > .btn{
    min-width:172px;
    padding:12px 20px;
    font-size:14px;
  }
}

/* ===== V11 PARTE 1 — reposicionamento multissoluções ===== */
.header-cta i{font-size:18px;line-height:1}
.hero-copy{width:58%}
.hero h1{font-size:58px;line-height:.94;letter-spacing:-3px;max-width:690px}
.hero-sub{max-width:670px;line-height:1.22}
.hero-actions .btn i{font-size:23px;line-height:1}
.hero-benefits{width:min(650px,100%)}
.benefit-icon i{font-size:27px;color:var(--orange)}

/* Selos provisórios em CSS: na Parte 2 podem ser substituídos pelos assets finais. */
.hero-notes .solution-badge{
  position:absolute;
  z-index:5;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:250px;
  max-width:310px;
  padding:14px 17px;
  border-radius:20px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 16px 36px rgba(9,55,72,.16);
  backdrop-filter:blur(11px);
  -webkit-backdrop-filter:blur(11px);
  color:var(--navy);
}
.hero-notes .solution-badge i{font-size:27px;color:var(--orange);flex:0 0 auto}
.hero-notes .solution-badge span{display:flex;flex-direction:column;line-height:1.08}
.hero-notes .solution-badge b{font-size:15px;font-weight:900}
.hero-notes .solution-badge small{margin-top:4px;font-size:11px;color:#607683;font-weight:700}
.hero-notes .solution-badge-main{top:42px;right:19%}
.hero-notes .solution-badge-market{right:1%;bottom:88px}

.services{padding-bottom:48px}
.service-grid{row-gap:16px}
.service-card-multi{min-height:220px;height:220px}
.asset-placeholder{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 75% 24%,rgba(255,198,31,.28),transparent 28%),
    linear-gradient(135deg,#0a425e 0%,#126d7f 54%,#f7b414 160%);
  color:#fff;
}
.asset-placeholder::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.12) 48%,transparent 61%);
  transform:translateX(-100%);
  animation:placeholderShine 5.5s ease-in-out infinite;
}
@keyframes placeholderShine{0%,68%{transform:translateX(-100%)}88%,100%{transform:translateX(100%)}}
.service-photo.asset-placeholder{display:flex;align-items:center;justify-content:center;gap:9px;height:98px;flex-basis:98px}
.service-photo.asset-placeholder i{font-size:32px;color:#ffd047;filter:drop-shadow(0 5px 12px rgba(0,0,0,.16))}
.service-photo.asset-placeholder span{font-family:'Montserrat',sans-serif;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:800;opacity:.92}
.service-icon-temp i{font-size:26px;color:#0a415b}
.service-card-multi .service-icon{top:68px}
.service-card-multi .service-copy{padding-top:34px}
.service-card-multi .service-copy h3{font-size:18px}
.service-card-multi .service-copy p{font-size:12px;line-height:1.18}

.asset-placeholder-large{
  height:470px;
  border-radius:30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  box-shadow:var(--shadow);
}
.asset-placeholder-large i{font-size:76px;color:#ffd047;filter:drop-shadow(0 9px 18px rgba(0,0,0,.15))}
.asset-placeholder-large span{font-family:'Montserrat',sans-serif;font-size:13px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}

.project-grid{grid-template-columns:repeat(4,1fr);gap:16px}
.project-card-placeholder{height:310px;background:#0b425d}
.project-asset-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:11px;
  color:#fff;
  background:
    radial-gradient(circle at 75% 20%,rgba(255,194,28,.28),transparent 23%),
    linear-gradient(145deg,#092f49,#0f6c7d);
}
.project-asset-placeholder i{font-size:58px;color:#ffca26}
.project-asset-placeholder span{font-size:11px;letter-spacing:1.1px;text-transform:uppercase;font-weight:900;opacity:.82}
.project-card-placeholder::after{background:linear-gradient(transparent 42%,rgba(3,38,55,.9))}

.solution-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:22px 0 4px}
.solution-mini-grid span{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.11);font-size:13px;font-weight:800;color:#e7f1f3}
.solution-mini-grid i{font-size:17px;color:#ffcf32}
.solar-estimator{margin-top:18px}
.estimator-badge{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;padding:7px 10px;border-radius:999px;background:rgba(255,204,47,.14);color:#ffe184;font-size:11px;font-weight:900;letter-spacing:.3px}
.estimator-badge i{color:#ffcb25}
.lead-form label{gap:7px}

@media (min-width:801px) and (max-width:1180px){
  .hero-copy{width:61%}
  .hero h1{font-size:50px}
  .hero-notes .solution-badge{min-width:220px;max-width:250px;padding:12px 14px}
  .hero-notes .solution-badge-main{right:12%;top:34px}
  .hero-notes .solution-badge-market{right:.5%;bottom:82px}
  .project-grid{grid-template-columns:repeat(2,1fr)}
  .project-card-placeholder{height:280px}
}

@media (max-width:800px){
  .hero{min-height:900px}
  .hero-copy{width:100%}
  .hero h1{font-size:44px;line-height:.98;letter-spacing:-2.2px;max-width:540px}
  .hero-sub{max-width:520px}
  .hero-notes{display:grid!important;grid-template-columns:1fr;gap:10px;margin-top:15px;padding:0 0 36px;width:min(100%,450px)}
  .hero-notes .solution-badge{position:relative!important;inset:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:100%;min-width:0;max-width:none;padding:11px 13px;border-radius:16px}
  .hero-notes .solution-badge b{font-size:13px}.hero-notes .solution-badge small{font-size:10px}
  .service-card-multi{min-height:280px;height:auto}
  .service-photo.asset-placeholder{height:132px;flex-basis:132px}
  .service-card-multi .service-icon{top:96px}
  .project-grid{grid-template-columns:1fr}
  .project-card-placeholder{height:270px}
  .asset-placeholder-large{height:310px}
  .solution-mini-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:520px){
  .hero{min-height:940px}
  .hero h1{font-size:39px;letter-spacing:-1.8px}
  .hero-sub{font-size:15px}
  .hero-actions .btn{padding-left:17px;padding-right:17px}
  .service-photo.asset-placeholder{height:150px;flex-basis:150px}
  .service-card-multi .service-icon{top:112px}
  .service-card-multi .service-copy h3{font-size:22px}
  .service-card-multi .service-copy p{font-size:14px}
  .solution-mini-grid{grid-template-columns:1fr}
}


/* ===== Fortaleza Solar V12 — assets finais integrados ===== */
.hero-bg{
  background-image:image-set(url('assets/hero-casa-1672.avif') type('image/avif'),url('assets/hero-casa-1672.webp') type('image/webp'));
  background-position:center 55%;
}
.service-photo picture,
.split-image picture,
.project-card picture{display:block;width:100%;height:100%}
.service-photo picture img,
.split-image picture img,
.project-card picture img{display:block;width:100%;height:100%;object-fit:cover}
.service-photo picture img{object-position:center 50%}
.service-card[data-service="eletrica-residencial"] .service-photo picture img{object-position:center 44%}
.service-card[data-service="eletrica-industrial"] .service-photo picture img{object-position:center 48%}
.service-card[data-service="ev"] .service-photo picture img{object-position:center 58%}
.service-card[data-service="acesso"] .service-photo picture img{object-position:center 52%}
.split-image picture img{object-position:center 50%}
.project-card picture{position:absolute;inset:0}
.project-card picture img{object-position:center center}
.project-card::after{z-index:1}
.project-card figcaption{z-index:2}

@media (max-width:800px){
  .hero-bg{
    background-image:image-set(url('assets/hero-casa-960.avif') type('image/avif'),url('assets/hero-casa-960.webp') type('image/webp'));
    background-position:66% center;
  }
  .service-photo picture img{object-position:center center}
  .service-card[data-service="eletrica-residencial"] .service-photo picture img{object-position:center 43%}
  .split-image picture img{object-position:center 45%}
}
@media (max-width:520px){
  .hero-bg{
    background-image:image-set(url('assets/hero-casa-640.avif') type('image/avif'),url('assets/hero-casa-640.webp') type('image/webp'));
    background-position:70% center;
  }
}

/* ===== Fortaleza Solar V13 — fotos reais integradas ===== */
.service-card[data-service="solar"] .service-photo picture img{object-position:center 54%}
.project-grid-real .project-card{height:310px}
.project-grid-real .project-card:nth-child(1),
.project-grid-real .project-card:nth-child(7){grid-column:span 2}
.project-grid-real .project-card picture img{object-position:center center}

@media (min-width:801px) and (max-width:1180px){
  .project-grid-real .project-card:nth-child(1),
  .project-grid-real .project-card:nth-child(7){grid-column:span 2}
}

@media (max-width:800px){
  .project-grid-real .project-card:nth-child(1),
  .project-grid-real .project-card:nth-child(7){grid-column:span 1}
}


/* ===== Fortaleza Solar V14 — refinamentos finais ===== */
/* A comunicação deixa de repetir a ideia de "parceiro" e passa a destacar integração de soluções. */

/* Foto real do inversor: enquadramento consistente na seção Vantagens. */
.advantages .split-image picture img{
  object-position:center 42%;
}

/* Projetos reais: o card de inversor volta à mesma proporção dos demais no desktop. */
@media (min-width:1181px){
  .project-grid-real .project-card:nth-child(7){
    grid-column:auto;
  }
}

/* Mantém o inversor centralizado no card sem recortes que escondam o equipamento. */
.project-grid-real .project-card:nth-child(7) picture img{
  object-position:center 42%;
}

@media (max-width:800px){
  .advantages .split-image picture img,
  .project-grid-real .project-card:nth-child(7) picture img{
    object-position:center 40%;
  }
}

/* ===== Fortaleza Solar V15 — navegação limpa + cards finais ===== */
section[id]{scroll-margin-top:98px}

/* Novas imagens solicitadas */
.service-card[data-service="solar"] .service-photo picture img{object-position:center 50%}
.service-card[data-service="cerca"] .service-photo picture img{object-position:center 50%}

/* Inversor: imagem única e proporcional tanto em Vantagens quanto em Projetos. */
.advantages .split-image picture img{object-position:center center}

/* Grade de projetos: elimina o último card largo/desalinhado.
   Desktop: 4 colunas; o destaque inicial ocupa 2 e os 6 cards restantes fecham a grade. */
.project-grid-real{
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-flow:row;
  gap:16px;
  align-items:stretch;
}
.project-grid-real .project-card{
  width:100%;
  height:270px;
  min-width:0;
  align-self:stretch;
}
.project-grid-real .project-card:nth-child(1){grid-column:span 2}
.project-grid-real .project-card:nth-child(7){grid-column:span 1}
.project-grid-real .project-card:nth-child(7) picture img{
  object-position:center center;
  object-fit:cover;
}

/* Texto do CTA realmente centralizado; a seta não desloca o rótulo. */
.mobile-menu-cta{
  position:relative;
  justify-content:center!important;
  text-align:center;
  padding-left:54px!important;
  padding-right:54px!important;
}
.mobile-menu-cta span{
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
}

@media (min-width:801px) and (max-width:1180px){
  .project-grid-real{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-grid-real .project-card{height:290px}
  .project-grid-real .project-card:nth-child(1){grid-column:span 2}
  .project-grid-real .project-card:nth-child(7){grid-column:span 1}
}

@media (max-width:800px){
  /* No mobile: 1 destaque + 3 linhas de dois cards. O inversor fica no mesmo padrão. */
  .project-grid-real{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .project-grid-real .project-card{
    height:clamp(185px,55vw,240px);
    border-radius:18px;
  }
  .project-grid-real .project-card:nth-child(1){grid-column:span 2}
  .project-grid-real .project-card:nth-child(7){grid-column:span 1}
  .project-grid-real .project-card figcaption{
    left:14px;
    right:12px;
    bottom:13px;
  }
  .project-grid-real .project-card b{font-size:16px;line-height:1.05}
  .project-grid-real .project-card span{font-size:10px;line-height:1.15}
  .project-grid-real .project-card:nth-child(7) picture img{object-position:center center}
}

@media (max-width:420px){
  .project-grid-real{gap:10px}
  .project-grid-real .project-card{height:190px}
  .project-grid-real .project-card:nth-child(1){height:210px}
  .mobile-menu-cta{padding-left:46px!important;padding-right:46px!important}
  .mobile-menu-cta span{right:18px}
}


/* ===== Fortaleza Solar V16 — cards legíveis + acabamento responsivo ===== */
/*
   Os cards de Soluções passam a calcular a própria altura pelo conteúdo.
   Isso elimina o corte dos textos longos em duas colunas no mobile sem
   alterar a identidade visual, os ícones ou a posição do CTA.
*/
.service-card-multi{
  height:auto;
  min-height:252px;
  display:flex;
  flex-direction:column;
}
.service-card-multi .service-photo{
  flex:0 0 102px;
  height:102px;
}
.service-card-multi .service-copy{
  flex:1 0 auto;
  min-height:148px;
  padding:36px 60px 20px 22px;
}
.service-card-multi .service-copy h3{
  line-height:1.04;
  margin-bottom:7px;
}
.service-card-multi .service-copy p{
  max-width:none;
  line-height:1.28;
  overflow:visible;
}
.service-card-multi .service-copy a{
  right:16px;
  bottom:18px;
}
.service-card-multi .service-icon{top:72px}

@media (max-width:800px){
  .service-card-multi{
    height:auto!important;
    min-height:326px;
    overflow:hidden;
  }
  .service-card-multi .service-photo{
    flex:0 0 128px;
    height:128px;
  }
  .service-card-multi .service-icon{top:92px}
  .service-card-multi .service-copy{
    flex:1 0 auto;
    min-height:198px;
    padding:40px 58px 22px 20px;
  }
  .service-card-multi .service-copy h3{
    font-size:20px;
    line-height:1.04;
  }
  .service-card-multi .service-copy p{
    font-size:13px;
    line-height:1.32;
  }
  .service-card-multi .service-copy a{
    right:14px;
    bottom:18px;
  }
}

@media (max-width:620px){
  /* Em larguras em que duas colunas comprimem a leitura, priorizamos uma
     coluna completa. Assim nenhuma descrição fica espremida ou truncada. */
  .service-grid{grid-template-columns:1fr;gap:18px}
  .service-card-multi{
    min-height:306px;
    border-radius:22px;
  }
  .service-card-multi .service-photo{
    flex-basis:146px;
    height:146px;
  }
  .service-card-multi .service-icon{
    top:108px;
    left:24px;
    width:62px;
    height:62px;
  }
  .service-card-multi .service-copy{
    min-height:160px;
    padding:43px 72px 22px 24px;
  }
  .service-card-multi .service-copy h3{font-size:23px}
  .service-card-multi .service-copy p{font-size:15px;line-height:1.32}
  .service-card-multi .service-copy a{
    width:46px;
    height:46px;
    right:20px;
    bottom:22px;
    font-size:27px;
  }
}

/* ===== Fortaleza Solar V19 — nova identidade + geração e armazenamento ===== */
/* Nova marca circular: dimensionamento próprio para header, menu e rodapé. */
.nav-shell{grid-template-columns:96px 1fr 250px}
.brand{width:76px;height:76px;justify-content:flex-start}
.brand img{width:70px;height:70px;object-fit:contain;border-radius:50%;box-shadow:0 5px 16px rgba(9,52,76,.08)}
.footer-logo img{width:126px;height:126px;object-fit:contain;border-radius:50%;filter:none!important;opacity:1}
.mobile-menu-head img{width:82px!important;height:82px;object-fit:contain;border-radius:50%}

/* Hero: comporta o novo eixo de geração + armazenamento sem perder legibilidade. */
.hero .eyebrow{letter-spacing:3.2px}
.hero-sub{max-width:720px}
.hero-benefits article{min-width:0}
.hero-benefits article strong{display:block}
.hero-notes .solution-badge-main{min-width:285px}

/* Novos serviços sem assets finais: composição visual temporária em CSS/ícone,
   pronta para receber as imagens definitivas na etapa de assets. */
.service-placeholder-hybrid,
.service-placeholder-storage{
  position:relative;
  isolation:isolate;
}
.service-placeholder-hybrid{
  background:
    radial-gradient(circle at 74% 28%,rgba(255,213,67,.45),transparent 25%),
    linear-gradient(135deg,#0b3d58 0%,#0f6d7f 58%,#f1ad00 150%);
}
.service-placeholder-storage{
  background:
    radial-gradient(circle at 30% 20%,rgba(255,194,28,.38),transparent 24%),
    linear-gradient(135deg,#072f48 0%,#145c72 62%,#0f927b 140%);
}
.service-placeholder-hybrid i,
.service-placeholder-storage i{
  font-size:46px!important;
  color:#ffd13d!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.22));
  z-index:2;
}
.service-card-energy{min-height:276px}
.service-card-energy .service-copy{min-height:172px}
.service-card-energy .service-copy p{line-height:1.3}

/* Centraliza a última linha de 2 cards no desktop, preservando a grade existente. */
@media (min-width:1181px){
  .service-grid > .service-card:nth-child(9){grid-column:2}
  .service-grid > .service-card:nth-child(10){grid-column:3}
}

/* Diferenciais de geração/armazenamento. */
.energy-differentials{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:22px 0 18px;
}
.energy-differentials article{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px 13px;
  border-radius:16px;
  background:linear-gradient(145deg,#fffdf8,#f6fbfa);
  border:1px solid rgba(11,61,88,.09);
  box-shadow:0 7px 18px rgba(30,68,80,.06);
}
.energy-differentials i{
  flex:0 0 36px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#ffd84d,#ffb200);
  color:#0b3d58;
  font-size:18px;
}
.energy-differentials span{display:flex;flex-direction:column;min-width:0}
.energy-differentials strong{font-size:13px;line-height:1.1;color:var(--navy)}
.energy-differentials small{margin-top:4px;font-size:11px;line-height:1.25;color:#667985}
.estimator-note{margin:14px 0 0!important;font-size:12px!important;line-height:1.4!important;color:#cfe3e7!important}

@media (min-width:801px) and (max-width:1100px){
  .nav-shell{grid-template-columns:82px 1fr 210px}
  .brand{width:64px;height:64px}
  .brand img{width:60px;height:60px}
  .service-grid > .service-card:nth-child(9),
  .service-grid > .service-card:nth-child(10){grid-column:auto}
  .energy-differentials{grid-template-columns:1fr}
}

@media (max-width:800px){
  .nav-shell{grid-template-columns:1fr auto}
  .brand{width:60px;height:60px}
  .brand img{width:56px;height:56px}
  .mobile-menu-head{display:flex!important;align-items:center;justify-content:center;margin:0 0 14px}
  .mobile-menu-head .menu-close{display:none!important}
  .mobile-menu-head img{width:74px!important;height:74px}
  .service-grid > .service-card:nth-child(9),
  .service-grid > .service-card:nth-child(10){grid-column:auto}
  .service-card-energy{min-height:340px}
  .energy-differentials{grid-template-columns:1fr;gap:9px}
  .energy-differentials article{padding:12px 13px}
  .footer-logo img{width:108px;height:108px}
}

@media (max-width:520px){
  .brand{width:56px;height:56px}
  .brand img{width:52px;height:52px}
  .mobile-menu-head img{width:66px!important;height:66px}
  .service-card-energy{min-height:326px}
  .footer-logo img{width:100px;height:100px}
  .hero .eyebrow{letter-spacing:2.2px;font-size:9px}
}


/* ===== Fortaleza Solar V20 — assets de geração e armazenamento ===== */
.service-card[data-service="hibrido"] .service-photo picture img{object-position:64% 52%}
.service-card[data-service="armazenamento"] .service-photo picture img{object-position:62% 56%}
.advantages .split-image picture img{object-position:54% 50%}
@media (max-width:800px){
  .service-card[data-service="hibrido"] .service-photo picture img{object-position:66% 52%}
  .service-card[data-service="armazenamento"] .service-photo picture img{object-position:64% 56%}
  .advantages .split-image picture img{object-position:56% 50%}
}

/* ===== Fortaleza Solar V21 — logo principal com emblema + rodapé com logo branca antiga ===== */
/* Desktop */
.nav-shell{grid-template-columns:300px 1fr 250px}
.brand{width:290px;height:auto;justify-content:flex-start}
.brand img{
  width:min(285px,100%);
  height:auto;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
}
.mobile-menu-head{display:flex!important;align-items:center;justify-content:center;margin:0 0 18px}
.mobile-menu-head img{
  width:min(240px,72vw)!important;
  height:auto!important;
  object-fit:contain;
  border-radius:0;
}
.footer-logo img{
  width:min(280px,72vw);
  height:auto;
  object-fit:contain;
  border-radius:0;
  filter:brightness(0) invert(1)!important;
  opacity:.98;
}

@media (min-width:801px) and (max-width:1100px){
  .nav-shell{grid-template-columns:245px 1fr 210px}
  .brand{width:235px;height:auto}
  .brand img{width:min(230px,100%);height:auto}
}

@media (max-width:800px){
  .nav-shell{grid-template-columns:1fr auto}
  .brand{width:190px;height:auto}
  .brand img{width:min(186px,100%);height:auto}
  .mobile-menu-head img{width:min(220px,68vw)!important;height:auto!important}
  .footer-logo img{width:min(245px,68vw);height:auto}
}

@media (max-width:520px){
  .brand{width:176px;height:auto}
  .brand img{width:min(172px,100%);height:auto}
  .mobile-menu-head img{width:min(200px,66vw)!important;height:auto!important}
  .footer-logo img{width:min(225px,72vw);height:auto}
}


/* ===== Fortaleza Solar V22 — logo principal mobile separada ===== */
.brand-mobile-wordmark,
.brand-mobile-emblem{display:none}
.brand-desktop-logo{display:block}

@media (max-width:800px){
  .topbar{height:84px}
  .nav-shell{
    grid-template-columns:60px minmax(0,1fr) 56px;
    gap:12px;
  }
  .brand{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex:0 0 auto;
  }
  .brand-desktop-logo{display:none}
  .brand-mobile-emblem{
    display:block;
    width:60px;
    height:60px;
    object-fit:contain;
    border-radius:0;
    box-shadow:none;
  }
  .brand-mobile-wordmark{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    width:100%;
    padding:0 4px;
  }
  .brand-mobile-wordmark img{
    display:block;
    width:min(320px,100%);
    max-height:52px;
    height:auto;
    object-fit:contain;
  }
}

@media (max-width:520px){
  .topbar{height:80px}
  .nav-shell{grid-template-columns:54px minmax(0,1fr) 50px;gap:8px}
  .brand{
    width:54px;
    height:54px;
  }
  .brand-mobile-emblem{
    width:54px;
    height:54px;
  }
  .brand-mobile-wordmark img{
    width:min(250px,100%);
    max-height:42px;
  }
}

@media (max-width:390px){
  .brand-mobile-wordmark img{
    width:min(220px,100%);
    max-height:38px;
  }
}

/* ===== Fortaleza Solar V24 — ajuste definitivo do logo central no mobile ===== */
@media (max-width:800px){
  .topbar{height:96px}
  .nav-shell{
    grid-template-columns:64px minmax(0,1fr) 58px;
    gap:10px;
    align-items:center;
  }
  .brand{
    width:64px;
    height:64px;
  }
  .brand-mobile-emblem{
    width:64px;
    height:64px;
  }
  .brand-mobile-wordmark{
    width:100%;
    min-width:0;
    justify-content:center;
    padding:0 2px;
  }
  .brand-mobile-wordmark img{
    width:100%;
    max-width:300px;
    max-height:78px;
    height:auto;
    object-fit:contain;
  }
}

@media (max-width:520px){
  .topbar{height:90px}
  .nav-shell{
    grid-template-columns:58px minmax(0,1fr) 52px;
    gap:8px;
  }
  .brand{
    width:58px;
    height:58px;
  }
  .brand-mobile-emblem{
    width:58px;
    height:58px;
  }
  .brand-mobile-wordmark img{
    max-width:260px;
    max-height:68px;
  }
}

@media (max-width:390px){
  .topbar{height:86px}
  .nav-shell{
    grid-template-columns:54px minmax(0,1fr) 50px;
    gap:6px;
  }
  .brand{
    width:54px;
    height:54px;
  }
  .brand-mobile-emblem{
    width:54px;
    height:54px;
  }
  .brand-mobile-wordmark img{
    max-width:230px;
    max-height:60px;
  }
}

/* ===== Fortaleza Solar V25 — logo central mobile maior e mais proporcional ===== */
@media (max-width:800px){
  .nav-shell{
    grid-template-columns:62px minmax(0,1fr) 58px;
    gap:8px;
  }
  .brand-mobile-wordmark{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    width:100%;
    padding:0 4px;
  }
  .brand-mobile-wordmark img{
    display:block;
    width:100%;
    max-width:none;
    max-height:none;
    height:auto;
    object-fit:contain;
  }
}

@media (max-width:520px){
  .topbar{height:92px}
  .nav-shell{
    grid-template-columns:56px minmax(0,1fr) 52px;
    gap:8px;
  }
  .brand,
  .brand-mobile-emblem{
    width:56px;
    height:56px;
  }
  .brand-mobile-wordmark{
    padding:0 2px;
  }
  .brand-mobile-wordmark img{
    width:100%;
    max-width:none;
    height:auto;
  }
}

@media (max-width:390px){
  .topbar{height:88px}
  .nav-shell{
    grid-template-columns:52px minmax(0,1fr) 50px;
    gap:6px;
  }
  .brand,
  .brand-mobile-emblem{
    width:52px;
    height:52px;
  }
  .brand-mobile-wordmark img{
    width:100%;
    max-width:none;
    height:auto;
  }
}

/* ===== Fortaleza Solar V26 — logo central mobile equilibrada ===== */
@media (max-width:800px){
  .nav-shell{
    grid-template-columns:60px minmax(0,1fr) 56px;
    gap:8px;
  }
  .brand-mobile-wordmark{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
    padding:0 8px;
  }
  .brand-mobile-wordmark img{
    width:auto;
    height:auto;
    max-width:min(100%, 300px);
    max-height:50px;
    object-fit:contain;
  }
}

@media (max-width:520px){
  .topbar{height:90px}
  .nav-shell{
    grid-template-columns:56px minmax(0,1fr) 52px;
    gap:8px;
  }
  .brand,
  .brand-mobile-emblem{
    width:56px;
    height:56px;
  }
  .brand-mobile-wordmark{
    padding:0 8px;
  }
  .brand-mobile-wordmark img{
    width:auto;
    max-width:min(100%, 280px);
    max-height:46px;
    height:auto;
  }
}

@media (max-width:390px){
  .topbar{height:86px}
  .nav-shell{
    grid-template-columns:52px minmax(0,1fr) 50px;
    gap:6px;
  }
  .brand,
  .brand-mobile-emblem{
    width:52px;
    height:52px;
  }
  .brand-mobile-wordmark{
    padding:0 6px;
  }
  .brand-mobile-wordmark img{
    width:auto;
    max-width:min(100%, 248px);
    max-height:40px;
    height:auto;
  }
}
