/* ============================================
   Dra. Taís Vital — Landing Page
   Stack: Vanilla CSS, zero npm
   ============================================ */

/* --- TOKENS --- */
:root {
  --brand-sage: #8B9E8B;
  --brand-sage-dark: #6B8A6B;
  --brand-sage-deeper: #5A7A5A;
  --brand-forest: #3D4F3D;
  --brand-forest-deep: #2C3327;
  --brand-gold: #C5A87B;
  --brand-gold-light: #D4BC96;
  --bg-primary: #FAFAF8;
  --bg-warm: #F5F2ED;
  --bg-warm-light: #F0EDE7;
  --bg-dark: var(--brand-forest);
  --bg-darker: var(--brand-forest-deep);
  --text-primary: #27272a;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --text-on-dark: #F5F2ED;
  --text-on-dark-muted: #b8b8b8;
  --cta-primary: var(--brand-sage-dark);
  --cta-hover: var(--brand-sage-deeper);
  --cta-text: #fff;
  --border-light: #e4e4e7;
  --border-warm: #d4d4d8;
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-elevated: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-section: clamp(5rem, 10vw, 8rem);
  --container-max: 1200px;
  --container-padding: clamp(1.25rem, 4vw, 3rem);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: var(--font-body); font-weight: 400; font-size: 1rem; line-height: 1.7; color: var(--text-secondary); background: var(--bg-primary); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* --- UTILITIES --- */
.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-padding); padding-right: var(--container-padding); }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.2; color: var(--text-primary); margin-bottom: var(--space-lg); max-width: 640px; }
.section-title--light { color: var(--text-on-dark); }
.section-desc { font-size: clamp(0.9375rem, 1.1vw, 1.0625rem); color: var(--text-secondary); max-width: 600px; margin-bottom: var(--space-xl); }
.body-lg { font-weight: 300; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7; }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 500; border-radius: var(--radius-pill); transition: all var(--duration-normal) var(--ease-out); }
.btn--primary { background: var(--cta-primary); color: var(--cta-text); }
.btn--primary:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--gold { background: var(--brand-gold); color: var(--brand-forest-deep); }
.btn--gold:hover { background: var(--brand-gold-light); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--sm { font-size: 0.875rem; padding: 0.625rem 1.5rem; }
.btn--lg { font-size: 0.9375rem; padding: 1rem 2.5rem; }
.btn--full { width: 100%; padding: 1rem; font-size: 0.9375rem; }

/* --- NAVBAR --- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background var(--duration-normal), box-shadow var(--duration-normal); }
.navbar.scrolled { background: var(--bg-warm); box-shadow: var(--shadow-soft); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.875rem; padding-bottom: 0.875rem; }
.navbar__logo { display: flex; align-items: center; }
.navbar__logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text-primary); }
.navbar__logo-accent { color: var(--brand-sage); }
.navbar__right { display: flex; align-items: center; gap: var(--space-md); }
.navbar__badge { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-gold); border: 1px solid var(--brand-gold); padding: 0.375rem 0.75rem; border-radius: var(--radius-pill); }

/* --- HERO --- */
.hero { background: var(--bg-warm); padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: var(--space-section); position: relative; overflow: hidden; overflow-x: clip; }
.hero__watermark { position: absolute; right: -5%; top: -10%; font-family: var(--font-display); font-weight: 700; font-size: clamp(30rem, 40vw, 50rem); line-height: 1; color: var(--brand-sage); opacity: 0.04; pointer-events: none; user-select: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 45%; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-block; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-gold); border-bottom: 1px solid var(--brand-gold); padding-bottom: 0.25rem; margin-bottom: var(--space-md); }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.15; color: var(--text-primary); letter-spacing: -0.01em; margin-bottom: var(--space-md); }
.hero__subtitle { font-weight: 300; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7; color: var(--text-secondary); max-width: 480px; margin-bottom: var(--space-lg); }
.hero__micro { font-weight: 300; font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-sm); }
.hero__photo img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* --- DOR --- */
.dor { background: var(--bg-primary); padding: var(--space-section) 0; }
.dor__layout { display: grid; grid-template-columns: 35% 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.dor__left { position: sticky; top: 8rem; }
.dor__headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; color: var(--text-primary); margin-bottom: var(--space-md); }
.dor__sub { font-weight: 300; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7; color: var(--text-secondary); }
.dor__right { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.dor__card { position: relative; background: var(--bg-warm); border-radius: var(--radius-md); padding: var(--space-lg); transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out); overflow: hidden; }
.dor__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.dor__card--tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.dor__card--accent { background: var(--brand-forest); color: var(--text-on-dark); }
.dor__card--accent .dor__card-title { color: var(--text-on-dark); }
.dor__card--accent p { color: var(--text-on-dark-muted); }
.dor__card--accent .dor__number { color: rgba(255,255,255,0.08); }
.dor__number { position: absolute; top: -0.25rem; right: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 6vw, 6rem); line-height: 1; color: rgba(139,158,139,0.08); pointer-events: none; user-select: none; }
.dor__card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--text-primary); margin-bottom: var(--space-xs); line-height: 1.3; position: relative; z-index: 1; }
.dor__card p { font-size: 0.9375rem; position: relative; z-index: 1; }

