:root {
    /* Variables de couleur */
    --black: #1E1E1E;
    --white: #FFFFFF;
    --orange-primary: #EB6A26;
    --orange-secondary: #EB6A26;
    --light-background: #F1F1F1;
    --off-white-background: #FBF9F6;
    --grey-text: #888;
    --light-grey-border: #E0E0E0;
    --dark-grey-border: #444444;
}

body {
    background-color: var(--light-background);
    color: var(--black);
    font-family: 'RMNeue-Regular', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h2, h3, h4, h5, h6 {
    color: #1e1e1e;
}

.section {
    padding-left: 9.6em;
    padding-right: 9.6em;
    padding-top: 6em;
    padding-bottom: 6em;
}

.section-subtitle {
    text-transform: uppercase;
    font-family: 'RMMono', sans-serif;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.07;
    max-width: 60ch;
    margin-bottom: 4rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Eyebrow promu en <h2> pour le SEO : neutralise la marge UA du h2,
   le rendu reste identique (la classe .section-subtitle gère tout le reste) */
h2.section-subtitle {
    margin-top: 0;
}

/* Global Noise Overlay */
.noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1; /* Placé derrière tout */
    pointer-events: none; /* Ne pas intercepter les clics */
    opacity: 0.11; /* Un peu plus subtil pour un fond global */
    mix-blend-mode: overlay;
    animation: grain 8s steps(10) infinite;
}

.noise-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-conic-gradient(#000 0%, transparent 0.00002%, transparent 0.00004%, #000 0.00007%),
        repeating-conic-gradient(#000 0%, transparent 0.00001%, transparent 0.0002%, #000 0.00008%);
    background-size: 100px 100px, 150px 150px;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 25%); }
    90% { transform: translate(-10%, 10%); }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   Override des paddings énormes du desktop
   ============================================= */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .section {
        padding-left: 1.25em;
        padding-right: 1.25em;
        padding-top: 4em;
        padding-bottom: 4em;
    }

    .section-subtitle {
        font-size: 0.7rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    /* Évite le débordement horizontal sur les images / éléments flex */
    img, video, svg {
        max-width: 100%;
        height: auto;
    }
}
