/* ============================================================
   Dr. Fernando Carvalho — site v2
   Direção: editorial orgânico. Creme, verde-sálvia, terracota,
   âmbar e petróleo. Newsreader (títulos) + Plus Jakarta Sans (texto).
   Fontes servidas localmente (pasta fonts/), sem Google Fonts.
   ============================================================ */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/newsreader-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FAF8F5;
  --cream-2: #F4F0E8;
  --ivory: #F5F2EB;
  --white: #FFFFFF;
  --slate: #1C313A;
  --slate-soft: #4A5A61;
  --sage: #4D7C5F;
  --sage-deep: #2F5A43;
  --sage-tint: rgba(77, 124, 95, 0.09);
  --sage-line: rgba(77, 124, 95, 0.28);
  --terra: #AD5A3C;
  --terra-deep: #8F4529;
  --ochre: #D4A359;
  --ochre-tint: rgba(212, 163, 89, 0.15);
  --ochre-line: rgba(212, 163, 89, 0.4);
  --line: rgba(28, 49, 58, 0.1);
  --line-soft: rgba(28, 49, 58, 0.07);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 0.5rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --shadow-card: 0 8px 24px -4px rgba(28, 49, 58, 0.06), 0 2px 6px -1px rgba(28, 49, 58, 0.04);
  --shadow-float: 0 16px 36px -6px rgba(28, 49, 58, 0.12), 0 4px 12px -2px rgba(28, 49, 58, 0.06);

  --pad-x: 3rem;
  --section-y: clamp(2.5rem, 5vw, 4.25rem);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
