/* =========================================================================
   COMMOCAFÉ — FEUILLE DE STYLE PRINCIPALE
   Le média où le football se déguste autour d'un café.
   -------------------------------------------------------------------------
   Sommaire :
   1. Variables & réinitialisation
   2. Typographie
   3. Éléments génériques (boutons, container, titres)
   4. Ligne de scan animée (signature visuelle)
   5. En-tête / Navigation
   6. Hero
   7. À propos
   8. Émissions
   9. Équipe
   10. Devenir partenaire
   11. Contact
   12. Footer
   13. Animations & révélations au scroll
   14. Responsive
   ========================================================================= */


/* =========================================================================
   1. VARIABLES & RÉINITIALISATION
   ========================================================================= */
:root {
  /* ===========================
     COULEURS PRINCIPALES
     (reprises du logo COMMOCAFÉ : noir / vert / blanc / beige café)
     MODIFIER LES COULEURS ICI
  =========================== */
  --c-black:        #050706;   /* Couleur du fond — noir profond */
  --c-black-soft:   #0b0f0d;   /* Fond des sections légèrement plus claires */
  --c-panel:        #101512;   /* Fond des cartes / panneaux */
  --c-panel-border: rgba(255, 255, 255, 0.08);

  --c-green:        #1f8a4c;   /* Vert principal (logo) */
  --c-green-bright: #3ee87f;   /* Vert lumineux — halos, accents, hover */
  --c-green-deep:   #0c4a29;   /* Vert profond — dégradés */

  --c-beige:        #d9c8a3;   /* Beige café — touches chaleureuses */
  --c-cream:        #f3ede0;

  --c-white:        #f6f7f5;
  --c-white-dim:    rgba(246, 247, 245, 0.7);
  --c-white-faint:  rgba(246, 247, 245, 0.62);

  /* Typographie */
  --font-display: 'Anton', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Rythme */
  --section-pad: 140px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* , *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden; /* aucun débordement horizontal */
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

svg { display: block; }

::selection {
  background: var(--c-green);
  color: var(--c-black);
}

:focus-visible {
  outline: 2px solid var(--c-green-bright);
  outline-offset: 3px;
}

/* Lien d'accès rapide (skip link) — visible uniquement au focus clavier */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--c-green-bright);
  color: var(--c-black);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 16px;
}


/* =========================================================================
   2. TYPOGRAPHIE
   ========================================================================= */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-green-bright);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  color: var(--c-white);
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--c-white-dim);
  font-size: 1.08rem;
  max-width: 560px;
  font-weight: 400;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.lead {
  font-size: 1.2rem;
  color: var(--c-white);
  font-weight: 500;
  margin-bottom: 18px;
}


/* =========================================================================
   3. ÉLÉMENTS GÉNÉRIQUES
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--c-panel-border);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

/* Boutons — réseaux sociaux du hero (verre + halo vert au survol) */
.btn-social {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--c-white);
}

.btn-social:hover {
  border-color: var(--c-green-bright);
  box-shadow: 0 0 0 1px var(--c-green-bright) inset, 0 12px 34px -10px rgba(62, 232, 127, 0.45);
  color: var(--c-green-bright);
}

/* Bouton principal plein (CTA partenaire) */
.btn-primary {
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-deep) 100%);
  color: var(--c-white);
  border: none;
  box-shadow: 0 14px 40px -12px rgba(31, 138, 76, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 18px 48px -10px rgba(62, 232, 127, 0.6);
}

/* Cartes génériques */
.card {
  background: linear-gradient(180deg, var(--c-panel) 0%, rgba(16, 21, 18, 0.6) 100%);
  border: 1px solid var(--c-panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(62, 232, 127, 0.4);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 40px -12px rgba(62, 232, 127, 0.25);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.card-body { padding: 28px; }

.card-title {
  font-size: 1.35rem;
  color: var(--c-white);
  margin: 6px 0 10px;
  text-transform: none;
}

.card-desc {
  color: var(--c-white-dim);
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-green-bright);
  transition: gap 0.3s var(--ease);
}

.card-link:hover { gap: 12px; }


/* =========================================================================
   4. LIGNE DE SCAN ANIMÉE — signature visuelle du site
   Une fine ligne verte façon "ticker" de plateau télé qui traverse
   discrètement toute la page, rappelant le direct et le vestiaire média.
   ========================================================================= */
.scan-line {
  position: fixed;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(62, 232, 127, 0.05), transparent);
  pointer-events: none;
  z-index: 2;
  animation: scan-move 14s linear infinite;
}

