/* ============================================ */
/* CASABLANCA FILM LAB - STYLESHEET */
/* Version 2.2 - Mise à jour des crédits Projets */
/* ============================================ */

/* VARIABLES GLOBALES (ROOT) */
:root {
    --color-black: #0a0a0a;
    --color-grey: #1a1a1a;
    --color-white: #f5f5f5;
    --color-red: #e74c3c;
    --color-orange: #f34b08 ;
}





/* STYLES DE BASE */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

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

body { 
    font-family: 'Poppins', sans-serif; 
    background: #000; 
    color: #fff; 
    overflow-x: hidden;
    line-height: 1.6;
}

/* CORRECTION : ESPACEMENT DES PARAGRAPHES */
p {
    margin-top: 0;
    margin-bottom: 1rem; /* Réduction de la marge inférieure par défaut */
}

h2 {
font-weight: 600;
    color: #f34b08;
}
a:focus-visible, 
button:focus-visible { 
    outline: 3px solid var(--color-red); 
    outline-offset: 2px; 
    border-radius: 3px; 
}

/* INTRO VIDÉO */
.intro-container { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    z-index: 10000; 
    background: #000; 
    overflow: hidden; 
    transition: opacity .5s ease; 
}

.intro-video { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto; 
}

.video-controls { 
    position: absolute; 
    top: 2rem; 
    right: 2rem; 
    display: flex; 
    gap: 1rem; 
    z-index: 10001; 
}

.skip-intro, 
.mute-btn { 
    background: rgba(231, 76, 60, .8); 
    color: #fff; 
    padding: .8rem 1.5rem; 
    border: none; 
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: 700; 
    transition: all .3s ease; 
}

.mute-btn { 
    background: rgba(212, 137, 14, .8); 
}

.skip-intro:hover, 
.mute-btn:hover { 
    transform: scale(1.05); 
    opacity: 1; 
}

.main-site { 
    display: none; 
    min-height: 100vh; 
}

/* Classes pour remplacer les styles inline */
.services-main,
.contact-main {
    display: block !important;
}

/* HEADER & MENU */
header { 
    position: fixed; 
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid #222; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 1rem 2rem; 
    z-index: 100; 
}

.header-fixed {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1300px; 
    margin: 0 auto; 
}

.logo { 
    height: 100px; 
    width: auto; 
}

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

.nav-links a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
    transition: color .3s ease; 
}

.nav-links a:hover { 
    color: #e74c3c; 
}

.nav-links li.has-megamenu { 
    position: relative; 
}

.megamenu { 
    display: none; 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
    top: 100%; 
    width: 800px; 
    background: #111; 
    border: 1px solid #333; 
    border-top: 2px solid var(--color-orange); 
    padding: 2rem; 
    z-index: 101; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.megamenu-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
}

