/* ===================================================
   LUPA ODONTOLOGIA — Design System
   Versão 1.0
   =================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Nunito:wght@300;400;600;700&display=swap');

/* ===================================================
   1. CSS VARIABLES
   =================================================== */
:root {
  /* Cores primárias */
  --sage:       #64735f;
  --sage-dark:  #506050;
  --fendi:      #87877d;
  --olive:      #867f6a;
  --olive-dark: #726959;

  /* Fundos */
  --bg-page:    #f5f4f0;
  --bg-alt:     #eeede8;
  --bg-white:   #faf9f7;
  --bg-hero:    #f0efe9;

  /* Texto */
  --text-dark:  #4a4a45;
  --text-mid:   #87877d;
  --text-light: #b5b3ac;

  /* Funcionais */
  --error:      #a0614a;
  --success:    #64735f;

  /* Sombras */
  --shadow-sm:  0 2px 12px rgba(100,115,95,0.08);
  --shadow-md:  0 8px 32px rgba(100,115,95,0.14);
  --shadow-lg:  0 16px 48px rgba(100,115,95,0.20);
  --shadow-btn: 0 4px 20px rgba(100,115,95,0.28);

  /* Espaçamentos */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 96px;

  /* Layout */
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Animação */
  --ease-organic:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1.0);
  --ease-decel:     cubic-bezier(0.05, 0.7, 0.1, 1.0);

  /* Tipografia */
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans:  'Nunito', 'Calibri', system-ui, sans-serif;
}

/* ===================================================
   2. RESET & BASE
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

/* Noise overlay — materialidade orgânica */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

[id] { scroll-margin-top: 84px; }

/* ===================================================
   3. TIPOGRAFIA
   =================================================== */
.t-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fendi);
}

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--sage);
}

h2, .h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--sage);
}

h3, .h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
}

.t-lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dark);
}

.t-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dark);
}

.t-small {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-mid);
}

.t-caption {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.5;
}

.t-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-dark);
}

/* ===================================================
   4. LAYOUT
   =================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.section {
  padding: var(--space-9) 0;
}

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

.section--dark {
  background-color: var(--sage);
  color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-8);
}

.section-header .t-eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-mid);
}

/* ===================================================
   5. BOTÕES
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 17px 40px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-organic);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-width: 200px;
}

.btn--primary {
  background-color: var(--sage);
  color: var(--bg-white);
  box-shadow: var(--shadow-btn);
  border: 2px solid transparent;
}

.btn--primary:hover {
  background-color: var(--sage-dark);
  box-shadow: 0 8px 32px rgba(100,115,95,0.42);
  transform: translateY(-2px);
}

.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--primary.loading {
  color: transparent;
  pointer-events: none;
}
.btn--primary.loading::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(250,249,247,0.35);
  border-top-color: var(--bg-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn--secondary {
  background-color: var(--olive);
  color: var(--bg-white);
  box-shadow: 0 4px 20px rgba(134,127,106,0.28);
  border: 2px solid transparent;
}

.btn--secondary:hover {
  background-color: var(--olive-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(100,115,95,0.07);
  border-color: var(--sage-dark);
}

.btn--white {
  background: var(--bg-white);
  color: var(--sage);
  border: 2px solid transparent;
}

.btn--white:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--full { width: 100%; min-width: unset; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Ripple */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.btn:active::after { transform: scale(4); opacity: 1; }

/* ===================================================
   6. HEADER / NAV
   =================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(250,249,247,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(100,115,95,0.10);
  padding: 14px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header__logo img {
  height: 48px;
  width: auto;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header__logo-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--sage);
  letter-spacing: -0.02em;
}
.header__logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--fendi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.header__nav a {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  transition: color 0.2s ease;
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--sage);
  transition: width 0.3s var(--ease-organic);
}

.header__nav a:hover { color: var(--sage); }
.header__nav a:hover::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: var(--space-3); }

.header__cta .btn {
  padding: 11px 24px;
  font-size: 0.75rem;
  min-width: unset;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(245,244,240,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--sage);
  transition: color 0.2s ease;
}
.mobile-menu a:hover { color: var(--sage-dark); }
.mobile-menu .btn { margin-top: var(--space-4); }

/* ===================================================
   7. HERO SECTION
   =================================================== */
.hero {
  min-height: 100vh;
  background-color: var(--bg-hero);
  display: flex;
  align-items: center;
  padding-top: 88px;
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.hero__deco-leaf {
  position: absolute;
  width: 110px;
  top: 14%;
  right: 6%;
  opacity: 0.10;
  animation: leafFloat 7s ease-in-out infinite;
  pointer-events: none;
}

.hero__deco-circle {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(100,115,95,0.10);
  bottom: -120px; right: 28%;
  pointer-events: none;
}

.hero__deco-dots {
  position: absolute;
  bottom: 60px; left: 60px;
  display: flex; gap: 8px; flex-wrap: wrap; width: 60px;
  pointer-events: none;
}
.hero__deco-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(100,115,95,0.15);
}

