/* --- VARIABLES & RESET --- */
:root {
    --black: #000000;
    --white: #ffffff;
    --red: #ff0000;
    --gray: #f0f0f0;
    --font-main: 'Montserrat', sans-serif; /* Corps de texte lisible */
    --font-logo: 'Bebas Neue', 'Bebas Kai', sans-serif; /* Titres et Logo */
    --border-radius: 8px;
    --transition: 0.3s ease; /* Transition générale */
}

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

html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%; /* S'assure que html prend toute la hauteur de la fenêtre */
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden; /* Empêche le scroll horizontal */
    position: relative;
    min-height: 100%; /* Prend toute la hauteur de html */
    display: flex;
    flex-direction: column;
    /* Fond de petits carrés espacés */
    background-image: radial-gradient(circle at center, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 3px 3px;
    background-repeat: repeat;
}

/* Grand carré décoratif (FIXED pour ne pas créer de scroll fantôme) */
.deco-square {
    position: fixed; /* Changé de absolute à fixed */
    width: 600px;
    height: 600px;
    background-color: var(--black);
    opacity: 0.1;
    z-index: -2;
    /* Les positions top/left/right/bottom sont gérées en inline dans le HTML ou via des classes spécifiques */
}

/* Indicateur de Scroll (Flèche bas) - Positionné en haut à droite */
.scroll-down-indicator {
    position: fixed;
    top: 100px; /* Positionné en haut, sous la navbar */
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--red); /* Fond ROUGE par défaut */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 900;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0; /* Caché par défaut */
    pointer-events: none; /* Inactif par défaut */
}

.scroll-down-indicator.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-down-indicator:hover {
    background-color: var(--black); /* Fond NOIR au survol */
    transform: scale(1.1);
}

.scroll-down-indicator svg {
    fill: var(--white);
    width: 14px;
    height: 14px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- TYPOGRAPHIE --- */
h1, h2, h3, .nav-link, .logo-text {
    font-family: var(--font-logo);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

strong {
    font-weight: 700;
}

em strong {
    font-style: italic;
    font-weight: 700; 
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-slow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- LOGO SCENO. --- */
.sceno-brand {
    font-family: var(--font-logo);
    font-weight: bold;
    font-size: 1.5rem; /* Ajustable */
    color: var(--white); /* Logo en blanc */
    display: inline-block;
    line-height: 1;
    transition: color 0.3s ease;
}

.sceno-brand-hero {
    font-family: var(--font-logo);
    font-size: 7rem;
    color: var(--black); /* NOIR IMPERATIF */
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 0.9;
    position: relative;
}

.sceno-brand .dot {
    color: var(--white); /* Point navbar en blanc */
}

.sceno-brand-hero .dot {
    color: var(--black); /* Point hero en noir */
}

/* Base commune */
.sceno-brand .dot, .sceno-brand-hero .dot {
    font-family: var(--font-logo);
    font-weight: bold;
    display: inline;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sceno-brand-footer .sceno-brand {
    font-size: 1rem; /* Taille plus petite pour le footer */
}

/* Helper pour texte rouge */
.text-red {
    color: var(--red);
}

/* Classes pour l'animation d'apparition (Staggered Fade Up) */
.word-anim {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: pre; /* Conserver les espaces */
}

.word-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SEPARATEUR POINTILLÉ --- */
.dotted-separator {
    width: 100%; /* Toute la largeur */
    height: 3px;
    margin: 0 0 30px 0; /* Remet la marge inférieure */
    /* Motif : 3px noir, 3px transparent */
    background-image: linear-gradient(to right, var(--black) 50%, transparent 50%);
    background-size: 6px 100%; 
    background-repeat: repeat-x;
}

/* Animation pour le guide vertical */
@keyframes scrollGuide {
    from { background-position: 0 0; }
    to { background-position: 0 190px; } /* Hauteur du motif (150+40) pour une boucle fluide */
}

.vertical-guide {
    position: fixed;
    top: 0;
    left: 100px; /* Décalé sur la gauche, pas centré */
    width: 150px; /* Largeur des carrés augmentée à 150px */
    height: 100%;
    /* Motif vertical : 150px noir, puis espace transparent */
    background-image: linear-gradient(to bottom, var(--black) 150px, transparent 40px); /* 150px carré, 40px espace */
    background-size: 100% 190px; /* Motif de 190px au total (150+40) */
    background-repeat: repeat-y;
    z-index: -3; /* Derrière les deco-squares (-2) */
    pointer-events: none;
    opacity: 0.35; /* Opacité 35% */
    animation: scrollGuide 30s linear infinite; /* Animation lente et infinie */
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--black); /* Fond noir premium */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    color: var(--white);
}

.nav-left {
    width: auto;
    min-width: 200px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip; 
    display: flex; 
    align-items: baseline; /* Alignement interne */
    /* Pas de height: 100% pour laisser align-items:center de la navbar faire le travail */
}

.nav-center {
    display: flex;
    gap: 30px;
}

/* Animation "Glitch" aléatoire (plus calme, max opacité 50%) */
@keyframes randomGlitch {
    0%, 15%, 30%, 45%, 60%, 75% { opacity: 0.5; transform: scale(1); }
    20% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.1; transform: scale(1.05); }
    70% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Carré (marqueur) dynamique dans la navbar */
.nav-marker {
    position: absolute;
    top: 25px;
    left: 100px; 
    width: 30px;
    height: 30px;
    background-color: var(--red); /* Carré en ROUGE */
    pointer-events: none;
    opacity: 1;
    z-index: 0; 
    
    backface-visibility: hidden;
    transform: translateZ(0);

    transition: 
        top 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), 
        left 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), 
        width 1.5s ease, 
        height 1.5s ease;
}

.nav-marker.moving {
    opacity: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--white); /* Liens en BLANC par défaut */
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--red); /* Texte en ROUGE au survol */
    transform: scale(1.2);
    opacity: 1;
}