.megamenu-grid a { 
    padding: 0.8rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.megamenu-grid a:hover { 
    background-color: var(--color-grey); 
    color: var(--color-orange); 
}

.nav-links li.has-megamenu:hover .megamenu { 
    display: block; 
}

/* BURGER MENU */
.burger-menu { 
    display: none; 
    flex-direction: column; 
    justify-content: space-around; 
    width: 2rem; 
    height: 2rem; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    z-index: 1002; 
}

.burger-menu div { 
    width: 2rem; 
    height: .25rem; 
    background: #fff; 
    border-radius: 10px; 
    transition: all .3s linear; 
}

.nav-mobile { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    background: rgba(10, 10, 10, .95); 
    position: fixed; 
    top: 0; 
    right: 0; 
    height: 100vh; 
    width: 70%; 
    z-index: 1001; 
    transform: translateX(100%); 
    transition: transform .3s ease-in-out; 
}

.nav-mobile ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nav-mobile ul li {
    margin: 1.5rem 0;
}

.nav-mobile ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-mobile ul li a:hover {
    color: var(--color-orange);
}

.nav-mobile.active { 
    transform: translateX(0); 
}

.burger-menu.active div:nth-child(1) { 
    transform: rotate(45deg) translateY(10px); 
}

.burger-menu.active div:nth-child(2) { 
    opacity: 0; 
}

.burger-menu.active div:nth-child(3) { 
    transform: rotate(-45deg) translateY(-10px); 
}

/* LAYOUTS & HEROS */
.page-container-boxed { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

.hero-sony-style { 
    width: 100%; 
    height: 80vh; 
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('/upload/Accueil.webp') center/cover fixed; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

.hero-sony-content h1 { 
    font-size: 4.5rem; 
    font-weight: 700; 
    margin-bottom: 1rem; 
}

.hero-sony-content h2 { 
    font-size: 2.2rem; 
    color: var(--color-orange); 
}

.page-hero { 
    min-height: 50vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 8rem 2rem 4rem; 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
}

.page-hero h1 { 
    font-size: 3.5rem; 
    color: #e74c3c; 
    margin-bottom: 1rem; 
}

.page-hero p { 
    font-size: 1.3rem; 
    color: #ccc; 
    max-width: 800px; 
}

/* BACKGROUNDS SPÉCIFIQUES */
.hero-montage { 
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('/upload/Montage.webp'); 
}

.hero-etalonnage { 
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('/upload/etalonnage.webp'); 
}

.hero-vfx { 
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('/upload/vfx.webp'); 
}

.hero-sound { 
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('/upload/auditorium1.webp'); 
}

/* NOUVELLE CLASSE POUR LA PAGE MUSIQUE */
.hero-musique { 
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('/upload/musique-hero.webp'); 
}

body.services-page-bg { 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('/upload/postproduction_background.webp') center/cover fixed; 
}

/* SECTIONS CONTENU */
.content-section-boxed, 
.service-intro-boxed { 
    max-width: 900px; 
    margin: 5rem auto; 
    padding: 2rem; 
    text-align: left; 
}

/* CORRECTION : RÉDUCTION DE L'ESPACE DANS CETTE SECTION */
.service-intro-boxed { 
    text-align: center; 
    margin: 0 auto; 
    padding: 1.5rem 0; /* Ancien 3rem 0; */
}

.service-intro-boxed h2 { 
    font-size: 2.8rem; 
    color: var(--color-red); 
    margin-bottom: 1.5rem; 
}

.service-section-split { 
    display: flex; 
    gap: 2.5rem; 
    padding: 4rem 0; 
}

.service-section-split .content, 
.service-section-split .gallery { 
    flex: 1; 
    min-width: 300px; 
}

.service-section-split .gallery img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
}

.image-gallery-grid, 
.image-gallery-grid-single, 
.process-gallery, 
.auditorium-gallery { 
    display: grid; 
    gap: 1rem; 
}

.image-gallery-grid { 
    grid-template-columns: 1fr 1fr; 
}

.image-gallery-grid img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    border-radius: 8px; 
    border: 1px solid #333; 
    transition: transform 0.3s; 
}

.image-gallery-grid img:hover { 
    transform: scale(1.05); 
}

.image-gallery-grid .span-2 { 
    grid-column: 1 / -1; 
    height: 300px; 
}

.image-gallery-grid-single img,
.process-gallery img,
.auditorium-gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.auditorium-gallery .span-2 {
    grid-column: 1 / -1;
    height: 280px;
}

.projects-list-section {
    margin: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.section-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange);
    font-weight: 700;
    margin-bottom: .5rem;
}

.section-header .section-lead {
    color: #ccc;
    margin-top: 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--color-grey);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-orange);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
}