@keyframes scan-move {
  0%   { left: -30%; }
  100% { left: 130%; }
}


/* =========================================================================
   5. EN-TÊTE / NAVIGATION
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(5, 7, 6, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--c-panel-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
}

.nav-logo img {
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 38px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-white-dim);
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--c-green-bright);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--c-white);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Bouton hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

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


/* =========================================================================
   6. HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% -10%, rgba(31, 138, 76, 0.22) 0%, transparent 55%), var(--c-black);
}

/* Halo lumineux vert de fond */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(62, 232, 127, 0.16) 0%, rgba(31, 138, 76, 0.05) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: hero-pulse 8s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* Grille discrète façon terrain / plateau */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 28px;
}

.hero-logo-halo {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(62, 232, 127, 0.5) 0%, rgba(62, 232, 127, 0.12) 45%, transparent 72%);
  border-radius: 50%;
  filter: blur(6px);
  animation: halo-breathe 4.5s ease-in-out infinite;
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

.hero-logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
  animation: logo-float 6s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(3rem, 9vw, 6.4rem);
  color: var(--c-white);
  letter-spacing: 0.01em;
}

.hero-title span {
  color: var(--c-green-bright);
  text-shadow: 0 0 40px rgba(62, 232, 127, 0.55);
}

.hero-slogan {
  margin-top: 18px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--c-beige);
  max-width: 640px;
}

.hero-text {
  margin-top: 18px;
  max-width: 560px;
  color: var(--c-white-dim);
  font-size: 1.02rem;
}

.hero-buttons {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Repère de défilement */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(246, 247, 245, 0.35);
  border-radius: 20px;
  z-index: 2;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--c-green-bright);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-cue-move 2s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0%   { top: 8px; opacity: 1; }
  70%  { top: 20px; opacity: 0; }
  100% { top: 20px; opacity: 0; }
}


/* =========================================================================
   7. À PROPOS
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--c-green-bright);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--c-white-faint);
  margin-top: 4px;
}


/* =========================================================================
   8. ÉMISSIONS
   ========================================================================= */
.emissions {
  background: linear-gradient(180deg, var(--c-black) 0%, var(--c-black-soft) 100%);
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-green-deep), #06110b);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(5, 7, 6, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 232, 127, 0.4);
  color: var(--c-green-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Lecteur vidéo YouTube intégré (carte émission) — ratio 16:9,
   parfaitement responsive du mobile au 4K, avec bouton plein écran natif */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.card-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-beige);
}


/* =========================================================================
   9. ÉQUIPE
   ========================================================================= */
.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-green-deep), #06110b);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.card:hover .team-photo img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-green-bright);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}


/* =========================================================================
   10. DEVENIR PARTENAIRE
   ========================================================================= */
.partner {
  position: relative;
  background: var(--c-black-soft);
  text-align: center;
  overflow: hidden;
}

.partner-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(31, 138, 76, 0.28) 0%, transparent 68%);
  pointer-events: none;
}

.partner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 36px 0 44px;
  max-width: 720px;
}

.partner-tags span {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--c-panel-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-white-dim);
}


/* =========================================================================
   11. CONTACT
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
  font-weight: 600;
}

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 232, 127, 0.1);
  border: 1px solid rgba(62, 232, 127, 0.25);
  border-radius: 50%;
  color: var(--c-green-bright);
}

.contact-list a {
  transition: color 0.3s var(--ease);
}

.contact-list a:hover {
  color: var(--c-green-bright);
}

.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.contact-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-panel-border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-socials a:hover {
  border-color: var(--c-green-bright);
  color: var(--c-green-bright);
  transform: translateY(-3px);
}

/* Formulaire de contact */
.contact-form-wrap {
  background: linear-gradient(180deg, var(--c-panel) 0%, rgba(16, 21, 18, 0.6) 100%);
  border: 1px solid var(--c-panel-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-white-faint);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-panel-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--c-white-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-green-bright);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(62, 232, 127, 0.15);
}

