/* ==========================================================================
   Design System & Variáveis
   ========================================================================== */
:root {
  /* Cores Principais */
  --color-cream: #FAF6F1;
  --color-sand: #EDE5DA;
  --color-warm-beige: #D4C5B5;
  --color-sage: #9CAF8B;
  --color-sage-dark: #7A9168;
  --color-earth: #8B7355;
  --color-earth-dark: #6B5A45;
  --color-charcoal: #3D3D3D;
  --color-soft-gray: #6B6B6B;
  --color-white: #FFFFFF;
  
  /* Cores de Integração */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #128C7E;
  
  /* Tipografia */
  --font-headline: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Caveat', cursive;
  
  /* Sombras */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 30px -5px rgba(0, 0, 0, 0.12), 0 15px 15px -5px rgba(0, 0, 0, 0.06);
  
  /* Transições */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Bordas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ==========================================================================
   Reset & Estilos Globais
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

ul {
  list-style: none;
}

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

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

/* Container Global */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-warm-beige);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-earth);
}

/* Selection */
::selection {
  background-color: var(--color-sage);
  color: var(--color-white);
}

/* Focus Visible */
:focus-visible {
  outline: 2px dashed var(--color-sage-dark);
  outline-offset: 4px;
}

/* ==========================================================================
   Botões Globais
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--color-earth);
  color: var(--color-earth);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-earth);
  color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Header & Navegação
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001; /* Ficar acima do menu mobile */
}

.logo-img {
  height: 200px;
  max-width: 500px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-normal);
}

/* Logo branca no footer (DOBRO DO TAMANHO) */
.logo-img-light {
  filter: brightness(0) invert(1);
  height: 220px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center; /* Alinha o gráfico da logo 100% rente à esquerda */
  display: block;
}

.header.scrolled .logo-img {
  height: 105px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-charcoal);
  position: relative;
  transition: color var(--transition-normal);
  padding: 0.5rem 0;
}

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

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: var(--color-earth);
  transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 10.5rem; /* Espaço proporcional para a logo maior */
  overflow: hidden;
  position: relative;
  background-color: var(--color-cream);
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: blobFloat 10s infinite alternate ease-in-out;
}

.hero-shape-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-sage) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-shape-2 {
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-warm-beige) 0%, transparent 70%);
  animation-delay: -3s;
}

.hero-shape-3 {
  top: 40%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-sand) 0%, transparent 70%);
  animation-delay: -5s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-sage {
  background-color: rgba(156, 175, 139, 0.15); /* var(--color-sage) com opacidade */
  color: var(--color-sage-dark);
}

.badge-earth {
  background-color: rgba(139, 115, 85, 0.15); /* var(--color-earth) com opacidade */
  color: var(--color-earth-dark);
}

.hero-title {
  font-size: 3.25rem;
  font-family: var(--font-headline);
  color: var(--color-charcoal);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-highlight {
  color: var(--color-sage-dark);
  position: relative;
  display: inline-block;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.25em;
  background: linear-gradient(90deg, rgba(156, 175, 139, 0.4) 0%, rgba(122, 145, 104, 0.4) 100%);
  z-index: -1;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-soft-gray);
  margin-bottom: 1.5rem;
}

.typed-text {
  color: var(--color-sage-dark);
  font-weight: 600;
}

.typed-cursor {
  color: var(--color-sage);
  font-weight: 100;
  animation: blink 1s infinite;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-soft-gray);
  line-height: 1.7;
  max-width: 90%;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-image-col {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
}

.hero-image-decoration {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-sage);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}

.hero-floating-card {
  position: absolute;
  bottom: 5%;
  left: -10%;
  background-color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
  z-index: 3;
}

.floating-card-icon {
  font-size: 1.5rem;
  color: var(--color-sage-dark);
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.floating-card-number {
  font-weight: 700;
  font-family: var(--font-headline);
  color: var(--color-earth);
  font-size: 1.25rem;
}

.floating-card-label {
  font-size: 0.8rem;
  color: var(--color-soft-gray);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-soft-gray);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--color-warm-beige);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-warm-beige);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

