/* =============================================================
   Luana Sanches — Psicanalista & Terapeuta
   v3 · Folha de estilo principal
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  /* Cor — marca */
  --green-900: #14331f;
  --green-800: #1d452d; /* primária */
  --green-600: #2d5c3f;
  --olive-700: #4a5a3d;
  --olive-600: #606f52;
  --sage-400: #b9c89d;
  --sage-200: #d9e3c1;

  /* Cor — superfície e texto */
  --cream-50: #fbf9f5;
  --cream-100: #f4f1eb;
  --cream-200: #ece7dd;
  --ink-900: #2a2a26;
  --ink-700: #3e3e38;
  --ink-600: #4a4a44;
  --line: rgba(29, 69, 45, 0.12);
  --line-soft: rgba(29, 69, 45, 0.07);
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.78);

  /* Tipografia */
  --font-display: "Lora", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-logo: "Prata", "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Escala tipográfica FIXA, mobile-first (sobe uma vez em ≥768px).
     Um único tamanho de título para TODOS os títulos (hero, seções,
     "Acredito…", convite, citação). Subtítulo, lead, corpo e rótulo
     também têm tamanho fixo. Valores em rem (base 16px).            */
  --fs-eyebrow: 0.75rem;   /* 12px  — rótulos/eyebrows            */
  --fs-small: 0.875rem;    /* 14px  — legendas, rodapé            */
  --fs-body: 1rem;         /* 16px  — corpo de texto              */
  --fs-lead: 1.125rem;     /* 18px  — introduções e depoimentos   */
  --fs-subtitle: 1.25rem;  /* 20px  — subtítulos (H3)             */
  --fs-title: 1.75rem;     /* 28px  — TODOS os títulos (H1/H2)    */

  /* Aliases antigos remapeados para os novos tamanhos fixos */
  --step--1: var(--fs-small);
  --step-0: var(--fs-body);
  --step-1: var(--fs-lead);
  --step-2: var(--fs-subtitle);
  --step-3: var(--fs-title);
  --step-4: var(--fs-title);
  --step-5: var(--fs-title);

  /* Espaço — ritmo de 4/8px */
  --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: clamp(4rem, 8vw, 7.5rem);

  /* Forma e profundidade */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 51, 31, 0.05),
    0 4px 14px -8px rgba(20, 51, 31, 0.14);
  --shadow-md: 0 2px 4px rgba(20, 51, 31, 0.05),
    0 18px 40px -22px rgba(20, 51, 31, 0.28);
  --shadow-lg: 0 3px 6px rgba(20, 51, 31, 0.06),
    0 40px 80px -40px rgba(20, 51, 31, 0.35);

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  /* Layout */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 72px;

  /* Camadas */
  --z-base: 1;
  --z-sticky: 40;
  --z-header: 100;
  --z-overlay: 200;
}

/* Incremento único da escala em telas ≥768px (tablet/desktop).
   Mobile permanece com os valores base acima.                    */
@media (min-width: 768px) {
  :root {
    --fs-body: 1.0625rem;    /* 17px */
    --fs-lead: 1.1875rem;    /* 19px */
    --fs-subtitle: 1.375rem; /* 22px */
    --fs-title: 2.125rem;    /* 34px — "Acredito…" e todos os títulos */
  }
}

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

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

body {
  margin: 0;
  background: var(--cream-100);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

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

/* Deixa o aspect-ratio do CSS mandar, ignorando o atributo height do HTML */
img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--green-800);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

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

figure,
blockquote,
figcaption {
  margin: 0;
}

a {
  color: inherit;
}

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

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

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--sage-200);
  color: var(--green-900);
}

/* -------------------------------------------------------------
   3. Utilitários de layout
   ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: var(--z-overlay);
  background: var(--green-800);
  color: var(--on-dark);
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  font-size: var(--step--1);
  transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

/* -------------------------------------------------------------
   4. Tipografia de apoio
   ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-700);
  margin: 0 0 var(--sp-4);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.eyebrow--center::before {
  display: none;
}

.eyebrow--pill {
  background: var(--sage-200);
  color: var(--green-800);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.12em;
}

.eyebrow--pill::before {
  display: none;
}

.eyebrow--on-dark {
  color: var(--sage-400);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 56ch;
}

.section-title {
  font-size: var(--fs-title);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  max-width: 22ch;
}

.section-head {
  margin-bottom: var(--sp-8);
}

.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head--center .section-title {
  max-width: 24ch;
}

.text-body {
  max-width: 62ch;
  color: var(--ink-600);
}

/* -------------------------------------------------------------
   5. Botões
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-800);
  --btn-fg: var(--on-dark);
  --btn-border: var(--green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  --btn-bg: var(--green-600);
  --btn-border: var(--green-600);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  --btn-border: rgba(29, 69, 45, 0.28);
}

.btn--ghost:hover {
  --btn-bg: rgba(29, 69, 45, 0.06);
  --btn-fg: var(--green-800);
  --btn-border: var(--green-800);
  box-shadow: none;
}

.btn--light {
  --btn-bg: var(--cream-50);
  --btn-fg: var(--green-800);
  --btn-border: var(--cream-50);
}

.btn--light:hover {
  --btn-bg: #ffffff;
  --btn-border: #ffffff;
}

.btn--sm {
  min-height: 44px;
  padding: 0.625rem 1.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* -------------------------------------------------------------
   6. Cabeçalho e navegação
   ------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: rgba(244, 241, 235, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.header.is-stuck {
  border-bottom-color: var(--line-soft);
  background: rgba(244, 241, 235, 0.92);
  box-shadow: 0 1px 20px -12px rgba(20, 51, 31, 0.4);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: none;
  text-decoration: none;
}

/* --- Logotipo em texto (substitui o antigo PNG) ---------------
   "Luana Sanches" em Prata, texto corrido, caixa alta e baixa,
   um só peso. O tamanho é controlado pelo font-size de .logotype.
   ------------------------------------------------------------- */
