/* ==========================================================================
   AVA - AUDITORIA E CONSULTORIA (AVA-AC)
   Design System & Core Stylesheet
   Cores e identidade inspiradas fielmente na logomarca oficial:
   Bordeaux/Vinho (#850B28), Grafite/Carvão (#2A2E35), Branco Puro (#FFFFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Cores Principais baseadas na Logomarca */
  --brand-wine: #850B28;          /* Vinho do 'V' central */
  --brand-wine-dark: #5B061A;     /* Vinho escuro para contrastes */
  --brand-wine-light: #A31B3D;    /* Vinho vivo para hovers e detalhes */
  --brand-wine-glow: rgba(133, 11, 40, 0.15);
  --brand-wine-tint: #FDF2F4;     /* Fundo suave avermelhado */

  --brand-charcoal: #2B2F38;      /* Grafite do 'A' da logo */
  --brand-charcoal-dark: #16191F; /* Fundo grafite quase preto */
  --brand-charcoal-soft: #3E4552; /* Grafite médio */

  /* Cores Neutras e de Apoio */
  --text-dark: #111827;           /* Texto principal de alto contraste */
  --text-muted: #4B5563;          /* Texto secundário */
  --text-light: #9CA3AF;          /* Detalhes suaves */
  --text-white: #FFFFFF;

  --bg-body: #FFFFFF;
  --bg-surface: #F8FAFC;          /* Fundo suave para sessões alternadas */
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;

  --border-light: #E5E7EB;
  --border-subtle: #F1F5F9;
  --border-focus: #850B28;

  --success: #059669;
  --success-bg: #ECFDF5;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --info: #2563EB;
  --info-bg: #EFF6FF;

  /* Tipografia */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Sombras Sofisticadas */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-wine: 0 10px 25px rgba(133, 11, 40, 0.25);

  /* Transições & Raios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::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);
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-charcoal-dark);
  line-height: 1.25;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.bg-surface {
  background-color: var(--bg-surface);
}

.bg-charcoal {
  background-color: var(--brand-charcoal-dark);
  color: var(--text-white);
}

.bg-wine {
  background: linear-gradient(135deg, var(--brand-wine-dark) 0%, var(--brand-wine) 100%);
  color: var(--text-white);
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
  background-color: var(--brand-charcoal-dark);
  color: #D1D5DB;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #E5E7EB;
  transition: var(--transition);
}

.topbar-link:hover {
  color: #FFFFFF;
}

.topbar svg,
.topbar-link svg,
.topbar-items svg,
.topbar-location svg,
.site-topbar svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  color: var(--brand-wine-light);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: var(--transition);
}

.site-header .container {
  max-width: 1440px;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--brand-charcoal);
  padding: 0.5rem 0.15rem;
  white-space: nowrap !important;
  position: relative;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand-wine);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-wine);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.nav-actions .btn,
.nav-actions .news-nav-btn {
  white-space: nowrap !important;
  flex-shrink: 0;
}


/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--brand-charcoal);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-header img {
  height: 40px;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brand-charcoal);
}

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

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link.active {
  color: var(--brand-wine);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.btn-lg svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.btn-sm svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand-wine);
  color: var(--text-white);
  border-color: var(--brand-wine);
  box-shadow: 0 4px 14px rgba(133, 11, 40, 0.28);
}

.btn-primary:hover {
  background: var(--brand-wine-dark);
  border-color: var(--brand-wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(133, 11, 40, 0.36);
}

.btn-secondary {
  background: var(--brand-charcoal);
  color: var(--text-white);
  border-color: var(--brand-charcoal);
}

.btn-secondary:hover {
  background: var(--brand-charcoal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(43, 47, 56, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--brand-wine);
  border-color: var(--brand-wine);
}

.btn-outline:hover {
  background: var(--brand-wine);
  color: var(--text-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--brand-charcoal-dark);
  border-color: #FFFFFF;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  border-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-wine {
  background-color: var(--brand-wine-tint);
  color: var(--brand-wine);
  border: 1px solid rgba(133, 11, 40, 0.15);
}

.badge-charcoal {
  background-color: #F3F4F6;
  color: var(--brand-charcoal);
  border: 1px solid var(--border-light);
}

.badge-success {
  background-color: var(--success-bg);
  color: var(--success);
}

/* ==========================================================================
   Typography & Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 3rem;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-wine);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(133, 11, 40, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(43, 47, 56, 0.05) 0%, transparent 40%),
              linear-gradient(180deg, #FFFFFF 0%, var(--bg-surface) 100%);
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

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

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--brand-charcoal-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-title .text-wine {
  color: var(--brand-wine);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-wine);
  line-height: 1.1;
}

.highlight-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.hero-card-visual {
  position: relative;
}

.hero-main-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(133, 11, 40, 0.12);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-logo-box {
  background: var(--brand-wine-tint);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--brand-wine);
}

.hero-logo-box svg {
  width: 32px;
  height: 32px;
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-charcoal-dark);
}

.hero-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--brand-charcoal);
}

.hero-check-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-wine);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: rgba(133, 11, 40, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-wine-tint);
  color: var(--brand-wine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon-wrap {
  background: var(--brand-wine);
  color: #FFFFFF;
}

.card-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--brand-charcoal-dark);
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--brand-wine);
  margin-top: auto;
}

.card-link:hover {
  color: var(--brand-wine-dark);
  gap: 0.65rem;
}

/* ==========================================================================
   Pillars / Values Section
   ========================================================================== */
