/* =====================================================
   OXYDE STEEL GUITARS
   Feuille de style principale
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    /* Valeurs de secours : recalculées en JS (navbar.offsetHeight,
       hauteur du titre "LES MODÈLES"...) dès le chargement, pour
       ne jamais dépendre d'un chiffre fixe */
    --navbar-h:130px;

    --modeles-titre-h:150px;

}

html{

    scroll-behavior:smooth;

}

body{

    background:#050505;
    color:#ffffff;

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

}

body.menu-ouvert{

    overflow:hidden;

}

/* ==========================
      NAVIGATION
========================== */

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:65%;

    max-width:1100px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

    padding:25px 70px;

    z-index:1000;

    transition:.4s;

    background:rgba(5, 5, 5, 0.85);

    backdrop-filter:blur(8px);

}

.logo img{

    height:80px;

}

.menu{

    display:flex;

    list-style:none;

    gap:45px;

}

.menu a{

    color:white;

    text-decoration:none;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:14px;

    transition:.3s;

}

.menu a:hover{

    color:#c28d53;

}

.menu-toggle{

    display:none;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:5px;

    width:44px;

    height:44px;

    background:none;

    border:none;

    cursor:pointer;

    padding:0;

    z-index:1100;

}

.menu-toggle span{

    display:block;

    width:24px;

    height:2px;

    background:white;

    transition:.3s;

}

.menu-toggle.active span:nth-child(1){

    transform:translateY(7px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-7px) rotate(-45deg);

}

/* ==========================
      SÉLECTEUR DE LANGUE
========================== */

.lang-switcher{

    position:fixed;

    top:22px;

    right:26px;

    z-index:1200;

    display:flex;

    gap:6px;

    padding:5px;

    background:rgba(10,10,10,0.85);

    border:1px solid #222;

    border-radius:30px;

    backdrop-filter:blur(6px);

    transition:.3s;

}

.lang-drapeau{

    display:flex;

    align-items:center;

    justify-content:center;

    width:32px;

    height:32px;

    border-radius:50%;

    border:1px solid transparent;

    background:transparent;

    cursor:pointer;

    padding:0;

    opacity:.45;

    transition:.25s;

}

.lang-drapeau-emoji{

    font-size:16px;

    line-height:1;

    filter:grayscale(60%);

    transition:.25s;

}

.lang-drapeau:hover{

    opacity:.8;

}

.lang-drapeau.active{

    opacity:1;

    border-color:#c28d53;

    background:rgba(194,141,83,0.12);

}

.lang-drapeau.active .lang-drapeau-emoji{

    filter:grayscale(0%);

}

@media (max-width:900px){

    .lang-switcher{

        top:16px;

        right:70px;

        padding:4px;

        gap:4px;

    }

    .lang-drapeau{

        width:44px;

        height:44px;

    }

    .lang-drapeau-emoji{

        font-size:14px;

    }

}

/* ==========================
         HERO
========================== */

.hero{

    position:relative;

    height:100vh;

    height:100svh;

    display:flex;

    align-items:center;

}

.hero-image{

    position:absolute;

    top:0;

    right:0;

    width:90%;

    height:100%;

    object-fit:cover;

}

.overlay{

    position:absolute;

    width:100%;

    height:100%;

    background:linear-gradient(
        90deg,
        rgba(5,5,5,1) 30%,
        rgba(5,5,5,.80) 45%,
        rgba(5,5,5,.10) 70%,
        transparent 100%
    );

}

.hero-cadre-rouille{

    position:fixed;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    pointer-events:none;

    mix-blend-mode:multiply;

    z-index:2600;

    opacity:0;

}

.hero-cadre-rouille.visible{

    opacity:2;

}

.hero-content{

    position:relative;

    z-index:5;

    width:100%;

    margin-left:80px;

    /* S'adapte à la vraie hauteur de la navbar (mesurée en JS),
       au lieu d'un chiffre fixe qui ne collait qu'à une résolution précise */
    padding-top:calc(var(--navbar-h) + 40px);

}

.subtitle{

    color:#b17a42;

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:15px;

}

.hero h1{

    margin-top:35px;

    margin-bottom:40px;

    font-family:"Arial",serif;

    font-size:45px;

    font-weight:300;

    line-height:1.3;

}

.hero p{

    color:#cfcfcf;

    line-height:34px;

    font-size:15px;

    max-width:800px;

    text-align:justify;

}

.btn{

    display:inline-block;

    margin-top:70px;

    padding:18px 42px;

    border:1px solid #b17a42;

    color:white;

    text-decoration:none;

    transition:.6s;

    letter-spacing:2px;

}

.btn:hover{

    background:#b17a42;

}

.hero-sous-titre{

    margin-top:22px;

    color:#cfcfcf;

    font-size:16px;

    line-height:1.6;

    max-width:600px;

}

.hero-cta{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:20px;

    margin-top:40px;

}

.hero-cta .btn{

    margin-top:0;

}

.btn-discret{

    border-color:#555;

    color:#cfcfcf;

}

.btn-discret:hover{

    background:transparent;

    border-color:#b17a42;

    color:#b17a42;

}

/* ==========================
   VISUEL "DÉCOUVRIR LES CRÉATIONS"
========================== */

.hero-decouverte{

    position:relative;

    display:flex;

    align-items:center;

    gap:30px;

    width:100%;

    max-width:640px;

    margin-top:70px;

    padding:24px;

    background:#111;

    border:1px solid #222;

    cursor:pointer;

    transition:.6s;

}

