/* ============================================================
   Estudiodonto — Design System (estrutura Gesser, identidade Estudiodonto)
   Paleta oficial: navy + dourado intenso + cinza grafite + bone
   ============================================================ */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100vw; }
body { overflow-x: hidden; max-width: 100vw; min-height: 100vh; margin: 0; }
img, video, iframe, svg { max-width: 100%; height: auto; display: block; }
pre, code { max-width: 100%; overflow-x: auto; }
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], input[type="search"],
input[type="url"], textarea, select { font-size: 16px; }
body.modal-open { overflow: hidden; }

:root {
  /* === IDENTIDADE OFICIAL ESTUDIODONTO === */
  /* Paleta: Azul-marinho · Preto · Branco · Cinza Grafite · Dourado Intenso */

  /* Azul-marinho — PROTAGONISTA da marca */
  --navy: #0E2238;
  --navy-2: #142A45;
  --navy-3: #1A3458;
  --navy-4: #243E5F;
  --navy-soft: #E8EDF3;         /* Navy ultra dilúido (badges/sections suaves) */
  --navy-pale: #F4F7FB;         /* Navy quase branco (background sections) */

  /* Dourado Intenso — accent sofisticado */
  --brand: #B89656;
  --brand-dark: #8E723F;
  --brand-light: #F0E6CE;
  --brand-light-soft: #FAF6EC;

  /* Cinza Grafite oficial + variações */
  --stone-900: #0E2238;         /* Headings em navy (não preto puro) */
  --stone-800: #1A2438;
  --stone-700: #2A3245;
  --stone-600: #5C5F66;         /* Cinza Grafite oficial */
  --stone-500: #7B8088;
  --stone-400: #A8ADB5;
  --stone-300: #D2D6DD;
  --stone-200: #E5E8EE;
  --stone-100: #F1F3F7;
  --stone-50: #FAFBFD;

  /* Backgrounds neutros (trocou bege por neutros azulados) */
  --warm-50: #FAFBFD;           /* off-white levemente azulado */
  --warm-100: #F4F6F9;          /* azul ultra claro */
  --warm-200: #E0E5EC;          /* cinza-azul claro */
  --bg-white: #FFFFFF;
  --bg-cream: #FAFBFD;          /* tom neutro azulado, não bege */

  --green-500: #25D366;
  --green-600: #1ebe5d;

  /* === TIPOGRAFIA OFICIAL — Sora 100% (Estudiodonto + RD360 standard) === */
  --font-display: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-eyebrow: 'Sora', system-ui, -apple-system, sans-serif;
  --font-sans: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 34, 56, 0.04);
  --shadow-md: 0 4px 12px rgba(14, 34, 56, 0.06);
  --shadow-lg: 0 10px 30px rgba(14, 34, 56, 0.08);
  --shadow-xl: 0 20px 50px rgba(14, 34, 56, 0.12);
  --shadow-brand: 0 8px 25px rgba(184, 150, 86, 0.28);
  --shadow-brand-lg: 0 12px 35px rgba(184, 150, 86, 0.40);

  --container-max: 1280px;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone-700);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--stone-900);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}
h1 em, h2 em, h3 em, h4 em { font-style: normal; color: var(--brand); font-weight: 600; }
p { margin: 0; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--warm-50); }
::-webkit-scrollbar-thumb { background: rgba(184, 150, 86, 0.4); border-radius: 4px; }

/* === ANIMATIONS === */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float-delayed {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out 1s infinite; }
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .animate-float, .animate-float-delayed, .whatsapp-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section-white { background: var(--bg-white); }
.section-cream { background: var(--navy-pale); }