/* --- SOLUÇÃO --- */
.solucao { background: var(--bg-warm); padding: var(--space-section) 0; }
.solucao__row { display: grid; gap: var(--space-lg); align-items: center; }
.solucao__row--1 { grid-template-columns: 55% 1fr; margin-bottom: var(--space-xl); }
.solucao__row--2 { grid-template-columns: 40% 1fr; }
.solucao__photo img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.solucao__row--1 .solucao__photo img { aspect-ratio: 1/1; }
.solucao__row--2 .solucao__photo img { aspect-ratio: 4/3; }
.solucao__subtitle { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--text-primary); margin-bottom: var(--space-sm); }
.solucao__checks { margin-top: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.solucao__check { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; color: var(--text-secondary); }
.solucao__check svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-sage-dark); }

/* --- AUTORIDADE --- */
.autoridade { background: var(--bg-dark); padding: var(--space-section) 0; }
.autoridade__stats { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: clamp(4rem, 8vw, 6rem); }
.autoridade__stat { flex: 1; text-align: center; padding: 0 clamp(1.5rem, 3vw, 3rem); }
.autoridade__stat-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; color: var(--brand-gold); display: block; margin-bottom: 0.125rem; }
.autoridade__stat-unit { font-family: var(--font-body); font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.25rem); text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-gold-light); display: block; margin-bottom: var(--space-sm); }
.autoridade__stat-desc { font-size: 0.875rem; color: var(--text-on-dark-muted); line-height: 1.6; max-width: 240px; margin: 0 auto; }
.autoridade__stat-divider { width: 1px; background: rgba(255,255,255,0.12); align-self: stretch; min-height: 120px; flex-shrink: 0; }
.autoridade__detail { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 5vw, 4rem); align-items: end; border-top: 1px solid rgba(255,255,255,0.1); padding-top: clamp(2.5rem, 5vw, 4rem); }
.autoridade__detail-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.35; color: var(--text-on-dark); margin-bottom: var(--space-md); }
.autoridade__detail-text { font-size: 0.9375rem; color: var(--text-on-dark-muted); max-width: 560px; line-height: 1.7; }
.autoridade__detail-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: var(--space-lg) clamp(1.5rem, 3vw, 2.5rem); text-align: center; min-width: 200px; }
.autoridade__badge-label { display: block; font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-on-dark-muted); margin-bottom: 0.375rem; }
.autoridade__badge-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--brand-gold); margin-bottom: 0.375rem; }
.autoridade__badge-sub { display: block; font-size: 0.75rem; color: var(--text-on-dark-muted); }

/* --- ANTES/DEPOIS --- */
.casos { background: var(--bg-primary); padding: var(--space-section) 0; }
.casos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-bottom: var(--space-lg); }
.casos__grid--bottom { grid-template-columns: repeat(2, 1fr); max-width: 66%; margin: 0 auto; }
.caso-slider__container { position: relative; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-card); aspect-ratio: 4/3; background: #e4e4e7; }
.caso-slider__after, .caso-slider__before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.caso-slider__before { clip-path: inset(0 50% 0 0); }
.caso-slider__range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: grab; z-index: 10; margin: 0; -webkit-appearance: none; }
.caso-slider__range:active { cursor: grabbing; }
.caso-slider__handle { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.3); transform: translateX(-50%); pointer-events: none; z-index: 5; transition: none; }
.caso-slider__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.caso-slider__handle span::before { content: '◂ ▸'; font-size: 0.625rem; color: var(--text-secondary); letter-spacing: 2px; }
.caso-slider__label { position: absolute; top: 12px; font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.5); z-index: 4; pointer-events: none; }
.caso-slider__label--antes { left: 12px; }
.caso-slider__label--depois { right: 12px; }
.caso-slider__caption { font-size: 0.875rem; color: var(--text-secondary); text-align: center; margin-top: var(--space-sm); }
.casos__micro { font-size: 0.8125rem; color: var(--text-muted); text-align: center; font-weight: 300; margin-top: var(--space-md); }

