/* Thème Terre de Lumière — Gestion de crise - Version moderne */

:root {
  /* Palette de couleurs émeraude moderne et sombre */
  --color-primary: #10B981; /* Émeraude vif */
  --color-primary-dark: #059669; /* Émeraude foncé */
  --color-primary-light: #34D399; /* Émeraude clair */
  --color-secondary: #1F2937; /* Gris anthracite très foncé */
  --color-secondary-light: #374151; /* Gris anthracite */
  --color-accent: #F59E0B; /* Ambre doré */
  --color-accent-dark: #D97706; /* Ambre foncé */
  --color-text: #F9FAFB; /* Blanc cassé */
  --color-text-muted: #D1D5DB; /* Gris clair */
  --color-text-dark: #111827; /* Noir profond */
  --color-bg: #111827; /* Fond principal sombre */
  --color-bg-light: #1F2937; /* Fond secondaire */
  --color-bg-card: #374151; /* Fond des cartes */
  --color-border: #4B5563; /* Bordures */
  --color-border-light: #6B7280; /* Bordures claires */
  --color-alert-bg: #DC2626; /* Rouge pour alertes */
  --color-success: #10B981; /* Vert succès */
  --color-warning: #F59E0B; /* Orange avertissement */
  
  /* Ombres et effets */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  
  /* Rayons de bordure */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Largeur maximale */
  --maxw: 1200px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Préchargement des polices */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXDTzYhQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-display: swap;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-display: swap;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Liens */
a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Boutons */
button {
  font: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn.secondary {
  background: var(--color-bg-card);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn.secondary:hover {
  background: var(--color-secondary-light);
  border-color: var(--color-primary);
  text-decoration: none;
}

.btn.gold {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.topbar-alert {
  background: linear-gradient(135deg, var(--color-alert-bg), #B91C1C);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.topbar-alert .container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  justify-content: space-between;
}

.topbar-alert .cta {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.topbar-alert .cta:hover {
  background: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  position: relative;
}

/* Bouton hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: var(--shadow-md);
  position: relative;
}

.brand-logo::after {
  content: '✨';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  transition: var(--transition);
}

.nav-menu a {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--color-bg-card);
  color: var(--color-primary-light);
  text-decoration: none;
}

/* Styles pour mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5rem var(--space-lg) var(--space-lg);
    gap: 0;
    z-index: 1000;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu a {
    padding: var(--space-lg);
    border-radius: var(--radius);
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    font-size: 1.1rem;
  }
  
  .nav-menu a:last-child {
    border-bottom: none;
    margin-top: var(--space-lg);
    background: var(--color-primary);
    color: white;
    text-align: center;
    font-weight: 600;
  }
  
  .nav-menu a:last-child:hover {
    background: var(--color-primary-dark);
  }
  
  /* Overlay pour fermer le menu */
  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    transition: left 0.3s ease;
  }
  
  .nav-menu.open::before {
    left: 0;
  }
}

.cta-hotline {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.cta-hotline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-visual {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.hero h1 {
  background: linear-gradient(135deg, var(--color-text), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.hero .container {
  position: relative;
  z-index: 2;
  margin-top: var(--space-xl);
}

/* Cards */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.card h3 {
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Sections */
section {
  padding: var(--space-3xl) 0;
}

.actions-section {
  padding-bottom: var(--space-2xl);
}

.faits-section {
  padding-top: var(--space-2xl);
}

section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

/* Produits section */
.products-section {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-xl) auto;
  max-width: 800px;
  text-align: center;
}

.products-section h2 {
  color: var(--color-primary-light);
  margin-bottom: var(--space-xl);
}

.lot-checker {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.lot-checker input {
  flex: 1;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.lot-checker input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

#result {
  margin-top: var(--space-lg);
  text-align: center;
}

/* Grid actions */
.grid-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

/* Accordion */
.accordion {
  display: grid;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.accordion .item {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  transition: var(--transition);
}

.accordion .item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.accordion .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: var(--transition-fast);
}

.accordion .head:hover {
  background: var(--color-bg-light);
}

.accordion .head h3 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--color-text);
}

.accordion .head span {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 300;
  transition: var(--transition-fast);
}

.accordion .item.open .head span {
  transform: rotate(45deg);
}

.accordion .body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

.accordion .body-inner {
  padding: var(--space-lg);
}

.accordion .item.open .body {
  max-height: 600px;
}

/* FAQ et Newsletter */
.faq-search {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.faq-search input {
  flex: 1;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.faq-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.faq-search .btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: var(--space-md) var(--space-lg);
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.faq-search .btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Newsletter spécifique dans le footer */
footer .faq-search {
  max-width: 100%;
  margin-bottom: 0;
}

footer .faq-search input {
  background: var(--color-bg);
  border-color: var(--color-border-light);
}

footer .faq-search .btn {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-secondary);
  margin-top: var(--space-3xl);
}

.site-footer .container {
  padding: var(--space-2xl) var(--space-lg);
}

.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.site-footer h4 {
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.site-footer p,
.site-footer li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.site-footer ul {
  list-style: none;
}

.site-footer a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.site-footer a:hover {
  color: var(--color-primary-light);
}

.site-footer .legal {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Utilitaires */
.muted {
  color: var(--color-text-muted);
}

.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-primary);
  color: white;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  /* Hero section mobile */
  .hero {
    min-height: 50vh;
    padding: var(--space-lg) 0;
  }
  
  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: var(--space-md);
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
  }
  
  /* Topbar mobile */
  .topbar-alert .container {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    padding: var(--space-md);
  }
  
  .topbar-alert .cta {
    margin-left: 0;
    align-self: center;
  }
  
  /* Produits section mobile */
  .lot-checker {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .lot-checker input {
    font-size: 1rem;
    padding: var(--space-md);
  }
  
  /* Grid actions mobile */
  .grid-actions {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .grid-actions .card {
    padding: var(--space-lg);
  }
  
  /* Timeline mobile */
  .timeline {
    padding-left: 1.5rem;
  }
  
  .timeline::before {
    left: 0.75rem;
  }
  
  .timeline-entry {
    padding-left: var(--space-lg);
  }
  
  .timeline-marker {
    left: -1.25rem;
    width: 0.75rem;
    height: 0.75rem;
  }
  
  .timeline-content {
    padding: var(--space-lg);
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .timeline-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .timeline-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Footer mobile */
  .site-footer .cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }
  
  /* FAQ mobile */
  .faq-search {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .faq-search .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-md);
  }
  
  .accordion .head {
    padding: var(--space-md);
  }
  
  .accordion .head h3 {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* Cards mobile */
  .card {
    padding: var(--space-lg);
  }
  
  .card h3 {
    font-size: 1.125rem;
  }
  
  /* Page header mobile */
  .page-header {
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-visual {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero h1 {
    font-size: clamp(1.25rem, 8vw, 2rem);
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .card h3 {
    font-size: 1rem;
  }
  
  .topbar-alert {
    font-size: 0.8rem;
  }
  
  .topbar-alert .container {
    padding: var(--space-sm) var(--space-md);
  }
  
  .brand-name {
    font-size: 1.1rem;
  }
  
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  
  .mobile-menu-toggle {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .hamburger-line {
    height: 2px;
  }
  
  /* Timeline très petit écran */
  .timeline {
    padding-left: 1rem;
  }
  
  .timeline::before {
    left: 0.5rem;
  }
  
  .timeline-entry {
    padding-left: var(--space-md);
  }
  
  .timeline-marker {
    left: -0.875rem;
    width: 0.5rem;
    height: 0.5rem;
  }
  
  .timeline-content {
    padding: var(--space-md);
  }
  
  .timeline-content h3 {
    font-size: 1.1rem;
  }
  
  .timeline-type {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
  
  /* Formulaires très petit écran */
  .contact-form-grid {
    grid-template-columns: 1fr !important;
  }
  
  .faq-search input,
  .lot-checker input {
    font-size: 16px; /* Évite le zoom sur iOS */
  }
  
  /* Boutons très petit écran */
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  
  .cta-hotline {
    font-size: 0.9rem;
    padding: var(--space-sm) var(--space-md);
  }
  
  /* Footer très petit écran */
  .site-footer .container {
    padding: var(--space-lg) var(--space-md);
  }
  
  .site-footer h4 {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* États de chargement */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

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

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding: var(--space-2xl) 0;
}

.page-header h1 {
  background: linear-gradient(135deg, var(--color-text), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

/* Timeline moderne */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

.timeline-entry {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline-marker {
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.timeline-entry.future .timeline-marker {
  background: var(--color-border);
  animation: pulse 2s infinite;
}

.timeline-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.timeline-type {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-type.conference {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-primary);
}

.timeline-type.recall {
  background: rgba(220, 38, 38, 0.2);
  color: var(--color-alert-bg);
}

.timeline-type.crisis {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-accent);
}

.timeline-type.upcoming {
  background: rgba(107, 114, 128, 0.2);
  color: var(--color-text-muted);
}

.timeline-content h3 {
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
  font-weight: 600;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.timeline-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.timeline-list li:last-child {
  border-bottom: none;
}

.timeline-actions {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.timeline-summary {
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.timeline-notification {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-align: center;
  margin-top: var(--space-md);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}