/* Section with subtle clinic background - reinforces local identity */
.section-bg-clinic {
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  isolation: isolate;
}
.section-bg-clinic-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.section-bg-clinic-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: saturate(0.85);
}
.section-bg-clinic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 251, 0.78) 50%, rgba(255, 255, 255, 0.92) 100%);
}
.section-navy-soft { background: var(--navy-soft); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--navy-soft);
  border: 1px solid rgba(14, 34, 56, 0.10);
  border-radius: 9999px;
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* Badge com 2 linhas estruturadas (categoria + localização) */
.section-badge-stacked {
  align-items: center;
  padding: 8px 18px 8px 16px;
  gap: 12px;
  flex-wrap: nowrap;
}
.section-badge-stacked .badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  gap: 2px;
}
.section-badge-stacked .badge-line-1 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
}
.section-badge-stacked .badge-line-2 {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--stone-600);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.section-title-left { text-align: left; }
.section-title .brand {
  font-weight: 600;
  color: var(--brand);
}
.brand { color: var(--brand); }
.section-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone-600);
  margin-bottom: 12px;
}
.section-cta { text-align: center; margin-top: 40px; }
.cta-note {
  font-size: 14px;
  color: var(--stone-500);
  margin-bottom: 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 13px; gap: 8px; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 8px 25px rgba(14, 34, 56, 0.20);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 34, 56, 0.30);
}
.btn-primary:hover::before { opacity: 0.20; }
.btn-gold {
  background: var(--brand);
  color: var(--navy);
  box-shadow: var(--shadow-brand);
}
.btn-gold:hover {
  background: var(--brand-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand-lg);
}
.btn-outline {
  background: white;
  color: var(--navy);
  border: 1px solid var(--stone-200);
  font-weight: 600;
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  padding: 14px 0;
  transition: all 0.3s ease;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(14, 34, 56, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px -16px rgba(14, 34, 56, 0.5);
}
.navbar .nav-logo { color: white; }
.navbar .nav-link { color: rgba(255, 255, 255, 0.78); }
.navbar .nav-link:hover { color: white; background: rgba(255, 255, 255, 0.06); }
.navbar .nav-mobile-toggle { color: white; }
.navbar .nav-mobile-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.navbar .btn-primary { background: var(--brand); color: var(--navy); box-shadow: 0 6px 20px rgba(184, 150, 86, 0.32); }
.navbar .btn-primary:hover { background: var(--brand-dark); color: white; }
.navbar .btn-primary::before { display: none; }
.navbar .btn-primary > * { z-index: auto; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--stone-900);
  transition: color 0.3s ease;
}
.nav-logo svg,
.nav-logo img {
  height: 42px !important;
  width: auto !important;
  max-width: 160px;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo svg,
.navbar.scrolled .nav-logo img { height: 36px !important; }
@media (max-width: 600px) {
  .nav-logo img, .nav-logo svg { height: 36px !important; max-width: 130px; }
  .navbar.scrolled .nav-logo img, .navbar.scrolled .nav-logo svg { height: 32px !important; }
}
.nav-links { display: none; gap: 4px; }
@media (min-width: 1024px) {
  .nav-links { display: flex; align-items: center; }
  .nav-cta { display: inline-flex !important; }
}
.nav-link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stone-600);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav-link:hover { color: var(--stone-900); background: var(--stone-50); }
.nav-cta { display: none; }

.nav-mobile-toggle {
  background: none;
  border: none;
  color: white;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  position: relative;
  z-index: 1102;
}
@media (min-width: 1024px) { .nav-mobile-toggle { display: none; } }
.nav-mobile-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle.is-open { color: white; }
.nav-mobile-toggle.is-open .icon-menu { display: none; }
.nav-mobile-toggle.is-open .icon-close { display: block; }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  width: 100%;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  background: var(--navy);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 24px 24px 32px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 24px 40px -10px rgba(14, 34, 56, 0.40);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  z-index: 1099;
}
.navbar.scrolled + .nav-mobile-menu { top: 64px; }
.nav-mobile-menu.is-open { display: flex; transform: translateY(0); opacity: 1; }
.nav-mobile-menu .nav-mobile-link { color: rgba(255, 255, 255, 0.84); }
.nav-mobile-menu .nav-mobile-link:hover { background: rgba(255, 255, 255, 0.06); color: white; }
.nav-mobile-menu .btn-primary { background: var(--brand); color: var(--navy); }
.nav-mobile-menu .btn-primary:hover { background: var(--brand-dark); color: white; }
.nav-mobile-menu .btn-primary::before { display: none; }
@media (min-width: 1024px) { .nav-mobile-menu { display: none !important; } }
.nav-mobile-link {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--stone-700);
  border-radius: var(--radius-sm);
}
.nav-mobile-link:hover { background: var(--stone-50); color: var(--stone-900); }
.nav-mobile-menu .btn { margin-top: 16px; }

