@charset "UTF-8";
/* =====================================================================
   Vision Clinic Oftalmologia — folha de estilo principal
   Paleta: dourado da marca sobre tinta escura + papel creme.
   Mobile-first, sem frameworks, sem dependências externas.
   ===================================================================== */

/* ----------------------------- Fontes ------------------------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------- Tokens ------------------------------ */
:root {
  /* cores da marca */
  --ink: #1a1a17;
  --ink-2: #22221e;
  --ink-3: #2c2b25;
  --ink-line: rgba(198, 160, 106, 0.18);
  --gold: #c6a06a;
  --gold-light: #ebd3a4;
  --gold-deep: #8a6a32;
  --cream: #fbf8f2;
  --soft: #f4efe4;
  --paper: #fff;
  --text: #23231f;
  --muted: #5d594f;
  --muted-dark: rgba(247, 243, 234, 0.72);
  --line: rgba(35, 35, 31, 0.1);
  --wa: #25d366;

  /* tipografia fluida */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(2.6rem, 1.5rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.95rem, 1.25rem + 2.6vw, 3.1rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  --fs-lead: clamp(1rem, 0.96rem + 0.28vw, 1.15rem);

  /* espaçamento e forma */
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --section-y: clamp(3.75rem, 2.4rem + 5.4vw, 7.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 23, 0.05), 0 8px 24px -14px rgba(26, 26, 23, 0.28);
  --shadow-md: 0 2px 6px rgba(26, 26, 23, 0.06), 0 24px 50px -30px rgba(26, 26, 23, 0.4);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------ Reset ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  /* respiro suficiente para acentos altos do português (ê, ã, í) */
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -150%;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--gold);
  border-radius: 0 0 10px 10px;
  transition: translate 0.25s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

/* ---------------------------- Utilitários -------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), 1200px);
  margin-inline: auto;
}
.container--narrow { width: min(100% - (var(--gutter) * 2), 820px); }

.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--soft); }
.section--dark,
.section--cta {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.section--cta { background: linear-gradient(160deg, #1f1f1b, #2b2a23 60%, #1a1a17); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--cta h1, .section--cta h2, .section--cta h3 { color: var(--cream); }

.section__pattern {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/pattern-grid.svg');
  background-size: 72px 72px;
  opacity: 0.5;
  mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.section__head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section__title { font-size: var(--fs-h2); margin-bottom: 0.85rem; }
.section__lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .section__lead,
.section--cta .section__lead { color: var(--muted-dark); }
.section__lead + .section__lead { margin-top: 1.1rem; }
.section__foot { margin-top: 2.5rem; color: var(--muted); }
.section--dark .section__foot { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--gold-deep); }
.eyebrow .icon { width: 1rem; height: 1rem; }

.link {
  color: var(--gold-deep);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s var(--ease);
}
.section--dark .link, .section--cta .link, .footer .link { color: var(--gold); }
.link:hover { opacity: 0.7; }

.nowrap { white-space: nowrap; }

.note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.85;
}

/* ------------------------------ Botões ----------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #1a1a17;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), color 0.22s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #b08b52);
  box-shadow: 0 10px 26px -12px rgba(198, 160, 106, 0.9);
}
.btn--primary:hover { box-shadow: 0 16px 34px -14px rgba(198, 160, 106, 1); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(235, 211, 164, 0.4);
}
.btn--ghost:hover { background: rgba(235, 211, 164, 0.1); border-color: var(--gold); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-3); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------------------------- Cabeçalho ---------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--cream);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(26, 26, 23, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--ink-line);
  box-shadow: 0 12px 30px -24px #000;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header__logo img {
  width: auto;
  height: 34px;
  transition: opacity 0.2s var(--ease);
}
.header__logo:hover img { opacity: 0.8; }

.nav__list { display: none; }
.nav__cta { display: none; }

.header__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: 12px;
  color: var(--cream);
  border: 1px solid var(--ink-line);
}
.header__toggle .icon { width: 1.4rem; height: 1.4rem; grid-area: 1 / 1; }
.header__toggle .icon--close,
.header__toggle[aria-expanded='true'] .icon--menu { display: none; }
.header__toggle[aria-expanded='true'] .icon--close { display: block; }

/* menu mobile */
.nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: rgba(20, 20, 17, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-line);
  padding: 1.25rem var(--gutter) 2rem;
  display: grid;
  gap: 0.35rem;
  translate: 0 -12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), translate 0.25s var(--ease),
    visibility 0.25s;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.nav.is-open { opacity: 1; translate: 0; visibility: visible; }