/* --- PROCESSO --- */
.processo { background: var(--bg-warm); padding: var(--space-section) 0; overflow: hidden; }
.processo__grid { display: grid; grid-template-columns: 60% 1fr; gap: var(--space-xl); align-items: start; }
.processo__timeline { position: relative; padding-left: 3rem; }
.processo__timeline::before { content: ''; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--brand-sage); }
.processo__step { position: relative; margin-bottom: var(--space-xl); }
.processo__step:last-child { margin-bottom: 0; }
.processo__dot { position: absolute; left: -3rem; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-gold); border: 3px solid var(--bg-warm); z-index: 1; }
.processo__label { display: block; font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-sage-dark); margin-bottom: 0.25rem; }
.processo__step-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--text-primary); margin-bottom: var(--space-xs); line-height: 1.3; }
.processo__step p { font-size: 0.9375rem; }
.processo__photo { position: sticky; top: 8rem; }
.processo__photo img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 3/4; }

/* --- SOBRE --- */
.sobre { background: var(--bg-primary); padding: var(--space-section) 0; }
.sobre__grid { display: grid; grid-template-columns: 40% 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sobre__photo { margin-top: -3rem; }
.sobre__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 0 var(--radius-lg) 0 var(--radius-lg); box-shadow: var(--shadow-card); }
.sobre__content p { margin-bottom: var(--space-sm); font-size: 0.9375rem; }
.sobre__content p:last-of-type { margin-bottom: var(--space-lg); }
.sobre__signature { border-top: 1px solid var(--border-light); padding-top: var(--space-md); }
.sobre__signature strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-primary); }
.sobre__signature span { font-size: 0.8125rem; color: var(--text-muted); }

/* --- INVESTIMENTO --- */
.investimento { background: var(--bg-warm-light); padding: var(--space-section) 0; }
.investimento__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.investimento__text { font-size: clamp(0.9375rem, 1.1vw, 1.0625rem); margin-bottom: var(--space-lg); }
.investimento__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.investimento__pill { display: inline-block; font-size: 0.875rem; font-weight: 500; color: var(--text-primary); background: rgba(139,158,139,0.12); padding: 0.625rem 1.25rem; border-radius: var(--radius-pill); }

/* --- FAQ --- */
.faq { background: var(--bg-primary); padding: var(--space-section) 0; }
.faq__grid { display: grid; grid-template-columns: 30% 1fr; gap: var(--space-xl); align-items: start; }
.faq__title { position: sticky; top: 8rem; }
.faq__item { border-bottom: 1px solid var(--border-light); }
.faq__question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--space-md) 0; font-size: 1rem; font-weight: 500; color: var(--text-primary); text-align: left; gap: var(--space-sm); }
.faq__icon { font-size: 1.25rem; color: var(--text-muted); transition: transform var(--duration-normal) var(--ease-out); flex-shrink: 0; }
.faq__item--open .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq__item--open .faq__answer { max-height: 300px; padding-bottom: var(--space-md); }
.faq__answer p { font-size: 0.9375rem; color: var(--text-secondary); }

/* --- CTA FINAL --- */
.cta-final { background: var(--bg-dark); padding: clamp(5rem, 12vw, 9rem) 0; }
.cta-final__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-final__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; color: var(--text-on-dark); margin-bottom: var(--space-md); }
.cta-final__text { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--text-on-dark-muted); margin-bottom: var(--space-lg); }

/* --- LOCALIZAÇÃO --- */
.localizacao { background: var(--bg-warm); padding: var(--space-section) 0; }
.localizacao__grid { display: grid; grid-template-columns: 55% 1fr; gap: var(--space-lg); align-items: center; }
.localizacao__map iframe { width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius-md); filter: grayscale(0.3) saturate(0.8); }
.localizacao__name { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--text-primary); margin-bottom: var(--space-sm); }
.localizacao__address { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: var(--space-sm); line-height: 1.6; }
.localizacao__hours { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: var(--space-sm); }
.localizacao__phone { display: inline-block; font-size: 0.9375rem; font-weight: 500; color: var(--brand-sage-dark); margin-top: var(--space-xs); }
.localizacao__phone:hover { color: var(--brand-sage-deeper); }

