/**
 * IDP Alphaville – styles.css
 * Design system tokens, component styles, responsive rules
 */

/* =====================================================
   INTRO OVERLAY
===================================================== */
#introOverlay {
  position: fixed;
  inset: 0;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

#introText {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.13;
  letter-spacing: -0.5px;
  color: #fff;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(24px);
}
#introText strong {
  font-weight: 800;
}

/* =====================================================
   DESIGN SYSTEM – TOKENS
===================================================== */
:root {
  --blue:        #1ABCDC;
  --blue-light:  rgba(26,188,220,0.10);
  --blue-dark:   #12A5C2;
  --purple:      #5B2E8F;
  --purple-dark: #4a2477;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --gray-100:    #F2F2F0;
  --gray-300:    #D1D1CC;
  --gray-500:    #8A8A85;
  --gray-600:    #5C5C58;
  --dark:        #1A1A1A;
  --green-wa:    #25D366;

  --radius-card: 26px;
  --radius-btn:  50px;
  --radius-cta:  40px;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 16px 52px rgba(0,0,0,0.13);

  --container:   1200px;
  --pad-h:       40px;
  --section-v:   112px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
}

.site-wrap { overflow: clip; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.section { padding: var(--section-v) 0; }
.section--off { background: var(--off-white); }
.section--blue { background: var(--blue); }
.section--purple { background: var(--purple); }
.section--dark { background: var(--dark); }

/* =====================================================
   TYPOGRAPHY HELPERS
===================================================== */
.label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(91,46,143,0.10);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.label--white {
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.18);
}
.label--purple {
  color: var(--purple);
  background: rgba(91,46,143,0.10);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
.section-title--white { color: var(--white); }
.section-title--center { text-align: center; }

.section-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-600);
  margin-top: 12px;
  line-height: 1.6;
}
.section-sub--white { color: rgba(255,255,255,0.80); }
.section-sub--center { text-align: center; }

/* Mixed-weight titles: light base + bold key words */
.section-title--mixed { font-weight: 400; letter-spacing: -0.3px; }
.section-title--mixed strong { font-weight: 800; }

.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.28s ease;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Icon bubble — small circle on the left inside the pill */
.btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}
.btn:hover .btn-icon-wrap { transform: scale(1.10); }

.btn-label { padding: 0 20px 0 10px; line-height: 1; }

/* Fallback: button with only text (no icon-wrap) */
.btn:not(:has(.btn-icon-wrap)) { padding: 13px 28px; gap: 8px; }

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* PRIMARY (purple) */
.btn--primary {
  background: var(--purple);
  color: var(--white);
  padding: 7px 7px 7px 7px;
}
.btn--primary .btn-icon-wrap {
  background: rgba(255,255,255,0.20);
}
.btn--primary:hover {
  background: var(--purple-dark);
  box-shadow: 0 8px 28px rgba(91,46,143,0.35);
  transform: translateY(-1px);
}

/* PRIMARY BLUE variant */
.btn--primary-blue {
  background: var(--blue);
  color: var(--white);
  padding: 7px 7px 7px 7px;
}
.btn--primary-blue .btn-icon-wrap {
  background: rgba(255,255,255,0.22);
}
.btn--primary-blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(26,188,220,0.35);
  transform: translateY(-1px);
}

/* OUTLINE */
.btn--outline {
  background: transparent;
  color: var(--purple);
  padding: 7px 7px 7px 7px;
  border: 2px solid var(--purple);
}
.btn--outline .btn-icon-wrap {
  background: rgba(91,46,143,0.10);
}
.btn--outline:hover {
  background: var(--purple);
  color: var(--white);
}
.btn--outline:hover .btn-icon-wrap {
  background: rgba(255,255,255,0.20);
}

