/* ====================================================================
   LANDING PAGE: AVALIAÇÃO NEUROPSICOLÓGICA - DRA. GISELE CARNIEL
   DESIGN SYSTEM & CLEAN HIGH-CONVERTING STYLES
   ==================================================================== */

:root {
  --primary: #475a42;
  --primary-hover: #374633;
  --primary-light: #f1f5ef;
  --primary-glow: rgba(71, 90, 66, 0.12);
  
  --accent: #c48b52;
  --accent-hover: #ad7842;
  --accent-light: #fbf5ee;
  
  --whatsapp: #25d366;
  --whatsapp-hover: #1fb956;
  --whatsapp-glow: rgba(37, 211, 102, 0.25);
  
  --bg-main: #fcfbf8;
  --bg-card: #ffffff;
  --bg-subtle: #f5f3ed;
  --bg-dark: #222920;
  
  --text-main: #242922;
  --text-muted: #5e645a;
  --text-light: #8b9287;
  
  --border: #e8e5dc;
  --border-light: #f0ece3;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(36, 41, 34, 0.04);
  --shadow-md: 0 8px 24px rgba(36, 41, 34, 0.06);
  --shadow-lg: 0 16px 40px rgba(36, 41, 34, 0.09);
  --shadow-hover: 0 20px 48px rgba(71, 90, 66, 0.14);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- LAYOUT UTILS --- */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

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

/* --- BADGES & TAGS --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid rgba(71, 90, 66, 0.15);
  margin-bottom: 1.25rem;
}

.badge-gold {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: rgba(196, 139, 82, 0.25);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.btn-cta {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--whatsapp-glow);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.btn-cta i {
  font-size: 1.35rem;
}

.btn-cta-lg {
  padding: 1.25rem 2.4rem;
  font-size: 1.15rem;
}

.pulse-animation {
  animation: pulseButton 2.4s infinite ease-in-out;
}

@keyframes pulseButton {
  0%, 100% {
    box-shadow: 0 6px 20px var(--whatsapp-glow);
  }
  50% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    transform: scale(1.02);
  }
}

/* Micro-Trust below CTA */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-item i {
  color: var(--primary);
  font-size: 0.95rem;
}

/* --- HEADER / NAVBAR --- */
.header-minimal {
  padding: 1.1rem 0;
  background-color: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background-color: var(--primary-light);
}

@media (max-width: 960px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.88rem;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(252, 251, 248, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 32px;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding: 3.5rem 0 4rem;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(196, 139, 82, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 10% 60%, rgba(71, 90, 66, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1.18;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-content h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-content p.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, var(--bg-subtle));
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-image-card img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
}

.floating-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border);
  max-width: 260px;
}

.floating-badge i {
  font-size: 1.8rem;
  color: var(--primary);
}

.floating-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.floating-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-cta-box {
    align-items: center;
  }
  .floating-badge {
    left: 10px;
    bottom: 10px;
  }
}

/* --- STATS / PILLARS STRIP --- */
.stats-strip {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-serif);
}

.stat-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

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

/* --- PARA QUEM É INDICADA (AUDIENCE CARDS) --- */
.indications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.indication-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.indication-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.indication-card h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 700;
}

.indication-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .indications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .indications-grid {
    grid-template-columns: 1fr;
  }
}

/* --- O QUE AVALIAMOS (FUNCTIONS GRID) --- */
.functions-section {
  background-color: var(--bg-subtle);
}

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

.function-item {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.function-item i {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.function-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.function-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .functions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .functions-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PASSO A PASSO / WORKFLOW --- */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.step-card h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ABOUT SECTION --- */
.about-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.credentials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.75rem 0 2rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.credential-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .credentials-list {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* --- BOX LAUDO & REEMBOLSO --- */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, #2f3e2c 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.highlight-box h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.highlight-box p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.highlight-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-box li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.highlight-box li i {
  color: var(--accent);
}

.highlight-action {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 860px) {
  .highlight-box {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 0.95rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* --- FINAL CTA SECTION --- */
.final-cta {
  background: radial-gradient(circle at center, var(--primary-light) 0%, var(--bg-main) 70%);
  padding: 5rem 0;
  text-align: center;
}

.final-cta-box {
  max-width: 740px;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

/* --- FOOTER --- */
.footer-simple {
  background-color: var(--bg-dark);
  color: #d1d5db;
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-logo {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-disclaimer {
  max-width: 700px;
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.wa-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  z-index: 999;
  transition: var(--transition);
}

.wa-floating:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}