/* === HERO === */
.hero {
  position: relative;
  background: white;
  padding-top: 100px;
  padding-bottom: 32px;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding-top: 112px; padding-bottom: 0; } }
.hero-bg-gradient {
  position: absolute;
  top: 0; right: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(to left, rgba(14, 34, 56, 0.07), rgba(14, 34, 56, 0.03), transparent);
  pointer-events: none;
}
.hero-bg-blob {
  position: absolute;
  top: 80px; right: 80px;
  width: 480px; height: 480px;
  background: rgba(14, 34, 56, 0.06);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-bg-blob-gold {
  position: absolute;
  bottom: 60px; left: -120px;
  width: 360px; height: 360px;
  background: rgba(184, 150, 86, 0.12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 10; }
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media (min-width: 1024px) {
  .hero-grid { flex-direction: row; gap: 48px; }
}
.hero-content { flex: 1; max-width: 560px; }
.hero-content .section-badge { margin-bottom: 16px; }
.hero-title {
  font-family: var(--font-display);
  margin-top: 18px;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.hero-title em { font-style: normal; color: var(--brand); font-weight: 600; }
.hero-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--stone-600);
  line-height: 1.6;
  max-width: 480px;
}
.hero-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--stone-500);
  line-height: 1.6;
  max-width: 480px;
}
.hero-ctas {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--stone-400);
}

.hero-photos {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .hero-photos { justify-content: flex-end; margin-top: 0; }
}
.hero-photos-inner {
  position: relative;
  display: inline-block;
}
.hero-circle {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(14, 34, 56, 0.10);
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 1),
    0 0 0 7px rgba(184, 150, 86, 0.32),
    0 30px 60px -24px rgba(14, 34, 56, 0.22);
  background: linear-gradient(180deg, var(--navy-pale), var(--navy-soft));
  position: relative;
}
@media (min-width: 640px) { .hero-circle { width: 320px; height: 320px; } }
@media (min-width: 1024px) { .hero-circle { width: 380px; height: 380px; } }
@media (min-width: 1280px) { .hero-circle { width: 420px; height: 420px; } }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(14, 34, 56, 0.06);
  box-shadow: 0 16px 40px -12px rgba(14, 34, 56, 0.24), 0 1px 0 rgba(14, 34, 56, 0.04);
  padding: 12px 18px 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  white-space: nowrap;
}

/* Card único no canto inferior direito do círculo */
.hero-card-cro {
  bottom: 12%;
  right: -8px;
}

@media (min-width: 640px) {
  .hero-card { padding: 14px 20px 14px 16px; gap: 14px; }
  .hero-card-cro { bottom: 14%; right: -16px; }
}

@media (min-width: 1024px) {
  .hero-card-cro { bottom: 14%; right: -24px; }
}

