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

:root {
    --night-blue: #1a1464;
    --deep-navy: #0f0b3d;
    --soft-lavender: #b8b5e8;
    --warm-cream: #fef9f3;
    --gentle-pink: #ffd4d4;
    --moon-yellow: #ffd93d;
    --text-light: #e8e6f7;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--deep-navy);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Navigation - FIXE EN PERMANENCE */
nav, .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 11, 61, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184, 181, 232, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    will-change: transform;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--warm-cream);
    text-decoration: none;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--soft-lavender);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: var(--moon-yellow);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 0; /* Padding-top pour compenser la navbar */
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-tag {
    display: inline-block;
    background: rgba(255, 217, 61, 0.2);
    color: var(--moon-yellow);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--warm-cream);
    animation: fadeInUp 1s ease-out 0.4s both;
}

h1 .highlight {
    font-weight: 600;
    color: var(--moon-yellow);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--soft-lavender);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.cta-primary {
    background: var(--moon-yellow);
    color: var(--deep-navy);
}

.cta-primary:hover {
    background: #ffdd5e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 217, 61, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--soft-lavender);
    border: 2px solid var(--soft-lavender);
}

.cta-secondary:hover {
    background: rgba(184, 181, 232, 0.1);
    border-color: var(--moon-yellow);
    color: var(--moon-yellow);
}

/* Stats Section */
.stats {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(26, 20, 100, 0.3));
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 181, 232, 0.2);
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--moon-yellow);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--moon-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--soft-lavender);
    font-size: 1.1rem;
}

/* Mission Section */
.mission {
    position: relative;
    padding: 8rem 5%;
    z-index: 1;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.mission-text h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--warm-cream);
}

.mission-text h3 {
    font-family: 'Crimson Pro', serif;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--soft-lavender);
    margin-bottom: 1.5rem;
}

.mission-visual {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1), rgba(184, 181, 232, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.moon {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, #fff9e6, var(--moon-yellow));
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(255, 217, 61, 0.5);
    animation: float 6s ease-in-out infinite;
}

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

/* Content Grid */
.content-grid {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(to bottom, rgba(26, 20, 100, 0.3), transparent);
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--warm-cream);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--soft-lavender);
    font-size: 1.1rem;
}

.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 181, 232, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.content-card:hover {
    transform: translateY(-10px);
    border-color: var(--moon-yellow);
    box-shadow: 0 20px 40px rgba(255, 217, 61, 0.2);
}

.card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--night-blue), var(--deep-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.card-content {
    padding: 2rem;
}

.card-tag {
    display: inline-block;
    background: rgba(255, 217, 61, 0.2);
    color: var(--moon-yellow);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--warm-cream);
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--soft-lavender);
    line-height: 1.7;
}

.card-content a {
    display: inline-block;
    margin-top: 1rem;
}

/* Newsletter CTA */
.newsletter-cta {
    position: relative;
    padding: 8rem 5%;
    z-index: 1;
}

.newsletter-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1), rgba(184, 181, 232, 0.1));
    border: 2px solid var(--moon-yellow);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
}

.newsletter-box h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--warm-cream);
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: var(--soft-lavender);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.newsletter-box a {
    color: var(--moon-yellow);
    text-decoration: none;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(184, 181, 232, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--warm-cream);
    font-size: 1rem;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--moon-yellow);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
    color: rgba(184, 181, 232, 0.6);
}

.newsletter-form button,
.newsletter-form input[type="submit"] {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    background: var(--moon-yellow);
    color: var(--deep-navy);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover,
.newsletter-form input[type="submit"]:hover {
    background: #ffdd5e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 217, 61, 0.3);
}

/* Footer */
footer {
    position: relative;
    padding: 4rem 5%;
    border-top: 1px solid rgba(184, 181, 232, 0.2);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-about h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--warm-cream);
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--soft-lavender);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-lavender);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--moon-yellow);
    color: var(--deep-navy);
}

