/* ============================================================
   FUSCA AZUL — style.css
   Paleta: Azul Royal, Azul Celeste, Azul Marinho + Branco + Dourado
   Mobile-first | Sem frameworks externos
   ============================================================ */

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

:root {
  /* Paleta de azuis */
  --blue-900: #0D1B3E;
  --blue-800: #0D47A1;
  --blue-700: #1565C0;
  --blue-600: #1976D2;
  --blue-500: #1E88E5;
  --blue-400: #42A5F5;
  --blue-300: #90CAF9;
  --blue-200: #BBDEFB;
  --blue-100: #E3F2FD;

  /* Dourado / Amarelo */
  --gold-500: #FFD600;
  --gold-400: #FFEE58;
  --gold-300: #FFF59D;

  /* Neutros */
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-400: #BDBDBD;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;

  /* Fundo escuro */
  --dark-bg: #0a1628;
  --dark-card: #0e1f3d;
  --dark-border: rgba(66, 165, 245, 0.18);

  /* Tipografia */
  --font-brand: 'Pacifico', cursive;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(13, 71, 161, 0.15);
  --shadow-md: 0 8px 32px rgba(13, 71, 161, 0.22);
  --shadow-lg: 0 20px 60px rgba(13, 71, 161, 0.35);
  --shadow-gold: 0 4px 20px rgba(255, 214, 0, 0.25);

  /* Espaçamento */
  --section-padding: clamp(64px, 10vw, 120px);
  --container-max: 1200px;

  /* Transições */
  --transition-base: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Bordas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--blue-700);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-500);
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 40px);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--blue-900);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 214, 0, 0.45);
}

.btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--blue-300);
  color: var(--blue-300);
  transform: translateY(-3px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(66, 165, 245, 0.15);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.section-title .highlight {
  color: var(--gold-500);
  position: relative;
  display: inline-block;
}

.section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--blue-300);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(16px, 5vw, 48px);
  transition: all var(--transition-smooth);
}

/* Estado com scroll */
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 14px clamp(16px, 5vw, 48px);
  box-shadow: var(--shadow-md);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 1.4rem;
  color: var(--white);
}

.navbar__logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(255, 214, 0, 0.5));
}

.navbar__logo-text {
  background: linear-gradient(135deg, var(--blue-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.navbar__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 4px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--white);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__link--cta {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-weight: 700;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.4);
}

.navbar__link--cta::after {
  display: none;
}

.navbar__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 101, 192, 0.6);
  color: var(--white);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(16px, 5vw, 48px) 80px;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(21, 101, 192, 0.35) 0%,
    transparent 60%
  ),
  linear-gradient(
    180deg,
    var(--blue-900) 0%,
    var(--dark-bg) 60%,
    #06101f 100%
  );
}

/* Círculos decorativos animados */
.hero__bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: float 8s ease-in-out infinite;
}

.circle--1 {
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: radial-gradient(circle, var(--blue-400), transparent);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}

.circle--2 {
  width: clamp(200px, 35vw, 450px);
  height: clamp(200px, 35vw, 450px);
  background: radial-gradient(circle, var(--blue-600), transparent);
  bottom: 5%;
  left: -8%;
  animation-delay: -3s;
  opacity: 0.09;
}

