/* ═══════════════════════════════════════════════
   Centro Oeste Seguros — Filial Epitacio
   Design: Nautical Authority
   Palette: Deep Navy / Pure White / Bright Blue
   ═══════════════════════════════════════════════ */

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

:root {
  /* Palette — Navy, White, Blue only */
  --navy-900: #0b1d35;
  --navy-800: #0f2744;
  --navy-700: #153356;
  --navy-600: #1b4070;
  --navy-500: #234f8a;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --green-wa: #1da85c;
  --green-wa-dark: #168c4e;

  /* Text */
  --text-dark: #1a2332;
  --text-body: #3a4a5c;
  --text-muted: #64748b;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: rgba(226, 232, 240, 0.85);

  /* Typography */
  --font: 'Manrope', -apple-system, sans-serif;

  /* Spacing */
  --section-py: 6.5rem;
  --max-w: 75rem;

  /* Shadows — layered for realism */
  --shadow-sm: 0 1px 3px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 4px 16px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 12px 40px rgba(2, 6, 23, 0.12);
  --shadow-xl: 0 20px 60px rgba(2, 6, 23, 0.15);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
  --shadow-blue-soft: 0 8px 32px rgba(37, 99, 235, 0.15);

  /* Radii */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { text-decoration: none; color: inherit; transition: var(--dur) var(--ease); }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/*═══════════════════════════════════════════
  TYPOGRAPHY
  ═══════════════════════════════════════════*/

.highlight {
  color: var(--blue-500);
  position: relative;
  display: inline;
}

.highlight--dark { color: var(--white); }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--blue-600);
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  transition: var(--dur) var(--ease);
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
}

.section-badge--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.section-badge--light::before {
  background: rgba(255, 255, 255, 0.8);
}

.section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

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

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.section-desc {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.section-desc--light {
  color: var(--text-on-dark-muted);
}

/*═══════════════════════════════════════════
  BUTTONS
  ═══════════════════════════════════════════*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  padding: 0.75rem 1.75rem;
  transition: all var(--dur) var(--ease);
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-lg { padding: 0.9rem 2.2rem; font-size: 0.95rem; }

.btn-cta {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-cta:hover {
  background: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(29, 168, 92, 0.3);
}

.btn-whatsapp:hover {
  background: var(--green-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 168, 92, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
  background: var(--blue-500);
  color: var(--white);
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/*═══════════════════════════════════════════
  SECTIONS & DIVIDERS
  ═══════════════════════════════════════════*/

.section {
  padding: var(--section-py) 1rem;
  position: relative;
}

.section-light { background: var(--white); }
.section-alt { background: var(--gray-50); }

.section-dark {
  background: var(--navy-700);
  color: var(--text-on-dark);
  position: relative;
  overflow: visible;
}

/* Force light text on dark sections */
.section-dark .section-title {
  color: var(--text-on-dark);
}

.section-dark .section-desc {
  color: var(--text-on-dark-muted);
}

.section-dark .about-text p {
  color: var(--text-on-dark-muted);
}

.section-dark .about-text strong {
  color: var(--text-on-dark);
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 500px at 15% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 100%),
              radial-gradient(ellipse 600px 400px at 85% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.section-accent {
  background: linear-gradient(160deg, var(--navy-900) 0%, #0c1a2e 40%, #162440 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-accent::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.section-accent::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.section-pulseo {
  background: var(--white);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800) 0%, #1a2d4a 50%, var(--navy-700) 100%);
  color: var(--text-on-dark);
}

.section-pulseo::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
  border-radius: 50%;
}

/* SVG Wave Dividers */
.wave-divider {
  display: block;
  width: 100%;
  height: 3.5rem;
  position: relative;
  z-index: 5;
  margin-top: -1px;
}

/* Thin separator line between accent sections */
.section-separator {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), rgba(37, 99, 235, 0.2), rgba(255,255,255,0.15), transparent);
  position: relative;
  z-index: 5;
}

.section-separator::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
}

/*═══════════════════════════════════════════
  HEADER
  ═══════════════════════════════════════════*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--dur) var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1.5rem;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo-img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
}

.logo--footer .logo-img {
  height: 2.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav a {
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--dur) var(--ease);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-600);
  transition: width var(--dur) var(--ease);
}

.nav a:hover { color: var(--blue-600); }
.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.phone-link {
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.phone-link:hover { color: var(--blue-600); }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--dur) var(--ease);
}

/*═══════════════════════════════════════════
  HERO
  ═══════════════════════════════════════════*/

