/* =========================================================================
   DRA. SARA GABELINI — LANDING PAGE
   Design system: sofisticado, minimalista, feminino sem ser delicado demais
   ========================================================================= */

:root {
  /* Paleta */
  --c-offwhite: #faf7f2;
  --c-champagne: #f1e8da;
  --c-champagne-soft: #f7f1e6;
  --c-graphite: #221f1a;
  --c-graphite-soft: #4c463d;
  --c-graphite-mute: #7a7366;
  --c-brown: #8a6a47;
  --c-brown-soft: #b79a75;
  --c-accent: #26221b;
  --c-accent-dark: #131109;
  --c-gold: #a9822f;
  --c-white: #ffffff;
  --c-line: #e4d9c6;

  /* Tipografia */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Espaçamento */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 2.5rem;
  --space-xl: 3rem;
  --space-2xl: 2.75rem;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 40px -18px rgba(34, 31, 26, 0.25);
  --shadow-strong: 0 20px 60px -20px rgba(34, 31, 26, 0.35);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-sans);
  color: var(--c-graphite-soft);
  background: var(--c-offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--c-graphite);
  font-weight: 600;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2.5rem; }
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brown);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--c-gold);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}
.section-head.center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--c-graphite-mute);
  max-width: 56ch;
}
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 12px 30px -12px rgba(34, 31, 26, 0.5);
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(34, 31, 26, 0.55);
  border-color: var(--c-gold);
}

.btn-outline {
  background: transparent;
  color: var(--c-graphite);
  border: 1.5px solid var(--c-graphite);
}
.btn-outline:hover {
  background: var(--c-graphite);
  color: var(--c-offwhite);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--c-offwhite);
  border: 1.5px solid rgba(250, 247, 242, 0.45);
}
.btn-ghost-light:hover {
  background: rgba(250, 247, 242, 0.12);
  border-color: var(--c-offwhite);
}

.btn-sm { padding: 0.7rem 1.35rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header.is-scrolled {
  border-color: var(--c-line);
  box-shadow: 0 8px 30px -20px rgba(34, 31, 26, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
  gap: 1rem;
}

.header__logo { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.header__logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.header__logo-text {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--c-graphite);
  line-height: 1.2;
  min-width: 0;
}
.header__logo-text strong { display: block; font-size: 0.9rem; white-space: nowrap; }
.header__logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-brown);
  white-space: nowrap;
}
@media (min-width: 560px) {
  .header__logo img { height: 68px; width: 68px; }
  .header__logo-text { font-size: 0.95rem; }
  .header__logo-text strong { font-size: 1rem; }
  .header__logo-text span { font-size: 0.68rem; letter-spacing: 0.14em; }
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-graphite-soft);
  transition: color var(--transition);
  position: relative;
}
.header__nav a:hover { color: var(--c-accent); }

@media (min-width: 900px) {
  .header__nav { display: flex; }
}

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

.header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
}
@media (min-width: 900px) { .header__menu-btn { display: none; } }
.header__menu-btn svg { width: 20px; height: 20px; }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--c-offwhite);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.is-open { transform: translateY(0); }

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.mobile-menu__top img { height: 44px; width: 44px; border-radius: 50%; }
.mobile-menu__close {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu__close svg { width: 18px; height: 18px; }

.mobile-menu__nav { display: flex; flex-direction: column; gap: 1.6rem; margin-bottom: 2.5rem; }
.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--c-graphite);
}

.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  padding-top: calc(88px + var(--space-xl));
  padding-bottom: var(--space-xl);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--c-champagne) 0%, transparent 55%),
    var(--c-offwhite);
}

.hero__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "top    media"
      "bottom media";
    column-gap: var(--space-2xl);
    row-gap: 1.35rem;
    align-items: start;
  }
  .hero__content-top { grid-area: top; }
  .hero__content-bottom { grid-area: bottom; }
  .hero__media { grid-area: media; align-self: center; }
}

.hero__content-top,
.hero__content-bottom { max-width: 620px; }

.hero__title {
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.3rem);
  letter-spacing: -0.015em;
}

.hero__subtitle {
  font-size: 1.08rem;
  color: var(--c-graphite-soft);
  max-width: 54ch;
}

.hero__complement {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-brown);
  letter-spacing: 0.02em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--c-line);
}
.hero__badge { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--c-graphite-soft); }
.hero__badge svg { width: 20px; height: 20px; color: var(--c-brown); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 5;
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__media-tag {
  position: absolute;
  left: -0.75rem;
  bottom: 1.5rem;
  background: var(--c-graphite);
  color: var(--c-offwhite);
  padding: 1rem 1.3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 230px;
  font-size: 0.82rem;
}
@media (min-width: 560px) {
  .hero__media-tag { left: -1.5rem; }
}
.hero__media-tag strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--c-gold);
  margin-bottom: 0.15rem;
}