@media (min-width: 1280px) {
  .hero-card-cro { bottom: 14%; right: -36px; }
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.hero-card-sub {
  font-family: var(--font-eyebrow);
  font-size: 9px;
  color: var(--stone-600);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: 1px;
}

.hero-stats {
  margin-top: 56px;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-100);
  box-shadow: 0 12px 40px -16px rgba(14, 34, 56, 0.10), 0 1px 0 rgba(14, 34, 56, 0.02);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  position: relative;
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0; padding: 16px; }
}
@media (min-width: 1024px) {
  .hero-stats { margin-top: 72px; padding: 20px; }
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
  position: relative;
}
.hero-stat:hover { background: var(--navy-pale); }
.hero-stat:hover .hero-stat-icon { background: var(--brand-light); }
@media (min-width: 768px) {
  .hero-stat {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
  }
  .hero-stat::after {
    content: '';
    position: absolute;
    right: 0; top: 28%; bottom: 28%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--stone-200) 30%, var(--stone-200) 70%, transparent);
  }
  .hero-stat:last-child::after { display: none; }
}
@media (min-width: 1024px) {
  .hero-stat { padding: 24px 20px; gap: 14px; }
}
.hero-stat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--navy-soft);
  border: 1px solid rgba(14, 34, 56, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
@media (min-width: 768px) {
  .hero-stat-icon { width: 52px; height: 52px; }
}
.hero-stat > div { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) {
  .hero-stat > div { align-items: center; }
}
.hero-stat-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero-stat-sub {
  font-family: var(--font-eyebrow);
  font-size: 10px;
  color: var(--stone-600);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: 2px;
}

/* === DESTAQUE PRINCIPAL (era ortodontia) === */
.orto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) { .orto-grid { grid-template-columns: 1fr 1fr; } }
.orto-image { position: relative; order: 2; }
@media (min-width: 1024px) { .orto-image { order: 1; } }
.orto-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.orto-frame img {
  width: 100%;
  height: 288px;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1024px) { .orto-frame img { height: 384px; } }
.orto-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(14,34,56,0.75), rgba(14,34,56,0.30) 50%, transparent);
  padding: 64px 24px 20px;
}
.orto-overlay-brand {
  display: block;
  color: white;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.orto-overlay-sub {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.orto-shape {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 96px; height: 96px;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.orto-content { order: 1; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .orto-content { order: 2; } }

.card-treatment {
  background: white;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.card-treatment:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-treatment .card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--navy-soft);
  border: 1px solid rgba(14, 34, 56, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.card-treatment:hover .card-icon { background: var(--brand-light); border-color: rgba(184, 150, 86, 0.32); }
.card-treatment h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card-treatment p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-600);
}
.card-note {
  font-size: 13px;
  color: var(--stone-500);
  padding-left: 4px;
}

/* === TREATMENT CAROUSEL (4 cards lado a lado, swipe mobile) === */
.treat-carousel-wrap {
  position: relative;
}

/* Mobile/tablet: 1 coluna empilhada (fotos chamativas precisam ser vistas inteiras) */
.treat-carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 8px 0 0;
}
/* Tablet >=640: 2 colunas */
@media (min-width: 640px) {
  .treat-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
/* Desktop >=1024: 4 colunas */
@media (min-width: 1024px) {
  .treat-carousel {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.treat-card {
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(14, 34, 56, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.treat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -20px rgba(14, 34, 56, 0.22);
  border-color: rgba(184, 150, 86, 0.32);
}

.treat-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.treat-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.treat-card:hover .treat-card-media img { transform: scale(1.06); }
.treat-card-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 34, 56, 0.18) 0%, rgba(14, 34, 56, 0) 32%, rgba(14, 34, 56, 0) 65%, rgba(14, 34, 56, 0.42) 100%);
  pointer-events: none;
}

.treat-card-num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
  background: linear-gradient(180deg, #E8C896 0%, #C9A26A 100%);
  box-shadow: 0 2px 10px -2px rgba(14, 34, 56, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 1;
  text-transform: uppercase;
}

.treat-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.treat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-soft);
  border: 1px solid rgba(14, 34, 56, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  margin-bottom: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}
.treat-card:hover .treat-card-icon {
  background: var(--brand-light);
  color: var(--brand-dark);
}
.treat-card-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}
.treat-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-600);
  margin: 0;
}

/* Carousel controls (only mobile) */
.treat-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 1024px) { .treat-carousel-controls { display: none; } }
.treat-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(14, 34, 56, 0.10);
  background: white;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(14, 34, 56, 0.06);
}
.treat-carousel-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-1px);
}
.treat-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* === IMPLANTES === */
.implant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .implant-grid { grid-template-columns: 1fr 1fr; } }
.implant-grid .card-treatment {
  background: rgba(244,242,238,0.7);
  border-color: var(--stone-100);
}
.implant-grid .card-treatment:hover {
  background: white;
  box-shadow: var(--shadow-md);
}
.implant-grid .card-treatment .card-icon {
  background: white;
  border: 1px solid var(--stone-100);
  transition: background 0.3s ease;
}
.implant-grid .card-treatment:hover .card-icon { background: var(--brand-light); }