.pill {
    background: var(--color-orange);
    color: #fff;
    padding: .2rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

.pill-outline {
    background: transparent;
    border: 1px solid var(--color-orange);
}

.project-card h3 {
    margin: 0 0 .5rem 0;
    color: #fff;
    font-size: 1.3rem;
}

/* ========================================================== */
/* STYLES DES CRÉDITS DE PROJET (pour liste avec puces '•') */
/* Si vous utilisez la structure <ul>/<li> à l'intérieur de la carte */
/* ========================================================== */

.project-credits {
    list-style: none; /* Cache les puces par défaut */
    padding-left: 0;
    margin: 0;
    color: #c7c7c7;
    line-height: 1.6;
    font-size: .95rem;
}

/* Cible chaque ligne de crédit (si c'est un <li>) */
.project-credits li {
    margin-bottom: 5px; 
    padding-left: 1.2em; /* Espace pour la puce customisée */
    position: relative;
    color: #c7c7c7; /* Couleur du texte des crédits */
    line-height: 1.5;
}

/* Ajout de la puce "•" personnalisée */
.project-credits li::before {
    content: "•";
    color: var(--color-orange); /* Utilise la couleur orange pour la puce */
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: -1px; /* Ajustement vertical pour un meilleur alignement */
}

/* Optionnel : Mettre le rôle (Réal., Montage) en gras si vous utilisez une balise <span> ou <strong> */
.project-credits li .role {
    font-weight: 600; 
    color: var(--color-white); 
}
/* ========================================================== */
/* FIN DES STYLES DE CRÉDITS */
/* ========================================================== */

.offer-section {
    margin: 4rem 0;
}

/* CORRECTION : RÉDUCTION DE L'ESPACE DE CETTE SECTION */
.offer-section {
    max-width: 1000px;
    margin: 2rem auto; /* Ancien 3rem auto; */
    padding: 2rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.offer-card {
    background: var(--color-grey);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-orange);
    box-shadow: 0 14px 34px rgba(0,0,0,0.32);
}

.offer-card h3 {
    color: #fff;
    margin-bottom: .6rem;
    font-size: 1.2rem;
}

.offer-card p {
    color: #c7c7c7;
    line-height: 1.7;
}

/* SERVICES SECTION */
.services-section-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-orange);
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}

.services-grid {
    margin-top: 2rem;
}

.offer-section h2 {
    font-size: 2rem;
    color: var(--color-orange);
    margin-bottom: 2rem;
    text-align: center;
}

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

.offer-section ul li {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.offer-section ul li::before {
    content: '\203a'; /* CORRECTION DE L'ENCODAGE */
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
    font-size: 1.5rem;
}

/* LISTES */
.service-list { 
    list-style: none; 
    padding: 0; 
}

.service-list li { 
    font-size: 1.1rem; 
    color: #ccc; 
    margin-bottom: 1rem; 
    padding-left: 2rem; 
    position: relative; 
}

.service-list li::before { 
    content: '\203a'; /* CORRECTION DE L'ENCODAGE */
    position: absolute; 
    left: 0; 
    color: var(--color-orange); 
    font-weight: 700; 
    font-size: 1.5rem; 
}

/* BOUTONS */
.btn { 
    padding: 1rem 2rem; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: all .3s; 
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
}

.btn-primary { 
    background: #e74c3c; 
    color: #fff; 
}

.btn-primary:hover { 
    background: #c0392b; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-outline { 
    background: transparent; 
color: #d4890e; 
    border-color: #d4890e; 
}

.btn-outline:hover { 
    background: #d4890e; 
    color: #000; 
}

.btn-service {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover {
    color: var(--color-red);
    transform: translateX(5px);
}

.cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* LIGHTBOXES */
.video-lightbox { 
    display: none; 
    position: fixed; 
    z-index: 9998; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.9); 
}

.video-lightbox-content { 
    position: relative; 
    margin: 5% auto; 
    width: 90%; 
    max-width: 900px; 
    background: #111; 
    padding: 20px; 
    border-radius: 8px;
}

.video-lightbox-player-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    background: #000; 
}

