/* ==========================================================================
   DRA. ALINE FARIAS ADVOCACIA - LANDING PAGE STYLE SYSTEM
   Design: Deep Emerald, Metallic Gold & Marfim Ivory
   Mobile-First Flexbox Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Derived from logoaline.png) */
  --bg-dark-primary: #031D16;
  --bg-dark-secondary: #062C22;
  --bg-dark-card: #08372B;
  --bg-dark-hover: #0C4637;

  --gold-primary: #C8A856;
  --gold-secondary: #DFB960;
  --gold-light: #F3E5AB;
  --gold-dark: #8A6F29;
  --gold-gradient: linear-gradient(135deg, #DFB960 0%, #C8A856 50%, #A37F2C 100%);
  --gold-gradient-hover: linear-gradient(135deg, #F3E5AB 0%, #DFB960 50%, #C8A856 100%);

  --bg-light-primary: #FAFAF7;
  --bg-light-secondary: #F3F4F1;
  --bg-light-card: #FFFFFF;

  --text-dark: #121A17;
  --text-muted: #4A5B55;
  --text-light: #FAFAF7;
  --text-light-muted: #A3B8B0;
  --text-gold: #DFB960;

  --border-dark: rgba(200, 168, 86, 0.25);
  --border-light: rgba(6, 44, 34, 0.1);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 8px 25px rgba(200, 168, 86, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 95px;
  /* Espaço seguro para a barra flutuante no mobile */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

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

/* Container Utility (Mobile-first Flex) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* SVG Icon base styling */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & BUTTONS
   -------------------------------------------------------------------------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(200, 168, 86, 0.12);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  color: var(--gold-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-title span.text-gold {
  color: var(--gold-secondary);
  background: linear-gradient(135deg, #F3E5AB 0%, #DFB960 40%, #C8A856 70%, #A37F2C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light-muted);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Dark Section vs Light Section Title */
.section-light .section-title {
  color: var(--text-dark);
}

.section-light .section-subtitle {
  color: var(--text-muted);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  text-align: center;
  width: 100%;
}

@media (min-width: 480px) {
  .btn {
    width: auto;
  }
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-dark-primary);
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--gold-light);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.btn-gold:hover::after {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 168, 86, 0.45);
}

.btn-outline-gold {
  background: rgba(6, 44, 34, 0.6);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(200, 168, 86, 0.15);
  border-color: var(--gold-secondary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 29, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition-normal);
}

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

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .header-container {
    height: 64px;
  }

  .brand-logo img {
    height: 34px;
  }
}

.nav-desktop {
  display: none;
}

.nav-link {
  color: var(--text-light-muted);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

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

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

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gold-secondary);
  border-radius: 10px;
  background: rgba(200, 168, 86, 0.1);
  border: 1px solid var(--border-dark);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: var(--bg-dark-primary);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  color: var(--gold-secondary);
}

/* Desktop Responsive Layout */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .header-cta-btn {
    display: inline-flex;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION - Split Layout com texto à esquerda
   -------------------------------------------------------------------------- */

/* Entrance animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lineGrow {
  from {
    width: 0;
  }

  to {
    width: 48px;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 68px;
  display: flex;
  align-items: flex-end;
  background: url('../heroprincipal.webp') no-repeat center top / cover;
  background-color: var(--bg-dark-primary);
  overflow: hidden;
}

/* Gradiente: escuro da esquerda + vertical na base */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(3, 29, 22, 0.1) 0%,
      rgba(3, 29, 22, 0.3) 35%,
      rgba(3, 29, 22, 0.75) 60%,
      rgba(3, 29, 22, 0.95) 80%,
      #031D16 100%);
}

/* Gradiente lateral esquerdo (para legibilidade do texto) */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(3, 29, 22, 0.92) 0%,
      rgba(3, 29, 22, 0.7) 30%,
      rgba(3, 29, 22, 0.3) 50%,
      transparent 65%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding-bottom: 3rem;
}

.hero-content {
  max-width: 640px;
  width: 100%;
}

/* Tagline decorativa */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-tagline-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  animation: lineGrow 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-tagline-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-secondary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-title .highlight-gold {
  display: inline;
  background: linear-gradient(135deg, #F3E5AB 0%, #DFB960 40%, #C8A856 70%, #A37F2C 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(226, 235, 231, 0.88);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  max-width: 520px;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
}

.desktop-only-br {
  display: none;
}

.desktop-only-btn {
  display: none;
}

/* Glassmorphism Features Card - alinhado à esquerda */
.hero-features-card {
  background: rgba(4, 32, 24, 0.55);
  border: 1px solid rgba(200, 168, 86, 0.25);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(200, 168, 86, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  text-align: left;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(200, 168, 86, 0.1);
  border: 1px solid rgba(200, 168, 86, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.hero-feature-item:hover .feature-icon-box {
  background: rgba(200, 168, 86, 0.2);
  border-color: var(--gold-secondary);
  transform: scale(1.08);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-secondary);
  line-height: 1.2;
}

.feature-desc {
  font-size: 0.8rem;
  color: rgba(226, 235, 231, 0.8);
  line-height: 1.35;
}

/* Hero CTA */
.hero-ctas {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.65s both;
}

.hero-main-btn {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
}

/* ---- Desktop hero ---- */
@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
    align-items: center;
    background-position: right top 72px;
    background-size: cover;
  }

  .hero-section::before {
    background: linear-gradient(180deg,
        rgba(3, 29, 22, 0.1) 0%,
        rgba(3, 29, 22, 0.25) 40%,
        rgba(3, 29, 22, 0.6) 75%,
        #031D16 100%);
  }

  .hero-section::after {
    background: linear-gradient(90deg,
        rgba(3, 29, 22, 0.95) 0%,
        rgba(3, 29, 22, 0.85) 25%,
        rgba(3, 29, 22, 0.55) 45%,
        rgba(3, 29, 22, 0.15) 60%,
        transparent 75%);
  }

  .hero-container {
    padding-bottom: 4rem;
    padding-top: 2rem;
    align-items: flex-start;
    text-align: left;
  }

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

  .hero-tagline {
    margin-bottom: 2rem;
  }

  .hero-tagline-text {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.25rem;
    max-width: 480px;
  }

  .desktop-only-br {
    display: inline;
  }

  .desktop-only-btn {
    display: inline-flex;
  }

  .hero-features-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.25rem;
    max-width: 580px;
  }

  .hero-feature-item {
    flex: 1;
    max-width: 200px;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }

  .hero-main-btn {
    width: auto;
    padding: 0 2.5rem;
  }
}

/* ---- Large Desktop hero ---- */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }

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

  .hero-features-card {
    max-width: 620px;
  }
}