/* ==========================================================================
   Sobre Section
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-sobre {
  background-color: var(--color-cream);
}

.sobre-timeline {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-warm-beige);
}

.timeline-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1.5rem - 9px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-sage);
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 2px rgba(156, 175, 139, 0.2);
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-earth);
  margin-bottom: 0.25rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--color-soft-gray);
}

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

.sobre-image-col {
  position: relative;
}

.sobre-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.sobre-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.sobre-image-wrapper:hover .sobre-image {
  transform: scale(1.03);
}

.sobre-image-accent {
  display: none;
}

.sobre-experience-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--color-earth);
  color: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.experience-number {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.experience-text {
  font-size: 0.85rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sobre-content {
  padding-left: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  background-color: rgba(156, 175, 139, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  color: var(--color-earth);
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-sage);
  border-radius: 2px;
}

.section-title-center {
  text-align: center;
  display: block;
}

.section-title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.sobre-intro {
  color: var(--color-soft-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 500;
}

.sobre-text {
  color: var(--color-soft-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ==========================================================================
   Especialidades Section
   ========================================================================== */
.section-especialidades {
  background-color: var(--color-sand);
}

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

.section-description {
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: var(--color-soft-gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.especialidade-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.especialidade-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--color-sage);
}

.card-icon-wrapper {
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 3rem;
  display: inline-block;
  color: var(--color-sage);
  transition: transform 0.3s ease;
}

.especialidade-card:hover .card-icon {
  transform: scale(1.15);
}

.card-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--color-earth);
  margin-bottom: 0.75rem;
}

.card-description {
  color: var(--color-soft-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  background-color: rgba(156, 175, 139, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Números Section
   ========================================================================== */
.section-numeros {
  background: linear-gradient(135deg, var(--color-earth-dark) 0%, var(--color-earth) 100%);
  color: var(--color-white);
  padding: 5rem 0;
}

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

.numero-item {
  padding: 2rem 1rem;
}

.numero-icon {
  margin-bottom: 1rem;
  opacity: 0.8;
  display: flex;
  justify-content: center;
}

.numero-icon svg {
  stroke: var(--color-cream);
}

.numero-valor-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

.numero-valor {
  font-family: var(--font-headline);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
}

.numero-sufixo {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--color-cream);
  opacity: 0.8;
}

.numero-label {
  font-size: 1rem;
  color: var(--color-sand);
  opacity: 0.9;
  font-weight: 500;
}

/* ==========================================================================
   Depoimentos Section
   ========================================================================== */
.section-depoimentos {
  background-color: var(--color-cream);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 0 0 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 1rem;
  position: relative;
}

.testimonial-card-inner {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.testimonial-quote {
  font-family: var(--font-headline);
  font-size: 5rem;
  color: var(--color-warm-beige);
  opacity: 0.5;
  position: absolute;
  top: 1rem;
  left: 2rem;
  line-height: 1;
}

.testimonial-stars {
  color: #F4B942;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--color-charcoal);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.author-avatar {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--color-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--color-earth);
  font-size: 1.05rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--color-soft-gray);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-warm-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  color: var(--color-earth);
}

.slider-btn:hover {
  background-color: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-white);
}

.slider-btn:hover svg {
  stroke: var(--color-white);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-warm-beige);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.slider-dot.active {
  background-color: var(--color-sage);
  width: 28px;
  border-radius: 5px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.section-faq {
  background-color: var(--color-sand);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 142, 123, 0.15);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 142, 123, 0.35);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-earth-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  background: transparent;
  border: none;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-sage-dark);
}

.faq-accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(107, 142, 123, 0.12);
  color: var(--color-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.faq-icon-closed,
.faq-icon-opened {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.faq-icon-closed {
  display: inline-block;
}

.faq-icon-opened {
  display: none;
}

/* Quando ativo: altera o ícone de + para - */
.faq-item.active .faq-accordion-icon {
  background-color: var(--color-sage);
  color: var(--color-white);
}

.faq-item.active .faq-icon-closed {
  display: none;
}

.faq-item.active .faq-icon-opened {
  display: inline-block;
}

/* Resposta — Animação fluida de abertura e fechamento apenas do conteúdo da resposta */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, visibility 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  opacity: 1;
  visibility: visible;
}

.faq-answer-inner {
  padding: 0.25rem 1.5rem 1.5rem;
  color: var(--color-soft-gray);
  line-height: 1.7;
}

/* ==========================================================================
   Contato Section
   ========================================================================== */
.section-contato {
  background: linear-gradient(135deg, var(--color-earth-dark) 0%, var(--color-earth) 100%);
  text-align: center;
  padding: 6rem 0;
}

.contato-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-label-light {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.section-title-light {
  color: var(--color-white);
}

.section-title-light::after {
  background-color: rgba(255, 255, 255, 0.5);
}

.text-highlight-light {
  color: var(--color-sand);
}

.contato-description {
  color: var(--color-sand);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contato-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-white);
  text-align: left;
}

.info-card-icon svg {
  stroke: var(--color-white);
  width: 24px;
  height: 24px;
}

.info-card-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-card-content p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-earth-dark);
  color: var(--color-sand);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-links-col,
