/* ============================================
   AMARELO IPÊ — ESPAÇO DE PSICOLOGIA E SAÚDE
   style.css — v1.0
   Digital Bloom
============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

address {
  font-style: normal;
}

/* ============================================
   2. CUSTOM PROPERTIES (DESIGN TOKENS)
============================================ */
:root {
  /* Cores Principais */
  --yellow-50:  #FFFBEB;
  --yellow-100: #FEF3C7;
  --yellow-200: #FDE68A;
  --yellow-300: #FCD34D;
  --yellow-400: #FBBF24;
  --yellow-500: #D4A017;   /* Amarelo Ipê — principal */
  --yellow-600: #B8860B;
  --yellow-700: #92690A;

  --blue-50:  #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-300: #93C5FD;
  --blue-500: #3B82F6;
  --blue-700: #1D4ED8;
  --blue-800: #1E3A5F;   /* Azul Institucional — principal */
  --blue-900: #152B47;

  /* Neutros */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semânticas */
  --brand-yellow: var(--yellow-500);
  --brand-blue:   var(--blue-800);
  --brand-blue-dark: var(--blue-900);

  --text-primary:   var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --text-on-dark:   #FFFFFF;
  --text-on-yellow: var(--blue-900);

  --bg-white:  #FFFFFF;
  --bg-light:  var(--gray-50);
  --bg-medium: var(--gray-100);
  --bg-blue:   var(--blue-800);
  --bg-dark:   var(--gray-900);

  --border-color: var(--gray-200);

  /* WhatsApp */
  --whatsapp-green: #25D366;
  --whatsapp-dark:  #128C7E;

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */
  --text-7xl:  4.5rem;     /* 72px */

  /* Espaçamento */
  --spacing-section: 6rem;
  --spacing-section-sm: 4rem;

  /* Bordas */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,.14);

  /* Transições */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --header-h: 90px;
}

/* ============================================
   3. UTILITÁRIOS GLOBAIS
============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: .75rem;
}

.section-tag--light {
  color: var(--yellow-300);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 500;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-title--light {
  color: var(--text-on-dark);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

.section-desc--light {
  color: rgba(255,255,255,.72);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   4. BOTÕES
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:active {
  transform: scale(.97);
}

/* Tamanhos */
.btn--sm  { padding: .5rem 1.25rem;  font-size: var(--text-sm);  }
.btn--md  { padding: .75rem 1.75rem; font-size: var(--text-base); }
.btn--lg  { padding: .875rem 2rem;   font-size: var(--text-base); }
.btn--xl  { padding: 1.1rem 2.5rem;  font-size: var(--text-lg);  }
.btn--full { width: 100%; }

/* WhatsApp */
.btn--whatsapp {
  background: var(--whatsapp-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transform: translateY(-1px);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

/* Outline Azul */
.btn--outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn--outline:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Outline Light (para fundos escuros) */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* ============================================
   5. HEADER
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition-slow),
              box-shadow var(--transition-slow),
              height var(--transition-base);
}

.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--border-color), var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 76px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 80px;
  width: auto;
  transition: height var(--transition-base);
}

.header.scrolled .header__logo-img {
  height: 60px;
}

/* Nav Desktop */
.header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.header__nav-link {
  padding: .5rem .75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.header.scrolled .header__nav-link {
  color: var(--text-secondary);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--brand-yellow);
  background: rgba(212,160,23,.08);
}

.header.scrolled .header__nav-link:hover,
.header.scrolled .header__nav-link.active {
  color: var(--brand-blue);
  background: var(--blue-50);
}

/* Toggle Mobile */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.header__toggle:hover {
  background: rgba(255,255,255,.12);
}

.header.scrolled .header__toggle:hover {
  background: var(--gray-100);
}

.header__toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: all var(--transition-base);
  transform-origin: center;
}

.header.scrolled .header__toggle-bar {
  background: var(--gray-700);
}

.header__toggle.open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__toggle.open .header__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__toggle.open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  z-index: 99;
  border-top: 1px solid var(--border-color);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-menu__link {
  display: block;
  padding: .875rem 1rem;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__link:hover {
  background: var(--blue-50);
  color: var(--brand-blue);
}

.mobile-menu__list > li:last-child {
  margin-top: .5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border-color);
}

/* ============================================
   6. HERO
============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Imagem de fundo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 43, 71, .88) 0%,
    rgba(21, 43, 71, .72) 50%,
    rgba(30, 58, 95, .55) 100%
  );
}

/* Conteúdo */
.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem var(--container-pad) 3rem;
}

.hero__text {
  max-width: 640px;
  animation-delay: .1s;
}

.hero__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow-300);
  border: 1px solid rgba(212,160,23,.4);
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, var(--text-7xl));
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--yellow-300);
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero__br {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Stats bar */
.hero__stats {
  position: relative;
  z-index: 1;
  background: rgba(21,43,71,.85);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: auto;
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero__stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 500;
  color: var(--yellow-300);
  line-height: 1;
  margin-bottom: .3rem;
}

.hero__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================
   7. SOBRE
============================================ */
.sobre {
  padding: var(--spacing-section) 0;
  background: var(--bg-white);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Imagem */
.sobre__img-wrap {
  position: relative;
}

.sobre__img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-100);
}