/* ---- Mobile hero ---- */
@media (max-width: 767px) {
  .hero-section {
    min-height: calc(100vh - 64px);
    margin-top: 64px;
    padding-top: 0;
    align-items: flex-end;
    /* Posição calculada: 88.5% horizontal centraliza o rosto no iPhone 14 Pro Max e em todos os celulares */
    background-position: 88.5% top;
    background-size: cover;
  }

  /* Gradiente: 100% transparente no topo para mostrar a foto perfeitamente */
  .hero-section::before {
    background: linear-gradient(
      180deg,
      rgba(3, 29, 22, 0) 0%,
      rgba(3, 29, 22, 0) 35%,
      rgba(3, 29, 22, 0.4) 55%,
      rgba(3, 29, 22, 0.85) 75%,
      #031D16 100%
    );
  }

  .hero-section::after {
    background: none;
  }

  .hero-container {
    padding-bottom: 5rem;
    /* Espaço para a barra sticky CTA */
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    text-align: center;
  }

  /* Card de Vidro de Luxo para o texto no Mobile */
  .hero-content {
    max-width: 100%;
    background: rgba(4, 32, 24, 0.78);
    border: 1px solid rgba(200, 168, 86, 0.35);
    border-radius: 20px;
    padding: 1.25rem 1.15rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(200, 168, 86, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Tagline como Badge Dourado Centralizado */
  .hero-tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(200, 168, 86, 0.12);
    border: 1px solid rgba(200, 168, 86, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
  }

  .hero-tagline-line {
    display: none;
  }

  .hero-tagline-text {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--gold-secondary);
    font-weight: 700;
    text-transform: uppercase;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.18;
    margin-bottom: 0.6rem;
    text-shadow: none;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0;
    color: rgba(226, 235, 231, 0.92);
    text-shadow: none;
  }

  .hero-features-card {
    display: none;
  }

  .hero-ctas {
    display: none;
  }
}

/* ---- Telas muito pequenas (até 380px) ---- */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-content {
    padding: 1rem 0.9rem;
  }
}