.footer-links h4 {
    color: var(--warm-cream);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--soft-lavender);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--moon-yellow);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 181, 232, 0.2);
    text-align: center;
    color: var(--soft-lavender);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .mission-container {
        grid-template-columns: 1fr;
    }

    .mission-visual {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .cta-group {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

/* --- Optimisation Média --- */
.section-spacing { padding: 100px 5% !important; }



/* Empêche le contenu de pousser les bords du navigateur */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Force la navbar à rester dans le cadre de l'écran */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    right: 0 !important;
    box-sizing: border-box;
}

/* ========================================== */
/* HOME PAGE SPECIFIC STYLES */
/* ========================================== */

/* Hero de la home : centré verticalement */
.home-hero {
  padding-top: 80px !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
}

/* LETTRINES (style journal) */
.mission-text p:first-of-type::first-letter {
  font-family: 'Crimson Pro', serif;
  font-size: 4.5rem;
  font-weight: 600;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.15em 0 0;
  color: var(--moon-yellow);
}

/* MICRO-INTERACTIONS DOUCES */
.content-card {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.content-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 30px 60px rgba(255, 217, 61, 0.3) !important;
}

.cta-primary, .cta-secondary {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.cta-primary:hover {
  transform: translateY(-3px) !important;
}

.stat-card {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* RESPONSIVE HOME */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .hero .hero-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding-top: 0 !important;
  }

  .hero {
    min-height: auto !important;
    padding: 90px 5% 2rem !important;
  }

  .mission-container {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  .mission-text {
    order: 1 !important;
  }

  .mission-visual {
    order: 2 !important;
    height: 300px !important;
  }

  .mission {
    padding-top: 3rem !important;
  }

  .mission-text h2 {
    line-height: 1.2 !important;
    font-size: 2.2rem !important;
  }

  /* Améliorer la lisibilité du titre principal sur mobile */
  h1 {
    font-size: 3.5rem !important;
    font-weight: 400 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8),
                 0 2px 8px rgba(15, 11, 61, 0.9) !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
  }

  h1 .highlight {
    font-weight: 700 !important;
    font-size: 1.1em !important;
    text-shadow: 0 4px 25px rgba(255, 217, 61, 0.6),
                 0 2px 10px rgba(255, 217, 61, 0.4),
                 0 0 30px rgba(255, 217, 61, 0.3) !important;
  }
}

/* ========================================== */
/* ANIMATIONS & EFFECTS */
/* ========================================== */

/* Étoiles filantes */
.shooting-star {
  position: fixed;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

@keyframes shooting {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(-45deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(300px) translateY(300px) rotate(-45deg);
  }
}

/* Lunes flottantes */
.floating-moon {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  animation: float-moon 20s ease-in-out infinite;
}

@keyframes float-moon {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) translateX(20px) rotate(15deg);
  }
}

/* ========================================== */
/* MOUTON ANIMATION SIMPLE */
/* ========================================== */

.sleeping-sheep {
  position: fixed;
  font-size: 5rem;
  bottom: 60px;
  left: -150px;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: sheep-life-cycle 20s ease-in-out forwards;
}

@keyframes sheep-life-cycle {
  /* 0-10% : Apparition et marche */
  0% {
    left: -150px;
    opacity: 0;
    transform: scaleX(-1) rotate(0deg);
  }
  5% {
    opacity: 1;
  }
  10% {
    left: 20%;
    transform: scaleX(-1) rotate(0deg);
  }

  /* 10-20% : Bâillement (léger scale up) */
  15% {
    transform: scaleX(-1) rotate(0deg) scale(1.1);
  }
  20% {
    transform: scaleX(-1) rotate(0deg) scale(1);
  }

  /* 20-40% : Se roule en boule (rotation 360°) */
  25% {
    transform: scaleX(-1) rotate(90deg);
  }
  30% {
    transform: scaleX(-1) rotate(180deg);
  }
  35% {
    transform: scaleX(-1) rotate(270deg);
  }
  40% {
    bottom: 50px;
    transform: scaleX(-1) rotate(360deg) scale(0.9);
  }

  /* 40-75% : Dort paisiblement en boule */
  75% {
    bottom: 50px;
    transform: scaleX(-1) rotate(360deg) scale(0.9);
  }

  /* 75-100% : Disparaît */
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleX(-1) rotate(360deg) scale(0.9);
  }
}