.hero-decouverte.transition{

    opacity:0;

}

.hero-decouverte:hover{

    border-color:#b17a42;

    transform:translateY(-4px);

}

.hero-decouverte.video-actif{

    padding:0;

    overflow:hidden;

    aspect-ratio:16/9;

}

.hero-decouverte.video-actif .hero-decouverte-infos{

    display:none;

}

.hero-decouverte.video-actif .hero-decouverte-image{

    width:100%;

    height:100%;

    aspect-ratio:auto;

}

.hero-decouverte-image{

    position:relative;

    flex-shrink:0;

    width:220px;

    aspect-ratio:3/4;

    background:#0a0a0a;

    overflow:hidden;

}

.hero-decouverte-image img,
.hero-decouverte-video{

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-decouverte-image img{

    opacity:0;

    visibility:hidden;

}

.hero-decouverte-image img.active{

    opacity:1;

    visibility:visible;

}

.hero-decouverte-video{

    position:absolute;

    inset:0;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

}

.hero-decouverte-video.active{

    opacity:1;

    visibility:visible;

}

.hero-decouverte-video::-webkit-media-controls{

    display:none !important;

}

.hero-decouverte-infos{

    flex:1;

}

.hero-decouverte-numero{

    display:block;

    color:#a6a6a6;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:12px;

    margin-bottom:8px;

}

.hero-decouverte-infos h3{

    font-family:"Arial",serif;

    font-size:26px;

    font-weight:500;

    margin-bottom:12px;

    color:white;

}

.hero-decouverte-infos p{

    color:#a6a6a6;

    font-size:14px;

    line-height:22px;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:4;

    overflow:hidden;

}

@media (max-width:900px){

    .hero-decouverte{

        max-width:100%;

        flex-direction:column;

        align-items:flex-start;

    }

    .hero-decouverte-image{

        width:100%;

        max-width:320px;

    }

}

/* ==========================
      NOTRE HISTOIRE
========================== */

.histoire{

    padding:140px 80px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.histoire-content{

    max-width:900px;

}

.histoire h2{

    font-size:clamp(26px, 5.5vw, 42px);

    font-weight:300;

    margin-bottom:35px;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#c28d53;

}

.histoire p{

    color:#cfcfcf;

    line-height:32px;

    font-size:17px;

    margin-bottom:20px;

    text-align:justify;

}

.histoire-carousel{

    position:relative;

    width:100%;

    height:520px;

    background:#0a0a0a;

    border:1px solid #222;

    overflow:hidden;

}

.histoire-slide{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

    transition:opacity 1s ease;

}

.histoire-slide.active{

    opacity:1;

}

.histoire-slide-video{

    object-fit:cover;

    pointer-events:none;

}

.histoire-slide-video::-webkit-media-controls{

    display:none !important;

}

@media (max-width:900px){

    .histoire{

        grid-template-columns:1fr;

    }

    .histoire-carousel{

        height:350px;

    }

}

/* ==========================
      LES MODÈLES
========================== */

.modeles{

    padding:140px 80px;

    background:#0a0a0a;

}

.modeles h2{

    font-size:clamp(26px, 5.5vw, 42px);

    font-weight:300;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#c28d53;

    margin-bottom:60px;

    position:sticky;

    top:var(--navbar-h);

    z-index:20;

    background:#0a0a0a;

    padding:20px 0;

}

.modeles-grid{

    display:grid;

    grid-template-columns:repeat(5, 1fr);

    gap:20px;

}

.modele-card{

    background:#111;

    border:1px solid #222;

    transition:.4s;

    cursor:pointer;

    display:flex;

    flex-direction:column;

}

.modele-card:hover{

    border-color:#b17a42;

    transform:translateY(-6px);

}

.modele-card-image{

    height:320px;

    background:#0a0a0a;

    display:flex;

    align-items:flex-end;

    justify-content:center;

    overflow:hidden;

}

.modele-card-image img{

    max-width:65%;

    max-height:95%;

    width:auto;

    object-fit:contain;

}

.modele-card h3{

    font-size:15px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:1px;

    margin:16px 14px 8px;

}

.modele-card-prix{

    color:#b17a42;

    font-size:13px;

    font-weight:500;

    letter-spacing:.5px;

    margin:0 14px 10px;

}

.modele-card p{

    color:#a6a6a6;

    font-size:13px;

    line-height:20px;

    margin:0 14px 20px;

}

.modele-card.en-cours{

    cursor:default;

    align-items:center;

    justify-content:center;

    min-height:380px;

    border:1px dashed #2a2a2a;

}

.modele-card.en-cours:hover{

    border-color:#2a2a2a;

    transform:none;

}

.modele-card.en-cours .en-cours-contenu{

    text-align:center;

    color:#555;

}

.modele-card.en-cours .en-cours-contenu span{

    display:block;

    margin-top:12px;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:2px;

}

.prochainement{

    margin-top:70px;

    padding-top:50px;

    border-top:1px solid #1c1c1c;

    text-align:center;

}

.prochainement-titre{

    font-size:13px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#b17a42;

}

.prochainement-texte{

    max-width:640px;

    margin:16px auto 34px;

    color:#a6a6a6;

    font-size:14px;

    line-height:24px;

}

.prochainement-grid{

    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:20px;

}

.prochainement-card{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:140px;

    border:1px dashed #2a2a2a;

    color:#555;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:2px;

    text-align:center;

    padding:20px;

}

@media (max-width:800px){

    .prochainement-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:1400px){

    .modeles-grid{

        grid-template-columns:repeat(3, 1fr);

    }

}

@media (max-width:800px){

    .modeles-grid{

        grid-template-columns:1fr;

    }

}

/* ==========================
      FABRICATION
========================== */

.fabrication{

    padding:140px 80px;

}

.fabrication h2{

    font-size:clamp(26px, 5.5vw, 42px);

    font-weight:300;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#c28d53;

    margin-bottom:60px;

}

.etapes{

    display:flex;

    gap:60px;

}

.etape{

    flex:1;

}

.numero{

    display:block;

    font-family:"Cormorant Garamond",serif;

    font-size:48px;

    color:#b17a42;

    margin-bottom:15px;

}

.etape h3{

    font-size:18px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:15px;

}

.etape p{

    color:#a6a6a6;

    font-size:15px;

    line-height:24px;

}

.etape-image{

    margin:20px 0;

    border:1px solid #222;

    overflow:hidden;

}

.etape-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

    transition:.4s;

}

.etape:hover .etape-image img{

    transform:scale(1.05);

}
/* Adaptation à 4 étapes : évite que ce soit trop serré sur écran moyen */

@media (max-width:1100px){

    .etapes{

        flex-wrap:wrap;

    }

    .etape{

        flex:1 1 calc(50% - 30px);

    }

}

/* ==========================
      PHILOSOPHIE DE FABRICATION
========================== */

.philosophie{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px 60px;

    margin-top:90px;

    padding-top:70px;

    border-top:1px solid #222;

}

.philosophie-bloc h4{

    font-size:16px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:2px;

    color:#b17a42;

    margin-bottom:14px;

}

.philosophie-bloc p{

    color:#cfcfcf;

    font-size:15px;

    line-height:26px;

}

@media (max-width:800px){

    .philosophie{

        grid-template-columns:1fr;

        gap:35px;

        margin-top:60px;

        padding-top:50px;

    }

}

/* ==========================
      ILS JOUENT OXYDE
========================== */

.temoignages{

    padding:140px 80px;

}

.temoignages h2{

    font-size:clamp(26px, 5.5vw, 42px);

    font-weight:300;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#c28d53;

    margin-bottom:20px;

}

.temoignages-intro{

    color:#a6a6a6;

    font-size:16px;

    line-height:26px;

    margin-bottom:50px;

    max-width:700px;

}

.temoignages-grid{

    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:30px;

}

.temoignage-card{

    background:#111;

    border:1px solid #222;

    padding:35px 30px;

    display:flex;

    flex-direction:column;

    gap:20px;

}

.temoignage-texte{

    color:#cfcfcf;

    font-size:15px;

    line-height:26px;

    font-style:italic;

}

.temoignage-nom{

    color:#b17a42;

    font-size:13px;

    letter-spacing:1px;

    text-transform:uppercase;

}

.temoignages-grid.temoignages-vide{

    grid-template-columns:1fr;

}

.temoignage-placeholder{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:140px;

    border:1px dashed #2a2a2a;

    color:#555;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:2px;

    text-align:center;

}

@media (max-width:800px){

    .temoignages{

        padding:80px 25px;

    }

    .temoignages-grid{

        grid-template-columns:1fr;

    }

}

/* ==========================
      PARTENARIATS
========================== */

.partenaires{

    padding:140px 80px;

    background:#0a0a0a;

}

.partenaires h2{

    font-size:clamp(26px, 5.5vw, 42px);

    font-weight:300;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#c28d53;

    margin-bottom:20px;

}

.partenaires-intro{

    color:#a6a6a6;

    font-size:16px;

    line-height:26px;

    margin-bottom:50px;

    max-width:700px;

}

.partenaires-grid{

    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:30px;

}

.partenaire-card{

    background:#111;

    border:1px solid #222;

    padding:35px 20px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:20px;

    text-decoration:none;

    transition:.4s;

    min-height:180px;

}

.partenaire-card:hover{

    border-color:#b17a42;

    transform:translateY(-6px);

}

.partenaire-card img{

    max-width:100%;

    max-height:120px;

    object-fit:contain;

}

.partenaire-card span{

    color:white;

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:1px;

    text-align:center;

}

@media (max-width:1400px){

    .partenaires-grid{

        grid-template-columns:repeat(2, 1fr);

    }

}

@media (max-width:600px){

    .partenaires-grid{

        grid-template-columns:1fr;

    }

}

/* ==========================
      CONTACT
========================== */

.contact{

    padding:140px 80px;

}

.contact h2{

    font-size:clamp(26px, 5.5vw, 42px);

    font-weight:300;

    text-transform:uppercase;

    letter-spacing:3px;

    color:#c28d53;

    margin-bottom:50px;

}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:25px;

    max-width:600px;

}