.hero {
  min-height: 100vh;
  background: var(--navy-900);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

/* Geometric grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 20%, transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow--1 {
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

.hero-glow--2 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

.hero-glow--3 {
  width: 400px;
  height: 400px;
  top: 20%;
  left: 30%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 8rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--blue-400);
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.75rem;

  max-width: 14ch;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--text-on-dark-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 50ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: block;
  padding: 1rem;
  animation: heroBounce 2s var(--ease) infinite;
}

.hero-scroll a span {
  display: block;
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero-scroll a span::after {
  content: '';
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s ease infinite;
}

@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/*═══════════════════════════════════════════
  ABOUT
  ═══════════════════════════════════════════*/

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
  position: relative;
}

.stats-row::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 1px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  display: block;
  font-family: var(--font);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.about-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-blue-soft);
  transform: translateY(-3px);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/*═══════════════════════════════════════════
  FEATURED INSURANCE
  ═══════════════════════════════════════════*/

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

.featured-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-600);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}

.card-img {
  height: 10rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform var(--dur) var(--ease);
}

.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--navy-600) 100%);
}

.featured-card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--dur) var(--ease);
}

.card-icon svg, .card-svg {
  width: 1.75rem;
  height: 1.75rem;
}

.card-icon--auto {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-400);
}

.card-icon--residencial {
  background: rgba(96, 165, 250, 0.15);
  color: var(--blue-300);
}

.card-icon--vida {
  background: rgba(147, 197, 253, 0.15);
  color: var(--blue-200);
}

.card-icon--empresa {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-500);
}

.featured-card:hover .card-icon {
  transform: scale(1.05);
}

.featured-card h3 {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.featured-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all var(--dur) var(--ease);
}

.card-icon svg, .card-svg {
  width: 1.75rem;
  height: 1.75rem;
}

.card-icon--auto {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-400);
}

.card-icon--residencial {
  background: rgba(96, 165, 250, 0.15);
  color: var(--blue-300);
}

.card-icon--vida {
  background: rgba(147, 197, 253, 0.15);
  color: var(--blue-200);
}

.card-icon--empresa {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-500);
}

.featured-card:hover .card-icon {
  transform: scale(1.05);
}

.card-link {
  color: var(--blue-400);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--dur) var(--ease);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.card-link svg {
  transition: transform var(--dur) var(--ease);
}

.card-link:hover {
  color: var(--white);
  gap: 0.6rem;
}

.card-link:hover svg {
  transform: translateX(4px);
}

/*═══════════════════════════════════════════
  ALL INSURANCE GRID
  ═══════════════════════════════════════════*/

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

.seguro-item {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.seguro-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}

.seguro-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue-soft);
  border-color: transparent;
}

.seguro-item:hover::before {
  transform: scaleX(1);
}

.seguro-ico {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  color: var(--blue-500);
  transition: all var(--dur) var(--ease);
}

.seguro-ico svg { width: 100%; height: 100%; }

.seguro-item:hover .seguro-ico {
  color: var(--blue-600);
  transform: scale(1.1);
}

.seguro-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.seguro-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/*═══════════════════════════════════════════
  FILIAL SECTION
  ═══════════════════════════════════════════*/

.filial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.filial-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pin-ico {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.filial-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.filial-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  transition: all var(--dur) var(--ease);
}

.filial-contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.filial-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.filial-contact-whatsapp svg { color: var(--green-wa); }

.filial-map {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.filial-map iframe {
  width: 100%;
  height: 320px;
  display: block;
}

/*═══════════════════════════════════════════
  DIFERENCIAIS
  ═══════════════════════════════════════════*/

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

.diff-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--r-lg);
  text-align: center;
  transition: all var(--dur) var(--ease);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}

.diff-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-blue-soft);
  transform: translateY(-6px);
  border-color: transparent;
}

.diff-card:hover::before {
  transform: scaleX(1);
}

.diff-ico {
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
  color: var(--blue-600);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all var(--dur) var(--ease);
}

.diff-ico svg {
  width: 1.5rem;
  height: 1.5rem;
}

.diff-card:hover .diff-ico {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  transform: scale(1.05);
}

.diff-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.diff-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/*═══════════════════════════════════════════
  CONTEUDO EDUCATIVO
  ═══════════════════════════════════════════*/

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

.conteudo-card {
  background: var(--navy-600);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.conteudo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-400));
  transition: height var(--dur) var(--ease);
  border-radius: 0 0 2px 0;
}

.conteudo-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.conteudo-card:hover::before {
  height: 100%;
}

.conteudo-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-300);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  width: fit-content;
}

.conteudo-card h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.conteudo-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  flex-grow: 1;
}

.conteudo-link {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-400);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--dur) var(--ease);
}

.conteudo-link:hover {
  color: var(--white);
  gap: 0.6rem;
}

/*═══════════════════════════════════════════
  CONTATO
  ═══════════════════════════════════════════*/