/* =========================================================================
   ÁREAS DE ATUAÇÃO
   ========================================================================= */
.areas { padding-block: var(--space-2xl); background: var(--c-offwhite); }

.areas__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .areas__grid { grid-template-columns: repeat(4, 1fr); } }

.area-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.area-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-champagne);
  color: var(--c-brown);
  margin-bottom: 1.4rem;
}
.area-card__icon svg { width: 24px; height: 24px; }

.area-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.area-card p { font-size: 0.92rem; color: var(--c-graphite-mute); }

/* =========================================================================
   IDENTIFICAÇÃO DO PROBLEMA
   ========================================================================= */
.needs {
  padding-block: var(--space-2xl);
  background: var(--c-champagne-soft);
  border-block: 1px solid var(--c-line);
}

.needs__inner {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 960px) {
  .needs__inner { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-2xl); align-items: start; }
}

.needs__list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) { .needs__list { grid-template-columns: repeat(2, 1fr); } }

.needs__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--c-graphite-soft);
}
.needs__item svg {
  width: 18px; height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.needs__cta { margin-top: 2.2rem; }

/* =========================================================================
   SOBRE
   ========================================================================= */
.about { padding-block: var(--space-2xl); background: var(--c-offwhite); }

.about__inner {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 960px) {
  .about__inner { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-2xl); align-items: center; }
}

.about__media { position: relative; }
.about__media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin-inline: auto;
}
.about__media-frame img { width: 100%; height: 100%; object-fit: cover; }

.about__content p {
  font-size: 1.02rem;
  color: var(--c-graphite-soft);
  margin-bottom: 1.15rem;
}
.about__content p:first-of-type {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--c-graphite);
}

.about__credentials {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--c-line);
}
.about__credential { display: flex; gap: 0.75rem; align-items: flex-start; }
.about__credential svg { width: 20px; height: 20px; color: var(--c-brown); flex-shrink: 0; margin-top: 0.1rem; }
.about__credential strong { display: block; color: var(--c-graphite); font-size: 0.92rem; }
.about__credential span { font-size: 0.85rem; color: var(--c-graphite-mute); }

/* =========================================================================
   DIFERENCIAIS
   ========================================================================= */
.diff {
  padding-block: var(--space-2xl);
  background: var(--c-graphite);
  color: var(--c-offwhite);
}
.diff .eyebrow { color: var(--c-gold); }
.diff .section-title { color: var(--c-offwhite); }
.diff .section-lead { color: rgba(250, 247, 242, 0.65); }

.diff__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .diff__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .diff__grid { grid-template-columns: repeat(4, 1fr); } }

.diff-card {
  border: 1px solid rgba(250, 247, 242, 0.14);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.5rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.diff-card:hover {
  border-color: var(--c-gold);
  background: rgba(250, 247, 242, 0.03);
  transform: translateY(-4px);
}
.diff-card__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gold);
  margin-bottom: 1.3rem;
}
.diff-card__icon svg { width: 22px; height: 22px; }
.diff-card h3 { color: var(--c-offwhite); font-size: 1.08rem; margin-bottom: 0.55rem; }
.diff-card p { font-size: 0.88rem; color: rgba(250, 247, 242, 0.65); }

/* =========================================================================
   COMO FUNCIONA
   ========================================================================= */
.steps { padding-block: var(--space-2xl); background: var(--c-offwhite); }

.steps__grid {
  display: grid;
  gap: 2.2rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps__grid { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
}

.step {
  position: relative;
  padding-left: 0;
}
.step__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--c-champagne);
  -webkit-text-stroke: 1.5px var(--c-brown);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.step p { font-size: 0.92rem; color: var(--c-graphite-mute); }

.steps__connector {
  display: none;
}
@media (min-width: 800px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.3rem;
    left: calc(100% + 0.9rem);
    width: calc(1.8rem - 0.9rem);
    height: 1px;
    background: var(--c-line);
  }
}

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final {
  padding-block: var(--space-2xl);
  background: linear-gradient(135deg, var(--c-champagne) 0%, var(--c-champagne-soft) 55%, var(--c-offwhite) 100%);
  color: var(--c-graphite-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--c-line);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(169, 130, 47, 0.1), transparent 60%);
}
.cta-final__inner { position: relative; max-width: 640px; margin-inline: auto; }
.cta-final .eyebrow { justify-content: center; }
.cta-final h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta-final p { color: var(--c-graphite-mute); font-size: 1.05rem; margin-bottom: 2.2rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--c-graphite);
  color: rgba(250, 247, 242, 0.75);
  padding-top: var(--space-xl);
}

