/* ===== DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --burgundy-900: #3B0A0A;
  --burgundy-800: #5A1A1A;
  --burgundy-700: #6E2222;
  --burgundy-600: #7A2B2B;
  --burgundy-500: #8B3A3A;
  --gold-500: #C9A84C;
  --gold-400: #D4B95E;
  --gold-300: #E0CA7A;
  --gold-200: #EAD89E;
  --cream: #FAF6EE;
  --dark: #1A1A1A;
  --dark-surface: #242424;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D1D1D1;
  --gray-500: #6B6B6B;
  --gray-700: #3D3D3D;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}
.header.scrolled { background: rgba(26, 26, 26, 0.98); box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1200px; margin: 0 auto;
}
.header-logo img { height: 112px; width: auto; }
.header-nav { display: flex; gap: 32px; align-items: center; }
.header-nav a {
  color: var(--gray-300); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase; position: relative;
  padding: 4px 0;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gold-500); transition: var(--transition);
}
.header-nav a:hover { color: var(--gold-400); }
.header-nav a:hover::after { width: 100%; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--gold-400); transition: var(--transition); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--burgundy-900) 0%, var(--dark) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: url('banner-hero-dr-elisson-ferreira.webp') center/cover no-repeat;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(59,10,10,0.85) 0%, rgba(26,26,26,0.7) 50%, rgba(26,26,26,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 3; max-width: 1200px; margin: 0 auto;
  padding: 140px 24px 80px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-text { animation: fadeInUp 1s ease-out; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-400); padding: 8px 20px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.hero-title span { color: var(--gold-400); }
.hero-subtitle {
  font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 12px;
  font-weight: 300; line-height: 1.6;
}
.hero-credentials {
  font-size: 0.875rem; color: var(--gold-300); margin-bottom: 32px;
  font-weight: 500; letter-spacing: 0.5px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  display: flex; justify-content: center; align-items: flex-end;
  animation: fadeInRight 1s ease-out 0.3s both;
}
.hero-image img {
  max-height: 520px; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 3px solid rgba(201,168,76,0.2);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.9375rem; cursor: pointer; transition: var(--transition);
  border: none; font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--dark); box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-whatsapp {
  background: #25D366; color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
.btn svg { width: 20px; height: 20px; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-cream { background: var(--cream); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; color: var(--gold-500); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-dark .section-label { color: var(--gold-400); }
.section-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.2; margin-bottom: 16px;
}
.section-desc { font-size: 1.0625rem; color: var(--gray-500); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-desc { color: rgba(255,255,255,0.65); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-wrapper img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-image-accent {
  position: absolute; top: -20px; left: -20px; width: 100%; height: 100%;
  border: 3px solid var(--gold-500); border-radius: 16px; z-index: -1;
}
.about-content h3 {
  font-family: var(--font-heading); font-size: 1.75rem; font-weight: 600;
  margin-bottom: 8px; color: var(--gold-500);
}
.about-content h4 { font-size: 1rem; color: var(--gray-500); margin-bottom: 24px; font-weight: 500; }
.about-content p { margin-bottom: 16px; color: var(--gray-700); }
.about-credentials { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.credential-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; background: var(--cream); border-radius: 12px;
  border-left: 3px solid var(--gold-500);
}
.credential-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-500); margin-top: 2px; }
.credential-item span { font-size: 0.9375rem; font-weight: 500; }

/* ===== AREAS DE ATUAÇÃO ===== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.area-card {
  background: var(--dark-surface); border-radius: 20px; padding: 40px 32px;
  border: 1px solid rgba(201,168,76,0.1); transition: var(--transition);
  position: relative; overflow: hidden;
}
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.area-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.area-icon svg { width: 28px; height: 28px; color: var(--gold-400); }
.area-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.area-card p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.7; }

/* ===== DIFERENCIAIS ===== */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.diff-card {
  text-align: center; padding: 48px 32px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-500); }
.diff-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-800));
  display: flex; align-items: center; justify-content: center;
}
.diff-icon svg { width: 32px; height: 32px; color: var(--gold-400); }
.diff-card h3 { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; margin-bottom: 12px; }
.diff-card p { color: var(--gray-500); font-size: 0.9375rem; }

/* ===== PROCESSO ===== */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 44px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.step { text-align: center; position: relative; }
.step-number {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-900));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--gold-400); border: 3px solid var(--gold-500);
  position: relative; z-index: 2;
}
.step h3 { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; margin-bottom: 12px; }
.step p { color: var(--gray-500); font-size: 0.9375rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(201,168,76,0.15); border-radius: 16px;
  margin-bottom: 16px; overflow: hidden; background: var(--dark-surface);
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(201,168,76,0.3); }
.faq-question {
  padding: 24px 32px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem; color: var(--white);
}
.faq-question svg { width: 20px; height: 20px; color: var(--gold-400); transition: var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 32px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 32px 24px; }

/* ===== CONTATO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--gold-400); }
.contact-item h4 { font-size: 0.875rem; color: var(--gold-400); margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; }
.contact-item a { color: rgba(255,255,255,0.75); }
.contact-item a:hover { color: var(--gold-400); }
.contact-social { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; transition: var(--transition);
}
.social-link:hover { background: var(--gold-500); transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; color: var(--white); }
.contact-map { border-radius: 20px; overflow: hidden; height: 400px; border: 1px solid rgba(201,168,76,0.15); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--burgundy-900); color: rgba(255,255,255,0.6);
  padding: 40px 0; text-align: center; font-size: 0.875rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer a { color: var(--gold-400); }
.footer a:hover { text-decoration: underline; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; color: var(--white); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: rgba(26,26,26,0.98); backdrop-filter: blur(20px);
  padding: 20px 24px; display: none; border-top: 1px solid rgba(201,168,76,0.2);
}
.cookie-banner.show { display: block; animation: slideUp 0.4s ease-out; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-inner p { color: rgba(255,255,255,0.8); font-size: 0.875rem; flex: 1; }
.cookie-inner a { color: var(--gold-400); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; }
.cookie-btn { padding: 10px 24px; border-radius: 50px; font-size: 0.875rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.cookie-accept { background: var(--gold-500); color: var(--dark); }
.cookie-decline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 40px rgba(37,211,102,0.6); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero-cta { justify-content: center; }
  .hero-image { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .header-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(26,26,26,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 32px; }
  .header-nav.active { display: flex; }
  .header-nav a { font-size: 1.125rem; }
  .mobile-toggle { display: flex; }
  .diff-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-title { font-size: 2rem; }
}