.contact-grid{

    display:grid;

    grid-template-columns:1.3fr .7fr;

    gap:80px;

    align-items:start;

}

.contact-reseaux{

    padding-top:6px;

}

.contact-reseaux h3{

    font-size:15px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:2px;

    color:#a6a6a6;

    margin-bottom:30px;

}

.reseau-link{

    display:flex;

    align-items:center;

    gap:18px;

    padding:16px 0;

    border-bottom:1px solid #222;

    color:white;

    text-decoration:none;

    font-size:15px;

    letter-spacing:.5px;

    transition:.3s;

}

.reseau-link:hover{

    color:#c28d53;

    padding-left:8px;

}

.reseau-link svg{

    width:22px;

    height:22px;

    flex-shrink:0;

    color:#b17a42;

}

.contact-form input,
.contact-form textarea{

    background:transparent;

    border:none;

    border-bottom:1px solid #333;

    color:white;

    font-family:"Inter",sans-serif;

    font-size:16px;

    padding:12px 0;

    outline:none;

    transition:.3s;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-bottom-color:#b17a42;

}

.contact-note{

    color:#8a8a8a;

    font-size:13px;

    line-height:22px;

}

.contact-form button{

    align-self:flex-start;

    background:transparent;

    cursor:pointer;

    font-size:13px;

}

