/* =========================================================
   Vinicius Castro Odontologia — Design System
   Paleta clean clínica: off-white, azul-petróleo, dourado suave
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores */
  --c-bg: #fbfaf7;
  --c-bg-alt: #f3f1ec;
  --c-surface: #ffffff;
  --c-petrol-900: #0b2b33;
  --c-petrol-800: #103b46;
  --c-petrol-700: #1a5361;
  --c-petrol-500: #2d7488;
  --c-petrol-100: #dfeaed;
  --c-gold-600: #8a6a2b;
  --c-gold-500: #c3a04f;
  --c-gold-200: #ecdcb6;
  --c-gold-50: #faf3e3;
  --c-text: #1c2b30;
  --c-text-soft: #4d5f66;
  --c-text-muted: #5c6b71;
  --c-line: #e3ded4;
  /* verde do WhatsApp escurecido para o texto branco atingir contraste AA */
  --c-whats: #178646;
  --c-whats-dark: #106b37;

  /* Tipografia */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1.55rem + 3.4vw, 3.9rem);

  /* Espaçamento e forma */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 43, 51, 0.06), 0 2px 8px rgba(11, 43, 51, 0.05);
  --shadow-md: 0 6px 18px rgba(11, 43, 51, 0.08), 0 2px 6px rgba(11, 43, 51, 0.05);
  --shadow-lg: 0 18px 46px rgba(11, 43, 51, 0.14);

  --wrap: 1140px;
  --wrap-narrow: 760px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-petrol-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-petrol-900);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 var(--sp-4);
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--c-gold-600);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--c-petrol-900);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
}

.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;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section {
  padding-block: var(--sp-8);
}

@media (min-width: 900px) {
  .section {
    padding-block: var(--sp-9);
  }
}

.section--alt {
  background: var(--c-bg-alt);
}

.section--petrol {
  background: linear-gradient(160deg, var(--c-petrol-900), var(--c-petrol-800) 65%, #14495a);
  color: #e8f0f2;
}

.section--petrol h2,
.section--petrol h3 {
  color: #fff;
}

.section--petrol p {
  color: #cbdde2;
}

.section-head {
  max-width: var(--wrap-narrow);
  margin: 0 auto var(--sp-7);
  text-align: center;
}

.section-head p {
  color: var(--c-text-soft);
  font-size: var(--fs-lg);
  margin-bottom: 0;
}

.section--petrol .section-head p {
  color: #b9d1d8;
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-600);
  margin-bottom: var(--sp-3);
}

.section--petrol .eyebrow {
  color: var(--c-gold-200);
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: 54px;
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn svg {
  flex: none;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--whats {
  background: var(--c-whats);
  color: #fff;
  box-shadow: 0 6px 20px rgba(23, 134, 70, 0.26);
}

.btn--whats:hover {
  background: var(--c-whats-dark);
  box-shadow: 0 10px 26px rgba(23, 134, 70, 0.32);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(16, 59, 70, 0.28);
  color: var(--c-petrol-800);
}

.btn--ghost:hover {
  background: var(--c-petrol-100);
  border-color: var(--c-petrol-500);
}

.section--petrol .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.section--petrol .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--block {
  width: 100%;
}

@media (min-width: 560px) {
  .btn--block {
    width: auto;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.btn-note {
  display: block;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-3);
}

.section--petrol .btn-note {
  color: #a9c4cb;
}

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-petrol-900);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-petrol-900);
  color: var(--c-gold-200);
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand__name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
  display: block;
}

.brand__role {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text-soft);
  text-decoration: none;
  padding-block: var(--sp-2);
}

.nav__link:hover {
  color: var(--c-petrol-800);
}

.header__cta {
  display: none;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  padding: 0;
}

.nav-toggle svg {
  width: 48px;
  height: 48px;
  display: block;
}