/* --------------------------------------------------------------------------
   6. ABOUT DRA. ALINE FARIAS SECTION
   -------------------------------------------------------------------------- */
.section-about {
  padding: 5rem 0;
  background: var(--bg-dark-secondary);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    flex-direction: row;
    gap: 4rem;
  }
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  flex-shrink: 0;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.about-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.about-image-frame:hover img {
  transform: scale(1.03);
}

.about-badge-floating {
  position: absolute;
  bottom: -15px;
  right: -10px;
  background: var(--bg-dark-primary);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-content {
  flex: 1;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pillars-flex {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--gold-secondary);
  transform: translateX(4px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(200, 168, 86, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   7. PRACTICE AREAS SECTION (ESPECIALIDADES)
   -------------------------------------------------------------------------- */
.section-services {
  padding: 5rem 0;
  background: var(--bg-dark-primary);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-secondary);
  box-shadow: var(--shadow-md);
}

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

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(200, 168, 86, 0.12);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.25;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(200, 168, 86, 0.15);
}

.service-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.service-bullet-item svg {
  color: var(--gold-secondary);
}

.service-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* Highlight Card for Isenção de IR por Doença Grave */
.service-card.highlight-card {
  background: linear-gradient(180deg, var(--bg-dark-card) 0%, rgba(12, 70, 55, 0.8) 100%);
  border: 1.5px solid var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.highlight-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-gradient);
  color: var(--bg-dark-primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   8. MEDIA & PHOTO GALLERY SECTION (ESPAÇO PARA ADICIONAR NOVAS IMAGENS)
   -------------------------------------------------------------------------- */
.section-gallery {
  padding: 5rem 0;
  background: var(--bg-dark-secondary);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.gallery-notice-box {
  background: rgba(200, 168, 86, 0.08);
  border: 1px dashed var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.gallery-notice-icon {
  color: var(--gold-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.gallery-notice-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.gallery-notice-text small {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Gallery Item with Real Image */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark-card);
  height: 280px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 29, 22, 0.95) 0%, rgba(3, 29, 22, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-card-tag {
  align-self: flex-start;
  background: rgba(200, 168, 86, 0.25);
  color: var(--gold-secondary);
  border: 1px solid var(--border-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Gallery Placeholder Slot for Adding New Images */
.gallery-slot-placeholder {
  height: 280px;
  border: 2px dashed rgba(200, 168, 86, 0.35);
  border-radius: var(--radius-md);
  background: rgba(8, 55, 43, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  transition: var(--transition-normal);
  cursor: pointer;
}

.gallery-slot-placeholder:hover {
  border-color: var(--gold-secondary);
  background: rgba(200, 168, 86, 0.12);
  transform: translateY(-4px);
}

.placeholder-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200, 168, 86, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
  margin-bottom: 1rem;
}

.placeholder-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-secondary);
  margin-bottom: 0.25rem;
}

.placeholder-subtext {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  max-width: 220px;
}

/* --------------------------------------------------------------------------
   9. DIFFERENTIALS & WHY CHOOSE DRA. ALINE FARIAS
   -------------------------------------------------------------------------- */
.section-differentials {
  padding: 5rem 0;
  background: var(--bg-dark-primary);
}

.differentials-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .differentials-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .differentials-flex {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diff-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.diff-card:hover {
  border-color: var(--gold-secondary);
  transform: translateY(-4px);
}

.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(200, 168, 86, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
  margin-bottom: 1.25rem;
}

.diff-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.diff-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.section-faq {
  padding: 5rem 0;
  background: var(--bg-dark-secondary);
  border-top: 1px solid var(--border-dark);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold-secondary);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
}

.faq-item.active .faq-header {
  color: var(--gold-secondary);
}

.faq-icon-arrow {
  color: var(--gold-secondary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(3, 29, 22, 0.4);
}

.faq-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. LOCATION & CONTACT SECTION
   -------------------------------------------------------------------------- */
.section-contact {
  padding: 5rem 0;
  background: var(--bg-dark-primary);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
  }
}

.contact-info-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(200, 168, 86, 0.15);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-secondary);
  flex-shrink: 0;
}

.contact-text-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-secondary);
  margin-bottom: 0.25rem;
}

.contact-text-val {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}

.map-container {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  margin-top: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Quick Contact Form */
.contact-form-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light-muted);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-dark-primary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-secondary);
  box-shadow: 0 0 0 3px rgba(200, 168, 86, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* --------------------------------------------------------------------------
   12. FOOTER & STICKY MOBILE CTA BAR
   -------------------------------------------------------------------------- */
.footer {
  background: #02120E;
  border-top: 1px solid var(--border-dark);
  padding: 3rem 0 2rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  max-width: 400px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-secondary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: var(--gold-secondary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 168, 86, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-light-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* Sticky Mobile Bottom CTA Bar */
.sticky-mobile-cta {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  width: calc(100% - 28px);
  height: 60px;
  padding: 0;
  background: rgba(3, 29, 22, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  z-index: 998;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
}

.sticky-mobile-cta .btn {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  padding: 0 1rem;
  font-size: 0.925rem;
  font-weight: 700;
  border: none;
}

/* Floating WhatsApp Pulse Button (Desktop apenas) */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 997;
  transition: transform var(--transition-fast);
  animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 767px) {

  /* No mobile, o botão fixo inferior já faz a chamada do WhatsApp */
  .whatsapp-floating {
    display: none;
  }

  .section-about,
  .section-services,
  .section-gallery,
  .section-differentials,
  .section-faq,
  .section-contact {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
  }

  /* About section mobile */
  .about-image-frame img {
    height: 360px;
  }

  .about-badge-floating {
    bottom: -10px;
    right: 0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .about-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .pillar-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .pillar-icon {
    width: 38px;
    height: 38px;
  }

  .pillar-title {
    font-size: 1rem;
  }

  .pillar-desc {
    font-size: 0.82rem;
  }

  /* Services section mobile */
  .service-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .service-icon-box {
    width: 46px;
    height: 46px;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .service-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .service-bullet-item {
    font-size: 0.82rem;
    gap: 0.5rem;
  }

  .service-bullets {
    margin-bottom: 1.5rem;
  }

  .highlight-badge {
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
  }

  /* Differentials mobile */
  .diff-card {
    padding: 1.5rem 1.15rem;
  }

  .diff-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
  }

  .diff-title {
    font-size: 1.1rem;
  }

  .diff-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* FAQ mobile */
  .faq-header {
    padding: 1rem 1.15rem;
    font-size: 1.05rem;
  }

  .faq-body {
    padding: 0 1.15rem 1.25rem 1.15rem;
    font-size: 0.88rem;
  }

  /* Contact mobile */
  .contact-info-card {
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  .map-container {
    height: 200px;
  }

  /* Footer mobile */
  .footer {
    padding: 2rem 0 1.5rem 0;
  }

  .footer-brand img {
    height: 40px;
  }

  .footer-bottom {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  /* Sticky CTA bar — ajustado p/ não cobrir conteúdo */
  .sticky-mobile-cta {
    bottom: 10px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    height: 54px;
    border-radius: 14px;
  }

  .sticky-mobile-cta .btn {
    border-radius: 13px;
    font-size: 0.88rem;
  }
}

.whatsapp-floating:hover {
  transform: scale(1.1);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}