.nav.is-open .nav__list { display: grid; }
.nav.is-open .nav__cta { display: inline-flex; }
.nav__list { gap: 0.15rem; }
.nav__list a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1.05rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(235, 211, 164, 0.09);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.nav__list a:hover { color: var(--gold); padding-left: 0.6rem; }
.nav__cta { margin-top: 1.1rem; }

/* ------------------------------- Hero ------------------------------ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 78% 8%, #2f2d25 0%, #1f1e1a 45%, #16150f 100%);
  color: var(--cream);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  top: -20%;
  right: -18%;
  background: radial-gradient(circle, rgba(198, 160, 106, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.06;
  font-weight: 400;
  margin-bottom: 1.25rem;
  color: var(--cream);
}
.hero__title em {
  display: inline-block;
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 45%, #a9803f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text {
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.2rem);
  color: var(--muted-dark);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.85rem;
  color: var(--muted-dark);
}
.hero__badges li { display: flex; align-items: center; gap: 0.45rem; }
.hero__badges .icon { width: 1rem; height: 1rem; color: var(--gold); }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__iris {
  width: min(100%, 460px);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}
.hero__iris img { width: 100%; height: auto; }

.floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(28, 28, 24, 0.82);
  border: 1px solid var(--ink-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -26px #000;
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 15rem;
}
.floating .icon { width: 1.35rem; height: 1.35rem; color: var(--gold); }
.floating strong { display: block; color: var(--cream); font-size: 0.83rem; }
.floating span { color: var(--muted-dark); }
.floating--1 { top: 4%; left: -2%; }
.floating--2 { bottom: 6%; right: -2%; }

/* números */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats__item {
  background: rgba(24, 24, 20, 0.6);
  padding: 1.35rem 1.15rem;
  text-align: center;
}
.stats dd {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.9rem);
  line-height: 1;
  color: var(--gold);
  margin: 0 0 0.35rem;
}
.stats dt {
  order: 2;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.stats__item { display: flex; flex-direction: column; }

/* --------------------------- Faixa de valor ------------------------ */
.strip {
  background: var(--ink-2);
  color: var(--cream);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}
.strip__grid {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.strip__item { display: flex; align-items: center; gap: 0.85rem; }
.strip__item .icon { width: 1.6rem; height: 1.6rem; color: var(--gold); }
.strip__item p { font-size: 0.88rem; color: var(--muted-dark); }
.strip__item strong { color: var(--cream); font-weight: 600; }

/* ------------------------------ Cartões ---------------------------- */
.cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), transparent);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 160, 106, 0.45);
}
.card:hover::before { scale: 1 1; }
.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(150deg, #fdf8ee, #f0e6d2);
  border: 1px solid rgba(198, 160, 106, 0.35);
  color: var(--gold-deep);
}
.card__icon .icon { width: 1.6rem; height: 1.6rem; }
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--muted); }
.section--soft .card { background: var(--paper); }

/* --------------------------- Blocos divididos ---------------------- */
.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}
.split__text .section__title { margin-bottom: 1rem; }
.split__text .btn { margin-top: 1.75rem; }

.exams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0.65rem 1.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.exams li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted-dark);
  padding-block: 0.4rem;
}
.exams .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.35rem; color: var(--gold); }
.exams strong { display: block; color: var(--cream); font-weight: 600; font-size: 0.95rem; }
.exams span { font-size: 0.82rem; color: var(--muted-dark); }

.signals {
  display: grid;
  gap: 0.55rem;
}
.signals li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.signals li:hover { transform: translateX(4px); background: #fff; }
.signals .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.28rem; color: var(--gold-deep); }

/* ------------------------------ Passos ----------------------------- */
.steps {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  margin-bottom: 0.85rem;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------------------------- Foto do médico ----------------------- */
.doctor {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}
.doctor__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  box-shadow: 0 40px 70px -40px #000;
}
.doctor__frame img { width: 100%; height: auto; }
/* Faixa inferior com nome e registro do médico. Ocupa a largura toda da
   foto e nasce de um degradê, em vez de uma caixa solta sobre a imagem. */
