/* ==========================================================
   IFA, Instituto de Fisioterapia Avançada
   Landing page de fisioterapia bucomaxilofacial
   Mobile first. Cores e medidas nas variáveis abaixo.
   ========================================================== */

:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EEE8;
  --surface: #FFFFFF;
  --ink: #14213D;
  --ink-soft: #1D2E52;
  --muted: #5B6475;
  --gold: #C9A86A;
  --gold-soft: rgba(201, 168, 106, 0.16);
  --gold-text: #7A5F26;
  --wa: #25D366;
  --wa-dark: #1DB458;
  --line: rgba(20, 33, 61, 0.1);
  --focus: #14213D;

  --font-title: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(20, 33, 61, 0.04), 0 8px 24px rgba(20, 33, 61, 0.05);
  --shadow-lg: 0 2px 4px rgba(20, 33, 61, 0.05), 0 24px 48px rgba(20, 33, 61, 0.1);

  --gutter: 20px;
  --section-y: 64px;
  --header-h: 68px;
}

@media (min-width: 900px) {
  :root {
    --section-y: 104px;
    --header-h: 76px;
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 7.4vw, 3.6rem); }
.line-block { display: block; white-space: nowrap; }
h2 { font-size: clamp(1.75rem, 5.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-dark { --focus: var(--gold); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1120px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.container.narrow { width: min(800px, 100% - (var(--gutter) * 2)); }
.center { text-align: center; }

.hide-sm { display: none; }
.show-sm { display: inline; }
@media (min-width: 520px) {
  .hide-sm { display: inline; }
  .show-sm { display: none; }
}

/* ---------- Ícones ---------- */
.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ic-fill {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
  flex: none;
}

/* ---------- Tipografia de apoio ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.on-dark .eyebrow { color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
}

.section-sub { color: var(--muted); max-width: 36em; margin-inline: auto; }

.statement {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  line-height: 1.4;
  max-width: 30em;
  margin: 0 auto 28px;
}

.fineprint { font-size: 0.9rem; color: var(--muted); }

.prose p { font-size: 1.08rem; color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-wa {
  background: var(--wa);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(29, 180, 88, 0.32); }
.btn-wa:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }
.btn-lg { min-height: 58px; padding: 16px 20px; font-size: 1.02rem; }
@media (min-width: 600px) { .btn-lg { padding: 16px 32px; font-size: 1.05rem; } }
.btn-xl { min-height: 64px; padding: 18px 40px; font-size: 1.1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.g-logo-sm { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(20, 33, 61, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: rgba(20, 33, 61, 0.96);
  box-shadow: 0 8px 28px rgba(20, 33, 61, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; margin: 0; }
.logo img { height: 44px; width: auto; }
.logo-footer { height: 56px; width: auto; }
@media (min-width: 900px) { .logo img { height: 48px; } }

.header-actions { display: flex; align-items: center; gap: 8px; }

.main-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
  box-shadow: 0 16px 32px rgba(20, 33, 61, 0.2);
}
.main-nav.is-open { display: flex; }
.main-nav a {
  padding: 14px 4px;
  font-weight: 500;
  text-decoration: none;
  color: #F4F1EA;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.main-nav a:last-child { border-bottom: 0; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.75px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }

@media (max-width: 380px) {
  .logo img { height: 40px; }
}

@media (min-width: 960px) {
  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .main-nav a {
    padding: 8px 0;
    border: 0;
    font-size: 0.95rem;
    color: #F4F1EA;
    position: relative;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
  }
  .main-nav a:hover::after { transform: scaleX(1); }
  .nav-toggle { display: none; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section.alt { background: var(--bg-alt); }

.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head.center { margin-inline: auto; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

.section-foot { margin-top: 40px; text-align: center; }
@media (min-width: 900px) { .section-foot { margin-top: 56px; } }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: var(--section-y);
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(201, 168, 106, 0.16), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy .lead { margin-bottom: 32px; }
.hero-copy .btn { width: 100%; }

.microproof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--muted);
}
.microproof li { display: flex; align-items: center; gap: 8px; }
.microproof strong { color: var(--ink); }
.mp-place .ic { width: 18px; height: 18px; color: var(--gold-text); }

.stars { display: inline-flex; gap: 2px; color: #E0A526; }
.stars .ic-fill { width: 17px; height: 17px; }

.hero-photo { margin: 0; position: relative; justify-self: center; width: min(86%, 400px); }
.photo-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 20px -16px -16px 20px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--gold-soft);
  z-index: 0;
}
.photo-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(250, 248, 245, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--muted);
}
.photo-badge strong { font-family: var(--font-title); font-size: 1.05rem; font-weight: 500; color: var(--ink); }

@media (min-width: 600px) {
  .hero-copy .btn { width: auto; }
}

@media (min-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 64px); }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
  .hero-photo { width: 100%; max-width: 440px; justify-self: end; margin-right: 16px; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p { margin: 0; font-weight: 500; line-height: 1.45; }

.card-lg {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px;
}
.card-lg h3 { margin: 20px 0 8px; }
.card-lg p { font-weight: 400; color: var(--muted); font-size: 0.98rem; }

.icon-wrap {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold-text);
}
.icon-wrap-lg { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 20px; }
.icon-wrap-lg .ic { width: 28px; height: 28px; }

/* ---------- Objeção ---------- */
.note {
  margin-top: 36px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.note::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 20px;
  background: var(--gold);
}
.note h3 { font-size: 1.3rem; }
.note p { color: var(--muted); margin-bottom: 12px; }
.note p:last-child { margin-bottom: 0; }

/* ---------- Método ---------- */
.steps { display: grid; gap: 32px; position: relative; }
.step { position: relative; padding-left: 76px; }
.step h3 { margin-bottom: 6px; padding-top: 4px; }
.step p { margin: 0; color: var(--muted); }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 1.5rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -28px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(201, 168, 106, 0.25));
}

.closing-quote {
  margin: 56px auto 0;
  max-width: 24em;
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
}
.closing-quote::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 24px;
  background: var(--gold);
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding-left: 0; }
  .step-num { position: relative; margin-bottom: 24px; }
  .step h3 { padding-top: 0; }
  .step:not(:last-child)::after {
    left: 68px;
    right: -32px;
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(201, 168, 106, 0.25));
  }
}

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo { margin: 0; position: relative; justify-self: center; width: min(80%, 380px); }
.about-photo::before {
  content: "";
  position: absolute;
  inset: -14px 18px 18px -14px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.photo-card-sm img { object-position: 50% 30%; }
.about-role { font-weight: 600; color: var(--gold-text); margin-bottom: 20px; }
.about-copy p { color: var(--ink); }

.check-list { display: grid; gap: 12px; margin: 24px 0 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.check-list .ic {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
  margin-top: 1px;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 88px; }
  .about-photo { width: 100%; max-width: 400px; justify-self: start; }
}

/* ---------- Avaliações Google ---------- */
.g-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 24px;
}
.g-logo { width: 32px; height: 32px; }
.g-score { font-family: var(--font-title); font-size: 2.4rem; font-weight: 500; line-height: 1; }
.g-count { color: var(--muted); font-size: 0.95rem; }
.g-summary .stars .ic-fill { width: 20px; height: 20px; }