/* --- FOOTER --- */
.footer { background: var(--bg-darker); padding: var(--space-lg) 0; }
.footer__inner { text-align: center; }
.footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--text-on-dark); display: block; margin-bottom: var(--space-sm); }
.footer__logo-accent { color: var(--brand-sage); }
.footer p { font-size: 0.8125rem; color: var(--text-on-dark-muted); line-height: 1.6; }
.footer a { font-size: 0.8125rem; color: var(--brand-sage); display: inline-block; margin-top: var(--space-xs); }
.footer a:hover { color: var(--brand-gold); }

/* --- MODAL --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--duration-normal), visibility var(--duration-normal); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--bg-primary); border-radius: var(--radius-lg); padding: var(--space-xl); max-width: 480px; width: 90%; box-shadow: var(--shadow-elevated); transform: scale(0.95); transition: transform var(--duration-normal) var(--ease-out); position: relative; max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: var(--space-sm); right: var(--space-sm); font-size: 1.5rem; color: var(--text-muted); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: var(--bg-warm); color: var(--text-primary); }
.modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--text-primary); margin-bottom: var(--space-lg); }
.modal__micro { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: var(--space-md); }

/* --- FORM --- */
.form-group { margin-bottom: var(--space-md); }
.form-label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.375rem; }
.form-input { width: 100%; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 0.875rem 1rem; font-family: var(--font-body); font-size: 0.9375rem; color: var(--text-primary); transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
.form-input:focus { outline: none; border-color: var(--brand-sage); box-shadow: 0 0 0 3px rgba(139,158,139,0.15); }
.form-radios { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.375rem; }
.form-radio { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast); min-height: 44px; }
.form-radio:hover { border-color: var(--brand-sage); }
.form-radio input[type="radio"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 2px solid var(--border-warm); border-radius: 50%; flex-shrink: 0; position: relative; transition: border-color var(--duration-fast); }
.form-radio input[type="radio"]:checked { border-color: var(--brand-sage-dark); }
.form-radio input[type="radio"]:checked::after { content: ''; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-sage-dark); }
.form-radio:has(input:checked) { border-color: var(--brand-sage); background: rgba(139,158,139,0.05); }
.form-radio span { font-size: 0.9375rem; color: var(--text-primary); }
.form-feedback { min-height: 1rem; margin-bottom: var(--space-xs); }
.form-feedback.error { color: #dc2626; font-size: 0.8125rem; }
.form-feedback.success { color: var(--brand-sage-dark); font-size: 0.8125rem; }

/* --- THANK YOU --- */
.thank-you { text-align: center; padding: var(--space-lg) 0; }
.thank-you svg { margin: 0 auto var(--space-md); }
.thank-you h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--text-primary); margin-bottom: var(--space-sm); }
.thank-you p { font-size: 0.9375rem; color: var(--text-secondary); }