/* Inversion des couleurs pour le point REC au survol du lien parent ou si actif */
.nav-link:hover .rec-dot, .nav-link.active .rec-dot {
    background-color: var(--white);
}

.rec-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--red); /* Point REC ROUGE par défaut */
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

.nav-right {
    width: 200px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white); /* Icônes en BLANC par défaut */
    font-size: 1rem;
    text-decoration: none;
}

.nav-icon:hover {
    transform: scale(1.2);
    color: var(--red); /* Icônes en ROUGE au survol */
}

/* --- ELEMENTS DE NAVIGATIONS AUTRES --- */
.nav-left span {
    color: var(--white); /* Texte "DU PLATEAU AU PLAN" en BLANC */
    transition: color 0.3s ease;
}

/* --- LAYOUT & SECTIONS --- */
main {
    margin-top: 100px;
    flex: 1;
    padding: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative; /* Nécessaire pour positionner les enfants absolument */
}

.section-block {
    margin-bottom: 40px;
    padding: 40px; /* Reduced padding from 60px */
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease; /* Transition plus rapide et punchy */
    position: relative;
    will-change: transform; /* Optimisation pour l'animation */
}

.section-block:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.25); /* Ombre plus douce */
    transform: scale(1.02) translateY(-5px); /* Zoom réduit à 1.02 + légère levée */
    z-index: 10; /* Passe au-dessus */
}

/* --- ELEMENTS GRAPHIQUES (CARRÉS NOIRS) --- */
.square-dot {
    width: 8px;
    height: 8px;
    background-color: var(--black); /* Reste noir par défaut, ou rouge si demandé */
    display: inline-block;
}

.separator-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    gap: 10px;
}

/* Lines removed */
.separator-line::before, .separator-line::after {
    display: none;
}

.chapter-picto {
    margin-right: 15px; /* Espace à droite */
    margin-bottom: 0; /* Plus de marge en bas */
    font-size: 2.5rem;
    display: inline-block;
    vertical-align: middle; /* Aligné verticalement */
    transition: transform 0.5s ease;
    min-width: 45px;
}

.section-block:hover .chapter-picto {
    transform: rotate(15deg); /* Rotation plus légère au survol */
}

.section-block h1, .section-block h2 {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0 !important; /* Force l'alignement */
}