.logotype {
  display: inline-block;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--green-800);
  white-space: nowrap;
  text-decoration: none;
}

.brand .logotype {
  transition: color var(--dur) var(--ease-out);
}

.brand:hover .logotype {
  color: var(--green-600);
}

@media (max-width: 480px) {
  .brand .logotype {
    font-size: 16px;
  }
}

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

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

.nav__link {
  position: relative;
  display: inline-block;
  padding: var(--sp-2) 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-700);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--green-800);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--green-800);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    background: var(--cream-50);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease-out),
      transform var(--dur) var(--ease-out), visibility var(--dur);
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: var(--sp-4) 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__link::after {
    display: none;
  }

  .nav .btn {
    margin-top: var(--sp-5);
    width: 100%;
  }
}

.header__cta {
  flex: none;
}

@media (max-width: 899px) {
  .header__cta--desktop {
    display: none;
  }
}

@media (min-width: 900px) {
  .nav .btn {
    display: none;
  }
}

/* -------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-8);
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 65%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(720px, 68vw);
  aspect-ratio: 1;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(185, 200, 157, 0.42),
    rgba(185, 200, 157, 0) 68%
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-title);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  max-width: 20ch;
}

.hero__title em {
  font-style: italic;
  color: inherit;
}

.hero__lead {
  margin-bottom: var(--sp-6);
  max-width: 48ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-soft);
  font-size: var(--step--1);
  color: var(--olive-700);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__meta .icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--olive-600);
}

.hero__figure {
  position: relative;
  margin: 0;
}

.hero__figure img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 620px);
  aspect-ratio: 4 / 5;
  object-position: 50% 18%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 899px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }

  .hero__title {
    max-width: 16ch;
  }

  .hero__figure {
    order: -1;
    max-width: 26rem;
  }

  .hero__figure img {
    aspect-ratio: 4 / 3;
    object-position: 50% 22%;
  }
}

/* -------------------------------------------------------------
   8. Sintomas
   ------------------------------------------------------------- */
.symptoms {
  background: var(--cream-50);
  border-block: 1px solid var(--line-soft);
}

/* Faixa larga e baixa no topo — mostra a sala na horizontal sem corte vertical */
.symptoms__banner {
  margin: 0;
}

.symptoms__banner img {
  width: 100%;
  height: clamp(240px, 30vw, 420px);
  object-fit: cover;
  object-position: center 58%;
}

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

.symptoms__head {
  max-width: 60ch;
  margin-bottom: var(--sp-6);
}

/* Título do bloco em uma linha só (não quebra em duas) */
.symptoms__head .section-title {
  max-width: none;
  white-space: nowrap;
}

.symptoms__head .text-body {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  /* Em telas menores não cabe em uma linha; volta a quebrar naturalmente */
  .symptoms__head .section-title {
    white-space: normal;
  }
}

.symptoms__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2) clamp(2rem, 6vw, 5rem);
  margin: 0 0 var(--sp-6);
}

.symptoms__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-body);
  color: var(--ink-600);
}

.symptoms__list .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 5px;
  color: var(--sage-400);
}

.symptoms__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--green-800);
  margin: 0;
}

@media (max-width: 719px) {
  .symptoms__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* -------------------------------------------------------------
   9. Sobre
   ------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.about__figure {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
  margin: 0;
}

.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__caption {
  margin-top: var(--sp-4);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--olive-700);
}

.about__name {
  font-size: var(--fs-title);
  line-height: 1.2;
  margin-bottom: var(--sp-1);
}

.about__role {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin-bottom: var(--sp-6);
}

.about__text p {
  max-width: 60ch;
  color: var(--ink-600);
}

@media (max-width: 899px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__figure {
    position: static;
    max-width: 24rem;
  }
}

/* -------------------------------------------------------------
   11. Como funciona
   ------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--sage-200);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1;
}

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

.step p {
  margin: 0;
  color: var(--ink-600);
}

@media (max-width: 899px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   12. Citação sobre a aquarela
   ------------------------------------------------------------- */
.quote {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(78vh, 620px);
  padding-block: var(--sp-9);
  isolation: isolate;
  overflow: hidden;
}

.quote > picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.quote__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(20, 51, 31, 0.72) 0%,
      rgba(20, 51, 31, 0.5) 46%,
      rgba(20, 51, 31, 0.18) 100%
    );
}

