/* =========================================================================
   Luginbühl & Cie SA — thème « INDUSTRIEL » (version masculine)
   Sombre, contrasté, typographie condensée en capitales (Oswald),
   angles droits. Superposé à Bootstrap 5 (grille + contenu riche).
   ========================================================================= */

:root {
    --brand:      #0f9e4e;   /* vert industriel */
    --brand-2:    #16c163;   /* vert vif (survols, accents) */
    --brand-dark: #06522a;
    --ink:        #15181a;   /* titres sur fond clair */
    --body:       #394043;   /* texte courant sur fond clair */
    --muted:      #6a7176;
    --line:       #d3d8d3;
    --bg:         #ffffff;
    --bg-soft:    #ecefe9;   /* off-white industriel */
    --dark:       #121417;   /* noir bleuté */
    --dark-2:     #1b1e22;   /* surface sombre (cartes sur fond noir) */
    --dark-3:     #0b0d0f;   /* très sombre (topbar / footer) */
    --steel:      #8b939a;
    --radius:     3px;
    --radius-sm:  2px;
    --shadow:     0 16px 40px rgba(0, 0, 0, .22);
    --shadow-sm:  0 6px 18px rgba(0, 0, 0, .14);
    --maxw:       1280px;
    --header-h:   74px;
    --topbar-h:   38px;
    --ease:       cubic-bezier(.2, .7, .2, 1);
}

/* --- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.7;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: "Oswald", "Inter", sans-serif;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0;
}
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.container-xxl { max-width: var(--maxw); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase; letter-spacing: .22em;
    font-size: .8rem; font-weight: 600; color: var(--brand);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--brand); display: inline-block; }
.section-head .eyebrow { justify-content: center; }

/* --- Boutons (carrés, capitales) ---------------------------------------- */
.btn {
    border-radius: var(--radius-sm); font-weight: 600;
    font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em;
    padding: .8rem 1.9rem; transition: transform .12s var(--ease), background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); border-color: var(--brand-2); color: #06140c; }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: .95rem 2.2rem; font-size: 1rem; }

.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--brand); }
.arrow-link i { transition: transform .2s var(--ease); }
.arrow-link:hover i { transform: translateX(5px); }

/* --- Barre utilitaire ---------------------------------------------------- */
.topbar {
    background: var(--dark-3); color: #9aa39a;
    font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em;
    font-size: .78rem; height: var(--topbar-h); display: flex; align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar .container-fluid { display: flex; justify-content: flex-end; align-items: center; width: 100%; }
.topbar a { color: #c3ccc3; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 1.5rem; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.topbar__group i { color: var(--brand-2); margin-right: .35rem; }

/* --- En-tête sombre ------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: var(--dark);
    border-bottom: 3px solid var(--brand);
    transition: box-shadow .25s ease;
}
body.scrolled .site-header { box-shadow: 0 8px 26px rgba(0, 0, 0, .4); }

.site-header .navbar { padding: 0; min-height: var(--header-h); align-items: center; }
.site-header .navbar > .container-fluid { min-height: var(--header-h); align-items: center; }
.navbar-brand { align-self: center; }
.brand-logo, .brand-anniv { display: block; }
/* compensation visuelle : le bloc logo pèse légèrement vers le haut */
.site-header .navbar-brand { position: relative; top: 3px; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; background: #fff; padding: .35rem .7rem; border-radius: var(--radius); margin: .3rem 0; }
.brand-logo  { height: 46px; width: auto; }
.brand-anniv { height: 38px; width: auto; }

.site-header .nav-link {
    color: #e7ebe7; font-family: "Oswald", sans-serif; text-transform: uppercase;
    font-weight: 500; letter-spacing: .06em; font-size: .92rem;
    padding: .55rem .7rem !important; position: relative;
}
.site-header .nav-link i { color: var(--brand-2); }
.site-header .nav-link::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem;
    height: 2px; background: var(--brand-2); transform: scaleX(0); transform-origin: left;
    transition: transform .2s var(--ease);
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: #fff; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-toggle::after { display: none; }
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--brand-2); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }

.dropdown-menu {
    background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1);
    border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius);
    padding: .4rem; margin-top: .4rem; box-shadow: var(--shadow);
}
.dropdown-item {
    color: #d6dcd6; font-family: "Oswald", sans-serif; text-transform: uppercase;
    letter-spacing: .04em; font-weight: 400; font-size: .92rem; padding: .55rem .9rem; border-radius: var(--radius-sm);
}
.dropdown-item:hover { background: rgba(255, 255, 255, .07); color: var(--brand-2); }