.implant-extra {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) { .implant-extra { flex-direction: row; gap: 32px; } }
.implant-image {
  flex: 1;
  width: 100%;
}
.implant-image > * {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.implant-image img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (min-width: 1024px) { .implant-image img { height: 320px; } }
.implant-cta {
  flex: 1;
  text-align: center;
}
@media (min-width: 1024px) { .implant-cta { text-align: left; } }
.implant-cta p {
  font-size: 14px;
  color: var(--stone-500);
  margin-bottom: 20px;
}

/* === PARA QUEM / DOR DE QUEM USA DENTADURA === */
/* Mobile: carrossel horizontal scroll-snap (cards de texto/icone economizam espaco assim) */
.profiles-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 16px;
  max-width: 100%;
  margin: 0 -16px;
  padding: 8px 16px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.profiles-grid::-webkit-scrollbar { display: none; }
@media (min-width: 480px) { .profiles-grid { grid-auto-columns: 60%; } }
/* Desktop: grid 2 colunas centralizado */
@media (min-width: 640px) {
  .profiles-grid {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: unset;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
}
.profile-card {
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.profile-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.profile-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.profile-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-600);
}

/* Profiles carousel controls (only mobile) */
.profiles-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  padding: 0 16px;
}
@media (min-width: 640px) { .profiles-controls { display: none; } }
.profiles-arrow {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(14, 34, 56, 0.10);
  background-color: #ffffff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px -4px rgba(14, 34, 56, 0.18);
  -webkit-tap-highlight-color: transparent;
}
.profiles-arrow:active { transform: scale(0.94); }
.profiles-arrow:hover {
  background-color: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.profiles-arrow-hint {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-500);
  user-select: none;
  position: relative;
  padding: 0 4px;
}
.profiles-arrow-hint::before,
.profiles-arrow-hint::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: rgba(14, 34, 56, 0.14);
}
.profiles-arrow-hint::before { right: 100%; }
.profiles-arrow-hint::after { left: 100%; }

/* === TRATAMENTOS COMPLEMENTARES === */
.trat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) { .trat-grid { grid-template-columns: 1fr 1fr; } }
.trat-image { position: relative; }
.trat-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
@media (min-width: 1024px) { .trat-image img { height: 420px; } }
.trat-shape-1 {
  position: absolute;
  top: -16px; left: -16px;
  width: 80px; height: 80px;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.trat-shape-2 {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 112px; height: 112px;
  background: var(--warm-50);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.trat-content { display: flex; flex-direction: column; gap: 24px; }
.trat-item {
  display: flex;
  gap: 16px;
}
.trat-item svg { flex-shrink: 0; margin-top: 2px; }
.trat-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.trat-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-600);
}
.trat-note {
  font-size: 13px;
  color: var(--stone-500);
  padding-left: 40px;
}
.trat-content .btn { align-self: flex-start; margin-left: 40px; }

/* === COMO FUNCIONA === */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  background: white;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-card:not(:last-child)::after {
  content: '';
  display: none;
  position: absolute;
  top: 50%; right: -12px;
  width: 24px;
  height: 2px;
  background: var(--warm-200);
}
@media (min-width: 640px) {
  .step-card:not(:last-child)::after { display: block; }
}
.step-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--brand);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.3s ease;
}
.step-card:hover .step-num { color: var(--warm-200); }
.step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.step-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--stone-600);
}