.sobre__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sobre__img-wrap:hover .sobre__img {
  transform: scale(1.02);
}

.sobre__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.sobre__badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
}

.sobre__badge-text {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .25rem;
  opacity: .75;
}

/* Conteúdo */
.sobre__content {
  padding-right: 1rem;
}

.sobre__text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: var(--text-base);
}

.sobre__list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sobre__list-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.sobre__list-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--blue-50);
  color: var(--brand-blue);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   8. COMO FUNCIONA
============================================ */
.como-funciona {
  padding: var(--spacing-section) 0;
  background: var(--bg-light);
}

.como__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  counter-reset: steps;
}

.como__step {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.como__step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Linha conectora entre steps */
.como__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -1.5rem;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color), var(--yellow-300));
}

.como__step-number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: .75rem;
}

.como__step-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  color: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.como__step-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .625rem;
}

.como__step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

.como__cta {
  text-align: center;
}

/* ============================================
   9. ESPECIALIDADES
============================================ */
.especialidades {
  padding: var(--spacing-section) 0;
  background: var(--bg-white);
}

.especialidades__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.esp__card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  cursor: default;
}

.esp__card:hover {
  background: var(--bg-white);
  border-color: var(--brand-yellow);
  box-shadow: 0 4px 24px rgba(212,160,23,.12);
  transform: translateY(-3px);
}

.esp__icon {
  width: 48px;
  height: 48px;
  background: #fff8e1;
  color: #fcd34d;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--transition-base), color var(--transition-base);
}

.esp__card:hover .esp__icon {
  background: #fff3cd;
  color: #fcd34d;
}

.esp__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

.esp__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   10. CTA INTERMEDIÁRIA
============================================ */
.cta-mid {
  padding: 5rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-mid__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-md);
}

.cta-mid__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.cta-mid__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.65;
}

/* ============================================
   11. DIFERENCIAIS
============================================ */
.diferenciais {
  padding: var(--spacing-section) 0;
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}

/* Elemento decorativo de fundo */
.diferenciais::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212,160,23,.06);
  pointer-events: none;
}

.diferenciais::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(212,160,23,.04);
  pointer-events: none;
}

.dif__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.dif__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.dif__card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(212,160,23,.4);
  transform: translateY(-4px);
}

.dif__card--featured {
  background: rgba(212,160,23,.12);
  border-color: rgba(212,160,23,.3);
}

.dif__card--featured:hover {
  background: rgba(212,160,23,.18);
  border-color: var(--brand-yellow);
}

.dif__card-icon {
  width: 56px;
  height: 56px;
  background: rgba(212,160,23,.15);
  color: var(--yellow-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dif__card-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: .875rem;
  line-height: 1.2;
}

.dif__card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.dif__card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow-300);
  border: 1px solid rgba(212,160,23,.3);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

/* ============================================
   12. EQUIPE
============================================ */
.equipe {
  padding: var(--spacing-section) 0;
  background: var(--bg-white);
}

.equipe__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Destaque */
.equipe__destaque {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: box-shadow var(--transition-base);
}

.equipe__destaque:hover {
  box-shadow: var(--shadow-md);
}

.equipe__foto-wrap {
  margin-bottom: 1.75rem;
}

.equipe__foto-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
}

.equipe__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.equipe__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  background: var(--yellow-50);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  margin-bottom: .75rem;
}

.equipe__name {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .25rem;
}

.equipe__role {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--brand-blue);
  margin-bottom: .25rem;
}

.equipe__crp {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.equipe__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

/* Resumo equipe */
.equipe__resumo {
  background: var(--brand-blue);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  height: fit-content;
  align-self: start;
}

.equipe__resumo-icon {
  width: 60px;
  height: 60px;
  background: rgba(212,160,23,.15);
  color: var(--yellow-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.equipe__resumo-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}

.equipe__resumo-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.equipe__areas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.equipe__areas li {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--yellow-200);
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.2);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

/* ============================================
   13. ESTRUTURA
============================================ */
.estrutura {
  padding: var(--spacing-section) 0;
  background: var(--bg-light);
}

.estrutura__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.estrutura__item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.estrutura__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.estrutura__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}

.estrutura__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.estrutura__item:hover .estrutura__img {
  transform: scale(1.04);
}

.estrutura__item-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
  padding: 1.25rem 1.5rem .5rem;
}

.estrutura__item-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 0 1.5rem 1.5rem;
}

/* ============================================
   14. DEPOIMENTOS
============================================ */
.depoimentos {
  padding: var(--spacing-section) 0;
  background: var(--bg-white);
}

.dep__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dep__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.dep__card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: box-shadow var(--transition-base);
}

.dep__card:hover {
  box-shadow: var(--shadow-md);
}

/* Aspas decorativas */
.dep__card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem;
  right: 2rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gray-200);
  line-height: 1;
  pointer-events: none;
}