@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-16px) rotate(4deg); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-8);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: var(--space-9) 0;
}

.hero__content { position: relative; z-index: 1; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--olive);
  flex-shrink: 0;
}

.hero__title {
  margin-bottom: var(--space-5);
}

.hero__subtitle {
  margin-bottom: var(--space-7);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-mid);
}

.hero__proof-divider {
  width: 1px; height: 14px;
  background: var(--text-light);
}

.hero__stars {
  color: var(--olive);
  font-size: 0.875rem;
  letter-spacing: 1px;
}

/* Hero image */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 8s ease;
}

.hero__img-wrap:hover img { transform: scale(1.04); }

/* Placeholder para imagem */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #ddd9d0 0%, #c8c4ba 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.img-placeholder__icon {
  font-size: 3rem;
  opacity: 0.4;
  line-height: 1;
}
.img-placeholder__label {
  font-size: 0.75rem;
  color: rgba(74,74,69,0.6);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Badge Google Reviews */
.hero__badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--bg-white);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.hero__badge-stars { font-size: 1rem; letter-spacing: 1px; color: var(--olive); }
.hero__badge-info { display: flex; flex-direction: column; gap: 1px; }
.hero__badge-score {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1;
}
.hero__badge-label { font-size: 0.6875rem; color: var(--text-mid); }

/* ===================================================
   8. SEÇÃO DOR (Identificação)
   =================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.pain-card {
  background: var(--bg-white);
  border: 1px solid rgba(135,135,125,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: all 0.3s var(--ease-organic);
}

.pain-card:hover {
  border-color: rgba(100,115,95,0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pain-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.pain-card__text {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.pain-bridge {
  text-align: center;
  margin-top: var(--space-6);
}

.pain-bridge p {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--sage);
  font-style: italic;
}

/* ===================================================
   9. SEÇÃO DIFERENCIAL
   =================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.diff-content { max-width: 560px; }

.diff-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.diff-bullet {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.diff-bullet__marker {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(100,115,95,0.12);
  border: 1.5px solid rgba(100,115,95,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.diff-bullet__marker svg {
  width: 14px; height: 14px;
  stroke: var(--sage);
  stroke-width: 2;
  fill: none;
}

.diff-bullet__body {}

.diff-bullet__title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.diff-bullet__desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

.diff-visual {
  position: relative;
}

.diff-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.diff-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.diff-stat {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diff-stat__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--sage);
  line-height: 1;
}

.diff-stat__label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

/* ===================================================
   10. SEÇÃO SERVIÇOS
   =================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(135,135,125,0.16);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-organic);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--olive));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-organic);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(100,115,95,0.28);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(100,115,95,0.09);
  border-radius: 12px;
  color: var(--sage);
}

.service-card__icon svg {
  width: 24px; height: 24px;
  stroke: var(--sage);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__badge {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  background: rgba(134,127,106,0.12);
  color: var(--olive);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(134,127,106,0.22);
}

.service-card h3 {
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.service-card .link-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}
.service-card .link-btn:hover { gap: 10px; }
.service-card .link-btn svg {
  width: 14px; height: 14px;
  stroke: var(--sage); stroke-width: 2;
  fill: none;
}

/* ===================================================
   11. SEÇÃO DEPOIMENTOS
   =================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid rgba(135,135,125,0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  position: relative;
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover { box-shadow: var(--shadow-sm); }

.testimonial-card__quote {
  position: absolute;
  top: 20px; left: 28px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(100,115,95,0.10);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-card__stars {
  color: var(--olive);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(100,115,95,0.20);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--sage);
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.testimonial-card__detail { font-size: 0.8125rem; color: var(--text-mid); }

/* Números de prova */
.proof-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  border: 1px solid rgba(135,135,125,0.14);
  text-align: center;
}

.proof-number__value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sage);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.proof-number__label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

/* ===================================================
   12. SEÇÃO EQUIPE
   =================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: var(--space-8);
  align-items: center;
}

.team-visual {
  position: relative;
}

.team-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.team-deco {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 200px; height: 200px;
  border-radius: var(--radius-lg);
  background: rgba(100,115,95,0.08);
  border: 1.5px solid rgba(100,115,95,0.14);
  z-index: -1;
}

.team-content { max-width: 520px; }

.team-names {
  display: flex;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  flex-wrap: wrap;
}

.team-name-badge {
  background: rgba(100,115,95,0.10);
  border: 1px solid rgba(100,115,95,0.22);
  border-radius: 20px;
  padding: 6px 18px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--sage);
}

.team-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 300;
  margin-bottom: var(--space-5);
}

.team-text strong {
  font-weight: 600;
  color: var(--text-dark);
}

.team-cro {
  font-size: 0.8125rem;
  color: var(--text-mid);
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-cro::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--text-light);
}

/* ===================================================
   13. SEÇÃO GALERIA (Fotos da clínica)
   =================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: var(--space-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-organic);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(100,115,95,0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===================================================
   14. SEÇÃO FORMULÁRIO (CTA)
   =================================================== */
