  /* ======================================== */
  /*          CONFIGURATION GLOBALE (DARK)    */
  /* ======================================== */
  :root {
    --color-background: #0A0A0A; /* Un fond presque noir pour un look premium */
    --color-text: #EAEAEA;       /* Un blanc cassé doux pour le texte */
    --color-muted: #999999;       /* Un gris plus clair pour les paragraphes */
    --color-accent: #f9df8d;     /* Le bronze/or vieilli est parfait ici */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--color-text); line-height: 1.15; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
p { color: var(--color-muted); max-width: 60ch;margin-bottom:1rem; }

.section { padding: 120px 0; }
.section-title { text-align: center; margin-bottom: 80px; }
.section+.section:not(.contact-section){
    padding-top: 0;
}

/* ======================================== */
/*          HEADER & NAVIGATION (DARK)      */
/* ======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left:0;
    padding-right:0;
}
.main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.85); /* Fond sombre semi-transparent */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Ligne subtile au lieu de l'ombre */
}
.header-logo { font-size: 1.5rem; font-weight: 500; text-decoration: none; color: var(--color-text); }
.main-nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 400;
}
.main-nav a.cta-button {
    background-color: var(--color-accent); /* Bouton couleur or */
    color: #0A0A0A; /* Texte foncé pour le contraste */
    padding: 10px 25px;
    border-radius: 50px;
    transition: var(--transition);
}
.cta-button:hover { background-color: #c7a783; } /* Or un peu plus clair au survol */

img{
  border-radius: 10px;
}

/* ======================================== */
/*              HÉROS (DARK)                */
/* ======================================== */
.hero-section {
    display: flex; /* Activation de Flexbox */
    align-items: center; /* Centrage vertical des éléments */
    min-height: 100vh; /* La section prend toute la hauteur de l'écran */
    position: relative;
    padding-top: 100px; /* Espace pour le header fixe */
    background:radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 70%),
    radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    overflow: hidden;

}
.hero-section .container{
  display: flex;
  align-items: center;
  gap: 80px;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
}
.hero-pattern{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(212, 175, 55, 0.1) 1px, transparent 0);
  background-size: 60px 60px;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

/* Chaque enfant direct (vidéo et contenu) prendra la moitié de l'espace */
.hero-content, .hero-media-container {
    flex: 1;
}

/* On utilise 'order' pour changer l'ordre visuel sans toucher au HTML */
.hero-media-container {
    width: 100%;
}

.hero-content {
    text-align: left; /* On aligne le texte à gauche */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--color-text);
    background-image: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    text-fill-color: unset;
    -webkit-text-fill-color: unset;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0 40px; /* On retire la marge automatique */
    display: block;
}

.hero-buttons {
    justify-content: flex-start; /* On aligne les boutons à gauche */
    margin-bottom: 0;
}

.hero-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.scroll-down-arrow {
    bottom: 20px; /* Un peu plus haut */
}
.scroll-down-arrow svg {
    stroke: var(--color-text);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* ======================================== */
/*          CARACTÉRISTIQUES (DARK)         */
/* ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-item {
    text-align: center;
    background-color: #141414; /* Fond de carte sombre */
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Bordure claire subtile */
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent); /* La bordure devient dorée au survol */
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.3); /* Ombre plus visible */
}
.feature-item svg {
    width: 36px; height: 36px;
    stroke: var(--color-accent); /* Icône dorée */
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.feature-item:hover svg {
    transform: scale(1.1);
}
.feature-item h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--color-text);
}
.feature-item p {
    margin: 5px auto 0;
    font-size: 1rem;
    color: var(--color-muted);
}

/* ======================================== */
/*     CONTENU & IMAGE (Asymétrique) (DARK) */
/* ======================================== */
.about-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    gap: 60px;
}
.about-content {
    background-color: #141414; /* Fond sombre pour le bloc de texte */
    padding: 60px;
    border-radius: 12px;
    z-index: 10;
    box-shadow: none; /* On retire l'ombre, inutile sur fond sombre */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Bordure pour délimiter */
}
.about-content h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.2; margin-bottom: 2rem; }
.about-content p:last-of-type { margin-bottom: 2.5rem; }
.about-image { border-radius: 12px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }

@media (max-width: 992px) {
    .about-layout { flex-direction: column; gap: 0; }
    .about-content, .about-image { width: 100%; }
    .about-image { order: 1; border-radius: 12px 12px 0 0; }
    .about-image img { min-height: 350px; height: 350px; }
    .about-content { order: 2; border-radius: 0 0 12px 12px; box-shadow: none; margin-top: -1px; padding: 40px; }
}

/* ======================================== */
/*              GALERIE D'ART (DARK)        */
/* ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
}
.gallery-grid a {
    grid-column: span 2;
    grid-row: span 1;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}
.gallery-grid a.gi-large { grid-column: span 3; }
.gallery-grid a.gi-tall { grid-row: span 2; }
.gallery-grid a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}
.gallery-grid a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ======================================== */
/*          PARTENAIRES & DEVIS (DARK)      */
/* ======================================== */
.contact-section {
  background-color: #000000; /* Un fond noir pur pour cette section */
  background-image: url('images/forme2.webp');
  background-repeat: no-repeat;
  background-position: center right;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; text-align: center;
}
.partner-card h3 { font-size: 1.5rem; margin-bottom: 10px; }