.footer-social-col {
  padding-top: 1.5rem; /* Alinha o topo dos títulos com a proporção da logo */
}

.footer-bio {
  color: var(--color-warm-beige);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-col-title {
  color: var(--color-white);
  font-family: var(--font-headline);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-sage);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-warm-beige);
  transition: all var(--transition-normal);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-beige);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background-color: var(--color-sage);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-warm-beige);
}

.footer-credit {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: var(--color-sand);
  opacity: 0.9;
}

.footer-credit strong {
  color: var(--color-white);
  font-weight: 600;
}

.footer-email-link {
  color: var(--color-sand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-email-link:hover {
  color: var(--color-sage);
}

.footer-disclaimer {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2s infinite;
}

.whatsapp-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 15px);
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-charcoal);
}

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

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ==========================================================================
   Reveal Classes (Intersection Observer & GPU Acceleration)
   ========================================================================== */
.stagger-item {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal.active .stagger-item,
.reveal-left.active .stagger-item,
.reveal-right.active .stagger-item,
.stagger-item.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-description {
    margin: 0 auto 2rem;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-floating-card {
    left: 5%;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sobre-image-col {
    order: 1; /* Coloca a foto do Sobre DEPOIS do texto no celular, evitando 2 fotos empilhadas */
    max-width: 600px;
    margin: 0 auto;
  }
  
  .sobre-content {
    padding-left: 0;
  }

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

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

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

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

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .header {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .header-container {
    padding: 0 0.75rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .logo {
    max-width: calc(100% - 40px);
    flex: 1;
  }

  .logo-img {
    max-width: 100%;
    max-height: 125px;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: left center;
  }

  .header.scrolled .logo-img {
    max-height: 85px;
  }

  /* Logo do rodapé no celular — O DOBRO DO TAMANHO! */
  .logo-img-light {
    height: 190px !important;
    max-height: 190px !important;
    max-width: 92vw !important;
    width: auto;
    object-position: center !important;
    margin: 0 auto;
  }

  .hero {
    padding-top: 8.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .hero-bg-shapes,
  .hero-shape {
    display: none !important;
    animation: none !important;
    filter: none !important;
  }

  .hero-image-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-image-decoration {
    display: none;
  }

  .hero-floating-card {
    left: 0;
    bottom: 0;
    max-width: 90%;
    animation: none !important;
  }

  .sobre-experience-badge {
    right: 10px;
    bottom: 10px;
    padding: 1rem;
  }

  .sobre-image-accent {
    display: none;
  }

  .container {
    padding: 0 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section {
    width: 100%;
  }

  /* Animações marcantes, fluidas e otimizadas para mobile nos cards e seções */
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.96);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .reveal.active,
  .reveal-left.active,
  .reveal-right.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
  }

  .especialidade-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .especialidade-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-sage);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .btn-nav-cta {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links-col,
  .footer-social-col {
    padding-top: 0;
  }

  .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-bio {
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }

  .section {
    padding: 4rem 0;
  }

  /* Testimonial slider fixes for mobile (768px) */
  .testimonial-slider {
    padding: 0 0 1.5rem;
    width: 100%;
  }

  .testimonial-card {
    padding: 0.5rem 0;
  }

  .testimonial-card-inner {
    padding: 2rem 1.25rem 1.5rem;
  }

  .testimonial-quote {
    font-size: 3rem;
    top: 0.25rem;
    left: 0.75rem;
    opacity: 0.2;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .author-name {
    font-size: 0.95rem;
  }

  .author-role {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .numeros-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 0.25rem 0;
  }

  .testimonial-card-inner {
    padding: 1.75rem 1rem 1.25rem;
    border-radius: var(--radius-md);
  }
  
  .testimonial-quote {
    font-size: 2.5rem;
    left: 0.5rem;
    top: 0.25rem;
    opacity: 0.18;
  }

  .testimonial-stars {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .hero-floating-card {
    display: none;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .header,
  .hero-scroll-indicator,
  .whatsapp-float,
  .slider-controls {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .section {
    padding: 2rem 0;
  }
}