.footer__top {
  display: grid;
  gap: 2.4rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}
@media (min-width: 800px) {
  .footer__top { grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
}

.footer__brand { display: flex; gap: 0.9rem; align-items: flex-start; }
.footer__brand img { height: 76px; width: 76px; border-radius: 50%; flex-shrink: 0; }
.footer__brand strong { display: block; color: var(--c-offwhite); font-family: var(--font-serif); font-size: 1.05rem; }
.footer__brand p { font-size: 0.85rem; margin-top: 0.3rem; color: rgba(250, 247, 242, 0.6); }
.footer__brand .footer__areas { font-size: 0.8rem; margin-top: 0.5rem; color: var(--c-gold); }

.footer__col h4 {
  color: var(--c-offwhite);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a, .footer__col span {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.72);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--c-gold); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-block: 1.6rem;
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.5);
}
@media (min-width: 700px) {
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer__legal a { color: rgba(250, 247, 242, 0.65); }
.footer__legal a:hover { color: var(--c-offwhite); }
.footer__disclaimer {
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.45);
  padding-bottom: 1.6rem;
  max-width: 70ch;
}

/* =========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================= */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--c-graphite);
  color: var(--c-offwhite);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-strong);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, background var(--transition);
  pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-float:hover { background: var(--c-accent); }
.wa-float__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-float__icon svg { width: 18px; height: 18px; color: var(--c-graphite); }
.wa-float__label { display: none; }
@media (min-width: 560px) { .wa-float__label { display: inline; } }

/* =========================================================================
   ANIMAÇÕES DE ENTRADA (fade-in ao rolar)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   COOKIE BANNER
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--c-graphite);
  color: rgba(250, 247, 242, 0.9);
  padding: 1.4rem 1.25rem;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px -10px rgba(0,0,0,0.4);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 900px) {
  .cookie-banner__inner { grid-template-columns: 1.6fr auto; align-items: center; gap: 2rem; }
}

.cookie-banner h3 { color: var(--c-offwhite); font-size: 1rem; margin-bottom: 0.4rem; }
.cookie-banner p { font-size: 0.83rem; color: rgba(250, 247, 242, 0.65); }
.cookie-banner a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cookie-banner__actions .btn { flex: 1 1 auto; }

/* =========================================================================
   MODAL DE PREFERÊNCIAS DE COOKIES
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(34, 31, 26, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@media (min-width: 700px) { .modal-overlay { align-items: center; padding: 1.5rem; } }
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--c-offwhite);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.9rem 1.6rem 2.2rem;
  transform: translateY(40px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 700px) {
  .modal { border-radius: var(--radius-lg); }
}
.modal-overlay.is-open .modal { transform: translateY(0); }

.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.modal__head h3 { font-size: 1.35rem; }
.modal__close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal__close svg { width: 16px; height: 16px; }

.modal__intro { font-size: 0.88rem; color: var(--c-graphite-mute); margin-bottom: 1.6rem; }

.cookie-category {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}
.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.cookie-category__head strong { color: var(--c-graphite); font-size: 0.95rem; }
.cookie-category p { font-size: 0.83rem; color: var(--c-graphite-mute); }

.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch__track {
  position: absolute; inset: 0;
  background: var(--c-line);
  border-radius: 999px;
  transition: background var(--transition);
}
.switch__track::before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: var(--c-white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.switch input:checked + .switch__track { background: var(--c-accent); }
.switch input:checked + .switch__track::before { transform: translateX(18px); }
.switch input:disabled + .switch__track { background: var(--c-brown-soft); opacity: 0.7; cursor: not-allowed; }

.modal__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.modal__actions .btn { flex: 1 1 auto; }

/* =========================================================================
   PÁGINAS LEGAIS (privacidade / cookies)
   ========================================================================= */
.legal-page { padding-top: calc(88px + var(--space-lg)); padding-bottom: var(--space-2xl); background: var(--c-offwhite); }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: 0.6rem; }
.legal-page .updated-at { font-size: 0.85rem; color: var(--c-graphite-mute); margin-bottom: 2.5rem; }
.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--c-line);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1rem; }
.legal-page p, .legal-page li { font-size: 0.98rem; color: var(--c-graphite-soft); margin-bottom: 0.9rem; }
.legal-page ul { padding-left: 1.3rem; list-style: disc; }
.legal-page li { margin-bottom: 0.5rem; }
.legal-page strong { color: var(--c-graphite); }
.legal-page .back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent);
}
.legal-page .legal-cta {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--c-line);
}

/* Utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