.video-lightbox-player-container video { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

.video-lightbox-close { 
    position: absolute; 
    top: -15px; 
    right: -15px; 
    color: #fff; 
    background: var(--color-red); 
    width: 35px; 
    height: 35px; 
    text-align: center; 
    line-height: 35px; 
    border-radius: 50%; 
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.video-lightbox-close:hover {
    transform: scale(1.1);
    background: #c0392b;
}

.video-lightbox-playlist { 
    display: flex; 
    gap: 10px; 
    overflow-x: auto; 
    margin-top: 15px; 
}

.video-playlist-item { 
    padding: 10px; 
    background: #222; 
    cursor: pointer; 
    white-space: nowrap;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.video-playlist-item:hover {
    background: #333;
}

.video-playlist-item.active { 
    background: var(--color-red); 
}

/* CONTACT FORM */
.contact-info-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-grey);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.contact-info-item .icon {
    font-size: 2.5rem;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.contact-info-item h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-info-item a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--color-red);
}

.contact-form-section { 
    background: #111; 
    padding: 5rem 2rem; 
    text-align: center; 
}

.contact-form-section h2 {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 2rem;
}

.contact-form { 
    max-width: 800px; 
    margin: 0 auto; 
    text-align: left; 
}

.contact-form form { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
}

.form-span-2 { 
    grid-column: 1 / -1; 
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: #ccc;
    font-weight: 500;
}

.form-group input, 
.form-group textarea, 
.form-group select { 
    width: 100%; 
    padding: 1rem; 
    background: var(--color-grey); 
    border: 1px solid #333; 
    color: #fff;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-checkbox label {
    color: #ccc;
    font-size: 0.9rem;
}

.form-checkbox a {
    color: var(--color-orange);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.map-section {
    margin: 3rem 0;
}

.map-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.map-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER */
footer { 
    background: #111; 
    padding: 3rem 0.5rem; 
    color: #999; 
}

.footer-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 2rem; 
    max-width: none; 
    margin: 0; 
    padding: 0 0.75rem;
}

.footer-col h4 { 
    color: #fff; 
    margin-bottom: 1.5rem; 
    position: relative; 
}

.footer-col h4::after { 
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: -5px; 
    width: 40px; 
    height: 2px; 
    background: #d4890e; 
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col a { 
    color: #999; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover { 
    color: #e74c3c; 
}

.footer-col.about p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 1rem;
    max-width: 160px;
    height: auto;
}

.footer-col.about {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* WHATSAPP BUTTON */
.whatsapp-button { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 60px; 
    height: 60px; 
    background: #25D366; 
    color: #fff; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 2.5rem; 
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* COOKIE BANNER */
#cookie-banner { 
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    background: var(--color-grey); 
    padding: 1.5rem; 
    border-top: 1px solid #333; 
    z-index: 1005; 
    display: none;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center;
    gap: 1.5rem; 
}

#cookie-banner p {
    margin: 0;
}

#cookie-banner a {
    color: var(--color-orange);
    text-decoration: none;
}

#cookie-banner a:hover {
    text-decoration: underline;
}

/* ANIMATIONS */
.fade-in { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.6s ease, transform 0.6s ease; 
}

.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* SERVICE CARDS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.service-card {
    background: var(--color-grey);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
    border-color: var(--color-orange);
}

.service-card-content h3 {
    color: var(--color-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .megamenu {
        width: 600px;
    }
    
    .hero-sony-content h1 {
        font-size: 3.5rem;
    }
    
    .page-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }
    
    .burger-menu { 
        display: flex; 
    }
    
    .services-grid, 
    .image-gallery-grid, 
    .auditorium-gallery, 
    .contact-form form,
    .contact-info-grid { 
        grid-template-columns: 1fr; 
    }
    
    .service-section-split { 
        flex-direction: column-reverse; 
    }
    
    .digital-prod-order { 
        flex-direction: column; 
    } 
    
    .digital-prod-order-reverse { 
        flex-direction: column-reverse; 
    }
    
    .hero-sony-content h1, 
    .page-hero h1 { 
        font-size: 2.5rem; 
    }
    
    .hero-sony-content h2 {
        font-size: 1.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    #cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-sony-content h1,
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .service-intro-boxed h2 {
        font-size: 2rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    /* Ajustement de la taille de la police des crédits pour petit écran */
    .project-credits li {
        font-size: .9rem;
    }
}

/* PERFORMANCE OPTIMIZATIONS */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============================================ */
/* PARTICLE BACKGROUND ANIMATION */
/* ============================================ */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permet de cliquer sur le contenu dessous */
    z-index: -1; /* Toujours derrière la vidéo d'intro et le site */
    overflow: hidden; /* Évite les barres de défilement dues aux mouvements */
}

.particle {
    position: absolute;
    width: 4px; /* Taille du point */
    height: 4px;
    background: var(--color-red); /* Utilise la couleur rouge définie dans vos variables */
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg); /* Démarrage en bas, invisible */
        opacity: 0;
    }
    10% {
        opacity: 0.6; /* Apparition */
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg); /* Fin en haut, hors écran */
        opacity: 0; /* Disparition */
    }
}