/* === GALERIA === */
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); } }
.galeria-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.galeria-item:hover img { transform: scale(1.05); }
.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,34,56,0.6), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galeria-item:hover::after { opacity: 1; }
.galeria-item figcaption {
  position: absolute;
  bottom: 16px; left: 20px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.galeria-item:hover figcaption { opacity: 1; }

/* === AUTO-CAROUSEL (infinite scroll, pacientes + clinica) === */
.auto-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Fade nas bordas pra dar elegância */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.auto-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
@media (min-width: 640px) {
  .auto-carousel-track { gap: 20px; }
}

.auto-tile {
  margin: 0;
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 16px 40px -16px rgba(14, 34, 56, 0.32);
  position: relative;
}
@media (min-width: 640px) { .auto-tile { width: 260px; } }
@media (min-width: 1024px) { .auto-tile { width: 280px; } }

.auto-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
  transition: transform 0.4s ease;
}
.auto-tile:hover img { transform: scale(1.04); }

/* Clinica tiles - mais wide pra evidenciar ambiente */
.auto-tile-clinic {
  width: 280px;
  aspect-ratio: 3/4;
}
@media (min-width: 640px) { .auto-tile-clinic { width: 340px; } }
@media (min-width: 1024px) { .auto-tile-clinic { width: 380px; } }

/* === BANNER FULL-WIDTH === */
.banner-clinic {
  position: relative;
  overflow: hidden;
}
.banner-bg-wrap { display: block; line-height: 0; }
.banner-bg {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
}
@media (min-width: 1024px) { .banner-bg { height: 480px; } }
.banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(to top, rgba(14,34,56,0.86), rgba(14,34,56,0.50), rgba(14,34,56,0.26));
}
@media (min-width: 1024px) { .banner-overlay { height: 480px; } }
.banner-content {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
@media (min-width: 1024px) { .banner-content { height: 480px; } }
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 42px);
  color: white;
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  letter-spacing: -0.02em;
}
.banner-text {
  margin-top: 16px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  max-width: 540px;
  line-height: 1.6;
}
@media (min-width: 640px) { .banner-text { font-size: 16px; } }
.banner-stats { background: var(--navy); }
.banner-stats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 1024px) { .banner-stats-inner { grid-template-columns: repeat(4, 1fr); } }
.banner-stat {
  padding: 24px 16px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.banner-stat:first-child { border-left: none; }
@media (max-width: 1023px) {
  .banner-stat:nth-child(3) { border-left: none; }
}
.banner-stat-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}
@media (min-width: 1024px) { .banner-stat-value { font-size: 20px; } }
.banner-stat-label {
  font-family: var(--font-eyebrow);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-md);
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: rgba(244,242,238,0.5); }
.faq-question svg {
  flex-shrink: 0;
  color: var(--stone-400);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question svg { transform: rotate(180deg); color: var(--brand); }
.faq-answer { padding: 0 0 20px; }
.faq-answer p {
  font-size: 13px;
  color: var(--stone-600);
  line-height: 1.7;
}

/* === CONTATO === */
.contato-card {
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--stone-100);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contato-card { grid-template-columns: 1fr 1fr; } }
.contato-info { padding: 32px; }
@media (min-width: 1024px) { .contato-info { padding: 48px; } }
.contato-info .section-title { margin-bottom: 24px; }
.contato-dra {
  background: var(--stone-50);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}
.contato-dra h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.contato-cro {
  font-size: 13px;
  color: var(--stone-600);
  margin-top: 4px;
}
.contato-spec {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  margin-top: 4px;
}
.contato-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contato-row {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.contato-row:hover .contato-icon { background: var(--warm-200); }
.contato-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.contato-row-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.contato-row-sub {
  font-size: 11px;
  color: var(--stone-500);
}
.contato-regions {
  font-size: 11px;
  color: var(--stone-400);
  margin-top: 12px;
  margin-bottom: 12px;
}
.contato-info .btn { margin-top: 8px; }
.contato-map {
  background: var(--stone-100);
  min-height: 400px;
}
.contato-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: white;
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(280px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 150, 86, 0.4), transparent);
}
@media (min-width: 1024px) { .footer { padding: 80px 0 28px; } }