.circle--3 {
  width: clamp(150px, 25vw, 300px);
  height: clamp(150px, 25vw, 300px);
  background: radial-gradient(circle, var(--gold-500), transparent);
  top: 40%;
  left: 15%;
  animation-delay: -5s;
  opacity: 0.05;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

/* Conteúdo do Hero */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__title {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--white);
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.4s forwards;
  text-shadow:
    0 0 40px rgba(21, 101, 192, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero__title--highlight {
  display: block;
  background: linear-gradient(
    135deg,
    var(--blue-300) 0%,
    var(--blue-400) 40%,
    var(--gold-500) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(66, 165, 245, 0.4));
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--blue-200);
  max-width: 480px;
  margin: 24px auto 40px;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.6s forwards;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.8s forwards;
}

/* SVG do Fusca no Hero */
.hero__car {
  position: relative;
  z-index: 2;
  width: min(90vw, 540px);
  margin-top: 40px;
  animation: carFloat 4s ease-in-out infinite;
  filter:
    drop-shadow(0 20px 40px rgba(13, 71, 161, 0.6))
    drop-shadow(0 0 60px rgba(66, 165, 245, 0.2));
  opacity: 0;
  animation: carFadeIn 1.2s ease 1s forwards, carFloat 4s ease-in-out 2.2s infinite;
}

@keyframes carFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes carFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

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

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    180deg,
    #06101f 0%,
    var(--dark-card) 50%,
    #06101f 100%
  );
  position: relative;
  overflow: hidden;
}

.sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-600), transparent);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

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

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

.sobre__card {
  background: linear-gradient(135deg, rgba(13,71,161,0.1), rgba(14,31,61,0.8));
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.sobre__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66,165,245,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-lg);
}

.sobre__card:hover {
  transform: translateY(-8px);
  border-color: rgba(66, 165, 245, 0.4);
  box-shadow: var(--shadow-lg);
}

.sobre__card:hover::before {
  opacity: 1;
}

.sobre__card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.sobre__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: 12px;
}

.sobre__card p {
  color: var(--blue-200);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Stats */
.sobre__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.stat-item {
  text-align: center;
  padding: clamp(20px, 3vw, 32px);
  background: rgba(21, 101, 192, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  transition: all var(--transition-smooth);
}

.stat-item:hover {
  background: rgba(21, 101, 192, 0.16);
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--blue-300);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* ============================================================
   GALERIA
   ============================================================ */
.galeria {
  padding: var(--section-padding) 0;
  background: var(--dark-bg);
  position: relative;
}

.galeria::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* Filtros */
.galeria__filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filtro-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  border: 2px solid var(--dark-border);
  color: var(--blue-300);
  background: transparent;
  transition: all var(--transition-base);
}

.filtro-btn:hover,
.filtro-btn.active {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.4);
  transform: translateY(-2px);
}

/* Grid da galeria */
.galeria__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.galeria__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.galeria__card:hover {
  transform: translateY(-10px);
  border-color: rgba(66, 165, 245, 0.5);
  box-shadow: var(--shadow-lg);
}

.galeria__card.hidden {
  display: none;
}

/* Imagens da galeria (gradientes que simulam carros) */
.galeria__card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.galeria__card-img--1 {
  background:
    radial-gradient(ellipse at 60% 70%, rgba(21,101,192,0.5) 0%, transparent 60%),
    linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1E88E5 70%, #0a1628 100%);
}

.galeria__card-img--2 {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(79,195,247,0.4) 0%, transparent 60%),
    linear-gradient(135deg, #01579B 0%, #0288D1 40%, #4FC3F7 70%, #0a1628 100%);
}