.nav-twint { margin-left: .5rem; }
.nav-twint-logo { height: 28px; width: auto; }
@media (min-width: 1200px) {
    .site-header .dropdown:hover > .dropdown-menu,
    .site-header .dropdown.is-hovering > .dropdown-menu { display: block; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: heroZoom 22s var(--ease) forwards; filter: grayscale(.15) contrast(1.05); }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 12, 14, .94) 0%, rgba(10, 12, 14, .72) 45%, rgba(10, 12, 14, .35) 100%); }
.hero__scrim::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--brand); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 5rem 0; }
.hero__eyebrow { color: var(--brand-2); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .28em; font-weight: 600; font-size: .85rem; margin-bottom: 1.2rem; }
.hero__title { color: #fff; font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2.8rem, 6.5vw, 5.4rem); letter-spacing: .005em; max-width: 17ch; margin-bottom: 1.4rem; }
.hero__lead { color: #d4dad4; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; margin-bottom: 2.3rem; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --- Bande de statistiques (sombre) ------------------------------------- */
.stats { background: var(--dark); border-top: 3px solid var(--brand); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.6rem 1rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--brand-2); line-height: 1; }
.stat__label { color: #9aa39a; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-weight: 400; margin-top: .6rem; font-size: .9rem; }
.stats__note { text-align: center; color: #aeb8b2; max-width: 960px; margin: 0 auto; padding: 1.6rem 1.2rem 2.6rem; font-size: 1rem; line-height: 1.6; }
.stats__note strong { color: var(--brand-2); font-weight: 700; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--muted { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #c7cecc; }
.section-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.section-title.text-start { text-align: left; }
.section-subtitle { color: var(--muted); font-size: 1.1rem; margin-top: .8rem; text-transform: none; font-family: "Inter", sans-serif; }
.empty-note { color: var(--muted); text-align: center; padding: 2.5rem 0; font-style: italic; }

/* --- Sections éditoriales alternées ------------------------------------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.feature-row + .feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media { position: relative; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--dark), var(--brand-dark)); border-left: 4px solid var(--brand); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.03); }
.feature-row__badge { position: absolute; bottom: 0; left: 0; background: var(--brand); color: #fff; font-size: 1.4rem; padding: .9rem 1.1rem; }
.feature-row__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .5rem 0 1rem; font-weight: 700; }
.feature-row__text { color: var(--body); font-size: 1.05rem; margin-bottom: 1.5rem; }

/* --- Cartes de services -------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 1.5rem; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid transparent; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s ease; }
a.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-top-color: var(--brand); color: var(--ink); }
.service-card__media { height: 190px; background: var(--bg-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); filter: contrast(1.03); }
a.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media--icon { height: 172px; background: linear-gradient(135deg, #e4e8e4, #d0d6cf); padding: 1.4rem; }
.service-card__media--icon img { object-fit: contain; }
.service-card__media--fit { height: 205px; background: var(--bg-soft); padding: .5rem; }
.service-card__media--fit img { object-fit: contain; }
a.service-card:hover .service-card__media--fit img { transform: none; }
.service-card__placeholder { display: none; align-items: center; justify-content: center; font-size: 3.2rem; color: var(--brand); opacity: .45; }
.service-card__media--empty .service-card__placeholder,
.service-card__media.is-broken .service-card__placeholder { display: inline-flex; }
.service-card__media.is-broken img { display: none; }
.service-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card__title { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.service-card__text { color: var(--muted); font-size: .95rem; }
.service-card__text p:last-child { margin-bottom: 0; }
.service-card__more { margin-top: auto; padding-top: 1rem; color: var(--brand); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }

/* --- Grandes cartes de catégorie ---------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; align-items: start; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card__icon { height: 130px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dark), var(--brand-dark)); color: #fff; font-size: 3.4rem; }
.cat-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex-grow: 1; }
.cat-card__title { font-size: 1.4rem; margin-bottom: .5rem; font-weight: 600; }
.cat-card__desc { color: var(--muted); font-size: .97rem; margin-bottom: 1.1rem; }
.cat-card__list { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.cat-card__list li { padding: .5rem 0 .5rem 1.5rem; border-top: 1px solid var(--line); color: var(--body); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; font-weight: 400; font-size: .95rem; position: relative; }
.cat-card__list li::before { content: "\25AA"; position: absolute; left: .2rem; color: var(--brand); }
.cat-card .arrow-link { margin-top: auto; }

/* --- Actualités ---------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid transparent; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--brand); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.news-card__media img { width: 100%; height: 100%; object-fit: contain; }
.news-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.news-card__title { font-size: 1.2rem; font-weight: 600; margin-bottom: .55rem; }
.news-card__text { color: var(--muted); font-size: .96rem; }
.news-card__text p:last-child { margin-bottom: 0; }
.news-card--fact { background: var(--dark-2); border-top-color: var(--brand); }
.news-card--fact .news-card__text { color: #c8cfc8; font-size: 1rem; }
.news-card__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.news-card__more { margin-top: .9rem; color: var(--brand); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.news-card__more i { transition: transform .2s var(--ease); }
.news-card__more:hover i { transform: translateX(4px); }

/* --- Contenu riche (base) ------------------------------------------------ */
.detail-wrap { max-width: 940px; margin: 0 auto; }
.back-link a { color: var(--muted); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }
.detail-lead { font-size: 1.2rem; color: var(--ink); margin-bottom: 1.6rem; font-weight: 500; }
.detail-cta { margin-top: 2.6rem; }
.richtext { color: var(--body); font-size: 1.03rem; }
.richtext h2 { font-size: 1.7rem; margin: 2rem 0 .8rem; }
.richtext h3 { font-size: 1.35rem; margin: 1.6rem 0 .6rem; }
.richtext h4 { color: var(--brand); font-size: 1.15rem; margin: 1.3rem 0 .5rem; }
.richtext p { margin: 0 0 1.05rem; }
.richtext ul, .richtext ol { margin: 0 0 1.05rem 1.2rem; }
.richtext li { margin-bottom: .45rem; }
.richtext a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.richtext img { margin: 1rem 0; }
.richtext table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .96rem; }
.richtext table td, .richtext table th { border: 1px solid var(--line); padding: .7rem .9rem; vertical-align: top; }
.richtext table tr:first-child td { background: var(--dark); color: #fff; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; }

/* Horaires */
.horaire-wrap { max-width: 1100px; margin: 0 auto; }
.horaire-wrap .container-fluid { padding: 0; }
.horaire-wrap .row { margin: 0; gap: 1.4rem; }
.horaire-wrap .col-sm { flex: 1 1 220px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: 1.8rem; margin-bottom: 0; box-shadow: var(--shadow-sm); }
.horaire-wrap strong, .horaire-wrap b { color: var(--brand); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; display: inline-block; margin-bottom: .3rem; }

/* --- Formulaires --------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: 2.2rem; box-shadow: var(--shadow-sm); max-width: 860px; }
.form-label { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; color: var(--ink); margin-bottom: .35rem; font-size: .88rem; }
.form-control { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; background: var(--bg-soft); }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(15, 158, 78, .18); background: #fff; }
/* Pot de miel : champ anti-spam masqué (invisible pour les humains) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Captcha image */
.captcha-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.captcha-img { border: 1px solid var(--line); border-radius: var(--radius-sm); height: 55px; display: block; }
.captcha-refresh { padding: .5rem .75rem; }
.captcha-input { max-width: 170px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* --- Contact ------------------------------------------------------------- */
.contact-info { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.contact-info li { padding: .55rem 0; color: var(--ink); font-weight: 500; display: flex; align-items: flex-start; gap: .7rem; }
.contact-info i { color: var(--brand); font-size: 1.2rem; margin-top: .15rem; }
.map-embed { overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-top: 3px solid var(--brand); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(.3); }

/* --- Documents ----------------------------------------------------------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.doc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.doc-card__media { height: 150px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); font-size: 3.6rem; color: #c0392b; }
.doc-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.doc-card__title { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: 1.1rem; font-weight: 500; margin-bottom: .8rem; }
.doc-card__action { margin-top: auto; color: var(--brand); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }

/* --- Galerie + lightbox avancée ----------------------------------------- */
/* Mosaïque (masonry) : hauteurs naturelles, colonnes responsives */
.gallery-grid { column-count: 4; column-gap: .9rem; }
@media (max-width: 1100px) { .gallery-grid { column-count: 3; } }
@media (max-width: 760px)  { .gallery-grid { column-count: 2; } }
@media (max-width: 460px)  { .gallery-grid { column-count: 1; } }
.gallery-item { position: relative; display: block; break-inside: avoid; margin-bottom: .9rem; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); filter: grayscale(.1); }
.gallery-item:hover img { transform: scale(1.05); filter: grayscale(0); }
.gallery-item__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.05)); opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover .gallery-item__zoom { opacity: 1; }

.lightbox { position: fixed; inset: 0; background: rgba(8, 10, 9, .96); display: flex; flex-direction: column; z-index: 2000; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; width: 100%; padding: 3.6rem 4.8rem 1rem; }
.lightbox__img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.6); transition: opacity .25s ease, transform .25s ease; cursor: zoom-in; }
.lightbox__img.is-zoomed { transform: scale(1.7); cursor: zoom-out; }
.lightbox__close { position: absolute; top: 1.1rem; right: 1.4rem; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 3; opacity: .85; }
.lightbox__close:hover { opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; z-index: 3; }
.lightbox__nav:hover { background: var(--brand); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 900px; margin: 0 auto; padding: .3rem 1.2rem 1.4rem; color: #fff; }
.lightbox__counter { font-family: "Oswald", sans-serif; letter-spacing: .14em; font-size: .92rem; color: #cfd6cf; }
.lightbox__actions { display: flex; gap: .45rem; }
.lightbox__btn { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: var(--radius); font-size: 1.05rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease; text-decoration: none; }
.lightbox__btn:hover { background: var(--brand); color: #fff; }
@media (max-width: 575.98px) {
    .lightbox__stage { padding: 3rem .8rem 1rem; }
    .lightbox__nav { width: 42px; height: 42px; }
    .lightbox__nav--prev { left: .4rem; }
    .lightbox__nav--next { right: .4rem; }
}

/* --- Bande CTA (sombre) -------------------------------------------------- */
.cta-band { position: relative; background: var(--dark); color: #fff; border-top: 3px solid var(--brand); border-bottom: 3px solid var(--brand); }
.cta-band__inner { padding: clamp(3rem, 6vw, 4.5rem) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); max-width: 22ch; }
.cta-band p { color: #b7c0b7; margin: .6rem 0 0; font-size: 1.1rem; }

/* --- Bannière de page ---------------------------------------------------- */
.page-banner { position: relative; overflow: hidden; background: var(--dark); }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.2) contrast(1.05); }
.page-banner--plain .page-banner__bg { background: linear-gradient(120deg, var(--dark), var(--brand-dark)); }
.page-banner__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 14, .92), rgba(10, 12, 14, .6)); }
.page-banner__scrim::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--brand); }
.page-banner__inner { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-banner__title { color: #fff; font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-banner__subtitle { color: #cdd4cd; margin-top: .5rem; font-size: 1.15rem; max-width: 55ch; text-transform: none; font-family: "Inter", sans-serif; }
.page-banner__crumb { color: var(--brand-2); font-family: "Oswald", sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.page-banner__crumb a { color: var(--brand-2); }

/* --- 404 ----------------------------------------------------------------- */
.section--error { padding: 7rem 0; }
.error-code { font-family: "Oswald", sans-serif; font-size: 7rem; font-weight: 700; color: var(--brand); line-height: 1; }

/* --- Pied de page (très sombre) ----------------------------------------- */
.site-footer { background: var(--dark-3); color: #97a097; padding: 4rem 0 1.6rem; border-top: 3px solid var(--brand); }
.footer-title { color: #fff; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; font-weight: 500; margin-bottom: 1.1rem; }
.footer-brand-logo { height: 46px; background: #fff; border-radius: var(--radius); padding: 4px 8px; margin-bottom: 1rem; }
.footer-baseline { color: var(--brand-2); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; margin-bottom: .7rem; }
.footer-address { font-style: normal; color: #97a097; }
.site-footer a { color: #bcc5bc; }
.site-footer a:hover { color: #fff; }
.site-footer i { color: var(--brand-2); margin-right: .45rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .28rem 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.8rem; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem; font-size: .85rem; color: #717971; text-transform: uppercase; letter-spacing: .05em; font-family: "Oswald", sans-serif; }
.footer-admin { color: #4d564d !important; font-size: 1.05rem; }

/* --- Bouton haut de page ------------------------------------------------- */
.back-to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 48px; height: 48px; border-radius: var(--radius-sm); border: 0; background: var(--brand); color: #fff; font-size: 1.25rem; box-shadow: var(--shadow); cursor: pointer; z-index: 1000; transition: transform .2s var(--ease), background .2s ease; }
.back-to-top:hover { background: var(--brand-2); transform: translateY(-3px); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { background: var(--dark-2); margin-top: .5rem; border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--brand); padding: .6rem; box-shadow: var(--shadow); max-height: 78vh; overflow-y: auto; }
    .site-header .nav-link { padding: .75rem .9rem !important; }
    .site-header .nav-link::after { display: none; }
}
@media (max-width: 991.98px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .stat:nth-child(odd) { border-left: 0; }
    .feature-row { grid-template-columns: 1fr; gap: 1.8rem; }
    .feature-row--reverse .feature-row__media { order: 0; }
}
@media (max-width: 767.98px) {
    .topbar { display: none; }
    .hero { min-height: 80vh; }
    .form-card { padding: 1.4rem; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 575.98px) {
    .stats__grid { grid-template-columns: 1fr; }
    .stat { border-left: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
}
