/* 
   CSS COMPLETO - LANDING PAGE DR. JOHNNY RAMOS
   Medicina do Estilo de Vida
    */

/* 
   1. CSS VARIABLES (DESIGN TOKENS)
    */
:root {
  /* Cores */
  --primary-color: #032042; /* Azul Marinho */
  --secondary-color: #F7B173; /* Dourado/Pêssego */
  --base-color: #FFFFFF; /* Branco */
  --light-blue: #E8F4F8; /* Azul Claro Suave */
  --dark-gold: #E89A4D; /* Dourado Escuro */
  --graphite-gray: #4A5568; /* Cinza Grafite */
  --light-gray: #F7FAFC; /* Cinza Muito Claro */
  --whatsapp-green: #25D366; /* Verde WhatsApp */
  
  /* Tipografia */
  --headline-font: 'Poppins', sans-serif;
  --body-font: 'Inter', sans-serif;
  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;
  
  /* Layout */
  --container-max-width: 1200px;
  --section-spacing-desktop: 100px;
  --section-spacing-tablet: 70px;
  --section-spacing-mobile: 50px;
  --border-radius: 12px;
  --border-radius-small: 8px;
  
  /* Sombras */
  --shadow-small: 0 4px 15px rgba(247, 177, 115, 0.4);
  --shadow-card: 0 4px 20px rgba(3, 32, 66, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(3, 32, 66, 0.15);
  --shadow-large: 0 12px 40px rgba(3, 32, 66, 0.2);
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease-out;
}

/* 
   2. RESET E BASE STYLES
    */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  font-weight: var(--font-weight-regular);
  line-height: 1.7;
  color: var(--primary-color);
  background-color: var(--base-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul, ol {
  list-style-position: inside;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 
   3. TIPOGRAFIA GLOBAL
    */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--headline-font);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Mobile */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { font-size: 1rem; line-height: 1.7; }
small { font-size: 0.875rem; }

/* Tablet */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.875rem; }
  h4 { font-size: 1.5rem; }
  p { font-size: 1.125rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.75rem; }
  p { font-size: 1.125rem; }
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.subsection-title {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.subtitle {
  text-align: center;
  color: var(--graphite-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* 
   4. LAYOUT GLOBAL
    */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 30px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

section {
  padding: var(--section-spacing-mobile) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--section-spacing-tablet) 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: var(--section-spacing-desktop) 0;
  }
}

/* Backgrounds alternados */
.hero,
.solution,
.social-proof,
.agendamento-section {
  background-color: var(--light-gray);
}

.final-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #021830 100%);
  color: var(--base-color);
}

/* 
   5. INDICADOR DE PROGRESSO
    */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* 
   6. HEADER / NAVEGAÇÃO
    */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 45px;
  width: auto;
}

@media (min-width: 768px) {
  .logo {
    height: 60px;
  }
}

/* Navegação Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--secondary-color);
}

.btn-header {
  display: none;
}

@media (min-width: 1024px) {
  .btn-header {
    display: inline-block;
  }
}

/* Menu Hambúrguer (Mobile) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px; /* Aumenta área clicável */
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Mobile */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--base-color);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-mobile.active {
  right: 0;
}

.nav-menu-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-link-mobile {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.btn-mobile-menu {
  margin-top: 2rem;
  width: 100%;
}

/* Overlay do menu mobile */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* 
   7. BOTÕES
    */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: var(--border-radius-small);
  font-family: var(--headline-font);
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
  min-width: 150px; /* Garante tamanho mínimo */
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-small);
}

.btn-primary:hover {
  background-color: var(--dark-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 177, 115, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--base-color);
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .btn {
    width: 100%;
    padding: 14px 30px;
  }
}

/* 
   8. HERO SECTION
    */
.hero {
  background: linear-gradient(180deg, var(--light-blue) 0%, var(--base-color) 100%);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 60% 40%;
  }
}

.hero-title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--graphite-gray);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--light-blue);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
}

.badge-icon {
  font-size: 1.25rem;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .hero-image img {
    max-width: 100%;
  }
}

/* 
   9. PROBLEM SECTION
    */
