/* ============================================================
   SUNSHINE PSICOLOGIA — style.css
   Versão: 1.0
   Desenvolvido por Digital Bloom (digitalbloom.com.br)
   ============================================================

   ÍNDICE:
   1.  Variáveis & Root
   2.  Reset & Base
   3.  Tipografia
   4.  Layout — Container & Grid
   5.  Componentes — Botões
   6.  Componentes — Tags & Badges
   7.  Animações & Reveal
   8.  Header
   9.  Menu Mobile
   10. Hero
   11. Sobre
   12. Profissionais
   13. Como Funciona
   14. Diferenciais
   15. CTA WhatsApp
   16. Formulário de Contato
   17. Footer
   18. WhatsApp Float
   19. Utilitários
   20. Responsivo — Tablet (max 1024px)
   21. Responsivo — Mobile (max 768px)
   22. Responsivo — Small (max 480px)
   ============================================================ */


/* ============================================================
   1. VARIÁVEIS & ROOT
   ============================================================ */
:root {
  /* Cores primárias */
  --primary:        #01cffe;
  --primary-dark:   #00aad6;
  --primary-light:  #33d8ff;
  --primary-xlight: #e0f9ff;

  /* Cor secundária (amarelo) */
  --secondary:      #f7c706;
  --secondary-dark: #c8a000;

  /* Fundo */
  --bg:         #FAFCFF;
  --bg-alt:     #F0F8FF;
  --bg-card:    #FFFFFF;

  /* Texto */
  --dark:        #1A2B3C;
  --text:        #2C3A4A;
  --text-muted:  #6B7A8A;
  --text-light:  #9AAABB;

  /* Borda */
  --border:       #D0E8EE;
  --border-light: #E5F5FA;

  /* Sombras */
  --shadow-xs: 0 1px 4px rgba(44, 58, 74, 0.06);
  --shadow-sm: 0 2px 12px rgba(44, 58, 74, 0.08);
  --shadow-md: 0 8px 32px rgba(44, 58, 74, 0.12);
  --shadow-lg: 0 20px 60px rgba(44, 58, 74, 0.15);

  /* Tipografia */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Escala tipográfica */
  --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 */

  /* Espaçamentos de seção */
  --section-py:  100px;
  --section-py-sm: 64px;

  /* Raio de borda */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transições */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Header */
  --header-h: 80px;
}


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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Compensar header fixo nos âncoras */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* Seleção de texto */
::selection {
  background-color: var(--primary-xlight);
  color: var(--dark);
}


/* ============================================================
   3. TIPOGRAFIA
   ============================================================ */

/* Headings — Cormorant Garamond */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(2rem, 3.5vw, var(--text-5xl)); }
h3 { font-size: clamp(1.375rem, 2vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p {
  line-height: 1.8;
  color: var(--text);
}

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

/* Sublinhado refinado em links de texto */
.text-link {
  color: var(--primary);
  border-bottom: 1px solid var(--primary-xlight);
  transition: border-color var(--transition);
}
.text-link:hover {
  border-color: var(--primary);
}


/* ============================================================
   4. LAYOUT — CONTAINER & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

/* Cabeçalho padrão das seções */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-top: 12px;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: var(--text-lg);
}


/* ============================================================
   5. COMPONENTES — BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Btn Primary */
.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 207, 254, 0.35);
}

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

/* Btn Outline */
.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Btn White (para fundo escuro) */
.btn-white {
  background-color: #fff;
  color: var(--dark);
  border-color: #fff;
}

.btn-white:hover {
  background-color: var(--bg-alt);
  border-color: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* Btn Outline White */
.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Modificadores de tamanho */
.btn-sm {
  padding: 12px 22px;
  font-size: var(--text-xs);
}

.btn-full {
  width: 100%;
}


/* ============================================================
   6. COMPONENTES — TAGS & BADGES
   ============================================================ */

/* Section Tag — label de seção */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a5c00;
  background-color: rgba(247, 199, 6, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(247, 199, 6, 0.35);
}

.section-tag--light {
  background-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

/* CRP Badge */
.crp-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--bg-alt);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  margin-top: 6px;
}


/* ============================================================
   7. ANIMAÇÕES & REVEAL
   ============================================================ */

/* Fade-in ao entrar na viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Delay escalonado para filhos */
.reveal:nth-child(1) { transition-delay: 0.0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* Hero reveal sem delay para não atrasar LCP */
.hero .reveal {
  transition-delay: 0s !important;
}

/* Preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   8. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

/* Header ao rolar */
.header.scrolled {
  background-color: rgba(250, 252, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}

/* Logo baseada em imagem */
.logo-img {
  height: 72px;
  width: auto;
  display: block;
  max-width: 260px;
  object-fit: contain;
}

/* Logo no footer — torna branca (funciona se o logo for escuro) */
.logo-img--footer {
  filter: brightness(0) invert(1);
  height: 68px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navegação desktop */
.nav-desktop .nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Ações do header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Toggle menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition);
}

.menu-toggle:hover {
  background-color: var(--primary-xlight);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

/* Estado aberto do toggle */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   9. MENU MOBILE
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mobile-menu.open {
  pointer-events: all;
}

/* Overlay escuro */
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 43, 60, 0);
  transition: background-color 0.35s ease;
  cursor: pointer;
}