.cta-section {
  background:
    linear-gradient(135deg,
      rgba(100,115,95,0.09) 0%,
      rgba(134,127,106,0.07) 100%
    ),
    var(--bg-alt);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-section__deco-leaf {
  position: absolute;
  width: 200px;
  top: -40px; left: -60px;
  opacity: 0.06;
  transform: rotate(-30deg);
  pointer-events: none;
}

.cta-section__deco-circle {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1.5px solid rgba(100,115,95,0.10);
  bottom: -100px; right: 10%;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}

.cta-content {}

.cta-content h2 { margin-bottom: var(--space-4); }

.cta-content p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.cta-trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-mid);
  font-weight: 300;
}

.cta-trust-item svg {
  width: 18px; height: 18px;
  stroke: var(--sage);
  stroke-width: 2; fill: none;
  flex-shrink: 0;
}

/* Form card */
.form-card {
  background: rgba(250,249,247,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow:
    0 8px 40px rgba(100,115,95,0.14),
    inset 0 1px 0 rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--olive));
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--sage);
  margin-bottom: var(--space-2);
}

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fendi);
}

.form-input {
  width: 100%;
  height: 50px;
  padding: 0 var(--space-4);
  background: rgba(135,135,125,0.07);
  border: 1.5px solid rgba(135,135,125,0.22);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: all 0.25s ease;
  outline: none;
}

.form-input::placeholder { color: rgba(135,135,125,0.55); }

.form-input:focus {
  border-color: var(--sage);
  background: rgba(100,115,95,0.05);
  box-shadow: 0 0 0 3px rgba(100,115,95,0.12);
}

.form-input.has-error {
  border-color: var(--error);
  background: rgba(160,97,74,0.04);
}

.form-error {
  font-size: 0.75rem;
  color: var(--error);
  display: none;
  align-items: center;
  gap: 4px;
}
.form-error.visible { display: flex; }

/* Radio group */
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-radio-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(135,135,125,0.20);
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(135,135,125,0.05);
}

.form-radio-option:hover {
  border-color: var(--sage);
  background: rgba(100,115,95,0.06);
}

.form-radio-option input[type="radio"] { display: none; }

.form-radio-option .radio-custom {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(135,135,125,0.35);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}

.form-radio-option input:checked ~ .radio-custom {
  border-color: var(--sage);
  background: var(--sage);
}

.form-radio-option input:checked ~ .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: white;
}

.form-radio-option .radio-text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dark);
}

.form-radio-option:has(input:checked) {
  border-color: var(--sage);
  background: rgba(100,115,95,0.07);
}

/* Unidade radio */
.form-radio-inline {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.form-radio-inline .form-radio-option {
  flex: 1;
  justify-content: center;
  min-width: 90px;
}

/* Microcopy */
.form-microcopy {
  margin-top: var(--space-4);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-microcopy svg {
  display: inline; width: 12px; height: 12px;
  stroke: var(--sage); stroke-width: 2; fill: none;
  vertical-align: middle; margin-right: 3px;
}

/* Form success state */
.form-success-state {
  display: none;
  text-align: center;
  padding: var(--space-8) var(--space-5);
}

.form-success-state.visible { display: block; }

.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(100,115,95,0.12);
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success-icon svg {
  width: 28px; height: 28px;
  stroke: var(--sage); stroke-width: 2; fill: none;
}

/* ===================================================
   15. SEÇÃO FAQ
   =================================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid rgba(135,135,125,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open { border-color: rgba(100,115,95,0.30); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.faq-item.open .faq-question { color: var(--sage); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(135,135,125,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-icon svg {
  width: 12px; height: 12px;
  stroke: var(--fendi); stroke-width: 2; fill: none;
  transition: transform 0.35s ease;
}
.faq-item.open .faq-icon {
  background: var(--sage);
  border-color: var(--sage);
}
.faq-item.open .faq-icon svg { stroke: white; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-organic);
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-mid);
  border-top: 1px solid rgba(135,135,125,0.10);
  padding-top: var(--space-4);
}

/* ===================================================
   16. FOOTER
   =================================================== */
.footer-urgency {
  background: var(--sage);
  padding: var(--space-8) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-urgency::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(80,96,80,0.4) 0%, transparent 100%);
}

.footer-urgency__inner { position: relative; z-index: 1; }

.footer-urgency h2 {
  color: #faf9f7;
  margin-bottom: var(--space-3);
}

.footer-urgency p {
  color: rgba(250,249,247,0.75);
  max-width: 560px;
  margin: 0 auto var(--space-6);
  font-size: 1rem;
}

.footer {
  background: var(--text-dark);
  color: rgba(250,249,247,0.75);
  padding: var(--space-8) 0 var(--space-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.footer__brand {}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--bg-white);
  margin-bottom: var(--space-2);
}

.footer__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.45);
  margin-bottom: var(--space-5);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250,249,247,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: rgba(250,249,247,0.6);
  font-size: 0.875rem;
}

