/* ==========================================================================
   CLÍNICA VITAE — Design tokens
   Paleta: azul petróleo, azul claro, branco, cinza-claro, verde suave
   Tipografia: Fraunces (display, acolhedor/humano) + Plus Jakarta Sans (corpo)
   Elemento-assinatura: "Linha da Vida" — traço orgânico que nasce de um
   pulso e se transforma em curva natural, usado na logo, nos divisores
   de seção e no percurso "Como Funciona".
   ========================================================================== */

:root {
  /* Cor */
  --petrol-900: #0f3538;
  --petrol-700: #164b4f;
  --petrol-600: #1d5f64;
  --teal-500: #3f8f93;
  --teal-300: #7cb8bb;
  --sky-200: #cfe7e6;
  --mint-500: #6fae86;
  --mint-300: #a9d3b8;
  --mint-100: #e7f3ec;
  --paper: #f6f8f7;
  --paper-dim: #eef2f1;
  --white: #ffffff;
  --ink-900: #1c2827;
  --ink-700: #3d4a49;
  --ink-500: #647271;
  --line: #dde6e4;
  --danger: #b3492f;
  --focus: #2a7d84;

  /* Tipografia */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  /* Escala */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.5vw, 3.6rem);

  /* Layout */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(15, 53, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 53, 56, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 53, 56, 0.16);
  --maxw: 1200px;
  --header-h: 76px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@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; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--petrol-900); }
p { margin: 0 0 1em; color: var(--ink-700); }
a { color: var(--teal-500); }
ul { padding-left: 1.2em; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mint-500); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--mint-500); border-radius: 2px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { font-size: var(--step-1); color: var(--ink-500); }

.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--petrol-900); color: #fff;
  padding: 12px 18px; border-radius: var(--radius-sm); z-index: 2000; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: var(--step--1);
  border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #5f9c74; box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; border-color: var(--petrol-700); color: var(--petrol-700); }
.btn-secondary:hover { background: var(--petrol-700); color: #fff; }
.btn-ghost { background: var(--white); color: var(--petrol-700); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--mint-100); }
.btn-sm { padding: 10px 18px; font-size: var(--step--1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 900;
  background: rgba(246, 248, 247, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--petrol-900); }
.brand-text span { font-size: .68rem; color: var(--ink-500); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 12px; border-radius: 999px; color: var(--ink-700); text-decoration: none;
  font-size: var(--step--1); font-weight: 600; transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--mint-100); color: var(--petrol-900); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn-primary span.long { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--white); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
}

/* Menu mobile (painel lateral) */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1200; visibility: hidden;
}
.mobile-nav[data-open="true"] { visibility: visible; }
.mobile-nav-overlay {
  position: absolute; inset: 0; background: rgba(15, 53, 56, 0.45);
  opacity: 0; transition: opacity .25s ease;
}
.mobile-nav[data-open="true"] .mobile-nav-overlay { opacity: 1; }
.mobile-nav-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--white); box-shadow: var(--shadow-lg); padding: 20px;
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-nav[data-open="true"] .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-nav-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.mobile-nav a {
  padding: 14px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-900);
  font-weight: 600; border-bottom: 1px solid var(--paper-dim);
}
.mobile-nav a:hover { background: var(--mint-100); }
.mobile-nav .btn { margin-top: 14px; }
body.nav-lock { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; padding: calc(var(--header-h) + 64px) 0 88px;
  background: linear-gradient(180deg, var(--mint-100) 0%, var(--white) 65%);
  overflow: clip;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white);
  border: 1px solid var(--line); padding: 8px 14px 8px 8px; border-radius: 999px;
  font-size: var(--step--1); font-weight: 600; color: var(--petrol-700); box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-500); }
.hero h1 { font-size: var(--step-4); max-width: 12ch; }
.hero-lede { font-size: var(--step-1); color: var(--ink-500); max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--ink-500); font-size: var(--step--1); }
.hero-trust svg { width: 20px; height: 20px; color: var(--mint-500); flex: none; }

