.home-discover{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.home-discover-card{position:relative;min-height:520px;overflow:hidden;background:#48453f;color:#fff;display:flex;align-items:flex-end}
.home-discover-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.home-discover-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.1) 20%,rgba(0,0,0,.67) 75%,rgba(0,0,0,.8))}
.home-discover-copy{position:relative;z-index:1;padding:50px clamp(28px,4.4vw,72px);max-width:680px}
.home-discover-copy>.eyebrow{display:block;color:#eeece5;font-size:9px;margin-bottom:20px}
.home-discover-copy h2{font-family:var(--serif);font-size:clamp(44px,4.5vw,68px);font-weight:400;line-height:.98;letter-spacing:-.035em;margin:0 0 22px;color:#fff}
.home-discover-copy h2 em{font-weight:400}.home-discover-copy p{font-size:14px;line-height:1.85;max-width:450px;margin:0 0 27px;color:#fff}
.home-discover-button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;border:1px solid #ffffffb3;min-height:48px;padding:12px 20px;font-size:12px;color:white}
.home-discover-button .icon{width:19px;height:19px}.home-discover-button:hover{background:#fff;color:#111}
.home-discover-note{font-size:10px;color:#77736c;text-align:right;margin:8px var(--gutter) 0}
.home-brands{padding:80px var(--gutter) 70px;text-align:center;scroll-margin-top:110px}
.home-brands>.eyebrow{display:block;margin-bottom:26px}.home-brands h2{font-family:var(--serif);font-size:clamp(46px,5vw,76px);line-height:1.02;letter-spacing:-.04em;font-weight:400;margin:0 0 25px}
.home-brands h2 em{font-weight:400}.home-brands-intro{font-size:15px;color:#62615e;line-height:1.85;margin:0 auto;max-width:720px}
.home-brand-mark{display:flex;align-items:center;justify-content:center;min-width:0;min-height:108px;padding:21px 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-brand-mark>span{display:block;overflow-wrap:normal;font-size:19px;line-height:1.2;letter-spacing:.055em;text-wrap:balance}
.brand-type-sans>span{font-family:var(--sans,Arial,sans-serif);text-transform:uppercase;font-weight:600;font-size:17px}
.brand-type-serif>span{font-family:var(--serif);font-weight:600;font-size:25px}
.brand-type-script>span{font-family:var(--serif);font-style:italic;font-size:28px;font-weight:600;letter-spacing:-.03em}
.home-brand-note{font-size:11px;line-height:1.8;color:#77736c;margin:20px auto 0}
.home-company{background:#f3f1eb;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
@media(max-width:1100px){.home-discover-card{min-height:490px}.home-discover-copy{padding:40px 30px}.home-discover-copy h2{font-size:54px}.home-discover-copy p{font-size:13px}.brand-type-sans>span{font-size:14px}.brand-type-serif>span{font-size:22px}}
@media(max-width:800px){.home-discover-card{min-height:490px}.home-discover-copy{padding:32px 25px}.home-discover-copy h2{font-size:48px}.home-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-brands{padding-top:58px;padding-bottom:55px}.home-brands h2{font-size:60px}.home-brand-mark{border-top:0}.home-brand-grid:not(.home-brand-more) .home-brand-mark:nth-child(-n+3){border-top:1px solid var(--line)}}
@media(max-width:600px){.home-discover{grid-template-columns:1fr}.home-discover-card{min-height:465px}.home-discover-copy{padding:38px 25px}.home-discover-copy h2{font-size:54px}.home-discover-copy p{font-size:14px;line-height:1.8}.home-discover-copy>.eyebrow{font-size:9px}.home-discover-button{min-height:48px;font-size:12px}.home-brands{padding:52px 22px}.home-brands h2{font-size:49px}.home-brands-intro{font-size:14px}.home-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:30px}.home-brand-mark{min-height:92px;padding:20px 12px}.home-brand-grid:not(.home-brand-more) .home-brand-mark:nth-child(3){border-top:0}.home-brand-more{margin-top:0}.brand-type-sans>span{font-size:15px}.brand-type-serif>span{font-size:24px}.home-brand-toggle{font-size:12px}.home-brands>.eyebrow{font-size:9px;margin-bottom:22px}.home-company .local-intro{font-size:14px}}

/* Swipeable, single-row brand gallery. */
.home-brand-carousel{margin:42px auto 0;max-width:1440px}
.home-brand-track{display:flex;list-style:none;padding:0;margin:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-brand-track::-webkit-scrollbar{display:none}
.home-brand-track .home-brand-mark{flex:0 0 calc(100% / 6);min-height:112px;border:0;scroll-snap-align:start}
.home-brand-track:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.home-brand-navigation{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-top:24px}
.home-brand-swipe{font-size:11px;color:#77736c}
.home-brand-arrows{display:flex;gap:10px}
.home-brand-arrow{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--brand-blue);background:var(--brand-blue);color:white;font-size:25px;line-height:1;cursor:pointer}
.home-brand-arrow:disabled{background:transparent;color:#aaa7a1;border-color:var(--line);cursor:default}
.home-brand-arrow:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px}
@media(hover:hover){.home-brand-arrow:not(:disabled):hover{background:var(--brand-blue-hover);border-color:var(--brand-blue-hover)}}
@media(max-width:1000px){.home-brand-track .home-brand-mark{flex-basis:25%}}
@media(max-width:600px){.home-brand-carousel{margin-top:30px}.home-brand-track .home-brand-mark{flex-basis:43%;min-height:108px;padding:18px 12px}.home-brand-navigation{justify-content:space-between;gap:12px;margin-top:18px}.home-brand-swipe{font-size:10px;text-align:left}.home-brand-arrow{width:44px;height:44px}.home-brand-track .brand-type-sans>span{font-size:14px}}

.hero-image img{object-position:52% center}
@media(max-width:600px){.hero-image img{object-position:52% center}}
.hero-image-caption{color:#fff;background:linear-gradient(90deg,#0009,transparent);text-shadow:0 1px 4px #0008}

.city-art-photo{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:#716047}
.city-art-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% center;z-index:-2}
.city-art-photo:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0003,transparent 30%,#0002 45%,#0009)}
.city-art-photo .city-art-word{color:#fff;text-shadow:0 2px 14px #0008;top:auto;bottom:65px}
.city-art-photo .city-art-index,.city-art-photo .city-art-footer{color:#fff;text-shadow:0 1px 5px #000}

.city-art-photo-porto>img{object-position:95% 50%;transform:scale(2.3);transform-origin:95% 50%}

.city-art-photo-caldas>img{object-position:42% 60%;transform:scale(1.35);transform-origin:42% 60%}

.home-insurances{margin-top:35px;padding-top:50px;padding-bottom:45px}
.home-insurances .insurance-card{min-height:150px;padding:18px 14px}
.home-insurances .insurance-logo{height:73px;margin-bottom:12px}.home-insurances .insurance-logo svg{height:68px}
.home-insurances-actions{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1440px;margin:30px auto 0}
.home-insurances-actions p{font-size:12px;color:#62615e;line-height:1.8;max-width:500px;margin:0}
.home-insurances-actions .button{font-size:12px;white-space:nowrap}
@media(max-width:800px){.home-insurances-actions{flex-direction:column;align-items:flex-start;gap:18px}.home-insurances .insurance-card{min-height:140px}.home-insurances-actions .button{white-space:normal}}

.home-stores-first{background:var(--blue);padding:28px 0 26px}
.home-stores-first-inner{width:100%;max-width:none;margin:auto}
.home-stores-first-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin:0 var(--gutter) 20px}
.home-stores-first-heading .eyebrow{font-size:9px;margin-bottom:7px}
#page .home-stores-first-heading h2{font-size:28px;line-height:1.25;letter-spacing:-.025em}
.home-stores-first-heading p{font-size:12px;line-height:1.7;margin:0}
.home-stores-first-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 12px}
.home-store-mini{display:block;min-width:0}
.home-store-mini-photo{position:relative;overflow:hidden;background:#d6e1e5;aspect-ratio:2}
.home-store-mini-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 62%;filter:saturate(.62) contrast(.93) brightness(1.04);transition:transform .2s}
.home-store-mini-photo:after{content:'';position:absolute;inset:0;pointer-events:none;background:#517c9720;mix-blend-mode:color}
.home-store-mini-alcobaca img{filter:saturate(.55) contrast(.92) brightness(.98);object-position:50% 48%}
.home-store-mini-caldas-da-rainha img{filter:saturate(.65) contrast(.94) brightness(1.15);object-position:42% 60%;transform:scale(1.65);transform-origin:42% 60%}
.home-store-mini-porto-de-mos img{filter:saturate(.62) contrast(.94) brightness(1.15);object-position:95% 46%;transform:scale(1.8);transform-origin:95% 50%}
.home-store-mini-label{display:flex;align-items:center;gap:12px;padding-top:11px;min-height:42px;font-size:18px;line-height:1.4;font-weight:500;letter-spacing:-.02em}
.home-store-mini-label .icon{width:18px;height:18px}
.city-strip .city-link>.icon{margin-left:0}
@media(hover:hover){.home-store-mini:hover img{transform:scale(1.025)}.home-store-mini:hover .home-store-mini-label{text-decoration:underline;text-underline-offset:4px}}
@media(max-width:800px){.home-stores-first-heading{align-items:flex-start;flex-direction:column;gap:8px}.home-stores-first-heading p{display:none}.home-stores-first-grid{gap:10px;padding:0 10px}.home-store-mini-label{font-size:16px;gap:8px}.home-store-mini-photo{aspect-ratio:1.65}#page .home-stores-first-heading h2{font-size:25px}}
@media(max-width:560px){.home-stores-first{padding:21px 0 18px}.home-stores-first-heading{margin-bottom:16px}#page .home-stores-first-heading h2{font-size:23px}.home-stores-first-grid{gap:6px;padding:0 6px}.home-store-mini-photo{aspect-ratio:1}.home-store-mini-label{font-size:12px;align-items:flex-start;line-height:1.45;padding-top:8px;gap:5px;min-height:44px}.home-store-mini-label .icon{width:13px;height:13px;margin-top:2px}.home-store-mini-label{justify-content:flex-start}}
.home-store-mini-label{display:block}.home-store-mini-label .icon{display:inline-block;vertical-align:-3px;margin-left:6px}@media(max-width:560px){.home-store-mini-label .icon{vertical-align:-2px;margin-left:4px;margin-top:0}}

/* Keep the tighter store framing when a card is hovered. */
@media(hover:hover){.home-store-mini-caldas-da-rainha:hover img{transform:scale(1.685)}.home-store-mini-porto-de-mos:hover img{transform:scale(1.835)}}
@media(max-width:800px){.home-store-mini-porto-de-mos img{transform-origin:95% 43%}}

/* Crop above the digital phoropter, excluding the overhead lamp. */
.home-services-photo{position:absolute;inset:0;width:100%;height:100%;display:block}
.home-services-card:after{background:linear-gradient(180deg,#0000 0%,#0000 30%,#0008 65%,#000d 100%)}

/* Campaign navigation is generated from the campaign collection. */
.hero-carousel{position:relative;touch-action:pan-y pinch-zoom;outline-offset:-3px}
.hero-slide[hidden]{display:none!important}
.hero-carousel .hero-slide{animation:hero-reveal .2s ease-out}
.hero-slide>.hero-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#page .hero-slide h2.hero-title{font-size:clamp(42px,4.4vw,66px);line-height:.98;letter-spacing:-.04em;font-weight:400;margin:0}
.hero-slide-ray-ban-meta .hero-image{background:#230808}
.hero-slide-ray-ban-meta .hero-image>img{object-fit:contain;object-position:center}
.hero-carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px var(--gutter);border-top:1px solid var(--line);background:var(--paper)}
.hero-carousel-hint{font-size:11px;letter-spacing:.03em;color:var(--muted)}
.hero-carousel-navigation,.hero-carousel-dots{display:flex;align-items:center;gap:8px}
.hero-carousel-arrow,.hero-carousel-dot{display:grid;place-items:center;width:44px;height:44px;border:0;background:none;cursor:pointer;color:var(--ink)}
.hero-carousel-arrow{border:1px solid var(--line)}
.hero-carousel-arrow .icon{width:20px;height:20px}
.hero-carousel-dot span{width:8px;height:8px;border:1px solid var(--ink);border-radius:50%;background:transparent;transition:background .15s,transform .15s}
.hero-carousel-dot[aria-current="true"] span{background:var(--ink);transform:scale(1.25)}
.hero-carousel-arrow:hover{background:#e7e4dd}
.hero-swipe-hint{display:none}
.hero-carousel button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@keyframes hero-reveal{from{opacity:.65}to{opacity:1}}
@media(max-width:800px){#page .hero-slide h2.hero-title{font-size:46px}.hero-carousel-controls{padding:8px 24px}}
@media(max-width:600px){#page .hero-slide h2.hero-title{font-size:clamp(40px,10.5vw,58px);line-height:1.02}.hero-carousel-controls{gap:8px;padding:7px 20px}.hero-carousel-hint{font-size:10px;max-width:150px;line-height:1.7}.hero-carousel-navigation,.hero-carousel-dots{gap:0}.hero-swipe-hint{display:inline}.hero-slide-ray-ban-meta .hero-actions{gap:16px;flex-wrap:wrap}.hero-slide-ray-ban-meta .hero-image{height:104vw;min-height:370px;max-height:520px}}
@media(prefers-reduced-motion:reduce){.hero-carousel .hero-slide{animation:none}.hero-carousel-dot span{transition:none}}

/* Overlay campaign controls on the photograph. */
.hero-carousel-controls{position:absolute;z-index:3;left:calc(45% + 20px);right:20px;bottom:16px;padding:0;border:0;background:none;justify-content:flex-end;pointer-events:none}
.hero-carousel-controls .hero-carousel-hint{display:none}
.hero-carousel-navigation{pointer-events:auto;background:rgba(255,255,255,.94);color:#111;border:1px solid #ffffff80;border-radius:999px;padding:4px 8px;box-shadow:0 3px 20px #0002}
.hero-carousel-arrow{border:0;border-radius:50%}
.hero-slide-ray-ban-meta .hero-image{background:#e8e8e8}
.hero-slide-ray-ban-meta .hero-image>img{object-fit:contain;object-position:center}
.hero-slide-ray-ban-meta .hero-image-caption{top:22px;right:22px;left:auto;bottom:auto;margin:0;padding:13px 17px;max-width:260px;background:#111c;color:#fff;font-family:var(--sans);font-size:clamp(20px,2.1vw,29px);line-height:1.3;letter-spacing:-.02em;text-shadow:none}
@media(max-width:600px){.hero-carousel-controls{left:12px;right:12px;bottom:12px;justify-content:center;padding:0;gap:0}.hero-carousel-navigation{padding:2px 6px}.hero-slide-perspetiva .hero-image-caption{bottom:85px}.hero-slide-ray-ban-meta .hero-image-caption{top:16px;right:16px;padding:10px 13px;font-size:19px;max-width:190px}}

/* Respect the supplied photograph's resolution and proportions. */
.hero-slide-ray-ban-meta .hero-image>img{inset:auto;left:50%;top:50%;width:min(100%,424px);height:min(100%,471px);object-fit:contain;transform:translate(-50%,-50%)}
.hero-slide-ray-ban-meta .hero-image-caption{background:none;padding:0;font-size:18px;line-height:1.5;max-width:210px;color:#111;text-shadow:0 1px 3px #fff}
@media(max-width:600px){.hero-slide-ray-ban-meta .hero-image-caption{font-size:15px;top:15px;right:15px;max-width:155px;background:none;padding:0}}

.hero-slide-cofidis-pay .hero-image{background:#f4ede3}
#page .hero-slide-cofidis-pay>.hero-image>img{inset:0;width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.hero-slide-cofidis-pay .hero-image-caption{top:24px;left:24px;bottom:auto;right:auto;background:none;padding:0;text-shadow:none}
.hero-cofidis-logo{display:block;width:min(270px,65vw);height:auto}
.hero-slide-cofidis-pay .hero-note{font-size:11px;line-height:1.7;letter-spacing:0;text-transform:none}
@media(max-width:600px){.hero-cofidis-logo{width:200px}.hero-slide-cofidis-pay .hero-image-caption{left:18px;top:18px}.hero-slide-cofidis-pay .hero-note{display:flex;margin-top:18px}.hero-slide-cofidis-pay .hero-actions{flex-wrap:wrap;gap:15px}}

/* Official higher-resolution campaign photograph; no stretching or caption panel. */
.hero-slide-ray-ban-meta .hero-image>img{inset:0;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 32%;transform:none}
.hero-slide-ray-ban-meta .hero-image-caption{top:auto;right:auto;left:24px;bottom:26px;max-width:230px;font-size:18px;line-height:1.5;color:#fff;background:none;padding:0;text-shadow:0 1px 4px #0008}
@media(max-width:600px){.hero-slide-ray-ban-meta .hero-image-caption{top:auto;right:auto;left:20px;bottom:85px;font-size:15px;max-width:210px;background:none;padding:0}}
#page .hero-slide-ray-ban-meta .hero-image-caption{font-size:18px;background:none;padding:0}
.hero-slide-cofidis-pay .hero-image-caption .hero-cofidis-logo{position:static;inset:auto;display:block;width:270px;max-width:65vw;height:auto;object-fit:contain;transform:none}
@media(max-width:600px){#page .hero-slide-ray-ban-meta .hero-image-caption{font-size:15px}.hero-slide-cofidis-pay .hero-image-caption .hero-cofidis-logo{width:200px}}

@media(max-width:600px){#page .hero-slide-cofidis-pay>.hero-image{height:auto;min-height:0;max-height:none;aspect-ratio:6/5}}

/* Brand logos share one canvas, with the brand name consistently underneath. */
.home-brand-track{gap:18px;border:0;padding:2px 0 6px}
.home-brand-track .home-brand-mark{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex:0 0 calc((100% - 54px)/4);padding:0;min-width:0;min-height:0;border:0}
.home-brand-logo{display:grid;place-items:center;aspect-ratio:1.45;background:#fff;border:1px solid #e4e3df;border-radius:18px;padding:24px;overflow:hidden}
.home-brand-logo img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;filter:grayscale(1) brightness(.6) contrast(5);opacity:.65;mix-blend-mode:multiply}
#page .home-brand-mark>.home-brand-name{display:block;margin-top:13px;padding:0 3px;font:500 14px/1.5 var(--sans);letter-spacing:0;color:#414141;text-transform:none;text-align:left;white-space:normal}
@media(max-width:1000px){.home-brand-track .home-brand-mark{flex-basis:calc((100% - 36px)/3)}}
@media(max-width:600px){.home-brand-track{gap:12px}.home-brand-track .home-brand-mark{flex-basis:calc((100% - 12px)/2);padding:0;min-height:0}.home-brand-logo{padding:18px;border-radius:14px;aspect-ratio:1.25}#page .home-brand-mark>.home-brand-name{font-size:12px;margin-top:10px}}

.home-brand-logo>svg{display:block;width:100%;height:100%;min-height:0;max-height:120px;overflow:hidden;filter:grayscale(1) brightness(.6) contrast(5);opacity:.65;mix-blend-mode:multiply}

/* Keep the campaign wordmarks inside the image, independently of its crop. */
.hero-ray-ban-meta-logo{position:absolute;z-index:2;right:24px;bottom:96px;width:clamp(170px,20vw,250px);height:62px;pointer-events:none}
.hero-ray-ban-meta-logo>svg{display:block;width:100%;height:100%;filter:brightness(0) invert(1) drop-shadow(0 1px 3px #0006)}
@media(max-width:600px){.hero-ray-ban-meta-logo{right:20px;bottom:150px;width:180px;height:48px}}

/* Nuance Audio: approved product-focused campaign. */
.hero-slide-nuance-audio .hero-copy{background:#f1f2f2}
#page .hero-slide-nuance-audio .hero-title{font-size:clamp(38px,4.1vw,62px);font-weight:600;line-height:1.08}
.hero-slide-nuance-audio .hero-image{background:#fff}
.hero-slide-nuance-audio>.hero-image>img{object-fit:contain;object-position:center;padding:32px 24px 66px}
#page .hero-slide-nuance-audio .hero-image-caption{top:26px;right:28px;bottom:auto;left:auto;padding:0;background:none;color:#111;text-shadow:none;font-size:23px;letter-spacing:-.05em}
.hero-slide-nuance-audio .hero-detail{font-size:12px;margin-top:14px}
.hero-slide-nuance-audio .hero-note{font-size:11px;line-height:1.7;margin-top:24px;text-transform:none;letter-spacing:0}
.hero-slide-nuance-audio .button{background:#007fa8;border-color:#007fa8;color:#fff}
.hero-slide-nuance-audio .button:hover{background:#006783}
@media(max-width:600px){.hero-slide-nuance-audio .hero-note{display:flex}.hero-slide-nuance-audio .hero-image{height:auto;min-height:0;max-height:none;aspect-ratio:1/1.15}.hero-slide-nuance-audio>.hero-image>img{padding:25px 12px 62px}#page .hero-slide-nuance-audio .hero-title{font-size:clamp(38px,10vw,54px)}}