.footer__social:hover {
  border-color: rgba(250,249,247,0.60);
  color: var(--bg-white);
  background: rgba(250,249,247,0.08);
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.45);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: 0.9375rem;
  color: rgba(250,249,247,0.65);
  transition: color 0.2s ease;
  line-height: 1.4;
}

.footer__links a:hover { color: var(--bg-white); }

.footer__address {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(250,249,247,0.65);
}

.footer__address a {
  color: rgba(250,249,247,0.65);
  text-decoration: underline;
  text-decoration-color: rgba(250,249,247,0.25);
}
.footer__address a:hover { color: var(--bg-white); }

.footer__address strong {
  display: block;
  color: rgba(250,249,247,0.90);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--space-3);
  margin-bottom: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(250,249,247,0.08);
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(250,249,247,0.40);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
}

.footer__legal a {
  font-size: 0.8125rem;
  color: rgba(250,249,247,0.40);
  transition: color 0.2s ease;
}
.footer__legal a:hover { color: rgba(250,249,247,0.75); }

/* ===================================================
   17. FLOATING CTA (mobile)
   =================================================== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(135,135,125,0.15);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-organic);
}

.floating-cta.visible { transform: translateY(0); }

.floating-cta .btn { width: 100%; min-width: unset; }

/* ===================================================
   18. ANIMAÇÕES SCROLL-TRIGGERED
   =================================================== */
[data-anim] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: var(--ease-organic);
}

[data-anim="fade-up"]    { transform: translateY(30px); }
[data-anim="fade-left"]  { transform: translateX(-30px); }
[data-anim="fade-right"] { transform: translateX(30px); }
[data-anim="scale-in"]   { transform: scale(0.94); transition-duration: 0.8s; }
[data-anim="fade-in"]    { }

[data-anim].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
  .hero__deco-leaf { animation: none; }
  .cta-section { animation: none; }
}

/* ===================================================
   19. RESPONSIVIDADE
   =================================================== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; text-align: center; padding: var(--space-8) 0; }
  .hero__content { order: 2; }
  .hero__visual  { order: 1; max-width: 360px; margin: 0 auto; }
  .hero__subtitle { margin: 0 auto var(--space-7); }
  .hero__actions { justify-content: center; }
  .hero__proof   { justify-content: center; }
  .hero__badge   { left: 0; }

  .diff-grid   { grid-template-columns: 1fr; }
  .diff-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .diff-content { max-width: 100%; }

  .cta-grid { grid-template-columns: 1fr; }
  .cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
  .cta-trust-items { align-items: center; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .section { padding: var(--space-8) 0; }

  .services-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .proof-numbers     { grid-template-columns: repeat(3, 1fr); }
  .pain-grid         { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; height: 220px; }
  .gallery-item:not(:first-child) { height: 160px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal  { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .form-radio-inline { flex-direction: column; }
  .form-card { padding: var(--space-5); }
  .cta-section .container { padding: 0 var(--space-4); }

  .floating-cta { display: block; }

  .hero__badge { position: static; margin-top: var(--space-4); width: fit-content; }
  .hero__img-wrap { max-width: 300px; margin: 0 auto; }

  .team-deco { display: none; }
  .diff-stat { left: 0; bottom: -14px; }

  h1, .h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .proof-numbers {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .proof-numbers > div {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .proof-number__value { font-size: 2rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: auto; height: 220px; }
  .gallery-item:not(:first-child) { height: 180px; }
}

/* ===================================================
   20. UTILITÁRIOS
   =================================================== */
.text-center  { text-align: center; }
.text-sage    { color: var(--sage); }
.text-muted   { color: var(--text-mid); }
.mt-4  { margin-top: var(--space-4); }
.mt-5  { margin-top: var(--space-5); }
.mt-6  { margin-top: var(--space-6); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-5  { margin-bottom: var(--space-5); }
.gap-2 { gap: var(--space-2); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.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;
}

/* Focus visible global */
*:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}