/* Brand block (centered) */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 48px;
}
.footer-logo-link { display: inline-block; transition: opacity 0.3s ease; }
.footer-logo-link:hover { opacity: 0.85; }
.footer-logo-link img { height: 80px; width: auto; }
@media (min-width: 1024px) { .footer-logo-link img { height: 100px; } }
.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  max-width: 480px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer-social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1.6fr 1fr; gap: 48px; padding-top: 40px; } }

.footer-heading {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a, .footer-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s ease;
}
.footer-list-icons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
}
.footer-list-icons a svg {
  color: var(--gold);
  flex-shrink: 0;
}
.footer-list a:hover { color: var(--gold); }
.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-row svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-by-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.footer-by-link:hover { opacity: 1; }
.footer-by-text {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-by-logo { height: 18px; width: auto; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  color: white;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.10);
  background: var(--green-600);
}
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
@media (max-width: 600px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ============================================================
   BLOG — Hub e Posts
   ============================================================ */
.blog-hero {
  background: linear-gradient(180deg, var(--warm-100) 0%, white 100%);
  padding: 120px 0 60px;
  text-align: center;
}
.blog-hero .blog-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: var(--brand-light);
  border: 1px solid rgba(184, 150, 86, 0.20);
  border-radius: 9999px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--brand-dark); margin-bottom: 16px;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 18px;
  font-weight: 700; color: var(--navy);
}
.blog-hero h1 em { font-style: normal; color: var(--brand); font-weight: 600; }
.blog-hero p {
  max-width: 640px; margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--stone-600); line-height: 1.6;
}

.blog-hub { padding: 60px 0 100px; background: white; }
.blog-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { gap: 28px; } }

.blog-card {
  background: white; border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: rgba(184, 150, 86, 0.32);
}
.blog-card-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand-dark); margin-bottom: 14px;
}
.blog-card h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px); line-height: 1.25;
  margin-bottom: 12px; letter-spacing: -0.02em; font-weight: 700;
}
.blog-card h2 a { color: var(--stone-900); }
.blog-card h2 a:hover { color: var(--brand-dark); }
.blog-card p {
  font-size: 14px; line-height: 1.7;
  color: var(--stone-600); margin-bottom: 20px; flex: 1;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--stone-500);
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--stone-100);
}
.blog-card-meta a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-dark); font-weight: 600; margin-left: auto;
}
.blog-card-meta a:hover { color: var(--brand); }

.post-hero {
  background: linear-gradient(180deg, var(--warm-100) 0%, white 100%);
  padding: 120px 0 50px;
}
.post-breadcrumb { font-size: 12px; color: var(--stone-500); margin-bottom: 18px; }
.post-breadcrumb a { color: var(--brand-dark); font-weight: 600; }
.post-breadcrumb a:hover { color: var(--brand); }
.post-breadcrumb span { color: var(--stone-400); padding: 0 6px; }

.post-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand-dark); margin-bottom: 14px;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 20px;
  font-weight: 700; color: var(--navy); max-width: 880px;
}
.post-title em { font-style: normal; color: var(--brand); font-weight: 600; }
.post-lead {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6;
  color: var(--stone-600); max-width: 760px; margin-bottom: 28px;
}
.post-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 12px; color: var(--stone-500);
  padding-top: 18px; border-top: 1px solid var(--stone-100);
}
.post-meta strong { color: var(--stone-900); font-weight: 600; }