/* --- BOUTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px; /* Demandé: 8px */
    font-weight: bold;
    transition: var(--transition);
    border: 1px solid var(--black);
    text-transform: uppercase;
    font-family: var(--font-logo);
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #333; /* Grisé au survol */
    border-color: #333;
    transform: translateY(-2px);
}

/* --- FOOTER --- */
footer {
    background-color: var(--white);
    padding: 10px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
    margin-top: auto;
    font-size: 0.8rem;
    display: flex;
    align-items: center; /* Centrage vertical */
    justify-content: center; /* Centrage horizontal (si besoin) */
    min-height: 60px; /* Utiliser min-height au lieu de height */
}

footer p {
    margin: 0; /* Supprime les marges par défaut du paragraphe dans le footer */
    line-height: 1.2; /* Ajuste l'interligne pour un meilleur centrage */
}

footer a {
    color: var(--black);
    text-decoration: none;
    /* font-weight: bold; */ /* Supprimé */
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--red); /* Fond ROUGE par défaut */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 2000;
    border: none;
    border-radius: 50%; /* Bouton rond */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Légère ombre */
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--black); /* Fond NOIR au survol */
    transform: scale(1.1); /* Léger zoom */
}

.back-to-top i, .scroll-down-indicator i {
    color: var(--white);
    font-size: 1.2rem;
}

.back-to-top:hover i, .scroll-down-indicator:hover i {
    color: var(--white);
}

/* --- CURSOR FOLLOWER --- */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--black);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 9999;
    mix-blend-mode: difference;
    color: white; /* Pour que le mix-blend-mode marche bien */
}

/* --- SPECIFIC PAGE STYLES --- */
.two-cols {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 300px;
}

.tv-banner {
    display: flex;
    gap: 20px;
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
}

/* LOGOS TV */
.tv-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7); /* Gris et semi-transparent par défaut */
    transition: all 0.3s ease;
    margin: 0 15px; /* Espacement entre les logos */
}

.tv-logo:hover {
    filter: none; /* Couleur au survol */
    transform: scale(1.1); /* Zoom au survol */
    opacity: 1;
}



.tv-banner-container {
    overflow: hidden;
    width: 100%;
    margin-top: 0px;
    position: relative;
}

.tv-banner-track {
    display: flex;
    width: fit-content;
    animation: scrollBanner 40s linear infinite; /* Défilement horizontal */
}

@keyframes scrollBanner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Défilement de la moitié si doublé */
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    .nav-center {
        flex-wrap: wrap;
        justify-content: center;
        margin: 15px 0;
    }
    .nav-right {
        justify-content: center;
        width: 100%;
    }
    main {
        margin-top: 180px; /* Ajustement pour navbar mobile */
        padding: 20px;
    }
}

/* Style et animation pour les numéros de phrases */
.numbered-phrase {
    font-family: var(--font-logo);
    font-size: 1.5rem; /* Taille plus petite */
    font-weight: bold; /* Gras */
    color: var(--red); /* Rouge */
    vertical-align: top; /* Alignement en haut du texte */
    margin-right: 10px; /* Espace avec le texte */
    display: inline-block; /* Pour le positionnement */
    line-height: 1; /* Ne perturbe pas l'interligne du paragraphe */
    /* animation: pulse-slow 2s infinite ease-in-out; */ /* Pulsation supprimée */
}

/* --- SERVICE CARD (Mini Section Block) --- */
.service-card {
    background: var(--red); /* Fond ROUGE */
    color: var(--white); /* Texte BLANC */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
}

/* Animation pour les titres des cartes de service (fixe mais vivant) */
@keyframes title-pulse-border {
    0%, 100% { opacity: 1; border-bottom-color: rgba(255, 255, 255, 1); }
    50% { opacity: 0.85; border-bottom-color: rgba(255, 255, 255, 0.3); }
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    min-height: 60px; 
    border-bottom: 2px solid var(--white);
    padding-bottom: 10px;
    line-height: 1.1;
    animation: title-pulse-border 3s infinite ease-in-out; /* Animation fixe mais vivante */
}