.galeria__card-img--3 {
  background:
    radial-gradient(ellipse at 55% 65%, rgba(30,136,229,0.5) 0%, transparent 60%),
    linear-gradient(135deg, #0D47A1 0%, #1E88E5 50%, #42A5F5 80%, #0a1628 100%);
}

.galeria__card-img--4 {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(13,71,161,0.6) 0%, transparent 55%),
    linear-gradient(135deg, #01022c 0%, #0D47A1 50%, #1565C0 80%, #0a1628 100%);
}

.galeria__card-img--5 {
  background:
    radial-gradient(ellipse at 60% 65%, rgba(129,212,250,0.4) 0%, transparent 60%),
    linear-gradient(135deg, #0277BD 0%, #0288D1 30%, #81D4FA 70%, #0a1628 100%);
}

.galeria__card-img--6 {
  background:
    radial-gradient(ellipse at 45% 65%, rgba(2,136,209,0.5) 0%, transparent 60%),
    linear-gradient(135deg, #004D7A 0%, #0288D1 40%, #29B6F6 75%, #0a1628 100%);
}

/* Mini Fusca SVG inline nos cards */
.galeria__card-img::before {
  content: '🚗';
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(3rem, 8vw, 5rem);
  filter: drop-shadow(0 8px 20px rgba(0,0,80,0.5));
  transition: transform var(--transition-smooth);
  z-index: 1;
}

.galeria__card:hover .galeria__card-img::before {
  transform: translateX(-50%) scale(1.12) translateY(-4px);
}

/* Overlay */
.galeria__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,22,40,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 2;
}

.galeria__card:hover .galeria__overlay {
  opacity: 1;
}

.galeria__tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 214, 0, 0.2);
  border: 1px solid rgba(255, 214, 0, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 6px;
  width: fit-content;
}

.galeria__overlay p {
  color: var(--blue-200);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.galeria__zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.galeria__zoom:hover {
  background: var(--blue-700);
  border-color: var(--blue-500);
}

/* Card body */
.galeria__card-body {
  padding: 20px;
}

.galeria__card-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.galeria__card-body p {
  font-size: 0.875rem;
  color: var(--blue-300);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 16px;
}

.galeria__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cor-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--blue-200);
  font-weight: 500;
}

.cor-tag::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cor);
  box-shadow: 0 0 6px var(--cor);
  flex-shrink: 0;
}

.ano-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 1px;
}

/* Modal da galeria */
.galeria__modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 30, 0.97);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.galeria__modal.open {
  display: flex;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.galeria__modal-content {
  position: relative;
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(255,255,255,0.2);
}

.modal-close:hover {
  background: var(--blue-700);
  transform: rotate(90deg);
}

.modal-car-display {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  background: linear-gradient(135deg, var(--dark-card), var(--blue-800));
  border: 1px solid var(--dark-border);
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
}

.modal-caption {
  color: var(--blue-300);
  font-size: 1rem;
  font-style: italic;
}

/* ============================================================
   CURIOSIDADES (TIMELINE)
   ============================================================ */
.curiosidades {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    180deg,
    #06101f 0%,
    var(--dark-card) 50%,
    #06101f 100%
  );
  position: relative;
  overflow: hidden;
}

.curiosidades::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-600), transparent);
}

/* Linha central da timeline */
.curiosidades__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.curiosidades__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--blue-600) 10%,
    var(--blue-600) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}

.timeline-item[data-side="left"] {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item[data-side="right"] {
  flex-direction: row;
  text-align: left;
}

/* Ícone da timeline */
.timeline-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border: 3px solid var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(66, 165, 245, 0.35);
  transition: all var(--transition-smooth);
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(66, 165, 245, 0.6);
}

/* Card da timeline */
.timeline-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(13,71,161,0.1), rgba(14,31,61,0.85));
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66,165,245,0.05), transparent);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.timeline-item:hover .timeline-card {
  border-color: rgba(66, 165, 245, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.timeline-item:hover .timeline-card::before {
  opacity: 1;
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
  padding: 3px 10px;
  background: rgba(255, 214, 0, 0.1);
  border-radius: var(--radius-full);
}

.timeline-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--blue-200);
  font-weight: 300;
  line-height: 1.8;
}

/* ============================================================
   BOTAO BUZINA (EASTER EGG)
   ============================================================ */
.buzina-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(21, 101, 192, 0.5),
    0 0 0 0 rgba(66, 165, 245, 0);
  transition: all var(--transition-smooth);
  overflow: hidden;
  animation: pulseRing 3s ease-in-out infinite;
}

.buzina-fab:hover {
  transform: scale(1.12);
  box-shadow:
    0 12px 32px rgba(21, 101, 192, 0.7),
    0 0 0 8px rgba(66, 165, 245, 0.15);
}

.buzina-fab:active {
  transform: scale(0.95);
}

