/* ==========================================================================
   Clínica Camargo · Direção A "Ateliê de Família"
   Editorial em marfim, verde-floresta nos momentos de impacto, dourado nos detalhes.
   ========================================================================== */

/* TOKENS ------------------------------------------------------------------ */
:root {
  --bg: #F7F1E7;          /* marfim, fundo principal */
  --bg-2: #EFE6D7;        /* areia, fundo secundário */
  --surface: #0F2A22;     /* verde-floresta, blocos escuros */
  --surface-2: #0A1F19;   /* verde mais profundo: menu e rodapé */
  --text: #1D2A25;
  --text-2: #4A5A53;
  --text-inv: #F3EDE2;
  --text-inv-2: #C9C1B2;
  --accent: #BE9D67;      /* dourado: botões e destaques */
  --accent-light: #DCBB85;
  --accent-ink: #7E5F31;  /* dourado escuro: texto pequeno sobre claro (AA) */
  --border: rgba(29, 42, 37, .14);
  --border-inv: rgba(220, 187, 133, .24);
  --hover: #CFB07C;
  --focus: #7E5F31;
  --focus-inv: #DCBB85;
  --success: #2F6B4F;
  --error: #9B2C2C;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-body: 1.0625rem;
  --fs-small: .8125rem;
  --fs-h1: clamp(2.75rem, 1.4rem + 5.6vw, 5.75rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --fs-h3: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);

  --space-section: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1280px;
  --header-h: 76px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-curtain: cubic-bezier(.77, 0, .18, 1);
}

/* BASE -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; color: var(--accent-ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.section--dark :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--focus-inv); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }
.section--sand { background: var(--bg-2); }
.section--dark { background: var(--surface); color: var(--text-inv); }
.section--dark em { color: var(--accent-light); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--surface-2); padding: 12px 18px; font-weight: 500; }
.skip:focus { top: 12px; }

/* Rótulos ----------------------------------------------------------------- */
.eyebrow, .kicker, .feature__tag, .doctor__tag {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.kicker { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.kicker span {
  font-family: var(--serif); font-size: 1.125rem; font-style: italic; letter-spacing: 0;
  padding-right: 14px; border-right: 1px solid currentColor; line-height: 1;
}
.kicker--inv { color: var(--accent-light); }
.h2 { font-size: var(--fs-h2); margin-bottom: 28px; }
.h2--xl { font-size: clamp(2.75rem, 1.4rem + 5vw, 5.25rem); }

/* Botões e links ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px;
  font-family: var(--sans); font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
}
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--accent); color: var(--surface-2); }
.btn--gold:hover { background: var(--hover); }
.btn--dark { background: var(--surface); color: var(--text-inv); }
.btn--dark:hover { background: var(--surface-2); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .75rem; }
.btn--lg { min-height: 60px; padding: 18px 34px; }

.link-line {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link-line:hover { color: var(--accent-ink); background-size: 30% 1px; }

/* PROGRESSO DE LEITURA ---------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* MENU -------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-2); color: var(--text-inv);
  border-bottom: 1px solid var(--border-inv);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.header__logo { display: block; margin-right: auto; padding-block: 10px; }
.header__logo img { height: 50px; width: auto; }
.nav ul { display: flex; gap: 32px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .75rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--text-inv-2);
  transition: color .3s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--accent-light); }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  :root { --header-h: 66px; }
  .header__logo img { height: 40px; }
  .header__cta { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -12px;
    background: none; border: 0; color: var(--text-inv); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 1px; background: currentColor; transition: transform .35s var(--ease-out), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto; background: var(--surface-2);
    border-bottom: 1px solid var(--border-inv);
    padding: 8px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease-out), opacity .3s, visibility 0s .4s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease-out), opacity .3s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--border-inv); }
  .nav a { width: 100%; min-height: 56px; font-size: .875rem; color: var(--text-inv); }
}

/* HERO -------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; }
.hero__grid {
  display: grid; gap: 48px 0;
  grid-template-columns: 1fr;
  grid-template-areas: "copy" "media" "stats";
}
.hero__copy { grid-area: copy; }
.hero__title { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.01em; margin-bottom: 32px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 34rem; font-size: 1.125rem; color: var(--text-2); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

.hero__media { grid-area: media; position: relative; max-width: 520px; width: 100%; justify-self: center; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 4.6; overflow: hidden;
  border-radius: 999px 999px 4px 4px;
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__media::before {
  /* arco dourado deslocado: ecoa o contorno do dente no logo */
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--accent); border-radius: 999px 999px 4px 4px; pointer-events: none;
}
.hero__seal {
  position: absolute; left: -14px; bottom: 32px; width: clamp(96px, 22vw, 132px); height: auto;
  border-radius: 50%; box-shadow: 0 0 0 6px var(--bg);
}

.stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 22px 12px 0 0; }
.stats > div + div { padding-left: clamp(12px, 3vw, 32px); border-left: 1px solid var(--border); }
.stats dd { font-family: var(--serif); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; color: var(--accent-ink); }
.stats dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); line-height: 1.4; }

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px;
    grid-template-areas:
      "copy copy copy copy copy copy copy media media media media media"
      "stats stats stats stats stats stats . media media media media media";
    align-items: end;
  }
  .hero__copy { align-self: center; }
  .hero__media { justify-self: end; align-self: center; max-width: none; }
  .hero__seal { left: -56px; }
}

/* Entrada do hero (no carregamento) */
[data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; }
[data-d="4"] { --d: 4; } [data-d="5"] { --d: 5; } [data-d="6"] { --d: 6; }
.hero__in { --d: 0; }
/* Só CSS (não depende do JS carregar), para não piscar na primeira pintura */
.hero__in { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 100ms); }
.hero__title .hero__in { animation-name: rise-line; }
.hero__media.hero__in { animation-name: rise-soft; } /* sem opacidade: não atrasa o LCP */
@keyframes rise-soft { from { transform: translateY(28px); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise-line { from { opacity: 0; transform: translateY(105%); } }

/* 01 HISTÓRIA ------------------------------------------------------------- */
.history { background: var(--bg-2); }
.history__grid { display: grid; gap: 48px; }
.history__media figcaption { margin-top: 14px; font-size: var(--fs-small); color: var(--text-2); font-style: italic; font-family: var(--serif); font-size: 1rem; }
.history__media .mask { aspect-ratio: 1023 / 814; }
.history__media img { width: 100%; height: 100%; object-fit: cover; }
.history__copy > p { max-width: 36rem; color: var(--text-2); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; padding-top: 28px; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); }
.timeline::after { background: var(--accent-ink); transform-origin: 0 50%; transform: scaleX(var(--drawn, 1)); transition: transform 1.6s var(--ease-curtain); }
.js .timeline::after { --drawn: 0; }
.js .timeline.is-in::after { --drawn: 1; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; top: -33px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--accent-ink);
}
.timeline strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.1; color: var(--accent-ink); }
.timeline span { display: block; font-size: .9375rem; line-height: 1.5; color: var(--text-2); margin-top: 6px; }

@media (min-width: 960px) {
  .history__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
  .history__media { grid-column: 1 / 7; margin-left: calc(var(--gutter) * -1); }
  .history__media figcaption { text-align: right; }
  .history__copy { grid-column: 8 / 13; }
}
@media (min-width: 1300px) {
  /* foto sangra até a borda da janela */
  .history__media { margin-left: calc((var(--max) - 100vw) / 2 - var(--gutter)); }
}

/* Revelação em cortina das fotos */
.mask { overflow: hidden; position: relative; }
.mask img { transition: transform 1.6s var(--ease-out); }
.js .mask { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-curtain); }
.js .mask img { transform: scale(1.12); }
.js .mask.is-in { clip-path: inset(0 0 0 0); }
.js .mask.is-in img { transform: none; }