/* Animation de respiration pendant le sommeil */
.sleeping-sheep.sleeping {
  animation: sheep-life-cycle 20s ease-in-out forwards,
             breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    transform: scaleX(-1) rotate(360deg) scale(0.9);
  }
  50% {
    transform: scaleX(-1) rotate(360deg) scale(0.95);
  }
}

/* ========================================== */
/* PRESS LOGOS CAROUSEL */
/* ========================================== */

/* --- SECTION PRESSE NETTOYÉE --- */
.press-logos-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 0;
    margin: 40px 0;
    border-top: 1px solid rgba(184, 181, 232, 0.1);
    border-bottom: 1px solid rgba(184, 181, 232, 0.1);
    overflow: hidden;
}

.press-logos-track {
    display: flex;
    gap: 4.5rem; /* Ajusté pour les logos plus grands */
    align-items: center;
    width: max-content;
    animation: scroll-logos-new 40s linear infinite;
}

.press-logo-img {
    height: 65px; /* Augmenté de 50px à 65px */
    width: auto;
    max-width: 220px; /* Augmenté de 180px à 220px pour format plus horizontal */
    object-fit: contain;
    /* Look "Verre Poli" : gris doux et semi-transparent */
    filter: grayscale(100%) opacity(0.5) brightness(1.2);
    transition: all 0.4s ease-in-out;
}

.press-link:hover .press-logo-img {
    /* Au survol : retour des couleurs et netteté */
    filter: grayscale(0%) opacity(1) brightness(1);
    transform: scale(1.1);
}

@keyframes scroll-logos-new {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Fondu sur les bords du bandeau */
.press-logos-carousel {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.press-logos-title {
  color: var(--soft-lavender);
  font-size: 1.2rem;
  font-weight: 500;
}

.press-cta-link {
  color: var(--moon-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.press-cta-link:hover {
  text-decoration: underline;
  transform: translateX(5px);
}




/* ========================================== */
/* MOUTON – VIDÉO ANIMÉE (LEONARDO) */
/* ========================================== */

/* ========================================== */
/* MOUTON – VIDÉO (anti-rectangle + anti-vert) */
/* ========================================== */

.sheep-video-container {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 260px;
  pointer-events: none;
  z-index: 4;

  opacity: 0;
  animation: sheep-fade-in 2s ease forwards;

  /* Fond identique au site derrière la vidéo */
  background: var(--deep-navy);

  /* IMPORTANT : évite tout débordement */
  overflow: hidden;
  isolation: isolate;

  /* 1) Casse le rectangle (super robuste) */
  clip-path: ellipse(62% 55% at 45% 58%);
  -webkit-clip-path: ellipse(62% 55% at 45% 58%);

  /* 2) Feather optionnel (si supporté) */
  -webkit-mask-image: radial-gradient(circle at 45% 60%, #000 55%, rgba(0,0,0,0.0) 78%);
  mask-image: radial-gradient(circle at 45% 60%, #000 55%, rgba(0,0,0,0.0) 78%);
}

.sheep-video-container video {
  width: 100%;
  height: auto;
  display: block;

  /* Fusion */
  mix-blend-mode: screen;
  opacity: 0.92;

  /* ANTI-FOND VERDÂTRE :
     - hue-rotate pour tirer le vert vers le bleu
     - saturate down pour calmer la dominante
  */
  filter: hue-rotate(-35deg) saturate(0.75) brightness(0.82) contrast(1.1);
}

/* Voile bleu (plus fort) pour matcher le deep navy */
.sheep-video-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 61, 0.32); /* augmente l’intégration */
  pointer-events: none;
}

/* Apparition douce */
@keyframes sheep-fade-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
  .sheep-video-container {
    width: 180px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
}




/* Apparition douce */
@keyframes sheep-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile : plus petit et centré */
@media (max-width: 768px) {
  .sheep-video-container {
    width: 180px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
}

/* ========================================== */
/* MOUTON SIMPLE EMOJI */
/* ========================================== */

.simple-sheep {
  position: fixed;
  bottom: 60px;
  left: -120px; /* Part de la gauche */
  font-size: 5rem;
  pointer-events: auto; /* Maintenant cliquable ! */
  cursor: pointer; /* Curseur main */
  z-index: 10;
  opacity: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transform: scaleX(-1); /* Retourne pour qu'il regarde vers le centre/gauche */
  animation: sheep-journey 18s ease-in-out forwards;
  transition: transform 0.2s ease;
}

.simple-sheep:hover {
  transform: scaleX(-1) scale(1.1); /* Grossit au survol */
}

@keyframes sheep-journey {
  /* 0-20% : Apparition lente */
  0% {
    left: -120px;
    opacity: 0;
  }
  20% {
    left: 15%;
    opacity: 1;
  }

  /* 20-70% : Reste visible */
  70% {
    left: 15%;
    opacity: 1;
  }

  /* 70-100% : Disparition très progressive */
  80% {
    left: 15%;
    opacity: 0.8;
  }
  90% {
    left: 15%;
    opacity: 0.4;
  }
  100% {
    left: 15%;
    opacity: 0;
  }
}

/* Z qui flottent au-dessus du mouton */
.sleep-z {
  position: fixed;
  font-size: 6rem; /* Encore plus gros : 6rem */
  color: var(--soft-lavender); /* Bleu lavande au lieu de jaune */
  pointer-events: none;
  z-index: 11;
  opacity: 0;
  animation: z-float 3s ease-out forwards;
}

@keyframes z-float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  20% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(1.2);
  }
}

/* Animation de saut du mouton quand on clique */
.sheep-jump {
  animation: jump-bounce 0.6s ease-out !important;
}

@keyframes jump-bounce {
  0% {
    transform: scaleX(-1) translateY(0);
  }
  30% {
    transform: scaleX(-1) translateY(-60px);
  }
  50% {
    transform: scaleX(-1) translateY(-80px) rotate(-10deg);
  }
  70% {
    transform: scaleX(-1) translateY(-40px) rotate(5deg);
  }
  85% {
    transform: scaleX(-1) translateY(-10px);
  }
  100% {
    transform: scaleX(-1) translateY(0);
  }
}

/* Étoiles qui apparaissent au clic */
.click-sparkle {
  position: fixed;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  animation: sparkle-burst 0.8s ease-out forwards;
}

@keyframes sparkle-burst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.3);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(1.5);
  }
}