.post-body { padding: 40px 0 80px; background: white; }
.post-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; max-width: 1100px; margin: 0 auto;
}
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: 1fr 320px; gap: 60px; }
}
.post-content { max-width: 720px; font-size: 16px; line-height: 1.75; color: var(--stone-700); }
.post-content > * + * { margin-top: 22px; }
.post-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 30px); line-height: 1.25;
  letter-spacing: -0.02em; margin-top: 56px; margin-bottom: 16px;
  color: var(--navy); font-weight: 700;
}
.post-content h2 em { font-style: normal; color: var(--brand); font-weight: 600; }
.post-content h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 20px); line-height: 1.3;
  margin-top: 36px; margin-bottom: 12px;
  color: var(--navy); font-weight: 700; letter-spacing: -0.01em;
}
.post-content p { font-size: 16px; line-height: 1.75; }
.post-content ul, .post-content ol { padding-left: 26px; }
.post-content li { margin-top: 10px; line-height: 1.7; }
.post-content strong { color: var(--stone-900); font-weight: 600; }
.post-content a {
  color: var(--brand-dark); font-weight: 600;
  border-bottom: 1px solid rgba(184, 150, 86, 0.3);
  transition: border-color 0.2s ease;
}
.post-content a:hover { border-bottom-color: var(--brand); }
.post-content blockquote {
  border-left: 3px solid var(--brand);
  padding: 16px 24px;
  background: var(--warm-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0; color: var(--stone-700);
  font-weight: 500;
}

.post-info-card {
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--warm-100) 100%);
  border: 1px solid rgba(14, 34, 56, 0.10);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 24px 26px; margin: 36px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.post-info-card svg {
  flex-shrink: 0; width: 24px; height: 24px;
  color: var(--brand-dark); margin-top: 2px;
}
.post-info-card-body { flex: 1; }
.post-info-card h4 {
  font-family: var(--font-eyebrow);
  font-size: 11px; font-weight: 600; color: var(--brand-dark);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.18em;
}
.post-info-card p {
  font-size: 14px !important; line-height: 1.6 !important;
  color: var(--stone-700) !important; margin: 0;
}

.post-disclaimer {
  margin-top: 48px; padding: 16px 20px;
  font-size: 12px; line-height: 1.6; color: var(--stone-500);
  background: var(--stone-50); border-radius: var(--radius-sm);
  font-weight: 400;
  border-left: 2px solid var(--stone-300);
}

.post-sidebar { position: relative; }
@media (min-width: 1024px) {
  .post-sidebar-inner { position: sticky; top: 100px; }
}
.sidebar-cta {
  background: var(--stone-900); color: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px; margin-bottom: 24px;
}
.sidebar-cta h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: white;
  margin-bottom: 10px; letter-spacing: -0.015em;
}
.sidebar-cta p {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.74); margin-bottom: 18px;
}
.sidebar-cta-stats {
  display: flex; gap: 16px; margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-cta-stat { flex: 1; }
.sidebar-cta-stat strong {
  display: block; font-size: 15px;
  color: var(--brand); font-weight: 700;
}
.sidebar-cta-stat small {
  display: block; font-size: 10px;
  color: rgba(255,255,255,0.58);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 2px;
}
.sidebar-cta .btn-primary { background: var(--brand); color: var(--stone-900); }
.sidebar-cta .btn-primary:hover { background: var(--brand-dark); color: white; }

.sidebar-related {
  background: white; border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg); padding: 24px;
}
.sidebar-related h3 {
  font-family: var(--font-eyebrow);
  font-size: 11px; font-weight: 600; color: var(--brand-dark);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 18px;
}
.sidebar-related ul li { margin-bottom: 14px; }
.sidebar-related a {
  display: block; font-family: var(--font-display); font-size: 14px; line-height: 1.4;
  color: var(--navy); font-weight: 600; letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.sidebar-related a:hover { color: var(--brand-dark); }

.post-final-cta {
  background: var(--stone-900); color: white;
  padding: 60px 0; text-align: center;
}
.post-final-cta h2 {
  font-family: var(--font-display);
  color: white; font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 14px; letter-spacing: -0.025em; font-weight: 700;
}
.post-final-cta h2 em { font-style: normal; color: var(--brand); font-weight: 600; }
.post-final-cta h2 .brand { color: var(--brand); }
.post-final-cta p {
  font-size: 15px; color: rgba(255,255,255,0.74);
  max-width: 540px; margin: 0 auto 28px;
}
.post-final-cta .btn { margin: 0 auto; }

@media (max-width: 600px) {
  .blog-hero, .post-hero { padding-top: 100px; }
  .post-content { font-size: 15px; }
  .sidebar-cta, .sidebar-related { padding: 20px; }
}