/* 02 DIFERENCIAIS --------------------------------------------------------- */
.features__grid { display: grid; gap: 40px; }
.features__head .btn { margin-top: 12px; }
.features__list li {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding-block: 28px; border-top: 1px solid var(--border-inv);
}
.features__list li:last-child { border-bottom: 1px solid var(--border-inv); }
.features__list li::after {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out);
}
.features__list .num { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--accent-light); line-height: 1.3; }
.features__list h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.features__list p { margin: 0; color: var(--text-inv-2); max-width: 32rem; }
@media (hover: hover) { .features__list li:hover::after { transform: scaleX(1); } }

@media (min-width: 960px) {
  .features__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
  .features__head { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 48px); }
  .features__list { grid-column: 7 / 13; }
  .features__list li { grid-template-columns: 80px 1fr; padding-block: 36px; }
}

/* 03 TRATAMENTOS ---------------------------------------------------------- */
.treatments__head { max-width: 46rem; margin-bottom: clamp(48px, 6vw, 80px); }
.pair { display: grid; gap: 56px; margin-bottom: clamp(56px, 7vw, 96px); }
.feature { padding-top: 28px; border-top: 1px solid var(--text); }
.feature h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: 14px 0 18px; }
.feature p:not(.feature__tag) { color: var(--text-2); max-width: 30rem; }
@media (min-width: 760px) {
  .pair { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
  .pair .feature:nth-child(2) { margin-top: 96px; }
}

.hof {
  display: grid; gap: 40px;
  background: var(--bg-2);
  padding: clamp(32px, 6vw, 80px);
  margin-inline: calc(var(--gutter) * -1);
}
.hof h3 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); margin: 14px 0 22px; }
.hof__intro p:not(.feature__tag) { color: var(--text-2); max-width: 28rem; margin-bottom: 32px; }
.hof__list { columns: 1; column-gap: 40px; }
.hof__list li {
  break-inside: avoid; display: flex; gap: 14px; align-items: baseline;
  padding-block: 14px; border-bottom: 1px solid var(--border); font-size: 1.0625rem; line-height: 1.45;
}
.hof__list li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--accent-ink); transform: translateY(-4px); }
@media (min-width: 640px) { .hof__list { columns: 2; } }
@media (min-width: 960px) {
  .hof { grid-template-columns: 5fr 7fr; gap: 64px; margin-inline: 0; align-items: center; }
}

.others { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 24px; }
.others__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-style: italic; color: var(--accent-ink); }
.others__list > div { display: grid; gap: 6px; padding-block: 22px; border-top: 1px solid var(--border); }
.others__list > div:last-child { border-bottom: 1px solid var(--border); }
.others__list dt { font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; }
.others__list dd { color: var(--text-2); }
@media (min-width: 960px) {
  .others { grid-template-columns: 4fr 8fr; gap: 24px; }
  .others__list > div { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: baseline; }
}

/* 04 CORPO CLÍNICO -------------------------------------------------------- */
.team__head { display: grid; gap: 8px; margin-bottom: clamp(48px, 6vw, 80px); }
.team__head > p { color: var(--text-2); max-width: 30rem; font-size: 1.125rem; }
@media (min-width: 960px) {
  .team__head { grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; }
  .team__head > p { margin-bottom: 36px; }
}

.doctors { display: grid; gap: 40px; }
.doctor { display: grid; grid-template-columns: 38% 1fr; column-gap: 20px; align-content: start; }
.doctor__photo { grid-row: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease-out); }
.doctor__tag { margin: 0 0 6px; font-size: .6875rem; }
.doctor h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 6px; }
.doctor__cro { font-size: .8125rem; letter-spacing: .12em; color: var(--accent-ink); font-weight: 500; margin-bottom: 10px; }
.doctor p:last-child { font-size: .9375rem; line-height: 1.6; color: var(--text-2); margin: 0; }
@media (hover: hover) { .doctor:hover .doctor__photo img { transform: scale(1.04); } }