/* OUTLINE WHITE */
.btn--outline-white {
  background: transparent;
  color: var(--white);
  padding: 7px 7px 7px 7px;
  border: 2px solid rgba(255,255,255,0.60);
}
.btn--outline-white .btn-icon-wrap {
  background: rgba(255,255,255,0.18);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn--outline-white:hover .btn-icon-wrap {
  background: rgba(91,46,143,0.12);
}

/* WHATSAPP */
.btn--wa {
  background: var(--green-wa);
  color: var(--white);
  padding: 7px 7px 7px 7px;
  font-size: 15px;
}
.btn--wa .btn-icon-wrap {
  background: rgba(255,255,255,0.22);
}
.btn--wa:hover {
  background: #1ebe5d;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  transform: translateY(-1px);
}

/* Small variant */
.btn--sm { padding: 5px 5px 5px 5px; font-size: 14px; }
.btn--sm .btn-icon-wrap { width: 28px; height: 28px; }
.btn--sm .btn-label { padding: 0 16px 0 8px; }

/* =====================================================
   NAVBAR
===================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px var(--pad-h);
  background: transparent;
  transition: padding 0.3s ease;
}
#navbar.scrolled {
  padding: 10px var(--pad-h);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  background: var(--white);
  border-radius: 60px;
  padding: 6px 6px 6px 28px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.09);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled .nav-inner {
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--purple); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 44px; height: 44px;
  background: #f0ebf9;
  border-radius: 12px;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* X animation when open */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  flex-direction: column;
  z-index: 998;
  padding: 100px 32px 48px;
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a:not(.btn) {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  padding: 18px 0;
  border-bottom: 1px solid #f0ebf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.3px;
}
.nav-mobile-menu a:not(.btn)::after {
  content: '→';
  font-size: 18px;
  color: var(--purple);
  opacity: 0.5;
}
.nav-mobile-menu a:not(.btn):hover { color: var(--purple); }

.nav-mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 32px;
  padding: 16px;
  font-size: 16px;
}

/* =====================================================
   HERO
===================================================== */
#hero {
  background: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 85vh;
}

/* ── Left text block ── */
.hero-text {
  width: 50%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  position: relative;
  z-index: 2;
}

/* ── Right image block ── */
.hero-image-block {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-image-block img {
  max-width: 640px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 32px;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 300;
  line-height: 1.13;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--blue); font-weight: 600; }
.hero-title .line { display: block; }

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-avatars { display: flex; }
.hero-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--off-white);
  background: #f0ebf9;
  margin-left: -9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}
