/* =========================================================================
   Luginbühl & Cie SA — thème 2.0
   Inspiration : sites de transport premium (Planzer, Galliker).
   Typo moderne (Manrope), casse normale, beaucoup de blanc, vert en accent.
   Superposé à Bootstrap 5 (grille + rendu du contenu riche de la base).
   ========================================================================= */

:root {
    --brand:      #00693e;   /* vert Luginbühl */
    --brand-2:    #0a8a4f;   /* vert clair (dégradés, survols) */
    --brand-dark: #044028;
    --ink:        #14201a;   /* titres / texte fort (anthracite vert) */
    --body:       #3d4a44;   /* texte courant */
    --muted:      #6d7c74;
    --line:       #e6ebe8;
    --bg:         #ffffff;
    --bg-soft:    #f4f7f5;
    --bg-dark:    #0e1a14;
    --radius:     18px;
    --radius-sm:  12px;
    --shadow:     0 18px 50px rgba(4, 40, 24, .12);
    --shadow-sm:  0 6px 20px rgba(4, 40, 24, .08);
    --maxw:       1240px;
    --header-h:   76px;
    --topbar-h:   40px;
    --ease:       cubic-bezier(.22, 1, .36, 1);
}

/* --- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Manrope", 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: "Manrope", sans-serif; color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; 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); }

/* Petit intitulé au-dessus des titres */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: .8rem;
}