.dep__stars {
  font-size: var(--text-lg);
  color: #fcd34d;
  margin-bottom: 1rem;
}

.dep__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.dep__footer {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.dep__autor {
  font-weight: 600;
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.dep__local {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================
   15. UNIDADES
============================================ */
.unidades {
  padding: var(--spacing-section) 0;
  background: var(--bg-light);
}

.uni__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.uni__card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.uni__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.uni__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.uni__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  color: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uni__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--blue-50);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

.uni__badge--sp {
  color: var(--yellow-700);
  background: var(--yellow-50);
}

.uni__title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .625rem;
}

.uni__endereco {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Botões das unidades — alinhados na base */
.uni__actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ============================================
   16. CTA FINAL
============================================ */
.cta-final {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(212,160,23,.07);
  pointer-events: none;
}

.cta-final__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-final__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* ============================================
   17. FORMULÁRIO DE CONTATO
============================================ */
.contato {
  padding: var(--spacing-section) 0;
  background: var(--bg-light);
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contato__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contato__items {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.contato__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.contato__item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--blue-50);
  color: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form */
.contato__form {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

.form__row .form__group {
  margin-bottom: 0;
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

.form__label span {
  color: var(--brand-yellow);
}

.form__input {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form__input:focus {
  border-color: var(--brand-blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}

.form__input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form__textarea {
  resize: vertical;
  min-height: 110px;
}

.form__error {
  display: block;
  font-size: var(--text-xs);
  color: #ef4444;
  margin-top: .375rem;
  min-height: 1em;
}

.form__note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ============================================
   18. FOOTER
============================================ */
.footer {
  background: var(--bg-dark);
  padding: 4rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer__nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer__nav-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer__nav-link:hover {
  color: #fcd34d;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__address p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

.footer__address strong {
  display: block;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}

.footer__address-link {
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  transition: color var(--transition-fast);
}

.footer__address-link:hover {
  color: #fcd34d;
}

/* Bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
}

.footer__dev {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
}

.footer__dev-link {
  color: var(--yellow-300);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer__dev-link:hover {
  color: var(--yellow-200);
}

/* ============================================
   19. WHATSAPP FLUTUANTE
============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: background var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}

/* Tooltip */
.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  padding: .45rem .875rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
  transform: translateY(-50%) translateX(6px);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--gray-900);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================
   20. RESPONSIVIDADE — TABLET (≤ 1024px)
============================================ */
@media (max-width: 1024px) {
  :root {
    --spacing-section: 5rem;
  }

  .especialidades__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .como__step::after {
    display: none;
  }

  /* Depoimentos: 2 colunas no tablet */
  .dep__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Unidades: stack 2+1 no tablet */
  .uni__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   21. RESPONSIVIDADE — MOBILE (≤ 768px)
============================================ */
@media (max-width: 768px) {
  :root {
    --spacing-section: 4rem;
    --container-pad: 1.25rem;
    --header-h: 76px;
  }

  /* Header */
  .header__nav,
  .header__logo + .btn {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Logo mobile um pouco menor */
  .header__logo-img {
    height: 56px;
  }

  .header.scrolled .header__logo-img {
    height: 48px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero__br {
    display: initial;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sobre */
  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sobre__content {
    padding-right: 0;
  }

  .sobre__badge {
    right: 0;
    bottom: -1rem;
  }

  /* Como Funciona */
  .como__steps {
    grid-template-columns: 1fr;
  }

  /* Especialidades */
  .especialidades__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA Mid */
  .cta-mid__inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .cta-mid__inner .btn {
    width: 100%;
  }

  /* Diferenciais */
  .dif__grid {
    grid-template-columns: 1fr;
  }

  /* Equipe */
  .equipe__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Depoimentos — 1 coluna no mobile */
  .dep__grid,
  .dep__grid--3 {
    grid-template-columns: 1fr;
  }

  /* Unidades */
  .uni__grid {
    grid-template-columns: 1fr;
  }

  .uni__actions {
    flex-direction: column;
  }

  .uni__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Contato */
  .contato__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contato__form {
    padding: 1.75rem;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }
}

/* ============================================
   22. RESPONSIVIDADE — SMALL (≤ 480px)
============================================ */
@media (max-width: 480px) {
  :root {
    --spacing-section: 3.5rem;
  }

  .especialidades__grid {
    grid-template-columns: 1fr;
  }


  .btn--xl {
    padding: 1rem 1.75rem;
    font-size: var(--text-base);
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .dep__card {
    padding: 1.75rem 1.5rem;
  }

  .dep__card::before {
    font-size: 4rem;
  }
}

/* ============================================
   23. ACESSIBILIDADE — FOCUS VISIBLE
============================================ */
:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .75rem 1.5rem;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   24. PRINT
============================================ */
@media print {
  .header,
  .whatsapp-float,
  .btn--whatsapp,
  .mobile-menu { display: none !important; }

  body { font-size: 12pt; }
  h1, h2, h3 { page-break-after: avoid; }
}