.contact-form button:disabled{

    opacity:.5;

    cursor:default;

}

.contact-feedback{

    font-size:14px;

    min-height:20px;

    margin-top:-5px;

}

.contact-feedback.succes{

    color:#8fbf7f;

}

.contact-feedback.erreur{

    color:#e07a5f;

}

/* ==========================
      FOOTER
========================== */

footer{

    padding:40px 80px;

    text-align:center;

    color:#666;

    font-size:13px;

    border-top:1px solid #222;

}

.footer-liens{

    margin-top:12px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.footer-liens a{

    color:#888;

    text-decoration:none;

    font-size:12px;

}

.footer-liens a:hover{

    color:#b17a42;

    text-decoration:underline;

}

/* ==========================
      ANCRES DE NAVIGATION
========================== */

.histoire,
.modeles,
.fabrication,
.partenaires,
.contact{

    scroll-margin-top:calc(var(--navbar-h) + 120px);

}

/* ==========================
      SOUS-MENU DÉROULANT
========================== */

.menu-item-dropdown{

    position:relative;

}

.sous-menu{

    position:absolute;

    top:100%;

    left:0;

    min-width:200px;

    background:#0a0a0a;

    border:1px solid #222;

    list-style:none;

    z-index:20;

    opacity:0;

    visibility:hidden;

    transform:translateY(10px);

    transition:.3s;

}

.menu-item-dropdown.active .sous-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.menu-item-dropdown > a{

    cursor:pointer;

}

.menu-item-dropdown > a::after{

    content:"▾";

    display:inline-block;

    margin-left:6px;

    font-size:11px;

    transition:.3s;

}

.menu-item-dropdown.active > a::after{

    transform:rotate(180deg);

}

.sous-menu li{

    border-bottom:1px solid #1a1a1a;

}

.sous-menu li:last-child{

    border-bottom:none;

}

.sous-menu a{

    display:block;

    padding:15px 20px;

    color:white;

    text-decoration:none;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:12px;

    transition:.3s;

}

.sous-menu a:hover{

    background:#b17a42;

    color:white;
}

/* ==========================
      SOUS-TITRES MODÈLES
========================== */

.sous-titre-modeles{

    font-size:22px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:2px;

    color:#a6a6a6;

    margin:60px 0 30px;

    scroll-margin-top:calc(var(--navbar-h) + var(--modeles-titre-h) + 20px);

}

.sous-titre-modeles:first-of-type{

    margin-top:0;

}

/* ==========================
      MODALE MODÈLE
========================== */

.modal-overlay{

    position:fixed;

    inset:0;

    background:rgba(5,5,5,0.97);

    display:flex;

    align-items:flex-start;   /* ← remplace "center" */

    justify-content:center;

    padding:60px 40px;        /* ← un peu plus d'espace en haut pour l'aération visuelle */

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:3000;

    overflow-y:auto;

}

.modal-overlay.actif{

    opacity:1;

    visibility:visible;

}

.modal-content{

    position:relative;

    max-width:1100px;

    width:100%;

    display:flex;

    align-items:flex-start;

    transition:max-width .4s ease;

}

.modal-content.avec-panel{

    max-width:1520px;

}

.modal-close{

    position:absolute;

    top:-45px;

    right:-6px;

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:none;

    border:none;

    color:white;

    font-size:34px;

    line-height:1;

    cursor:pointer;

    transition:.3s;

    z-index:10;

}

.modal-close:hover{

    color:#b17a42;

}

.modal-box{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:flex-start;

    flex:1 1 1100px;

    max-width:1100px;

    min-width:0;

}

.modal-image-wrap{

    border:1px solid #222;

    background:#0a0a0a;

    perspective:1600px;

    aspect-ratio:3/4;

}

.modal-flip{

    position:relative;

    width:100%;

    height:100%;

    transform-style:preserve-3d;

    transition:transform 1s ease;

}

.modal-flip.retourne{

    transform:rotateY(180deg);

}

.modal-face{

    position:absolute;

    inset:0;

    backface-visibility:hidden;

}

.modal-face img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.modal-face-verso{

    transform:rotateY(180deg);

}



.modal-numero{

    display:block;

    color:#a6a6a6;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:13px;

    margin-bottom:12px;

}

.modal-infos h3{

    font-family:"Cormorant Garamond",serif;

    font-size:44px;

    font-weight:500;

    margin-bottom:10px;

    color:#ffffff;

}

.modal-prix{

    color:#b17a42;

    font-size:18px;

    font-weight:500;

    letter-spacing:.3px;

    margin-bottom:20px;

}

.modal-description{

    color:#cfcfcf;

    line-height:30px;

    font-size:16px;

    margin-bottom:35px;

}

.modal-specs{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px 40px;

    padding-top:30px;

    border-top:1px solid #222;

    margin-bottom:40px;

}

.modal-spec-label{

    display:block;

    color:#b17a42;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:12px;

    margin-bottom:8px;

}

.modal-spec-valeur{

    display:block;

    color:white;

    font-size:15px;

}

.modal-btn{

    margin-top:0;

}

.modal-cta-sticky{

    display:none;

}

.modal-carac-toggle{

    display:flex;

    align-items:center;

    justify-content:space-between;

    width:100%;

    background:none;

    border:none;

    border-top:1px solid #222;

    padding:18px 0;

    margin-bottom:25px;

    color:#c28d53;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:13px;

    font-family:inherit;

    cursor:pointer;

    transition:color .3s;

}

.modal-carac-toggle:hover{

    color:#e0a86a;

}

.modal-carac-toggle-fleche{

    font-size:20px;

    line-height:1;

    transition:transform .3s ease;

}

.modal-carac-toggle.ouvert .modal-carac-toggle-fleche{

    transform:rotate(90deg);

}

.modal-caracteristiques-panel{

    flex:0 0 0px;

    width:0;

    min-width:0;

    opacity:0;

    overflow:hidden auto;

    border-left:1px solid #222;

    transition:flex-basis .4s ease, width .4s ease, opacity .3s ease .1s, padding .4s ease, margin .4s ease;

}

.modal-caracteristiques-panel.ouvert{

    flex:0 1 360px;

    width:360px;

    min-width:260px;

    opacity:1;

    margin-left:40px;

    padding-left:40px;

}

.specs-categorie{

    padding:16px 0;

    border-top:1px solid #1a1a1a;

}

.specs-categorie:first-child{

    border-top:none;

    padding-top:0;

}

.specs-categorie-nom{

    color:#b17a42;

    font-size:12px;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:10px;

}

.specs-champs{

    display:flex;

    flex-direction:column;

}

.specs-ligne{

    display:flex;

    flex-direction:column;

    gap:2px;

    padding:8px 10px;

}

.specs-ligne:nth-child(odd){

    background:#0d0d0d;

}

.specs-ligne-label{

    color:#a6a6a6;

    font-size:11px;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.specs-ligne-valeur{

    color:#eaeaea;

    font-size:13px;

    text-align:left;

}

/* Flash à l'ouverture */

.modal-flash{

    position:fixed;

    inset:0;

    background:#fff8e6;

    opacity:0;

    pointer-events:none;

    z-index:3001;

}

.modal-overlay.actif .modal-flash{

    animation:flash .35s ease-out;

}

@keyframes flash{

    0%{ opacity:.85; }
    100%{ opacity:0; }

}

/* Étincelles */

.modal-etincelles{

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:3001;

}

.etincelle{

    position:absolute;

    width:4px;

    height:4px;

    border-radius:50%;

    background:#ffb347;

    box-shadow:0 0 8px 2px rgba(255,170,60,.9);

    animation:voler .9s ease-out forwards;

}

@keyframes voler{

    0%{

        transform:translate(0,0) scale(1);
        opacity:1;

    }

    100%{

        transform:translate(var(--x), var(--y)) scale(.2);
        opacity:0;

    }

}

.modele-card{

    cursor:pointer;

}

/* Responsive : empile l'image et le texte sur petit écran */

@media (max-width:800px){

    .modal-content{

        flex-direction:column;

        padding-bottom:90px;

    }

    /* Le CTA "Demander un devis" passe en barre fixe en bas d'écran sur
       mobile : plus besoin de scroller toute la fiche pour le trouver. */
    .modal-infos .modal-btn{

        display:none;

    }

    .modal-cta-sticky{

        display:flex;

        position:fixed;

        left:0;

        right:0;

        bottom:0;

        z-index:20;

        padding:14px 20px calc(14px + env(safe-area-inset-bottom));

        background:#111;

        border-top:1px solid #222;

    }

    .modal-cta-sticky .btn{

        width:100%;

        margin-top:0;

        padding:14px 20px;

        text-align:center;

    }

    .modal-content.avec-panel{

        max-width:1100px;

    }

    .modal-box{

        grid-template-columns:1fr;

        gap:30px;

        max-width:100%;

    }

    .modal-specs{

        grid-template-columns:1fr;

    }

    .modal-caracteristiques-panel{

        border-left:none;

        border-top:1px solid #222;

    }

    .modal-caracteristiques-panel.ouvert{

        width:100%;

        min-width:0;

        flex-basis:auto;

        margin-left:0;

        padding-left:0;

        padding-top:20px;

        height:auto !important;

    }

    .contact-grid{

        grid-template-columns:1fr;

        gap:50px;

    }

}
/* ==========================
      ROUILLE PROGRESSIVE
========================== */

.rouille-vignette{

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:2500;

}

.rouille-vignette-acier,
.rouille-vignette-rouille{

    position:absolute;

    inset:0;

    transition:opacity .6s linear;

}

.rouille-vignette-acier{

    box-shadow:inset 0 0 160px 30px rgba(120,120,120,0.06);

    opacity:1;

}

.rouille-vignette-rouille{

    box-shadow:inset 0 0 160px 30px rgba(140,60,25,0.35);

    opacity:0;

}

/* ==========================
      JAUGE D'OXYDATION
========================== */

.rouille-jauge{

    position:fixed;

    top:0;

    left:0;

    z-index:5;

    background:rgba(10,10,10,0.85);

    border:1px solid #222;

    border-top:none;

    padding:6px 0;

    backdrop-filter:blur(6px);

    visibility:hidden;

}

.rouille-jauge.positionnee{

    visibility:visible;

}

.rouille-jauge-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 4px;

    margin-bottom:4px;

}

.rouille-jauge-label{

    display:block;

    font-size:9px;

    text-transform:uppercase;

    letter-spacing:2px;

    color:#a6a6a6;

}

.rouille-jauge-barre{

    width:100%;

    height:2px;

    background:#2a2a2a;

    position:relative;

    overflow:hidden;

    margin-bottom:4px;

}

.rouille-jauge-remplissage{

    height:100%;

    width:0%;

    background:linear-gradient(90deg, #9aa0a6, #b17a42 60%, #8a4a25);

    transition:width .3s linear;

}

.rouille-jauge-pourcentage{

    font-size:11px;

    color:#fff;

    letter-spacing:1px;

}

.rouille-jauge-message{

    font-family:"Cormorant Garamond",serif;

    font-style:italic;

    font-size:16px;

    line-height:1.4;

    color:#c28d53;

    text-align:center;

    white-space:nowrap;

    margin-top:4px;

    max-height:0;

    overflow:hidden;

    opacity:0;

    transition:opacity .8s ease, max-height .8s ease, margin-top .8s ease;

}

.rouille-jauge-message.visible{

    opacity:1;

    max-height:60px;

    margin-top:10px;

}

.rouille-jauge.complet .rouille-jauge-top,
.rouille-jauge.complet .rouille-jauge-barre{

    opacity:0;

    max-height:0;

    overflow:hidden;

    margin:0;

    transition:opacity .5s ease, max-height .5s ease, margin .5s ease;

}

.rouille-jauge.complet{

    background:transparent;

    border:none;

    padding-top:0;

}

@media (max-width:800px){

    .rouille-jauge{

        padding:8px 0;

    }

    .rouille-jauge-label,
    .rouille-jauge-pourcentage{

        font-size:9px;

    }

    .rouille-jauge-message{

        font-size:13px;

    }

}

/* ==========================
      ÉTAPE 3 : COULURES DE ROUILLE
      (descendent du haut de l'écran et naissent
       sous les photos, s'allongent petit à petit)
========================== */

.rouille-coulures-ecran{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:0;

    pointer-events:none;

    z-index:2650;

    overflow:visible;

}

.coulure{

    position:absolute;

    top:0;

    height:0;

    background:linear-gradient(180deg, rgba(138,74,37,0.9) 0%, rgba(138,74,37,0.55) 55%, rgba(138,74,37,0) 100%);

    clip-path:polygon(15% 0%, 85% 0%, 68% 90%, 55% 100%, 45% 100%, 32% 90%);

    mix-blend-mode:multiply;

    transition:height .5s linear, opacity .5s linear;

}

.coulure::after{

    content:"";

    position:absolute;

    bottom:-2px;

    left:50%;

    transform:translateX(-50%);

    width:9px;

    height:9px;

    border-radius:50%;

    background:rgba(138,74,37,0.75);

    mix-blend-mode:multiply;

    opacity:0;

    transition:opacity .4s ease;

}

.coulure.goutte::after{

    opacity:1;

}

.rouille-coulure-photo{

    position:absolute;

    height:0;

    background:linear-gradient(180deg, rgba(138,74,37,0.92) 0%, rgba(138,74,37,0.5) 65%, rgba(138,74,37,0) 100%);

    clip-path:polygon(15% 0%, 85% 0%, 68% 90%, 50% 100%, 32% 90%);

    mix-blend-mode:multiply;

    pointer-events:none;

    z-index:15;

    transition:height .5s linear, opacity .5s linear;

}

.rouille-coulure-photo::after{

    content:"";

    position:absolute;

    bottom:-2px;

    left:50%;

    transform:translateX(-50%);

    width:7px;

    height:7px;

    border-radius:50%;

    background:rgba(138,74,37,0.7);

    mix-blend-mode:multiply;

    opacity:0;

    transition:opacity .4s ease;

}

.rouille-coulure-photo.goutte::after{

    opacity:1;

}

@media (max-width:800px){

    .rouille-coulures-ecran{

        display:none;

    }

}

.logo{

    position:relative;

}

.logo-rivet{

    position:absolute;

    top:-4px;

    right:-4px;

    width:10px;

    height:10px;

}

.logo-rivet-acier,
.logo-rivet-rouille{

    position:absolute;

    inset:0;

    border-radius:50%;

    transition:opacity .6s linear;

}

.logo-rivet-acier{

    background:#9aa0a6;

    opacity:1;

}

.logo-rivet-rouille{

    background:#8a4a25;

    opacity:0;

}

@media (max-width:800px){

    .rouille-icone{

        display:none;

    }

}
/* ==========================
      DEVENIR FOURNISSEUR / PARTENAIRE
========================== */

.partenaire-devenir{

    padding:20px;

    gap:15px;

}

.devenir-bouton{

    width:100%;

    flex:1;

    background:transparent;

    border:1px dashed #333;

    color:white;

    cursor:pointer;

    transition:.3s;

    padding:15px 10px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-family:inherit;

}

.devenir-bouton:hover{

    border-color:#b17a42;

    background:rgba(177,122,66,0.08);

}

.devenir-titre{

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:1px;

    text-align:center;

    line-height:1.6;

}

.modal-content-simple{

    display:block;      /* ← nouvelle ligne : annule le display:flex hérité de .modal-content */

    max-width:650px;

    background:#111;

    border:1px solid #222;

    padding:55px 50px;

}

.modal-content-simple h3{

    font-family:"Arial",serif;

    font-size:34px;

    font-weight:500;

    color:#fff;

    margin-bottom:20px;

}

.modal-devenir-bloc{

    margin-bottom:25px;

}

.modal-devenir-bloc h4{

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:1px;

    color:#b17a42;

    margin-bottom:12px;

    font-weight:400;

}

.modal-devenir-bloc ul{

    list-style:none;

}

.modal-devenir-bloc li{

    color:#cfcfcf;

    font-size:14px;

    line-height:24px;

    padding-left:18px;

    position:relative;

    margin-bottom:8px;

}

.modal-devenir-bloc li::before{

    content:"—";

    position:absolute;

    left:0;

    color:#b17a42;

}

.modal-devenir-bloc p{

    color:#cfcfcf;

    font-size:14px;

    line-height:24px;

}

/* =====================================================
   NAVIGATION & HERO RESPONSIVE
   (menu hamburger + adaptation tablette / mobile)
===================================================== */

@media (max-width:900px){

    .navbar{

        width:100%;

        padding:18px 24px;

        justify-content:space-between;

    }

    .logo img{

        height:56px;

    }

    .menu-toggle{

        display:flex;

    }

    .menu{

        position:fixed;

        top:var(--navbar-h);

        left:0;

        width:100%;

        height:calc(100vh - var(--navbar-h));

        height:calc(100svh - var(--navbar-h));

        flex-direction:column;

        gap:0;

        background:rgba(5,5,5,0.98);

        backdrop-filter:blur(10px);

        overflow-y:auto;

        padding:10px 24px 40px;

        transform:translateX(100%);

        transition:transform .4s ease;

    }

    .menu.active{

        transform:translateX(0);

    }

    .menu li{

        width:100%;

        border-bottom:1px solid #1a1a1a;

    }

    .menu li a{

        display:block;

        padding:18px 0;

        font-size:15px;

    }

    /* Le sous-menu s'ouvre "en accordéon" dans le menu mobile,
       plutôt qu'en overlay flottant comme sur desktop */
    .menu-item-dropdown .sous-menu{

        position:static;

        opacity:1;

        visibility:visible;

        transform:none;

        border:none;

        min-width:0;

        max-height:0;

        overflow:hidden;

        transition:max-height .4s ease;

    }

    .menu-item-dropdown.active .sous-menu{

        max-height:200px;

    }

    .sous-menu a{

        padding:14px 0 14px 16px;

    }

    /* La jauge est positionnée en JS par rapport au menu desktop :
       elle n'a plus de sens quand le menu devient un panneau plein écran */
    .rouille-jauge{

        display:none;

    }

    .hero{

        height:auto;

        min-height:100vh;

        min-height:100svh;

        padding-bottom:60px;

    }

    .hero-image{

        width:100%;

    }

    .overlay{

        background:linear-gradient(
            180deg,
            rgba(5,5,5,.55) 0%,
            rgba(5,5,5,.80) 45%,
            rgba(5,5,5,.95) 100%
        );

    }

    .hero-content{

        margin-left:0;

        padding-left:24px;

        padding-right:24px;

        padding-bottom:40px;

    }

    .hero h1{

        font-size:32px;

    }

    .hero p{

        font-size:14px;

        line-height:28px;

    }

    .subtitle{

        font-size:13px;

        letter-spacing:2px;

    }

    .btn{

        margin-top:40px;

    }

    .hero-sous-titre{

        font-size:14px;

        max-width:none;

    }

    .hero-cta{

        flex-direction:column;

        align-items:stretch;

        margin-top:30px;

    }

    .hero-cta .btn{

        text-align:center;

    }

    .prochainement-grid{

        grid-template-columns:1fr;

    }

    .contact-grid{

        grid-template-columns:1fr;

        gap:50px;

    }

    .histoire,
    .modeles,
    .fabrication,
    .partenaires,
    .temoignages,
    .contact{

        padding:90px 24px;

    }

    .etapes{

        gap:30px;

    }

}

@media (max-width:480px){

    .hero h1{

        font-size:26px;

    }

    .hero-decouverte-infos h3{

        font-size:22px;

    }

    .etape{

        flex:1 1 100%;

    }

    .modele-card-image{

        height:260px;

    }

}
/* ==========================
      BANDEAU COOKIES (RGPD)
========================== */

.cookies-bandeau{

    position:fixed;

    left:0;

    right:0;

    bottom:0;

    z-index:9999;

    display:none;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    flex-wrap:wrap;

    padding:20px 30px;

    background:#111;

    border-top:1px solid #2a2a2a;

}

.cookies-bandeau.visible{

    display:flex;

}

.cookies-bandeau p{

    margin:0;

    color:#cfcfcf;

    font-size:13px;

    line-height:20px;

    max-width:640px;

}

.cookies-bandeau p a{

    color:#b17a42;

    text-decoration:underline;

}

.cookies-bandeau-boutons{

    display:flex;

    gap:12px;

    flex-shrink:0;

}

.cookies-bandeau-boutons button{

    padding:10px 20px;

    font-size:13px;

    letter-spacing:.5px;

    text-transform:uppercase;

    cursor:pointer;

    border:1px solid #2a2a2a;

    background:transparent;

    color:#cfcfcf;

}

.cookies-bandeau-boutons button#cookiesAccepter{

    background:#b17a42;

    border-color:#b17a42;

    color:#0a0a0a;

}

@media (max-width:600px){

    .cookies-bandeau{

        flex-direction:column;

        align-items:flex-start;

        padding:20px;

    }

    .cookies-bandeau-boutons{

        width:100%;

    }

    .cookies-bandeau-boutons button{

        flex:1;

    }

}

/* ==========================
      PAGES LÉGALES
========================== */

body.page-legale{

    background:#0a0a0a;

    color:#cfcfcf;

    font-family:"Inter",sans-serif;

}

.legale-conteneur{

    max-width:760px;

    margin:0 auto;

    padding:80px 24px 120px;

}

.legale-retour{

    display:inline-block;

    margin-bottom:40px;

    color:#b17a42;

    text-decoration:none;

    font-size:14px;

}

.legale-retour:hover{

    text-decoration:underline;

}

.legale-conteneur h1{

    font-family:"Cormorant Garamond",serif;

    font-size:42px;

    font-weight:500;

    color:#fff;

    margin-bottom:40px;

}

.legale-conteneur h2{

    font-size:16px;

    text-transform:uppercase;

    letter-spacing:1px;

    color:#fff;

    margin:40px 0 14px;

}

.legale-conteneur p,
.legale-conteneur ul{

    font-size:14px;

    line-height:24px;

    color:#a6a6a6;

    margin-bottom:14px;

}

.legale-conteneur ul{

    padding-left:20px;

}

.legale-conteneur a{

    color:#b17a42;

}

.legale-maj{

    margin-top:50px;

    font-size:12px;

    color:#666;

}


/* Statut de disponibilité des modèles */
.modele-card-statut,
.modal-statut{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:0 0 12px;
    color:#cfa46e;
    font-family:"Inter",sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:1.3px;
    line-height:1.2;
    text-transform:uppercase;
}
.modele-card-statut::before,
.modal-statut::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#84b878;
    box-shadow:0 0 0 3px rgba(132,184,120,.14);
}