/* --- Boutons ------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 700; padding: .75rem 1.7rem; transition: transform .15s var(--ease), background .2s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(0, 105, 62, .25); }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); 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: .9rem 2.1rem; font-size: 1.02rem; }

.arrow-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--brand); }
.arrow-link i { transition: transform .2s var(--ease); }
.arrow-link:hover i { transform: translateX(4px); }

/* --- Barre utilitaire (haut) -------------------------------------------- */
.topbar {
    background: var(--bg-dark);
    color: #b9c8c0;
    font-size: .85rem;
    height: var(--topbar-h);
    display: flex; align-items: center;
    transition: height .25s var(--ease), opacity .2s ease;
    overflow: hidden;
}
.topbar .container-fluid { display: flex; justify-content: flex-end; align-items: center; width: 100%; }
.topbar a { color: #d6e2dc; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 1.4rem; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.topbar__group i { color: var(--brand-2); margin-right: .35rem; }

/* --- En-tête / navigation ------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
body.scrolled .site-header { box-shadow: 0 6px 24px rgba(4, 40, 24, .08); border-bottom-color: var(--line); }

.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: .7rem; padding: .4rem 0; }
.brand-logo  { height: 52px; width: auto; }
.brand-anniv { height: 42px; width: auto; }

.site-header .nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: .93rem;
    padding: .5rem .68rem !important;
    display: inline-flex; align-items: center; gap: .4rem;
    position: relative;
}
.site-header .nav-link i { font-size: 1.02rem; color: var(--brand); }
.site-header .nav-link::after {
    content: ""; position: absolute; left: .68rem; right: .68rem; bottom: .3rem;
    height: 2px; background: var(--brand); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }
.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); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }

.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; margin-top: .5rem; }
.dropdown-item { border-radius: 9px; font-weight: 600; padding: .55rem .9rem; color: var(--ink); }
.dropdown-item:hover { background: var(--bg-soft); color: var(--brand); }

.nav-twint { margin-left: .4rem; }
.nav-twint-logo { height: 30px; width: auto; border-radius: 6px; }

@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: calc(100vh - var(--header-h) - var(--topbar-h)); min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-dark); }
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    animation: heroZoom 20s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(6, 26, 17, .9) 0%, rgba(6, 26, 17, .6) 45%, rgba(6, 26, 17, .15) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 5rem 0; }
.hero__eyebrow { color: #9fe3bd; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; font-size: .85rem; margin-bottom: 1.1rem; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.7rem); font-weight: 800; letter-spacing: -.03em; max-width: 16ch; margin-bottom: 1.3rem; }
.hero__lead { color: #e4efe9; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 46ch; margin-bottom: 2.2rem; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --- Bande de statistiques ---------------------------------------------- */
.stats { background: var(--brand); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.4rem 1rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; }
.stat__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat__label { color: #cfe9dc; font-weight: 600; margin-top: .5rem; font-size: .95rem; }
.stats__note { text-align: center; color: #d7efe4; max-width: 960px; margin: 0 auto; padding: 1.6rem 1.2rem 2.6rem; font-size: 1rem; line-height: 1.6; }
.stats__note strong { color: #fff; font-weight: 700; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--muted { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #cdd8d2; }
.section--dark h2 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-subtitle { color: var(--muted); font-size: 1.12rem; margin-top: .8rem; }
.empty-note { color: var(--muted); text-align: center; padding: 2.5rem 0; font-style: italic; }

/* --- Sections éditoriales alternées (accueil) --------------------------- */
.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; }
/* fond dégradé de repli : visible si l'image est absente/cassée */
.feature-row__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.feature-row__badge {
    position: absolute; bottom: -1rem; left: -1rem;
    background: var(--brand); color: #fff; font-weight: 700;
    padding: .8rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow-sm);
    display: flex; align-items: center; gap: .5rem;
}
.feature-row__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .4rem 0 1rem; }
.feature-row__text { color: var(--body); font-size: 1.06rem; margin-bottom: 1.4rem; }

/* --- Grille de cartes de services --------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 1.7rem; }
.service-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    color: var(--ink); box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
a.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); 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); }
a.service-card:hover .service-card__media img { transform: scale(1.06); }
/* Mode « pictogramme » : icône centrée sur un panneau vert clair */
.service-card__media--icon { height: 172px; background: linear-gradient(135deg, #eef7f1, #d6ebdd); padding: 1.4rem; }
.service-card__media--icon img { object-fit: contain; }
/* Mode « photo entière » (bennes) : image dézoomée, entièrement visible */
.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: .4; }
/* Repli : image absente ou cassée (ex. fichier non téléversé / casse différente) */
.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.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card__title { font-size: 1.22rem; font-weight: 700; margin-bottom: .5rem; }
.service-card__text { color: var(--muted); font-size: .96rem; }
.service-card__text p:last-child { margin-bottom: 0; }
.service-card__more { margin-top: auto; padding-top: 1rem; color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
a.service-card:hover .service-card__more i { transform: translateX(4px); transition: transform .2s var(--ease); }

/* --- Grandes cartes de catégorie (page Services condensée) --------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; align-items: start; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card__icon { height: 132px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); color: #fff; font-size: 3.4rem; }
.cat-card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.cat-card__title { font-size: 1.45rem; margin-bottom: .5rem; }
.cat-card__desc { color: var(--muted); font-size: .98rem; 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.4rem; border-top: 1px solid var(--line); color: var(--body); font-weight: 600; position: relative; }
.cat-card__list li::before { content: "\203A"; position: absolute; left: .2rem; color: var(--brand); font-weight: 800; }
.cat-card .arrow-link { margin-top: auto; }

/* --- Actualités ---------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.7rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.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.4rem 1.5rem 1.6rem; }
.news-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: .55rem; }
.news-card__text { color: var(--muted); font-size: .97rem; }
.news-card__text p:last-child { margin-bottom: 0; }
/* Cartes « Le saviez-vous » : texte seul avec icône (pas d'image répétée) */
.news-card--fact { background: linear-gradient(160deg, #ffffff, var(--bg-soft)); }
.news-card--fact .news-card__text { color: var(--body); font-size: 1rem; }
.news-card__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(0, 105, 62, .1); color: var(--brand); font-size: 1.4rem; margin-bottom: 1rem; }
.news-card__more { margin-top: .9rem; color: var(--brand); font-weight: 700; 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 (CKEditor / base) ------------------------------------ */
.detail-wrap { max-width: 940px; margin: 0 auto; }
.back-link a { color: var(--muted); font-weight: 700; 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 { border-radius: 12px; 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(--bg-soft); font-weight: 700; color: var(--ink); }

/* Horaires (colonnes .col-sm issues de la base) */
.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-radius: var(--radius); padding: 1.8rem; margin-bottom: 0; box-shadow: var(--shadow-sm); }
.horaire-wrap strong, .horaire-wrap b { color: var(--brand); font-size: 1.05rem; display: inline-block; margin-bottom: .3rem; }

/* --- Formulaires --------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); max-width: 860px; }
.form-label { font-weight: 700; color: var(--ink); margin-bottom: .35rem; font-size: .92rem; }
.form-control { border: 1.5px solid var(--line); border-radius: 11px; padding: .7rem 1rem; background: var(--bg-soft); }
.form-control:focus { border-color: var(--brand-2); box-shadow: 0 0 0 .2rem rgba(10, 138, 79, .15); 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 { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* --- 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-radius: var(--radius); overflow: hidden; 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-size: 1.12rem; font-weight: 700; margin-bottom: .8rem; }
.doc-card__action { margin-top: auto; color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.doc-card:hover .doc-card__action i { transform: translateY(2px); transition: transform .2s var(--ease); }

/* --- 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); }
.gallery-item:hover img { transform: scale(1.05); }
.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,.5), 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(6, 20, 13, .95); 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,.55); 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 { letter-spacing: .12em; font-size: .9rem; color: #d3dad3; }
.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 ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); color: #fff; border-radius: 0; }
.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.7rem, 3.5vw, 2.5rem); max-width: 20ch; }
.cta-band p { color: #d7ece1; margin: .6rem 0 0; font-size: 1.1rem; }

/* --- Bannière de page ---------------------------------------------------- */
.page-banner { position: relative; overflow: hidden; background: var(--bg-dark); }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner--plain .page-banner__bg { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); }
.page-banner__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 26, 17, .85), rgba(6, 26, 17, .55)); }
.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-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.page-banner__subtitle { color: #dbeee4; margin-top: .5rem; font-size: 1.15rem; max-width: 55ch; }
.page-banner__crumb { color: #9fe3bd; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.page-banner__crumb a { color: #9fe3bd; }

/* --- Erreur 404 ---------------------------------------------------------- */
.section--error { padding: 7rem 0; }
.error-code { font-size: 7rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.04em; }

/* --- Pied de page -------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #a9bab2; padding: 4rem 0 1.6rem; }
.footer-title { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.1rem; letter-spacing: .01em; }
.footer-brand-logo { height: 46px; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 1rem; }
.footer-baseline { color: var(--brand-2); font-weight: 700; margin-bottom: .7rem; }
.footer-address { font-style: normal; color: #a9bab2; }
.site-footer a { color: #cbd8d2; }
.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: .88rem; color: #7f918a; }
.footer-admin { color: #56675f !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: 50%; 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-dark); transform: translateY(-3px); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { background: #fff; margin-top: .6rem; border-radius: 14px; border: 1px solid var(--line); padding: .7rem; 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, .14); }
    .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: 78vh; }
    .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, .14); }
}