/* --- intl-tel-input override --- */
.iti { width: 100%; }
.iti__tel-input { width: 100%; }

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 42%; }
  .dor__layout { grid-template-columns: 1fr; }
  .dor__left { position: static; text-align: center; margin-bottom: var(--space-lg); }
  .dor__headline { font-size: clamp(2rem, 5vw, 3rem); }
  .autoridade__stats { flex-wrap: wrap; gap: var(--space-lg); }
  .autoridade__stat-divider { display: none; }
  .autoridade__stat { min-width: 200px; }
  .autoridade__detail { grid-template-columns: 1fr; }
  .autoridade__detail-badge { justify-self: start; }
  .casos__grid { grid-template-columns: repeat(2, 1fr); }
  .casos__grid--bottom { max-width: 100%; }
  .processo__grid { grid-template-columns: 1fr; }
  .processo__photo { position: static; max-width: 100%; margin-top: var(--space-lg); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__title { position: static; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
  .hero__photo img { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
  .hero__title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .hero__watermark { font-size: 50vw; right: 0; top: -5%; }
  .hero { padding-top: 4.5rem; }
  .navbar__badge { display: none; }
  .dor__right { grid-template-columns: 1fr; }
  .dor__card--tall { grid-row: span 1; }
  .solucao__row--1, .solucao__row--2 { grid-template-columns: 1fr; }
  .solucao__row--2 .solucao__photo { order: -1; }
  .autoridade__stats { flex-direction: column; align-items: center; }
  .autoridade__stat { width: 100%; }
  .casos__grid { grid-template-columns: 1fr; }
  .casos__grid--bottom { grid-template-columns: 1fr; max-width: 100%; }
  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__photo { margin-top: 0; }
  .sobre__photo img { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
  .localizacao__grid { grid-template-columns: 1fr; }
  .localizacao__map iframe { min-height: 250px; }
  .btn--lg { width: 100%; }
}

/* Small mobile */
@media (max-width: 375px) {
  .hero__title { font-size: 1.625rem; }
  .section-title { font-size: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Widget de conversa do WhatsApp — molde CliniAmp
   ------------------------------------------------------------------
   Nasceu na LP do Dr. João Quirino e virou molde em 01/09/2026. Substitui o
   modal de sucesso: em vez de abrir um popup por cima da página, a pessoa
   digita o WhatsApp dentro de uma conversa que já parece começada.

   Todas as cores saem de variáveis com valor de reserva, então o arquivo
   funciona em LP que não tem design system nenhum. Para casar com a marca do
   cliente, defina --wa-marca e --wa-marca-texto no :root da LP.             */

:root {
  --wa-verde: #25D366;
  --wa-marca: var(--brand-navy, var(--cta-primary, #111827));
  --wa-marca-texto: var(--text-on-navy, #fff);
  --wa-fundo: var(--bg-primary, #fff);
  --wa-texto: var(--text-primary, #1f2937);
  --wa-balao-in: var(--bg-secondary, #f3f4f6);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa-verde);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  transition: transform .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); }

.wa-chat {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 61;
  width: min(340px, calc(100vw - 40px));
  background: var(--wa-fundo);
  color: var(--wa-texto);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.wa-chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.wa-chat__head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--wa-marca);
  color: var(--wa-marca-texto);
}
.wa-chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .15);
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-chat__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
/* Nem toda LP tem logo em arquivo. A inicial evita o ícone de imagem quebrada. */
.wa-chat__inicial { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.wa-chat__ident { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.wa-chat__ident strong { font-size: .95rem; font-weight: 600; }
.wa-chat__ident small { font-size: .72rem; opacity: .75; display: flex; align-items: center; gap: .35rem; }
.wa-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa-verde); display: inline-block; }
.wa-chat__close {
  background: none; border: 0; color: inherit;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  opacity: .65; padding: 0 .15rem;
}
.wa-chat__close:hover { opacity: 1; }

.wa-chat__body {
  padding: 1rem;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--wa-fundo);
}
.wa-chat__msg {
  max-width: 85%;
  padding: .55rem .7rem .35rem;
  border-radius: 12px;
  font-size: .87rem;
  line-height: 1.4;
  position: relative;
}
.wa-chat__msg p { margin: 0; }
.wa-chat__msg--in { align-self: flex-start; background: var(--wa-balao-in); border-bottom-left-radius: 4px; }
.wa-chat__msg--out { align-self: flex-end; background: #d9fdd3; color: #111b21; border-bottom-right-radius: 4px; }
.wa-chat__hora { display: block; text-align: right; font-size: .62rem; opacity: .5; margin-top: .15rem; }

.wa-chat__typing { display: inline-flex; gap: 3px; padding: .2rem 0; }
.wa-chat__typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: .35;
  animation: wa-pulso 1.2s infinite;
}
.wa-chat__typing i:nth-child(2) { animation-delay: .18s; }
.wa-chat__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes wa-pulso { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .85; } }

.wa-chat__cta {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .5rem; padding: .5rem .7rem;
  border-radius: 10px;
  background: var(--wa-verde); color: #fff;
  font-size: .82rem; font-weight: 600; text-decoration: none;
}
.wa-chat__cta svg { width: 17px; height: 17px; }

.wa-chat__aviso { margin: 0; padding: 0 1rem .5rem; font-size: .68rem; opacity: .6; }
.wa-chat__erro { margin: 0; padding: 0 1rem .4rem; font-size: .75rem; color: #b91c1c; }

.wa-chat__form { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; align-items: center; }
.wa-chat__input {
  flex: 1 1 auto; min-width: 0;
  padding: .6rem .75rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 999px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--wa-texto);
  background: var(--wa-fundo);
}
.wa-chat__input:focus { outline: 2px solid var(--wa-verde); outline-offset: 1px; }
.wa-chat__send {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--wa-verde); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wa-chat__send svg { width: 19px; height: 19px; }
.wa-chat__send:disabled { opacity: .55; cursor: default; }

@media (max-width: 640px) {
  .whatsapp-float { bottom: 84px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .wa-chat { bottom: 148px; right: 12px; }
  .wa-chat__body { max-height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .wa-chat { transition: none; }
  .wa-chat__typing i { animation: none; }
}