/* Classe pour l'icône "Broadcast" (Style ondes rouges, comme les téléphones) */
.broadcast-icon {
    display: inline-flex; /* Pour centrer l'icône FA */
    align-items: center;
    justify-content: center;
    width: 60px; /* Taille fixe */
    height: 60px;
    border-radius: 50%; /* Cercle */
    background-color: var(--red);
    color: var(--white); /* Icône en blanc */
    position: relative;
    z-index: 1;
    margin-right: 15px; /* Espacement standard */
    vertical-align: middle;
}

/* Ondes pour .broadcast-icon (copie adaptée de .format-icon) */
.broadcast-icon::before,
.broadcast-icon::after {
    content: '';
    position: absolute;
    inset: -3px; /* Colle aux bords */
    border: 2px solid var(--red);
    border-radius: 50%; /* Cercle */
    z-index: -1;
    opacity: 0;
    animation: broadcast-wave 2s infinite cubic-bezier(0, 0.55, 0.45, 1);
}

.broadcast-icon::after {
    animation-delay: 1s;
}

.number-box {
    width: 30px;
    height: 30px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50%; /* Cercle */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: var(--font-logo);
    position: absolute; 
    top: -15px; 
    left: 15px; 
    z-index: 1;
    font-size: 1rem;
}

/* --- FORMATS & DIFFUSION GRID --- */
.formats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.format-column {
    flex: 1;
    min-width: 300px;
    background: #fafafa;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
    display: flex; /* Ajout */
    flex-direction: column; /* Ajout */
}

.format-column:hover {
    transform: translateY(-5px);
    border-color: var(--gray);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.format-header {
    text-align: center;
    margin-bottom: 0px; /* Élimine la marge inférieure */
    /* border-bottom: 2px solid var(--gray); */ /* Supprimé */
    padding-bottom: 0px; /* Élimine le padding inférieur */
    flex: 0 0 auto; /* Ne pas rétrécir */
}

/* Animation d'émission (Broadcast/Onde) */
@keyframes broadcast-wave {
    0% {
        transform: scale(1);
        opacity: 0.6;
        border-width: 2px;
    }
    100% {
        transform: scale(2); /* L'onde s'agrandit vers le spectateur */
        opacity: 0;
        border-width: 0px;
    }
}

/* Icons for formats */
.format-icon {
    display: block;
    margin: 0 auto 15px auto;
    border: 3px solid var(--red); /* Bordure rouge */
    background-color: var(--red); /* Remplissage rouge */
    transition: background-color 0.3s ease;
    position: relative; /* Pour positionner les ondes */
    z-index: 1;
}

/* Les ondes d'émission */
.format-icon::before,
.format-icon::after {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px; /* Colle aux bords de l'icône */
    border: 2px solid var(--red);
    border-radius: 4px;
    z-index: -1; /* Derrière l'icône principale */
    opacity: 0;
    animation: broadcast-wave 2s infinite cubic-bezier(0, 0.55, 0.45, 1);
}

.format-icon::after {
    animation-delay: 1s; /* Décalage pour un flux continu */
}

.format-icon-9-16 {
    width: 30px;
    height: 53px; /* Ratio 9:16 approx */
    border-radius: 4px;
}

.format-icon-16-9 {
    width: 53px;
    height: 30px; /* Ratio 16:9 approx */
    border-radius: 4px;
    margin-top: 12px; /* Centrage vertical par rapport à l'icône 9:16 */
    margin-bottom: 26px !important; /* Marge bas ajustée pour compenser (12+30+26 = 68px total, vs 53+15=68px) */
}

.format-column:hover .format-icon {
    background-color: var(--red);
    border-color: var(--red);
}

.format-title {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 10px;
    min-height: 1.2em; /* Sécurité pour l'alignement */
}

.format-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 0;
    min-height: 90px; /* Hauteur fixe suffisante pour 3-4 lignes de texte */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligne le texte en HAUT de la boîte */
}

.format-desc-line1, .format-desc-line2 {
    display: block; /* Force le passage à la ligne */
}

.format-desc-line1 {
    font-weight: bold; /* Pour "Le standard..." */
    margin-bottom: 5px; /* Petit espace entre les deux lignes */
    color: var(--black);
}

.platform-list {
    list-style: none;
    padding: 0;
}