.hero-visual { position: relative; }
.hero-art {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--petrol-700), var(--teal-500));
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-pulse {
  position: absolute; left: -8%; bottom: -6%; width: 62%; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-pulse svg { width: 46px; height: 46px; color: var(--mint-500); flex: none; }
.hero-pulse strong { display: block; font-family: var(--font-display); color: var(--petrol-900); font-size: 1rem; }
.hero-pulse span { font-size: .8rem; color: var(--ink-500); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
}

/* Divisor orgânico "linha da vida" */
.life-divider { display: block; width: 100%; height: 56px; color: var(--white); }
.life-divider path { fill: currentColor; }

/* ==========================================================================
   Grid de cards genérico
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }

.spec-card, .service-card, .diff-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.spec-card:hover, .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--mint-100); color: var(--mint-500);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.card-icon svg { width: 26px; height: 26px; }
.spec-card h3, .service-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.spec-card p, .service-card p { font-size: var(--step--1); color: var(--ink-500); flex: 1; }
.card-link {
  align-self: flex-start; background: none; border: none; color: var(--teal-500); font-weight: 700;
  cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; font-size: var(--step--1);
}
.card-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* Diferenciais */
.diff-card { background: var(--paper); border: none; }
.diff-card h3 { font-size: 1.1rem; }
.diff-card p { font-size: var(--step--1); color: var(--ink-500); margin: 0; }

/* ==========================================================================
   Médicos
   ========================================================================== */
.doctor-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doctor-photo { aspect-ratio: 4/3; background: var(--mint-100); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doctor-body h3 { font-size: 1.1rem; margin-bottom: 0; }
.doctor-spec { color: var(--mint-500); font-weight: 700; font-size: var(--step--1); }
.doctor-crm { font-size: .78rem; color: var(--ink-500); }
.doctor-summary { font-size: var(--step--1); color: var(--ink-500); flex: 1; }

/* ==========================================================================
   Como funciona
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 24px; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--mint-300) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step-num {
  width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 2px solid var(--mint-500);
  color: var(--petrol-900); display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: 1.4rem; z-index: 1; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1rem; }
.step p { font-size: .85rem; color: var(--ink-500); }
.step.step-optional .step-num { border-style: dashed; color: var(--ink-500); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Estrutura / galeria
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; }
.gallery button {
  position: relative; border: none; padding: 0; border-radius: var(--radius-md); overflow: hidden;
  cursor: zoom-in; background: var(--paper-dim);
}
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: .78rem; font-weight: 700;
  color: #fff; background: linear-gradient(0deg, rgba(15,53,56,.75), transparent);
  text-align: left;
}
.gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery button:nth-child(6) { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* ==========================================================================
   Convênios
   ========================================================================== */
.convenio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.convenio-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px 14px; text-align: center; font-weight: 700; color: var(--petrol-700);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.convenio-chip svg { width: 30px; height: 30px; color: var(--mint-500); }
.disclaimer {
  font-size: .8rem; color: var(--ink-500); background: var(--paper); border-left: 3px solid var(--mint-500);
  padding: 10px 14px; border-radius: 8px; margin-top: 18px;
}

/* ==========================================================================
   Sobre
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.stat { background: var(--white); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--petrol-900); }
.stat span { font-size: .78rem; color: var(--ink-500); }
.about-values { list-style: none; padding: 0; display: grid; gap: 12px; margin: 18px 0 0; }
.about-values li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: var(--ink-700); }
.about-values svg { width: 20px; height: 20px; color: var(--mint-500); flex: none; margin-top: 2px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px;
}
.stars { color: var(--mint-500); letter-spacing: 2px; font-size: .95rem; }
.testi-card p { color: var(--ink-700); font-style: italic; margin: 0; }
.testi-who { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-100); color: var(--mint-500); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testi-who strong { display: block; font-size: .88rem; color: var(--petrol-900); }
.testi-who span { font-size: .76rem; color: var(--ink-500); }
.testi-tag { font-size: .7rem; color: var(--ink-500); background: var(--paper); display: inline-block; padding: 3px 8px; border-radius: 999px; width: fit-content; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq-list { display: grid; gap: 10px; max-width: 800px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--petrol-900);
  font-size: var(--step--1);
}
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .2s ease; color: var(--mint-500); }
.faq-item[data-open="true"] .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq-item[data-open="true"] .faq-a { padding: 0 20px 20px; max-height: 480px; }
.faq-a p { font-size: var(--step--1); color: var(--ink-500); margin: 0; }

/* ==========================================================================
   Orientações + Urgência
   ========================================================================== */
.mini-cta {
  background: linear-gradient(135deg, var(--petrol-700), var(--teal-500)); color: #fff;
  border-radius: var(--radius-lg); padding: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.mini-cta h2 { color: #fff; font-size: var(--step-2); margin-bottom: 6px; }
.mini-cta p { color: rgba(255,255,255,.85); margin: 0; max-width: 46ch; }
.urgency-box {
  border: 1px solid #f0d3c8; background: #fdf3ef; border-radius: var(--radius-md); padding: 24px 26px;
  display: flex; gap: 16px; align-items: flex-start;
}
.urgency-box svg { width: 30px; height: 30px; color: var(--danger); flex: none; }
.urgency-box strong { display: block; color: var(--danger); margin-bottom: 4px; }
.urgency-box p { margin: 0; color: var(--ink-700); font-size: var(--step--1); }

/* ==========================================================================
   Agendamento (formulário)
   ========================================================================== */
.form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--petrol-900); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-family: inherit;
  font-size: var(--step--1); color: var(--ink-900); background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); background: var(--white); }
.field textarea { resize: vertical; min-height: 90px; }
.field small.hint { color: var(--ink-500); font-size: .76rem; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .78rem; display: none; }
.field[data-invalid="true"] .error-msg { display: block; }
.field.hidden { display: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--mint-500); }
.consent label { font-size: .82rem; color: var(--ink-700); font-weight: 400; }
.form-note { font-size: .8rem; color: var(--ink-500); margin-top: 16px; }
.form-feedback {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: var(--step--1);
  display: none; align-items: center; gap: 10px;
}
.form-feedback.show { display: flex; }
.form-feedback.ok { background: var(--mint-100); color: #2c5b40; }
.form-feedback.err { background: #fdf3ef; color: var(--danger); }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--mint-500); flex: none; margin-top: 2px; }
.contact-list strong { display: block; color: var(--petrol-900); font-size: .92rem; }
.contact-list span, .contact-list a { font-size: var(--step--1); color: var(--ink-500); }
.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: flex; align-items: center;
  justify-content: center; color: var(--petrol-700);
}
.social-row svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--petrol-900); color: rgba(255,255,255,.82); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand-text strong, .footer-brand .brand-text span { color: #fff; }
.footer-brand svg { color: var(--mint-300); }
.footer-brand p { color: rgba(255,255,255,.7); font-size: var(--step--1); max-width: 34ch; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col button {
  color: rgba(255,255,255,.72); text-decoration: none; font-size: var(--step--1); background: none; border: none;
  padding: 0; text-align: left; cursor: pointer; font-family: inherit;
}
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 46px; padding-top: 24px; display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.55);
}
.footer-bottom .legal-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom button { background: none; border: none; color: rgba(255,255,255,.55); cursor: pointer; font-size: .78rem; font-family: inherit; padding: 0; }
.footer-bottom button:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Modais
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 53, 56, 0.5); display: flex; align-items: center;
  justify-content: center; padding: 20px; z-index: 1500; opacity: 0; visibility: hidden;
  transition: opacity .2s ease;
}
.modal-overlay[data-open="true"] { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 720px; width: 100%;
  max-height: min(84vh, 800px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateY(16px); transition: transform .22s ease;
}
.modal-overlay[data-open="true"] .modal { transform: translateY(0); }
.modal.modal-lg { max-width: 860px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 14px; border-bottom: 1px solid var(--line); }
.modal-head h2, .modal-head h3 { margin: 0; font-size: 1.4rem; }
.modal-head .modal-kicker { color: var(--mint-500); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 4px; }
.modal-close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; flex: none; display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 20px 26px 26px; overflow-y: auto; font-size: var(--step--1); color: var(--ink-700); }
.modal-body h4 { font-size: .95rem; margin: 20px 0 8px; color: var(--petrol-900); }
.modal-body h4:first-child { margin-top: 0; }
.modal-body ul { margin: 0 0 12px; padding-left: 20px; }
.modal-body li { margin-bottom: 4px; }
.modal-body .modal-note {
  margin-top: 18px; background: var(--paper); border-left: 3px solid var(--mint-500); border-radius: 8px;
  padding: 12px 14px; font-size: .82rem; color: var(--ink-500);
}
.modal-body .modal-note.demo { border-left-color: var(--teal-500); font-style: italic; }
.modal-foot { padding: 16px 26px 24px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }
.modal-body table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .85rem; }
.modal-body table th, .modal-body table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-body h4 { margin-top: 22px; }

/* Lightbox */
.lightbox-img { width: 100%; border-radius: var(--radius-md); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 620px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 20px 22px; z-index: 1600; display: none; gap: 14px; flex-direction: column;
}
.cookie-banner[data-show="true"] { display: flex; }
.cookie-banner p { margin: 0; font-size: var(--step--1); color: var(--ink-700); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cookie-toggle-row:last-child { border-bottom: none; }
.cookie-toggle-row strong { display: block; font-size: .88rem; color: var(--petrol-900); }
.cookie-toggle-row span { font-size: .78rem; color: var(--ink-500); }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .15s ease; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + .track { background: var(--mint-500); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:disabled + .track { background: var(--mint-300); opacity: .7; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
  background: #25b562; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 800; text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 700px) { .wa-float { right: 14px; bottom: 84px; width: 52px; height: 52px; } }

/* ==========================================================================
   Utilitários / responsivo geral
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.badge-demo { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); background: var(--paper-dim); padding: 3px 8px; border-radius: 999px; }

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .mini-cta { padding: 30px; }
}