.problem {
  background-color: var(--base-color);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem-card {
  background-color: var(--base-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--secondary-color);
  transition: var(--transition-normal);
}

.problem-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.problem-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-text {
  color: var(--graphite-gray);
  margin-bottom: 1rem;
}

.problem-consequence {
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

.problem-transition {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--light-blue);
  border-radius: var(--border-radius);
}

/* 
   10. SOLUTION SECTION (6 PILARES)
    */
.solution {
  background-color: var(--light-gray);
}

.solution-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.subsection-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--graphite-gray);
}

.pilares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .pilares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pilares-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pilar-card {
  background-color: var(--base-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition-normal);
}

.pilar-card:hover {
  box-shadow: var(--shadow-card-hover);
  border: 2px solid var(--secondary-color);
  transform: translateY(-5px);
}

.pilar-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  transition: var(--transition-normal);
}

.pilar-card:hover .pilar-icon {
  transform: scale(1.1);
}

.pilar-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pilar-text {
  color: var(--graphite-gray);
  font-size: 1rem;
}

.solution-why {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2rem;
  background-color: var(--base-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.solution-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.solution-list li {
  margin-bottom: 1rem;
  color: var(--graphite-gray);
}

.solution-difference {
  margin-top: 1.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-color);
}

.solution-promise {
  text-align: center;
  margin-top: 3rem;
}

.promise-text {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

/* 
   11. HOW IT WORKS
    */
.how-it-works {
  background-color: var(--base-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-small);
}

.step-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.step-text {
  color: var(--graphite-gray);
  margin-bottom: 1rem;
}

.step-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.step-list li {
  margin-bottom: 0.75rem;
  color: var(--graphite-gray);
}

.step-result {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--light-blue);
  border-radius: var(--border-radius-small);
  font-weight: var(--font-weight-medium);
  color: var(--primary-color);
}

.how-it-works-differential {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--light-blue);
  border-radius: var(--border-radius);
}

.differential-text {
  font-size: 1.125rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

/* 
   12. VALUE STACK
    */
.value-stack {
  background-color: var(--base-color);
}

.value-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--graphite-gray);
}