[id] { scroll-margin-top: 6rem; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--pad-x); }
.icon { width: 1em; height: 1em; flex: none; }
.ic { width: 1.125rem; height: 1.125rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic--cheio { fill: currentColor; stroke: none; }

/* ---------- Tipografia ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; color: var(--slate); text-wrap: balance; }
.display em { font-style: italic; color: var(--sage-deep); }
.h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; }
.lead { font-size: 1.05rem; line-height: 1.6; color: var(--slate-soft); max-width: 34rem; }

.eyebrow .ic { width: 0.95rem; height: 0.95rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: var(--sage-tint);
  border: 1px solid var(--sage-line);
  color: var(--sage-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: 600 0.9375rem/1.25 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn .wa-icon { width: 1.25em; height: 1.25em; }

.btn-primary, .btn-wa { background: var(--terra); color: #fff; box-shadow: 0 8px 20px -8px rgba(173, 90, 60, 0.55); }
.btn-primary:hover, .btn-wa:hover { background: var(--terra-deep); box-shadow: 0 12px 26px -8px rgba(143, 69, 41, 0.6); }
.btn-outline { background: transparent; color: var(--slate); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage-tint); }
.btn-light { background: var(--cream); color: var(--slate); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4); }
.btn-light:hover { background: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(28, 49, 58, 0.18); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1160px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--slate);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-list { display: flex; gap: 2rem; }
.nav-list a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-list a:hover { color: var(--slate); }
.nav-list a:hover::after { transform: scaleX(1); }
.header-cta { padding: 0.7rem 1.2rem; font-size: 0.875rem; flex-shrink: 0; }

.menu-m { display: none; position: relative; }
.menu-m summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
}
.menu-m summary .ic { width: 1rem; height: 1rem; }
.menu-m summary::-webkit-details-marker { display: none; }
.menu-m ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 13rem;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
}
.menu-m li a { display: block; padding: 0.7rem 0.9rem; border-radius: var(--r-sm); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.menu-m li a:hover { background: var(--sage-tint); }

/* ---------- Hero ---------- */
.hero { padding: clamp(1.5rem, 3vw, 2.5rem) 0 var(--section-y); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero-id { padding-left: 0.9rem; border-left: 2px solid var(--ochre); font-size: 0.875rem; line-height: 1.5; color: var(--slate-soft); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.hero-id .hero-id-nome { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.25; color: var(--slate); }
.hero-beneficios { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-beneficios li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  background: var(--sage-tint);
  border: 1px solid var(--sage-line);
  border-radius: var(--r-md);
  font-weight: 600;
  line-height: 1.35;
}
.hero-beneficios .icon { width: 1.15rem; height: 1.15rem; color: var(--sage-deep); stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-facts .ic { width: 1.1rem; height: 1.1rem; color: var(--sage); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border-radius: 9999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.primeiro-contato { font-size: 0.875rem; line-height: 1.6; color: var(--slate-soft); max-width: 30rem; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.rating-badge:hover { transform: translateY(-1px); }
.rating-stars { display: inline-flex; gap: 2px; color: var(--ochre); }
.rating-stars svg { width: 1rem; height: 1rem; }

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
.photo-card {
  position: absolute;
  left: -1.25rem;
  bottom: 1.75rem;
  display: grid;
  gap: 0.15rem;
  max-width: 17rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
}
.photo-card strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.25; }
.photo-card span { font-size: 0.8125rem; color: var(--slate-soft); line-height: 1.45; }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--cream-2); }
.section-head { max-width: 40rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }

/* Serviços */
.servicos-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.25; margin-bottom: 0.6rem; }
.card p { font-size: 0.9375rem; color: var(--slate-soft); }
.card-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
}
.card-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* O que esperar */
.expect-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.expect-grid .card { padding: 1.5rem; }
.expect-grid h3 { text-wrap: balance; }
.section-cta { margin-top: clamp(2rem, 4vw, 3rem); }

/* Sobre mim */
.credentials { display: grid; gap: 0.8rem; margin-bottom: 1.5rem; }
.credentials li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-weight: 500;
}
.credentials .icon { margin-top: 0.2rem; width: 1.2rem; height: 1.2rem; color: var(--sage); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.badge {
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--sage-tint);
  border: 1px solid var(--sage-line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.sobre-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sobre-top .credentials { margin-top: 1.75rem; }
.sobre-intro {
  padding-left: 1.5rem;
  border-left: 2px solid var(--ochre);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--slate);
}
.formacao-title { margin-bottom: 1.25rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.formacao-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1.25rem; align-items: start; }
.formacao-card { padding: clamp(1.4rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.formacao-ano { margin: 0 0 1.25rem; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1; color: var(--terra); }
.timeline { margin-left: 0.35rem; padding-left: 1.4rem; border-left: 2px solid var(--sage-line); display: grid; gap: 1.1rem; }
.timeline li { position: relative; }
.timeline li::before {
  content: '';
  position: absolute;
  left: calc(-1.4rem - 5px);
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px var(--white);
}
.timeline strong { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.timeline span { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: var(--slate-soft); }

/* Valores e informações */
.atend-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.info-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.info-card .card-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 0.9rem; }
.info-card h3 { margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.info-card p { font-size: 0.9375rem; color: var(--slate-soft); }
.info-card .info-nota { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px dashed var(--line); font-size: 0.8125rem; }
.info-card--wide { grid-column: 1 / -1; }

.price-panel {
  position: sticky;
  top: 6.5rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--slate);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
.price-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--ochre-tint);
  border: 1px solid var(--ochre-line);
  color: var(--ochre);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-panel h3 { margin-top: 1rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: rgba(255, 255, 255, 0.85); }
.price-valor { display: flex; align-items: baseline; gap: 0.35rem; margin: 0.4rem 0 0.6rem; font-family: var(--serif); line-height: 1; }
.price-valor small { font-size: 1.5rem; color: rgba(255, 255, 255, 0.7); }
.price-valor strong { font-size: clamp(3.75rem, 7vw, 5rem); font-weight: 400; letter-spacing: -0.02em; }
.price-lista { display: grid; gap: 0.55rem; margin: 1.1rem 0 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.9375rem; color: rgba(255, 255, 255, 0.88); }
.price-lista li { display: flex; gap: 0.6rem; align-items: flex-start; }
.price-lista .icon { margin-top: 0.25rem; width: 1rem; height: 1rem; color: var(--ochre); stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.price-panel .btn { width: 100%; }

/* Ancoragem de valor (perguntas antes do preço) */
.section--ancora { padding-bottom: calc(var(--section-y) * 0.75); }
.section--ancora-dep { padding-top: calc(var(--section-y) * 0.75); }
.section--ancora .section-head { max-width: 46rem; }
.section--ancora .section-head .lead { margin-top: 1rem; max-width: none; }
.duvidas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.duvida-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.duvida-card summary { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.35rem; list-style: none; cursor: pointer; }
.duvida-card summary::-webkit-details-marker { display: none; }
.duvida-card .card-icon { margin: 0; flex: none; width: 2.5rem; height: 2.5rem; }
.duvida-titulo { flex: 1; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.duvida-card[open] .faq-ic { transform: rotate(45deg); }
.duvida-lista { display: grid; gap: 0.7rem; padding: 0 1.35rem 1.35rem; }
.duvida-lista li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: var(--slate-soft); }
.duvida-lista .icon { flex: none; margin-top: 0.2rem; width: 1rem; height: 1rem; color: var(--sage-deep); stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.duvidas-fecho { margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-style: italic; color: var(--slate); }
.duvidas-fecho a { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: 0.4rem; font-family: var(--sans); font-style: normal; font-size: 0.9375rem; font-weight: 600; color: var(--sage-deep); text-underline-offset: 4px; }
.duvidas-fecho .ic { width: 1rem; height: 1rem; }
@media (min-width: 861px) {
  .duvida-card summary { cursor: default; pointer-events: none; }
  .duvida-card .faq-ic { display: none; }
}

/* Pendente de confirmação do doutor. Remover a classe quando preenchido. */
.pendente { outline: 2px dashed var(--ochre); outline-offset: 3px; border-radius: 4px; }

/* Localização */
.local-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: stretch; }
.local-info { display: flex; flex-direction: column; gap: 1.5rem; }
.local-lista { display: grid; gap: 1.25rem; }
.local-lista li { display: flex; gap: 0.9rem; align-items: flex-start; }
.local-lista .card-icon { margin: 0; flex: none; width: 2.5rem; height: 2.5rem; }
.local-lista strong { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage-deep); }
.local-lista span { font-size: 1rem; }
.local-botoes { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.mapa {
  min-height: 18rem;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 18rem; border: 0; }

/* CTA final */
.section-cta-final { padding: clamp(2.5rem, 5vw, 3.75rem) 0; background: var(--sage-deep); color: #fff; }
.cta-final-inner { display: grid; gap: 1.25rem; justify-items: start; max-width: 40rem; }
.cta-final-inner .display, .cta-final-inner .display em { color: #fff; }
.cta-final-inner .display em { color: #CFE9D8; }
.cta-final-inner .lead { color: rgba(255, 255, 255, 0.85); }

/* Aviso de urgência + rodapé */
.urgencia { padding: 1.75rem 0; }
.urgencia p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  background: var(--ochre-tint);
  border: 1px solid var(--ochre-line);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  line-height: 1.55;
}
.urgencia strong { font-weight: 700; }
.urgencia .ic { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--terra-deep); }
.site-footer { background: var(--slate); color: rgba(255, 255, 255, 0.78); padding-top: clamp(2.25rem, 4vw, 3rem); font-size: 0.9375rem; }
.site-footer :focus-visible { outline-color: var(--ochre); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.footer-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.2; color: #fff; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.45; color: #E8C48A; }
.footer-reg { margin-top: 0.5rem; font-size: 0.8125rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.footer-col h2 { margin-bottom: 1rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 0.625rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; }
.rodape-contato li { display: flex; gap: 0.75rem; align-items: flex-start; }
.rodape-contato .ic { width: 1.125rem; height: 1.125rem; margin-top: 0.25rem; color: #E8C48A; }
.site-footer .redes { display: flex; gap: 0.625rem; margin-top: 1.1rem; }
.site-footer .redes a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r-sm); color: #fff; }
.site-footer .redes a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.site-footer .redes .ic { width: 1.25rem; height: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; color: #B7C0C4; }
.footer-bottom nav a { color: #DCE3E6; }
.assinatura { display: inline-flex; align-items: center; gap: 0.5rem; color: #B7C0C4; }
.assinatura img { height: 1.75rem; width: auto; }
.assinatura strong { color: #fff; font-weight: 600; }
.site-footer--slim { padding-top: 1.5rem; }
.site-footer--slim .footer-bottom { border-top: 0; }

/* CTA fixo no celular */
.mobile-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(var(--cookie-h, 0px) + 0.9rem);
  z-index: 40;
  display: none;
}
.mobile-cta[hidden] { display: none !important; }
.mobile-cta .btn { width: 100%; box-shadow: var(--shadow-float); }

/* Cookies */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem var(--pad-x);
  background: var(--slate);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: #fff; text-underline-offset: 3px; }
.cookie-banner-accept {
  flex: none;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--slate);
  font: 600 0.875rem/1 var(--sans);
  cursor: pointer;
}
.cookie-banner-accept:hover { background: #fff; }

/* Revelação ao rolar (nada fica escondido até a primeira rolagem) */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
html.reveal-sem-transicao .reveal { transition: none !important; }

/* Ação secundária discreta (o destaque fica com o WhatsApp) */
.hero-ctas { align-items: center; }
.link-suave {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.link-suave .ic { width: 1rem; height: 1rem; }
.link-suave:hover { color: var(--slate); text-decoration-color: var(--sage); }

/* Depoimentos */
.section--tint { background: #EDF3EE; }
.teste-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--ochre-tint);
  border: 1px dashed var(--ochre);
  color: var(--terra-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.quotes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding: 0.5rem; }
.quote {
  position: relative;
  margin: 0;
  padding: 3.6rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.quote-mark { position: absolute; top: 1rem; left: 1.25rem; color: var(--sage); opacity: 0.28; pointer-events: none; }
.quote-mark .ic { width: 1.9rem; height: 1.9rem; stroke-width: 1.6; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--slate); }
.quote figcaption { padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--slate-soft); }
.quotes-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
.quotes-link { margin-top: 1.75rem; }
.quotes-link a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--sage-deep); text-underline-offset: 4px; }
.quotes-link .arrow { width: 1.1em; height: 1.1em; }

/* FAQ (accordion) */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { width: 1.8rem; height: 1.8rem; padding: 0.4rem; border-radius: 50%; background: var(--sage-tint); color: var(--sage-deep); transition: transform 0.25s ease; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--sage-deep); }
.faq-body { padding: 0 1.4rem 1.35rem; font-size: 0.9375rem; color: var(--slate-soft); }
.faq-body p + p, .faq-body ol + p { margin-top: 0.8rem; }
.faq-body ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.faq-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.25rem; margin-top: 0.6rem; font-size: 0.9375rem; font-weight: 500; }

/* ---------- Página legal ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--section-y); }
.legal-inner { max-width: 46rem; margin: 0 auto; padding: 0 var(--pad-x); }
.legal .eyebrow { margin-bottom: 1.25rem; }
.legal-updated { margin-top: 1.1rem; font-size: 0.875rem; color: var(--slate-soft); }
.legal-intro { margin: 1.75rem 0 0; font-size: 1.0625rem; color: var(--slate-soft); }
.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 3rem 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.25;
}
.legal h2 .n { font-style: italic; font-size: 1.1rem; color: var(--terra); }
.legal p { margin-top: 0.9rem; color: var(--slate-soft); }
.legal ul { display: grid; gap: 0.6rem; margin-top: 1rem; padding-left: 0; }
.legal li { position: relative; padding-left: 1.4rem; color: var(--slate-soft); }
.legal li::before { content: ''; position: absolute; left: 0.2rem; top: 0.72em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--sage); }
.legal strong { color: var(--slate); font-weight: 600; }
.legal a { color: var(--sage-deep); text-underline-offset: 3px; }
.legal-card {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.1rem;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--ochre);
  border-radius: var(--r-md);
  color: var(--slate-soft);
}
.legal-card strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--slate); }
.legal-voltar { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--slate-soft); }
.legal-voltar:hover { color: var(--slate); }
.legal-voltar .icon { transform: rotate(180deg); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 2rem; }
  .formacao-cols { grid-template-columns: minmax(0, 1fr); }
  .atend-grid { grid-template-columns: minmax(0, 1fr); }
  .price-panel { position: static; order: -1; }
}

@media (max-width: 860px) {
  :root { --pad-x: 1.25rem; --header-h: 68px; }
  .nav-list { display: none; }
  .menu-m { display: block; }
  .header-inner { gap: 0.75rem; }
  .hero-grid, .servicos-grid, .sobre-top, .formacao-cols, .local-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .quotes-grid, .quotes-grid--2, .duvidas-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
  /* espaço para o botão fixo não cobrir o fim da página */
  body { padding-bottom: 5.25rem; }
  .hero-photo { max-width: 28rem; }
  .photo-card { left: 0.75rem; right: 0.75rem; max-width: none; bottom: 0.75rem; }
  .expect-grid { grid-template-columns: minmax(0, 1fr); }
  .mapa, .mapa iframe { min-height: 18rem; }
  .mobile-cta { display: block; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 0.9rem var(--pad-x); }
  .cookie-banner-accept { width: 100%; padding: 0.75rem; }
}

@media (max-width: 600px) {
  .cards-2, .info-grid, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .wordmark { font-size: 1.15rem; }
  .header-cta { padding: 0.6rem 0.9rem; font-size: 0.8125rem; }
  .hero-ctas, .hero-ctas .btn, .cta-final-inner .btn { width: 100%; }
  .hero { padding-top: 1rem; }
  .hero-ctas { justify-content: center; }
  .faq-cta .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .local-botoes .btn { width: 100%; }
  .hero-id .hero-id-nome { font-size: 1.25rem; }
}

/* Em telas estreitas o botão do cabeçalho some para o nome não ser cortado.
   O contato continua sempre à mão: o botão fixo do rodapé fica visível o tempo todo. */
@media (max-width: 480px) {
  .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .btn, .btn .arrow, .rating-badge { transition: none !important; }
  .js-ready .reveal:not(.in) { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .cookie-banner, .mapa { display: none !important; }
}
