*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#182026;line-height:1.6}.wrap{width:min(1120px,92%);margin:auto}header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #e7eaec}.nav{height:76px;display:flex;align-items:center;justify-content:space-between}.logo{font-weight:900;letter-spacing:.08em;color:#182026;text-decoration:none;font-size:1.15rem}.logo small{font-weight:500;font-size:inherit}.nav nav{display:flex;gap:28px}.nav nav a{color:#182026;text-decoration:none;font-weight:700}.menu{display:none;border:0;background:none;font-size:1.5rem}.hero{min-height:670px;display:flex;align-items:center;background:linear-gradient(110deg,#eef2f3,#fff);overflow:hidden}.hero-in{padding:80px 0}.eyebrow{font-size:.78rem;letter-spacing:.16em;font-weight:800;color:#65717a;margin:0 0 14px}.hero h1{font-size:clamp(3rem,7vw,5.7rem);line-height:.98;letter-spacing:-.055em;margin:0 0 25px}.hero h1 span{color:#5b6870}.lead{font-size:1.2rem;max-width:680px;color:#526069}.actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}.btn{display:inline-block;padding:13px 22px;border-radius:5px;text-decoration:none;font-weight:800}.dark{background:#182026;color:#fff}.outline{border:1px solid #182026;color:#182026}.section{padding:95px 0}.section h2{font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.05;margin:0 0 35px;letter-spacing:-.04em}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cards article{padding:32px;border:1px solid #e3e7e9;border-radius:8px}.ico{display:block;font-size:2rem;margin-bottom:18px}.cards h3{font-size:1.3rem;margin:0 0 10px}.cards p,.muted{color:#65717a}.light{background:#f5f7f7}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.gallery div{aspect-ratio:4/3;background:#dfe4e6;border-radius:6px;display:grid;place-items:center;color:#68747b;font-weight:700}.dark{background:#182026;color:#fff}.dark .eyebrow{color:#aab5bb}.split{display:grid;grid-template-columns:1fr 1fr;gap:80px}.dark p:not(.eyebrow){color:#d1d8dc;font-size:1.08rem}.contact{background:#eef2f3}.contact-box{display:flex;flex-direction:column;gap:18px;justify-content:center}.contact-box a:not(.btn){color:#182026;text-decoration:none;font-size:1.25rem;font-weight:700}.center{text-align:center}footer{background:#101619;color:#aeb8bd}.foot{min-height:90px;display:flex;align-items:center;justify-content:space-between;font-size:.9rem}@media(max-width:700px){.nav nav{display:none;position:absolute;left:0;right:0;top:76px;background:#fff;padding:18px 4%;flex-direction:column;gap:10px;border-bottom:1px solid #ddd}.nav nav.open{display:flex}.menu{display:block}.hero{min-height:620px}.section{padding:70px 0}.cards,.gallery,.split{grid-template-columns:1fr}.split{gap:30px}.foot{flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:20px 0}}
@media(max-width:980px){.cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cards-4{grid-template-columns:1fr}}

.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:20;background:#16834a;color:#fff;text-decoration:none;font-weight:800;padding:14px 20px;border-radius:999px;box-shadow:0 5px 20px rgba(0,0,0,.2)}.whatsapp-float:hover{filter:brightness(.95)}