.contact-layout {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 80px; align-items: center;
}
.contact-form .form-group { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px;
    border: 1px solid #333; /* Bordure de formulaire sombre */
    background-color: #141414; /* Fond de formulaire sombre */
    font-family: var(--font-body);
    color: var(--color-text); /* Texte blanc dans le formulaire */
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: var(--color-muted); /* Placeholder gris clair */
    opacity: 1;
}
.contact-text p{
    margin-top: 2rem;
}
.contact-form textarea { min-height: 120px; }
.btn{
    border-radius:10px;
    text-decoration: none;
    font-weight: 500;
    padding:0.875rem 2rem;
}
.btn-white{
  color:#fff;
}
.btn-outline{
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #555; /* Bordure grise */
    color: var(--color-text);
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}
.btn-outline:hover {
    background-color: var(--color-text); /* Devient blanc */
    color: var(--color-background); /* Avec du texte noir */
    border-color: var(--color-text);
    transform: translateY(-2px);
}
.form-button {
    background: linear-gradient(135deg, var(--color-accent) 0%, #e6c659 100%);
    color: #0A0A0A; /* Texte foncé */
    border: none; padding: 15px 35px; cursor: pointer;
    transition: var(--transition); font-size: 1rem;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
}
.form-button:hover { background: #c7a783; } /* Or plus clair */

/* ======================================== */
/*              PIED DE PAGE (DARK)         */
/* ======================================== */
footer {
    padding: 80px 40px; text-align: center;
    background-color: #070c17;
    background-image: url('images/footer-bg-2.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color:#ffffff;
    text-align:left;
}
footer p{
    color:#ffffff;
}
.footer-logo { font-size: 2.5rem; font-family: var(--font-heading); margin-bottom: 20px; }
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-info a {
    margin: 0; text-decoration: none;
    color: #ffffff;
}
.copyright { font-size: 0.9rem; color: var(--color-muted); margin-top: 50px; }

/* ======================================== */
/*          ANIMATIONS & RESPONSIVE (DARK)  */
/* ======================================== */
.animate-on-scroll {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1; transform: translateY(0);
}

@media (max-width: 900px) {
    /* Responsive pour la section Hero */
    .hero-section {
        flex-direction: column; /* On empile les éléments verticalement */
        min-height: auto;
        padding: 120px 0 60px; /* On ajuste le padding pour mobile */
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center; /* On centre les boutons */
    }
    .scroll-down-arrow {
       display: none; /* On cache la flèche sur mobile pour gagner de la place */
    }

    .contact-layout { grid-template-columns: 1fr; }
    .content-image-layout.reversed .text-content { justify-self: start; }
    .gallery-item, .gi-large, .gi-tall { grid-column: span 3; grid-row: span 1; }
}

@media (max-width: 600px) {
    .section { padding: 80px 0; }
    .container{
        margin:0 15px;
    }
    .main-header { padding: 15px 20px; }
    .contact-form .form-group { flex-direction: column; }
    .gallery-item, .gi-large, .gi-tall { grid-column: span 6; }
    .gallery-grid{
        grid-template-columns: repeat(4, 1fr);
    }
    .features-grid{
        grid-template-columns: 2fr 2fr;
    }
    .contact-layout{
        gap:40px;
    }
    footer{
        padding:40px 0;
    }
    .footer-logo{
        font-size: 1.5rem;
    }
}

/* ======================================== */
/*      OPTIMISATION HEADER MOBILE (DARK)   */
/* ======================================== */
@media (max-width: 600px) {
    .main-header {
      background-color: rgba(10, 10, 10, 0.95);
      backdrop-filter: blur(8px);
      box-shadow: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 10px 15px;
    }
    .header-logo {
      font-size: 1rem;
      font-weight: 500;
    }
    .hero-section {
      padding-top: 100px;
    }
    .hero-buttons {
      display: none;
    }
    .main-nav {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .main-nav a[href^="tel:"] {
      font-size: 0;
      margin-left: 0;
      width: 40px;
      height: 40px;
      border: 1px solid #333;
      border-radius: 50%;
      background-color: transparent;
      display: flex;
      justify-content: center;
      align-items: center;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAEAEA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 18px;
      transition: var(--transition);
    }
    .main-nav a[href^="tel:"]:hover {
      background-color: rgba(255,255,255,0.05);
      border-color: #555;
    }
    .main-nav a.cta-button {
      font-size: 0;
      padding: 0;
      margin-left: 0;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--color-accent); /* Le CTA principal reste doré */
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
  

/* AJOUTS POUR LE FOOTER */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

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

.footer-links ul li a:hover {
    color: #ffffff;
}

.copyright {
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .copyright {
        text-align: center;
    }
    footer {
        text-align: center;
    }
}
/* FIN DES AJOUTS POUR LE FOOTER */