.hero-avatar:first-child { margin-left: 0; }
.hero-proof-text { font-size: 13px; color: var(--gray-600); }
.hero-proof-text strong { color: var(--dark); }
.hero-stars { color: #F59E0B; font-size: 12px; }

/* ── Right image column ── (image is now card background) */
.hero-image-wrap { display: none; }
.hero-image-wrap img { display: none; }

/* Decorative watermark behind photo */
.hero-deco {
  position: absolute;
  right: -16px;
  bottom: -24px;
  font-size: 240px;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -6px;
  z-index: 0;
}

/* Placeholder when no image */
.hero-img-placeholder {
  width: 100%; height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--blue);
  opacity: 0.25;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.hero-img-placeholder svg { width: 48px; height: 48px; }

/* =====================================================
   PILARES
===================================================== */
#pilares { background: #f0ebf9; }

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Two-column layout: title left, cards right */
.pilares-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.pilares-left {
  align-self: start;
}

/* Garantir que a seção não corte o sticky */
#pilares { overflow: visible !important; }

.pilares-left .label {
  display: inline-block;
  margin-bottom: 16px;
}

.pilares-left .section-title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.pilares-left .section-sub {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Stack layout for Nosso Método */
.pilares-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pilar-stack-card {
  transform-origin: top center;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .pilares-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pilares-left {
    position: static;
  }
}

/* Icon color variants */
.pilar-icon-wrap--blue   { background: #e8e0f4; color: var(--purple); }
.pilar-icon-wrap--purple { background: #f0ebf9; color: var(--purple); }
.pilar-icon-wrap--teal   { background: #ede8f6; color: var(--purple-dark); }

.pilar-img-wrap {
  margin: -32px -32px 28px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.pilar-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pilar-card:hover .pilar-img-wrap img { transform: scale(1.04); }

.pilar-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.pilar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.pilar-number {
  position: absolute;
  top: -10px; right: 16px;
  font-size: 100px;
  font-weight: 800;
  color: var(--dark);
  opacity: 0.035;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pilar-icon-wrap {
  width: 52px; height: 52px;
  background: #f0ebf9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pilar-icon-wrap svg { width: 26px; height: 26px; }

.pilar-card .pilar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.pilar-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}
.pilar-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}
.pilar-bar {
  height: 3px;
  border-radius: 2px;
  margin-top: 24px;
  width: 0;
  transition: width 0.6s ease 0.2s;
}
.pilar-card:hover .pilar-bar { width: 100%; }
.pilar-bar--blue   { background: var(--blue); }
.pilar-bar--purple { background: var(--purple); }
.pilar-bar--teal   { background: #0AB8A0; }

/* Before/After area */
.before-after {
  margin-top: 64px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-card);
}
.before-after-header {
  text-align: center;
  margin-bottom: 40px;
}
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ba-stat {
  text-align: center;
  padding: 28px 20px;
  background: var(--off-white);
  border-radius: 16px;
}
.ba-stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.ba-stat-label {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* =====================================================
   PILARES — STICKY SCROLL CARDS
===================================================== */
#pilares {
  background: #f0ebf9;
  padding: 80px 0 120px;
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 3;
}

.pilares-header-wrap { display: none; }

.services-outer {
  max-width: 1216px;
  width: 98%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  padding: 48px 40px;
}

.services-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

/* Left panel */
.services-left-panel {
  flex: 1 0 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}
.services-left-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.25;
  margin: 8px 0;
}
.services-left-title strong { font-weight: 800; }
.services-left-sub {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 240px;
}

/* Timeline */
.services-timeline-track {
  width: 32px;
  flex-shrink: 0;
  position: relative;
  align-self: stretch;
}
.timeline-static-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #e0e0e0;
}
.timeline-progress {
  position: sticky;
  top: 196px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 40vh;
  background: var(--purple);
  border-radius: 100px 100px 0 0;
}
.timeline-indicator {
  position: sticky;
  top: calc(196px + 40vh);
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 40px;
  background: #ffffff;
  border: 2px solid var(--purple);
  border-radius: 100px;
  margin-left: -9px;
}

/* Cards list */
.service-cards-list {
  display: flex;
  flex-direction: column;
  gap: 52px;
  flex: 1;
  min-width: 0;
}

/* Sticky card */
.service-sticky-card {
  position: sticky;
  top: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, border-color 0.3s;
  background: #ffffff;
}
.service-sticky-card:hover {
  box-shadow: rgba(0,0,0,0.18) 0px 0px 0px 1px, rgba(0,0,0,0.15) 0px 24px 64px;
  border-color: rgba(0,0,0,0.1);
}

/* Card header */
.service-card-header {
  height: 181px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(#e0e0e0 1px, transparent 1px), linear-gradient(90deg, #e0e0e0 1px, transparent 1px);
  background-size: 32px 32px;
}
.service-card-bignumber {
  font-size: 6rem;
  font-weight: 900;
  color: #000000;
  opacity: 0.06;
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* Card body */
.service-card-body {
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card-numlabel {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 100px;
  border: 2px solid rgba(0,0,0,0.08);
  padding: 0 12px;
  height: 32px;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}
.service-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.service-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-tag {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  color: #333333;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}
.skill-tag:hover {
  background: #ffffff;
  color: #000000;
  border-color: #aaa;
}

/* =====================================================
   PROFISSIONAIS
===================================================== */
#profissionais {
  background: var(--white);
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 4;
}

.profissionais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prof-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.prof-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.prof-card:hover::after { transform: scaleX(1); }
.prof-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 28px rgba(26,188,220,0.13);
  transform: translateY(-4px);
}
.prof-icon-wrap {
  width: 56px; height: 56px;
  background: #f0ebf9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform 0.25s;
}
.prof-card:hover .prof-icon-wrap { transform: scale(1.10); }
.prof-icon-wrap svg { width: 28px; height: 28px; }
.prof-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.prof-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* =====================================================
   PROGRAMAS — SCROLL STORYTELLING
===================================================== */

/* Stage visible on desktop; carousel hidden on desktop */
.programas-stage    { display: block; }
.programas-carousel { display: none; }
.prog-carousel-controls { display: none; }

/* ── Carrossel container (ativado no mobile via media query) ── */
.programas-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  padding: 0 var(--pad-h) 8px;
}
.programas-carousel::-webkit-scrollbar { display: none; }

/* ── Botões de navegação do stage (desktop) ── */
.prog-stage-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0 8px;
}
.prog-stage-nav .car-btn {
  width: 48px; height: 48px;
}
/* Dots inline inside nav bar (not absolute) */
.prog-stage-nav .prog-dots {
  position: static;
  transform: none;
}

/* ── Slide (desktop: imagem + texto lado a lado) ── */
.prog-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 480px;
}

.prog-slide-img {
  position: relative;
  background: #f0ebf9;
  overflow: hidden;
}
.prog-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.prog-slide-num {
  position: absolute;
  bottom: 16px; right: 20px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(255,255,255,0.20);
  line-height: 1;
}

.prog-slide-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.prog-slide-body .prog-title { font-size: clamp(22px, 2.5vw, 32px); }
.prog-slide-body .prog-desc  { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ── Controls ── */
.prog-carousel-controls {
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0 8px;
}

.car-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #e8e0f4;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(91,46,143,0.10);
}
.car-btn:hover { background: #f0ebf9; border-color: var(--purple); }
.car-btn svg { width: 20px; height: 20px; }
.car-btn:disabled { opacity: 0.30; cursor: default; pointer-events: none; }

.prog-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.car-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(91,46,143,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.car-dot--active {
  background: var(--purple);
  width: 24px;
  border-radius: 4px;
}

/* Programas section */
#programas {
  background: var(--white);
}

.programas-stage {
  background: var(--white);
  padding: 100px 0;
  position: relative;
}

/* Inner two-column layout */
.programas-body {
  display: grid;
  grid-template-columns: 48fr 52fr;
  gap: 64px;
  align-items: center;
  min-height: 560px;
}

/* ── TEXT FRAME ── */
.programas-text-frame {
  position: relative;
  min-height: 480px;
}

/* All steps sit on top of each other; only .active is visible */
.prog-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: none; /* controlled by GSAP */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prog-step--active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.programa-tag {
  display: inline-flex;
  align-items: center;
  background: #f0ebf9;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  width: fit-content;
}

.prog-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.prog-title strong { font-weight: 800; color: var(--blue); }

.prog-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.72;
  margin-bottom: 28px;
}

.programa-benefits {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 36px;
}
.programa-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-600);
}
.benefit-check {
  width: 20px; height: 20px;
  background: #f0ebf9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-check svg { width: 11px; height: 11px; }
.programa-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── MEDIA FRAME ── */
.programas-media-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--off-white);
  will-change: transform;
}