.platform-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-left 0.2s ease;
    cursor: default;
    /* Animation d'entrée */
    opacity: 0; /* Caché au départ */
    animation: fadeInUpRow 0.5s ease forwards;
    border-left: 0px solid var(--red); /* Prêt pour le hover */
}

/* Effet de cascade pour l'apparition des lignes */
.platform-item:nth-child(1) { animation-delay: 0.2s; }
.platform-item:nth-child(2) { animation-delay: 0.3s; }
.platform-item:nth-child(3) { animation-delay: 0.4s; }
.platform-item:nth-child(4) { animation-delay: 0.5s; }
.platform-item:nth-child(5) { animation-delay: 0.6s; }

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

.platform-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--red); /* Barre rouge "vivante" */
}

.platform-icon-wrap {
    width: 30px;
    text-align: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--black);
}

.platform-item:hover .platform-icon-wrap {
    color: var(--red);
    animation: bounce 1s;
}

.platform-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    display: block;
}

.platform-detail {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
    display: block;
}

/* --- OFFRE BOXES (New) --- */
.offers-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 0px; /* Réduit de 30px à 0px */
}

.offer-box {
    flex: 1;
    min-width: calc(33.33% - 20px); /* Ajusté pour 3 colonnes avec gap de 30px */
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    position: relative;
}

.offer-box:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    z-index: 10;
}

.offer-title {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 10px;
    text-align: center;
}

@keyframes label-flash {
    0%, 45% {
        background: var(--red);
        color: var(--white);
        box-shadow: inset 0 0 0 2px var(--red);
    }
    50%, 95% {
        background: var(--white);
        color: var(--red);
        box-shadow: inset 0 0 0 2px var(--red);
    }
}

.offer-label {
    background: var(--red);
    color: var(--white);
    padding: 6px 10px 1px 10px; 
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -2px; 
    animation: label-flash 4s infinite step-end;
}

.offer-title .sceno-brand, .offer-title .sceno-brand .dot {
    color: var(--black);
}

.offer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offer-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.offer-list li::before {
    content: "■"; /* Carré */
    color: var(--red);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 2px;
}

.offer-price {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
    font-weight: bold;
    text-align: right;
    font-size: 1.1rem;
    color: var(--red);
}

.offer-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.offer-option-item {
    background: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    
    /* Animation d'entrée */
    opacity: 0;
    animation: fadeInUpRow 0.6s ease forwards;
}

/* Délais en cascade pour l'apparition */
.offer-option-item:nth-child(1) { animation-delay: 0.1s; }
.offer-option-item:nth-child(2) { animation-delay: 0.2s; }
.offer-option-item:nth-child(3) { animation-delay: 0.3s; }
.offer-option-item:nth-child(4) { animation-delay: 0.4s; }
.offer-option-item:nth-child(5) { animation-delay: 0.5s; }

.offer-option-item:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4); /* Ombre rouge brillante */
}

/* --- DESIGN CONTACT / CARTES DE VISITE --- */

/* Animation d'apparition en cascade */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up-element {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Grille pour les cartes */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Style des cartes */
.contact-card {
    background: var(--red);
    /* border: 1px solid var(--red); */ /* Pas de bordure sur service-card, juste bg color */
    padding: 25px 30px; /* Un peu moins de padding que service-card (30px) pour gain place */
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); /* Ombre initiale identique service-card */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    position: relative;
    color: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%; /* S'assurer qu'elle remplit le wrapper */
}

/* Suppression du trait noir ::before */

.contact-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
}

.contact-card:hover::before {
    height: 100%;
}

.contact-card h3 {
    margin: 0 0 3px 0;
    font-size: 1.3rem;
    font-family: var(--font-title);
    letter-spacing: 1px;
    color: var(--white);
}

.contact-card .role {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: block;
}

.contact-card a {
    transition: color 0.3s ease;
    font-size: 1rem !important;
    color: var(--white) !important;
}

.contact-card:hover a {
    color: var(--white) !important;
}

/* Footer Contact Spécifique */
.contact-footer-text {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 10px;
}

.insta-picto-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--red);
    color: var(--white) !important;
    border-radius: 50%;
    font-size: 1.2rem;
    margin: 0 5px;
    vertical-align: middle;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.insta-picto-inline:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

