/* =========================================================================
   DRA. LUCIANA LEONOR — TERAPIA NEURAL EM ITAJAÍ
   Identidade: verde institucional #475236 + dourado da logo + off white.
   Tipografia: Montserrat.
   ========================================================================= */

:root {
  --green-900: #262e1e;
  --green-800: #333e29;
  --green-700: #475236; /* verde institucional principal */
  --green-600: #576a3f;
  --green-500: #6d7f52;

  --gold-600: #a4813f;
  --gold-500: #bf9a52;
  --gold-400: #d3b876;
  --gold-100: #f1e4c8;

  --off-white: #faf7f1;
  --cream: #f3ece0;
  --paper: #ffffff;

  --ink: #23281d;
  --ink-soft: #565f4c;
  --ink-faint: #8b9280;

  --line: #e4ddcd;

  --shadow-soft: 0 20px 45px -25px rgba(35, 40, 29, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(35, 40, 29, 0.22);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-sans: "Montserrat", "Segoe UI", sans-serif;

  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 800;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

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

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
}

.section-lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------- BUTTONS ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--green-700);
  color: var(--off-white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: var(--green-900);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--off-white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-ghost:hover {
  background: var(--green-700);
  color: var(--off-white);
}

.btn-block {
  width: 100%;
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-700);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
}

.btn-icon-wa {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ---------------------------------- HEADER ------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 18px 0;
  background: rgba(250, 247, 241, 0.75);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(250, 247, 241, 0.96);
  box-shadow: 0 8px 24px -18px rgba(35, 40, 29, 0.4);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 54px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .brand img {
  height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold-500);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

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

.header-actions .btn {
  padding: 13px 26px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 40, 29, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 65;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 84vw);
  background: var(--off-white);
  z-index: 70;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -20px 0 40px -20px rgba(35, 40, 29, 0.3);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav .btn {
  margin-top: 12px;
}

/* ----------------------------------- HERO -------------------------------- */
.hero {
  position: relative;
  padding: 168px 0 100px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.015em;
}

.hero-copy .section-lead {
  max-width: 470px;
  font-size: 18px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

/* Card fotográfico contido (não sangra até a borda da viewport), com o
   selo "Avaliação individualizada" sobreposto de forma compacta ao canto
   inferior esquerdo da imagem, como um pequeno destaque integrado. */
.hero-visual {
  position: relative;
}

.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1672 / 941;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-visual .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
}

.hero-badge {
  position: absolute;
  left: -20px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  background: var(--green-700);
  color: var(--off-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
  box-shadow: var(--shadow-soft);
}

.hero-badge .icon-dot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(250, 247, 241, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge .icon-dot svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold-400);
}

.hero-badge strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.25;
}

.hero-badge span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(250, 247, 241, 0.85);
  line-height: 1.35;
}

/* ------------------------------ QUEIXAS / IDENTIFICAÇÃO -------------------- */
.queixas-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.queixa-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.queixa-photo {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-card);
}

.queixa-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) saturate(92%) brightness(1.03);
}

.queixa-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(71, 82, 54, 0.4), rgba(191, 154, 82, 0.16));
  mix-blend-mode: multiply;
}

.queixa-card span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.queixas-note {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
  font-style: italic;
}

/* --------------------------------- TERAPIA NEURAL -------------------------- */
.terapia-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.terapia-text .section-lead {
  margin-top: 20px;
}

.terapia-text p {
  color: var(--ink-soft);
}

.terapia-text p + p {
  margin-top: 16px;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.info-card h3 {
  font-size: 19px;
  margin-bottom: 22px;
}

.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.info-card li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  stroke: var(--gold-600);
}

/* --------------------------------- COMO FUNCIONA ---------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  position: relative;
  padding: 8px 8px 0 0;
}

.step-number {
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.step-card:not(:last-child) {
  border-right: 1px solid var(--line);
  padding-right: 32px;
}

/* --------------------------------- SOBRE --------------------------------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.sobre-visual {
  position: relative;
}

.sobre-visual .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 4.3;
}

.sobre-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 22%;
}

.sobre-visual .frame-accent {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.sobre-copy .signature {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-top: 18px;
}

.sobre-copy .role {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sobre-copy p.body-text {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.sobre-copy .btn {
  margin-top: 32px;
}

/* -------------------------------- DEPOIMENTOS ------------------------------ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.depoimento-carousel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.depoimento-track {
  position: relative;
  min-height: 160px;
}

.depoimento-slide {
  display: none;
  margin: 0;
}

.depoimento-slide.is-active {
  display: block;
}

.depoimento-slide .stars {
  color: var(--gold-500);
  letter-spacing: 3px;
  font-size: 15px;
  margin-bottom: 16px;
}

.depoimento-slide p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  font-style: normal;
}

.depoimento-slide cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--green-700);
}

.depoimento-nav {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.dep-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.dep-arrow:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}
.dep-arrow:hover svg {
  stroke: var(--off-white);
}
.dep-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
}

.depoimento-dots {
  display: flex;
  gap: 8px;
}

.dep-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dep-dot.is-active {
  background: var(--gold-500);
  transform: scale(1.3);
}

.google-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.google-wordmark {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.google-score {
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.google-card .stars {
  color: var(--gold-500);
  letter-spacing: 3px;
  font-size: 16px;
  margin: 10px 0 4px;
}

.google-caption {
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.google-card .btn {
  padding: 12px 26px;
}

/* -------------------------------- DIFERENCIAIS ---------------------------- */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.diferencial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.diferencial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.diferencial-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.diferencial-card .icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-400);
}