/* All media panels stacked; crossfade via GSAP */
.prog-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: none; /* GSAP handles */
}
.prog-media--active { opacity: 1; }

.prog-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.prog-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  opacity: 0.20;
}
.prog-media-fallback svg { width: 64px; height: 64px; }

/* Step number watermark */
.prog-media-label {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-size: 80px;
  font-weight: 900;
  color: var(--white);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── DOTS INDICATOR ── */
.prog-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}
.prog-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}
.prog-dot--active {
  background: var(--purple);
  width: 24px;
  border-radius: 4px;
}

/* =====================================================
   SOBRE A CLÍNICA
===================================================== */
#sobre { background: var(--white); padding: var(--section-v) 0; }

.sobre-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}

/* ── Left: 3×2 mosaic ── */
.sobre-photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.sobre-mosaic-cell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--off-white);
  cursor: pointer;
}
.sobre-mosaic-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.sobre-mosaic-cell:hover img { transform: scale(1.06); }

/* ── Right: content block ── */
.sobre-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Outlined pill badge — same as reference */
.sobre-badge {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.sobre-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 18px;
}
.sobre-desc strong { color: var(--dark); font-weight: 600; }

.sobre-highlight {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 8px;
  margin-bottom: 0;
}

/* =====================================================
   DIFERENCIAIS
===================================================== */
#diferenciais {
  background: var(--white);
  padding: 80px 0;
}
.diferenciais-box {
  background: var(--purple);
  border-radius: 32px;
  padding: 64px 56px;
}
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.diferencial-item {
  text-align: center;
  color: var(--white);
  padding: 8px;
}
.diferencial-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform 0.25s;
}
.diferencial-item:hover .diferencial-icon-wrap { transform: rotate(10deg) scale(1.08); }
.diferencial-icon-wrap svg { width: 28px; height: 28px; }
.diferencial-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.diferencial-desc  { font-size: 13px; opacity: 0.85; line-height: 1.5; }