.mobile-menu.open .mobile-menu-overlay {
  background-color: rgba(26, 43, 60, 0.55);
}

/* Painel lateral */
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

/* Header do painel */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  background-color: var(--primary-xlight);
  color: var(--primary);
}

/* Links do menu mobile */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* Footer do painel */
.mobile-menu-footer {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: 24px;
}

.mobile-contact-hint {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.mobile-contact-hint a {
  color: var(--primary);
  font-weight: 500;
}


/* ============================================================
   10. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(155deg, #FAFCFF 0%, #E8F7FF 55%, #D0EFFF 100%);
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Padrão de pontos decorativo no fundo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Conteúdo textual */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-top: 8px;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* Selos de confiança */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Visual — foto hero */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Onda de transição */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}


/* ============================================================
   11. SOBRE
   ============================================================ */
.sobre {
  padding: var(--section-py) 0;
  background-color: var(--bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 0;
}

/* Foto da seção Sobre */
.sobre-img {
  width: 100%;
  border-radius: var(--radius-md);
  height: 500px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  box-shadow: var(--shadow-sm);
}

/* Coluna esquerda — Título */
.sobre-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-top: 12px;
}

.sobre-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, #f7c706, #01cffe);
  margin-top: 20px;
  border-radius: 2px;
}

/* Tag e divider dentro da coluna de texto */
.sobre-body .section-tag {
  margin-bottom: 0;
}

.sobre-body .sobre-divider {
  margin-top: 24px;
  margin-bottom: 28px;
}

/* Coluna direita — Texto */
.sobre-body p {
  margin-bottom: 20px;
  font-size: var(--text-lg);
  color: var(--text);
}

.sobre-body p:last-of-type {
  margin-bottom: 28px;
}

/* Blockquote de destaque */
.sobre-quote {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 400;
  color: var(--dark);
  padding: 24px 28px;
  border-left: 3px solid var(--primary);
  background-color: var(--primary-xlight);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0 32px;
  line-height: 1.5;
}

/* Cards de valores */
.sobre-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 10px;
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   12. PROFISSIONAIS
   ============================================================ */
.profissionais {
  padding: var(--section-py) 0;
}

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

/* Card do profissional */
.professional-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.professional-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

/* Foto */
.professional-photo-wrapper {
  position: relative;
  padding: 48px 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.professional-photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  box-shadow: 0 0 0 13px var(--bg-card), 0 0 0 15px var(--primary-xlight);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  flex-shrink: 0;
  /* Initials fallback via pseudo-element */
}

.professional-photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--primary);
  z-index: 0;
  /* Truque: usar display flex não funciona em ::before, então usamos text-align */
  text-align: center;
  line-height: 160px;
}

.professional-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  transition: opacity var(--transition);
}

/* Anel decorativo ao redor da foto — via box-shadow para centralização perfeita em qualquer tela */

/* Badge de abordagem */
.professional-approach-badge {
  position: absolute;
  bottom: -12px;
  right: calc(50% - 100px);
  background-color: var(--primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Informações */
.professional-info {
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.professional-header {
  margin-bottom: 14px;
}

.professional-header h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.professional-approach-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
}

.professional-bio {
  flex: 1;
  margin-bottom: 28px;
}

.professional-bio p {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.professional-bio p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   13. COMO FUNCIONA
   ============================================================ */
.como-funciona {
  padding: var(--section-py) 0;
  background-color: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* Card de cada etapa */
.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.step-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

/* Número da etapa */
.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(247, 199, 6, 0.35);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Conector entre etapas */
.steps-grid .step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 52px;
  right: -13px;
  width: 26px;
  height: 1px;
  background-color: var(--border);
  z-index: 1;
}

/* Bloco de informações adicionais */
.como-funciona-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
}

.info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--dark);
  margin-bottom: 8px;
}

.info-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   14. DIFERENCIAIS
   ============================================================ */
.diferenciais {
  padding: var(--section-py) 0;
}

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

.diferencial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.diferencial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f7c706, #01cffe);
  opacity: 0;
  transition: opacity var(--transition);
}

.diferencial-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.diferencial-card:hover::before {
  opacity: 1;
}

.diferencial-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--primary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
  transition: background-color var(--transition);
}

.diferencial-card:hover .diferencial-icon {
  background-color: var(--primary);
  color: #fff;
}

.diferencial-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 12px;
}

.diferencial-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
}

/* Linha de baixo dos dois últimos cards para ficarem centralizados na linha */
.diferenciais-grid .diferencial-card:nth-child(4) {
  grid-column: 1;
}
.diferenciais-grid .diferencial-card:nth-child(5) {
  grid-column: 2;
}


/* ============================================================
   15. CTA WHATSAPP
   ============================================================ */
.cta-whatsapp {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--dark) 0%, #2A3F55 100%);
  position: relative;
  overflow: hidden;
}