/* ==========================
      LISTE D'ATTENTE
========================== */
.liste-attente{
    padding:120px 80px;
    background:linear-gradient(135deg, #101010 0%, #080808 100%);
    border-top:1px solid #1f1f1f;
    border-bottom:1px solid #1f1f1f;
}
.liste-attente-intro{
    max-width:760px;
    margin:0 auto 42px;
    text-align:center;
}
.liste-attente-intro .subtitle{
    display:block;
    margin-bottom:18px;
}
.liste-attente-intro h2{
    margin:0 0 20px;
    color:#c28d53;
    font-size:clamp(28px, 5vw, 42px);
    font-weight:300;
    letter-spacing:2px;
    text-transform:uppercase;
}
.liste-attente-intro p{
    margin:0;
    color:#cfcfcf;
    font-size:16px;
    line-height:1.8;
}
.liste-attente-form{
    display:flex;
    flex-direction:column;
    gap:22px;
    width:min(100%, 760px);
    margin:0 auto;
    padding:38px;
    background:#111;
    border:1px solid #2b2b2b;
}
.liste-attente-form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
}
.liste-attente-form input:not([type="checkbox"]),
.liste-attente-form select,
.liste-attente-form textarea{
    box-sizing:border-box;
    width:100%;
    padding:14px 0;
    background:transparent;
    border:0;
    border-bottom:1px solid #3a3a3a;
    border-radius:0;
    color:#fff;
    font-family:"Inter", sans-serif;
    font-size:15px;
    outline:none;
    transition:border-color .25s ease;
}
.liste-attente-form select{
    color:#cfcfcf;
    cursor:pointer;
}
.liste-attente-form select option{
    background:#111;
    color:#fff;
}
.liste-attente-form input:focus,
.liste-attente-form select:focus,
.liste-attente-form textarea:focus{
    border-bottom-color:#c28d53;
}
.liste-attente-form textarea{
    min-height:112px;
    resize:vertical;
}
.liste-attente-consentement{
    display:flex;
    align-items:flex-start;
    gap:12px;
    color:#cfcfcf;
    font-family:"Inter", sans-serif;
    font-size:13px;
    line-height:1.6;
    cursor:pointer;
}
.liste-attente-consentement input{
    width:18px;
    height:18px;
    margin:2px 0 0;
    accent-color:#c28d53;
    flex:0 0 auto;
}
.liste-attente-note{
    margin:0;
    color:#959595;
    font-size:13px;
    line-height:1.7;
}
.liste-attente-form .btn{
    align-self:flex-start;
    margin-top:4px;
}
@media (max-width:800px){
    .liste-attente{
        padding:90px 24px;
    }
    .liste-attente-form{
        padding:28px 22px;
    }
    .liste-attente-form-grid{
        grid-template-columns:1fr;
    }
    .liste-attente-form .btn{
        align-self:stretch;
        text-align:center;
    }
}