.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 8px var(--gutter) 20px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
}
.review-meta { flex: 1; min-width: 0; line-height: 1.3; }
.review-name { display: block; font-weight: 600; font-size: 0.98rem; }
.review-time { display: block; font-size: 0.82rem; color: var(--muted); }
.review-g { width: 20px; height: 20px; flex: none; }

.review-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-rating .stars .ic-fill { width: 16px; height: 16px; }
.review-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-text);
}

.review-text {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #2A3550;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.review-card.is-expanded .review-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }

.review-more {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 0;
  min-height: 32px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  cursor: pointer;
}
.review-more[hidden] { display: none; }

.carousel-controls { display: none; }

@media (min-width: 700px) {
  .carousel-track { gap: 20px; }
  .review-card { flex-basis: calc((100% - 40px - var(--gutter) * 2) / 2); }
}

@media (min-width: 1000px) {
  .carousel-track {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .review-card { flex-basis: calc((100% - 40px) / 3); }
  .carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
  .carousel-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, opacity 0.2s;
  }
  .carousel-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
  .carousel-btn:disabled { opacity: 0.3; cursor: default; }
}
.carousel-btn { padding: 0; }

.fineprint.center { max-width: 38em; margin: 16px auto 0; }

/* ---------- Reembolso ---------- */
.refund-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.refund-card h2 { font-size: clamp(1.5rem, 4.6vw, 2.1rem); }
.refund-card > p { max-width: 34em; margin-inline: auto; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 20px; }
.chips li {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
}
.refund-card .fineprint { margin: 0; }
@media (min-width: 700px) { .refund-card { padding: 56px 56px; } }

/* ---------- Localização ---------- */
.location-grid { display: grid; gap: 32px; }
.info-list { display: grid; gap: 24px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { color: var(--gold-text); margin-top: 2px; }
.info-list strong { display: block; margin-bottom: 2px; }
.info-list address, .info-list span { color: var(--muted); font-size: 0.98rem; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .map-wrap { aspect-ratio: 5 / 4; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  min-height: 64px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-text); transition: transform 0.25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA final (dentro da seção de dúvidas) ---------- */
.faq-cta {
  margin-top: 72px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.faq-cta h2 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
.faq-cta .lead { margin: 0 auto 32px; }
.faq-cta .btn { width: 100%; }
@media (min-width: 600px) { .faq-cta .btn { width: auto; } }

/* ---------- Rodapé ---------- */
.site-footer {
  background: #0E182E;
  color: #C8CEDB;
  padding: 56px 0 28px;
  font-size: 0.95rem;
}
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-note { margin-top: 16px; max-width: 24em; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links .ic, .footer-links .ic-fill { width: 20px; height: 20px; color: var(--gold); }
.footer-bottom {
  display: grid;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #A9B1C4;
}
.footer-bottom p { margin: 0; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1.3fr 1fr; gap: 56px; }
  .footer-bottom { grid-auto-flow: column; justify-content: space-between; }
}

/* ---------- WhatsApp flutuante e barra mobile ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.22);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background-color 0.2s;
}
.wa-float .ic-fill { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-dark); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.wa-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 245, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s;
}
.wa-bar .btn { width: 100%; min-height: 48px; padding: 12px 18px; font-size: 0.95rem; box-shadow: none; }
.wa-bar.is-visible { transform: none; }

@media (max-width: 899px) {
  .site-footer { padding-bottom: 96px; }
}
@media (min-width: 900px) {
  .wa-bar { display: none; }
  .wa-float { display: grid; }
}

/* ---------- Animações de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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