.diferencial-card h3 {
  font-size: 15.5px;
  line-height: 1.4;
}

/* ------------------------------------ FAQ --------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.faq-question .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--gold-600);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-answer {
  max-height: 320px;
}

/* ------------------------------------ CTA FINAL ---------------------------- */
.cta-final {
  background: var(--green-700);
  background-image: radial-gradient(circle at 15% 20%, rgba(211, 184, 118, 0.16), transparent 45%);
  padding: 110px 0;
  text-align: center;
}

.cta-final h2 {
  color: var(--off-white);
  font-size: clamp(26px, 3vw, 36px);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
}

.cta-final p {
  margin-top: 20px;
  color: rgba(250, 247, 241, 0.82);
  font-size: 17px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-final .btn {
  margin-top: 36px;
}

/* --------------------------------- LOCALIZAÇÃO ----------------------------- */
.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.localizacao-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-row .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-row .icon-circle svg {
  width: 21px;
  height: 21px;
  stroke: var(--green-700);
}

.info-row h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.info-row p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  height: 420px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ------------------------------------ FOOTER ------------------------------- */
.site-footer {
  background: var(--green-900);
  color: rgba(250, 247, 241, 0.75);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(250, 247, 241, 0.14);
}

.footer-brand img {
  height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
  color: rgba(250, 247, 241, 0.6);
}

.footer-nav {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--off-white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col p {
  font-size: 14.5px;
  color: rgba(250, 247, 241, 0.65);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: var(--off-white);
}

.footer-social svg.filled {
  fill: var(--off-white);
  stroke: none;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(250, 247, 241, 0.45);
}

.footer-credit-link {
  display: inline-block;
  margin-left: 6px;
  color: rgba(250, 247, 241, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit-link:hover {
  color: var(--gold-400);
}

/* ------------------------------- WHATSAPP FLUTUANTE ------------------------ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(37, 211, 102, 0.55);
  z-index: 55;
  transition: transform 0.25s ease;
  border: none;
}
.whatsapp-float:hover {
  transform: scale(1.06);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* ----------------------------------- MODAL --------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 40, 29, 0.62);
  backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 30px 60px -20px rgba(35, 40, 29, 0.5);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.popup-panel {
  max-width: 520px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
}

.modal-eyebrow {
  color: var(--gold-600);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.modal-panel h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.modal-panel > .modal-form-wrapper > p,
.modal-panel > p.modal-intro {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 26px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(71, 82, 54, 0.16);
}

.form-field input.has-error {
  border-color: #c0553f;
}

.field-error {
  display: block;
  min-height: 16px;
  font-size: 12.5px;
  color: #c0553f;
  margin-top: 6px;
}

.modal-success {
  text-align: center;
  padding: 12px 0 4px;
}

.modal-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.modal-success .success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-400);
}

.modal-success h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.modal-success p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.modal-success .link-inline {
  display: inline-flex;
  margin-top: 16px;
}

/* ---------------------------- OFERTA POPUP DE SAÍDA ------------------------- */
.popup-offer {
  margin-top: 8px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--cream), var(--off-white));
  padding: 26px;
  text-align: center;
}

.popup-offer .price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin: 14px 0 6px;
  flex-wrap: wrap;
}

.popup-offer .price-old {
  font-size: 16px;
  color: var(--ink-faint);
  text-decoration: line-through;
}

.popup-offer .price-new {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 38px;
  color: var(--green-700);
}

.popup-offer .price-caption {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.popup-panel .btn {
  margin-top: 22px;
}

/* ============================== RESPONSIVIDADE ============================= */
@media (max-width: 1080px) {
  .main-nav {
    gap: 26px;
  }
  .diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
  .google-card {
    padding: 32px;
  }
}

/* As 8 queixas ficam em uma única fileira em telas de desktop (a partir de
   ~960px). Abaixo disso, a fileira passa a quebrar naturalmente em 4+4
   (tablet) e depois 2+2 (mobile), conforme o espaço disponível. */
@media (max-width: 960px) {
  .queixas-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
  }
  .queixa-photo {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 112px 0 64px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .terapia-grid,
  .sobre-grid,
  .localizacao-grid {
    grid-template-columns: 1fr;
  }
  .sobre-visual {
    max-width: 380px;
    margin: 0 auto;
  }
  .localizacao-info {
    order: 2;
  }
  .map-frame {
    order: 1;
    height: 320px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .step-card:not(:last-child) {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 32px;
  }

  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 64px 0;
  }
  .section--tight {
    padding: 52px 0;
  }
  .hero {
    padding-top: 88px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-badge {
    left: 12px;
    bottom: -18px;
    max-width: calc(100% - 24px);
  }
  .queixas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-nav {
    gap: 32px;
  }
  .modal-panel {
    padding: 32px 24px;
  }
  .popup-offer .price-new {
    font-size: 34px;
  }
  .depoimento-carousel {
    padding: 32px 24px;
  }
  .cta-final {
    padding: 80px 0;
  }
  /* Espaço extra para o texto do rodapé não ficar embaixo do botão
     flutuante do WhatsApp, que é fixo e sobreporia o link clicável. */
  .footer-bottom {
    padding-bottom: 92px;
  }
}

@media (max-width: 420px) {
  .queixas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 12px;
  }
  .queixa-photo {
    width: 96px;
    height: 96px;
  }
}