.doctor__plate {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.3rem;
  padding: 3rem 1.4rem 1.2rem;
  background: linear-gradient(
    to top,
    rgba(12, 12, 10, 0.95) 18%,
    rgba(12, 12, 10, 0.72) 52%,
    transparent
  );
}
.doctor__plate::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}
.doctor__plate strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.15;
  color: var(--cream);
}
.doctor__plate span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.doctor__plate i { font-style: normal; opacity: 0.55; }
.doctor__plate em { font-style: normal; }
/* em telas estreitas, aperta um pouco para caber tudo numa linha só */
@media (max-width: 430px) {
  .doctor__plate span { font-size: 0.65rem; letter-spacing: 0.05em; gap: 0.35rem; }
  .doctor__plate { padding-inline: 1.1rem; }
}
/* nas telas mais estreitas fica só o registro: a especialidade já foi dita
   no texto ao lado, e assim a linha não quebra */
@media (max-width: 380px) {
  .doctor__plate em,
  .doctor__plate i:first-of-type { display: none; }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}
.pill-list li {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted-dark);
}

/* ------------------------------ Chips ------------------------------ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.chips li {
  padding: 0.75rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chips li:hover { border-color: var(--gold); color: var(--text); }
/* poucos convênios: dá presença aos selos para a linha não parecer sobra */
.chips--plans li {
  padding: 0.95rem 1.8rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  border-color: rgba(198, 160, 106, 0.45);
}