/* Message "Bonne nuit !" */
.goodnight-message {
  position: fixed;
  font-size: 1.2rem;
  color: var(--moon-yellow);
  font-weight: 500;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  animation: message-fade 2s ease-out forwards;
}

@keyframes message-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

@media (max-width: 768px) {
  .simple-sheep {
    font-size: 3.5rem;
    bottom: 40px;
  }
  .sleep-z {
    font-size: 4rem; /* Plus gros aussi en mobile */
  }
}

/* ========================================== */
/* PAGE NEWSLETTER */
/* ========================================== */

.newsletter-page {
  max-width: 800px;
  margin: 80px auto 60px;
  padding: 40px 20px;
  color: var(--soft-lavender);
  line-height: 1.7;
}

/* En-tête */
.newsletter-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(184, 181, 232, 0.2);
}

.newsletter-badge {
  display: inline-block;
  background: rgba(184, 181, 232, 0.15);
  color: var(--moon-yellow);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.newsletter-title {
  font-size: 2.5rem;
  color: var(--cream-white);
  margin: 20px 0;
  font-weight: 600;
}

.newsletter-meta {
  color: var(--soft-lavender);
  opacity: 0.7;
  font-size: 1rem;
}

/* Sections */
.newsletter-section {
  margin-bottom: 50px;
}

.section-emoji {
  font-size: 1.8rem;
  color: var(--cream-white);
  margin-bottom: 20px;
  font-weight: 600;
}

.newsletter-intro {
  font-style: italic;
  color: var(--moon-yellow);
  margin-bottom: 15px;
}

.newsletter-section p {
  margin-bottom: 15px;
}

.newsletter-section strong {
  color: var(--cream-white);
}

/* Boxes avec backgrounds */
.highlight-box, .fun-fact-box, .quiz-box, .diy-box, .testimonial-box, .resources-box, .question-box, .quote-box {
  background: rgba(184, 181, 232, 0.08);
  border-left: 4px solid var(--moon-yellow);
  padding: 30px;
  border-radius: 8px;
}

/* Listes */
.newsletter-list {
  list-style: none;
  padding-left: 0;
}

.newsletter-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.newsletter-list li::before {
  content: "✨";
  position: absolute;
  left: 0;
}

/* Fun Facts */
.fun-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.fun-fact {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.fact-emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
}

/* Quiz */
.quiz-question {
  margin-bottom: 30px;
}

.question-text {
  color: var(--cream-white);
  margin-bottom: 10px;
}

.quiz-options {
  list-style: none;
  padding-left: 20px;
}

.quiz-options li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
}