/* Désactivation de l'effet hover sur sections spécifiques */
.section-block.no-hover-effect:hover {
    transform: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); /* Reste l'ombre initiale */
    z-index: 1;
}

.section-block.no-hover-effect:hover .chapter-picto {
    transform: none; /* Pas de rotation du picto */
}

/* --- MODIFICATIONS PHOTOS BACKGROUND --- */

/* Gros carrés décoratifs : préparation pour image de fond */
.deco-square {
    background-color: transparent; /* On enlève le noir par défaut */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; filter: blur(1px);
    /* L'opacité est déjà gérée en inline dans le HTML (ex: 0.1 ou 0.15), on la garde telle quelle */
}

/* Bandeau vertical : transformation en conteneur d'images */
.vertical-guide {
    /* On supprime l'ancien background-image (le gradient) */
    background-image: none !important;
    /* On permet le débordement caché pour le scroll infini propre */
    overflow: hidden;
    /* On garde la largeur et position fixes */
}

/* Conteneur interne pour le défilement du guide vertical */
.vertical-guide-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* Animation de défilement infini */
    animation: scrollGuidePhotos 60s linear infinite;
}

/* Les carrés individuels dans le guide vertical */
.guide-photo-square {
    width: 100%;
    /* La hauteur sera égale à la largeur (carré) via JS ou CSS aspect-ratio */
    aspect-ratio: 1 / 1;
    margin-bottom: 40px; /* Le gap défini précédemment */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; filter: blur(1px);
    /* Opacité gérée ici ou héritée */
}

@keyframes scrollGuidePhotos {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); } /* On défile de la moitié (car on dupliquera le contenu) */
}

/* Ajustement pour les phrases numérotées dans les blocs rouges */
.service-card .numbered-phrase {
    color: var(--white);
}

/* --- ANIMATION LOGO HERO : BIG BANG INVERSÉ (Supprimée) --- */

/* --- MENU MOBILE (OVERLAY) --- */

/* Bouton Burger */
.burger-menu {
    display: none; /* Caché sur desktop */
    cursor: pointer;
    z-index: 2000;
    position: fixed;
    top: 25px;
    right: 30px;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--white); /* Blanc car navbar rouge */
    transition: all 0.3s ease;
}

/* Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    color: var(--white);
    font-family: var(--font-logo);
    font-size: 2.5rem;
    text-decoration: none;
    margin: 15px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

/* Animation des liens */
.mobile-nav-overlay.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(6) { transition-delay: 0.6s; }

/* Animation Burger Croisé */
.burger-menu.active .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
}
.burger-menu.active .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* RESPONSIVE GENERAL */
@media (max-width: 900px) {
    .nav-center, .nav-right, .nav-marker {
        display: none !important; /* Cacher menu desktop */
    }
    
    .burger-menu {
        display: flex; /* Afficher burger */
    }

    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .sceno-brand-hero {
        font-size: 4rem;
    }

    h1, #hero-title {
        font-size: 2.5rem !important;
    }

    .section-block {
        padding: 20px;
    }

    /* Colonnes en ligne deviennent empilées */
    .contact-grid, .formats-grid, .two-cols, .services-grid, .offers-container {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }

    .offer-box, .format-column, .service-card {
        width: 100%;
        min-width: 0;
    }

    /* Masquer gros éléments décoratifs sur mobile si gênant */
    .deco-square, .vertical-guide {
        opacity: 0.15; /* Réduire encore l'opacité */
    }
}

/* --- REGLAGE FINAL BOUTONS NAVIGATION --- */
.scroll-down-indicator, .back-to-top {
    position: fixed;
    width: 45px;
    height: 45px;
    background-color: var(--red) !important;
    color: var(--white) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer;
    z-index: 3000 !important; /* Très haut pour éviter tout chevauchement */
    border-radius: 0 !important; /* Rectangle strict charte */
    transition: all 0.3s ease;
    padding: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scroll-down-indicator:hover, .back-to-top:hover {
    background-color: var(--black) !important;
    transform: scale(1.1);
}

.scroll-down-indicator i, .back-to-top i {
    font-size: 1.2rem !important;
    color: var(--white) !important;
    margin: 0 !important;
    padding: 0 !important;
}
