/* Fontes hospedadas no próprio site (Google Fonts, licença OFL) */
/* Instrument Sans · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Sans · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Sans · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Caslon Text · latin-ext */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Caslon Text · latin */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Caslon Text · latin-ext */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Caslon Text · latin */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Dr. Durval Paupério Sério — site institucional
   ============================================================ */

:root {
  --bg: #111614;
  --bg-band: #171d1b;
  --bg-dark: #0b0f0e;
  --bg-card: #1c2321;

  --line: #222a28;
  --line-2: #2b3431;
  --line-3: #3a4440;
  --line-hover: #5c513c;

  --text-title: #f1ece2;
  --text: #b9b3a8;
  --text-muted: #8e887d;

  --gold: #c9a96e;
  --gold-hover: #dcbf88;
  --on-gold: #15130f;
  --online: #5fbf7f;

  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: 28px;
  --radius: 8px;
  --radius-btn: 6px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  overflow-x: clip;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--gold-hover); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text-title);
  font-weight: 400;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; }

address { font-style: normal; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--on-gold); }

.container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--gold { background: var(--gold); color: var(--on-gold); padding: 12px 22px; }
.btn--gold:hover { background: var(--gold-hover); color: var(--on-gold); }
.btn--outline { color: var(--text-title); border: 1px solid var(--line-3); padding: 15px 28px; }
.btn--outline:hover { color: var(--text-title); border-color: var(--gold); }
.btn--lg { font-size: 15.5px; gap: 10px; }
.btn--gold.btn--lg { padding: 16px 28px; }
.btn--xl { font-size: 16px; gap: 10px; padding: 18px 34px; }
.btn--block { display: flex; width: 100%; padding: 13px 18px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: var(--text-muted);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  padding-block: 9px;
  display: flex;
  justify-content: space-between;
  gap: 6px 20px;
  flex-wrap: wrap;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 22, 20, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  padding-block: 18px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.nav__brand {
  white-space: nowrap;
  flex: none;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--text-title);
  letter-spacing: -.01em;
}
.nav__brand:hover { color: var(--text-title); }
.nav__links {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 30px);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav__links a { color: var(--text); }
.nav__links a:hover { color: var(--text-title); }
.btn--nav__short { display: none; }

.nav__toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-title);
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21.5px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 76px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: center;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero__title {
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.03;
  margin-bottom: 28px;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 38px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.online-note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  flex: none;
}
.stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--text-title);
  line-height: 1;
}
.stats dd {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.hero__media { position: relative; }
.frame {
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1px solid var(--gold);
  opacity: .45;
  border-radius: var(--radius);
}
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  background: var(--bg-card);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.portrait figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 26px 22px;
  background: linear-gradient(to top, rgba(11, 15, 14, .92), rgba(11, 15, 14, 0));
}
.portrait__name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--text-title);
  line-height: 1.2;
}
.portrait__role {
  display: block;
  font-size: 13px;
  color: var(--gold);
  margin-top: 5px;
  letter-spacing: .04em;
}

/* ---------- Seções em faixa ---------- */
.band {
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 96px;
}
#diferenciais { padding-block: 100px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head__aside {
  font-size: 17px;
  line-height: 1.65;
  max-width: 460px;
  justify-self: end;
}
.section-head__aside--narrow { max-width: 440px; }
.section-head--center {
  display: block;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ---------- Cards de tratamento ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.card:hover { border-color: var(--line-hover); }
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201, 169, 110, .10), rgba(201, 169, 110, 0) 60%),
    linear-gradient(180deg, #212a27 0%, #1a211f 100%);
  border-bottom: 1px solid var(--line-2);
}
.card__media--placeholder svg {
  width: 30%;
  height: auto;
  aspect-ratio: 1;
  opacity: .85;
}
.card__body { padding: 26px 26px 30px; }
.card__sub {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card__body > p:last-child { font-size: 15px; line-height: 1.6; }

/* ---------- Sobre ---------- */
.about {
  padding-block: 100px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}
.about__media { position: relative; }
.about__media picture {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.seal {
  position: absolute;
  right: -20px;
  bottom: 32px;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: var(--radius-btn);
  padding: 18px 22px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
}
.seal__num { font-family: var(--serif); font-size: 36px; line-height: 1; }
.seal__label { font-size: 13px; margin-top: 6px; font-weight: 600; }

.about .eyebrow { margin-bottom: 20px; }
.about__title { font-size: clamp(34px, 3.6vw, 50px); margin-bottom: 26px; }
.about__lead {
  font-size: 17.5px;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
}
.timeline { list-style: none; border-top: 1px solid var(--line-2); }
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.5;
}
.timeline__year {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold);
}

/* ---------- Diferenciais ---------- */
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px 30px 36px;
}
.feature__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 22px;
}
.feature h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.2; }
.feature p { font-size: 15px; line-height: 1.6; }

/* ---------- Localização ---------- */
.location { padding-block: 100px; }
.location .section-head { margin-bottom: 48px; }
.location__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr);
  min-height: 520px;
  gap: 18px;
}
.location__photo,
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.location__photo picture { display: block; height: 100%; }
.location__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.location__map { border: 1px solid var(--line-2); }
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  filter: grayscale(.5) brightness(.92);
}

.hours {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hours__label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.hours__value {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text-title);
  line-height: 1.2;
}
.hours__booking {
  border-top: 1px solid var(--line-2);
  padding-top: 26px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hours__booking p { font-size: 15px; line-height: 1.6; }
.hours__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 169, 110, .12);
  border: 1px solid var(--line-hover);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-title);
}
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before { content: "✓"; color: var(--gold); }

