* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --noir: #000000;
    --blanc: #FFFFFF;
    --rouge: #D32F2F;
    --gris-fonce: #1A1A1A;
    --gris-clair: #F5F5F5;
    --or: #FFD700;
    --vert: #4CAF50;
    --bleu: #2196F3;
    --violet: #9C27B0;
}

body {
    background-color: var(--noir);
    color: var(--blanc);
    overflow-x: hidden;
    line-height: 1.6;
}
/* Hero Section */
.hero-valeurs {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center;
    background-size: cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--rouge);  /* ← Changé de blanc à rouge */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: var(--rouge);
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--blanc);
    border-left: 4px solid var(--or);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

/* Main Content */
.valeurs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Introduction */
.introduction-section {
    text-align: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gris-fonce), transparent);
    border-radius: 20px;
    border: 2px solid rgba(211, 47, 47, 0.3);
}

.section-title {
    color: var(--rouge);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(to right, var(--rouge), var(--or));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--blanc);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Grille des Valeurs */
.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.valeur-card {
    background: linear-gradient(145deg, var(--gris-fonce), rgba(0,0,0,0.8));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.valeur-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--rouge);
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.4);
}

/* Couleurs spécifiques pour chaque valeur */
.valeur-card.solidarite {
    border-top: 5px solid var(--vert);
}

.valeur-card.solidarite .valeur-icon {
    background: linear-gradient(135deg, var(--vert), #2E7D32);
}

.valeur-card.passion {
    border-top: 5px solid var(--rouge);
}

.valeur-card.passion .valeur-icon {
    background: linear-gradient(135deg, var(--rouge), #B71C1C);
}

.valeur-card.respect {
    border-top: 5px solid var(--or);
}

.valeur-card.respect .valeur-icon {
    background: linear-gradient(135deg, var(--or), #FF8F00);
}

.valeur-card.securite {
    border-top: 5px solid var(--bleu);
}

.valeur-card.securite .valeur-icon {
    background: linear-gradient(135deg, var(--bleu), #0D47A1);
}

.valeur-card.famille {
    border-top: 5px solid var(--violet);
}

.valeur-card.famille .valeur-icon {
    background: linear-gradient(135deg, var(--violet), #6A1B9A);
}

.valeur-card.engagement {
    border-top: 5px solid #00BCD4;
}

.valeur-card.engagement .valeur-icon {
    background: linear-gradient(135deg, #00BCD4, #006064);
}

.valeur-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.valeur-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--blanc);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.valeur-card:hover .valeur-icon {
    transform: scale(1.1) rotate(5deg);
}

.valeur-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.valeur-slogan {
    color: var(--gris-clair);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.valeur-body {
    padding: 0 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.valeur-description {
    color: var(--blanc);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.valeur-principes {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: auto;
}

.principe-title {
    color: var(--or);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.principe-list {
    list-style-type: none;
}

.principe-list li {
    color: var(--blanc);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.principe-list li::before {
    content: "•";
    color: var(--rouge);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Section Charte */
.charte-section {
    margin-top: 6rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--noir), var(--gris-fonce));
    border-radius: 20px;
    border: 3px solid var(--rouge);
    position: relative;
    overflow: hidden;
}

.charte-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--rouge), var(--or), var(--vert), var(--bleu), var(--violet));
}

.charte-header {
    text-align: center;
    margin-bottom: 3rem;
}

.charte-title {
    color: var(--or);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.charte-content {
    max-width: 900px;
    margin: 0 auto;
}

.charte-article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.charte-article:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.article-number {
    display: inline-block;
    background-color: var(--rouge);
    color: var(--blanc);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.article-title {
    color: var(--blanc);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-text {
    color: var(--gris-clair);
    line-height: 1.8;
}

/* Section Serment */
.serment-section {
    margin-top: 6rem;
    padding: 4rem;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), 
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center;
    background-size: cover;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 2px solid var(--or);
}

.serment-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.serment-title {
    color: var(--or);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.serment-text {
    font-size: 1.3rem;
    line-height: 2;
    color: var(--blanc);
    margin-bottom: 2rem;
    font-style: italic;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.serment-signature {
    color: var(--rouge);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    background-color: var(--noir);
    padding: 3rem 2rem;
    border-top: 3px solid var(--rouge);
    text-align: center;
    margin-top: 4rem;
}

.footer-text {
    color: var(--blanc);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.moto-icon {
    color: var(--rouge);
    font-size: 2rem;
    margin: 0 10px;
}

/* Boutons */
.btn {
    background-color: var(--rouge);
    color: var(--blanc);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--blanc);
    color: var(--noir);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

/* ================= ANIMS ================= */
    @keyframes fadeInUp{ from{opacity:0; transform: translateY(30px);} to{opacity:1; transform: translateY(0);} }
    @keyframes pulse{
      0%,100%{ transform:scale(1); box-shadow: 0 0 20px rgba(211,47,47,.3); }
      50%{ transform:scale(1.05); box-shadow: 0 0 30px rgba(211,47,47,.5); }
    }

    /* ================= RESPONSIVE ================= */
    @media (max-width: 992px){
      .hero-title{ font-size: 3.5rem; }
      .hero-subtitle{ font-size: 1.5rem; }
    }

    /* ========== MOBILE MENU FULLSCREEN ========== */
    @media (max-width: 768px){
      .hamburger{ display:flex; }

      /* désactive hover desktop en mobile */
     

      .nav-menu{
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5.2rem 1.6rem 2rem;
        gap: 0;
        transition: right .35s ease;
        z-index: 1190; /* au dessus overlay */
        overflow-y: auto;
      }

      .nav-menu.active{ right: 0; }

      .nav-link{
        padding: 1.1rem 0;
        border-bottom: 1px solid #222;
        border-radius: 0;
      }

      /* Dropdown mobile en mode "accordion" */
      .dropdown-content{
        position: static;
        border: none;
        border-radius: 0;
        background: #111;
        margin: 0.2rem 0 0.8rem 1rem;
        min-width: auto;
      }

      .dropdown.active .dropdown-content{ display:block; }

      .dropdown-content a{
        padding: 1rem 0;
        border-bottom: 1px solid #222;
      }

      /* HERO */
      .hero-minimal{ padding: 1rem; }
      .hero-title{ font-size: 2.6rem; }
      .hero-subtitle{ font-size: 1.2rem; }
      .cta-buttons{ flex-direction: column; }
      .btn{ width:100%; max-width: 320px; justify-content:center; }
      .section-title-simple h2{ font-size: 2.2rem; }
      .features-grid-simple{ grid-template-columns: 1fr; }
    }

    @media (max-width: 576px){
      .hero-title{ font-size: 2.2rem; }
      .hero-subtitle{ font-size: 1.05rem; }
      .feature-item{ padding: 2rem; }
    }