
/* =========================================
   COPIE2000 — FEUILLE DE STYLE PRINCIPALE
========================================= */


/* =========================================
   01. VARIABLES ET STYLES GÉNÉRAUX
========================================= */

:root {
    --ink: #071426;
    --blue: #0787f5;
    --blue2: #0058c9;
    --orange: #f28c00;
    --cyan: #61d5ff;
    --paper: #f4f7fb;
    --line: #dce4ee;
    --muted: #667085;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink);
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================================
   02. EN-TÊTE ET NAVIGATION
========================================= */

.top {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 max(4vw, 24px);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(16px);
    z-index: 50;
    border-bottom: 1px solid #edf1f5;
}

.brand {
    font-size: 27px;
    font-weight: 950;
    letter-spacing: -1.7px;
    line-height: .8;
}

.brand span {
    color: var(--orange);
}

.brand small {
    display: block;
    font-size: 7px;
    letter-spacing: 0;
    font-weight: 650;
    margin-top: 7px;
    color: #5d6673;
}

nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 750;
}

nav a {
    position: relative;
}

nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--blue);
    transition: .25s;
}

nav a:hover:after {
    right: 0;
}

.menu {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 25px;
}


/* =========================================
   03. BOUTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    color: #fff;
    padding: 15px 21px;
    border-radius: 10px;
    font-weight: 850;
    cursor: pointer;
    transition: .25s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px #087fe83d;
}

.small {
    padding: 11px 15px;
    font-size: 12px;
}


/* =========================================
   04. BANNIÈRE PRINCIPALE — ACCUEIL
========================================= */

.hero {
    min-height: 720px;
    position: relative;
    color: #fff;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 13, 29, .96),
            rgba(3, 13, 29, .72) 48%,
            rgba(3, 13, 29, .18)
        ),
        url('https://images.unsplash.com/photo-1562654501-a0ccc0fc3fb1?auto=format&fit=crop&w=1900&q=85') center/cover;
    transform: scale(1.04);
    animation: herozoom 12s ease-out both;
}

@keyframes herozoom {
    to {
        transform: scale(1);
    }
}

.hero-inner {
    position: relative;
    max-width: 1280px;
    width: 90%;
    margin: auto;
}

.eyebrow {
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 2px;
    color: var(--cyan);
}

.dark {
    color: var(--blue);
}

h1 {
    font-size: clamp(52px, 7vw, 92px);
    line-height: .94;
    letter-spacing: -5px;
    max-width: 980px;
    margin: 18px 0 26px;
}

h1 em {
    font-style: normal;
    color: #43b8ff;
}

.lead {
    max-width: 750px;
    font-size: 19px;
    line-height: 1.65;
    color: #e8eef7;
}

.actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
}

.ghost,
.ghost-light {
    font-weight: 850;
}

.ghost-light {
    color: #fff;
}

.proof {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 65px;
}

.proof span {
    border: 1px solid #ffffff32;
    background: #ffffff10;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 12px;
}


/* =========================================
   05. SECTIONS ET TITRES
========================================= */

.section {
    max-width: 1280px;
    width: 90%;
    margin: auto;
    padding: 100px 0;
}

.head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 40px;
}

.head > p {
    max-width: 470px;
    color: var(--muted);
    line-height: 1.7;
}

h2 {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.03;
    letter-spacing: -2.4px;
    margin: 10px 0;
}

h3 {
    letter-spacing: -.5px;
}


/* =========================================
   06. CARTES DE SERVICES
========================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    border: 1px solid #e8edf3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 35px #10223b0b;
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 50px #10223b18;
}

.service-photo {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: .55s;
}

.service-card:hover .service-photo {
    transform: scale(1.025);
}

.service-copy {
    padding: 22px;
}

.service-copy span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue);
    font-weight: 900;
}

.service-copy h3 {
    font-size: 22px;
    margin: 8px 0;
}

.service-copy p {
    color: var(--muted);
    line-height: 1.55;
    min-height: 72px;
}

.service-copy b {
    color: var(--blue);
    font-size: 13px;
}


/* =========================================
   07. SECTIONS SOMBRES ET PRÉSENTATION
========================================= */