.nav-toggle path {
  fill: none;
  stroke: var(--c-petrol-900);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  --length: 24;
  --offset: -38;
  stroke-dasharray: var(--length) var(--total-length);
  stroke-dashoffset: var(--offset);
  transition: stroke-dasharray 0.8s cubic-bezier(0.645, 0.045, 0.355, 1),
    stroke-dashoffset 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-toggle .line--1,
.nav-toggle .line--3 {
  --total-length: 126.64183044433594;
}

.nav-toggle .line--2 {
  --total-length: 70;
}

.nav-toggle circle {
  fill: var(--c-petrol-100);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.nav-toggle:hover circle,
.nav-toggle:focus-visible circle {
  opacity: 1;
}

.nav-toggle[aria-expanded="true"] .line--1,
.nav-toggle[aria-expanded="true"] .line--3 {
  --length: 22.627416998;
  --offset: -94.1149185097;
}

.nav-toggle[aria-expanded="true"] .line--2 {
  --length: 0;
  --offset: -50;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-2);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease), visibility 0.24s;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a:not(.btn) {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  font-weight: 500;
  color: var(--c-petrol-900);
  text-decoration: none;
  border-bottom: 1px solid var(--c-bg-alt);
}

.mobile-nav .btn {
  margin-top: var(--sp-4);
}

@media (min-width: 940px) {
  .nav,
  .header__cta {
    display: block;
  }
  .nav-toggle,
  .mobile-nav {
    display: none;
  }
  .header__cta .btn {
    min-height: 46px;
    padding-inline: var(--sp-5);
    font-size: var(--fs-sm);
  }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--sp-7) var(--sp-8);
  background: radial-gradient(120% 90% at 85% 0%, var(--c-gold-50), transparent 55%),
    radial-gradient(90% 80% at 0% 20%, var(--c-petrol-100), transparent 60%), var(--c-bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 940px) {
  .hero {
    padding-block: var(--sp-8) var(--sp-9);
  }
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-8);
  }
}

.hero__title {
  margin-bottom: var(--sp-5);
}

.hero__lead {
  font-size: var(--fs-lg);
  color: var(--c-text-soft);
  max-width: 34rem;
  margin-bottom: var(--sp-6);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
}

.trust {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
}

.trust svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: var(--c-gold-500);
}

.trust strong {
  color: var(--c-petrol-900);
  font-weight: 600;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 15px;
  height: 15px;
}

.stars--lg svg {
  width: 18px;
  height: 18px;
  fill: var(--c-gold-500);
}

.hero__media {
  position: relative;
}

.figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-petrol-100);
  box-shadow: var(--shadow-lg);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.figure--wide img {
  aspect-ratio: 3 / 2;
}

.figure--square img {
  aspect-ratio: 1 / 1;
}

.figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: linear-gradient(to top, rgba(11, 43, 51, 0.88), rgba(11, 43, 51, 0));
  color: #fff;
  font-size: var(--fs-sm);
}

.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -8px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: var(--sp-4) var(--sp-5);
  max-width: 15rem;
}

.hero__badge strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-petrol-900);
  line-height: 1;
}

.hero__badge span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

@media (max-width: 939px) {
  .hero__badge {
    position: static;
    max-width: none;
    margin-top: var(--sp-5);
  }
}

/* ---------- 7. Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold-200);
}

.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}

.card p {
  color: var(--c-text-soft);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--c-gold-50);
  color: var(--c-gold-600);
  margin-bottom: var(--sp-4);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dor / empatia */
.pain-list {
  display: grid;
  gap: var(--sp-3);
}

@media (min-width: 700px) {
  .pain-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
}

.pain {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-gold-500);
  border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-base);
  color: var(--c-text-soft);
}

.pain svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  fill: none;
  stroke: var(--c-gold-600);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.pain-note {
  max-width: var(--wrap-narrow);
  margin: var(--sp-6) auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  line-height: 1.4;
  color: var(--c-petrol-800);
}

/* ---------- 8. Passos ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  counter-increment: step;
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
}

.step::before {
  content: counter(step);
  position: absolute;
  top: calc(-1 * var(--sp-4));
  left: var(--sp-5);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-gold-500);
  color: var(--c-petrol-900);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.step h3 {
  font-size: var(--fs-xl);
  margin: var(--sp-5) 0 var(--sp-2);
}

.step p {
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.disclaimer {
  max-width: var(--wrap-narrow);
  margin: var(--sp-7) auto 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--c-gold-500);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm);
}

.disclaimer p {
  margin: 0;
}

.disclaimer--light {
  background: var(--c-gold-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.disclaimer--light p {
  color: var(--c-text-soft);
}

/* ---------- 9. Prova social ---------- */
.rating-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.rating-bar__score {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--c-petrol-900);
  line-height: 1;
}

.rating-bar__label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.quote blockquote {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--c-text-soft);
  line-height: 1.6;
}