/* =====================================================
   DEPOIMENTOS
===================================================== */
#depoimentos {
  background: var(--purple);
  padding: var(--section-v) 0;
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 5;
}
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.depo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.depo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.depo-quote-icon {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 52px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}
.depo-stars {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.depo-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.depo-footer { display: flex; align-items: center; gap: 12px; }
.depo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #f0ebf9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  flex-shrink: 0;
}
.depo-name  { font-size: 15px; font-weight: 700; color: var(--dark); }
.depo-badge {
  display: inline-block;
  background: #f0ebf9;
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50px;
  margin-top: 2px;
}

/* =====================================================
   SOCIAL PROOF COUNTER
===================================================== */
#counter {
  background: var(--purple);
  padding: 56px 0;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.counter-item {
  text-align: center;
  padding: 32px 32px;
  position: relative;
}
.counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.20);
}
.counter-num {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.counter-label {
  font-size: 15px;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
}

/* =====================================================
   INSTAGRAM
===================================================== */
#instagram {
  background: #f0ebf9;
  padding: var(--section-v) 0;
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 6;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.insta-item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(91,46,143,0.07) 0%, rgba(91,46,143,0.13) 100%);
  position: relative;
  cursor: pointer;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; }
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(91,46,143,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-overlay svg { width: 32px; height: 32px; color: var(--white); }

.insta-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  opacity: 0.3;
  font-size: 12px;
  flex-direction: column;
  gap: 6px;
}
.insta-placeholder svg { width: 24px; height: 24px; }

.instagram-cta {
  text-align: center;
  margin-top: 40px;
}

/* =====================================================
   CTA FINAL
===================================================== */
#cta-final {
  background: var(--white);
  padding: 80px 0;
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 9;
}
.cta-box {
  background: var(--purple);
  border-radius: var(--radius-cta);
  padding: 80px 60px;
  text-align: center;
}
#cta-final .section-title--white { margin-bottom: 12px; }
#cta-final .section-sub--white   { margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* =====================================================
   FOOTER
===================================================== */
#footer {
  background: #f0ebf9;
  padding: 0 24px 40px;
}

.footer-inner {
  background: var(--purple);
  border-radius: 32px;
  padding: 56px 56px 32px;
  position: relative;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-inner .container {
  max-width: 100%;
  padding: 0;
}

.footer-watermark {
  position: absolute;
  right: -40px;
  bottom: -40px;
  font-size: clamp(160px, 22vw, 280px);
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  letter-spacing: -8px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { height: 40px; width: auto; max-width: 200px; display: block; margin-bottom: 16px; filter: brightness(0) invert(1); object-fit: contain; object-position: left center; }

.footer-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
  margin-top: -6px;
}

.footer-brand-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.footer-brand-text span { color: var(--white); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social-btn:hover { background: rgba(255,255,255,0.18); }
.footer-social-btn svg { width: 17px; height: 17px; color: rgba(255,255,255,0.70); }

.footer-col-title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.65; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  margin-bottom: 20px;
}
.footer-cta-btn:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.35);
}

.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* =====================================================
   LOCALIZAÇÃO
===================================================== */
#localizacao {
  background: var(--white);
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 7;
}

.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.localizacao-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.localizacao-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.localizacao-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.localizacao-icon svg { width: 20px; height: 20px; }
.localizacao-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 3px;
}
.localizacao-value {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.55;
}

.localizacao-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-card);
}
.localizacao-map iframe {
  width: 100%; height: 100%;
  display: block;
}

/* =====================================================
   FAQ
===================================================== */
#faq {
  background: #f0ebf9;
  padding: var(--section-v) 0;
  border-radius: 40px 40px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 8;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-intro { position: sticky; top: 100px; }

.faq-intro .label { margin-bottom: 12px; }
.faq-intro-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.faq-intro-title strong { font-weight: 800; }
.faq-intro-sub {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid rgba(91,46,143,0.12);
}
.faq-item:first-child { border-top: 1px solid rgba(91,46,143,0.12); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--purple); }

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

.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 50%;
  transition: background 0.2s, transform 0.3s ease;
}
.faq-question.open .faq-icon {
  background: var(--purple);
  transform: rotate(45deg);
}
.faq-icon svg { width: 12px; height: 12px; }
.faq-icon svg path { stroke: var(--gray-600); transition: stroke 0.2s; }
.faq-question.open .faq-icon svg path { stroke: white; }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }

.faq-answer p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =====================================================
   UTILITY
===================================================== */
.text-center { text-align: center; }
.mt-8   { margin-top: 8px; }
.mt-14  { margin-top: 14px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }

/* Narrow sub used in section headers */
.section-sub--narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.section-title--md   { font-size: clamp(22px, 3vw, 32px); }

/* GSAP initial states are set exclusively via JS gsap.set() — no CSS opacity:0 here */

/* =====================================================
   RESPONSIVE – TABLET (≤ 992px)
===================================================== */
@media (max-width: 992px) {
  :root { --section-v: 72px; --pad-h: 24px; }

  .hero-container { flex-direction: column; text-align: center; gap: 32px; min-height: unset; padding-top: 32px; padding-bottom: 32px; }
  .hero-text { width: 100%; max-width: 100%; align-items: center; text-align: center; }
  .hero-image-block { width: 100%; justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-title  { font-size: clamp(32px, 7vw, 46px); }
  .hero-sub    { font-size: 16px; }

  .services-outer { padding: 32px 20px; width: 100%; border-radius: 0; border-left: none; border-right: none; }
  .services-row { flex-direction: column; gap: 24px; }
  .services-left-panel { position: relative; top: auto; }
  .services-timeline-track { display: none; }
  .service-sticky-card { position: relative; top: auto; }
  .before-after-grid  { grid-template-columns: 1fr; }
  .profissionais-grid { grid-template-columns: repeat(2, 1fr); }

  /* Programas: stacked on tablet */
  .programas-body { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .programas-media-frame { aspect-ratio: 16/9; order: -1; }
  .programas-text-frame { min-height: auto; }
  .prog-step { position: static; opacity: 1; pointer-events: auto; transform: none; display: none; }
  .prog-step--active { display: flex; }
  .prog-dots { position: static; transform: none; margin-top: 24px; justify-content: center; }

  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-photo-mosaic { order: -1; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .depoimentos-grid  { grid-template-columns: 1fr; }

  .counter-grid { grid-template-columns: 1fr; gap: 24px; }
  .counter-item::after { display: none; }

  .instagram-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .localizacao-grid { grid-template-columns: 1fr; gap: 40px; }
  .localizacao-map { height: 320px; }

  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .diferenciais-box { padding: 48px 32px; border-radius: 24px; }
  .cta-box { border-radius: 28px; }
}

/* =====================================================
   RESPONSIVE – MOBILE (≤ 640px)
===================================================== */
@media (max-width: 640px) {
  :root { --section-v: 56px; --pad-h: 18px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  #hero { padding-top: 72px; }
  .hero-container { flex-direction: column; padding: 0 16px 32px; gap: 24px; min-height: unset; }
  .hero-text { width: 100%; align-items: center; text-align: center; }
  .hero-image-block { width: 100%; justify-content: center; }
  .hero-image-block img { max-width: 320px; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-image-block { order: -1; }
  .services-outer { padding: 24px 16px; }
  .service-cards-list { gap: 24px; }
  .service-sticky-card { position: relative; top: auto; }

  /* Programas: hide stage, show carousel on mobile */
  .programas-stage { display: none; }
  .programas-carousel { display: flex; }
  .prog-carousel-controls { display: flex; }
  /* Slide vira coluna no mobile */
  .prog-slide { grid-template-columns: 1fr; min-height: unset; }
  .prog-slide-img { aspect-ratio: 16/9; }
  .prog-slide-body { padding: 24px 20px; gap: 12px; }
  .prog-slide-num { font-size: 48px; }
  .programas-carousel { padding: 0 16px 8px; }

  .sobre-photo-mosaic { grid-template-columns: repeat(2, 1fr); }
  .profissionais-grid { grid-template-columns: 1fr; }
  .instagram-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom      { flex-direction: column; gap: 8px; text-align: center; }

  .before-after { padding: 28px 20px; }
  .before-after-grid { grid-template-columns: 1fr; }

  .faq-question { font-size: 15px; }
  .cta-box { padding: 48px 24px; border-radius: 24px; }
  .diferenciais-box { padding: 40px 20px; border-radius: 20px; }
}
