/* Estilos proprios de index.html. O que e comum as cinco paginas vive em
   ../base.css, carregado antes desta folha. */

@property --split {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}
:root {
  --ink: #131313;
  --ink-deep: #0A0A0A;
  --leaf: #B8933F;
  --brass: #CBC9C6;
  --ivory: #E8DCC4;
  --paper: #fffdf8;
  --rose: #B8933F;
  --charcoal: #131313;
  --gold: #B8933F;
  --silver: #CFCECD;
  --silver-deep: #A4A19E;
  /* aco escovado, amostrado da foto do cliente */
  --steel-hi: #E6E5E4;
  --steel-light: #C2C0BE;
  --steel: #94918E;
  --steel-deep: #86837F;
  --line: color-mix(in srgb, var(--ink) 22%, transparent);
}
html { scroll-behavior: smooth; background: var(--ivory); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button { color: inherit; font: inherit; }
::selection { background: var(--brass); color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }

.skip-link {
  position: fixed; z-index: 999; left: 1rem; top: 1rem;
  padding: .75rem 1rem; background: var(--paper); color: var(--ink);
  transform: translateY(-180%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.topline {
  position: fixed; z-index: 120; top: 0; left: 0; width: 0; height: 3px;
  background: var(--brass); pointer-events: none;
}

.header {
  position: fixed; z-index: 100; inset: 0 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 6.4rem; padding: 0 var(--pad); color: #000;
  background: linear-gradient(101deg,
    var(--steel) 0%, var(--steel-light) 12%, var(--steel-hi) 24%, #ACAAA7 38%,
    #D8D7D5 52%, var(--steel) 66%, #CFCECC 80%, #A3A09D 92%, var(--steel-deep) 100%);
  transition: background .25s, color .25s, height .25s, box-shadow .25s;
}
.header.scrolled {
  height: 5.2rem; color: #000;
  background: linear-gradient(101deg,
    var(--steel) 0%, var(--steel-light) 12%, var(--steel-hi) 24%, #ACAAA7 38%,
    #D8D7D5 52%, var(--steel) 66%, #CFCECC 80%, #A3A09D 92%, var(--steel-deep) 100%);
  box-shadow: 0 1px 0 color-mix(in srgb, #000 18%, transparent); backdrop-filter: blur(14px);
}
.nav a, .menu-toggle {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.nav-local { display: none; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 1rem; padding-left: 2rem; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; inset: auto 0 -.4rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { padding: .8rem 1rem; border: 1px solid currentColor; }
.nav .nav-cta::after { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; padding: .7rem 0; cursor: pointer; }
.language-toggle {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-width: 4.4rem;
  padding: .68rem .8rem; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.language-toggle::after { content: ""; width: .38rem; height: .38rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.language-list {
  position: absolute; right: 0; top: calc(100% + .55rem); width: 13.7rem; margin: 0; padding: .45rem;
  list-style: none; border: 1px solid var(--line); border-radius: 1rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 1.2rem 3rem rgb(11 35 30 / 20%);
  opacity: 0; visibility: hidden; transform: translateY(-.4rem); transition: opacity .2s, visibility .2s, transform .2s;
}
.language-option {
  display: flex; justify-content: space-between; width: 100%; padding: .72rem .8rem;
  border: 0; border-radius: .6rem; background: transparent; color: inherit; cursor: pointer;
  font-size: .88rem; text-align: left;
}
.language-option:hover, .language-option.active { background: #e7ecea; }
.language-option small { color: #82908d; font-size: .65rem; letter-spacing: .14em; }

.sound-toggle {
  display: flex; align-items: center; justify-content: center; gap: .55rem; min-width: 4.6rem;
  padding: .68rem .8rem; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.sound-toggle:hover { transform: translateY(-2px); background: var(--paper); color: var(--ink); }
.sound-bars { display: flex; align-items: end; gap: 2px; width: 1rem; height: 1rem; }
.sound-bars i { width: 2px; height: 30%; background: currentColor; transform-origin: bottom; }
.sound-bars i:nth-child(2) { height: 80%; }
.sound-bars i:nth-child(3) { height: 52%; }
.sound-toggle.playing .sound-bars i { animation: soundbar .8s ease-in-out infinite alternate; }
.sound-toggle.playing .sound-bars i:nth-child(2) { animation-delay: -.45s; }
.sound-toggle.playing .sound-bars i:nth-child(3) { animation-delay: -.2s; }
.sound-copy { display: grid; gap: .1rem; text-align: left; }
.sound-copy strong { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.sound-copy small { display: none; }
@keyframes soundbar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.eyebrow {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem;
  font-size: .69rem; font-weight: 700; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase;
}
/* .eyebrow::before removido */
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 13ch; margin-bottom: 1.6rem; font-family: var(--display);
  font-size: clamp(3.8rem, 8.5vw, 9rem); font-weight: 400; line-height: .84; letter-spacing: -.065em;
}
h1 em {
  color: var(--rose); font-weight: 400;
  background: linear-gradient(100deg, var(--rose) 15%, var(--paper) 48%, var(--rose) 78%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: hair-shine 5.5s ease-in-out infinite;
}
@keyframes mark-breathe { 0%, 100% { opacity: .52; transform: translateY(0); } 50% { opacity: .72; transform: translateY(-.8rem); } }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem;
  min-width: 13rem; min-height: 2.75rem; padding: .8rem 1.15rem; border: 1px solid currentColor;
  font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s;
}
.button::after { content: "↗"; font-size: 1rem; }
.button:hover { transform: translateY(-2px); background: var(--paper); color: var(--ink); }

.locations {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(1.5rem, 3vw, 2.5rem); color: #000; --ink: #000;
  background: linear-gradient(135deg, #F0EFEE 0%, var(--silver) 45%, var(--silver-deep) 100%);
}
.locations-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 2.5rem; }
.locations-logo { width: 14rem; height: auto; flex-shrink: 0; filter: brightness(0); }
.locations-head .section-heading { margin-bottom: 0; text-align: left; color: #000; }
.locations-head .section-heading em { color: var(--gold); font-style: italic; }
.local { display: grid; grid-template-rows: auto auto auto 1fr; gap: 1rem; min-width: 0; }
.local-title { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 400; line-height: 1.15; }
.local-title a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.local-title a:hover, .local-title a:focus-visible { border-bottom-color: currentColor; }
#aveiro .local-title { color: #2B3D27; }
#ilhavo .local-title { color: #253034; }
.local-link { margin: -.6rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.local-link a { color: inherit; text-decoration: none; opacity: .72; transition: opacity .2s; }
.local-link a:hover, .local-link a:focus-visible { opacity: 1; text-decoration: underline; }
#aveiro .local-link { color: #2B3D27; }
#ilhavo .local-link { color: #253034; }
.local-main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.local-main img { transition: opacity .2s, transform .6s cubic-bezier(.2,.7,.3,1); }
.local-main a { display: block; height: 100%; }
.local-main a:hover img, .local-main a:focus-visible img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .local-main a:hover img, .local-main a:focus-visible img { transform: none; } }
.carousel-dot { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 55%); cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dot.active { background: #fff; transform: scale(1.3); }
.carousel-single .carousel-arrow, .carousel-single .carousel-dots { display: none; }
.local-info p { margin: 0 0 .4rem; font-size: .95rem; line-height: 1.6; color: color-mix(in srgb, var(--ink) 78%, white); }

.flyers { padding: clamp(2rem, 4vw, 3rem) var(--pad) clamp(2rem, 4vw, 3rem); background: var(--brass); color: var(--ink-deep); }
.flyers-head .section-heading em { color: var(--gold); }
.flyers-head { margin-bottom: 3rem; }
.flyers-head .section-heading { margin-bottom: 0; }
.strip { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--ink-deep); }
.strip-rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: none; padding-inline: var(--pad); }
.strip-rail::-webkit-scrollbar { display: none; }
.strip-track { display: flex; gap: clamp(.8rem, 1.4vw, 1.4rem); width: max-content; }
.strip-photo { position: relative; flex: 0 0 clamp(11rem, 19vw, 17rem); margin: 0; aspect-ratio: 3 / 4;
  overflow: clip; scroll-snap-align: center; cursor: zoom-in; background: #000;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s; }
.strip-photo img { transition: transform .8s cubic-bezier(.2,.7,.3,1), filter .5s; filter: saturate(.78) contrast(1.04) brightness(.92); }
.strip-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgb(255 255 255 / 22%) 0%, transparent 38%);
  opacity: 0; transition: opacity .5s; }
.strip-photo:hover, .strip-photo:focus-within { transform: translateY(-.5rem); box-shadow: 0 1.6rem 3rem rgb(0 0 0 / 55%); }
.strip-photo:hover img { transform: scale(1.09); filter: saturate(1.06) contrast(1) brightness(1); }
.strip-photo:hover::after { opacity: 1; }
.strip-nav { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.4rem; padding-inline: var(--pad); }
.strip-arrow { width: 2.9rem; height: 2.9rem; border: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
  background: none; color: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s; }
.strip-arrow:hover, .strip-arrow:focus-visible { background: var(--brass); border-color: var(--brass); color: var(--ink-deep); }
@media (prefers-reduced-motion: reduce) {
  .strip-photo, .strip-photo img { transition: none; }
  .strip-photo:hover img { transform: none; }
}
.flyer-rail { overflow: visible; }
/* auto-fit + minmax: a grelha escolhe o numero de colunas sozinha,
   de 7 num ecra largo ate 2 num telemovel, sem media queries. */
.flyer-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 42%), 1fr));
  gap: clamp(.6rem, 1vw, 1.2rem);
  width: auto;
}
.flyer { margin: 0; cursor: zoom-in; }
.flyer img { transition: transform .45s ease; }
.flyer { overflow: clip; }
.flyer:hover img, .flyer:focus-within img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .flyer img { transition: none; } .flyer:hover img { transform: none; } }
.lightbox:not([open]) { display: none; }
.lightbox[open] { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4vmin;
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  background: color-mix(in srgb, var(--ink-deep) 88%, black); border: 0; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 60rem); max-height: 92vh; width: auto; height: auto; }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.4rem; width: 2.6rem; height: 2.6rem; border: 1px solid var(--paper);
  background: none; color: var(--paper); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.flyer img { aspect-ratio: 4 / 5; object-fit: contain; background: var(--paper); border: 1px solid var(--line); }
.flyer figcaption { margin-top: .8rem; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }

.intro {
  display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(6rem, 12vw, 11rem) var(--pad); background: var(--paper);
}
.section-tag { font-size: .65rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.intro h2, .section-heading {
  margin-bottom: 2.5rem; font-family: var(--display); font-size: clamp(3rem, 6.7vw, 7.2rem);
  font-weight: 400; line-height: .91; letter-spacing: -.055em;
}
h1.section-heading { max-width: none; }
.intro h2 em, .section-heading em { color: var(--brass); font-weight: 400; }
.intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 52rem; }
.intro-copy p { margin: 0; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.65; color: color-mix(in srgb, var(--ink) 78%, white); }

.marquee {
  overflow: hidden; padding: 1.2rem 0; background: var(--gold); color: var(--ink); border-block: 1px solid rgb(255 255 255 / 18%);
}
.marquee-track > span { display: flex; align-items: baseline; font-family: var(--display); font-size: clamp(1.55rem, 3vw, 3rem); font-style: italic; white-space: nowrap; }
.mq { display: block; }
.marquee-services { text-transform: capitalize; }
.mq::after { content: "\2726"; margin-inline: .5em; color: color-mix(in srgb, var(--ink) 45%, transparent); font-style: normal; }
.marquee-link { display: block; color: inherit; text-decoration: none; transition: background .25s; text-transform: capitalize; }
.marquee-link:hover, .marquee-link:focus-visible { background: color-mix(in srgb, var(--gold) 82%, black); }
.services .section-heading em { color: var(--leaf); }
.services-head .section-heading { max-width: 10ch; margin: 0; }

.feature {
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: 52rem; background: var(--ink); color: var(--paper);
}
.feature-media { position: relative; min-height: 45rem; overflow: hidden; }
.feature-media::after { content: "LOIROS"; position: absolute; right: -2rem; bottom: 2rem; font-family: var(--display); font-size: clamp(5rem, 12vw, 13rem); line-height: .7; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 38%); transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; }
.feature-media img { object-position: center top; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); }
.feature-copy .section-heading { margin-bottom: 2rem; }
.feature-copy > p { max-width: 34rem; line-height: 1.7; color: rgb(255 253 248 / 76%); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 2.2rem 0 2.8rem; border-top: 1px solid rgb(255 255 255 / 22%); }
.checks span { padding: 1rem .5rem 1rem 0; border-bottom: 1px solid rgb(255 255 255 / 22%); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.checks span::before { content: "✦"; margin-right: .7rem; color: var(--brass); }


.diagnosis {
  position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(6rem, 12vw, 12rem) var(--pad); background: var(--brass); color: var(--ink-deep); overflow: hidden;
}
.diagnosis::before { content: "316"; position: absolute; right: -2vw; top: -6vw; font-family: var(--display); font-size: clamp(12rem, 30vw, 32rem); font-style: italic; line-height: .8; color: var(--ink); pointer-events: none; }
.diagnosis-media { position: relative; z-index: 1; align-self: start; height: min(72vw, 52rem); }
.diagnosis-media img { object-position: center; }
.diagnosis-media figcaption { position: absolute; right: -2rem; bottom: 2rem; padding: 1rem; background: var(--brass); color: var(--ink-deep); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.diagnosis-copy { position: relative; z-index: 1; align-self: start; }
.diagnosis-copy .section-heading { max-width: 9ch; }
.diagnosis-copy .section-heading em { color: var(--gold); }
.diagnosis-copy > p { max-width: 38rem; font-size: 1.08rem; line-height: 1.7; }
.lookbook .section-heading em { color: var(--leaf); }
.lookbook-head .section-heading { margin: 0; }
.look-like {
  position: absolute; z-index: 4; top: 1rem; right: 1rem; display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; padding: 0; border: 1px solid rgb(255 255 255 / 62%); border-radius: 50%;
  background: rgb(11 35 30 / 48%); color: var(--paper); cursor: pointer; backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-.5rem) scale(.88); transition: opacity .2s, transform .25s, background .2s, color .2s;
}
.shot:hover .look-like, .look-like:focus-visible, .look-like.liked { opacity: 1; transform: none; }
.look-like:hover { transform: scale(1.08); }
.look-like.liked { background: var(--brass); color: var(--ink-deep); border-color: var(--brass); }
.look-like svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.look-like.liked svg { fill: currentColor; }
@keyframes sparkle-burst { from { opacity: 1; transform: translate(-50%, -50%) scale(.4); } to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--spin)) scale(1.25); } }

@keyframes heading-kinetic {
  from { opacity: .08; filter: blur(10px); clip-path: inset(0 100% 0 0); transform: translateX(-7vw) skewX(-7deg); }
  to { opacity: 1; filter: blur(0); clip-path: inset(0); transform: none; }
}
@keyframes service-enter { from { opacity: .15; transform: translateX(-5rem); } to { opacity: 1; transform: none; } }
@keyframes image-parallax { from { transform: scale(1.14) translateY(4%); } to { transform: scale(1.14) translateY(-4%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-heading {
      animation: heading-kinetic linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 34%;
    }
    .feature-media img, .diagnosis-media img, .diagnosis-media video {
      animation: image-parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}
.motion-fallback .section-heading, .motion-fallback .service { opacity: 0; transform: translateY(2.5rem); transition: opacity .75s, transform .75s cubic-bezier(.2,.8,.2,1); }
.motion-fallback .section-heading.trend-visible, .motion-fallback .service.trend-visible { opacity: 1; transform: none; }

.contact-section { position: relative; overflow: hidden; background: var(--ink-deep); color: var(--paper); }
.contact-section::before { content: "AVEIRO"; position: absolute; left: -3vw; bottom: -4vw; font-family: var(--display); font-size: 21vw; line-height: .7; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 11%); pointer-events: none; }
.contact-lead { max-width: 39rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.65; color: rgb(255 253 248 / 75%); }
.contact-row dt { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.badges-contact a { text-decoration: none; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1023.98px) {
  .locations { grid-template-columns: 1fr; }
  .header { grid-template-columns: 1fr auto; }
  .nav-local { display: block; }
  .header-actions { grid-column: 2; gap: .8rem; }
  .menu-toggle { display: block; justify-self: end; color: inherit; }
  .nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center;
    justify-self: stretch; width: 100vw; max-width: none; height: 100dvh;
    gap: 2.2rem; padding: 6rem var(--pad); background: var(--ink-deep); color: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-1rem); transition: opacity .25s, visibility .25s, transform .25s;
  }
  .nav.open { z-index: -1; opacity: 1; visibility: visible; transform: none; }
  .nav a { font-family: var(--display); font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 400; letter-spacing: -.04em; text-transform: none; }
  .nav .nav-cta { padding: 0; border: 0; }
  .language-list { position: fixed; right: 1rem; top: 4.5rem; width: min(13.7rem, calc(100vw - 2rem)); }
  .intro { grid-template-columns: 1fr; }
  .feature, .diagnosis, .contact-wrap { grid-template-columns: 1fr; }
  .feature-copy { grid-row: 1; }
  .feature-media { min-height: 40rem; }
  .diagnosis-media { width: min(82%, 40rem); height: 42rem; }
}

@media (max-width: 767.98px) {
  .locations-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .locations-logo { width: 9rem; }
  .header { height: 4.9rem; }
  .header.scrolled { height: 4.5rem; }
  .header-actions { gap: .65rem; }
  .language-toggle { min-width: 3.8rem; padding: .58rem .65rem; }
  .sound-toggle { min-width: 2.65rem; width: 2.65rem; height: 2.45rem; padding: .55rem; }
  .sound-copy { display: none; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.3rem); }
  .button { width: 100%; }
  .intro-copy { grid-template-columns: 1fr; }
  .feature-media { min-height: 34rem; }
  .feature-copy { padding-inline: var(--pad); }
  .checks { grid-template-columns: 1fr; }
  .diagnosis-media { width: calc(100% - 1.5rem); height: 30rem; }
  .diagnosis-media figcaption { right: -.75rem; bottom: 1rem; }
  .look-like { opacity: 1; transform: none; }
  .contact-row { grid-template-columns: 1fr; gap: .45rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@keyframes spotlight-drift { from { transform: translate3d(-6%, -2%, 0); } to { transform: translate3d(7%, 4%, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- afinacao para telemovel --- */

@supports (height: 100dvh) {
  .lightbox img { max-height: 92dvh; }
}
@media (max-width: 767.98px) {
  /* Em telemovel a goteira encosta ao minimo, mas nunca entra no notch. */
  :root { --pad: max(1.25rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  /* A ultima faixa da pagina afasta-se da barra de gestos. */
  .signature { padding-bottom: calc(3.2rem + env(safe-area-inset-bottom, 0px)); }
  .nav { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
  .contact-row a, .local-info a, .footer a, .diagnosis-copy a, .feature-copy a { display: inline-block; padding-block: .3rem; }
  .diagnosis-media figcaption, .feature-media figcaption { right: 0; }
}

/* --- alvos tacteis: minimo 44x44 em toque. Override, fica no fim. --- */
@media (pointer: coarse) {
  .menu-toggle { min-height: 44px; min-width: 44px; padding-block: .95rem; }
  .language-toggle { min-height: 44px; }
  .language-option { min-height: 44px; }
  .sound-toggle { min-height: 44px; min-width: 44px; }
  .skip-link, .top-back, .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .badge { min-height: 44px; }
  .footer a, .footer span a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .contact-row dd a, .local-info a, .feature-copy a, .diagnosis-copy a, .intro-copy a,
  .local-title a, .signature-credit a, .signature-copy a, p.eyebrow a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .strip-arrow, .lightbox-close, .look-like { min-height: 44px; min-width: 44px; }
  .look-like { opacity: 1; transform: none; }
}
