:root{--navy:#06164d;--deep:#030f33;--yellow:#ffcc00;--ink:#101d3c;--muted:#5d6878;--line:#dfe4ee;--paper:#f6f8fb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffcc00;outline-offset:3px}.wrap{width:min(1180px,calc(100% - 64px));margin:auto}.header{background:linear-gradient(110deg,#03102e,#071b55 72%,#0c2053);color:white;position:sticky;top:0;z-index:20;box-shadow:0 3px 15px #020a2440}.nav{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;min-width:155px}.brand img{width:75px;height:64px;object-fit:cover;object-position:center;border-radius:8px}.brand span{font-size:9px;letter-spacing:.8px;max-width:85px;font-weight:800;line-height:1.4}.nav nav{display:flex;gap:23px;align-items:center;font-size:13px;font-weight:600}.nav nav a:hover{color:var(--yellow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:13px;padding:16px 23px;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px #07133120}.btn-yellow{background:linear-gradient(135deg,#ffcc00,#ffcc00);color:#06133a}.btn:hover{transform:translateY(-2px);transition:.2s}.nav-cta{font-size:12px;padding:13px 17px;white-space:nowrap}.menu-toggle{display:none}.hero{overflow:hidden;background:linear-gradient(110deg,#081735 0%,#1B3765 24%,#42679A 52%,#254676 76%,#081735 100%);position:relative}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 28%,#fff8 50%,transparent 62%);pointer-events:none}.hero-layout{display:grid;grid-template-columns:47% 53%;min-height:525px;position:relative}.hero-copy{padding:68px 20px 40px 0;z-index:2}.eyebrow,.overline{font-size:11px;letter-spacing:2px;font-weight:900;color:#ffcc00}.hero h1{font-size:clamp(42px,5vw,70px);letter-spacing:-3px;line-height:1.01;margin:18px 0 15px;color:var(--navy)}h1 em,h2 em{font-style:normal;color:#ffcc00}.stroke{width:80px;height:6px;background:var(--yellow);border-radius:10px;margin:18px 0}.hero-copy>p{max-width:450px;font-size:17px;line-height:1.55;margin-bottom:25px}.hero-features{display:flex;gap:0;margin-top:34px;max-width:480px}.hero-features span{font-size:12px;display:flex;gap:6px;align-items:center;padding:0 10px;border-right:1px solid #bac5d7}.hero-features span:first-child{padding-left:0}.hero-features span:last-child{border:0}.hero-features b{font-weight:600}.hero-visual{position:relative;min-height:525px;background:linear-gradient(130deg,#ffcc00 0%,#ffcc00 45%,#092059 100%);border-radius:0 0 0 100px;overflow:hidden}.hero-door{position:absolute;inset:0;background:linear-gradient(90deg,#ffffff20,#0005),url('assets/images/ilustracao-porta.jpg') center/cover;filter:blur(1px);transform:scale(1.04)}.hero-owner{position:absolute;right:3%;bottom:0;height:92%;width:52%;border-radius:130px 130px 0 0;overflow:hidden;box-shadow:-22px 5px 60px #0713314f}.hero-owner img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.hero-caption{position:absolute;bottom:23px;left:22px;padding:14px 19px;background:#071845e8;color:#fff;border-left:5px solid var(--yellow);border-radius:6px;font-size:13px;line-height:1.5}.section{padding:76px 0}.center{text-align:center}.center p{color:var(--muted);margin:10px auto 35px}h2{font-size:clamp(30px,3.5vw,43px);line-height:1.09;letter-spacing:-1.5px;margin:10px 0 16px;color:var(--navy)}.services{background:radial-gradient(ellipse at 60% 0%,white 0%,#f2f5fa 100%)}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.service-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 9px 25px #07133113;border:1px solid #e5e9f0;transition:.2s}.service-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #07133125}.service-card img{width:100%;height:152px;object-fit:cover;display:block}.service-body{padding:16px;position:relative}.service-icon{display:grid;place-items:center;background:var(--yellow);width:40px;height:40px;border-radius:12px;font-size:21px;position:absolute;top:-24px;left:16px;box-shadow:0 4px 10px #0002}.service-card h3{margin:13px 0 10px;font-size:17px;line-height:1.15}.service-card p{font-size:13px;line-height:1.5;color:#4c586c;min-height:80px}.service-card a{font-weight:800;font-size:13px;color:#ffcc00}.note{font-size:11px;color:#67748a;margin:18px 0 0}.projects{background:radial-gradient(ellipse at 65% 10%,#193d76 0%,#071c51 46%,#030e2c 100%);color:#fff}.projects-layout{display:grid;grid-template-columns:240px 1fr;gap:26px;align-items:center}.projects h2,.about h2,.contact h2{color:#fff}.projects h2 em,.about h2 em,.contact h2 em{color:var(--yellow)}.projects p{font-size:14px;line-height:1.6;color:#dbe3f1}.yellow{color:var(--yellow)}.outline-btn{display:inline-block;border:1.5px solid var(--yellow);color:var(--yellow);border-radius:30px;padding:11px 18px;font-weight:800;font-size:13px;margin-top:12px}.project-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.project-photos img{width:100%;height:240px;object-fit:cover;border-radius:13px}.benefits{background:linear-gradient(120deg,#fff,#f0f4f9);padding:65px 0}.benefit-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:center}.benefit-items{display:grid;grid-template-columns:repeat(4,1fr)}.benefit-items>div{text-align:center;padding:8px 12px;border-left:1px solid #d1d9e5}.benefit-items span{display:block;color:#ffcc00;font-size:32px;margin-bottom:8px}.benefit-items b{display:block;font-size:14px}.benefit-items small{display:block;color:#69768a;line-height:1.4;margin-top:9px}.process{background:#fff}.section-side{display:grid;grid-template-columns:220px 1fr;gap:30px;align-items:center}.section-side p{color:#657187}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.steps>div{padding:22px 15px;background:linear-gradient(150deg,#f0f3f8,#fff);border:1px solid #e4e9f1;border-radius:16px;min-height:165px}.steps i{display:inline-grid;place-items:center;background:var(--yellow);font-style:normal;border-radius:50%;width:36px;height:36px;font-size:13px;font-weight:900}.steps b{display:block;margin:15px 0 6px}.steps p{font-size:12px;line-height:1.5;margin:0}.about{background:linear-gradient(110deg,#041137,#0b285d);color:#fff;padding:65px 0}.about-layout{display:grid;grid-template-columns:340px 1fr;gap:60px;align-items:center}.about-photo{border-radius:20px;overflow:hidden;box-shadow:20px 20px 0 #ffcc00}.about-photo img{width:100%;display:block}.about p{color:#d8e1f0;line-height:1.7;max-width:620px}.about blockquote{font-size:24px;line-height:1.35;font-weight:800;margin:25px 0;padding-left:20px;border-left:4px solid var(--yellow)}.faq{background:#f5f7fb}.faq-layout{display:grid;grid-template-columns:320px 1fr;gap:60px}.faq-layout p{color:#647083;line-height:1.6}.faq-list details{background:white;border:1px solid #e1e6ee;margin-bottom:10px;border-radius:12px;padding:17px 20px}.faq-list summary{cursor:pointer;font-weight:700}.faq-list p{font-size:14px}.contact{background:radial-gradient(ellipse at 100% 0%,#1a447a,#071947 55%,#030f30);color:#fff}.contact-layout{display:grid;grid-template-columns:1fr 430px;gap:75px;align-items:center}.contact-layout>div>p{line-height:1.7;color:#dbe2f0;max-width:510px}.contact-info{margin-top:25px;font-weight:700}.contact-info span{color:var(--yellow);padding:0 10px}.quote-form{background:#fff;border-radius:18px;padding:28px;color:var(--ink);box-shadow:0 20px 40px #0002}.quote-form label{display:block;font-size:13px;font-weight:800;margin-bottom:15px}.quote-form input,.quote-form select,.quote-form textarea{display:block;width:100%;padding:13px;border-radius:8px;border:1px solid #cfd7e3;margin-top:7px;background:#f9fafc;color:#1b2946}.quote-form button{width:100%}.quote-form small{display:block;color:#667;line-height:1.5;margin-top:13px}footer{background:#020b25;color:#e6eaf2;padding:25px 0}.footer-layout{display:grid;grid-template-columns:180px repeat(4,1fr);gap:25px;align-items:center;font-size:12px;line-height:1.7}.footer-layout>div:not(:first-child){border-left:1px solid #54617d;padding-left:18px}.footer-brand img{width:100px;border-radius:8px;display:block}.footer-brand span{font-size:10px}.credit small{display:block;color:#96a0b5}@media(max-width:1000px){.nav nav{gap:12px}.nav-cta{display:none}.service-grid{grid-template-columns:repeat(3,1fr)}.benefit-layout,.section-side{grid-template-columns:1fr}.footer-layout{grid-template-columns:repeat(3,1fr)}.contact-layout{gap:25px}}@media(max-width:700px){.wrap{width:min(100% - 32px,520px)}.nav{height:70px}.brand img{width:58px;height:52px}.menu-toggle{display:block;margin-left:auto;background:transparent;border:1px solid #fff7;color:white;border-radius:8px;padding:7px 11px;font-size:20px}.nav nav{display:none;position:absolute;top:70px;left:0;right:0;background:#05143c;padding:18px 25px;flex-direction:column;align-items:stretch}.nav nav.open{display:flex}.hero-layout{display:flex;flex-direction:column}.hero-copy{padding:40px 0 25px}.hero h1{font-size:48px}.hero-copy>p{font-size:15px}.hero-features{margin-top:24px;flex-wrap:wrap;gap:10px}.hero-features span{font-size:11px}.hero-visual{min-height:340px;border-radius:18px 18px 0 0}.hero-owner{height:95%;width:48%}.hero-caption{font-size:11px;left:10px;bottom:10px}.section{padding:55px 0}.service-grid{grid-template-columns:repeat(2,1fr)}.service-card img{height:130px}.service-body{padding:13px}.service-card h3{font-size:15px}.service-card p{font-size:12px;min-height:0}.projects-layout,.faq-layout,.about-layout,.contact-layout{grid-template-columns:1fr;gap:25px}.project-photos{grid-template-columns:repeat(2,1fr)}.project-photos img{height:180px}.benefit-items{grid-template-columns:repeat(2,1fr);row-gap:20px}.steps{grid-template-columns:repeat(2,1fr)}.about-photo{max-width:300px}.contact-layout{gap:30px}.footer-layout{grid-template-columns:repeat(2,1fr)}.footer-layout>div:not(:first-child){border-left:0;padding-left:0}}@media(max-width:390px){.hero h1{font-size:41px}.service-grid{grid-template-columns:1fr}.service-card img{height:180px}.steps{grid-template-columns:1fr}.footer-layout{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.service-card{transition:none}}

/* V2 visual reconciliation: official brand, warm yellow, premium icon system */
:root{--yellow:#ffcc00}
h1 em,h2 em{color:#ffcc00}.services h2 em,.benefits h2 em,.process h2 em,.faq h2 em{color:#ffcc00}
.overline,.eyebrow{color:#ffcc00}.btn-yellow{background:linear-gradient(120deg,#ffcc00,#ffcc00 62%,#ffcc00)}
.brand{min-width:210px}.brand img{width:190px;height:67px;object-fit:contain;object-position:left center;border-radius:0;mix-blend-mode:screen}
.hero-visual{background:#e8d9bf;border-radius:0 0 0 36px}.hero-door{background:linear-gradient(90deg,#ffffff0a,#0a16341c),url('assets/images/ilustracao-porta.jpg') center/cover;filter:none;transform:none}
.hero-owner{right:0;bottom:0;width:49%;height:98%;border-radius:42% 0 0 0;box-shadow:-12px 0 45px #0a17343b;border-left:8px solid #ffcc00}
.hero-owner img{object-fit:cover;object-position:center center}
.hero-caption{left:20px;bottom:23px;width:43%;font-size:16px;line-height:1.48;padding:20px 18px;background:#06164de8;border-left:4px solid #ffcc00;box-shadow:0 10px 30px #0004}
.hero-caption strong{color:#ffcc00}.hero-features i,.hero-features svg{display:block;width:29px;height:29px;flex-shrink:0;color:#071a4c}
.service-icon{width:43px;height:43px;border-radius:12px;color:#07164b}.service-icon svg{width:27px;height:27px}
.service-card a{color:#06164d;text-decoration:underline;text-decoration-color:#ffcc00;text-underline-offset:4px}
.benefit-items span{display:grid;place-items:center;color:#ffcc00;height:43px;margin-bottom:8px}.benefit-items svg{width:38px;height:38px}
.steps>div{text-align:center;position:relative;box-shadow:0 8px 25px #06164d0a}.steps i{position:absolute;left:12px;top:12px;width:30px;height:30px}.step-icon{display:block;height:34px;margin:4px auto 8px;color:#07164b}.step-icon svg{width:33px;height:33px}.steps b{margin:4px 0 6px}
.footer-layout{grid-template-columns:190px repeat(4,1fr);gap:12px}.footer-brand img{width:170px;height:76px;object-fit:contain;object-position:left;mix-blend-mode:screen;border-radius:0}.footer-entry{display:flex;align-items:center;gap:12px}.footer-entry>span{width:27px;height:27px;flex-shrink:0}.footer-entry svg{width:27px;height:27px}.footer-entry strong{color:white}.footer-entry small{font-size:9px;color:#b7c0d1}
@media(max-width:1000px){.brand{min-width:140px}.brand img{width:145px}.footer-layout{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.brand img{width:145px;height:55px}.hero-owner{width:52%;height:96%}.hero-caption{width:47%;font-size:12px;left:9px;padding:12px}.footer-layout{grid-template-columns:repeat(2,1fr)}}
@media(max-width:390px){.hero-caption{font-size:11px}.footer-layout{grid-template-columns:1fr}}

/* V3: ajuste exclusivo da Hero, preservando a V2 nas demais seções. */
.hero-visual{background:#dce2e7;border-radius:0 0 0 36px;isolation:isolate}
.hero-door{inset:0;background-image:url('assets/images/porta-pormade-eleganza.webp');background-size:cover;background-position:43% 43%;filter:none;transform:none}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,15,43,.08),transparent 45%);pointer-events:none;z-index:0}
.hero-owner{display:none}
.hero-caption{z-index:1;left:22px;bottom:25px;width:min(80%,390px);font-size:17px;line-height:1.45;padding:18px 20px;background:rgba(4,17,52,.88);backdrop-filter:blur(5px);border-left:5px solid var(--yellow);border-radius:5px 13px 13px 5px}
@media(max-width:700px){.hero-visual{min-height:340px;border-radius:18px 18px 0 0}.hero-door{background-position:40% 46%}.hero-caption{width:min(84%,340px);left:12px;bottom:12px;font-size:13px;padding:13px 15px}}

/* V4 — acabamento premium modular, somente Hero */
.hero-layout{grid-template-columns:47% 53%;min-height:520px;align-items:center;column-gap:0}
.hero-copy{padding-top:58px;padding-bottom:50px}
.hero-visual{height:480px;min-height:0;margin:22px 0 22px 12px;border-radius:24px;overflow:hidden;background:#dce2e7;box-shadow:0 22px 48px rgba(7,24,62,.15),0 2px 10px rgba(7,24,62,.06)}
.hero-visual:before{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;border:1px solid rgba(255,255,255,.5);pointer-events:none}
.hero-door{inset:0;background-image:url('assets/images/porta-pormade-eleganza.webp');background-size:cover;background-position:46% 49%;filter:none;transform:none}
.hero-visual:after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(246,248,251,.34) 0%,rgba(246,248,251,.06) 22%,transparent 46%),linear-gradient(0deg,rgba(5,17,42,.20),transparent 36%);pointer-events:none}
.hero-caption{z-index:2;left:22px;bottom:22px;width:min(78%,395px);font-size:16px;line-height:1.48;padding:16px 20px;background:rgba(4,17,52,.85);border-left:4px solid var(--yellow);border-radius:5px 13px 13px 5px;box-shadow:0 12px 28px rgba(0,0,0,.18);backdrop-filter:blur(7px)}
.hero-features{max-width:510px;margin-top:32px;justify-content:space-between}
.hero-features span{gap:9px;padding:0 14px;flex:1;min-width:0;font-size:12px}
.hero-features span:first-child{padding-left:0}
.hero-features span:last-child{padding-right:0}
.hero-features b{font-weight:700;line-height:1.2}
.hero-features i,.hero-features svg{width:32px;height:32px;flex:0 0 32px}
@media(max-width:1000px){.hero-visual{height:450px;margin-left:8px}.hero-features span{font-size:11px;padding:0 8px;gap:6px}.hero-features i,.hero-features svg{width:28px;height:28px;flex-basis:28px}}
@media(max-width:700px){.hero-layout{display:flex;flex-direction:column;align-items:stretch;min-height:0}.hero-copy{padding:40px 0 22px}.hero-visual{height:360px;min-height:0;margin:8px 0 28px;border-radius:20px}.hero-door{background-position:44% 48%}.hero-features{gap:0;margin-top:25px}.hero-features span{padding:0 8px;font-size:10px}.hero-features svg{width:25px;height:25px;flex-basis:25px}.hero-caption{left:13px;bottom:13px;width:min(87%,340px);font-size:12px;padding:12px 14px}}
@media(max-width:390px){.hero-visual{height:310px}.hero-features span{font-size:9px;gap:4px;padding:0 5px}.hero-features svg{width:22px;height:22px;flex-basis:22px}}

/* V5: acabamento editorial da Hero, fotografia permanece substituível */
.hero{background:linear-gradient(110deg,#081735 0%,#1B3765 24%,#42679A 52%,#254676 76%,#081735 100%);border-radius:24px;box-shadow:0 24px 52px rgba(7,24,62,.12),0 5px 16px rgba(7,24,62,.07)}
.hero-visual:before{inset:0;border-radius:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);z-index:2}
.hero-door{border-radius:24px;overflow:hidden;background-position:46% 49%}
.hero-visual:after{border-radius:24px;background:linear-gradient(90deg,rgba(248,249,252,.78) 0%,rgba(248,249,252,.36) 9%,rgba(248,249,252,.07) 24%,transparent 44%),linear-gradient(0deg,rgba(4,15,38,.30) 0%,transparent 35%);z-index:1}
.hero-visual{isolation:isolate}
.hero-visual .hero-caption{z-index:3;background:rgba(4,18,51,.84);border-radius:8px 14px 14px 8px;box-shadow:0 12px 32px rgba(2,12,34,.19)}
.hero-visual .hero-caption:after{content:"";position:absolute;bottom:-10px;left:17px;width:48px;height:3px;border-radius:3px;background:#ffcc00}
.hero-features span:last-child svg{width:35px;height:35px;flex-basis:35px;stroke-width:1.8}
@media(max-width:700px){.hero-visual{border-radius:20px}.hero-door,.hero-visual:after{border-radius:20px}.hero-visual:after{background:linear-gradient(90deg,rgba(248,249,252,.42),transparent 30%),linear-gradient(0deg,rgba(4,15,38,.32),transparent 45%)}.hero-visual .hero-caption:after{bottom:-7px}}

/* V6: additions only, preserving approved card layout and hover */
@property --border-animation-angle {syntax:"<angle>";initial-value:0turn;inherits:false}
@keyframes borderRotate {to{--border-animation-angle:1turn}}
.service-card{position:relative;isolation:isolate;overflow:hidden}
.ct-border-animation::after{pointer-events:none;content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:conic-gradient(from var(--border-animation-angle),transparent 0% 88%,#ffcc00a8 96%,transparent 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:borderRotate 7s linear infinite}
.service-actions{display:flex;flex-wrap:wrap;gap:9px 15px;align-items:center;margin-top:12px}
.service-actions a{font-size:12px}
.service-actions a:last-child{color:#55627b;text-decoration-color:#cad0da}
.service-dialog{border:1px solid #dce2ed;border-radius:20px;padding:35px;width:min(480px,calc(100% - 32px));box-shadow:0 30px 100px #06164d55;color:#101d3c}
.service-dialog::backdrop{background:#061438a8}
.service-dialog h2{font-size:30px}
.service-dialog p{line-height:1.65;color:#55627b;margin-bottom:26px}
.dialog-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer;color:#06164d}
.door-page{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;min-height:440px}
.door-page h1{font-size:clamp(36px,5vw,60px);color:#06164d;margin:12px 0}
.door-page p{line-height:1.7;color:#47546b}
.door-page img{width:100%;max-height:420px;object-fit:cover;border-radius:18px}
@media(max-width:700px){.door-page{grid-template-columns:1fr;gap:25px}.service-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.ct-border-animation::after{animation:none}}

/* V8: restore visible service cards, tighter approved section spacing, animated outline */
.services.section{padding-top:42px;padding-bottom:65px}
.services .center h2{margin-top:0}
.services .center p{margin-bottom:25px}
.service-grid{position:relative;min-height:365px}
.service-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column}
.service-card .service-body{display:flex;flex-direction:column;flex:1}
.service-card .service-body p{flex:1}
.service-card::after{z-index:3;pointer-events:none;content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:conic-gradient(from var(--border-animation-angle),transparent 0% 79%,#ffcc00 90%,#ffcc00 94%,transparent 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:borderRotate 5s linear infinite}
@supports not (background:conic-gradient(red,blue)){.service-card::after{display:none}}
@media(max-width:700px){.services.section{padding-top:32px}.service-grid{min-height:0}}
@media(prefers-reduced-motion:reduce){.service-card::after{animation:none}}

/* V9: animação por transform (independente de @property) */
.service-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid #e5e9f0;z-index:0}
.service-card::after,.ct-border-animation::after{display:none!important}
.service-card::before{content:"";position:absolute;z-index:5;inset:0;border-radius:inherit;pointer-events:none;padding:2px;background:conic-gradient(from 0deg,transparent 0deg,transparent 295deg,#ffcc00 320deg,#ffcc00 340deg,transparent 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:genial-border-spin 4s linear infinite;transform-origin:center}
@keyframes genial-border-spin{to{transform:rotate(360deg)}}
/* alternativa robusta: contorno animado como brilho na borda via pseudo-elemento rotativo */
.service-card::before{inset:-110%;border-radius:50%;padding:0;mask:none;-webkit-mask:none;background:conic-gradient(transparent 0deg,transparent 320deg,#ffcc00 342deg,transparent 360deg);z-index:0}
.service-card>*{position:relative;z-index:1}
.service-card{background:#e5e9f0}
.service-card .service-body{background:#fff}
.service-card img{border-radius:15px 15px 0 0}
.service-card:hover::before{animation-duration:2.5s}
@media(prefers-reduced-motion:reduce){.service-card::before{animation:none}}

/* V9 final: borda desenhada com SVG e stroke-dashoffset, independente de máscara */
.service-card{background:#fff}
.service-card::before{display:none!important}
.service-border-track{position:absolute!important;inset:0;width:100%;height:100%;z-index:9!important;pointer-events:none;overflow:visible}
.service-border-track rect{fill:none;stroke:#ffcc00;stroke-width:1.3;vector-effect:non-scaling-stroke;stroke-dasharray:13 87;stroke-dashoffset:0;animation:genial-stroke-run 5s linear infinite}
@keyframes genial-stroke-run{to{stroke-dashoffset:-100}}
@media(prefers-reduced-motion:reduce){.service-border-track rect{animation:none}}

/* V10 — contorno contínuo visível e animado sem máscaras ou SVG; mantém dimensões e hover */
@property --genial-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes genial-outline { to { --genial-angle: 360deg; } }
.service-card {
  --genial-angle: 0deg;
  border: 1.5px solid transparent !important;
  background: linear-gradient(#fff,#fff) padding-box,
    conic-gradient(from var(--genial-angle), #e5e9f0 0% 74%, #ffcc00 84%, #ffcc00 94%, #e5e9f0 100%) border-box !important;
  animation: genial-outline 5s linear infinite;
}
.service-card::before,.service-card::after,.service-border-track {display:none!important}
.service-card .service-body {background:transparent}
@media(prefers-reduced-motion:reduce){.service-card{animation:none}}

/* V11: uma única implementação de borda animada, SVG stroke-dashoffset.
   Não depende de @property, conic-gradient ou CSS mask. */
.service-card { position:relative; overflow:hidden; border:1px solid #e5e9f0 !important;
  background:#fff !important; animation:none !important; }
.service-card::before,.service-card::after,.ct-border-animation::after {
  display:none !important;
}
.service-border-v11 {position:absolute; inset:0; width:100%;height:100%;z-index:8;
  pointer-events:none; overflow:visible; }
.service-border-v11 rect {fill:none;stroke:#ffcc00;stroke-width:2.2;
  vector-effect:non-scaling-stroke;stroke-dasharray:13 87;
  animation: genial-v11-travel 3.8s linear infinite;}
@keyframes genial-v11-travel {to {stroke-dashoffset:-100;}}
@media (prefers-reduced-motion:reduce) {
  .service-border-v11 rect {animation:none;stroke-dasharray:100 0;stroke:#ffcc00;}
}

/* V12 - single definitive moving border; SVG viewport fixed and normalized. */
.service-card {border:1px solid #e5e9f0 !important; background:#fff !important;animation:none !important;position:relative;isolation:isolate;overflow:hidden}
.service-card::before,.service-card::after,.ct-border-animation::after,.service-border-track,.service-border-v11 {display:none!important;content:none!important}
.service-border-v12 {position:absolute!important;inset:0;width:100%;height:100%;z-index:15!important;pointer-events:none;display:block!important;overflow:visible}
.service-border-v12 rect {fill:none;stroke:#ffcc00;stroke-width:1.1;stroke-dasharray:12 88;stroke-dashoffset:0;vector-effect:non-scaling-stroke;animation:genial-v12-border 3.5s linear infinite!important}
@keyframes genial-v12-border {from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
@media(prefers-reduced-motion:reduce){.service-border-v12 rect{animation:none!important;stroke-dasharray:100 0}}

/* V13: border animation uses transform, not custom property or SVG geometry.
   Pseudo-element is a rotating oversized conic-gradient behind the card's content. */
@keyframes genial-v13-spin {to{transform:rotate(360deg)}}
.service-card {position:relative!important;isolation:isolate!important;overflow:hidden!important;
  border:0!important;padding:2px!important;background:#e5e9f0!important;
  animation:none!important;}
.service-card::after,.ct-border-animation::after,.service-card::before {
  content:""!important;display:block!important;position:absolute!important;
  inset:-130%!important;border:0!important;border-radius:0!important;padding:0!important;
  z-index:0!important;pointer-events:none!important;
  background:conic-gradient(transparent 0deg,transparent 302deg,#ffcc00 332deg,#ffcc00 346deg,transparent 360deg)!important;
  mask:none!important;-webkit-mask:none!important;
  animation:genial-v13-spin 3s linear infinite!important;
  transform-origin:center!important;}
.service-card::before,.ct-border-animation::after{display:none!important;content:none!important}
.service-card>img,.service-card>.service-body {position:relative;z-index:1}
.service-card>img{border-radius:14px 14px 0 0}
.service-card>.service-body{background:#fff!important;border-radius:0 0 14px 14px;flex:1}
.service-border-track,.service-border-v11,.service-border-v12{display:none!important}

/* V14 - Apenas o primeiro card do portfolio: demonstracao de link para Reel */
.project-feature-link{position:relative;display:block;overflow:hidden;border-radius:13px;height:240px;background:#162e57;isolation:isolate}
.project-feature-link img{height:100%;width:100%;object-fit:cover;display:block;transition:transform .35s ease}
.project-feature-link:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(1,11,34,.93));pointer-events:none}
.project-link-caption{position:absolute;z-index:1;bottom:12px;left:12px;right:10px;display:flex;flex-direction:column;gap:6px;color:white;font-size:12px;line-height:1.25}
.project-link-caption strong{font-size:14px}
.project-link-caption span{color:#ffcc00;font-weight:700}
.project-feature-link:hover img{transform:scale(1.055)}
.project-feature-link:focus-visible{outline:3px solid #ffcc00;outline-offset:3px}
@media(max-width:700px){.project-feature-link{height:180px}.project-link-caption strong{font-size:12px}.project-link-caption span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.project-feature-link img{transition:none}}

/* V15: projetos - preservar o layout original e exibir legendas consistentes */
.project-photos .project-feature-link{min-width:0;}
.project-photos .project-feature-link img{border-radius:0;object-position:center;}
.project-link-caption{filter:drop-shadow(0 1px 2px #0008);}
@media(max-width:700px){.project-link-caption{left:9px;right:7px;bottom:9px;gap:4px}.project-link-caption strong{font-size:12px}.project-link-caption span{font-size:10px}}

/* V16 — refinamento restrito a Diferenciais e Como funciona */
.benefits{padding:48px 0 52px}
.benefit-items{gap:4px}
.benefit-items>div{position:relative;border-left:1px solid #d1d9e5;border-radius:12px;padding:17px 10px 15px;transition:transform .38s cubic-bezier(.2,.75,.2,1),background-color .38s ease,box-shadow .38s ease}
.benefit-items>div:hover{transform:translateY(-4px);background:#ffffffd9;box-shadow:0 12px 26px #06164d12}
.benefit-items span{transition:transform .35s ease}
.benefit-items>div:hover span{transform:scale(1.09)}
.benefit-items>div::after{content:"";position:absolute;bottom:8px;left:50%;width:0;height:2px;border-radius:2px;background:var(--yellow);transform:translateX(-50%);transition:width .35s ease}
.benefit-items>div:hover::after{width:30px}
.process .steps{position:relative;isolation:isolate}
.process .steps::before{content:"";position:absolute;top:50%;left:5%;right:5%;height:2px;background:linear-gradient(90deg,#e8edf5,#ffcc00 45%,#e8edf5);z-index:-1}
.process .steps>div{background:linear-gradient(150deg,#f2f5fa,#fff);border-color:#e1e7f0;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;position:relative;z-index:1}
.process .steps>div:hover{transform:translateY(-4px);border-color:#ffcc00;box-shadow:0 14px 30px #06164d16}
.process .steps>div::after{content:"";position:absolute;top:50%;right:-9px;width:6px;height:6px;border-radius:50%;background:var(--yellow);z-index:2}
.process .steps>div:last-child::after{display:none}
.process .steps .step-icon{transition:transform .35s ease}
.process .steps>div:hover .step-icon{transform:scale(1.08)}
@media(max-width:700px){.benefits{padding:48px 0}.process .steps::before,.process .steps>div::after{display:none}.benefit-items>div{padding:14px 8px}}
@media(prefers-reduced-motion:reduce){.benefit-items>div,.benefit-items span,.benefit-items>div::after,.process .steps>div,.process .steps .step-icon{transition:none!important}.benefit-items>div:hover,.benefit-items>div:hover span,.process .steps>div:hover,.process .steps>div:hover .step-icon{transform:none}}

/* V18: estilos exclusivos da nova página Sobre; demais seções preservadas */
.story-hero{background:linear-gradient(120deg,#06143c,#0b275c);color:#fff;padding:70px 0}.story-hero-grid{display:grid;grid-template-columns:1fr 43%;gap:65px;align-items:center}.story-hero h1{font-size:clamp(42px,5.1vw,72px);line-height:1.04;letter-spacing:-2.5px;margin:18px 0 25px}.story-hero h1 span{color:var(--yellow)}.story-lead{font-size:clamp(19px,2vw,25px);line-height:1.5;max-width:560px;color:#e6ecf6}.story-signature{border-left:4px solid var(--yellow);padding:12px 0 12px 18px;color:#d7e2f5;font-size:15px;line-height:1.5;margin-top:35px}.story-signature strong{color:#fff}.story-hero-image{border-radius:22px;overflow:hidden;box-shadow:0 22px 55px #0005;height:430px}.story-hero-image img,.story-detail-image img,.story-enio img{width:100%;height:100%;object-fit:cover;display:block}.story-section{padding:85px 0}.story-reading{max-width:830px}.story-section p{font-size:17px;line-height:1.85;color:#37445b;margin:0 0 21px}.story-section h2{font-size:clamp(33px,4vw,51px);margin:14px 0 30px}.story-soft{background:#f3f6fb}.story-two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:75px;align-items:center}.story-detail-image{height:490px;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px #0b204020}.story-emphasis{font-weight:800;color:var(--navy)!important;border-left:4px solid var(--yellow);padding-left:19px;margin-top:25px!important}.story-personal{background:#071b49}.story-personal-grid{grid-template-columns:38% 1fr}.story-personal h2,.story-personal p{color:#fff}.story-personal p{color:#dce6f7}.story-personal blockquote{border-left:4px solid var(--yellow);margin:25px 0;padding:12px 0 12px 22px;color:#fff;font-size:19px;line-height:1.65;font-weight:700}.story-enio{border-radius:22px;overflow:hidden;box-shadow:18px 18px 0 var(--yellow);align-self:start}.story-enio img{height:auto}.story-cta{background:#f4f7fb;text-align:center;padding:82px 0}.story-cta h2{font-size:clamp(33px,4vw,50px);margin:15px 0}.story-cta p{color:#526179;font-size:17px;margin-bottom:25px}.story-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px}.story-footer a{color:var(--yellow)}
@media(max-width:800px){.story-hero-grid,.story-two-col,.story-personal-grid{grid-template-columns:1fr;gap:32px}.story-hero{padding:45px 0}.story-hero-image{height:310px}.story-section{padding:55px 0}.story-detail-image{height:320px}.story-enio{max-width:370px}.story-cta{padding:55px 0}}

/* V19 — Sobre: duas seções, sem imagens repetidas */
.about-intro{background:linear-gradient(120deg,#071943,#0d2452);color:#fff;padding:64px 0 70px}
.about-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:55px;align-items:start}
.about-intro h1{font-size:clamp(32px,3.5vw,49px);line-height:1.12;letter-spacing:-1.2px;margin:14px 0 22px}
.about-intro h1 span,.about-founder h2 em{color:#ffcc00;font-style:normal}
.about-copy p{font-size:15px;line-height:1.72;color:#e4ebf7;margin:0 0 14px}
.about-copy .about-opening{font-size:19px;color:#fff;margin-bottom:22px}
.about-copy .about-signature{border-left:4px solid #ffcc00;padding:9px 0 9px 16px;margin-top:22px;color:#fff}
.about-photo{width:100%;border-radius:18px;overflow:hidden;box-shadow:12px 12px 0 #ffcc00;align-self:start}
.about-photo img{display:block;width:100%;height:auto;object-fit:contain}
.about-founder{padding:65px 0 72px;background:#f4f7fb}
.about-founder-copy{max-width:870px}
.about-founder h2{font-size:clamp(32px,4vw,49px);margin:12px 0 25px;color:#091b49}
.about-founder p{font-size:16px;line-height:1.78;color:#283b59;margin:0 0 16px}
.about-founder blockquote{border-left:4px solid #ffcc00;padding:12px 0 12px 20px;margin:22px 0;font-size:18px;line-height:1.6;font-weight:700;color:#0b1d49}
.about-button{display:inline-flex;margin-top:16px;max-width:100%;white-space:normal;text-align:center}
@media(max-width:800px){.about-intro-grid{grid-template-columns:1fr;gap:32px}.about-photo{max-width:270px}.about-intro{padding:42px 0 50px}.about-founder{padding:48px 0 55px}}

/* V20: slogan aprovado na seção Sobre da landing page */
.about .about-slogan{font-size:clamp(18px,2vw,23px);line-height:1.4;font-weight:800;color:#fff;border-left:4px solid var(--yellow);padding:4px 0 4px 18px;margin:22px 0 24px;max-width:620px}

/* V23: pagina Sobre - refinamento editorial, sem alterar conteudo */
.about-intro{background:linear-gradient(115deg,#06163f 0%,#102b5c 100%);padding:70px 0 82px}
.about-intro-grid{grid-template-columns:minmax(0,1fr) minmax(320px,39%);gap:64px;align-items:center}
.about-intro .about-photo{max-width:430px;justify-self:end;box-shadow:14px 14px 0 var(--yellow);border-radius:20px}
.about-intro h1{font-size:clamp(36px,3.8vw,54px);margin-bottom:26px}
.about-intro .about-copy p{font-size:16px;line-height:1.8;margin-bottom:19px;max-width:660px}
.about-intro .about-copy .about-opening{font-size:20px;line-height:1.55;margin-bottom:26px}
.about-expertise{background:linear-gradient(135deg,#fff 0%,#f3f6fb 100%);padding:78px 0}
.about-expertise-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:78px;align-items:start}
.about-expertise .overline{color:#b78a00}
.about-expertise h2{font-size:clamp(32px,3.5vw,47px);line-height:1.13;margin-top:14px}
.about-expertise h2 em{font-style:normal;color:#d5a500}
.about-expertise-text{max-width:730px;border-left:1px solid #dbe2ec;padding-left:34px}
.about-expertise-text p{font-size:16px;line-height:1.85;color:#263957;margin:0 0 22px}
.about-brand-band{background:#071944;color:#fff;padding:43px 0 48px}
.about-brand-inner{border-left:4px solid var(--yellow);padding-left:26px}
.about-brand-inner p{font-size:clamp(21px,2.4vw,31px);font-weight:800;line-height:1.38;max-width:930px;margin:12px 0 0}
.about-founder{background:#fff;padding:76px 0 84px}
@media(max-width:800px){.about-intro-grid,.about-expertise-grid{grid-template-columns:1fr;gap:30px}.about-intro{padding:45px 0 55px}.about-intro .about-photo{justify-self:start;max-width:350px}.about-expertise{padding:55px 0}.about-expertise-text{padding-left:20px}.about-brand-band{padding:36px 0}.about-founder{padding:55px 0}}

/* V24: refinamentos exclusivos da página Sobre */
.about-intro{background:linear-gradient(90deg,#05102e 0%,#0e2e65 28%,#1c467b 50%,#0e2e65 72%,#05102e 100%);}
.about-expertise .overline{color:#ffcc00;}
.about-expertise h2 em{color:#ffcc00;}
.about-brand-band{background:linear-gradient(105deg,#040d28 0%,#123469 42%,#1b4277 55%,#061537 100%);position:relative;overflow:hidden;}
.about-brand-band::after{content:"";position:absolute;right:-70px;top:-100px;width:370px;height:370px;border:1px solid rgba(255,204,0,.17);border-radius:50%;pointer-events:none;}
.about-brand-inner{position:relative;z-index:1;}
.about-brand-inner p{max-width:850px;}
@media(max-width:800px){.about-intro{background:linear-gradient(115deg,#061638 0%,#184477 50%,#061638 100%);}.about-brand-band{background:linear-gradient(115deg,#061638,#183c70,#061638);}}

/* V25 — Contato simplificado e contraste visual após a seção Sobre */
.contact{position:relative;overflow:hidden;background:linear-gradient(120deg,#f0f4fa 0%,#ffffff 54%,#e8eef8 100%);color:var(--navy);border-top:1px solid #e2e8f2}
.contact::before{content:"";position:absolute;pointer-events:none;width:420px;height:420px;border:1px solid rgba(10,40,92,.11);border-radius:50%;left:-270px;bottom:-270px}
.contact .contact-copy{position:relative}.contact h2{color:var(--navy)}.contact h2 em{color:#e5ae00}.contact .overline{color:#a67e00}
.contact-layout>div>p{color:#485b79;max-width:480px;font-size:16px}
.contact-channel{display:flex;align-items:center;gap:16px;margin-top:30px;padding:19px 21px;background:#fff;border:1px solid #dce4f0;border-radius:16px;box-shadow:0 10px 28px rgba(7,25,71,.06);max-width:390px}
.contact-channel-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;background:#eef4ff;border-radius:13px;color:#06164d}.contact-channel-icon svg{width:26px;height:26px}
.contact-channel>div{display:flex;flex-direction:column;gap:5px}.contact-channel strong{font-size:15px}.contact-channel span:not(.contact-channel-icon){color:#64728a;font-size:13px}.contact-channel a{font-size:13px;color:#08255e;font-weight:800;text-decoration:underline;text-decoration-color:#ffcc00;text-underline-offset:4px}
.contact .quote-form{border:1px solid #e0e7f2;box-shadow:0 24px 55px rgba(6,22,77,.12);padding:32px}
.quote-form-title{font-size:23px;font-weight:800;color:#06164d}.quote-form-intro{font-size:14px;color:#5b6c86;line-height:1.5;margin:9px 0 23px}
.contact .quote-form label{margin-bottom:7px}.contact .quote-form select{margin:0 0 22px;min-height:51px;background:#f8faff}.contact .quote-form button{min-height:51px}.contact .quote-form button svg{width:20px;height:20px}
@media(max-width:700px){.contact-layout{grid-template-columns:1fr;gap:26px}.contact .quote-form{padding:23px}.contact-channel{max-width:100%}}

/* V26: cor institucional aprovada na seção Contato */
.contact h2 em,.contact .overline{color:#ffcc00}

/* V27: rodapé com canais diretamente clicáveis */
.footer-layout>a.footer-entry{border-left:1px solid #54617d;padding-left:18px;color:inherit;text-decoration:none;min-width:0}.footer-action{cursor:pointer;transition:color .2s ease,transform .2s ease}.footer-action:hover{color:#ffcc00;transform:translateY(-2px)}.footer-action:hover strong{color:#ffcc00}.footer-action:focus-visible{outline:2px solid #ffcc00;outline-offset:5px;border-radius:4px}@media(max-width:700px){.footer-layout>a.footer-entry{border-left:0;padding-left:0}}

/* V28 — SOMENTE Projetos: acabamento arquitetônico discreto */
.projects{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 52% 38%,#234a7c 0%,#112d5b 47%,#061536 100%)}
.projects::before{content:"";position:absolute;right:-35px;top:50%;transform:translateY(-50%);width:min(38vw,460px);height:100%;max-height:460px;background:url("assets/images/linhas-arquitetonicas-projetos.svg") center/contain no-repeat;pointer-events:none;z-index:-1;opacity:.85}
.projects .projects-layout{position:relative;z-index:1}
@media(max-width:700px){.projects::before{width:65vw;right:-80px;opacity:.38}}

/* V34 — apenas paleta da Hero: contraste legível sobre degradê azul-marinho. */
.hero h1{color:#fff}
.hero-copy>p{color:#f4f7ff}
.hero-features{color:#fff}
.hero-features i,.hero-features svg{color:#fff}
.hero-features span{border-right-color:rgba(255,255,255,.3)}

/* V35 — Hero de ponta a ponta; destaque premium exclusivo da fotografia. */
.hero{border-radius:0}
.hero-visual{box-shadow:0 22px 48px rgba(7,24,62,.20),0 0 0 1px rgba(255,255,255,.28),0 0 30px rgba(255,204,0,.12)}
.hero-visual:before{border:1px solid rgba(255,255,255,.62);box-shadow:inset 0 0 0 1px rgba(255,204,0,.15);}
@media(max-width:700px){.hero{border-radius:0}.hero-visual{box-shadow:0 16px 36px rgba(7,24,62,.22),0 0 0 1px rgba(255,255,255,.28),0 0 22px rgba(255,204,0,.11)}}

/* V36 — iluminação mais gradual na Hero, sem alterar sua geometria. */
.hero{background:linear-gradient(110deg,#081735 0%,#203d6a 23%,#3c6090 47%,#345782 62%,#203b65 79%,#081735 100%)}
.hero::before{background:linear-gradient(110deg,transparent 18%,rgba(255,255,255,.08) 40%,rgba(255,255,255,.14) 54%,rgba(255,255,255,.06) 70%,transparent 88%)}

/* V37: ajustes pontuais e isolados; V36 preservada como referência. */
.brand{min-width:220px;gap:11px;display:inline-flex;align-items:center}
.brand img{width:43px!important;height:54px!important;object-fit:contain!important;mix-blend-mode:normal!important;flex:none}
.brand-wordmark{display:flex;flex-direction:column;max-width:none!important;letter-spacing:normal!important;gap:3px}
.brand-wordmark strong{font-size:19px;line-height:1.05;color:#fff;white-space:nowrap;letter-spacing:-.35px}
.brand-wordmark small{font-size:9px;color:#ffcc00;line-height:1.25;letter-spacing:.25px;font-weight:700;white-space:nowrap}
.menu-toggle svg{width:23px;height:23px;vertical-align:middle}
/* Azul principal mais forte, mas com variação de luminosidade e centro suavizado. */
.hero{background:linear-gradient(108deg,#06143d 0%,#0b2357 23%,#244a80 48%,#1a3b70 70%,#071944 100%)}
.hero::before{background:radial-gradient(ellipse at 51% 42%,rgba(255,255,255,.13),transparent 58%)}
.hero-door{background-image:url('assets/images/hero-enio-v37.webp')!important;background-position:50% 66%!important;background-size:cover!important}
.hero-visual:after{background:linear-gradient(0deg,rgba(4,15,38,.31),transparent 48%)!important}
/* A legenda original permanece acima da nova fotografia. */
.arrow-icon{display:inline-block;width:1em;height:1em;vertical-align:-.13em;flex:none}
.arrow-icon svg{width:100%;height:100%}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.service-card{min-width:0}
.service-card img{height:175px;object-fit:cover}
.service-card:nth-child(6) img{object-position:center 55%}
.service-actions a{display:inline-flex;align-items:center;gap:3px}
.footer-layout{grid-template-columns:175px repeat(4,minmax(0,1fr))}
.floating-whatsapp{position:fixed;bottom:22px;right:22px;z-index:19;display:inline-flex;align-items:center;gap:9px;background:#ffcc00;color:#06143d;padding:12px 18px;border-radius:999px;box-shadow:0 10px 28px rgba(2,11,37,.22);font-size:13px;font-weight:800;border:1px solid rgba(6,20,61,.12)}
.floating-whatsapp svg{width:21px;height:21px}
.floating-whatsapp:hover{background:#ffe064;transform:translateY(-2px)}
.door-subtitle{font-size:23px;margin-top:24px}.door-list{padding-left:20px;line-height:1.75;color:#33415e;margin-bottom:20px}
@media(max-width:1000px){.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-layout{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.brand{min-width:0;gap:7px}.brand img{width:35px!important;height:45px!important}.brand-wordmark strong{font-size:15px}.brand-wordmark small{font-size:7px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-card img{height:140px}.hero-door{background-position:50% 64%!important}.footer-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;align-items:start}.footer-brand{grid-column:1/-1;display:flex;justify-content:center}.footer-brand img{width:110px;height:auto}.footer-entry{align-items:flex-start;gap:7px;font-size:11px}.footer-entry>span,.footer-entry svg{width:22px;height:22px;flex:0 0 22px}.footer-layout>a.footer-entry{padding-left:0;border-left:0}.footer-layout>div:not(:first-child){padding-left:0;border-left:0}.floating-whatsapp{bottom:15px;right:14px;padding:10px 14px;font-size:12px}}
@media(max-width:390px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card img{height:125px}.footer-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-entry{font-size:10px}.brand-wordmark strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.floating-whatsapp{transition:none}}

/* V38 — Hero utiliza exatamente o degradê da seção Projetos, sem a camada clara anterior. */
.hero{background:radial-gradient(ellipse at 52% 38%,#234a7c 0%,#112d5b 47%,#061536 100%);border-radius:0}
.hero::before{content:none}

/* V39 — identidade visual: lâmpada original em PNG transparente, sem alteração de layout */
.brand img{object-fit:contain!important;mix-blend-mode:normal!important}
.footer-brand{display:flex;align-items:center;gap:10px;min-width:0}
.footer-brand img{width:43px!important;height:57px!important;object-fit:contain!important;mix-blend-mode:normal!important;border-radius:0!important;flex:0 0 auto}
.footer-wordmark{display:flex;flex-direction:column;gap:3px;min-width:0}
.footer-wordmark strong{color:#fff;font-size:16px;line-height:1.1;white-space:nowrap}
.footer-wordmark small{color:#ffcc00;font-size:9px;line-height:1.2;white-space:nowrap;font-weight:700}
@media(max-width:700px){.footer-brand{grid-column:1/-1;justify-content:flex-start}.footer-brand img{width:40px!important;height:52px!important}.footer-wordmark strong{font-size:16px}}

/* V40 — refinamento pontual: nitidez do slogan e enquadramento da foto. */
.brand-wordmark small,.footer-wordmark small{font-size:10px;font-weight:700;line-height:1.3;letter-spacing:.1px;text-shadow:none;filter:none;-webkit-font-smoothing:antialiased}
.hero-door{background-position:50% 74%!important}
@media(max-width:700px){.brand-wordmark small{font-size:8px}.footer-wordmark small{font-size:10px}.hero-door{background-position:50% 72%!important}}

/* V42: recorte da foto original, sem reconstrução artificial da parede */
.hero-door{background-image:url("assets/images/hero-enio-v42.webp")!important}
/* Botão voltar ao topo: acessível e sem caracteres Unicode */
footer{position:relative}
.back-to-top{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.58);border-radius:50%;color:#fff;text-decoration:none;flex:0 0 42px;transition:background-color .2s,border-color .2s,transform .2s;margin:14px 20px 14px auto}
.back-to-top:hover,.back-to-top:focus-visible{background:rgba(255,204,0,.15);border-color:#ffcc00;transform:translateY(-2px);outline-offset:3px}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.back-to-top{transition:none}}
@media(max-width:700px){.back-to-top{margin:18px 18px 12px auto}}

/* V42: seta alinhada à direita do rodapé, sem interferir na grade de contatos */
footer{position:relative}
footer .back-to-top{position:absolute;right:18px;top:50%;transform:translateY(-50%);margin:0;z-index:2}
footer .back-to-top:hover,footer .back-to-top:focus-visible{transform:translateY(calc(-50% - 2px))}
@media(max-width:700px){footer{padding-bottom:74px}footer .back-to-top{top:auto;bottom:15px;right:18px;transform:none}footer .back-to-top:hover,footer .back-to-top:focus-visible{transform:translateY(-2px)}}

/* V43: botão integrado à grade do rodapé; nunca sobrepõe o WhatsApp flutuante. */
footer .footer-layout{grid-template-columns:175px repeat(4,minmax(0,1fr)) 48px;align-items:center}
footer .back-to-top{position:static;transform:none;margin:0;justify-self:center;align-self:center;z-index:auto}
footer .back-to-top:hover,footer .back-to-top:focus-visible{transform:translateY(-2px)}
footer{padding-bottom:0}
@media(max-width:1100px){footer .footer-layout{grid-template-columns:repeat(3,minmax(0,1fr)) 48px}}
@media(max-width:700px){footer .footer-layout{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:85px;row-gap:22px}
footer .footer-layout .back-to-top{grid-column:1/-1;justify-self:center;position:static;transform:none;margin:0}
footer{padding-bottom:0}}

/* Rodapés compactos das páginas internas */
footer:not(:has(.footer-layout))>.wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
footer:not(:has(.footer-layout)) .back-to-top{position:static;transform:none;margin:0 0 0 auto}
@media(max-width:700px){footer:not(:has(.footer-layout))>.wrap{justify-content:center;text-align:center}footer:not(:has(.footer-layout)) .back-to-top{margin:10px auto 0}}

/* V44 — somente respiro vertical do rodapé principal em telas desktop. */
@media (min-width:1101px){
  footer:has(.footer-layout){padding-top:43px;padding-bottom:43px}
}

/* V45 — Regiões atendidas no Contato: somente conteúdo novo, sem alterar layout existente */
.contact-areas{margin-top:24px;max-width:490px;padding-left:16px;border-left:3px solid #ffcc00}
.contact-areas h3{display:flex;align-items:center;gap:9px;font-size:16px;color:#06164d;margin:0 0 8px;font-weight:800}
.contact-areas h3 svg{flex:none;color:#183d72}
.contact-areas p{font-size:14px;line-height:1.6;color:#485b79;margin:0 0 5px}
.contact-areas small{font-size:12px;color:#62718a}

/* V47 - Parceiros: nova seção isolada, sem alterar componentes existentes */
.partners{background:linear-gradient(120deg,#eaf0f9 0%,#f5f7fb 52%,#edf2f9 100%);padding:76px 0 82px}
.partners-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:center;gap:64px}
.partners-intro .overline{color:#b58a00;letter-spacing:2px;font-weight:800;font-size:11px;margin-bottom:15px}
.partners-intro h2{font-size:clamp(32px,3.4vw,48px);line-height:1.12;color:#06164d;margin:0 0 18px;font-weight:800}
.partners-intro h2 em{font-style:normal;color:#e5ac00}
.partners-intro p{font-size:16px;line-height:1.7;color:#405373;max-width:390px;margin:0}
.partner-card{background:white;border:1px solid #dce4f1;border-radius:20px;padding:30px 32px;box-shadow:0 16px 40px rgba(7,28,69,.08);min-width:0}
.partner-card-top{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.partner-brand{display:flex;flex-direction:column;gap:3px}.partner-name{font-size:34px;line-height:1;font-weight:900;letter-spacing:-1.5px;color:#15231d}.partner-leaf{font-size:20px;color:#479b48;margin-left:5px}.partner-category{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#54875c}
.partner-tag{background:#eff5ee;color:#347345;border-radius:99px;padding:9px 12px;font-size:11px;font-weight:700}
.partner-card>p{font-size:14px;line-height:1.65;color:#4a5b72;margin:22px 0}
.partner-code{background:#f4f7fc;border:1px solid #e1e7f0;border-radius:12px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.partner-code small{display:block;font-size:11px;color:#52627a;margin-bottom:5px}.partner-code strong{font-size:22px;letter-spacing:1px;color:#06164d}
.partner-copy{border:1px solid #ccd7e6;background:#fff;border-radius:9px;padding:10px 12px;cursor:pointer;font-size:12px;font-weight:700;color:#10244d;white-space:nowrap}
.partner-copy:hover{border-color:#e7b400;background:#fff9e6}
.partner-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.partner-actions a{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:13px 15px;border-radius:10px;font-weight:800;font-size:12px;transition:transform .2s}
.partner-actions a:hover{transform:translateY(-2px)}.partner-primary{background:#ffcc00;color:#06143d}.partner-secondary{border:1px solid #cbd5e4;color:#0b2451}
.partner-note{display:block;margin-top:17px;font-size:11px;line-height:1.5;color:#6b7687}
@media(max-width:800px){.partners{padding:58px 0}.partners-layout{grid-template-columns:1fr;gap:28px}.partner-card{padding:24px}.partners-intro p{max-width:unset}}
@media(max-width:480px){.partner-card-top{align-items:flex-start}.partner-name{font-size:29px}.partner-code{flex-wrap:wrap}.partner-actions{flex-direction:column}.partner-actions a{width:100%}.partner-copy{min-height:40px}}

/* V48 - Parceiros compacto, paleta oficial e segundo parceiro futuro sem card vazio */
.partners{padding:44px 0 48px}
.partners-layout{grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);gap:40px;align-items:center}
.partners-intro .overline{color:var(--yellow);margin-bottom:10px}
.partners-intro h2{font-size:clamp(30px,3vw,42px);margin-bottom:12px}
.partners-intro h2 em{color:var(--yellow)}
.partners-intro p{font-size:14px;line-height:1.55}
.partners-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px;min-width:0}
.partner-card{padding:22px 24px;border-radius:17px;box-shadow:0 12px 30px rgba(7,28,69,.065)}
.partner-name{font-size:29px}.partner-card-top{gap:12px}
.partner-tag{padding:7px 10px}.partner-card>p{margin:13px 0;font-size:13px;line-height:1.5}
.partner-code{padding:10px 13px;min-height:68px}.partner-code strong{font-size:19px}
.partner-copy{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:95px;min-height:38px;padding:9px 12px;line-height:1.2;flex:0 0 auto}
.partner-copy svg{display:block;flex:none}.partner-copy-label{display:inline-block}
.partner-actions{gap:10px;margin-top:13px}.partner-actions a{padding:11px 13px}
@media(max-width:800px){.partners{padding:42px 0}.partners-layout{grid-template-columns:1fr;gap:22px}.partner-card{padding:20px}}
@media(max-width:480px){.partner-card-top{align-items:flex-start}.partner-tag{font-size:10px}.partner-name{font-size:27px}.partner-actions a{font-size:11px}}

/* V49: Pormade — refinamento textual sem alterar grid geral */
.partner-headline{font-size:clamp(16px,1.4vw,19px);line-height:1.25;margin:10px 0 7px;color:#071a4c}.partner-detail{font-size:13px;line-height:1.5;margin:8px 0 12px}.partner-slogan{font-size:13px;font-weight:800;color:#071a4c;margin:12px 0 10px}.partner-card .partner-headline + p{margin-top:0}

/* V50: marca do parceiro, sem alterar a geometria do card */
.partner-logo-official{display:block;width:180px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
@media(max-width:480px){.partner-logo-official{width:165px}}

/* V52 — enquadramento da foto premium, sem alterar os efeitos existentes */
.door-page > img[src*="porta-premium-genial-v52"] { object-fit: cover; object-position: center 52%; }
.project-feature-link img[src*="porta-premium-genial-v52"] { object-fit: cover; object-position: center 48%; }

/* V53: recorte dedicado ao card da Porta Premium; hover original preservado. */
.project-feature-link img[src*="porta-premium-projetos-v53"]{object-position:center 43%;}

/* V56: correções restritas de acessibilidade e controles internos. */
/* V57: restaura amarelo oficial e aplica azul-gelo somente nesta seção. */
#como-funciona{background:#e9eff7}
#como-funciona .overline,#como-funciona h2 em{color:var(--yellow)}
@media(max-width:700px){.service-actions a{min-height:44px;min-width:44px}.service-actions{gap:4px 8px}}
.internal-credit{text-align:center;font-size:11px;margin-top:12px}.internal-credit a{color:#e6eaf2}
body#inicio footer .back-to-top{margin-right:0}
@media(max-width:700px){body#inicio footer{padding-bottom:72px}body#inicio footer .back-to-top{margin:10px auto 0}}