.quote blockquote::before {
  content: "\201C";
  font-family: var(--f-display);
  font-size: 2.4rem;
  line-height: 0.6;
  color: var(--c-gold-500);
  display: block;
  margin-bottom: var(--sp-2);
}

.quote figcaption {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-bg-alt);
  font-size: var(--fs-sm);
  color: var(--c-petrol-900);
  font-weight: 600;
}

.quote figcaption span {
  display: block;
  font-weight: 400;
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
}

/* ---------- 10. Sobre ---------- */
.about {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--sp-8);
  }
}

.about__list {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}

.about__list li {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
}

.about__list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--c-petrol-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cro-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border: 1px dashed var(--c-gold-600);
  border-radius: var(--r-pill);
  background: var(--c-gold-50);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold-600);
}

/* ---------- 11. FAQ ---------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: var(--sp-3);
}

.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq__item.is-open {
  border-color: var(--c-gold-200);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  margin: 0;
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-petrol-900);
  line-height: 1.3;
}

.faq__icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--c-gold-50);
  border: 1px solid var(--c-gold-200);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 11px;
  height: 2px;
  background: var(--c-gold-600);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

/* visibility mantém o conteúdo fechado fora do leitor de tela */
.faq__panel > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.28s var(--ease);
}

.faq__item.is-open .faq__panel > div {
  visibility: visible;
}

.faq__panel p {
  padding: 0 var(--sp-5) var(--sp-5);
  margin: 0;
  color: var(--c-text-soft);
  font-size: var(--fs-sm);
}

/* Fallback sem JS: painéis abertos */
.no-js .faq__panel {
  grid-template-rows: 1fr;
}

.no-js .faq__panel > div {
  visibility: visible;
}

.no-js .faq__icon {
  display: none;
}

/* ---------- 12. CTA final ---------- */
.final-cta {
  position: relative;
  text-align: center;
}

.final-cta .wrap {
  max-width: var(--wrap-narrow);
}

.final-cta .btn-row {
  justify-content: center;
}

.final-cta__steps {
  display: grid;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
  text-align: left;
}

@media (min-width: 700px) {
  .final-cta__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.final-cta__steps li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: #cbdde2;
}

.final-cta__steps svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--c-gold-200);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 13. Rodapé ---------- */
.footer {
  background: var(--c-petrol-900);
  color: #b9d1d8;
  padding-block: var(--sp-8) var(--sp-5);
  font-size: var(--fs-sm);
}

.footer__grid {
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--sp-7);
  }
}

.footer h3 {
  font-size: var(--fs-base);
  color: #fff;
  margin-bottom: var(--sp-3);
}

.footer a {
  color: #dbe9ec;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__list {
  display: grid;
  gap: var(--sp-2);
}

.footer__list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.footer__list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  fill: none;
  stroke: var(--c-gold-200);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__photo {
  margin: var(--sp-4) 0 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

.footer__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* recorte puxado para cima para manter o logo da clínica visível */
  object-position: 50% 28%;
}

.footer__bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: #93b1ba;
}

.footer__bottom p {
  margin: 0;
}

.footer .brand {
  margin-bottom: var(--sp-4);
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__role {
  color: #93b1ba;
}

/* ---------- 14. WhatsApp flutuante ---------- */
.float-whats {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  min-height: 56px;
  border-radius: var(--r-pill);
  background: var(--c-whats);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 43, 51, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s,
    background-color 0.2s var(--ease);
}

.float-whats.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.float-whats:hover {
  background: var(--c-whats-dark);
}

.float-whats svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
}

@media (max-width: 480px) {
  .float-whats__text {
    display: none;
  }
  .float-whats {
    padding: 0;
    width: 58px;
    height: 58px;
    justify-content: center;
  }
}

/* ---------- 15. Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 160ms;
}
.reveal-delay-3 {
  transition-delay: 240ms;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

/* ---------- 16. Utilitários ---------- */
.lead {
  font-size: var(--fs-lg);
}

.u-row-center {
  justify-content: center;
}

.u-mt-4 {
  margin-top: var(--sp-4);
}

.u-mt-5 {
  margin-top: var(--sp-5);
}

.u-mt-6 {
  margin-top: var(--sp-7);
}

/* ---------- 17. Impressão ---------- */
@media print {
  .header,
  .float-whats,
  .mobile-nav {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .faq__panel {
    grid-template-rows: 1fr;
  }
}