.value-items {
  max-width: 900px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

.value-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.value-content {
  flex: 1;
}

.value-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-text {
  color: var(--graphite-gray);
  margin-bottom: 0.75rem;
}

.value-why {
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  font-size: 0.95rem;
}

.badge-incluso {
  display: inline-block;
  background-color: #A8E6CF;
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.value-investment {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: var(--light-blue);
  border-radius: var(--border-radius);
  text-align: center;
}

.investment-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.investment-price {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.investment-includes {
  color: var(--graphite-gray);
  margin-bottom: 2rem;
}

.payment-methods {
  margin-top: 2rem;
}

.payment-title {
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.payment-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0;
}

@media (min-width: 768px) {
  .payment-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-list li {
  padding: 0.5rem;
  background-color: var(--base-color);
  border-radius: var(--border-radius-small);
}

.value-note {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #FFF3CD;
  border-left: 4px solid var(--secondary-color);
  border-radius: var(--border-radius-small);
  color: var(--primary-color);
}

.value-cta {
  text-align: center;
  margin-top: 3rem;
}

/* 
   13. FACILIDADES DE PAGAMENTO
    */
.payment-facilities {
  background-color: var(--light-gray);
}

.facilities-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--graphite-gray);
}

.facilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .facilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.facility-card {
  background-color: var(--base-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition-normal);
}

.facility-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.facility-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.facility-title {
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.facility-text {
  color: var(--graphite-gray);
  font-size: 0.95rem;
}

.facilities-message {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.125rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

/* 
   14. ABOUT SECTION
    */
.about {
  background-color: var(--base-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 40% 60%;
  }
}

.about-visual {
  text-align: center;
}

.about-photo {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.about-logo {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.about-content {
  max-width: 700px;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--graphite-gray);
}

.about-why,
.about-mission,
.about-credentials {
  margin-top: 2rem;
}

.about-list,
.credentials-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.about-list li,
.credentials-list li {
  margin-bottom: 0.75rem;
  color: var(--graphite-gray);
}

/* 
   15. SOCIAL PROOF
    */
.social-proof {
  background-color: var(--light-gray);
}

.social-proof-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--graphite-gray);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.result-card {
  background-color: var(--base-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--secondary-color);
}

.result-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.result-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.result-stat {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.result-source {
  font-size: 0.875rem;
  color: var(--graphite-gray);
  font-style: italic;
  margin-bottom: 1rem;
}

.result-meaning {
  color: var(--graphite-gray);
}

.testimonial-placeholder {
  max-width: 800px;
  margin: 3rem auto 0;
}

.testimonial-card {
  background-color: var(--base-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--light-blue);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--graphite-gray);
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 3rem;
}

.testimonial-author {
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  padding-left: 3rem;
}

.testimonial-note {
  font-size: 0.875rem;
  color: var(--graphite-gray);
  padding-left: 3rem;
  margin-top: 0.5rem;
}

.social-proof-cta {
  text-align: center;
  margin-top: 3rem;
}

/* 
   16. FAQ
    */
.faq {
  background-color: var(--base-color);
}

.faq-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-normal);
}

.faq-question:hover {
  background-color: var(--light-blue);
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  flex: 1;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: var(--font-weight-bold);
  transition: var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer[hidden] {
  display: block;
}

.faq-answer p,
.faq-answer ul {
  padding: 0 1.5rem 1.5rem;
  color: var(--graphite-gray);
}

.faq-answer ul {
  margin-top: 0.5rem;
  padding-left: 3rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* 
   17. WIDGET DOCTORALIA (AGENDAMENTO)
    */
.agendamento-section {
  background-color: var(--light-blue);
}

.doctoralia-widget {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--base-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

/* 
   18. LOCALIZAÇÃO (MAPA)
    */
.localizacao-section {
  background-color: var(--base-color);
}

.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .localizacao-grid {
    grid-template-columns: 40% 60%;
  }
}

.card-endereco {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.icone-localizacao {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.card-endereco h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.endereco-completo {
  color: var(--graphite-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.detalhes-extras {
  margin-bottom: 2rem;
}

.detalhe {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--graphite-gray);
}

.detalhe .icone {
  font-size: 1.5rem;
}

.btn-direcoes {
  width: 100%;
  display: block;
  text-align: center;
}

.mapa-wrapper iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

/* 
   19. FINAL CTA
    */
.final-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #021830 100%);
  color: var(--base-color);
  text-align: center;
}

.final-cta .section-title {
  color: var(--base-color);
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-offer {
  margin-bottom: 2rem;
}

.final-cta-offer h3 {
  color: var(--base-color);
  margin-bottom: 1.5rem;
}

.final-cta-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.final-cta-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--base-color);
}

.final-cta-price {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.price-detail {
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  color: rgba(255, 255, 255, 0.8);
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.final-cta-security {
  margin-bottom: 2rem;
}

.final-cta-security p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.final-cta-message p {
  font-size: 1.125rem;
  color: var(--base-color);
  margin-bottom: 1rem;
}

/* 
   20. FOOTER
    */
.footer {
  background-color: var(--primary-color);
  color: var(--base-color);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-title {
  color: var(--base-color);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-normal);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-horario {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--base-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-legal,
.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* 
   21. BOTÃO WHATSAPP FLUTUANTE
    */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: var(--primary-color);
  color: var(--base-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.875rem;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.whatsapp-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #00E676;
  color: var(--base-color);
  font-size: 0.625rem;
  font-weight: var(--font-weight-semibold);
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* 
   22. BOTÃO VOLTAR AO TOPO
    */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 998;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--base-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* 
   23. ANIMAÇÕES
    */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover states gerais */
a:hover {
  color: var(--secondary-color);
}

button:focus,
a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Performance: GPU acceleration */
.animate-on-scroll,
.btn,
.pilar-card,
.problem-card,
.facility-card,
.whatsapp-float,
.scroll-to-top {
  will-change: transform, opacity;
}

/* 
   24. RESPONSIVIDADE ADICIONAL
    */
@media (max-width: 767px) {
  /* Mobile adjustments */
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    padding: 14px 30px;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 80px;
    right: 15px;
  }
}

/* 
   25. UTILIDADES
    */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-light {
  background-color: var(--light-gray);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }