:root{--red:#b31124;--red-dark:#7f0b18;--ink:#181816;--cream:#f4f1e9;--line:#d9d5cc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{max-width:100%}.skip-link{position:fixed;left:1rem;top:-5rem;z-index:100;padding:.8rem 1rem;background:#fff;color:#000}.skip-link:focus{top:1rem}
.site-header{position:absolute;top:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:96px;padding:0 clamp(24px,5vw,82px);color:#fff;border-bottom:1px solid #ffffff3d}.brand img{width:185px;filter:brightness(0) invert(1)}.site-header nav{display:flex;gap:clamp(20px,2.6vw,42px);font-size:.79rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.site-header nav a{position:relative;padding:38px 0}.site-header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:27px;height:2px;background:#fff;transition:.25s}.site-header nav a:hover:after,.site-header nav a:focus-visible:after{right:0}.header-cta{justify-self:end;padding:13px 17px;border:1px solid #ffffff80;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.header-cta span{margin-left:18px}
.hero{position:relative;min-height:850px;height:100vh;max-height:1050px;display:flex;align-items:center;overflow:hidden;color:#fff;background:#251a1a url('images/home-bg.jpg') center/cover no-repeat}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#140809e0 0%,#1f090ca6 48%,#19050833 100%),linear-gradient(0deg,#190507a6,transparent 48%)}.hero-content{position:relative;z-index:2;width:min(900px,88vw);margin-left:clamp(24px,9vw,148px);padding-top:85px}.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 24px;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow>span{width:31px;height:2px;background:currentColor}.eyebrow.dark{color:var(--red)}h1{margin:0;max-width:920px;font-size:clamp(3.5rem,7vw,7.4rem);line-height:.89;letter-spacing:-.065em;font-weight:800}h1 em{color:#e84b57;font-family:Georgia,serif;font-weight:400}.hero-lead{max-width:620px;margin:34px 0 0;font-size:clamp(1rem,1.3vw,1.25rem);line-height:1.65;color:#ffffffd1}.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:38px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:56px;padding:0 22px;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--red);color:#fff}.button-primary:hover{background:#cd1930}.button-ghost{border:1px solid #ffffff8c;color:#fff}.button-light{background:#fff;color:var(--red-dark);margin-top:38px}.hero-proof{position:absolute;z-index:2;right:clamp(24px,5vw,82px);bottom:48px;display:grid;grid-template-columns:repeat(3,minmax(150px,205px));color:#fff}.hero-proof div{padding:0 24px;border-left:1px solid #ffffff45}.hero-proof strong,.hero-proof span{display:block}.hero-proof strong{font-size:1.08rem;margin-bottom:7px}.hero-proof span{font-size:.69rem;line-height:1.4;color:#ffffffa8}.scroll-cue{position:absolute;z-index:2;left:clamp(24px,5vw,82px);bottom:39px;display:flex;align-items:center;gap:13px;font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;writing-mode:vertical-rl}.scroll-cue span{width:1px;height:34px;background:#fff}
.section{padding:clamp(80px,10vw,150px) clamp(24px,8vw,130px)}.section-heading{display:grid;grid-template-columns:1.2fr .8fr;gap:9vw;align-items:end;margin-bottom:66px}h2{margin:0;font-size:clamp(2.4rem,4.4vw,4.9rem);line-height:1.02;letter-spacing:-.055em}.section-heading>p,.cert-copy>p,.about-copy>p,.contact-intro>p{font-size:1.04rem;line-height:1.75;color:#6a6862}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service-card{position:relative;min-height:460px;padding:38px clamp(24px,3vw,47px);border-right:1px solid var(--line);transition:background .25s,color .25s,transform .25s}.service-card:first-child{border-left:1px solid var(--line)}.service-card:hover{z-index:2;background:var(--red);color:#fff;transform:translateY(-8px)}.service-number{font:italic 1rem Georgia,serif;color:var(--red)}.service-card:hover .service-number,.service-card:hover p{color:#ffffffc2}.service-icon{width:66px;height:66px;display:grid;place-items:center;margin:50px 0 40px;border:1px solid currentColor;border-radius:50%}.service-icon span{width:20px;height:28px;border:2px solid currentColor;border-radius:50% 50% 45% 45%;position:relative}.service-icon span:after{content:"";position:absolute;width:9px;height:2px;top:-7px;left:7px;background:currentColor;transform:rotate(-32deg)}.service-card h3{margin:0;font-size:1.55rem;line-height:1.2}.service-card p{min-height:100px;margin:20px 0 28px;color:#6e6b65;font-size:.94rem;line-height:1.65}.service-card ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0}.service-card li{padding:6px 9px;border:1px solid currentColor;font-size:.64rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.about{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr);min-height:760px;background:var(--ink);color:#fff}.about-image{min-height:600px;overflow:hidden}.about-image img{width:100%;height:100%;object-fit:cover;opacity:.78}.about-copy{display:flex;flex-direction:column;justify-content:center;padding:70px clamp(34px,7vw,115px)}.about-copy h2{font-size:clamp(2.4rem,3.8vw,4.3rem)}.about-copy>p{max-width:760px;margin:30px 0 0;color:#aaa8a0;font-size:1.16rem;line-height:1.78}.text-link{align-self:flex-start;margin-top:36px;padding-bottom:8px;border-bottom:1px solid #fff;font-size:.77rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.text-link span{margin-left:24px}.certifications{background:var(--cream);display:grid;grid-template-columns:.72fr 1.28fr;gap:8vw;align-items:center}.cert-copy h2{font-size:clamp(2.3rem,3.9vw,4.2rem)}.cert-grid{display:grid;grid-template-columns:repeat(2,1fr);background:#fff;border:1px solid var(--line)}.cert-item{min-height:210px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cert-item:nth-child(2n){border-right:0}.cert-item:nth-child(n+3){border-bottom:0}.cert-item img{width:auto;height:70px;max-width:180px;object-fit:contain;filter:grayscale(1)}.cert-item span{color:#66635d;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:10vw}.faq-list{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line)}summary{display:flex;justify-content:space-between;gap:30px;padding:27px 0;cursor:pointer;list-style:none;font-weight:700}summary::-webkit-details-marker{display:none}summary span{color:var(--red);font-size:1.5rem;font-weight:300;transition:transform .2s}details[open] summary span{transform:rotate(45deg)}details p{margin:-5px 45px 28px 0;color:#6a6862;line-height:1.7}
.contact{padding:clamp(80px,10vw,140px) clamp(24px,8vw,130px);background:var(--red-dark);color:#fff}.contact-intro{max-width:800px}.contact-intro>p{max-width:620px;color:#ffffffad}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:65px;border-top:1px solid #ffffff3d;border-bottom:1px solid #ffffff3d}.contact-grid a{padding:30px 30px 30px 0;border-right:1px solid #ffffff3d}.contact-grid a:not(:first-child){padding-left:30px}.contact-grid a:last-child{border-right:0}.contact-grid span,.contact-grid strong,.contact-grid small{display:block}.contact-grid span{font-size:.65rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#ffffff8c}.contact-grid strong{margin:17px 0 8px;font-size:1.15rem}.contact-grid small{color:#ffffff94}footer{padding:45px clamp(24px,8vw,130px);background:#111;color:#888;display:grid;grid-template-columns:auto 1fr auto;gap:35px;align-items:center;font-size:.72rem}footer img{filter:brightness(0) invert(1);opacity:.88}footer>p{max-width:380px}footer>div{display:flex;gap:22px;flex-wrap:wrap;justify-content:flex-end}footer a:hover{color:#fff}
@media(max-width:1050px){.site-header{grid-template-columns:1fr auto}.site-header nav{display:none}.hero-proof{left:24px;right:24px}.scroll-cue{display:none}.service-grid{grid-template-columns:1fr}.service-card{min-height:auto;border-left:1px solid var(--line);border-bottom:1px solid var(--line)}.service-card p{min-height:auto}.about,.certifications,.faq{grid-template-columns:1fr}.about-image{min-height:420px}.certifications,.faq{gap:55px}footer{grid-template-columns:1fr}footer>div{justify-content:flex-start}}
@media(max-width:700px){.site-header{min-height:78px}.brand img{width:145px}.header-cta{padding:10px 12px;font-size:.65rem}.header-cta span{display:none}.hero{min-height:760px;height:auto;padding:130px 0 230px}.hero-content{margin-left:24px}.hero-proof{grid-template-columns:1fr;bottom:25px}.hero-proof div{padding:10px 15px}.hero-proof span{display:none}.section-heading{grid-template-columns:1fr;gap:30px}.service-card{padding:30px 24px}.service-icon{margin:35px 0}.about-image{min-height:330px}.about-copy{padding:70px 24px}.cert-grid{grid-template-columns:1fr}.cert-item{border-right:0}.cert-item:nth-child(3){border-bottom:1px solid var(--line)}.contact-grid{grid-template-columns:1fr}.contact-grid a,.contact-grid a:not(:first-child){padding:24px 0;border-right:0;border-bottom:1px solid #ffffff33}.contact-grid a:last-child{border-bottom:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Identidade Magilarmes: vermelho, amarelo-sinal, grafite e cinza técnico */
:root{--red:#e30613;--red-dark:#b5000a;--yellow:#f7b900;--yellow-soft:#fff2bd;--ink:#202527;--graphite:#292f31;--silver:#858d90;--cream:#f3f4f2;--line:#d8dcda}
body{background:#fff;color:var(--ink)}
.site-header{min-height:100px;background:rgba(255,255,255,.96);color:var(--ink);border-bottom:4px solid var(--yellow);box-shadow:0 10px 35px rgba(18,23,24,.08);backdrop-filter:blur(12px)}
.brand img{width:205px;filter:none}.site-header nav a:after{background:var(--red);bottom:25px}.header-cta{background:var(--red);color:#fff;border-color:var(--red);box-shadow:6px 6px 0 var(--yellow)}.header-cta:hover{background:var(--red-dark)}
.hero{background-color:#222829;background-position:center right}.hero-overlay{background:radial-gradient(circle at 76% 30%,rgba(247,185,0,.20),transparent 23%),radial-gradient(circle at 61% 65%,rgba(227,6,19,.20),transparent 26%),linear-gradient(90deg,rgba(25,30,31,.98) 0%,rgba(25,30,31,.88) 48%,rgba(25,30,31,.35) 100%),linear-gradient(0deg,rgba(17,20,20,.70),transparent 50%)}
.hero-content{padding-top:130px}.hero .eyebrow{color:var(--yellow)}h1 em{color:var(--yellow);text-shadow:4px 4px 0 rgba(227,6,19,.45)}.hero-lead{color:rgba(255,255,255,.88);border-left:4px solid var(--red);padding-left:22px}.button-primary{background:var(--yellow);color:var(--ink);box-shadow:7px 7px 0 var(--red)}.button-primary:hover{background:#ffd13b}.button-ghost{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.75)}
.hero-proof{background:rgba(23,28,29,.72);border-top:3px solid var(--yellow);padding:24px 10px;backdrop-filter:blur(10px)}.hero-proof div:nth-child(1){border-left-color:var(--yellow)}.hero-proof div:nth-child(2){border-left-color:var(--red)}.hero-proof div:nth-child(3){border-left-color:#b6bdbe}.hero-proof strong{font-size:1.22rem}.scroll-cue{color:var(--yellow)}
.services{background:linear-gradient(135deg,#fff 0 62%,#f3f4f2 62%)}.section-heading h2{position:relative}.section-heading h2:after{content:"";display:block;width:94px;height:8px;margin-top:25px;background:linear-gradient(90deg,var(--yellow) 0 58%,var(--red) 58%)}.service-grid{border:0;gap:18px}.service-card,.service-card:first-child{background:#fff;border:1px solid var(--line);border-top:8px solid var(--yellow);box-shadow:0 18px 50px rgba(27,34,35,.07)}.service-card:nth-child(2){border-top-color:var(--red)}.service-card:nth-child(3){border-top-color:var(--graphite)}.service-card:nth-child(1):hover{background:var(--yellow);color:var(--ink)}.service-card:nth-child(2):hover{background:var(--red);color:#fff}.service-card:nth-child(3):hover{background:var(--graphite);color:#fff}.service-card:nth-child(1):hover .service-number,.service-card:nth-child(1):hover p{color:var(--ink)}.service-card li{background:var(--cream)}.service-card:hover li{background:transparent}
.about{background:linear-gradient(135deg,var(--graphite) 0 78%,#343b3d 78%)}.about-image{position:relative;border-right:8px solid var(--yellow)}.about-image:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(227,6,19,.15),transparent 45%,rgba(247,185,0,.20))}.about-copy{position:relative}.about-copy:before{content:"";position:absolute;top:0;left:0;width:88px;height:12px;background:var(--red)}.about-copy h2 strong{color:var(--yellow)}.text-link{border-color:var(--yellow);color:var(--yellow)}
.certifications{background:linear-gradient(110deg,var(--yellow-soft) 0 35%,var(--cream) 35%)}.cert-grid{gap:12px;border:0;background:transparent}.cert-item{background:#fff;border:0!important;box-shadow:0 14px 40px rgba(28,34,35,.08)}.cert-item:nth-child(1){border-top:6px solid var(--yellow)!important}.cert-item:nth-child(2){border-top:6px solid var(--red)!important}.cert-item:nth-child(3){border-top:6px solid var(--graphite)!important}.cert-item:nth-child(4){border-top:6px solid var(--silver)!important}.cert-item img{filter:none}.cert-item span{color:var(--graphite)}
.faq{background:#fff}.faq>div:first-child{padding:38px;background:var(--graphite);color:#fff;border-bottom:10px solid var(--yellow)}.faq>div:first-child .eyebrow{color:var(--yellow)}summary span{display:grid;place-items:center;width:30px;height:30px;background:var(--yellow);color:var(--ink);border-radius:50%}details[open] summary{color:var(--red)}
.contact{position:relative;background:linear-gradient(110deg,var(--red-dark) 0 38%,var(--graphite) 38% 100%);overflow:hidden}.contact:before{content:"";position:absolute;right:-70px;top:-110px;width:380px;height:380px;border:55px solid rgba(247,185,0,.12);border-radius:50%}.contact>*{position:relative;z-index:1}.contact .eyebrow{color:var(--yellow)}.contact-grid{border-color:rgba(247,185,0,.55)}.contact-grid a{border-color:rgba(247,185,0,.35);transition:background .2s,padding .2s}.contact-grid a:hover{background:rgba(247,185,0,.10);padding-left:18px}.contact-grid span{color:var(--yellow)}.button-light{background:var(--yellow);color:var(--ink);box-shadow:7px 7px 0 #fff}
footer{border-top:7px solid var(--yellow);background:#171b1c;color:#aeb4b5}footer:after{content:"";position:absolute;right:0;width:6px;height:6px;background:var(--red)}
@media(max-width:1050px){.site-header{min-height:88px}.service-grid{gap:14px}.service-card{border-left:1px solid var(--line)}.contact{background:linear-gradient(145deg,var(--red-dark) 0 24%,var(--graphite) 24% 100%)}}
@media(max-width:700px){.site-header{min-height:78px;border-bottom-width:3px}.brand img{width:150px}.header-cta{box-shadow:3px 3px 0 var(--yellow)}.hero-content{padding-top:100px}.hero-proof{padding:10px}.services{background:#fff}.certifications{background:linear-gradient(180deg,var(--yellow-soft) 0 18%,var(--cream) 18%)}.faq>div:first-child{padding:28px}.contact{background:linear-gradient(155deg,var(--red-dark) 0 20%,var(--graphite) 20% 100%)}}

/* Composição central: proporções inspiradas no site de referência */
:root{--site-width:min(1200px,calc(100vw - 48px));--site-radius:10px}
body{background:#e8ebea}main{display:flex;flex-direction:column;gap:24px;padding:20px 0 24px}
.site-header{position:absolute;top:20px;left:50%;right:auto;width:var(--site-width);transform:translateX(-50%);border-radius:var(--site-radius) var(--site-radius) 0 0;padding-left:36px;padding-right:36px}
.hero,.section,.about,.contact,footer{width:var(--site-width);margin-left:auto;margin-right:auto}
.hero{min-height:780px;height:min(900px,calc(100vh - 40px));border-radius:var(--site-radius);box-shadow:0 24px 70px rgba(28,34,35,.16)}
.hero-content{width:min(760px,78%);margin-left:72px}.hero-proof{right:40px;bottom:34px}.scroll-cue{left:30px;bottom:31px}
.section{padding:105px 64px;border-radius:var(--site-radius)}.services{box-shadow:0 16px 45px rgba(28,34,35,.06)}
.section-heading{gap:70px}.service-card{padding-left:32px;padding-right:32px}
.about{min-height:680px;border-radius:var(--site-radius);overflow:hidden}.about-copy{padding-left:65px;padding-right:65px}
.certifications{padding-top:95px;padding-bottom:95px}.cert-grid{gap:9px}.cert-item{min-height:190px}
.faq{padding-top:90px;padding-bottom:90px;gap:70px}
.contact{border-radius:var(--site-radius);padding:100px 64px}
footer{position:relative;border-radius:var(--site-radius) var(--site-radius) 0 0;padding-left:55px;padding-right:55px}
@media(min-width:1500px){:root{--site-width:1280px}.hero{height:900px}.section{padding-left:76px;padding-right:76px}}
@media(max-width:1050px){:root{--site-width:calc(100vw - 32px)}main{gap:18px;padding-top:14px}.site-header{top:14px;padding-left:24px;padding-right:24px}.hero{height:auto;min-height:800px}.hero-content{width:min(760px,86%);margin-left:48px}.section{padding:82px 42px}.about-copy{padding-left:48px;padding-right:48px}.contact{padding:82px 42px}}
@media(max-width:700px){:root{--site-width:calc(100vw - 18px);--site-radius:7px}main{gap:10px;padding-top:9px}.site-header{top:9px;padding-left:16px;padding-right:16px}.hero{min-height:750px}.hero-content{width:calc(100% - 48px);margin-left:24px}.section{padding:70px 24px}.about-copy{padding:65px 24px}.contact{padding:70px 24px}footer{padding:38px 24px}}

/* Título principal em duas linhas fixas e centradas */
.hero-content{width:min(900px,calc(100% - 120px))}
h1{width:100%;font-size:clamp(3.5rem,5.4vw,4.6rem);line-height:.98;text-align:center;letter-spacing:-.055em}
.hero-title-line{display:block;white-space:nowrap}
h1 em.hero-title-line{margin-top:8px;font-size:1.05em}
@media(max-width:1050px){.hero-content{width:min(820px,calc(100% - 96px));margin-left:48px}h1{font-size:clamp(3rem,6.2vw,4.2rem)}}
@media(max-width:700px){.hero-content{width:calc(100% - 32px);margin-left:16px}h1{font-size:clamp(1.75rem,8.5vw,3rem);letter-spacing:-.045em}h1 em.hero-title-line{margin-top:6px}}

/* Hero mais compacto, sem a antiga linha de ações */
.hero{align-items:flex-start}.hero-content{margin-top:165px;padding-top:0}.hero-lead{margin-top:30px}.hero-proof{bottom:30px}
@media(max-width:1050px){.hero-content{margin-top:150px}}
@media(max-width:700px){.hero-content{margin-top:125px}.hero-lead{margin-top:24px}}

/* Centro geométrico do título em relação ao hero */
.hero-content{width:calc(100% - 144px);margin-left:72px}
@media(max-width:1050px){.hero-content{width:calc(100% - 96px);margin-left:48px}}
@media(max-width:700px){.hero-content{width:calc(100% - 32px);margin-left:16px}}

/* O h1 ocupa toda a largura do contentor centrado */
h1{max-width:none}

/* Hero sem estatísticas e dimensionado pelo conteúdo principal */
.hero{height:640px;min-height:640px;max-height:640px}.hero-content{margin-top:155px}
@media(min-width:1500px){.hero{height:680px;min-height:680px;max-height:680px}.hero-content{margin-top:165px}}
@media(max-width:1050px){.hero{height:620px;min-height:620px;max-height:620px}.hero-content{margin-top:145px}}
@media(max-width:700px){.hero{height:560px;min-height:560px;max-height:560px}.hero-content{margin-top:118px}}

/* Segunda afinação de altura do hero */
.hero{height:565px;min-height:565px;max-height:565px}.hero-content{margin-top:140px}
@media(min-width:1500px){.hero{height:595px;min-height:595px;max-height:595px}.hero-content{margin-top:145px}}
@media(max-width:1050px){.hero{height:550px;min-height:550px;max-height:550px}.hero-content{margin-top:132px}}
@media(max-width:700px){.hero{height:500px;min-height:500px;max-height:500px}.hero-content{margin-top:108px}}

/* Cabeçalho da secção de serviços */
.services .section-heading{grid-template-columns:1fr;gap:34px;align-items:start}
.services .section-heading h2{text-align:left}
.services .section-heading>p{width:min(760px,100%);margin:0 auto;text-align:center}
@media(max-width:700px){.services .section-heading{gap:28px}.services .section-heading>p{text-align:center}}

/* Texto explicativo numa única linha */
.services .section-heading>p{width:100%;max-width:none;white-space:nowrap;text-align:center}
@media(max-width:700px){.services .section-heading>p{font-size:clamp(.42rem,1.55vw,.75rem);letter-spacing:-.01em}}

/* Quatro áreas de serviço com imagem e detalhe em modal */
.service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.service-card,.service-card:first-child{display:flex;flex-direction:column;min-height:570px;padding:0;overflow:hidden;border-left:1px solid var(--line)}
.service-card:nth-child(4){border-top:8px solid var(--silver)}
.service-card:hover,.service-card:nth-child(1):hover,.service-card:nth-child(2):hover,.service-card:nth-child(3):hover,.service-card:nth-child(4):hover{background:#fff;color:var(--ink);transform:translateY(-6px)}
.service-card:hover .service-number{color:var(--red)}.service-card:hover p{color:#6e6b65}
.service-image{display:block;width:100%;height:160px;object-fit:cover;filter:saturate(.82) contrast(1.05)}
.service-card-body{display:flex;flex:1;flex-direction:column;padding:25px 24px 27px}
.service-card-body .service-number{margin-bottom:23px}.service-card-body h3{min-height:58px;font-size:1.28rem}
.service-card-body p{min-height:122px;margin:17px 0 20px;font-size:.88rem}
.service-card-body ul{margin-bottom:24px}.service-card-body li{background:var(--cream)}
.service-more{align-self:flex-start;margin-top:auto;padding:11px 0 8px;border:0;border-bottom:3px solid var(--yellow);background:transparent;color:var(--ink);font:800 .72rem Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.service-more:hover,.service-more:focus-visible{border-color:var(--red);color:var(--red)}
.service-modal{width:min(760px,calc(100vw - 32px));max-height:min(88vh,860px);padding:0;border:0;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 30px 100px rgba(0,0,0,.34);overflow:auto}.service-modal::backdrop{background:rgba(17,21,22,.78);backdrop-filter:blur(4px)}
.modal-media{position:relative;height:230px;background:var(--graphite);overflow:hidden}.modal-media img{width:100%;height:100%;object-fit:cover;filter:brightness(.72) saturate(.85)}
.modal-media form{position:absolute;top:18px;right:18px}.modal-close{display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;background:var(--yellow);color:var(--ink);font-size:1.8rem;line-height:1;cursor:pointer}.modal-close:hover{background:#fff}
.modal-content{padding:38px 44px 42px}.modal-content h3{margin:0 0 22px;font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.04em}.modal-title-row{display:flex;align-items:center;gap:18px;margin-bottom:22px}.modal-title-row .service-fa-icon{flex:0 0 42px;width:42px;margin:0;color:var(--yellow);font-size:2.35rem;text-align:center}.modal-title-row h3{margin:0}.modal-content>p:not(.eyebrow),.modal-content li{color:#5e6262;font-size:.98rem;line-height:1.72}.modal-content ul{padding-left:20px}.modal-content li{margin:7px 0}.modal-content .eyebrow{margin-bottom:17px}
@media(max-width:1050px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{min-height:525px}.service-card-body p{min-height:90px}}
@media(max-width:700px){.service-grid{grid-template-columns:1fr}.service-card{min-height:0}.service-image{height:190px}.service-card-body h3,.service-card-body p{min-height:0}.modal-media{height:180px}.modal-content{padding:30px 24px 34px}}

/* Enquadramentos temáticos das imagens originais */
.service-image{height:190px}.service-card:nth-child(1) .service-image{object-position:72% center}.service-card:nth-child(2) .service-image{object-position:15% center}.service-card:nth-child(3) .service-image{object-position:48% center}.service-card:nth-child(4) .service-image{object-position:72% center}
#modal-extintores .modal-media img{object-position:72% center}#modal-incendios .modal-media img{object-position:15% center}#modal-alarmes .modal-media img{object-position:48% center}#modal-cctv .modal-media img{object-position:72% center}

/* FAQ técnica baseada nas questões do site original */
.faq-intro{margin:28px 0 0;color:rgba(255,255,255,.72);font-size:.94rem;line-height:1.65}.faq-list details>ul{margin:-4px 45px 28px 0;padding-left:20px;color:#6a6862}.faq-list details>ul li{margin:8px 0;line-height:1.55}.faq-list summary{line-height:1.35}

/* Certificações: 25% texto / 75% selos */
.certifications{grid-template-columns:minmax(0,13fr) minmax(0,7fr);gap:48px}.cert-copy h2{font-size:clamp(2.25rem,3.05vw,3.25rem);line-height:1.04;white-space:nowrap}.cert-copy>p{font-size:1.1rem;line-height:1.7}.cert-grid{width:100%;min-width:0}.cert-item{min-width:0;padding:24px 18px}.cert-item img{max-width:100%}
@media(max-width:1050px){.certifications{grid-template-columns:1fr;gap:55px}.cert-copy h2{font-size:clamp(2.4rem,6vw,4.2rem);white-space:normal}}

/* Respostas FAQ em modal */
.faq-list summary{cursor:pointer}.faq-list summary:hover{color:var(--red)}
.faq-modal{width:min(700px,calc(100vw - 32px));max-height:min(85vh,760px);padding:0;border:0;border-top:8px solid var(--yellow);border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 30px 100px rgba(0,0,0,.34);overflow:auto}.faq-modal::backdrop{background:rgba(17,21,22,.78);backdrop-filter:blur(4px)}
.faq-modal>form{position:absolute;top:18px;right:18px;z-index:2}.faq-modal-close{display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;background:var(--yellow);color:var(--ink);font-size:1.8rem;line-height:1;cursor:pointer}.faq-modal-close:hover{background:var(--red);color:#fff}
.faq-modal-content{padding:48px 52px 50px}.faq-modal-content h3{max-width:570px;margin:0 55px 26px 0;font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.08;letter-spacing:-.035em}.faq-modal-content #faq-modal-answer p,.faq-modal-content #faq-modal-answer li{color:#5e6262;font-size:1rem;line-height:1.72}.faq-modal-content #faq-modal-answer ul{padding-left:20px}.faq-modal-content #faq-modal-answer li{margin:8px 0}
@media(max-width:700px){.faq-modal-content{padding:38px 24px 34px}.faq-modal-content h3{margin-right:45px}.faq-modal>form{top:13px;right:13px}.faq-modal-close{width:38px;height:38px}}

/* Título de contacto sempre numa linha */
.contact-intro{max-width:none}.contact-intro h2{white-space:nowrap;font-size:clamp(1.45rem,4.4vw,4.9rem)}

/* Páginas legais internas */
.legal-page{background:#e8ebea}.legal-page .site-header{position:relative;top:20px;margin-bottom:44px}.legal-main{width:var(--site-width);margin:0 auto 24px;padding:0 0 65px;border-radius:var(--site-radius);background:#fff;overflow:hidden}.legal-hero{padding:78px 72px 68px;background:linear-gradient(115deg,var(--yellow-soft) 0 36%,var(--cream) 36%)}.legal-hero h1{max-width:900px;margin:0;text-align:left;font-size:clamp(3rem,6vw,5.7rem);line-height:.95}.legal-hero>p:last-child{margin:25px 0 0;color:#676b6b;font-size:.85rem}.legal-content{width:min(820px,calc(100% - 48px));margin:0 auto;padding:65px 0 20px}.legal-content section{padding:0 0 34px;margin:0 0 36px;border-bottom:1px solid var(--line)}.legal-content h2{margin:0 0 17px;font-size:clamp(1.35rem,2.4vw,2rem);letter-spacing:-.025em}.legal-content p,.legal-content li{color:#5e6262;font-size:1rem;line-height:1.75}.legal-content a{color:var(--red);text-decoration:underline;text-underline-offset:3px}.legal-content ul{padding-left:20px}.legal-back{display:inline-block;margin-left:max(24px,calc((100% - 820px)/2));padding-bottom:7px;border-bottom:3px solid var(--yellow);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.legal-page footer a[aria-current="page"]{color:var(--yellow)}
@media(max-width:700px){.legal-page .site-header{top:9px;margin-bottom:18px}.legal-hero{padding:60px 24px 50px}.legal-hero h1{font-size:clamp(2.5rem,13vw,4.2rem)}.legal-content{padding-top:48px}.legal-main{padding-bottom:48px}}

/* Área de contacto com formulário */
.contact{padding:92px 64px}.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:58px;align-items:start}.contact-intro h2{font-size:clamp(1.65rem,2.7vw,2.35rem)}.contact-intro>p{margin-top:24px}.contact-details{display:grid;gap:20px;margin-top:40px}.contact-details a{display:block}.contact-details span,.contact-details strong,.contact-details small{display:block}.contact-details span{margin-bottom:6px;color:var(--yellow);font-size:.65rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.contact-details strong{font-size:.92rem;line-height:1.55}.contact-details small{margin-top:3px;color:rgba(255,255,255,.58);font-size:.72rem}.map-link{display:inline-block;margin-top:28px;padding-bottom:7px;border-bottom:2px solid var(--yellow);color:var(--yellow);font-size:.75rem;font-weight:800;letter-spacing:.04em}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:32px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 24px 65px rgba(0,0,0,.22)}.form-field{position:relative}.form-full{grid-column:1/-1}.form-field label{position:absolute;top:10px;left:18px;color:#747a7b;font-size:.65rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.form-field input,.form-field textarea{width:100%;border:1px solid #d8dcdd;border-radius:7px;background:#fff;color:var(--ink);font:inherit;outline:none}.form-field input{height:62px;padding:25px 18px 8px}.form-field textarea{min-height:165px;padding:30px 18px 13px;resize:vertical}.form-field input:focus,.form-field textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(227,6,19,.09)}.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-consent{display:flex;align-items:flex-start;gap:10px;font-size:.73rem;line-height:1.45;color:#656a6b}.form-consent input{margin-top:2px;accent-color:var(--red)}.form-consent a{color:var(--red);text-decoration:underline}.form-submit{justify-self:end;min-width:190px;padding:15px 18px;border:0;border-radius:6px;background:var(--red);color:#fff;font-size:.75rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}.form-submit span{margin-left:20px}.form-submit:hover{background:var(--red-dark)}.contact-status{grid-column:1/-1;margin:0;font-size:.82rem;font-weight:700}.contact-status.success{color:#18733b}.contact-status.error{color:var(--red)}
@media(max-width:1050px){.contact-layout{grid-template-columns:1fr;gap:45px}.contact-intro h2{font-size:clamp(1.8rem,5vw,3.3rem)}}
@media(max-width:700px){.contact{padding:65px 20px}.contact-intro h2{font-size:clamp(1.05rem,5.2vw,1.8rem)}.contact-form{grid-template-columns:1fr;padding:22px}.form-field{grid-column:1/-1}.form-consent{grid-column:1/-1}.form-submit{grid-column:1/-1;justify-self:stretch}.contact-details{margin-top:32px}}

/* Rodapé institucional */
.site-footer{display:block;padding:0;background:#172022;color:#aeb4b5;border-top:7px solid var(--yellow);border-radius:var(--site-radius) var(--site-radius) 0 0;font-size:.8rem}.site-footer:after{display:none}.footer-main{display:grid;grid-template-columns:1.4fr .8fr .7fr .8fr;gap:42px;padding:55px 58px 10px}.footer-brand img{width:180px;margin-inline:auto;filter:none;opacity:1}.footer-brand p{width:100%;max-width:none;margin:20px 0 0;color:#c4c9ca;font-size:clamp(.78rem,1.15vw,1rem);line-height:1.55;text-align:center;white-space:nowrap}.footer-main h2{margin:0 0 18px;color:var(--yellow);font-size:.68rem;letter-spacing:.13em;text-transform:uppercase}.footer-contact,.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-contact a,.footer-links a{color:#d8dddd}.footer-contact span{line-height:1.55}.footer-main a:hover{color:var(--yellow)}
.footer-portal{color:#d8dddd;font-weight:400;cursor:default}.ssl-badge-image{display:block;width:144px;height:auto;margin-top:14px;object-fit:contain;filter:none;opacity:1}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:35px;margin:0 28px;padding:18px 30px;border-top:1px solid rgba(255,255,255,.13)}.footer-bottom p{margin:0 0 8px;line-height:1.5}.footer-bottom p:last-child{margin-bottom:0}.footer-bottom p a{color:#fff;font-weight:800}.complaints-link{display:flex;flex:0 0 auto;align-items:center;gap:13px;min-width:220px;padding:13px 17px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.05);color:#fff;text-transform:uppercase}.complaints-link>span{display:grid;width:58px;height:58px;place-items:center;border-radius:50%;background:#fff;color:#283033;font-weight:900}.complaints-link strong{font-size:.7rem;line-height:1.35;letter-spacing:.06em}.complaints-link:hover{border-color:var(--yellow);background:rgba(247,185,0,.08)}
@media(max-width:1050px){.footer-main{grid-template-columns:1fr 1fr;gap:40px}.footer-brand{grid-column:1/-1}}
@media(max-width:700px){.footer-main{grid-template-columns:1fr;padding:42px 24px 12px}.footer-brand{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column;margin:0 18px;padding:18px 6px}.complaints-link{width:100%}}

/* Imagem oficial do Livro de Reclamações */
.complaints-link{min-width:220px;justify-content:center;padding:14px 20px}.complaints-link img{display:block;width:166px;height:65px;object-fit:contain}

/* Footer trust actions: Google review invitation followed by complaints book. */
.footer-actions{display:flex;flex:0 0 auto;align-items:stretch;gap:12px}
.google-review-link{display:flex;min-width:205px;align-items:center;justify-content:center;gap:12px;padding:14px 18px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.05);color:#fff}
.google-review-link:hover{border-color:var(--yellow);background:rgba(247,185,0,.08)}
.google-review-mark{display:block;box-sizing:border-box;flex:0 0 46px;width:46px;height:46px;padding:6px;border-radius:10px;background:#f5f5f5;object-fit:contain;filter:none}
.google-review-copy{display:flex;flex-direction:column;gap:5px}.google-review-copy strong{font-size:.72rem;line-height:1.2}.google-review-stars{color:var(--yellow);font-size:.93rem;letter-spacing:.08em;line-height:1}
@media(max-width:1050px){.footer-bottom{align-items:flex-start;flex-direction:column}.footer-actions{width:100%}.google-review-link,.complaints-link{flex:1}}
@media(max-width:700px){.footer-actions{flex-direction:column}.google-review-link,.complaints-link{width:100%;min-height:92px}}

/* Cabeçalho persistente durante o scroll */
.site-header{position:fixed;z-index:100;box-shadow:0 12px 38px rgba(18,23,24,.14)}
.legal-page{padding-top:1px}.terms-page .legal-hero h1,.privacy-page .legal-hero h1,.cookies-page .legal-hero h1{white-space:nowrap}
.legal-page .site-header{position:fixed;top:20px;margin-bottom:0;z-index:100}
.legal-page .legal-main{margin-top:144px}
@media(max-width:700px){.legal-page .site-header{top:9px}.legal-page .legal-main{margin-top:97px}.terms-page .legal-hero h1{font-size:clamp(1.65rem,8vw,2.5rem)}.privacy-page .legal-hero h1{font-size:clamp(1.35rem,6.8vw,2.35rem)}.cookies-page .legal-hero h1{font-size:clamp(1.55rem,7.4vw,2.4rem)}}

/* Preserve the original 760:333 logo proportions in every placement. */
.brand img,.footer-brand img{display:block;height:auto;aspect-ratio:760/333;object-fit:contain}
.brand img{width:190px}
@media(max-width:700px){.brand img{width:145px}}

/* Original Magilarmes service icons (Font Awesome 4). */
@font-face{font-family:"FontAwesome";src:url("fonts/fontawesome-webfont.woff2") format("woff2");font-weight:normal;font-style:normal;font-display:block}
.service-fa-icon{display:block;min-height:34px;margin-bottom:18px;color:var(--yellow);font-family:"FontAwesome";font-size:2rem;font-style:normal;line-height:1}
.service-fa-extinguisher:before{content:"\f134"}
.service-fa-fire:before{content:"\f06d"}
.service-fa-bell:before{content:"\f0f3"}
.service-fa-camera:before{content:"\f03d"}
.service-card:hover .service-fa-icon{color:var(--yellow)}
.service-card:first-child:hover .service-fa-icon{color:var(--yellow)}

/* Keep each original icon aligned with its service title. */
.service-title-row{display:flex;align-items:center;gap:14px;min-height:58px;margin-bottom:17px}
.service-title-row .service-fa-icon{flex:0 0 34px;width:34px;min-height:34px;margin:0;text-align:center;line-height:34px}
.service-title-row h3{min-height:0;margin:0}
.service-title-row + p{margin-top:0}
@media(max-width:700px){.service-title-row{min-height:48px;gap:12px}.service-title-row .service-fa-icon{flex-basis:30px;width:30px;font-size:1.75rem}}

/* One-time service icon reveal: subtle, staggered and layout-safe. */
.motion-ready .service-card .service-fa-icon{position:relative;opacity:0;transform:translateY(16px) scale(.78) rotate(-7deg);filter:blur(4px)}
.motion-ready .service-card.is-icon-visible .service-fa-icon{opacity:1;transform:translateY(0) scale(1) rotate(0);filter:blur(0);transition:opacity 360ms cubic-bezier(.22,1,.36,1),transform 520ms cubic-bezier(.16,1,.3,1),filter 360ms cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--service-order,0) * 115ms)}
.motion-ready .service-card.is-icon-visible .service-fa-icon:after{content:"";position:absolute;inset:0;border:2px solid var(--yellow);border-radius:50%;pointer-events:none;animation:service-icon-halo 700ms cubic-bezier(.22,1,.36,1) both;animation-delay:calc(180ms + var(--service-order,0) * 115ms)}
@keyframes service-icon-halo{0%{opacity:.65;transform:scale(.65)}100%{opacity:0;transform:scale(1.65)}}
.service-card:nth-child(1){--service-order:0}.service-card:nth-child(2){--service-order:1}.service-card:nth-child(3){--service-order:2}.service-card:nth-child(4){--service-order:3}
@media(prefers-reduced-motion:reduce){.motion-ready .service-card .service-fa-icon,.motion-ready .service-card.is-icon-visible .service-fa-icon{opacity:1;transform:none;filter:none;transition:none}.motion-ready .service-card.is-icon-visible .service-fa-icon:after{display:none;animation:none}}

/* Hero detection signal: a finite, brand-coloured security scan. */
.hero-title-anchor{position:relative;display:inline-block;isolation:isolate}
.hero-title-text{position:relative;z-index:2}
.hero-signal{position:absolute;z-index:1;top:52%;left:-.42em;width:clamp(160px,20vw,280px);aspect-ratio:1;display:grid;place-items:center;transform:translate(-50%,-50%);pointer-events:none}
.hero-signal-core{position:relative;z-index:2;width:22px;height:22px;border:4px solid rgba(255,255,255,.92);border-radius:50%;background:var(--red);box-shadow:0 0 0 9px rgba(247,185,0,.2),0 0 28px rgba(247,185,0,.52);animation:hero-signal-core 3.6s cubic-bezier(.22,1,.36,1) 2 both;pointer-events:auto;cursor:default}
.hero-signal-wave{position:absolute;width:42%;aspect-ratio:1;border:2px solid rgba(247,185,0,.82);border-radius:50%;opacity:0;transform:scale(.55);animation:hero-signal-wave 3.6s cubic-bezier(.16,1,.3,1) 2 both}
.hero-signal-wave:nth-of-type(3){animation-delay:.72s;border-color:rgba(255,255,255,.62)}
.hero-signal-wave:nth-of-type(4){animation-delay:1.44s;border-color:rgba(227,6,19,.72)}
@keyframes hero-signal-wave{0%{opacity:0;transform:scale(.55)}12%{opacity:.78}72%,100%{opacity:0;transform:scale(2.25)}}
@keyframes hero-signal-core{0%,100%{transform:scale(.88);opacity:.76}18%,62%{transform:scale(1);opacity:1}}
@media(max-width:700px){.hero-signal{top:50%;left:-.32em;width:150px;opacity:.62}.hero-signal-core{width:18px;height:18px;border-width:3px}.hero-signal-wave{border-width:1px}}
@media(prefers-reduced-motion:reduce){.hero-signal-wave{display:none;animation:none}.hero-signal-core{animation:none;transform:none;opacity:.82}}

/* Contact icons, matching the original Magilarmes icon set. */
.contact-details a,.contact-detail-item{position:relative;padding-left:30px}
.contact-detail-item span,.contact-detail-item strong{display:block}
.contact-detail-item span{margin-bottom:6px;color:var(--yellow);font-size:.65rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.contact-detail-item strong{font-size:.92rem;line-height:1.55}
.contact-detail-item .contact-days{display:block;margin:0;color:inherit;font-size:.92rem;font-weight:700;line-height:1.55}
.contact-fa-icon{position:absolute;top:2px;left:0;width:18px;color:var(--yellow);font-family:"FontAwesome";font-size:1rem;font-style:normal;line-height:1;text-align:center}
.contact-fa-home:before{content:"\f015"}
.contact-fa-phone:before{content:"\f095"}
.contact-fa-envelope:before{content:"\f0e0"}
.contact-fa-clock:before{content:"\f017"}

/* Embedded location map. Motion is brief, functional and reduced-motion safe. */
button.map-link{border-top:0;border-right:0;border-left:0;background:transparent;font-family:inherit;cursor:pointer}
.map-modal{width:min(1040px,calc(100vw - 40px));max-width:none;margin:auto;padding:0;border:0;border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 30px 90px rgba(0,0,0,.35);overflow:hidden}
.map-modal[open]{animation:map-modal-in 180ms cubic-bezier(.22,1,.36,1) both}
.map-modal.is-closing{animation:map-modal-out 120ms cubic-bezier(.4,0,1,1) both}
.map-modal::backdrop{background:rgba(16,22,23,.72);backdrop-filter:blur(4px)}
.map-modal-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;border-bottom:4px solid var(--yellow)}
.map-modal-head .eyebrow{margin:0 0 7px}.map-modal-head h3{margin:0;font-size:1.7rem}
.map-modal-close{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:1.7rem;line-height:1;cursor:pointer;transition:background 160ms cubic-bezier(.22,1,.36,1),color 160ms cubic-bezier(.22,1,.36,1),transform 160ms cubic-bezier(.22,1,.36,1)}
.map-modal-close:hover{background:var(--red);color:#fff}.map-modal-close:active{transform:scale(.97)}
.map-frame{height:min(56vh,520px);background:var(--cream)}.map-frame iframe{display:block;width:100%;height:100%;border:0}
.map-external{display:inline-block;margin:20px 28px 24px;padding-bottom:5px;border-bottom:2px solid var(--yellow);font-size:.75rem;font-weight:800;letter-spacing:.04em}
@keyframes map-modal-in{from{opacity:0;transform:translateY(8px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes map-modal-out{to{opacity:0;transform:translateY(-5px);filter:blur(2px)}}
@media(max-width:700px){.map-modal{width:calc(100vw - 18px);border-radius:8px}.map-modal-head{padding:20px}.map-modal-head h3{font-size:1.35rem}.map-frame{height:55vh}.map-external{margin-left:20px}}
@media(prefers-reduced-motion:reduce){.map-modal[open],.map-modal.is-closing{animation-duration:.01ms!important}.map-modal-close{transition-duration:.01ms!important}}

/* Updated navigation, accessible service heading, and visual removal of the legacy TEAM word. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.header-cta{font-family:inherit}.header-cta:disabled{opacity:1;cursor:default}.header-cta:disabled:hover{background:var(--red)}
.logo-mark{position:relative;display:block;width:fit-content;line-height:0}
.logo-mark img{clip-path:polygon(0 0,61% 0,61% 35%,100% 35%,100% 100%,0 100%)}
.footer-brand .logo-mark{margin-inline:auto}

/* Hero: identidade visual em destaque e mensagem mais compacta. */
.hero-content{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:88px}
.hero-logo{margin:0 auto 32px}
.hero-logo img{display:block;width:clamp(250px,27vw,350px);height:auto;filter:drop-shadow(0 10px 22px rgba(0,0,0,.32))}
.hero h1{font-size:clamp(2.8rem,5vw,5.25rem);line-height:.93;letter-spacing:-.05em}
.hero-signal{left:-.32em}
@media(max-width:1050px){.hero-content{margin-top:82px}.hero-logo{margin-bottom:27px}.hero-logo img{width:clamp(230px,34vw,310px)}.hero h1{font-size:clamp(2.65rem,6vw,4.25rem)}}
@media(max-width:700px){.hero-content{margin-top:80px}.hero-logo{margin-bottom:24px}.hero-logo img{width:clamp(200px,60vw,270px)}.hero h1{font-size:clamp(1.8rem,8.2vw,2.75rem)}.hero-title-line{white-space:normal}}

.services .section-heading>p{font-size:clamp(1.18rem,1.65vw,1.42rem);line-height:1.6}
@media(max-width:700px){.services .section-heading>p{font-size:1rem;line-height:1.55;white-space:normal}}

/* Cabeçalho fixo, centrado e alinhado com a largura do website. */
.site-header{top:0;left:50%;right:auto;width:var(--site-width);transform:translateX(-50%);border-radius:0 0 var(--site-radius) var(--site-radius);padding-left:36px;padding-right:36px}
.legal-page .site-header{top:0}
.legal-page .legal-main{margin-top:124px}
@media(max-width:1050px){.site-header{top:0;padding-left:24px;padding-right:24px}}
@media(max-width:700px){.site-header,.legal-page .site-header{top:0;padding-left:16px;padding-right:16px}.legal-page .legal-main{margin-top:88px}}

/* Hero com imagem de combate a incêndios e hierarquia mais respirada. */
.hero{background-image:url('images/hero-fire-hose-v2.jpg');background-position:center;background-size:cover}
.hero-content{margin-top:132px}
.hero-logo{margin-bottom:25px}
.hero-logo img{width:clamp(320px,33vw,430px)}
.hero h1{font-size:clamp(2.35rem,4.15vw,4.35rem);line-height:.94}
@media(max-width:1050px){.hero-content{margin-top:122px}.hero-logo img{width:clamp(280px,40vw,370px)}.hero h1{font-size:clamp(2.2rem,5.2vw,3.65rem)}}
@media(max-width:700px){.hero-content{margin-top:112px}.hero-logo{margin-bottom:21px}.hero-logo img{width:clamp(235px,68vw,300px)}.hero h1{font-size:clamp(1.55rem,7.2vw,2.35rem)}}

.cert-item:nth-child(4) img{height:86px;max-width:190px}

/* Catálogo premium de serviços. */
.services{padding-left:clamp(24px,5vw,64px);padding-right:clamp(24px,5vw,64px)}
.service-catalog{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;border:0}
.service-tile{--tile-accent:#f2b500;position:relative;display:flex;min-height:238px;flex-direction:column;align-items:center;justify-content:flex-start;padding:30px 18px 25px;overflow:hidden;background:#fff;border:1px solid #e0e2df;border-radius:4px;text-align:center;box-shadow:0 15px 42px rgba(23,32,34,.075);transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1),border-color .28s}
.service-tile:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:var(--tile-accent)}
.service-tile:hover{transform:translateY(-7px);border-color:color-mix(in srgb,var(--tile-accent) 52%,#dfe2df);box-shadow:0 24px 54px rgba(23,32,34,.14)}
.service-icon-badge{display:grid;flex:0 0 82px;width:82px;height:82px;place-items:center;margin-bottom:22px;border-radius:50%;background:var(--tile-accent);color:#fff;font-family:"FontAwesome";font-size:2.05rem;font-style:normal;line-height:1;box-shadow:0 10px 25px color-mix(in srgb,var(--tile-accent) 28%,transparent);transition:transform .3s cubic-bezier(.22,1,.36,1)}
.service-tile:hover .service-icon-badge{color:#fff;transform:scale(1.055)}
.service-tile h3{max-width:190px;margin:0;color:var(--graphite);font-size:1.03rem;line-height:1.22;letter-spacing:-.015em}
.service-tile p{max-width:205px;min-height:0;margin:12px 0 0;color:#777873;font-size:.78rem;line-height:1.55}
.service-tile:nth-child(1){--tile-accent:#eeb200}.service-tile:nth-child(2){--tile-accent:#bd2433}.service-tile:nth-child(3){--tile-accent:#657173}.service-tile:nth-child(4){--tile-accent:#d66e43}.service-tile:nth-child(5){--tile-accent:#297b8b}.service-tile:nth-child(6){--tile-accent:#9b9257}.service-tile:nth-child(7){--tile-accent:#d7aa2d}.service-tile:nth-child(8){--tile-accent:#6972a5}.service-tile:nth-child(9){--tile-accent:#5a8fa5}.service-tile:nth-child(10){--tile-accent:#9e4f4d}
.service-icon-extinguisher:before{content:"\f134"}.service-icon-door:before{content:"\f2d0"}.service-icon-seal:before{content:"\f132"}.service-icon-detection:before{content:"\f06d"}.service-icon-hose:before{content:"\f043"}.service-icon-sign:before{content:"\f277"}.service-icon-light:before{content:"\f0eb"}.service-icon-alarm:before{content:"\f0f3"}.service-icon-cctv:before{content:"\f03d"}.service-icon-hood:before{content:"\f0f5"}
.motion-ready .service-tile .service-icon-badge{opacity:0;transform:translateY(14px) scale(.86)}
.motion-ready .service-tile.is-icon-visible .service-icon-badge{opacity:1;transform:none;transition:opacity .35s cubic-bezier(.22,1,.36,1),transform .52s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--service-order,0) * 55ms)}
.service-tile:nth-child(1){--service-order:0}.service-tile:nth-child(2){--service-order:1}.service-tile:nth-child(3){--service-order:2}.service-tile:nth-child(4){--service-order:3}.service-tile:nth-child(5){--service-order:4}.service-tile:nth-child(6){--service-order:5}.service-tile:nth-child(7){--service-order:6}.service-tile:nth-child(8){--service-order:7}.service-tile:nth-child(9){--service-order:8}.service-tile:nth-child(10){--service-order:9}
@media(max-width:1050px){.service-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.service-tile{min-height:220px}}
@media(max-width:700px){.service-catalog{grid-template-columns:1fr;gap:12px}.service-tile{min-height:0;padding:25px 20px}.service-icon-badge{flex-basis:74px;width:74px;height:74px;margin-bottom:18px;font-size:1.9rem}.service-tile p{max-width:280px}}
@media(prefers-reduced-motion:reduce){.motion-ready .service-tile .service-icon-badge,.motion-ready .service-tile.is-icon-visible .service-icon-badge{opacity:1;transform:none;transition:none}.service-tile{transition:none}}

/* Portal do Cliente: botão delineado e discreto. */
.header-cta,.header-cta:disabled,.header-cta:disabled:hover{min-height:46px;padding:0 16px;background:#fff;color:var(--red);border:1px solid var(--red);border-radius:8px;box-shadow:none;font-size:.86rem;font-weight:700;letter-spacing:0;text-transform:none;opacity:1;cursor:default}
@media(max-width:700px){.header-cta,.header-cta:disabled,.header-cta:disabled:hover{min-height:42px;padding:0 12px;font-size:.75rem;box-shadow:none}}

/* Área de atuação regional: conteúdo local útil e semanticamente visível. */
.service-area{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:clamp(48px,7vw,90px);align-items:center;background:linear-gradient(135deg,#fff 0 68%,#f4f1e9 68%)}
.service-area-copy h2{max-width:700px;font-size:clamp(2.45rem,4vw,4.35rem)}
.service-area-copy>p:not(.eyebrow){max-width:760px;margin:25px 0 0;color:#656966;font-size:1.03rem;line-height:1.78}
.service-area-copy>p strong{color:var(--graphite);font-weight:750}
.service-area-copy .text-link{color:var(--red);border-bottom-color:var(--yellow)}
.service-area-panel{position:relative;padding:36px 34px 32px;background:var(--graphite);color:#fff;border-top:7px solid var(--yellow);box-shadow:18px 18px 0 var(--red)}
.service-area-panel>p{margin:0 0 25px;color:var(--yellow);font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.service-area-panel ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
.service-area-panel li{display:grid;gap:7px;padding:18px 0;border-top:1px solid rgba(255,255,255,.15)}
.service-area-panel li strong{font-size:1rem}.service-area-panel li span{color:#c7cdcd;font-size:.86rem;line-height:1.55}
@media(max-width:1050px){.service-area{grid-template-columns:1fr}.service-area-panel{width:min(620px,calc(100% - 18px))}}
@media(max-width:700px){.service-area{gap:40px;background:#fff}.service-area-copy h2{font-size:clamp(2.1rem,11vw,3.35rem)}.service-area-copy>p:not(.eyebrow){font-size:.96rem}.service-area-panel{width:calc(100% - 10px);padding:30px 24px 25px;box-shadow:10px 10px 0 var(--red)}}

.hero-topic{display:block;margin:0 0 17px;color:var(--yellow);font-family:Arial,Helvetica,sans-serif;font-size:clamp(.68rem,.9vw,.82rem);font-style:normal;font-weight:800;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;text-shadow:none}
@media(max-width:700px){.hero-topic{max-width:300px;margin:0 auto 13px;font-size:.61rem;letter-spacing:.08em}}

/* Bloco regional preservado no código e temporariamente oculto. */
.service-area{display:none}

/* Telefone do rodapé em formato de contacto rápido. */
.footer-contact a[href^="tel:"]{display:inline-flex;align-items:center;align-self:flex-start;gap:7px;margin:2px 0;padding:4px 10px 4px 5px;background:transparent;color:#35b958!important;border:2px solid #35b958;border-radius:999px;font-size:.78rem;font-weight:700;line-height:1;white-space:nowrap;transition:background .18s,color .18s,transform .18s}
.footer-contact a[href^="tel:"]:before{content:"\f095";display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:#35b958;color:#fff;font-family:"FontAwesome";font-size:.7rem;font-weight:normal}
.footer-contact a[href^="tel:"]:hover{background:rgba(53,185,88,.12);color:#35b958!important;transform:translateY(-1px)}

/* Ajustes de leitura e pictogramas dos serviços. */
.services-title{font-size:clamp(2.65rem,4.15vw,4.35rem);line-height:.96;letter-spacing:-.05em}
.service-icon-door{position:relative;isolation:isolate}
.service-icon-door:before{content:"";position:absolute;z-index:1;top:50%;left:50%;width:34px;height:44px;border:3px solid currentColor;border-radius:2px;box-sizing:border-box;transform:translate(-50%,-50%)}
.service-icon-door:after{content:none}
.door-leaf{position:absolute;z-index:3;top:50%;left:calc(50% - 14px);width:24px;height:38px;background:#c52638;border:2px solid #fff;border-radius:1px;box-shadow:5px 1px 0 rgba(107,8,20,.32);transform:translateY(-50%) perspective(75px) rotateY(-36deg);transform-origin:left center}
.door-leaf:after{content:"";position:absolute;top:50%;right:4px;width:3px;height:3px;border-radius:50%;background:#fff;transform:translateY(-50%)}
.door-flame{position:absolute;z-index:2;top:50%;left:calc(50% + 8px);color:var(--yellow);font-family:"FontAwesome";font-size:1.2rem;font-style:normal;line-height:1;transform:translate(-50%,-42%)}
.door-flame:before{content:"\f06d"}
.service-icon-seal:before{content:"";width:58px;height:38px;background:url('images/icon-selagens-corta-fogo.png') center/contain no-repeat}
@media(max-width:700px){.services-title{font-size:clamp(2.35rem,11vw,3.2rem)}.service-icon-door:before{width:32px;height:41px}.door-leaf{left:calc(50% - 13px);width:22px;height:35px}.door-flame{left:calc(50% + 7px);font-size:1.08rem}.service-icon-seal:before{width:52px;height:34px}}