/* ---------- CTA ---------- */
.cta {
  border-top: 1px solid var(--line);
  background: var(--bg-dark);
}
.cta__inner { padding-block: 96px; text-align: center; }
.cta h2 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  max-width: 820px;
  margin: 0 auto 20px;
}
.cta__inner > p:not(.cta__note) {
  font-size: 17.5px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta__note { font-size: 13.5px; color: var(--text-muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--line);
  padding: 40px 0 36px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer__name {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--text-title);
  margin-bottom: 6px;
}
.footer__info { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.footer__copy { font-size: 13px; color: var(--text-muted); }
.footer__copy a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy a:hover { color: var(--text-title); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Botão flutuante ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: var(--gold);
  color: var(--on-gold);
  padding: 13px 20px 13px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fab:hover { background: var(--gold-hover); color: var(--on-gold); }

/* ============================================================
   Responsivo
   ============================================================ */

/* Tablet / notebook pequeno */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .location__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 0;
  }
  .location__photo, .location__map { min-height: 440px; }
  .hours { grid-column: 1 / -1; }
  .hours__booking { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 14px; }
  .hours__booking .hours__icon { grid-row: span 2; }
  .hours__booking p, .hours__booking .checks { grid-column: 2; }
}

/* Menu vira hambúrguer */
@media (max-width: 960px) {
  .nav { gap: 12px; padding-block: 14px; }
  .nav__brand { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    font-size: 17px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav__links a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav.is-open .nav__links {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s, transform .2s;
  }
}

/* Celular */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 76px; }

  .topbar__inner { justify-content: center; text-align: center; font-size: 12px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .hero__media {
    max-width: 440px;
    width: calc(100% - 20px);
    margin-inline: auto;
    margin-left: 0;
  }
  .frame { inset: 18px -18px -18px 18px; }
  .hero__lead { font-size: 17px; margin-bottom: 32px; }

  .band { padding-block: 72px; }
  #diferenciais { padding-block: 72px; }
  .about, .location { padding-block: 72px; }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 40px;
  }
  .section-head__aside { justify-self: start; font-size: 16.5px; }
  .section-head--center { margin-bottom: 40px; }

  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .about { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .about__media { max-width: 440px; width: calc(100% - 12px); }
  .seal { right: -12px; bottom: 24px; padding: 14px 18px; }
  .seal__num { font-size: 30px; }
  .about__lead { font-size: 16.5px; margin-bottom: 32px; }

  .location__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .location__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .location__map { min-height: 340px; }
  .hours { grid-column: auto; }

  .cta__inner { padding-block: 72px; }
  .cta__inner > p:not(.cta__note) { font-size: 16.5px; }

  .footer { padding-bottom: 96px; } /* espaço para o botão flutuante */
}

@media (max-width: 640px) {
  .nav__brand {
    white-space: normal;
    overflow: visible;
    font-size: 17px;
    line-height: 1.12;
    max-width: 9.5em;
  }
  .btn--nav { padding: 10px 14px; }
  .btn--nav__long { display: none; }
  .btn--nav__short { display: inline; }

  .hero__actions .btn { width: 100%; }
  .online-note { align-items: flex-start; }
  .online-note .dot { margin-top: 6px; }

  .stats { gap: 0; justify-content: space-between; margin-top: 40px; padding-top: 24px; }
  .stats > div { flex: 1 1 0; min-width: 0; }
  .stats > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
  .stats dt { font-size: 26px; }
  .stats dd { font-size: 12px; line-height: 1.35; }

  .portrait figcaption { padding: 48px 18px 16px; }
  .portrait__name { font-size: 19px; }
  .portrait__role { font-size: 12px; }

  .card__body { padding: 22px 22px 26px; }
  .card h3 { font-size: 22px; }
  .feature { padding: 26px 22px 28px; }

  .timeline li { grid-template-columns: 64px 1fr; gap: 14px; font-size: 15px; }
  .timeline__year { font-size: 22px; }

  .hours { padding: 24px 22px; }
  .hours__booking { display: flex; }

  .btn--xl { width: 100%; padding: 17px 20px; }

  .fab { right: 16px; bottom: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .nav__brand { font-size: 16px; }
  .hero__title { font-size: 38px; }
  .stats dt { font-size: 22px; }
}

/* ============================================================
   Páginas internas (privacidade, 404)
   ============================================================ */
.nav--simple { justify-content: space-between; }
.nav__back { color: var(--text); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav__back:hover { color: var(--text-title); }

.legal {
  max-width: 760px;
  padding-block: 72px 96px;
}
.legal h1 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1.05; margin-bottom: 12px; }
.legal__updated { font-size: 13.5px; color: var(--text-muted); margin-bottom: 40px; }
.legal h2 { font-size: 24px; line-height: 1.2; margin: 40px 0 12px; }
.legal p { font-size: 16.5px; line-height: 1.7; margin-bottom: 14px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

.notfound {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 96px;
}
.notfound h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin-bottom: 18px; }
.notfound > p:not(.eyebrow) { font-size: 17px; margin-bottom: 32px; }
.notfound__actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .nav--simple .nav__brand { max-width: none; }
  .legal { padding-block: 48px 72px; }
  .legal p { font-size: 16px; }
  .notfound__actions .btn { width: 100%; }
}