.quiz-options li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--moon-yellow);
  font-size: 1.2rem;
}

.quiz-results {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(184, 181, 232, 0.2);
}

.results-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.results-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.results-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--moon-yellow);
}

.quiz-cta {
  background: rgba(255, 217, 61, 0.1);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  color: var(--moon-yellow);
}

/* DIY */
.diy-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 20px 0;
}

.diy-ingredients h3, .diy-recipe h3 {
  color: var(--moon-yellow);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.diy-ingredients ul, .diy-recipe ol {
  padding-left: 20px;
}

.diy-ingredients li, .diy-recipe li {
  margin-bottom: 8px;
}

.diy-why {
  background: rgba(255, 217, 61, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  color: var(--cream-white);
}

/* Témoignage */
.testimonial {
  position: relative;
}

.testimonial-author {
  color: var(--moon-yellow);
  font-weight: 600;
  margin-bottom: 15px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--cream-white);
  margin-bottom: 15px;
}

.testimonial-changes {
  list-style: none;
  padding-left: 30px;
  margin: 20px 0;
}

.testimonial-changes li {
  padding: 8px 0;
  position: relative;
}

.testimonial-changes li::before {
  content: "✓";
  position: absolute;
  left: -25px;
  color: var(--moon-yellow);
  font-weight: bold;
}

.testimonial-tip {
  background: rgba(255, 217, 61, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

/* Ressources */
.resources-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.resource {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(15, 11, 61, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.resource:hover {
  background: rgba(15, 11, 61, 0.5);
  transform: translateX(5px);
}

.resource-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.resource-content {
  line-height: 1.6;
}

/* Question du mois */
.question-highlight {
  font-size: 1.3rem;
  color: var(--moon-yellow);
  font-weight: 600;
  margin-bottom: 15px;
}

.question-box a {
  color: var(--moon-yellow);
  text-decoration: underline;
}

/* Citation */
.newsletter-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream-white);
  text-align: center;
  padding: 30px 20px;
  border-left: none;
  position: relative;
}

.newsletter-quote::before {
  content: """;
  font-size: 4rem;
  color: var(--moon-yellow);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 20px;
}

.newsletter-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
  font-style: normal;
  color: var(--soft-lavender);
  opacity: 0.8;
}

/* Footer */
.newsletter-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(184, 181, 232, 0.2);
}

.next-edition {
  font-size: 1.1rem;
  color: var(--moon-yellow);
  margin-bottom: 20px;
}

.share-cta {
  font-size: 1.1rem;
  color: var(--cream-white);
  margin-bottom: 20px;
}

.newsletter-social a {
  color: var(--moon-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-social a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-page {
    margin: 60px auto 40px;
    padding: 20px 15px;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .section-emoji {
    font-size: 1.5rem;
  }

  .highlight-box, .fun-fact-box, .quiz-box, .diy-box, .testimonial-box, .resources-box, .question-box, .quote-box {
    padding: 20px;
  }

  .newsletter-quote {
    font-size: 1.2rem;
  }

  .diy-content {
    grid-template-columns: 1fr;
  }
}

/* ========================================== */
/* PAGE INDEX NEWSLETTERS */
/* ========================================== */

.newsletter-index-page {
  max-width: 1200px;
  margin: 80px auto 60px;
  padding: 40px 20px;
}

/* En-tête de la page index */
.newsletter-index-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(184, 181, 232, 0.2);
}

.index-title {
  font-size: 3rem;
  color: var(--cream-white);
  margin-bottom: 20px;
  font-weight: 600;
}

.index-subtitle {
  font-size: 1.3rem;
  color: var(--moon-yellow);
  margin-bottom: 20px;
}

.index-description {
  font-size: 1.1rem;
  color: var(--soft-lavender);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grille de cartes */
.newsletters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Cartes individuelles */
.newsletter-card {
  background: rgba(184, 181, 232, 0.08);
  border: 1px solid rgba(184, 181, 232, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.newsletter-card:hover {
  background: rgba(184, 181, 232, 0.12);
  border-color: var(--moon-yellow);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-badge {
  display: inline-block;
  background: rgba(255, 217, 61, 0.15);
  color: var(--moon-yellow);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 15px;
  width: fit-content;
}

.card-title {
  font-size: 1.8rem;
  color: var(--cream-white);
  margin-bottom: 10px;
  font-weight: 600;
}

.card-date {
  color: var(--soft-lavender);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.card-excerpt {
  color: var(--soft-lavender);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.highlight-tag {
  background: rgba(15, 11, 61, 0.4);
  color: var(--soft-lavender);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.card-link {
  color: var(--moon-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.card-link:hover {
  transform: translateX(5px);
  text-decoration: underline;
}

/* CTA Box */
.newsletter-cta-box {
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.15), rgba(184, 181, 232, 0.15));
  border: 2px solid var(--moon-yellow);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-cta-box h3 {
  font-size: 1.8rem;
  color: var(--cream-white);
  margin-bottom: 15px;
}

.newsletter-cta-box p {
  color: var(--soft-lavender);
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--moon-yellow);
  color: var(--deep-navy);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--cream-white);
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 217, 61, 0.4);
}

/* Lien retour */
.back-link {
  display: inline-block;
  color: var(--soft-lavender);
  text-decoration: none;
  margin-bottom: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--moon-yellow);
  transform: translateX(-5px);
}

/* Images dans newsletter */
.newsletter-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-index-page {
    margin: 60px auto 40px;
    padding: 20px 15px;
  }

  .index-title {
    font-size: 2rem;
  }

  .index-subtitle {
    font-size: 1.1rem;
  }

  .newsletters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter-card {
    padding: 20px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .newsletter-cta-box {
    padding: 30px 20px;
  }

  .newsletter-cta-box h3 {
    font-size: 1.5rem;
  }
}

/* Styles supplémentaires pour les newsletters 2 et 3 */

.ritual-steps {
  display: grid;
  gap: 20px;
  margin: 20px 0;
}

.ritual-step {
  background: rgba(15, 11, 61, 0.3);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--moon-yellow);
}

.ritual-step h3 {
  color: var(--moon-yellow);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ritual-step p {
  color: var(--soft-lavender);
  line-height: 1.6;
}

.recipe-card {
  background: rgba(15, 11, 61, 0.3);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.recipe-card h3 {
  color: var(--moon-yellow);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.recipe-card p {
  color: var(--soft-lavender);
  line-height: 1.6;
  margin-bottom: 10px;
}

.recipe-card strong {
  color: var(--cream-white);
}

/* ========================================== */
/* MOBILE SPACING ADJUSTMENTS */
/* ========================================== */

@media (max-width: 768px) {
  /* Réduire l'espace au-dessus de "À qui s'adressent les Sleep Activists" */
  .mission {
    padding: 4rem 5% !important;
  }

  /* Réduire l'espace au-dessus de "Un écosystème complet" */
  .content-grid {
    padding: 3rem 5% !important;
  }

  /* Ajuster aussi la première section mission */
  .mission[style*="padding-top: 10rem"] {
    padding-top: 4rem !important;
  }

  /* Logos presse encore plus grands sur mobile */
  .press-logo-img {
    height: 55px !important;
    max-width: 200px !important;
  }

  .press-logos-track {
    gap: 3.5rem !important;
  }

  /* Réduire l'espace au-dessus de "Ils parlent de notre engagement" */
  .press-logos-container {
    margin-top: 2rem !important;
    padding: 40px 0 !important;
  }

  /* Réduire l'espace au-dessus de "Rejoignez les Sleep Activists" */
  .newsletter-cta {
    padding: 4rem 5% !important;
  }

  /* Réduire l'espace au-dessus de la citation Pessoa */
  .mission[style*="padding: 6rem 5%"] {
    padding: 3rem 5% !important;
  }
}

.article-content strong, .article-content b {
  color: var(--moon-yellow); /* Ou var(--warm-cream) */
  font-weight: bold;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