.contato-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contato-form form {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  padding: 2.25rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.contato-form form::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 3rem;
  width: 60px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 1px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all var(--dur) var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M12 5l-7 7h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: var(--navy-700);
  color: var(--white);
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contato-whatsapp,
.contato-tel,
.contato-ig {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.1rem;
  border-radius: var(--r-md);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--dur) var(--ease);
}

.contato-whatsapp:hover {
  background: rgba(29, 168, 92, 0.1);
  border-color: rgba(29, 168, 92, 0.3);
}

.contato-tel:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.contato-ig:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.contato-whatsapp svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green-wa);
}

.contato-tel svg,
.contato-ig svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contato-whatsapp strong,
.contato-tel strong,
.contato-ig strong {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contato-whatsapp span,
.contato-tel span,
.contato-ig span {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.contato-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contato-address svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--blue-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.contato-address span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/*═══════════════════════════════════════════
  FOOTER
  ═══════════════════════════════════════════*/

.footer {
  background: var(--white);
  color: var(--text-muted);
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.footer-col h4 {
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}

.footer-col a:hover {
  color: var(--blue-600);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  padding: 0;
}

.footer-social a:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

.footer-social svg {
  width: 0.9rem;
  height: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-muted);
}

/*═══════════════════════════════════════════
  WHATSAPP FLOATING
  ═══════════════════════════════════════════*/

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(29, 168, 92, 0.35);
  z-index: 999;
  transition: all var(--dur) var(--ease);
  animation: pulseFloat 3s ease infinite;
}

.whatsapp-float svg {
  width: 1.6rem;
  height: 1.6rem;
}

.whatsapp-float:hover {
  background: var(--green-wa-dark);
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(29, 168, 92, 0.5);
  animation: none;
}

@keyframes pulseFloat {
  0%, 100% { box-shadow: 0 8px 20px rgba(29, 168, 92, 0.35); }
  50% { box-shadow: 0 8px 20px rgba(29, 168, 92, 0.5), 0 0 0 12px rgba(29, 168, 92, 0.1); }
}

/*═══════════════════════════════════════════
  REVEAL ANIMATIONS
  ═══════════════════════════════════════════*/

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

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/*═══════════════════════════════════════════
  COOKIE BAR
  ═══════════════════════════════════════════*/

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-900);
  padding: 1rem 1.5rem;
  z-index: 10000;
  display: none;
  animation: fadeInUp 0.4s ease forwards;
}

.cookie-bar.show { display: block; }

.cookie-bar-content {
  max-width: var(--max-w);
  margin: 0 auto 0.75rem;
}

.cookie-bar-content p {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.cookie-bar-content p a {
  color: var(--blue-400);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-bar-content p a:hover {
  color: var(--blue-200);
}

.cookie-bar-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-cookie {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.btn-cookie:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-cookie--primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

.btn-cookie--primary:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

/*═══════════════════════════════════════════
  PRIVACIDADE PAGE
  ═══════════════════════════════════════════*/

.privacidade-page {
  padding-top: 7rem;
  min-height: 100vh;
  background: var(--white);
}

.privacidade-page .container {
  max-width: 800px;
  padding: 2.5rem 1.5rem 5rem;
}

.privacidade-page h1 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.privacidade-page .updated-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.privacidade-page h2 {
  font-family: var(--font);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.privacidade-page p,
.privacidade-page li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.privacidade-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacidade-page ul li::marker {
  color: var(--blue-500);
}

.privacidade-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-600);
  font-weight: 600;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.privacidade-page .back-link:hover {
  color: var(--blue-500);
}

/*═══════════════════════════════════════════
  FAQ
  ═══════════════════════════════════════════*/

.faq-item {
  background: var(--navy-600);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  transition: all var(--dur) var(--ease);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.faq-question {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.faq-answer p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/*═══════════════════════════════════════════
  PAGINA SEGURO AUTO
  ═══════════════════════════════════════════*/

.hero--auto {
  background: radial-gradient(ellipse at center, #12243d 0%, var(--navy-900) 70%);
}

.about-icon-auto {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.about-icon-auto svg { width: 100%; height: 100%; }

/*═══════════════════════════════════════════
  REVEAL STAGGER
  ═══════════════════════════════════════════*/

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/*═══════════════════════════════════════════
  RESPONSIVE
  ═══════════════════════════════════════════*/

@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seguros-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .filial-map iframe {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 4.5rem;
  }

  .cookie-bar-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-cookie {
    width: 100%;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .menu-toggle {
    display: flex;
  }

  .phone-link {
    display: none;
  }

  .header-inner {
    height: 4rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

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

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

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

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

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

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

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

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

@media (max-width: 480px) {
  .seguros-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

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

  .hero-content {
    padding: 2rem 1rem 4rem;
  }
}