@media (min-width: 640px) {
  .doctors { grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 56px; }
  .doctor { display: block; }
  .doctor__photo { margin-bottom: 20px; }
}
@media (min-width: 1100px) {
  .doctors { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .doctor:nth-child(even) { margin-top: 72px; }
}

/* 05 VÍDEOS --------------------------------------------------------------- */
.videos__grid { display: grid; gap: 40px; }
.videos__head p { color: var(--text-2); max-width: 26rem; }
.videos__head a { color: var(--accent-ink); }
.video-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
.video__frame { position: relative; aspect-ratio: 344 / 560; overflow: hidden; background: var(--surface); margin-bottom: 14px; }
.video__frame video { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(10, 31, 25, .55), rgba(10, 31, 25, 0) 55%);
}
.video__play::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: rgba(247, 241, 231, .92);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.video__play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px;
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--surface);
}
.video__play:hover::before { transform: scale(1.08); background: var(--accent-light); }
.video.is-playing .video__play { display: none; }
.video h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 4px; }
.video p { font-size: .9375rem; line-height: 1.55; color: var(--text-2); margin: 0; }

@media (min-width: 960px) {
  .videos__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
  .videos__head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 48px); }
  .video-list { grid-column: 6 / 13; gap: 56px 40px; }
  .video-list li:nth-child(even) { margin-top: 96px; }
  .video-list li:nth-child(odd):not(:first-child) { margin-top: -96px; }
}

/* 06 AMBIENTES ------------------------------------------------------------ */
.spaces__head { max-width: 40rem; margin-bottom: clamp(40px, 5vw, 64px); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item .mask { aspect-ratio: 3 / 4; }
.gallery__item--wide .mask { aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--text-inv-2); }
@media (min-width: 960px) {
  .gallery { grid-template-columns: 2.2fr 1fr 1fr; gap: 24px; align-items: end; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item--wide .mask { aspect-ratio: auto; height: 560px; }
  .gallery__item .mask { height: 440px; aspect-ratio: auto; }
  .gallery__item:last-child { margin-bottom: 120px; }
}

/* 07 CONTATO -------------------------------------------------------------- */
.contact__grid { display: grid; gap: 56px; }
.contact__copy > p { font-size: 1.125rem; color: var(--text-2); max-width: 28rem; margin-bottom: 36px; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-bottom: 32px; }
.info dt { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.info dd { font-size: 1.0625rem; line-height: 1.6; }
.info dd a:not(.link-line) { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-block: 10px; }
.info dd a:not(.link-line):hover { color: var(--accent-ink); }
.info .link-line { margin-top: 4px; }
.map { aspect-ratio: 16 / 10; background: var(--bg-2); border: 1px solid var(--border); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }
@media (max-width: 420px) { .info { grid-template-columns: 1fr; } }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
  .contact__copy { grid-column: 1 / 7; position: sticky; top: calc(var(--header-h) + 48px); }
  .contact__info { grid-column: 8 / 13; padding-top: 48px; }
}

/* RODAPÉ ------------------------------------------------------------------ */
.footer { background: var(--surface-2); color: var(--text-inv-2); padding-block: 80px 32px; font-size: .9375rem; }
.footer a { color: var(--text-inv); text-decoration: none; display: inline-block; padding-block: 6px; }
.footer a:hover { color: var(--accent-light); }
.footer__grid { display: grid; gap: 48px; }
.footer__brand img { width: 128px; height: 128px; border-radius: 50%; margin-bottom: 20px; }
.footer__sign { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--accent-light); }
.footer__title { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px; }
.footer__list li { padding-block: 6px; border-bottom: 1px solid var(--border-inv); }
.footer__base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border-inv); font-size: .8125rem; }
.footer__base p { margin: 0; }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 4fr 5fr 3fr; gap: 48px; } }

/* WHATSAPP FLUTUANTE ------------------------------------------------------ */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  background: var(--accent); color: var(--surface-2); text-decoration: none; border-radius: 999px;
  font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(10, 31, 25, .55);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.wa-float.is-visible { transform: none; }
.no-js .wa-float { transform: none; }
@media (min-width: 960px) { .wa-float { display: none; } }

/* REVELAÇÃO AO ROLAR ------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--stagger, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* MOVIMENTO REDUZIDO ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .hero__in { opacity: 1; transform: none; animation: none; }
  .js .mask { clip-path: none; }
  .js .mask img { transform: none; }
  .progress { display: none; }
}