.buzina-fab__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.buzina-fab__label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-100);
  margin-top: 2px;
}

.buzina-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  opacity: 0;
}

.buzina-ripple.animate {
  animation: rippleOut 0.6s ease-out forwards;
}

@keyframes rippleOut {
  to { transform: scale(2.5); opacity: 0; }
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 8px 24px rgba(21,101,192,0.5), 0 0 0 0 rgba(66,165,245,0.4); }
  50%       { box-shadow: 0 8px 24px rgba(21,101,192,0.5), 0 0 0 14px rgba(66,165,245,0); }
}

/* Mensagem da buzina */
.buzina-toast {
  position: fixed;
  bottom: 110px;
  right: 32px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--dark-border);
  z-index: 901;
  animation: toastIn 0.3s ease;
  white-space: nowrap;
}

.buzina-toast.hide {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(10px); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-bg);
  position: relative;
  padding-bottom: 0;
}

.footer__wave {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.footer__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.footer .container {
  padding-top: 64px;
  padding-bottom: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

@media (min-width: 960px) {
  .footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.8fr;
    gap: 32px;
  }
}

/* Brand */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer__logo span:first-child {
  filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.4));
}

.footer__logo-text {
  background: linear-gradient(135deg, var(--blue-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__tagline {
  color: var(--blue-300);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.15);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--blue-700);
  border-color: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.4);
}

/* Links */
.footer__links h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dark-border);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: var(--blue-200);
  font-size: 0.9rem;
  font-weight: 300;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__links a::before {
  content: '→';
  color: var(--gold-500);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-base);
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter */
.footer__newsletter h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dark-border);
}

.footer__newsletter p {
  font-size: 0.875rem;
  color: var(--blue-200);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 400px) {
  .newsletter-form {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.newsletter-input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--dark-border);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: all var(--transition-base);
}

.newsletter-input::placeholder {
  color: var(--blue-400);
}

.newsletter-input:focus {
  border-color: var(--blue-500);
  background: rgba(66, 165, 245, 0.05);
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.15);
}

.newsletter-success {
  display: none;
  color: #A5D6A7;
  font-size: 0.875rem;
  margin-top: 8px;
}

.newsletter-success.visible {
  display: block;
  animation: fadeInUp 0.5s ease;
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid var(--dark-border);
  padding: 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--blue-300);
  font-weight: 300;
}

.footer__credits {
  color: rgba(144, 202, 249, 0.45) !important;
  font-size: 0.75rem !important;
}

/* ============================================================
   RESPONSIVO — MOBILE
   ============================================================ */
@media (max-width: 767px) {
  /* Navbar mobile */
  .navbar__nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    font-size: 1.4rem;
  }

  .navbar__nav.open {
    display: flex;
    animation: menuOpen 0.3s ease;
  }

  @keyframes menuOpen {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .navbar__hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  /* Timeline mobile — layout vertical */
  .curiosidades__timeline::before {
    left: 28px;
  }

  .timeline-item,
  .timeline-item[data-side="left"],
  .timeline-item[data-side="right"] {
    flex-direction: row;
    text-align: left;
  }

  .buzina-fab {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .buzina-toast {
    bottom: 90px;
    right: 12px;
    left: 12px;
    text-align: center;
  }
}

/* ============================================================
   EFEITOS ESPECIAIS & UTILITARIOS
   ============================================================ */

/* Estrelas de fundo (geradas via JS) */
.star {
  position: fixed;
  width: 2px;
  height: 2px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--duration, 3s) var(--delay, 0s) ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: var(--brightness, 0.6); transform: scale(1.3); }
}

/* Linha de progresso de scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
  z-index: 1001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Glow nas seções */
.sobre::after,
.galeria::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(21,101,192,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sobre::after {
  bottom: -200px;
  right: -200px;
}

.galeria::after {
  top: -200px;
  left: -200px;
}

/* Seleção de texto */
::selection {
  background: var(--blue-700);
  color: var(--white);
}