.quote__inner {
  width: 100%;
  text-align: left;
}

.quote blockquote {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-style: italic;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(20, 51, 31, 0.5);
}

.quote cite {
  display: block;
  margin-top: var(--sp-5);
  font-style: normal;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-200);
}

@media (max-width: 719px) {
  .quote {
    min-height: 70vh;
  }

  .quote__media {
    object-position: 72% 50%;
  }

  .quote::after {
    background: linear-gradient(
      180deg,
      rgba(20, 51, 31, 0.55) 0%,
      rgba(20, 51, 31, 0.72) 100%
    );
  }

  .quote blockquote {
    max-width: 18ch;
  }
}

/* -------------------------------------------------------------
   14. Depoimentos
   ------------------------------------------------------------- */
/* Título em uma linha só (não quebra) */
#depoimentos-titulo {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 719px) {
  /* No mobile não cabe em uma linha; volta a quebrar naturalmente */
  #depoimentos-titulo {
    white-space: normal;
  }
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

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

.testimonial {
  position: relative;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.15em;
  left: 0.4em;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--sage-400);
  opacity: 0.65;
}

.testimonial blockquote {
  position: relative;
  margin: 0 0 var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.6;
  color: var(--green-900);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-700);
}

.testimonial figcaption::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--sage-400);
}

/* -------------------------------------------------------------
   15. Perguntas frequentes
   ------------------------------------------------------------- */
.faq__list {
  border-top: 1px solid var(--line-soft);
}

.faq__item {
  border-bottom: 1px solid var(--line-soft);
}

.faq__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
  min-height: 56px;
  padding: var(--sp-5) 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--green-800);
  transition: color var(--dur) var(--ease-out);
}

.faq__trigger:hover {
  color: var(--green-600);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 0.35em;
  border-radius: var(--radius-pill);
  background: var(--sage-200);
  transition: background var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--green-800);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

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

.faq__trigger[aria-expanded="true"] .faq__icon {
  background: var(--green-800);
  transform: rotate(180deg);
}

.faq__trigger[aria-expanded="true"] .faq__icon::before,
.faq__trigger[aria-expanded="true"] .faq__icon::after {
  background: var(--cream-50);
}

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

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.faq__panel[data-open="true"] {
  grid-template-rows: 1fr;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__panel p {
  max-width: 62ch;
  margin: 0;
  padding-bottom: var(--sp-5);
  color: var(--ink-600);
}

/* -------------------------------------------------------------
   16. Convite final (foto + painel verde)
   ------------------------------------------------------------- */
.invite {
  color: var(--on-dark-soft);
}

.invite__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.invite__figure {
  margin: 0;
  display: block;
  height: 100%;
}

.invite__figure picture {
  display: block;
  height: 100%;
}

.invite__figure img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: 60% center;
}

.invite__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-9) var(--gutter);
  padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  background: linear-gradient(150deg, var(--green-800) 0%, var(--green-900) 100%);
}

.invite h2 {
  color: var(--cream-50);
  font-size: var(--fs-title);
  line-height: 1.2;
  max-width: 18ch;
}

.invite .btn-row {
  margin-top: var(--sp-5);
}

@media (max-width: 899px) {
  .invite__grid {
    grid-template-columns: 1fr;
  }

  .invite__figure img {
    min-height: 260px;
    max-height: 42vh;
  }

  .invite__panel {
    padding: var(--sp-8) var(--gutter);
  }
}

/* -------------------------------------------------------------
   17. Rodapé
   ------------------------------------------------------------- */
.footer {
  background: var(--green-900);
  color: var(--on-dark-soft);
  padding-block: var(--sp-7) var(--sp-6);
  font-size: var(--step--1);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

.logotype--footer {
  font-size: 25px;
  color: var(--cream-50);
  margin-bottom: var(--sp-4);
}

.footer h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-400);
  margin-bottom: var(--sp-3);
}

.footer a {
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

.footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer__links li:not(:has(a)) {
  padding-block: var(--sp-1);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  padding-top: var(--sp-5);
  color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------
   18. WhatsApp flutuante
   ------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: calc(clamp(1rem, 3vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  background: var(--green-800);
  color: var(--on-dark);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-spring), visibility var(--dur),
    background var(--dur) var(--ease-out);
}

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

.whatsapp-fab:hover {
  background: var(--green-600);
}

.whatsapp-fab .icon {
  width: 22px;
  height: 22px;
  flex: none;
}

@media (max-width: 599px) {
  .whatsapp-fab__label {
    display: none;
  }

  .whatsapp-fab {
    padding: 0.875rem;
    min-width: 56px;
    justify-content: center;
  }
}

/* No desktop já existe o botão "Conversar" no cabeçalho — o flutuante
   fica só no mobile/tablet. */
@media (min-width: 900px) {
  .whatsapp-fab {
    display: none;
  }
}

/* -------------------------------------------------------------
   19. Animação de entrada
   ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------
   20. Impressão
   ------------------------------------------------------------- */
@media print {
  .header,
  .whatsapp-fab,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