/* Decoração de fundo */
.cta-whatsapp::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 147, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-whatsapp::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 147, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-top: 12px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-decoration {
  display: none;
}


/* ============================================================
   16. FORMULÁRIO DE CONTATO
   ============================================================ */
.contato {
  padding: var(--section-py) 0;
  background-color: var(--bg);
}

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

/* Lado esquerdo — informações */
.contato-info h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-top: 12px;
  margin-bottom: 16px;
}

.contato-info > p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* Lista de contato */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-list li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-list strong {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-list a,
.contact-list span {
  font-size: var(--text-base);
  color: var(--text);
  transition: color var(--transition);
}

.contact-list a:hover {
  color: var(--primary);
}

/* Formulário */
.contato-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.contato-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.required {
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background-color: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  resize: none;
  line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 147, 106, 0.12);
  background-color: var(--bg-card);
}

/* Estado de erro */
.form-group input.error,
.form-group textarea.error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-error {
  font-size: var(--text-xs);
  color: #E53E3E;
  font-weight: 500;
  min-height: 16px;
}

/* Disclaimer do formulário */
.form-disclaimer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 10px;
}

/* Estado de loading do botão */
.btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline;
}

.btn.loading .btn-icon-whatsapp {
  display: none;
}


/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-top: 72px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo--footer .logo-name,
.logo--footer .logo-subtitle {
  color: #fff;
}

.logo--footer .logo-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* Navegação */
.footer-nav-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-contact a,
.footer-contact li {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  line-height: 1.4;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--primary-light);
}

/* Barra inferior */
.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(1, 207, 254, 0.75);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}


/* ============================================================
   18. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

/* Pulso ao redor */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.25);
  animation: whatsappPulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0%    { transform: scale(0.9); opacity: 0.7; }
  70%   { transform: scale(1.3); opacity: 0; }
  100%  { transform: scale(1.3); opacity: 0; }
}

/* Tooltip */
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--dark);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}


/* ============================================================
   19. UTILITÁRIOS
   ============================================================ */

/* Ocultar visualmente mas manter acessível */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bloquear scroll quando menu mobile aberto */
body.menu-open {
  overflow: hidden;
}


/* ============================================================
   20. RESPONSIVO — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  :root {
    --section-py: 80px;
  }

  .container {
    padding: 0 32px;
  }

  /* Header */
  .nav-desktop,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    order: 2;
  }

  .hero-subtitle {
    max-width: 600px;
  }

  .hero-visual {
    order: 1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* Sobre */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 0;
  }

  .sobre-img {
    height: 380px;
    aspect-ratio: unset;
  }

  /* Profissionais */
  .professionals-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

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

  .steps-grid .step-card::after {
    display: none;
  }

  .como-funciona-info {
    grid-template-columns: 1fr;
  }

  /* Diferenciais — tablet: 2 colunas, reset grid-column explícita */
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais-grid .diferencial-card:nth-child(1),
  .diferenciais-grid .diferencial-card:nth-child(2),
  .diferenciais-grid .diferencial-card:nth-child(3),
  .diferenciais-grid .diferencial-card:nth-child(4),
  .diferenciais-grid .diferencial-card:nth-child(5) {
    grid-column: auto;
  }

  /* Contato */
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contato-info {
    text-align: center;
  }

  .contact-list {
    align-items: flex-start;
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-list li {
    justify-content: flex-start;
    text-align: left;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-tagline {
    flex: 1;
    min-width: 200px;
  }
}


/* ============================================================
   21. RESPONSIVO — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --section-py: var(--section-py-sm);
    --header-h: 68px;
  }

  .container {
    padding: 0 20px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  /* Section header */
  .section-header {
    margin-bottom: 44px;
  }

  /* Hero */
  .hero-container {
    gap: 36px;
    padding-top: 28px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  /* Hero imagem mobile — proporção retrato para mostrar o rosto */
  .hero-image {
    aspect-ratio: 3 / 4;
    object-position: center top;
  }

  /* Diferenciais — mobile: 1 coluna */
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  /* Profissionais */
  .professional-info {
    padding: 28px 28px 32px;
  }

  .professional-photo-wrapper {
    padding: 36px 36px 0;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    text-align: center;
    justify-content: center;
  }

  /* Formulário */
  .contato-form-wrapper {
    padding: 32px 24px;
  }

  .contato-form {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* WhatsApp Float */
  .whatsapp-float {
    bottom: 24px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}


/* ============================================================
   22. RESPONSIVO — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {

  .hero-title {
    font-size: 2.25rem;
  }

  /* Foto do hero em tela muito pequena — mantém proporção retrato */
  .hero-image {
    aspect-ratio: 3 / 4;
    object-position: center top;
  }

  .professional-photo {
    width: 130px;
    height: 130px;
    box-shadow: 0 0 0 11px var(--bg-card), 0 0 0 13px var(--primary-xlight);
  }

  .contato-form-wrapper {
    padding: 24px 16px;
  }

  .como-funciona-info {
    padding: 28px 24px;
  }
}