.form-submit {
  align-self: flex-start;
  margin-top: 6px;
  border: none;
}


/* =========================================================================
   12. FOOTER
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--c-panel-border);
  padding: 48px 0 30px;
  background: var(--c-black-soft);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-logo img { border-radius: 50%; }

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--c-white-faint);
  transition: color 0.3s var(--ease);
}

.footer-socials a:hover { color: var(--c-green-bright); }

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--c-white-faint);
  transition: color 0.3s var(--ease);
}

.footer-legal a:hover { color: var(--c-white); }

.footer-copy {
  text-align: center;
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--c-white-faint);
}


/* =========================================================================
   13. ANIMATIONS & RÉVÉLATIONS AU SCROLL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Décalage progressif pour les grilles de cartes */
.card-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.hero-content .reveal:nth-child(1) { transition-delay: 0s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero-content .reveal:nth-child(5) { transition-delay: 0.4s; }
.hero-content .reveal:nth-child(6) { transition-delay: 0.5s; }

/* Le hero s'affiche immédiatement au chargement (pas besoin de scroller) */
.hero .reveal { opacity: 1; transform: none; animation: hero-enter 0.9s var(--ease) backwards; }
.hero-content .reveal:nth-child(1) { animation-delay: 0s; }
.hero-content .reveal:nth-child(2) { animation-delay: 0.15s; }
.hero-content .reveal:nth-child(3) { animation-delay: 0.28s; }
.hero-content .reveal:nth-child(4) { animation-delay: 0.4s; }
.hero-content .reveal:nth-child(5) { animation-delay: 0.52s; }
.hero-content .reveal:nth-child(6) { animation-delay: 0.64s; }

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


/* =========================================================================
   14. PAGES LÉGALES
   (mentions-legales.html, politique-confidentialite.html, cgu.html,
   politique-cookies.html)
   ========================================================================= */
.legal-hero {
  padding: 180px 0 70px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -10%, rgba(31, 138, 76, 0.18) 0%, transparent 55%), var(--c-black);
  border-bottom: 1px solid var(--c-panel-border);
}

.legal-hero .eyebrow { justify-content: center; display: flex; }

.legal-updated {
  color: var(--c-white-faint);
  font-size: 0.9rem;
  margin-top: 10px;
}

.legal-content {
  padding: 70px 0 var(--section-pad);
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-white);
  margin: 46px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--c-panel-border);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h2 span {
  color: var(--c-green-bright);
  margin-right: 10px;
}

.legal-content p {
  color: var(--c-white-dim);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  color: var(--c-white-dim);
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green-bright);
}

.legal-content strong { color: var(--c-white); }

.legal-content a.inline-link {
  color: var(--c-green-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-white-dim);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.legal-back:hover {
  color: var(--c-green-bright);
  gap: 12px;
}


/* =========================================================================
   15. RESPONSIVE
   ========================================================================= */

/* Tablette */
@media (max-width: 960px) {
  :root { --section-pad: 100px; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* Menu mobile */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(320px, 80vw);
    background: rgba(5, 7, 6, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transition: right 0.45s var(--ease);
    border-left: 1px solid var(--c-panel-border);
  }

  .nav-links.is-open { right: 0; }

  .nav-links a { font-size: 1.1rem; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --section-pad: 76px; }

  .container { padding: 0 20px; }

  .hero { padding-top: 110px; }

  .hero-logo-wrap { width: 190px; height: 190px; }

  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }

  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-stats { gap: 26px; }

  .partner-tags span { font-size: 0.8rem; padding: 8px 16px; }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal { flex-direction: column; gap: 8px; align-items: center; }
}

/* Grand écran 4K — on plafonne la largeur de lecture, déjà géré par .container,
   on agrandit légèrement le confort visuel */
@media (min-width: 1800px) {
  .container { max-width: 1320px; }
  html { font-size: 18px; }
}