.pillar-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--brand-wine);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-wine-tint);
  color: var(--brand-wine);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pillar-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Methodology Steps
   ========================================================================== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.methodology-step {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.methodology-step:hover {
  border-color: var(--brand-wine);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(133, 11, 40, 0.12);
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-wine);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--brand-charcoal-dark);
}

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

/* ==========================================================================
   Quote Box (Kotler / Institucional)
   ========================================================================== */
.quote-box {
  background: linear-gradient(135deg, var(--brand-charcoal-dark) 0%, var(--brand-charcoal) 100%);
  color: #FFFFFF;
  padding: 3rem 3.5rem;
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--brand-wine);
  position: relative;
  box-shadow: var(--shadow-xl);
  margin: 2rem 0;
}

.quote-box blockquote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #F3F4F6;
}

.quote-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-wine-light);
  font-size: 1.05rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--brand-charcoal-dark);
  color: #D1D5DB;
  padding-top: 5rem;
  border-top: 4px solid var(--brand-wine);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 74px;
  width: auto;
  max-width: 240px;
  margin-bottom: 1.5rem;
  background: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #9CA3AF;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--brand-wine);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-wine);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #9CA3AF;
  font-size: 0.925rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
  color: #9CA3AF;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-wine-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9CA3AF;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-btn {
  width: 62px;
  height: 62px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 34px;
  height: 34px;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse-wave 2s infinite;
  z-index: -1;
}

@keyframes pulse-wave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-popover {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 310px;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: none;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-popover.active {
  display: block;
}

.popover-header {
  background: var(--brand-wine);
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popover-header h4 {
  color: #FFFFFF;
  font-size: 1rem;
}

.popover-body {
  padding: 1.25rem;
}

.popover-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.popover-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.popover-option {
  display: block;
  padding: 0.65rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--brand-charcoal);
  font-weight: 600;
  transition: var(--transition);
}

.popover-option:hover {
  background: var(--brand-wine-tint);
  border-color: var(--brand-wine);
  color: var(--brand-wine);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .grid-3, .grid-2, .grid-4, .methodology-grid {
    grid-template-columns: 1fr;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quote-box {
    padding: 2rem 1.5rem;
  }
  .quote-box blockquote {
    font-size: 1.15rem;
  }
}