/* ---------------------------- Depoimentos -------------------------- */
.quotes {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.quote {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.quote__mark {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
  opacity: 0.5;
}
.stars { display: flex; gap: 0.15rem; color: var(--gold); }
.stars .icon { width: 0.95rem; height: 0.95rem; fill: currentColor; }
.quote blockquote p { font-size: 0.95rem; color: var(--muted); }
.quote figcaption { font-weight: 600; font-size: 0.9rem; }
.quote figcaption span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}

/* ------------------------------- FAQ ------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq__item[open] { border-color: rgba(198, 160, 106, 0.5); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  width: 11px;
  height: 11px;
  flex: none;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate 0.3s var(--ease), translate 0.3s var(--ease);
}
.faq__item[open] summary::after { rotate: -135deg; translate: 0 2px; }
.faq__item summary:hover { color: var(--gold-deep); }
.faq__body { padding: 0 1.3rem 1.3rem; }
.faq__body p { font-size: 0.93rem; color: var(--muted); }

/* --------------------------- CTA / formulário ---------------------- */
.cta {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: start;
}
.cta__list { display: grid; gap: 0.5rem; margin-top: 1.75rem; }
.cta__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted-dark);
}
.cta__list .icon { width: 1rem; height: 1rem; color: var(--gold); }
.cta__alt { margin-top: 1.75rem; font-size: 0.9rem; color: var(--muted-dark); }

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.field { display: grid; gap: 0.4rem; grid-column: span 2; }
.field--full { grid-column: span 2; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.field .opt { text-transform: none; letter-spacing: 0; opacity: 0.6; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(235, 211, 164, 0.22);
  background: rgba(12, 12, 10, 0.45);
  color: var(--cream);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: right 1.1rem center, right 0.75rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.field select option { background: var(--ink-2); color: var(--cream); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(247, 243, 234, 0.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(12, 12, 10, 0.7);
  outline: none;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field__error { font-size: 0.78rem; color: #f0a58f; }
.field.is-invalid input { border-color: #e08a70; }
.form .btn { grid-column: span 2; margin-top: 0.35rem; }
.form__note {
  grid-column: span 2;
  font-size: 0.75rem;
  color: rgba(247, 243, 234, 0.5);
  text-align: center;
}

/* ------------------------------ Contato ---------------------------- */
.contact { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.contact__list { display: grid; gap: 1.15rem; align-content: start; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid rgba(198, 160, 106, 0.3);
  color: var(--gold-deep);
}
.contact__list strong { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.contact__list p { font-size: 0.95rem; color: var(--muted); }
.contact__note { display: inline-block; margin-top: 0.35rem; font-size: 0.82rem; font-weight: 500; color: var(--gold-deep); }
.contact__list a:hover { color: var(--gold-deep); text-decoration: underline; }

.map {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft) url('/assets/img/pattern-grid.svg') center / 72px 72px;
  overflow: hidden;
  text-align: center;
  padding: 1.5rem;
}
.map__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease);
}
.map__btn:hover { transform: translateY(-2px); }
.map__hint { font-size: 0.78rem; color: var(--muted); max-width: 30ch; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map.is-loaded { padding: 0; background: none; }

/* ------------------------------ Rodapé ----------------------------- */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--ink-line);
}
.footer__inner {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand img { width: 190px; height: auto; margin-bottom: 1.25rem; }
.footer__brand p { font-size: 0.9rem; max-width: 38ch; margin-bottom: 1.5rem; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.social:hover {
  background: rgba(198, 160, 106, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social .icon { width: 1.15rem; height: 1.15rem; }

.footer__nav {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.footer__nav h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__nav ul { display: grid; gap: 0.55rem; }
.footer__nav a, .footer__nav li { font-size: 0.88rem; }
.footer__nav a { transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--gold); }

.footer__bottom {
  padding-block: 1.5rem;
  border-top: 1px solid var(--ink-line);
  display: grid;
  gap: 0.75rem;
  font-size: 0.78rem;
}
.footer__legal { opacity: 0.65; max-width: 90ch; }

/* -------------------------- Ações flutuantes ----------------------- */
.fab {
  position: fixed;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.fab:hover { transform: translateY(-3px); }
.fab--wa {
  left: max(1rem, env(safe-area-inset-left));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  padding: 0.85rem 1.25rem;
  background: var(--wa);
  color: #06301a;
  font-weight: 700;
  font-size: 0.9rem;
}
.fab--wa .icon { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.fab--top {
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--ink-line);
}
.fab[hidden] { display: none; }

/* --------------------------- Animações ----------------------------- */
.js .reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; translate: 0; }

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

/* ============================ RESPONSIVO =========================== */
@media (max-width: 519px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

@media (min-width: 560px) {
  .doctor::before {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid rgba(198, 160, 106, 0.5);
    border-radius: 20px;
    pointer-events: none;
  }

  .field { grid-column: span 1; }
  .field--full, .form .btn, .form__note { grid-column: span 2; }
}

@media (min-width: 860px) {
  .stats { max-width: 760px; margin-inline: auto; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__text { order: 2; }
  .contact { grid-template-columns: 0.9fr 1.1fr; }
  .footer__inner { grid-template-columns: 1fr 1.35fr; }
  .footer__bottom { grid-template-columns: auto 1fr; align-items: baseline; gap: 2rem; }
  .cta { grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (min-width: 1000px) {
  :root { --header-h: 84px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .header__logo img { height: 40px; }
  .header__toggle { display: none; }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    translate: 0;
    max-height: none;
    overflow: visible;
  }
  .nav__list {
    display: flex;
    gap: 1.6rem;
    align-items: center;
  }
  .nav__list a {
    padding: 0.25rem 0;
    font-size: 0.88rem;
    border: 0;
    position: relative;
    color: var(--cream);
  }
  .nav__list a::after {
    content: '';
    position: absolute;
    inset: auto 0 -4px;
    height: 1px;
    background: var(--gold);
    scale: 0 1;
    transform-origin: left;
    transition: scale 0.3s var(--ease);
  }
  .nav__list a:hover { padding-left: 0; color: var(--gold); }
  .nav__list a:hover::after,
  .nav__list a.is-active::after { scale: 1 1; }
  .nav__list a.is-active { color: var(--gold); }
  .nav__cta { display: inline-flex; margin: 0; }

  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero__iris { width: min(100%, 560px); }
  .fab--wa { left: auto; right: max(1.5rem, env(safe-area-inset-right)); bottom: 1.5rem; }
  .fab--top { right: max(1.5rem, env(safe-area-inset-right)); bottom: 5.5rem; }
}

@media (max-width: 400px) {
  .floating { display: none; }
  .fab__label { display: none; }
  .fab--wa { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fab--wa .icon { width: 1.7rem; height: 1.7rem; }
}

/* ------------------------------ Impressão -------------------------- */
@media print {
  .header, .nav, .fab, .map, .form, .hero__visual, .section__pattern { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .hero { padding-block: 1rem; background: none !important; color: #000 !important; }
  .section--dark, .section--cta, .strip, .footer { background: none !important; color: #000 !important; }
  .section--dark h2, .section--cta h2, .hero__title { color: #000 !important; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.7em; }
}