.darksec {
    background: #071426;
    color: #fff;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin: 35px 0;
}

.chips span {
    border: 1px solid #ffffff2e;
    border-radius: 999px;
    padding: 12px 16px;
    background: #ffffff09;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 620px;
    background: var(--paper);
}

.photo {
    background:
        url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1300&q=85')
        center/cover;
}

.copy {
    padding: 9vw 7vw;
    align-self: center;
}

.copy p {
    line-height: 1.75;
    color: #596579;
}

.textlink {
    color: var(--blue);
    font-weight: 900;
}


/* =========================================
   08. GALERIE D'ACCUEIL
========================================= */

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 12px;
}

.g {
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    transition: .3s;
}

.g:hover {
    transform: scale(.985);
}

.g1 {
    grid-row: span 2;
    background-image: url('realisation1-1.png');
}

.g2 {
    background-image: url('realisation2-1.png');
}

.g3 {
    background-image: url('realisation3-1.png');
}

.g4 {
    background-image: url('realisation4-1.png');
}

.g5 {
    background-image: url('realisation5-1.png');
}


/* =========================================
   09. APPELS À L'ACTION
========================================= */

.cta {
    padding: 70px max(5vw, 24px);
    background: linear-gradient(120deg, #087fe8, #0447a7);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9vw;
}

.cta > div {
    max-width: 780px;
}

.cta h2 {
    margin: 0;
}

.light {
    background: #fff;
    color: #075bc3;
}


/* =========================================
   10. BANNIÈRES DES PAGES INTÉRIEURES
========================================= */

.page-hero {
    min-height: 470px;
    background: linear-gradient(120deg, #061426, #0b3464);
    color: #fff;
    display: flex;
    align-items: center;
}

.page-hero > div {
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

.page-hero h1 {
    font-size: clamp(48px, 6vw, 82px);
}

.studiohero {
    background:
        linear-gradient(90deg, #061426dd, #06142680),
        url('https://images.unsplash.com/photo-1558655146-9f40138edfeb?auto=format&fit=crop&w=1900&q=85')
        center/cover;
}

.equiphero {
    background:
        linear-gradient(90deg, #061426e8, #06142675),
        url('https://images.unsplash.com/photo-1562654501-a0ccc0fc3fb1?auto=format&fit=crop&w=1900&q=85')
        center/cover;
}

.quotehero {
    background: linear-gradient(120deg, #061426, #064ea5);
}

.contacthero {
    background:
        linear-gradient(90deg, #061426e8, #06142680),
        url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1900&q=85')
        center/cover;
}


/* =========================================
   11. BANNIÈRES DES CATÉGORIES
========================================= */

.detail-hero {
    min-height: 620px;
    position: relative;
    color: #fff;
    background-image: var(--hero);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #061426f5 0%,
        #061426bf 48%,
        #06142640
    );
}

.detail-inner {
    position: relative;
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

.detail-inner h1 {
    font-size: clamp(50px, 6vw, 82px);
}

.back {
    display: inline-block;
    margin-bottom: 35px;
    color: #c9d8ea;
    font-weight: 750;
}


/* =========================================
   12. CARTES DES CATÉGORIES
========================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-card {
    padding: 28px;
    border: 1px solid #e4eaf1;
    border-radius: 16px;
    background: #fff;
    min-height: 190px;
    transition: .3s;
}

.product-card:hover {
    border-color: #b7d9fa;
    transform: translateY(-4px);
}

.product-card h3 {
    font-size: 21px;
    margin: 10px 0;
}

.product-card p {
    color: var(--muted);
    line-height: 1.6;
}

.icon-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8f4ff;
    color: var(--blue);
    font-weight: 900;
}


/* =========================================
   13. BANDEAU ÉQUIPEMENTS ET PROCESSUS
========================================= */

.machine-band {
    padding: 70px max(5vw, 24px);
    background: #071426;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12vw;
}

.machine-band > div {
    max-width: 750px;
}

.machine-band h2 {
    margin: 6px 0;
}

.process .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.steps > div {
    padding: 24px;
    background: var(--paper);
    border-radius: 14px;
}

.steps b {
    color: var(--blue);
}

.steps p {
    color: var(--muted);
    line-height: 1.5;
}


/* =========================================
   14. PAGE ÉQUIPEMENTS
========================================= */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.equipment-card {
    padding: 30px;
    border-radius: 16px;
    background: var(--paper);
    border: 1px solid #e7edf4;
}

.equipment-card span {
    color: var(--blue);
    font-weight: 950;
}

.equipment-card h3 {
    font-size: 25px;
    margin: 8px 0;
}

.equipment-card p {
    color: var(--muted);
    line-height: 1.6;
}


/* =========================================
   15. RÉALISATIONS — CARTES CLASSIQUES
========================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7edf4;
}

.portfolio img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: .45s;
}

.portfolio:hover img {
    transform: scale(1.04);
}

.portfolio figcaption {
    padding: 18px;
    font-weight: 850;
}

.portfolio small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    margin-top: 5px;
}


/* =========================================
   16. AVIS ET INFORMATIONS
========================================= */

.notice {
    margin-top: 30px;
    padding: 25px;
    border-left: 4px solid var(--blue);
    background: #edf6ff;
}

.notice p {
    margin-bottom: 0;
    color: var(--muted);
}


/* =========================================
   17. FORMULAIRE DE SOUMISSION
========================================= */

.form-section {
    max-width: 1180px;
    width: 90%;
    margin: auto;
    padding: 90px 0;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 35px;
}

.quote-form {
    display: grid;
    gap: 16px;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
}

.form-title span {
    color: var(--blue);
    font-weight: 950;
}

.form-title h2 {
    font-size: 28px;
    letter-spacing: -1px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

label {
    font-weight: 750;
    font-size: 13px;
}

input,
select,
textarea {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font: inherit;
    margin-top: 7px;
    background: #fff;
}

.check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 500;
}

.check input {
    width: auto;
    margin-top: 2px;
}

.upload {
    padding: 24px;
    border: 1px dashed #9ab9d8;
    border-radius: 12px;
    background: #f7fbff;
}

.upload p {
    color: var(--muted);
    margin-bottom: 0;
}

.form-aside {
    background: #071426;
    color: #fff;
    border-radius: 18px;
    padding: 28px;
    height: max-content;
    position: sticky;
    top: 105px;
}

.form-aside p {
    color: #c8d0dc;
    line-height: 1.55;
}


/* =========================================
   18. PAGE CONTACT
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-card {
    padding: 28px;
    background: var(--paper);
    border-radius: 16px;
}

.contact-card span {
    color: var(--blue);
    font-weight: 900;
}

.contact-card h3 {
    font-size: 22px;
}


/* =========================================
   19. PIED DE PAGE
========================================= */

footer {
    background: #040b14;
    color: #aab3c0;
    padding: 55px max(5vw, 24px);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
    gap: 35px;
    align-items: start;
}

footer .brand {
    color: #fff;
}

footer a {
    line-height: 1.9;
}

footer p {
    line-height: 1.5;
}

footer small {
    grid-column: 1/-1;
    border-top: 1px solid #ffffff17;
    padding-top: 24px;
    margin-top: 15px;
}


/* =========================================
   20. ANIMATIONS AU DÉFILEMENT
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* =========================================
   21. RESPONSIVE — TABLETTES
========================================= */

@media (max-width: 980px) {

    nav,
    .top > .small {
        display: none;
    }

    .menu {
        display: block;
    }

    .top.open nav {
        display: flex;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        flex-direction: column;
    }

    .service-grid,
    .product-grid,
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split,
    .form-section {
        grid-template-columns: 1fr;
    }

    .form-aside {
        position: static;
    }

    .process .steps,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .g1 {
        grid-row: auto;
    }

    .head {
        display: block;
    }

    footer {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================
   22. RESPONSIVE — MOBILES
========================================= */

@media (max-width: 620px) {

    h1 {
        letter-spacing: -3px;
    }

    .service-grid,
    .product-grid,
    .portfolio-grid,
    .equipment-grid,
    .process .steps,
    .contact-grid,
    .row,
    .gallery,
    footer {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: 700px;
    }

    .proof {
        margin-top: 40px;
    }

    .actions,
    .cta,
    .machine-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery {
        grid-template-rows: none;
    }

    .g {
        height: 230px;
    }

    .portfolio img {
        height: 260px;
    }

    footer small {
        grid-column: auto;
    }

}


/* =========================================
   23. GALERIES AUTOMATIQUES DES CATÉGORIES
========================================= */

.product-card {
    overflow: hidden;
    padding: 0 !important;
}

.product-card .mini-gallery {
    height: 175px;
    position: relative;
    overflow: hidden;
    background: #eaf0f6;
}

.product-card .mini-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .7s ease, transform 4s ease;
}

.product-card .mini-gallery img.active {
    opacity: 1;
    transform: scale(1);
}

.product-card .mini-gallery:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(
        transparent,
        rgba(4, 15, 28, .28)
    );
    pointer-events: none;
}

.product-card .dots {
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 12px;
    display: flex;
    gap: 5px;
}

.product-card .dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff88;
    box-shadow: 0 0 0 1px #00000018;
}

.product-card .dots i.active {
    background: #fff;
    width: 18px;
    border-radius: 6px;
}

.product-card .product-body {
    padding: 22px 24px 25px;
}

.product-card:hover .mini-gallery img.active {
    transform: scale(1.055);
}

@media (max-width: 620px) {

    .product-card .mini-gallery {
        height: 210px;
    }

}


/* =========================================
   24. LIENS DES CARTES PRODUITS
========================================= */

.product-card {
    position: relative;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.product-card:has(.card-link):after {
    content: "Voir la fiche →";
    position: absolute;
    right: 20px;
    bottom: 15px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    z-index: 4;
}

.product-card:has(.card-link) .product-body {
    padding-bottom: 45px;
}


/* =========================================
   25. FICHES PRODUITS — PREMIÈRE VERSION
========================================= */

.product-hero {
    max-width: 1280px;
    width: 90%;
    margin: auto;
    padding: 75px 0 55px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

.product-hero h1 {
    font-size: clamp(50px, 6vw, 80px);
    color: var(--ink);
    margin: 15px 0 24px;
}

.product-intro {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 30px;
}

.product-hero-gallery {
    display: grid;
    gap: 10px;
}

.main-shot {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumb-row img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: .25s;
}

.thumb-row img:hover {
    transform: translateY(-3px);
}

.product-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-info > div > p:last-child {
    color: var(--muted);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-list li {
    background: var(--paper);
    padding: 18px;
    border-radius: 10px;
    font-weight: 750;
}

.feature-list li:before {
    content: "✓";
    color: var(--blue);
    margin-right: 9px;
    font-weight: 950;
}


/* =========================================
   26. ÉTAPES AVEC PHOTOGRAPHIES
========================================= */

.process-photo-section {
    background: #f3f7fb;
}

.photo-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.photo-steps article {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e4eaf1;
    transition: .3s;
}

.photo-steps article:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px #10223b12;
}

.photo-steps img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.photo-steps article > div {
    padding: 20px;
}

.photo-steps b {
    color: var(--blue);
}

.photo-steps h3 {
    margin: 7px 0;
}

.photo-steps p {
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 0;
}


/* =========================================
   27. RESPONSIVE — FICHES ET ÉTAPES
========================================= */

@media (max-width: 980px) {

    .product-hero,
    .product-info {
        grid-template-columns: 1fr;
    }

    .photo-steps {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 620px) {

    .photo-steps,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .main-shot {
        height: 330px;
    }

    .thumb-row img {
        height: 80px;
    }

}


/* =========================================
   28. LOGO ET SÉLECTEUR DE LANGUE
========================================= */

.header-brand {
    font-size: 38px;
    line-height: 1;
    min-width: max-content;
}

.header-brand small {
    display: none;
}

.lang-switch {
    display: flex;
    gap: 3px;
    border: 1px solid #dce4ee;
    border-radius: 9px;
    padding: 3px;
}

.lang-switch button {
    border: 0;
    background: transparent;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.lang-switch button.active {
    background: #071426;
    color: #fff;
}

.print-ready {
    padding: 18px 20px;
    border-radius: 11px;
    background: #fff7e8;
    border: 1px solid #f4d59b;
    margin-bottom: 15px;
}

.print-ready b {
    color: #9b5900;
}

.print-ready p {
    margin-bottom: 0;
}

@media (max-width: 980px) {

    .lang-switch {
        margin-left: auto;
    }

}


/* =========================================
   29. AJUSTEMENTS DES CARTES ET LANGUES
========================================= */

.product-card {
    position: relative;
}

.product-card .card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.product-card a:not(.card-link) {
    position: relative;
    z-index: 6;
}

.lang-switch a {
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 900;
    color: #657083;
}

.lang-switch a.active {
    background: #071426;
    color: #fff;
}


/* =========================================
   30. V3.2 — NOUVELLES MISES EN PAGE
   CATÉGORIES ET FICHES PRODUITS
========================================= */

.product-hero {
    display: block;
    max-width: none;
    width: 100%;
    padding: 72px max(5%, calc((100% - 1280px)/2));
    background: linear-gradient(125deg, #f3f8fe, #fff);
    box-sizing: border-box;
}

.product-hero > .wrap {
    max-width: 1280px;
    width: 100%;
    margin: auto;
}

.product-hero h1 {
    max-width: 950px;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.1;
}

.product-hero p {
    max-width: 820px;
    line-height: 1.7;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 52px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 74px;
}

.product-gallery {
    min-width: 0;
}

.product-gallery .product-main {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 40px #0b234012;
}

.product-gallery .thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.product-gallery .thumbs img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    border-radius: 11px;
    cursor: pointer;
}

.product-options {
    padding: 34px;
    border: 1px solid #e2eaf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 38px #10223b0c;
}

.product-options h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 20px;
}

.product-options li {
    margin-bottom: 13px;
    line-height: 1.6;
}

.product-options p {
    line-height: 1.7;
}

.product-detail-grid + section.wrap {
    padding-bottom: 76px;
}

.product-detail-grid + section.wrap h2 {
    font-size: clamp(30px, 4vw, 48px);
}


/* =========================================
   31. V3.2 — EN-TÊTE DES PAGES INTÉRIEURES
========================================= */

header .top {
    max-width: 1280px;
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

header .top nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .top .menu {
    margin-left: auto;
}

header .top .lang-switch {
    display: flex;
    gap: 6px;
    margin-left: auto;
}


/* =========================================
   32. V3.2 — RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery .product-main {
        height: 370px;
    }

    header .top nav {
        display: none;
    }

    header .top.open nav {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        z-index: 20;
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 12px 22px #0002;
    }

}

@media (max-width: 600px) {

    .product-hero {
        padding: 50px 5%;
    }

    .product-detail-grid {
        padding-top: 35px;
    }

    .product-options {
        padding: 24px;
    }

    .product-gallery .product-main {
        height: 280px;
    }

    .product-gallery .thumbs img {
        height: 76px;
    }

}


/* =========================================
   33. CORRECTIFS DES CARTES INTÉRIEURES
========================================= */

.product-card .mini-gallery img:first-child {
    opacity: 1;
    transform: scale(1);
}

.product-card .mini-gallery img.active {
    opacity: 1;
}

.product-card .product-copy {
    padding: 22px 24px 30px;
    min-height: 165px;
}

.product-card .product-copy h3 {
    margin: 0 0 10px;
    line-height: 1.25;
}

.product-card .product-copy p {
    margin: 0 0 16px;
}

.product-card .product-copy a {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.product-card .mini-gallery {
    background: #e7edf4;
}

@media (max-width: 620px) {

    .product-card .product-copy {
        padding: 20px;
    }

}


/* =========================================
   34. V4 — LOCALISATION ET CARTE CONTACT
========================================= */

.location-section {
    padding-top: 0;
}

.location-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.location-heading h2 {
    font-size: clamp(30px, 4vw, 50px);
    margin: 8px 0;
}

.location-heading p {
    margin: 0;
    color: var(--muted);
}

.location-map {
    width: 100%;
    height: 440px;
    display: block;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(10, 30, 60, .12);
}

.contact-card a {
    color: var(--blue);
    overflow-wrap: anywhere;
}

.contact-card p {
    line-height: 1.8;
}

@media (max-width: 650px) {

    .location-heading {
        align-items: start;
        flex-direction: column;
    }

    .location-map {
        height: 340px;
    }

}


/* =========================================
   35. PROTECTION DU FORMULAIRE ET FICHIERS
========================================= */

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.upload input[type=file] {
    background: #fff;
    cursor: pointer;
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}


/* =========================================
   36. V6 — PHOTOGRAPHIES DES ÉQUIPEMENTS
========================================= */



.equipment-card .equipment-photo {
    width: 100%;
    height: 210px;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.equipment-card .equipment-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    background: #e9eef4;
    color: #526274;
    font-size: 14px;
}


/* =========================================
   37. RÉALISATIONS — GALERIE INTERACTIVE
========================================= */

.portfolio-heading {
    margin-bottom: 35px;
}

.portfolio-heading h2 {
    margin: 10px 0 15px;
}

.portfolio-heading p {
    max-width: 680px;
}


/* =========================================
   38. RÉALISATIONS — SIX CATÉGORIES
========================================= */

.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-category {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #172033;
    text-align: left;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.portfolio-category:focus-visible,
.portfolio-back:focus-visible,
.portfolio-close:focus-visible,
.portfolio-gallery button:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.portfolio-category img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.portfolio-category span {
    font-size: 19px;
    font-weight: 700;
    padding: 20px 20px 6px;
}

.portfolio-category small {
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
    padding: 0 20px 22px;
}


/* =========================================
   39. GALERIE D'UNE CATÉGORIE
========================================= */

.portfolio-detail {
    animation: portfolioFade .3s ease;
}

.portfolio-back {
    border: 0;
    background: transparent;
    padding: 10px 0;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 600;
    color: #172033;
    cursor: pointer;
}

.portfolio-back:hover {
    text-decoration: underline;
}

.portfolio-detail h2 {
    margin-bottom: 10px;
}

.portfolio-detail > p {
    color: #64748b;
    margin-bottom: 28px;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-gallery figure {
    margin: 0;
}

.portfolio-gallery button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.portfolio-gallery img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .2s ease;
}

.portfolio-gallery button:hover img {
    transform: scale(1.02);
}

.portfolio-gallery figcaption {
    padding: 12px 2px;
    font-size: 15px;
    font-weight: 600;
}


/* =========================================
   40. AGRANDISSEMENT — LIGHTBOX
========================================= */

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 65px 20px 25px;
    background: rgba(5, 12, 25, .94);
    color: #fff;
}

.portfolio-lightbox[hidden],
.portfolio-detail[hidden],
.portfolio-categories[hidden] {
    display: none !important;
}

.portfolio-lightbox img {
    display: block;
    max-width: 95%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.portfolio-lightbox p {
    margin: 0;
    text-align: center;
}

.portfolio-close {
    position: absolute;
    top: 18px;
    right: 25px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
}


/* =========================================
   41. ANIMATION DE LA GALERIE
========================================= */

@keyframes portfolioFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   42. RESPONSIVE — GALERIE RÉALISATIONS
========================================= */

/* TABLETTES */

@media (max-width: 900px) {

    .portfolio-categories,
    .portfolio-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* MOBILES */

@media (max-width: 600px) {

    .portfolio-categories,
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .portfolio-category img,
    .portfolio-gallery img {
        height: 240px;
    }

}


/* =========================================
   FIN DU FICHIER — COPIE2000
========================================= */