/* Portfolio de obras */
.intro-gallery{max-width:800px;font-size:1.07rem;margin-top:-11px}
.gallery-heading{font-size:clamp(1.35rem,3vw,1.9rem);margin:42px 0 6px;letter-spacing:-.025em}
.gallery-note{color:#65717a;margin:0 0 22px;font-size:.94rem}
.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.project-card{background:#fff;border:1px solid #e3e8ea;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px rgba(20,34,40,.055)}
.project-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;background:#dee4e5}
.project-images figure{margin:0;min-width:0;position:relative;height:240px;background:#cbd2d5;overflow:hidden}
.project-images img{width:100%;height:100%;object-fit:cover;display:block}
.project-images figcaption{position:absolute;left:12px;bottom:12px;background:rgba(17,30,36,.9);color:#fff;padding:6px 11px;border-radius:4px;letter-spacing:.11em;font-size:.72rem;font-weight:800}
.project-copy{padding:18px 20px 22px}
.project-copy h4{font-size:1.1rem;margin:0 0 5px;line-height:1.3}
.project-copy p{margin:0;color:#65717a;font-size:.93rem}
.featured-project-card{grid-column:1/-1}
.project-images.portadas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-images.portadas-grid figure{height:265px}
.extra-heading{margin-top:55px;margin-bottom:20px}
.more-works{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.more-work{margin:0;background:#fff;border-radius:10px;overflow:hidden;border:1px solid #e3e8ea}
.more-work img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.more-work figcaption{padding:13px 14px;font-weight:700;font-size:.9rem;line-height:1.4}
.gallery-cta{font-size:1.1rem;margin-top:36px;font-weight:700}
.gallery-cta a{color:#182026;text-underline-offset:4px}
@media(max-width:900px){.projects{grid-template-columns:1fr}.more-works{grid-template-columns:repeat(2,minmax(0,1fr))}.project-images figure{height:280px}.project-images.portadas-grid figure{height:240px}}
@media(max-width:500px){.project-images figure{height:200px}.project-images.portadas-grid figure{height:185px}.more-works{grid-template-columns:1fr 1fr;gap:10px}.more-work figcaption{font-size:.82rem;padding:9px 10px}}


/* Destaque da marquise e galeria ampliável */
.gallery-hint{color:#53636b;font-size:.94rem;margin:10px 0 26px;display:flex;align-items:center;gap:8px}
.gallery-hint::before{content:'↗';font-weight:900;color:#182026;font-size:1.1rem}
.featured-work{margin:30px 0 48px;padding:26px;background:#fff;border:1px solid #e3e8ea;border-radius:14px;box-shadow:0 7px 26px rgba(20,34,40,.06)}
.featured-head{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:22px}
.featured-head h3{font-size:clamp(1.5rem,3.5vw,2.35rem);line-height:1.15;letter-spacing:-.035em;margin:0 0 12px}
.featured-head p:not(.eyebrow){color:#53636b;max-width:650px;margin:0}
.featured-cta{flex-shrink:0;padding:10px 15px;border:1px solid #182026;border-radius:5px;text-decoration:none;color:#182026;font-weight:800;font-size:.92rem}
.featured-cta:hover{background:#182026;color:#fff}
.featured-photos{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.featured-photos figure{margin:0;min-width:0;position:relative;overflow:hidden;border-radius:8px;background:#dce2e5}
.featured-photos .photo-trigger{height:285px}
.featured-photos img{height:100%;width:100%;object-fit:cover;display:block}
.featured-photos figcaption{position:absolute;bottom:12px;left:12px;background:rgba(20,32,38,.88);color:#fff;padding:7px 12px;border-radius:4px;font-size:.81rem;font-weight:800;pointer-events:none}
.photo-trigger{border:0;padding:0;display:block;width:100%;height:100%;background:transparent;cursor:zoom-in;position:relative;overflow:hidden;text-align:left;}
.photo-trigger img{transition:transform .18s ease;}
.photo-trigger:hover img{transform:scale(1.025)}
.photo-trigger:focus-visible{outline:3px solid #377d95;outline-offset:-3px;z-index:2}
.more-work .photo-trigger{height:auto}
.more-work .photo-trigger img{aspect-ratio:4/3}
body.modal-open{overflow:hidden}
.lightbox[hidden]{display:none!important}
.lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;color:#fff}
.lightbox-backdrop{position:absolute;inset:0;background:rgba(8,14,20,.94)}
.lightbox-inner{position:relative;width:min(1200px,100%);height:100%;max-height:100dvh;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;grid-template-rows:60px minmax(0,1fr);align-items:center;gap:0;padding:10px 8px 22px;z-index:1}
.lightbox-top{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:0 20px 0 25px}
.lightbox-counter{color:#c8d1d8;font-size:.87rem;font-weight:700;letter-spacing:.03em}
.lightbox-close,.lightbox-arrow{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s;border-radius:50%;font-family:Arial,sans-serif}
.lightbox-close:hover,.lightbox-arrow:hover{background:rgba(255,255,255,.24)}
.lightbox-close:focus-visible,.lightbox-arrow:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lightbox-close{font-size:28px;width:44px;height:44px}
.lightbox-arrow{font-size:40px;width:48px;height:48px;justify-self:center;z-index:2}
.lightbox-prev{grid-column:1;grid-row:2}
.lightbox-next{grid-column:3;grid-row:2}
.lightbox-photo{grid-column:2;grid-row:2;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;touch-action:pan-y}
.lightbox-photo img{display:block;max-width:100%;max-height:calc(100% - 60px);min-height:0;object-fit:contain;border-radius:3px;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.lightbox-caption{font-size:.96rem;text-align:center;margin:0;max-width:100%;color:#fff;line-height:1.35}
@media(max-width:700px){.featured-work{padding:16px;margin-top:20px}.featured-head{display:block}.featured-cta{display:inline-block;margin-top:17px}.featured-photos{grid-template-columns:1fr;gap:10px}.featured-photos .photo-trigger{height:230px}.lightbox-inner{grid-template-columns:45px minmax(0,1fr) 45px;padding:7px 2px 14px;grid-template-rows:55px minmax(0,1fr)}.lightbox-top{padding:0 10px}.lightbox-arrow{width:36px;height:42px;font-size:30px}.lightbox-photo img{max-height:calc(100% - 70px)}.lightbox-caption{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){.photo-trigger img{transition:none}}


/* Identidade Dupla Caixilharia e contactos da equipa — outubro de 2026 */
.nav .logo{display:flex;align-items:center;flex-shrink:0;line-height:1;letter-spacing:normal;text-decoration:none;}
.nav .logo img{display:block;width:clamp(190px,21vw,260px);height:auto;max-height:65px;object-fit:contain;}
.nav nav{gap:clamp(12px,2vw,28px)}
.hero-contact-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:23px;}
.hero-contact-links a{color:#132d42;text-decoration:none;border-bottom:1px solid #b8c5ce;padding-bottom:3px;font-size:1rem;}
.hero-contact-links a:hover,.contact-phone:hover,.contact-email:hover{text-decoration:underline;text-underline-offset:4px}
.hero-contact-name{color:#667783;}
.contact-box{gap:15px;}
.contact-person{padding:14px 18px;background:#fff;border:1px solid #dce4e8;border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;gap:0;}
.contact-person-name{font-size:.88rem;letter-spacing:.015em;color:#586a78;font-weight:700;}
.contact-box .contact-person a.contact-phone{font-size:1.4rem;line-height:1.35;color:#112c43;font-weight:800;}
.contact-box a.contact-email{font-size:1.04rem;overflow-wrap:anywhere;}
@media(max-width:700px){.nav{height:78px}.nav nav{top:78px}.nav .logo img{width:clamp(185px,55vw,230px);max-height:60px}.hero-contact-links{gap:8px 15px}.hero-contact-links a{font-size:.98rem;}.contact-box .contact-person a.contact-phone{font-size:1.3rem;}}
@media(max-width:360px){.nav .logo img{width:185px}.hero-contact-links{flex-direction:column;align-items:flex-start}}


/* Informação sobre perfis — cartões claros e originais, sem copiar catálogos de terceiros */
html{scroll-padding-top:90px}
.systems-section{background:#fff}
.systems-intro{max-width:770px;color:#52626d;font-size:1.08rem;margin:-12px 0 30px}
.system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.system-card{border:1px solid #dbe4ea;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(25,40,54,.05);display:flex;flex-direction:column}
.system-illustration{position:relative;background:#e9f0f4}
.system-illustration img{width:100%;height:auto;display:block;aspect-ratio:13/8;object-fit:cover}
.system-illustration-tag{position:absolute;left:15px;bottom:14px;border:1px solid #d2dde3;border-radius:5px;background:rgba(255,255,255,.94);padding:5px 9px;font-size:.73rem;color:#546474;font-weight:700}
.system-content{padding:25px 26px 27px;display:flex;flex-direction:column;flex:1}
.system-overline{font-size:.72rem;letter-spacing:.1em;font-weight:800;color:#6a8191;margin:0 0 8px}
.system-content h3{font-size:1.85rem;line-height:1.13;letter-spacing:-.035em;margin:0 0 13px;color:#152f46}
.system-content>p:not(.system-overline){color:#51616a;margin:0 0 17px;font-size:.98rem;line-height:1.65}
.system-specs{margin:0 0 22px;display:grid;gap:0}
.system-specs div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;border-top:1px solid #e5eaef;padding:10px 0}
.system-specs dt{font-size:.85rem;color:#596b78}
.system-specs dd{margin:0;text-align:right;font-weight:800;font-size:.88rem;color:#1b3448}
.system-official{margin-top:auto;display:inline-flex;align-items:center;gap:6px;color:#1a4d70;font-weight:800;font-size:.91rem;text-decoration:underline;text-underline-offset:4px}
.system-official:hover{color:#0d293a}
.systems-disclaimer{font-size:.78rem;color:#63727a;max-width:950px;margin:23px 0 24px;line-height:1.6}
.systems-bottom{background:#eef3f6;border-radius:10px;padding:24px 26px;display:flex;justify-content:space-between;gap:22px;align-items:center}
.systems-bottom strong{font-size:1.1rem;color:#1a3448}
.systems-bottom p{margin:3px 0 0;color:#556570;font-size:.92rem}
.systems-bottom .btn{white-space:nowrap}
@media(max-width:880px){.system-grid{grid-template-columns:1fr}.system-content{padding:24px}.systems-bottom{align-items:flex-start;flex-direction:column}.nav nav{gap:14px}.nav nav a{font-size:.95rem}}
@media(max-width:780px){.nav nav{display:none;position:absolute;left:0;right:0;top:76px;background:#fff;padding:18px 4%;flex-direction:column;gap:10px;border-bottom:1px solid #ddd}.nav nav.open{display:flex}.menu{display:block}.system-specs div{gap:10px}}
@media(max-width:480px){.system-specs div{display:block}.system-specs dd{text-align:left;padding-top:2px}.systems-bottom{padding:19px}.systems-intro{font-size:1rem}}
/* Zoom real com dois dedos, duplo toque, arrastar e botões */
.lightbox-photo{overflow:hidden;gap:6px;position:relative}
.lightbox-viewport{width:100%;min-width:0;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;overscroll-behavior:contain;cursor:zoom-in;position:relative}
.lightbox-viewport.is-zoomed{cursor:grab}
.lightbox-viewport.is-dragging{cursor:grabbing}
.lightbox-viewport img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none;transform-origin:center center;will-change:transform;border-radius:2px;box-shadow:0 6px 25px rgba(0,0,0,.28)}
.lightbox-zoom-controls{display:flex;gap:5px;align-items:center;justify-content:center;margin:2px 0 0}
.lightbox-zoom-controls button{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.11);color:#fff;border-radius:7px;min-width:42px;height:36px;cursor:pointer;font-size:1.25rem;font-weight:700}
.lightbox-zoom-controls button:hover{background:rgba(255,255,255,.23)}
.lightbox-zoom-controls button:focus-visible{outline:2px solid white;outline-offset:2px}
.lightbox-zoom-controls .zoom-reset{font-size:.87rem;min-width:54px}
.lightbox-caption{font-size:.9rem;margin:3px 0 0;max-height:2.5em;overflow:hidden;line-height:1.25}
.lightbox-zoom-tip{font-size:.73rem;line-height:1.2;margin:0 0 1px;text-align:center;color:#b7c6ce}
@media(max-width:700px){.lightbox-inner{grid-template-columns:37px minmax(0,1fr) 37px;grid-template-rows:53px minmax(0,1fr);padding:7px 0 15px}.lightbox-arrow{width:30px;height:42px;font-size:30px}.lightbox-photo{gap:5px}.lightbox-zoom-controls button{height:39px}.lightbox-caption{font-size:.78rem}.lightbox-zoom-tip{font-size:.69rem;max-width:90%}}
@media(max-width:380px){.lightbox-arrow{width:27px}.lightbox-inner{grid-template-columns:30px minmax(0,1fr) 30px}}


/* Perfis com leitura mais simples para clientes */
.system-illustration{padding:12px 12px 0}
.system-illustration img{aspect-ratio:45/31;border-radius:12px 12px 0 0;background:#e9f0f4}
.system-specs{margin-bottom:16px}
.system-points{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:10px}
.system-points li{background:#f4f7f9;border:1px solid #e2eaee;border-radius:10px;padding:10px 12px;color:#4f606b;font-size:.94rem;line-height:1.5}
.system-points strong{color:#19354a}
.system-illustration-tag{font-size:.76rem;padding:6px 10px}
@media(max-width:480px){.system-points li{font-size:.92rem}}

/* Link para a política de privacidade */
footer .foot a{color:#e8b449;text-decoration:underline;text-underline-offset:3px;font-weight:650}
footer .foot a:hover{color:#fff}
