/* MissionMaison — custom.css */

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

:root {
  --color-primary: #DC2626;
  --color-primary-dark: #B91C1C;
  --color-secondary: #1E293B;
  --color-accent: #F97316;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #0F172A;
  --color-muted: #64748B;
  --color-border: #E2E8F0;
}

/* Typographie */
.font-display,
h1, h2, h3, h4, h5, h6,
.site-header .text-xl,
[class*="font-display"] {
  font-family: 'Oswald', sans-serif;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Animations scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }

/* Hero entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim-1 { animation: heroFadeUp 0.7s ease forwards; }
.hero-anim-2 { animation: heroFadeUp 0.7s 0.15s ease both; }
.hero-anim-3 { animation: heroFadeUp 0.7s 0.3s ease both; }
.hero-anim-4 { animation: heroFadeUp 0.7s 0.45s ease both; }

/* Bouton CTA pulsant */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}
.btn-urgence {
  animation: ctaPulse 2s infinite;
}

/* Dropdown menu */
.dropdown-menu {
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* Accordéon */
.faq-icon {
  transition: transform 0.25s ease;
}

/* Sticky header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
