/* =============================================================================
   Génie Solutions — feuille de style principale
   Identité : bleu clair #39A9F4 (accent/décor), bleu profond #12345A (marque, texte
   sur fond clair), rouge #E63946 (accent), rouge soutenu #C92A38 (boutons : contraste
   AA avec texte blanc), blanc, gris clair.
   Aucune police externe : pile système moderne (aucune requête tierce, CSP stricte).
   ============================================================================= */
:root {
    --gs-blue: #39A9F4;
    --gs-navy: #12345A;
    --gs-red: #E63946;
    --gs-red-strong: #C92A38;
    --gs-red-deep: #A91F2C;
    --gs-gray-50: #F4F7FA;
    --gs-gray-200: #DCE3EA;
    --gs-text: #253247;
    --gs-muted: #55657A;
    --gs-radius: .75rem;
    --gs-shadow: 0 .5rem 1.5rem rgba(18, 52, 90, .08);
    --gs-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    /* Réglages Bootstrap */
    --bs-body-font-family: var(--gs-font);
    --bs-body-color: var(--gs-text);
    --bs-body-bg: #fff;
    --bs-primary: var(--gs-navy);
    --bs-primary-rgb: 18, 52, 90;
    --bs-link-color: var(--gs-navy);
    --bs-link-color-rgb: 18, 52, 90;
    --bs-link-hover-color: var(--gs-red-strong);
    --bs-link-hover-color-rgb: 201, 42, 56;
    --bs-border-radius: var(--gs-radius);
    --bs-secondary-color: var(--gs-muted);
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { font-family: var(--gs-font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { color: var(--gs-navy); font-weight: 750; letter-spacing: -.015em; line-height: 1.2; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--gs-blue); outline-offset: 2px; border-radius: .25rem; }
main:focus { outline: none; }

/* ---- Accessibilité ---- */
.skip-link {
    position: absolute; left: .5rem; top: -4rem; z-index: 2000;
    background: var(--gs-navy); color: #fff; padding: .6rem 1rem; border-radius: .5rem; transition: top .15s;
}
.skip-link:focus { top: .5rem; color: #fff; }

/* ---- Boutons ---- */
.btn { font-weight: 650; border-radius: .6rem; padding: .6rem 1.25rem; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    --bs-btn-bg: var(--gs-navy); --bs-btn-border-color: var(--gs-navy);
    --bs-btn-hover-bg: #0D2744; --bs-btn-hover-border-color: #0D2744;
    --bs-btn-active-bg: #0A1F37; --bs-btn-active-border-color: #0A1F37;
}
.btn-accent {
    --bs-btn-color: #fff; --bs-btn-bg: var(--gs-red-strong); --bs-btn-border-color: var(--gs-red-strong);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--gs-red-deep); --bs-btn-hover-border-color: var(--gs-red-deep);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #8E1824; --bs-btn-active-border-color: #8E1824;
}
.btn-outline-navy {
    --bs-btn-color: var(--gs-navy); --bs-btn-border-color: var(--gs-navy);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--gs-navy); --bs-btn-hover-border-color: var(--gs-navy);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--gs-navy);
}
.btn-light-outline {
    --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.7);
    --bs-btn-hover-color: var(--gs-navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
}

/* ---- Barre d'annonce ---- */
.topbar { background: var(--gs-navy); color: #fff; font-size: .875rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .bi { color: var(--gs-blue); margin-right: .25rem; }

/* ---- En-tête ---- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { box-shadow: var(--gs-shadow); border-bottom-color: var(--gs-gray-200); }
.navbar { padding-top: .6rem; padding-bottom: .6rem; }
.navbar-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--gs-navy); }
.brand-logo { display: block; width: auto; max-width: min(18rem, 58vw); max-height: 3.2rem; object-fit: contain; }
.brand-mark {
    display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .6rem;
    background: var(--gs-navy); color: #fff; font-size: .95rem; letter-spacing: .02em; position: relative;
}
.brand-mark::after { content: ""; position: absolute; right: -.2rem; bottom: -.2rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--gs-red); border: 2px solid #fff; }
.navbar .nav-link { color: var(--gs-text); font-weight: 600; padding: .5rem .85rem; border-radius: .5rem; position: relative; }
.navbar .nav-link:hover { color: var(--gs-navy); background: var(--gs-gray-50); }
.navbar .nav-link.active { color: var(--gs-navy); }
.navbar .nav-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 2px; background: var(--gs-red); border-radius: 2px; }
.navbar-toggler { border: 1px solid var(--gs-gray-200); font-size: 1.6rem; line-height: 1; padding: .2rem .55rem; color: var(--gs-navy); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(57,169,244,.4); }
.dropdown-menu { border: 1px solid var(--gs-gray-200); box-shadow: var(--gs-shadow); padding: .4rem; }
.dropdown-item { border-radius: .4rem; padding: .5rem .75rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--gs-gray-50); color: var(--gs-navy); }

/* ---- Héros : motif « repères de coupe » (impression) + « point de croix » (broderie) ---- */
.hero { position: relative; overflow: hidden; background: var(--gs-navy); color: #fff; }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(57,169,244,.35), transparent 60%),
        radial-gradient(40rem 24rem at -5% 110%, rgba(230,57,70,.22), transparent 60%);
}
.hero::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.2; background-image:linear-gradient(rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px); background-size:2.15rem 2.15rem; mask-image:radial-gradient(ellipse at 76% 48%,#000 0,transparent 72%); }
.hero-inner { position: relative; z-index:1; padding: clamp(3rem, 8vw, 6.5rem) 0; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 60ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.hero-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gs-blue); margin-bottom: 1rem; }
.hero-kicker { animation: gs-rise-in .45s ease-out both; }
.hero h1 { animation: gs-rise-in .55s .06s ease-out both; }
.hero .lead { animation: gs-rise-in .6s .12s ease-out both; }
.hero .btn { animation: gs-rise-in .6s .18s ease-out both; }
.hero-pattern { position: absolute; right: clamp(1rem, 6vw, 5rem); top: 50%; transform: translateY(-50%); width: min(26rem, 38vw); aspect-ratio: 1; display: none; }
@media (min-width: 992px) { .hero-pattern { display: block; } }
.hero-pattern .frame { position: absolute; inset: 12%; border: 2px dashed rgba(255,255,255,.55); border-radius: 1rem; }  /* ligne de couture */
.hero-pattern .crop { position: absolute; width: 2.2rem; height: 2.2rem; border-color: var(--gs-blue); border-style: solid; border-width: 0; }
.hero-pattern .crop.tl { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.hero-pattern .crop.tr { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.hero-pattern .crop.bl { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.hero-pattern .crop.br { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.hero-pattern .dots { position: absolute; inset: 26%; background: radial-gradient(var(--gs-red) 22%, transparent 24%) 0 0 / 1.1rem 1.1rem; opacity: .85; border-radius: .6rem; }
.hero-pattern { animation: gs-float 7s ease-in-out infinite; }
.hero-pattern .dots { animation: gs-breathe 5.5s ease-in-out infinite; }
@keyframes gs-float { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 7px)); } }
@keyframes gs-breathe { 0%,100% { opacity: .72; transform: scale(.98); } 50% { opacity: .96; transform: scale(1.025); } }
@keyframes gs-rise-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

/* Écran d’entrée, une seule fois par onglet et uniquement sur l’accueil */
.site-intro { position:fixed; inset:0; z-index:3000; display:grid; place-items:center; padding:1.25rem; overflow:hidden; background:radial-gradient(34rem 24rem at 82% 12%,rgba(57,169,244,.22),transparent 70%),radial-gradient(28rem 20rem at 8% 92%,rgba(230,57,70,.15),transparent 70%),var(--gs-navy); background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px),radial-gradient(34rem 24rem at 82% 12%,rgba(57,169,244,.22),transparent 70%),radial-gradient(28rem 20rem at 8% 92%,rgba(230,57,70,.15),transparent 70%); background-size:2.25rem 2.25rem,2.25rem 2.25rem,auto,auto; opacity:0; visibility:hidden; transition:opacity .38s ease,visibility .38s ease; }
.gs-intro-pending .site-intro { opacity:1; visibility:visible; }
.gs-intro-leaving .site-intro { opacity:0; visibility:hidden; pointer-events:none; }
.site-intro-card { width:min(100%,27rem); padding:clamp(1.5rem,5vw,2.35rem); border:1px solid rgba(255,255,255,.18); border-radius:1.1rem; background:rgba(9,29,53,.74); box-shadow:0 24px 80px rgba(0,0,0,.24); text-align:center; backdrop-filter:blur(12px); animation:gs-intro-rise .5s ease-out both; }
.site-intro-card img { display:block; width:min(100%,21rem); height:auto; margin:0 auto 1.35rem; padding:.45rem .6rem; border-radius:.5rem; background:#fff; }
.site-intro-card p { margin:.9rem 0 0; color:rgba(255,255,255,.84); font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.site-intro-rule { display:block; height:3px; overflow:hidden; border-radius:9px; background:rgba(255,255,255,.14); }
.site-intro-rule span { display:block; width:40%; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--gs-blue),#fff,var(--gs-red)); animation:gs-intro-progress .8s ease-in-out infinite alternate; }
.site-intro-skip { margin-top:1.2rem; padding:.4rem .75rem; border:0; border-radius:.4rem; background:transparent; color:rgba(255,255,255,.78); font:inherit; font-size:.82rem; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
.site-intro-skip:hover { color:#fff; }
@keyframes gs-intro-progress { from{transform:translateX(-100%)} to{transform:translateX(250%)} }
@keyframes gs-intro-rise { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@media(prefers-reduced-motion:reduce){.site-intro,.site-intro-card,.site-intro-rule span{animation:none!important;transition:none!important}}

/* ---- Sections génériques ---- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--gs-gray-50); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-kicker { color: var(--gs-red-strong); font-weight: 750; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.prose { max-width: 68ch; }

/* ---- Cartes ---- */
.card-gs { border: 1px solid var(--gs-gray-200); border-radius: var(--gs-radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; }
.card-gs:hover { transform: translateY(-4px); box-shadow: var(--gs-shadow); border-color: var(--gs-blue); }

/* ---- Pied de page ---- */
.site-footer { background: var(--gs-navy); color: rgba(255,255,255,.82); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: .6rem; }
.footer-brand-lockup { display: inline-flex; align-items: center; width: min(100%, 15rem); padding: .45rem .65rem; margin-bottom: .85rem; background: #fff; border-radius: .55rem; }
.footer-brand-lockup img { display: block; width: 100%; height: auto; }
.footer-title { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-links li { margin-bottom: .45rem; }
.footer-links .bi { color: var(--gs-blue); margin-right: .3rem; }
.footer-social a { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }
.footer-social a:hover { background: var(--gs-red-strong); border-color: var(--gs-red-strong); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; }

/* ---- Retour en haut ---- */
.back-to-top {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 1040; width: 2.9rem; height: 2.9rem; border-radius: 50%;
    border: 0; background: var(--gs-red-strong); color: #fff; font-size: 1.25rem; box-shadow: var(--gs-shadow);
    transition: transform .2s, background-color .2s;
}
.back-to-top:hover { background: var(--gs-red-deep); transform: translateY(-2px); }
.back-to-top[hidden] { display: none; }

/* ---- Apparition au défilement : activée UNIQUEMENT par JS (le contenu reste visible sans JS) ---- */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.row.g-4 > :nth-child(2) .reveal { transition-delay: .07s; }
.row.g-4 > :nth-child(3) .reveal { transition-delay: .14s; }

/* ---- Pages d'erreur ---- */
.error-page { background: var(--gs-gray-50); min-height: 100vh; display: grid; align-items: center; }
.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--gs-blue); line-height: 1; margin-bottom: .5rem; }
.error-text { max-width: 36rem; }

/* ---- Préférences de réduction des animations ---- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal-ready .reveal { opacity: 1; transform: none; }
    .btn:hover, .card-gs:hover, .back-to-top:hover { transform: none; }
}

.site-language { display: inline-flex; align-items: center; gap: .15rem; padding: .2rem; border: 1px solid #dce5ee; border-radius: 999px; background: #f5f8fb; }
.site-language button { min-width: 2.1rem; min-height: 2rem; padding: .2rem .45rem; border: 0; border-radius: 999px; background: transparent; color: #51647a; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.site-language button[aria-pressed="true"] { background: var(--gs-navy, #12345a); color: #fff; }
.site-language button:focus-visible { outline: 2px solid var(--gs-red-strong, #c52f3b); outline-offset: 2px; }
@media (max-width: 991.98px) { .site-language { margin: .2rem 0 .35rem; } }

/* =============================================================================
   Étape 3 — pages publiques
   ============================================================================= */

/* ---- Bandeau de titre + fil d'Ariane ---- */
.page-header { background: var(--gs-navy); color: #fff; padding: clamp(2.4rem, 5.5vw, 4.2rem) 0; position: relative; overflow: hidden; }
.page-header::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.17; background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px); background-size:2rem 2rem; mask-image:linear-gradient(105deg,transparent 10%,#000 100%); }
.page-header::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 16rem; height: 16rem; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); pointer-events: none; }
.page-header>.container { position:relative; z-index:1; }
.page-header h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .5rem; }
.page-header .lead { color: rgba(255,255,255,.88); max-width: 62ch; margin-bottom: 0; font-size: 1.1rem; }
.breadcrumb-gs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .875rem; }
.breadcrumb-gs li + li::before { content: "/"; margin-right: .5rem; color: rgba(255,255,255,.55); }
.breadcrumb-gs a { color: rgba(255,255,255,.88); text-decoration: none; }
.breadcrumb-gs a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-gs [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---- Pastilles d'icône, cartes de service ---- */
.icon-badge { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: .9rem; background: rgba(57,169,244,.14); color: var(--gs-navy); font-size: 1.5rem; }
.icon-badge-sm { width: 2.6rem; height: 2.6rem; font-size: 1.25rem; border-radius: .7rem; }
.service-card .stretched-link { text-decoration: none; color: var(--gs-navy); }
.service-card:hover .bi-arrow-right { transform: translateX(3px); }
.service-card .bi-arrow-right { transition: transform .2s; display: inline-block; }

/* ---- Cartes de réalisations / produits ---- */
.project-card, .product-card { overflow: hidden; position: relative; }
.project-thumb { aspect-ratio: 4 / 3; background: var(--gs-gray-50); overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-thumb img, .product-card:hover .project-thumb img { transform: scale(1.04); }
.media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem; color: var(--gs-blue);
    background: repeating-linear-gradient(135deg, #EEF3F8 0 .6rem, #F4F7FA .6rem 1.2rem); }
.media-placeholder-lg { aspect-ratio: 4 / 3; border-radius: var(--gs-radius); font-size: 4rem; }
.project-meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gs-red-strong); }
.project-meta a { color: inherit; }
.price { font-weight: 750; color: var(--gs-navy); }
.price-lg { font-size: 1.6rem; }

/* ---- Filtres (pastilles) ---- */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--gs-gray-200);
    background: #fff; color: var(--gs-text); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .2s, border-color .2s, color .2s; }
.pill:hover { border-color: var(--gs-blue); color: var(--gs-navy); }
.pill.is-active { background: var(--gs-navy); border-color: var(--gs-navy); color: #fff; }
.pill-count { font-size: .75rem; opacity: .75; }

/* ---- Pagination Bootstrap aux couleurs de la marque ---- */
.pagination { --bs-pagination-active-bg: var(--gs-navy); --bs-pagination-active-border-color: var(--gs-navy);
    --bs-pagination-color: var(--gs-navy); --bs-pagination-hover-color: var(--gs-red-strong); --bs-pagination-focus-color: var(--gs-navy); }

/* ---- États vides, listes, texte riche ---- */
.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--gs-gray-200); border-radius: var(--gs-radius); background: var(--gs-gray-50); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .45rem 0 .45rem 1.9rem; border-bottom: 1px solid var(--gs-gray-200); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .5rem; color: var(--gs-red-strong); }
.rich-text > :first-child { margin-top: 0; }
.rich-text { color:var(--gs-text); line-height:1.8; }
.rich-text p { margin-bottom:1.1rem; }
.rich-text h2, .rich-text h3 { margin-top:2rem; margin-bottom:.8rem; color:var(--gs-navy); }
.rich-text img { max-width: 100%; height: auto; border-radius: .5rem; }
.rich-text ul, .rich-text ol { padding-left:1.25rem; margin:1rem 0 1.4rem; }
.rich-text li { padding:.2rem 0; }

/* ---- Finition visuelle globale ---- */
:root {
    --gs-paper: #fff;
    --gs-line: #e5ebf1;
    --gs-shadow-soft: 0 1rem 2.6rem rgba(18,52,90,.09);
}
::selection { background: rgba(57,169,244,.24); color: var(--gs-navy); }
.site-header { backdrop-filter: saturate(150%) blur(12px); }
.topbar { background-image: linear-gradient(105deg, #102f52, #173e68); }
.section-alt { background-image: radial-gradient(rgba(18,52,90,.075) .7px, transparent .7px); background-size: 17px 17px; }
.section-title { letter-spacing: -.035em; }
.section-kicker { display: inline-flex; align-items: center; gap: .55rem; }
.section-kicker::before { content: ""; width: 1.65rem; height: 2px; border-radius: 2px; background: var(--gs-red); }
.page-header { background-image: linear-gradient(115deg, rgba(13,39,68,.98), rgba(18,52,90,.94) 58%, rgba(23,67,111,.96)); }
.page-header::after { right: 5%; top: 50%; width: clamp(8rem, 17vw, 15rem); height: clamp(8rem, 17vw, 15rem); transform: translateY(-50%); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 0 0 1rem rgba(255,255,255,.025), 0 0 0 2rem rgba(255,255,255,.02); }
.page-header .lead { line-height: 1.75; }
.card-gs { border-color: var(--gs-line); box-shadow: 0 .2rem .75rem rgba(18,52,90,.025); }
.card-gs:hover { box-shadow: var(--gs-shadow-soft); }
.service-card, .project-card, .product-card { isolation: isolate; }
.icon-badge { box-shadow: inset 0 0 0 1px rgba(57,169,244,.16); }
.project-thumb { position: relative; }
.project-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -3rem 2rem -2.7rem rgba(18,52,90,.28); }
.form-control, .form-select { min-height: 2.9rem; border-color: #d7e0e9; box-shadow: 0 1px 2px rgba(18,52,90,.025); }
textarea.form-control { min-height: 8rem; }
.form-control:focus, .form-select:focus { border-color: var(--gs-blue); box-shadow: 0 0 0 .22rem rgba(57,169,244,.18); }
.form-label { color: var(--gs-navy); font-weight: 650; }
.site-footer { background-image: radial-gradient(rgba(255,255,255,.08) .7px, transparent .7px), linear-gradient(120deg, #102f52, #12345a 65%, #0e2948); background-size: 18px 18px, auto; }
.footer-bottom { align-items: center; }
.cookie-manage { border: 0; padding: .2rem 0; background: none; color: rgba(255,255,255,.88); font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.cookie-manage:hover { color: #fff; }

/* ---- Consentement aux cookies : aucune catégorie facultative n'est activée ---- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner { position: fixed; z-index: 1090; inset: auto clamp(.75rem, 3vw, 2rem) clamp(.75rem, 3vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 74rem; margin-inline: auto; padding: clamp(1.1rem, 2vw, 1.65rem); border: 1px solid rgba(255,255,255,.72); border-radius: 1rem; background: rgba(255,255,255,.98); box-shadow: 0 1.5rem 4rem rgba(7,26,48,.25); }
.cookie-banner-copy { max-width: 43rem; }
.cookie-eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .35rem; color: var(--gs-red-strong); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cookie-banner h2, .cookie-dialog h2 { margin: 0 0 .35rem; font-size: 1.2rem; letter-spacing: -.02em; }
.cookie-banner p, .cookie-dialog p { margin: 0; color: var(--gs-muted); font-size: .92rem; line-height: 1.55; }
.cookie-actions, .cookie-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.btn-cookie-primary, .btn-cookie-secondary { min-height: 2.7rem; padding: .55rem .9rem; font-size: .88rem; white-space: nowrap; }
.btn-cookie-primary { border: 1px solid var(--gs-navy); background: var(--gs-navy); color: #fff; }
.btn-cookie-primary:hover { background: #0d2744; color: #fff; }
.btn-cookie-secondary { border: 1px solid #cbd6e1; background: #fff; color: var(--gs-navy); }
.btn-cookie-secondary:hover { border-color: var(--gs-navy); background: var(--gs-gray-50); color: var(--gs-navy); }
.cookie-dialog { width: min(100% - 1.5rem, 37rem); max-width: 37rem; max-height: min(90vh, 48rem); padding: 0; overflow: auto; border: 1px solid var(--gs-line); border-radius: 1rem; color: var(--gs-text); box-shadow: 0 2rem 6rem rgba(7,26,48,.3); }
.cookie-dialog::backdrop { background: rgba(7,22,39,.64); backdrop-filter: blur(3px); }
.cookie-dialog-card { padding: clamp(1.25rem, 4vw, 2rem); }
.cookie-dialog-heading { position: relative; padding-right: 2.25rem; }
.cookie-dialog-heading h2 { margin: .35rem 0 .55rem; font-size: 1.55rem; }
.cookie-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--gs-line); border-radius: .55rem; background: #fff; color: var(--gs-navy); }
.cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.35rem 0 1rem; padding: 1rem; border: 1px solid var(--gs-line); border-radius: .75rem; background: var(--gs-gray-50); }
.cookie-category h3 { margin: 0 0 .2rem; font-size: 1rem; }
.cookie-category p { font-size: .84rem; }
.cookie-switch { display: flex; align-items: center; gap: .5rem; color: var(--gs-navy); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.cookie-switch input { width: 1rem; height: 1rem; accent-color: var(--gs-navy); }
.cookie-honesty { display: flex; align-items: flex-start; gap: .5rem; padding: .75rem; border-left: 3px solid var(--gs-blue); background: rgba(57,169,244,.08); font-size: .84rem !important; }
.cookie-honesty .bi { flex: 0 0 auto; color: var(--gs-navy); }
.cookie-dialog-actions { justify-content: flex-end; margin-top: 1.2rem; }
.cookie-status { position: fixed; z-index: 1200; left: 1rem; bottom: 1rem; }
@media (min-width: 78rem) { .cookie-banner { left: 50%; right: auto; width: calc(100% - 4rem); transform: translateX(-50%); } }
@media (max-width: 760px) {
    .cookie-banner { align-items: stretch; flex-direction: column; gap: .85rem; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-actions [data-cookie-action="accept"] { grid-column: 1 / -1; grid-row: 1; }
    .cookie-actions .btn { width: 100%; }
}
@media (max-width: 420px) { .cookie-category { align-items: flex-start; flex-direction: column; } .cookie-dialog-actions { align-items: stretch; flex-direction: column-reverse; } .cookie-dialog-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .site-header { backdrop-filter: none; } }

/* Direction artistique : atelier d'impression, papier, encre et vrais travaux.
   La composition privilégie les photos et la typographie plutôt que les grilles et dégradés décoratifs. */
:root {
    --gs-paper: #fff;
    --gs-gray-50: #F4F7FA;
    --gs-gray-200: #DCE3EA;
    --gs-blue: #39A9F4;
    --gs-navy: #12345A;
    --gs-red: #E63946;
    --gs-red-strong: #C92A38;
    --gs-red-deep: #A91F2C;
    --gs-text: #253247;
    --gs-muted: #55657A;
    --gs-radius: .25rem;
    --gs-shadow: 0 8px 22px rgba(34,35,37,.08);
    --bs-body-bg: #fff;
}
body { background: #fff; color: var(--gs-text); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; font-weight: 600; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--gs-gray-50); background-image: none; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.section-kicker { color: var(--gs-red-strong); font-size: .76rem; letter-spacing: .09em; }
.section-kicker::before { width: 1.1rem; height: 1px; background: currentColor; }
.topbar { background: #17396b; background-image: none; }
.site-header { background: #fff; backdrop-filter: none; border-bottom: 1px solid #e6e2da; }
.navbar { min-height: 5.2rem; }
.navbar .nav-link { border-radius: 0; }
.navbar .nav-link:hover { background: none; color: var(--gs-red-strong); }
.navbar .nav-link.active::after { left: .85rem; right: .85rem; height: 1px; }
.btn { border-radius: .2rem; box-shadow: none; }
.btn:hover { box-shadow: none; }

/* Accueil : grand titre, vrai cliché de l'atelier et composition de couverture. */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--gs-navy); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42rem 30rem at 100% 0%, rgba(57,169,244,.2), transparent 72%), radial-gradient(30rem 24rem at 0% 100%, rgba(230,57,70,.12), transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 2rem 2rem; mask-image: radial-gradient(ellipse at 76% 48%, #000 0, transparent 74%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(21rem, .9fr); align-items: center; gap: clamp(2.5rem, 5vw, 5.5rem); min-height: 37rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero-inner { padding-inline: max(.75rem, calc(var(--bs-gutter-x, 1.5rem) / 2)); }
.hero-copy { position: relative; z-index: 1; max-width: 39rem; }
.hero-kicker { color: #79c9ff; margin-bottom: 1.25rem; letter-spacing: .1em; }
.hero h1 { max-width: 12ch; color: #fff; font-size: clamp(3rem, 6vw, 5.35rem); line-height: 1.02; }
.hero .lead { max-width: 48ch; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.75; }
.hero .btn { animation: none; }
.hero .btn-light-outline { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.72); --bs-btn-hover-color: var(--gs-navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; }
.hero-pattern { display: none !important; }
.hero-photo { position: relative; z-index: 1; width: 100%; height: clamp(22rem, 40vw, 32rem); margin: 0; border-left: .55rem solid var(--gs-red); background: #dbeaf5; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.22); }
.hero-photo::before { content: ""; position: absolute; z-index: 1; top: -1rem; right: 0; width: 5.2rem; height: 5.2rem; border-top: 1px solid var(--gs-red); border-right: 1px solid var(--gs-red); pointer-events: none; }
.hero-carousel-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 51% 52%; }
.hero-photo figcaption { position: absolute; right: .75rem; bottom: 1rem; display: flex; flex-direction: column; gap: .1rem; min-width: 12.5rem; padding: .8rem 1rem; background: #fff; color: var(--gs-navy); box-shadow: 0 .5rem 1.4rem rgba(20,31,45,.13); }
.hero-photo figcaption span:first-child { color: var(--gs-red-strong); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-photo figcaption span:last-child { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.hero-carousel-controls { position: absolute; z-index: 2; left: .85rem; bottom: 1rem; display: flex; align-items: center; gap: .55rem; }
.hero-carousel-arrow { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: var(--gs-navy); color: #fff; box-shadow: 0 2px 8px rgba(18,52,90,.22); }
.hero-carousel-arrow:hover, .hero-carousel-arrow:focus-visible { background: var(--gs-red-strong); color: #fff; }
.hero-carousel-dots { display: flex; gap: .35rem; align-items: center; padding: .45rem .55rem; border-radius: 2rem; background: rgba(18,52,90,.78); }
.hero-carousel-dot { width: .52rem; height: .52rem; padding: 0; border: 0; border-radius: 1rem; background: rgba(255,255,255,.55); transition: width .2s ease, background .2s ease; }
.hero-carousel-dot.is-active { width: 1.15rem; background: #fff; }
.hero-carousel-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.home-intro-layout { display: grid; grid-template-columns: minmax(10rem, .55fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 1rem 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--gs-gray-200); }
.home-intro-layout .section-kicker { margin: .35rem 0 0; }
.home-intro-layout .section-title { max-width: 17ch; margin: 0; }
.home-intro-copy { max-width: 40ch; padding-top: .35rem; color: var(--gs-muted); line-height: 1.8; }

/* Services en liste éditoriale, sans trois blocs de même forme. */
.section-services .row { --bs-gutter-y: 0; }
.service-card { position: relative; min-height: 100%; padding: 1.5rem .6rem 1.5rem 1.35rem !important; border: 0; border-top: 1px solid #d8d3c9; border-radius: 0; background: transparent; box-shadow: none; }
.section-services .row > div:last-child .service-card { border-bottom: 1px solid #d8d3c9; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 2.3rem; background: var(--gs-red); transition: height .2s ease; }
.service-card:hover { transform: none; border-color: #d8d3c9; box-shadow: none; }
.service-card:hover::before { height: 100%; }
.service-card .icon-badge { display: none; }
.service-card h3 { margin-top: 0 !important; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.service-card p { max-width: 34ch; }
.service-card .stretched-link { color: var(--gs-red-strong); }

/* Réalisations : une photo principale, deux formats secondaires. */
.home-project-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(14rem, .75fr); grid-template-rows: repeat(2, minmax(12rem, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.home-project-grid .project-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(9rem, .9fr); min-height: 15rem; border: 0; border-bottom: 1px solid var(--gs-gray-200); border-radius: 0; background: transparent; box-shadow: none; }
.home-project-grid .project-card:first-child { grid-row: 1 / span 2; display: flex; flex-direction: column; border: 0; }
.home-project-grid .project-card:first-child .project-thumb { flex: 1; min-height: 24rem; }
.home-project-grid .project-card .project-thumb { aspect-ratio: auto; background: #e8f2fa; }
.home-project-grid .project-card .project-thumb img { object-position: center 46%; }
.home-project-grid .project-card:first-child .project-thumb img { object-position: center 42%; }
.home-project-grid .project-card .project-thumb::after { display: none; }
.home-project-grid .project-card > div:last-child { align-self: center; padding: 1rem 1.2rem !important; }
.home-project-grid .project-card:first-child > div:last-child { padding: 1rem 0 !important; }
.home-project-grid .project-card h3 { font-size: 1.35rem; }
.home-project-grid .project-card .stretched-link { color: var(--gs-navy); }
.home-project-grid .project-card:hover { transform: none; border-color: var(--gs-red); box-shadow: none; }
.project-thumb img, .hero-photo img { transition: transform .35s ease; }
.project-card:hover .project-thumb img { transform: scale(1.025); }

/* Pages intérieures : titre sur papier et repère rouge sobre. */
.page-header { padding-block: clamp(2.5rem, 5vw, 4rem); color: var(--gs-text); background: var(--gs-gray-50); background-image: none; border-bottom: 1px solid var(--gs-gray-200); }
.page-header::before { display: none; }
.page-header::after { right: max(4vw, calc((100vw - 1140px) / 2)); top: 50%; width: 2.4rem; height: 4rem; transform: translateY(-50%); border: 0; border-left: 3px solid var(--gs-red); border-radius: 0; box-shadow: none; }
.page-header h1 { max-width: 22ch; color: var(--gs-navy); font-size: clamp(2.35rem, 5vw, 4rem); }
.page-header .lead { color: #575b61; }
.breadcrumb-gs a, .breadcrumb-gs [aria-current="page"] { color: #555a61; }
.breadcrumb-gs li + li::before { color: var(--gs-red); }
.editorial-page-content { border: 0; border-left: 2px solid var(--gs-red); border-radius: 0; background: transparent; box-shadow: none; }
.about-intro { background: #fff; }
.about-offer-card { border: 0; border-radius: .2rem; background: var(--gs-navy); box-shadow: none; }
.about-offer-card::after { display: none; }
.about-principles { background: var(--gs-paper); }
.about-principle-card, .about-values-panel { border: 0; border-top: 1px solid var(--gs-gray-200); border-radius: 0; box-shadow: none; }
.about-principle-icon, .about-value-icon { border-radius: 50%; background: #f4e8e3; color: var(--gs-red-strong); }
.card-gs, .form-card, .thanks-card { border-radius: .2rem; box-shadow: 0 5px 18px rgba(34,35,37,.055); }
.card-gs:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(34,35,37,.09); border-color: var(--gs-gray-200); }
.form-card { border-top: 3px solid var(--gs-red); }
.form-card legend { border-bottom: 1px solid var(--gs-gray-200); }
.form-card .profile-fields { border-radius: .2rem; background: var(--gs-gray-50); }
.cta-band { background: var(--gs-red-strong); background-image: none; }
.cta-band h2 { color: #fff; }
.cta-band .btn-accent { --bs-btn-bg: var(--gs-navy); --bs-btn-border-color: var(--gs-navy); --bs-btn-hover-bg: #102a50; --bs-btn-hover-border-color: #102a50; }
.step { border-top: 1px solid var(--gs-red); border-radius: 0; background: transparent; }
.step-num { width: auto; height: auto; margin-bottom: .8rem; border-radius: 0; background: none; color: var(--gs-red-strong); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.site-footer { background: #17396b; background-image: none; }
.footer-brand-lockup, .partner-logo { border-radius: .2rem; }
.section-partners { background: #fff; }
.partner-heading { text-align: left; margin-left: 0; }
.partner-logo { border: 1px solid var(--gs-gray-200); box-shadow: none; }

@media (max-width: 767.98px) {
    .hero-photo figcaption { right: .65rem; bottom: 4rem; min-width: 0; max-width: calc(100% - 1.3rem); padding: .65rem .8rem; }
    .hero-carousel-controls { left: .65rem; bottom: .75rem; gap: .4rem; }
    .hero-carousel-arrow { width: 2.15rem; height: 2.15rem; }
    .hero-carousel-dots { gap: .3rem; padding: .4rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-carousel-dot { transition: none; }
}

@media (max-width: 991.98px) {
    .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(17rem, .8fr); min-height: auto; }
    .hero-photo { height: 24rem; }
    .home-intro-layout { grid-template-columns: minmax(8rem, .4fr) 1fr; }
    .home-intro-copy { grid-column: 2; }
}
@media (max-width: 767.98px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.1rem; }
    .hero h1 { max-width: 13ch; font-size: clamp(2.35rem, 10vw, 3.2rem); }
    .hero-photo { width: calc(100% - 1rem); height: min(95vw, 27rem); }
    .home-intro-layout { display: block; }
    .home-intro-layout .section-kicker { margin-bottom: .75rem; }
    .home-intro-layout .section-title { margin-bottom: 1rem; }
    .home-intro-copy { max-width: 60ch; }
    .home-project-grid { display: flex; flex-direction: column; }
    .home-project-grid .project-card, .home-project-grid .project-card:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, .8fr); min-height: 12rem; border-bottom: 1px solid var(--gs-gray-200); }
    .home-project-grid .project-card:first-child .project-thumb { min-height: 12rem; }
    .home-project-grid .project-card > div:last-child, .home-project-grid .project-card:first-child > div:last-child { padding: .75rem !important; }
    .page-header::after { right: 1.25rem; width: 1.4rem; height: 3rem; }
}
@media (max-width: 420px) {
    .home-project-grid .project-card, .home-project-grid .project-card:first-child { grid-template-columns: 1fr; }
    .home-project-grid .project-card .project-thumb, .home-project-grid .project-card:first-child .project-thumb { min-height: 15rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img, .project-thumb img { transition: none; } }
.editorial-page-content { max-width:76ch; padding:clamp(1.4rem,4vw,2.5rem); border:1px solid var(--gs-gray-200); border-radius:var(--gs-radius); background:#fff; box-shadow:var(--gs-shadow); }
.section-intro { max-width: 48rem; margin: 0 0 2rem; }
.section-intro-centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-intro .section-kicker { margin-bottom: .65rem; }
.section-intro .section-title { margin-bottom: .65rem; }
.section-intro-text { margin: 0; max-width: 62ch; color: var(--gs-muted); line-height: 1.75; }
.section-intro-centered .section-intro-text { margin-inline: auto; }
.home-intro-card { position: relative; overflow: hidden; max-width: 60rem; padding: clamp(1.5rem,4vw,3rem); border: 1px solid var(--gs-gray-200); border-radius: var(--gs-radius); background: linear-gradient(135deg,#fff,#f4f8fc); box-shadow: var(--gs-shadow); }
.home-intro-card::after { content:""; position:absolute; width:12rem; height:12rem; right:-5rem; bottom:-7rem; border:1px dashed rgba(57,169,244,.5); border-radius:50%; pointer-events:none; }
.home-intro-card>* { position:relative; z-index:1; }
.home-intro-card>p:last-child { max-width:72ch; color:var(--gs-muted); line-height:1.8; }
.detail-panel { position: sticky; top: 1.5rem; }
.product-detail-card { height: 100%; }
.product-detail-card .price { margin-bottom: 1.25rem; }
.product-detail-card .prose { color: var(--gs-text); line-height: 1.8; }
.project-gallery .gallery-item { border: 1px solid var(--gs-gray-200); box-shadow: 0 .35rem 1.2rem rgba(18,52,90,.07); }
.faq-list { max-width: 52rem; margin-inline: auto; }
.faq-item { overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { box-shadow: 0 .35rem 1rem rgba(18,52,90,.06); }
.faq-item[open] { box-shadow: 0 .4rem 1.2rem rgba(18,52,90,.08); }
.faq-item p { line-height: 1.75; }
.contact-list { margin-top: 1rem !important; }
.contact-list li { line-height: 1.55; }
@media(max-width:991.98px){.detail-panel{position:static}}
.about-intro { background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%); }
.about-copy { max-width:68ch; }
.about-offer-card { position:relative; overflow:hidden; padding:clamp(1.4rem,3vw,2rem); border:1px solid rgba(255,255,255,.14); border-radius:1rem; color:#fff; background:radial-gradient(20rem 16rem at 100% 0%,rgba(57,169,244,.27),transparent 72%),linear-gradient(145deg,#12345A,#0b2542); box-shadow:0 1rem 2.5rem rgba(18,52,90,.16); }
.about-offer-card::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.14; background:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px); background-size:1.5rem 1.5rem; mask-image:linear-gradient(120deg,transparent 12%,#000 100%); }
.about-offer-card>* { position:relative; z-index:1; }
.about-offer-mark,.about-principle-icon,.about-value-icon { display:grid; place-items:center; flex:none; }
.about-offer-mark { width:3rem; height:3rem; margin-bottom:1.25rem; border-radius:.85rem; background:var(--gs-red-strong); color:#fff; font-size:1.35rem; }
.about-offer-kicker { margin:0 0 .9rem; color:rgba(255,255,255,.68); font-size:.76rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.about-offer-list { display:grid; gap:.75rem; }
.about-offer-list li { display:flex; align-items:center; gap:.7rem; padding:.72rem .8rem; border:1px solid rgba(255,255,255,.12); border-radius:.65rem; background:rgba(255,255,255,.055); font-weight:650; }
.about-offer-list i { width:1.2rem; color:#79c9ff; font-size:1.1rem; text-align:center; }
.about-offer-link { display:inline-flex; align-items:center; gap:.5rem; margin-top:1.2rem; color:#fff; font-weight:700; text-decoration:none; }
.about-offer-link:hover { color:#9bd9ff; }
.about-principles { background:var(--gs-gray-50); }
.about-principle-card,.about-values-panel { padding:clamp(1.35rem,3vw,2rem); border:1px solid var(--gs-gray-200); border-radius:var(--gs-radius); background:#fff; box-shadow:0 .4rem 1.3rem rgba(18,52,90,.045); }
.about-principle-icon { width:2.9rem; height:2.9rem; margin-bottom:1.35rem; border:1px solid rgba(57,169,244,.24); border-radius:.8rem; background:rgba(57,169,244,.11); color:var(--gs-navy); font-size:1.25rem; }
.about-principle-card .rich-text p:last-child { margin-bottom:0; }
.about-values-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; }
.about-value-card { display:flex; align-items:center; gap:.75rem; min-height:4.25rem; padding:.8rem; border:1px solid var(--gs-gray-200); border-radius:.7rem; background:#fff; color:var(--gs-navy); font-weight:650; }
.about-value-icon { width:2.25rem; height:2.25rem; border-radius:.65rem; background:#edf5fc; color:var(--gs-blue); font-size:1.05rem; }
@media(max-width:767.98px){.about-values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header::after{right:-8rem;}}
@media(max-width:420px){.about-values-grid{grid-template-columns:1fr}}
.meta-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gs-muted); margin-top: .9rem; }
.meta-list dt:first-child { margin-top: 0; }
.meta-list dd { margin: 0; font-weight: 600; }

/* ---- FAQ (éléments <details> : fonctionne sans JavaScript) ---- */
.faq-item { border: 1px solid var(--gs-gray-200); border-radius: var(--gs-radius); background: #fff; margin-bottom: .75rem; }
.faq-item summary { cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; color: var(--gs-navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); transition: transform .2s; color: var(--gs-red-strong); }
.faq-item[open] summary::after { content: "\F2EA"; }
.faq-item[open] { border-color: var(--gs-blue); }
.faq-item p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--gs-text); }

/* ---- Bandeau d'appel à l'action ---- */
.cta-band { background: linear-gradient(135deg, var(--gs-navy), #0D2744); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.88); max-width: 55ch; }

/* ---- Étapes de commande ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); counter-reset: none; }
.step { position: relative; padding: 1rem 1rem 1.1rem; border-top: 3px solid var(--gs-blue); background: var(--gs-gray-50); border-radius: 0 0 var(--gs-radius) var(--gs-radius); }
.step-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gs-red-strong); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: .5rem; }

/* ---- Témoignages ---- */
.testimonial blockquote { position: relative; padding-top: 1.4rem; }
.testimonial blockquote::before { content: "\201C"; position: absolute; top: -.6rem; left: -.15rem; font-size: 3.2rem; line-height: 1; color: var(--gs-blue); font-family: Georgia, serif; }

/* ---- Galerie d'un projet + visionneuse ---- */
.project-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.project-gallery .gallery-item:first-child { grid-column: 1 / -1; }
.gallery-item { display: block; border-radius: .6rem; overflow: hidden; background: var(--gs-gray-50); cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(8, 20, 36, .92); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3.5rem 4rem 1.5rem; }
.lightbox-figure { margin: 0; display: grid; place-items: center; min-height: 0; max-height: 100%; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: .4rem; }
.lightbox-caption { margin-top: .75rem; text-align: center; font-size: .95rem; color: rgba(255,255,255,.9); }
.lightbox-btn { position: absolute; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
    background: rgba(18, 52, 90, .7); color: #fff; font-size: 1.3rem; transition: background-color .2s; }
.lightbox-btn:hover { background: var(--gs-red-strong); }
.lightbox-close { top: 1rem; right: 1rem; } .lightbox-prev { left: 1rem; top: 50%; } .lightbox-next { right: 1rem; top: 50%; }
.lightbox-count { position: absolute; top: 1.35rem; left: 1.25rem; font-size: .9rem; color: rgba(255,255,255,.8); }
@media (max-width: 575.98px) { .lightbox-inner { padding: 3.5rem .5rem 1rem; } .lightbox-prev { left: .4rem; } .lightbox-next { right: .4rem; } }

/* =============================================================================
   Étape 5 — formulaires
   ============================================================================= */
.form-card { background: #fff; border: 1px solid var(--gs-gray-200); border-radius: var(--gs-radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--gs-shadow); }
.form-card fieldset { border: 0; padding: 0; min-width: 0; }
.form-card legend { font-size: 1.1rem; font-weight: 750; color: var(--gs-navy); padding: 0 0 .6rem; margin-bottom: .75rem; border-bottom: 2px solid var(--gs-blue); float: none; width: 100%; }
.form-card .profile-fields { margin-top: 1rem; padding: 1.2rem; border: 1px solid var(--gs-gray-200); border-radius: .8rem; background: linear-gradient(135deg,#fff,#f7fafe); }
.form-card .profile-optional { display: inline-flex; vertical-align: middle; margin-left: .35rem; padding: .2rem .55rem; border-radius: 999px; background: #edf5fc; color: var(--gs-muted); font-size: .7rem; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.quote-profile-status { display: flex; align-items: flex-start; gap: .6rem; margin: -.5rem 0 1.5rem; padding: .75rem .9rem; border-left: 3px solid var(--gs-blue); border-radius: .35rem; background: #f0f7fc; color: var(--gs-navy); font-size: .9rem; line-height: 1.55; }
.quote-profile-status:empty { display: none; }
.form-card .form-label { font-weight: 600; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--gs-blue); box-shadow: 0 0 0 .2rem rgba(57,169,244,.35); }
.form-check-input:checked { background-color: var(--gs-navy); border-color: var(--gs-navy); }
.req { color: var(--gs-red-strong); font-weight: 700; }
.profile-fields[hidden] { display: none; }
/* Champ piège anti-robots : hors écran (et non display:none, que certains robots détectent) */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#form-errors:focus { outline: 3px solid var(--gs-red-strong); outline-offset: 2px; }
.thanks-card { max-width: 38rem; background: #fff; border: 1px solid var(--gs-gray-200); border-radius: var(--gs-radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--gs-shadow); }
.thanks-card .icon-badge { width: 4rem; height: 4rem; font-size: 2rem; background: rgba(57,169,244,.16); }
.reference { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(1.2rem, 4vw, 1.7rem); font-weight: 800; letter-spacing: .06em;
    color: var(--gs-navy); background: var(--gs-gray-50); border: 2px dashed var(--gs-blue); border-radius: .6rem; padding: .5rem 1.1rem; user-select: all; }
.contact-list li { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--gs-gray-200); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .bi { color: var(--gs-red-strong); font-size: 1.1rem; margin-top: .15rem; }

/* Contrôles de formulaire harmonisés sur toutes les pages publiques */
form:not(.admin-form) .form-label{color:var(--gs-navy);font-weight:650}
form:not(.admin-form) .form-control,form:not(.admin-form) .form-select{min-height:46px;border-color:var(--gs-gray-200);border-radius:.55rem;background-color:#fff;color:var(--gs-text);transition:border-color .16s ease,box-shadow .16s ease}
form:not(.admin-form) textarea.form-control{min-height:118px;line-height:1.55;resize:vertical}
form:not(.admin-form) .form-control::placeholder{color:#8793a1}
form:not(.admin-form) .form-control:focus,form:not(.admin-form) .form-select:focus{border-color:var(--gs-blue);box-shadow:0 0 0 .22rem rgba(57,169,244,.18)}
form:not(.admin-form) .form-check-input{border-color:#aeb9c7}
form:not(.admin-form) .form-check-input:focus{border-color:var(--gs-blue);box-shadow:0 0 0 .2rem rgba(57,169,244,.22)}
form:not(.admin-form) .invalid-feedback{font-size:.86rem}
form:not(.admin-form) button[type=submit]{min-height:44px;font-weight:650}

/* Harmonisation des pages intérieures : bleu de marque, repères carrés et médias cadrés. */
.page-header {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
    color: #fff;
    background: var(--gs-navy);
    background-image: radial-gradient(34rem 20rem at 100% 0%, rgba(57,169,244,.19), transparent 72%);
    border-bottom: 3px solid var(--gs-red);
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 1.8rem 1.8rem;
}
.page-header::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: max(1.25rem, calc((100vw - 1140px) / 2));
    width: 2.25rem;
    height: 2.25rem;
    border-top: 2px solid var(--gs-red);
    border-right: 2px solid var(--gs-red);
    pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { max-width: 22ch; margin-bottom: .65rem; color: #fff; font-size: clamp(2.25rem, 5vw, 3.8rem); line-height: 1.08; }
.page-header .lead { max-width: 64ch; color: rgba(255,255,255,.88); line-height: 1.75; }
.breadcrumb-gs { margin-bottom: 1.1rem; }
.breadcrumb-gs a { color: rgba(255,255,255,.88); }
.breadcrumb-gs [aria-current="page"] { color: #fff; }

.section-alt {
    background-color: var(--gs-gray-50);
    background-image: none;
}
.about-intro { background: #fff; }
.about-offer-card::after { display: block; }
.editorial-page-content { max-width: 76ch; padding: clamp(1.4rem,4vw,2.5rem); border: 1px solid var(--gs-gray-200); border-left: 3px solid var(--gs-red); border-radius: .4rem; background: #fff; box-shadow: var(--gs-shadow); }
.rich-text { max-width: 72ch; color: var(--gs-text); line-height: 1.85; }
.rich-text h2, .rich-text h3 { margin-top: 1.75rem; margin-bottom: .75rem; }
.rich-text p:last-child, .rich-text ul:last-child { margin-bottom: 0; }

.service-feature-image {
    display: block;
    width: 100%;
    max-height: 30rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-left: .35rem solid var(--gs-red);
    background: var(--gs-gray-50);
}
.product-feature-image {
    display: block;
    width: 100%;
    height: clamp(20rem, 43vw, 34rem);
    padding: .75rem;
    border: 1px solid var(--gs-gray-200);
    border-radius: .4rem;
    object-fit: contain;
    background: var(--gs-gray-50);
}
.project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 1.5vw, 1rem); }
.project-gallery .gallery-item { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: .35rem; background: var(--gs-gray-50); }
.project-gallery .gallery-item:first-child { aspect-ratio: 16 / 10; }
.project-gallery .gallery-item img { width: 100%; height: 100%; object-fit: contain; }

.cta-band { position: relative; overflow: hidden; background: var(--gs-navy); background-image: none; }
.cta-band::before { display: none; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .btn-accent { --bs-btn-bg: var(--gs-red-strong); --bs-btn-border-color: var(--gs-red-strong); --bs-btn-hover-bg: var(--gs-red-deep); --bs-btn-hover-border-color: var(--gs-red-deep); }
.topbar {
    background-color: var(--gs-navy);
    background-image: none;
}
.site-intro {
    background-image: radial-gradient(34rem 24rem at 82% 12%, rgba(57,169,244,.22), transparent 70%), radial-gradient(28rem 20rem at 8% 92%, rgba(230,57,70,.15), transparent 70%);
    background-size: auto;
}
.site-footer {
    background-color: var(--gs-navy);
    background-image: none;
}

.project-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:clamp(1rem,2.5vw,1.8rem)}
.project-category-card{display:block;overflow:hidden;border:1px solid rgba(18,52,90,.1);border-radius:14px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 10px 30px rgba(18,52,90,.08);transition:transform .22s ease,box-shadow .22s ease}
.project-category-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(18,52,90,.16)}
.project-category-cover{position:relative;display:grid;aspect-ratio:16/10;overflow:hidden;background:#e8eef5}
.project-category-cover img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.project-category-card:hover .project-category-cover img{transform:scale(1.035)}
.project-category-placeholder{display:grid;place-items:center;color:#496b91;font-size:3rem}
.project-category-count{position:absolute;right:12px;bottom:12px;padding:.35rem .65rem;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(13,39,67,.8);color:#fff;font-size:.78rem;font-weight:700;backdrop-filter:blur(8px)}
.project-category-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px}
.project-category-caption strong{color:var(--gs-navy);font-size:1.08rem}
.project-category-caption>span{color:#52657b;font-size:.82rem;text-align:right}
.project-category-caption i{margin-left:4px;color:var(--gs-red-strong)}
@media(prefers-reduced-motion:reduce){.project-category-card,.project-category-cover img{transition:none}}

@media (max-width: 767.98px) {
    .topbar { display: none; }
    .page-header { padding-block: 2.5rem; }
    .page-header::after { top: 1rem; right: 1rem; width: 1.5rem; height: 1.5rem; }
    .page-header h1 { max-width: 16ch; font-size: clamp(2rem, 9vw, 2.8rem); }
    .project-gallery { grid-template-columns: 1fr; }
    .project-gallery .gallery-item:first-child { aspect-ratio: 4 / 3; }
}

/* Bandeau animé des partenaires */
.section-partners{overflow:hidden;background:#f6f8fb}.partner-heading{max-width:680px;margin:0 auto 30px;text-align:center}.partner-heading>.text-muted{margin:10px 0 0}.partner-marquee{display:flex;overflow:hidden;gap:22px;padding:5px 0 14px;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.partner-track{display:flex;flex:0 0 auto;align-items:center;gap:18px;min-width:max-content;animation:partner-scroll 34s linear infinite}.partner-marquee:hover .partner-track,.partner-marquee:focus-within .partner-track{animation-play-state:paused}.partner-logo{display:flex;width:190px;height:104px;align-items:center;justify-content:center;padding:17px 22px;border:1px solid rgba(22,65,130,.08);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(21,47,84,.06);transition:transform .2s ease,box-shadow .2s ease}.partner-logo:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(21,47,84,.12)}.partner-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}@keyframes partner-scroll{to{transform:translateX(calc(-100% - 22px))}}@media(prefers-reduced-motion:reduce){.partner-marquee{overflow-x:auto;mask-image:none}.partner-track{animation:none}.partner-track-copy{display:none}.partner-logo{transition:none}}

.category-project-card{height:100%;overflow:hidden;border:1px solid rgba(18,52,90,.1);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(18,52,90,.08);transition:transform .22s ease,box-shadow .22s ease}.category-project-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(18,52,90,.14)}.category-project-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:120px;gap:5px;padding:5px;background:#edf2f7}.category-project-photo{position:relative;display:block;overflow:hidden;background:#dfe7ef}.category-project-photo.is-primary{grid-column:span 2;grid-row:span 2}.category-project-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.category-project-photo:hover img{transform:scale(1.04)}.category-photo-more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(13,39,67,.58);color:#fff;font-size:1.5rem;font-weight:750}.category-photo-empty{display:grid;place-content:center;justify-items:center;gap:8px;color:#496b91;text-decoration:none}.category-project-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.category-project-caption h2{margin:0;font-size:1.05rem}.category-project-caption h2 a{color:var(--gs-navy);text-decoration:none}.category-project-caption h2 a:hover{color:var(--gs-red-strong)}.category-project-open{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:1px solid rgba(18,52,90,.12);border-radius:50%;color:var(--gs-navy);text-decoration:none}.category-project-open:hover{border-color:var(--gs-red-strong);color:var(--gs-red-strong)}@media(max-width:575.98px){.category-project-photos{grid-auto-rows:96px}}@media(prefers-reduced-motion:reduce){.category-project-card,.category-project-photo img{transition:none}}

.projects-service-heading{max-width:650px;margin:0 auto 34px;text-align:center}.projects-service-heading>span{color:var(--gs-red-strong);font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.projects-service-heading h2{margin:.55rem 0;color:var(--gs-navy);font-size:clamp(1.7rem,3.5vw,2.5rem);font-weight:750;letter-spacing:-.035em}.projects-service-heading p{color:#627187}.service-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 24px;padding:19px 22px;border-left:3px solid var(--gs-red-strong);border-radius:0 12px 12px 0;background:#f4f7fb}.service-gallery-toolbar h2{margin:0;color:var(--gs-navy);font-size:1.5rem;font-weight:750}.service-gallery-toolbar p:last-child{margin:5px 0 0;color:#63748a;font-size:.88rem}.service-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(200px,22vw,300px);grid-auto-flow:dense;gap:14px}.service-photo-card{position:relative;display:block;overflow:hidden;border-radius:12px;background:#e7edf4;color:#fff;isolation:isolate}.service-photo-card.is-featured{grid-row:span 2}.service-photo-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.service-photo-card::after{position:absolute;inset:25% 0 0;z-index:0;background:linear-gradient(transparent,rgba(8,20,36,.72));content:'';opacity:.88;transition:opacity .2s ease}.service-photo-card:hover img{transform:scale(1.035)}.service-photo-card:hover::after{opacity:1}.service-photo-caption{position:absolute;z-index:1;right:16px;bottom:14px;left:16px;display:grid;gap:3px}.service-photo-caption strong{font-size:.9rem;font-weight:700}.service-photo-caption small{color:rgba(255,255,255,.8);font-size:.75rem}.service-photo-zoom{position:absolute;z-index:1;top:12px;right:12px;display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(8,20,36,.38);opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease}.service-photo-card:hover .service-photo-zoom,.service-photo-card:focus-visible .service-photo-zoom{opacity:1;transform:none}.service-gallery-empty{max-width:620px;margin:2rem auto;padding:52px 28px;border:1px solid #e4eaf1;border-radius:16px;background:#f8fafc;text-align:center}.service-gallery-empty>span{display:grid;width:62px;height:62px;margin:0 auto 17px;place-items:center;border-radius:50%;background:#eaf1f8;color:var(--gs-navy);font-size:1.7rem}.service-gallery-empty h3{color:var(--gs-navy);font-weight:750}.service-gallery-empty p{max-width:440px;margin:0 auto 20px;color:#63748a}.service-gallery-toolbar .btn{flex:0 0 auto}
@media(max-width:767.98px){.service-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(170px,36vw,240px);gap:9px}.service-photo-card.is-featured{grid-row:span 1}.service-photo-zoom{opacity:1;transform:none}.service-gallery-toolbar{align-items:flex-start;flex-direction:column;padding:16px}.service-gallery-toolbar .btn{align-self:flex-start}}
@media(max-width:420px){.service-photo-grid{grid-template-columns:1fr;grid-auto-rows:260px}.service-gallery-empty{padding:38px 18px}}
@media(prefers-reduced-motion:reduce){.service-photo-card img,.service-photo-card::after,.service-photo-zoom{transition:none}}

/* Finition visuelle du site : repères de marque, contraste et interactions cohérentes. */
.hero::after {
    opacity: .12;
    background-size: 2.4rem 2.4rem;
    mask-image: radial-gradient(ellipse at 76% 48%, #000 0, transparent 68%);
}
.page-header {
    padding-block: clamp(2.8rem, 5.5vw, 4.4rem);
    color: #fff;
    background-color: var(--gs-navy);
    background-image: linear-gradient(112deg, #102e50 0%, #12345a 62%, #17436f 100%);
    border-bottom: 0;
}
.page-header::before {
    display: block;
    opacity: .11;
    background-size: 1.8rem 1.8rem;
    mask-image: linear-gradient(105deg, transparent 8%, #000 100%);
}
.page-header::after {
    right: max(5vw, calc((100vw - 1140px) / 2));
    top: 50%;
    width: clamp(5.5rem, 10vw, 8rem);
    height: clamp(5.5rem, 10vw, 8rem);
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 0;
    background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 1rem 1rem;
    box-shadow: 0 0 0 1rem rgba(255,255,255,.018);
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.35rem); }
.page-header .lead { max-width: 58ch; color: rgba(255,255,255,.84); }
.breadcrumb-gs a, .breadcrumb-gs [aria-current="page"] { color: rgba(255,255,255,.9); }
.breadcrumb-gs li + li::before { color: #79c9ff; }
.section-alt { background-color: #f5f8fb; background-image: none; }
.service-card, .project-card, .product-card, .partner-logo, .form-card, .faq-item {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.service-card:focus-within, .project-card:focus-within, .product-card:focus-within {
    outline: 2px solid var(--gs-blue);
    outline-offset: 3px;
}
.partner-logo { min-width: 44px; min-height: 44px; }
.form-control, .form-select { transition: border-color .18s ease, box-shadow .18s ease; }
.page-header .container { position: relative; z-index: 1; }
@media (max-width: 767.98px) {
    .page-header { padding-block: 2.7rem; }
    .page-header::after { top: 1.2rem; right: 1rem; width: 2.7rem; height: 2.7rem; }
    .page-header h1 { max-width: 15ch; font-size: clamp(2rem, 9vw, 2.8rem); }
}
@media (prefers-reduced-motion: reduce) {
    .service-card, .project-card, .product-card, .partner-logo, .form-card, .faq-item, .form-control, .form-select { transition: none; }
}

/* Interaction layer : retours sobres, cohérents et utilisables au clavier comme au tactile. */
:focus-visible {
    outline: 3px solid var(--gs-red-strong);
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #fff;
}
button:not(:disabled), [role="button"] { cursor: pointer; }
.navbar-toggler { min-width: 44px; min-height: 44px; }
.btn:active:not(:disabled), .navbar-toggler:active, .hero-carousel-arrow:active {
    transform: translateY(1px);
}
.navbar .nav-link { transition: color .18s ease, background-color .18s ease; }
.navbar .nav-link:focus-visible, .navbar .btn:focus-visible {
    position: relative;
    z-index: 2;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: .65rem;
        padding-top: .55rem;
        border-top: 1px solid var(--gs-gray-200);
    }
    .navbar .nav-link { min-height: 44px; display: flex; align-items: center; }
    .navbar-nav > li:last-child .btn { min-height: 44px; }
}
@media (hover: none) {
    .card-gs:hover, .project-card:hover, .product-card:hover,
    .project-category-card:hover, .category-project-card:hover { transform: none; }
    .project-card:hover .project-thumb img, .product-card:hover .project-thumb img,
    .project-category-card:hover .project-category-cover img,
    .category-project-photo:hover img, .service-photo-card:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .navbar .nav-link, .btn:active:not(:disabled), .navbar-toggler:active, .hero-carousel-arrow:active { transition: none; }
}

/* Accueil : composition de couverture plus nette, avec la photo et l’action au même niveau. */
.hero-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(2rem, 4.6vw, 4.25rem);
    min-height: clamp(34rem, 72vh, 42rem);
    padding-block: clamp(2.8rem, 5vh, 4.5rem);
}
.hero-copy { max-width: 42rem; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    color: #a9d8fa;
    font-size: .78rem;
    letter-spacing: .11em;
}
.hero-kicker::before { width: 1.8rem; height: 2px; background: var(--gs-red); content: ""; }
.hero h1 {
    max-width: 15ch;
    margin-bottom: .85rem;
    font-size: clamp(2.8rem, 4.35vw, 4.55rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.hero .lead {
    max-width: 48ch;
    margin-top: 1rem !important;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.68;
}
.hero-actions { align-items: center; gap: .8rem !important; margin-top: 1.6rem !important; }
.hero-actions .btn {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding-inline: 1.2rem;
    font-size: 1rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
}
.hero-actions .btn-accent { box-shadow: 0 .55rem 1.3rem rgba(7, 21, 39, .2); }
.hero-actions .btn-accent:hover { box-shadow: 0 .8rem 1.65rem rgba(7, 21, 39, .27); }
.hero-actions .btn-light-outline { background: rgba(255,255,255,.035); }
.hero-photo {
    width: 100%;
    height: auto;
    max-height: 34rem;
    aspect-ratio: 1.22 / 1;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,.88);
    border-left: .5rem solid var(--gs-red);
    border-radius: .45rem;
    box-shadow: 0 1.5rem 3.5rem rgba(3, 17, 34, .3);
}
.hero-photo::before {
    top: .6rem;
    right: .6rem;
    width: 3.5rem;
    height: 3.5rem;
    border-width: 2px;
}
.hero-slide img {
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.1);
}
.hero-slide { transition: opacity .55s ease, visibility .55s ease; }
.hero-photo figcaption {
    right: auto;
    bottom: 1rem;
    left: 1rem;
    min-width: 0;
    max-width: calc(100% - 17rem);
    padding: .75rem 1rem;
    border-left: 3px solid var(--gs-red);
    background: rgba(13, 39, 68, .94);
    color: #fff;
    box-shadow: 0 .6rem 1.5rem rgba(3, 17, 34, .24);
    backdrop-filter: blur(8px);
}
.hero-photo figcaption span:first-child { color: #a9d8fa; }
.hero-photo figcaption span:last-child {
    overflow: hidden;
    color: #fff;
    font-family: var(--gs-font);
    font-size: .98rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-carousel-controls {
    right: 1rem;
    bottom: 1rem;
    left: auto;
    gap: .35rem;
    padding: .25rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(13, 39, 68, .72);
    backdrop-filter: blur(8px);
}
.hero-carousel-arrow { width: 2.75rem; height: 2.75rem; border-color: rgba(255,255,255,.48); }
.hero-carousel-dots { gap: .1rem; padding: 0; background: transparent; }
.hero-carousel-dot {
    position: relative;
    display: grid;
    width: 2.4rem;
    height: 2.75rem;
    flex: 0 0 2.4rem;
    place-items: center;
    background: transparent;
}
.hero-carousel-dot::before {
    width: .48rem;
    height: .48rem;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    content: "";
    transition: width .2s ease, background-color .2s ease;
}
.hero-carousel-dot.is-active { width: 2.4rem; background: transparent; }
.hero-carousel-dot.is-active::before { width: 1rem; background: #fff; }
.hero-carousel-dot:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
@media (max-width: 991.98px) {
    .hero-inner { min-height: 34rem; }
    .hero h1 { font-size: clamp(2.55rem, 5.4vw, 3.5rem); }
    .hero-photo { max-height: 28rem; }
}
@media (max-width: 767.98px) {
    .hero-inner { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 2rem; padding-block: 3rem; }
    .hero-copy { max-width: 42rem; }
    .hero h1 { max-width: 16ch; font-size: clamp(2.45rem, 9vw, 3.35rem); }
    .hero .lead { max-width: 56ch; }
    .hero-photo { width: 100%; max-height: none; aspect-ratio: 1.18 / 1; }
    .hero-photo figcaption { right: 1rem; bottom: 4.1rem; left: 1rem; max-width: none; }
    .hero-photo figcaption span:last-child { white-space: normal; }
    .hero-carousel-controls { right: auto; bottom: .65rem; left: 50%; transform: translateX(-50%); }
    .hero-actions { display: grid !important; grid-template-columns: minmax(0,1fr); max-width: 22rem; }
    .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
    .hero-carousel-dot::before { transition: none; }
    .hero-slide img { transform: none; }
}

/* Finition commune des pages publiques et des sections de l’accueil. */
:root {
    --gs-shadow-card: 0 .45rem 1.35rem rgba(18, 52, 90, .07);
    --gs-shadow-hover: 0 .8rem 2rem rgba(18, 52, 90, .12);
}
.section-title { text-wrap: balance; }
.section-intro {
    max-width: 46rem;
    margin-bottom: clamp(1.65rem, 3vw, 2.35rem);
}
.section-intro .section-title { margin-bottom: .65rem; }
.section-intro-text { max-width: 60ch; color: #586b81; }
.section-intro-centered .section-intro-text { margin-inline: auto; }
.home-intro-layout {
    padding-block: clamp(1.45rem, 3vw, 2.1rem);
    border-top-color: #cfdbe7;
    border-bottom: 1px solid #e3eaf1;
}
.home-intro-layout .section-title { text-wrap: balance; }
.home-section-intro { max-width: 48rem; }
.section-services .service-card {
    padding-block: 1.55rem !important;
    border-top-color: #cfdbe7;
}
.section-services .service-card::before { width: 3px; }
.section-services .service-card h3 { line-height: 1.2; }
.section-services .service-card p { color: #596c81 !important; line-height: 1.7; }
.why-item {
    height: 100%;
    padding: 1.25rem 1rem 1.35rem;
    border-top: 2px solid #dce5ee;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease;
}
.why-item:hover { border-top-color: var(--gs-red); transform: translateY(-2px); }
.why-item h3 { line-height: 1.35; }
.why-item p { color: #5b6d82 !important; line-height: 1.65; }
.home-project-grid { align-items: stretch; }
.home-project-grid .project-card:first-child .project-thumb { border-radius: .4rem; }
.home-project-grid .project-card h3 { line-height: 1.3; text-wrap: balance; }
.partner-heading { max-width: 46rem; margin: 0 auto 1.65rem; text-align: center; }
.partner-heading .section-intro-text { margin: 0 auto; }
.partner-logo { border-color: #e0e7ee; border-radius: .55rem; box-shadow: 0 .35rem 1rem rgba(18,52,90,.045); }
.steps { gap: clamp(.8rem, 1.5vw, 1.15rem); }
.step {
    min-height: 100%;
    padding: 1.25rem 1.2rem 1.4rem;
    border-top-width: 2px;
    border-top-color: var(--gs-red);
    border-radius: 0 0 .4rem .4rem;
    background: #fff;
    box-shadow: 0 .25rem .85rem rgba(18,52,90,.045);
}
.step h3 { line-height: 1.35; }
.step p { color: #5b6d82 !important; line-height: 1.6; }
.testimonial {
    border-top: 2px solid #d7e4f0;
    box-shadow: var(--gs-shadow-card);
}
.testimonial blockquote p { color: #34455b; line-height: 1.75; }
.testimonial figcaption { color: var(--gs-navy); }
.cta-band { border-top: 3px solid var(--gs-red); }
.cta-band .btn { min-height: 46px; }
.service-feature-image, .product-feature-image {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #e1e8ef;
    border-radius: .55rem;
    background: #f5f8fb;
    box-shadow: var(--gs-shadow-card);
}
.service-feature-image { max-height: 34rem; object-fit: cover; }
.product-feature-image { max-height: 36rem; object-fit: contain; }
.detail-panel, .product-detail-card {
    border-top: 3px solid var(--gs-red);
    box-shadow: var(--gs-shadow-card);
}
.project-category-card, .category-project-card, .service-photo-card {
    border-radius: .65rem;
    box-shadow: var(--gs-shadow-card);
}
.project-category-card:hover, .category-project-card:hover { box-shadow: var(--gs-shadow-hover); }
.project-gallery .gallery-item { border-radius: .45rem; }
.faq-item { border-radius: .45rem; }
.faq-item summary { min-height: 3.25rem; display: flex; align-items: center; line-height: 1.45; }
.faq-item[open] { border-color: #bacddd; border-left: 3px solid var(--gs-red); }
.form-card { border-radius: .45rem; box-shadow: var(--gs-shadow-card); }
.form-card .profile-fields { border-radius: .45rem; }
.form-card button[type="submit"] { min-height: 48px; padding-inline: 1.35rem; }
.contact-list li { min-height: 44px; align-items: flex-start; }
.contact-list a { overflow-wrap: anywhere; }
.editorial-page-content { line-height: 1.8; }
.empty-state { border-color: #ccd8e4; background: #f7f9fc; }
@media (max-width: 767.98px) {
    .section-intro { margin-bottom: 1.5rem; }
    .home-intro-layout { padding-block: 1.35rem; }
    .why-item { padding: 1rem 0 .9rem; }
    .home-project-grid .project-card:first-child .project-thumb { min-height: 17rem; }
    .step { padding: 1rem; }
    .partner-logo { width: 168px; height: 94px; padding: 14px 18px; }
    .faq-item summary { padding-block: .9rem; }
    .service-feature-image, .product-feature-image { max-height: 28rem; }
}

/* Accueil — repères métiers inspirés d'une mise en page éditoriale, aux couleurs GS. */
.home-expertise {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #e2e8ef;
    background: #fff;
}
.home-expertise-inner {
    display: flex;
    min-height: 5.2rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.3rem;
}
.home-expertise-label, .home-expertise-location {
    flex: 0 0 auto;
    color: #617186;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.home-expertise-label { color: var(--gs-red-strong); }
.home-expertise-location { letter-spacing: .025em; text-transform: none; }
.home-expertise-location .bi { margin-right: .3rem; color: var(--gs-navy); }
.home-expertise-links { display: flex; flex: 1; align-items: stretch; justify-content: center; }
.home-expertise-links a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .4rem clamp(.8rem, 2vw, 1.7rem);
    border-left: 1px solid #e2e8ef;
    color: var(--gs-navy);
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
}
.home-expertise-links a:last-child { border-right: 1px solid #e2e8ef; }
.home-expertise-links a .bi { color: var(--gs-red-strong); font-size: .8rem; opacity: .7; transition: transform .18s ease; }
.home-expertise-links a:hover, .home-expertise-links a:focus-visible { color: var(--gs-red-strong); background: #f8fafc; }
.home-expertise-links a:hover .bi, .home-expertise-links a:focus-visible .bi { transform: translate(2px,-2px); }
.home-intro-detail { max-width: 43ch; }
.home-intro-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    color: var(--gs-red-strong);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}
.home-intro-link .bi { transition: transform .18s ease; }
.home-intro-link:hover .bi, .home-intro-link:focus-visible .bi { transform: translateX(4px); }
@media (max-width: 767.98px) {
    .home-expertise-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: .4rem; padding-block: 1rem; }
    .home-expertise-links { width: 100%; justify-content: flex-start; overflow-x: auto; }
    .home-expertise-links a { min-height: 2.5rem; flex: 0 0 auto; padding-inline: .85rem; font-size: .88rem; }
    .home-expertise-links a:first-child { padding-left: 0; }
    .home-expertise-links a:last-child { border-right: 0; }
    .home-expertise-location { margin-top: .15rem; }
    .home-intro-detail { max-width: 60ch; }
}
@media (prefers-reduced-motion: reduce) {
    .home-expertise-links a, .home-expertise-links a .bi, .home-intro-link .bi { transition: none; }
}

/* Assistant d’orientation : réponses guidées, sans prétendre à une présence humaine. */
.gs-assistant { position: fixed; z-index: 1080; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; align-items: flex-end; flex-direction: column; gap: .7rem; font-family: var(--gs-font, inherit); }
.gs-assistant-panel { width: min(24rem, calc(100vw - 2rem)); max-height: min(42rem, calc(100dvh - 7rem)); overflow: hidden; border: 1px solid #dce5ee; border-radius: .9rem; background: #fff; box-shadow: 0 1.25rem 3.5rem rgba(8,27,49,.24); transform-origin: bottom right; animation: gs-assistant-enter .2s ease-out both; }
.gs-assistant-panel[hidden] { display: none !important; }
.gs-assistant-header { display: flex; align-items: center; gap: .75rem; padding: 1rem; background: var(--gs-navy); color: #fff; }
.gs-assistant-avatar { display: grid; width: 2.65rem; height: 2.65rem; flex: 0 0 2.65rem; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: .7rem; background: rgba(255,255,255,.1); color: #fff; font-size: 1.15rem; }
.gs-assistant-heading { min-width: 0; flex: 1; }
.gs-assistant-status { display: flex; align-items: center; gap: .4rem; color: #c9e8ff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.gs-assistant-status span { width: .42rem; height: .42rem; border-radius: 50%; background: #7bd5a0; box-shadow: 0 0 0 3px rgba(123,213,160,.15); }
.gs-assistant-heading h2 { margin: .2rem 0 0; color: #fff; font-family: var(--gs-font, inherit); font-size: 1rem; font-weight: 750; letter-spacing: 0; }
.gs-assistant-close { display: grid; width: 2.7rem; height: 2.7rem; flex: 0 0 2.7rem; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: .55rem; background: transparent; color: #fff; }
.gs-assistant-close:hover { background: rgba(255,255,255,.12); }
.gs-assistant-content { max-height: calc(min(42rem, 100dvh - 7rem) - 4.65rem); overflow-y: auto; padding: 1rem; overscroll-behavior: contain; }
.gs-assistant-disclosure { margin: 0 0 .8rem; color: #596b80; font-size: .84rem; line-height: 1.55; }
.gs-assistant-messages { display: grid; gap: .55rem; margin-bottom: .85rem; }
.gs-assistant-bubble { width: fit-content; max-width: 95%; margin: 0; padding: .7rem .8rem; border: 1px solid #e5ebf1; border-radius: .75rem .75rem .75rem .2rem; background: #f5f8fb; color: #27374b; font-size: .9rem; line-height: 1.5; }
.gs-assistant-bubble.is-user { justify-self: end; border-color: #dbe8f4; border-radius: .75rem .75rem .2rem .75rem; background: #eaf3fb; color: var(--gs-navy); font-weight: 650; }
.gs-assistant-bubble a { color: var(--gs-red-strong); font-weight: 750; text-underline-offset: .18em; }
.gs-assistant-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.gs-assistant-actions button { display: flex; min-height: 3rem; align-items: center; gap: .55rem; padding: .55rem .65rem; border: 1px solid #dce5ee; border-radius: .55rem; background: #fff; color: var(--gs-navy); font: inherit; font-size: .8rem; font-weight: 700; line-height: 1.3; text-align: left; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.gs-assistant-actions button .bi { flex: 0 0 auto; color: var(--gs-red-strong); font-size: 1rem; }
.gs-assistant-actions button:hover, .gs-assistant-actions button:focus-visible { border-color: #9cb8d2; background: #f5f8fb; color: var(--gs-red-strong); }
.gs-assistant-quick-links { display: flex; justify-content: space-between; gap: .6rem; margin-top: .85rem; padding-top: .75rem; border-top: 1px solid #e7edf3; }
.gs-assistant-quick-links a { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .3rem; color: #53677e; font-size: .76rem; font-weight: 650; text-decoration: none; }
.gs-assistant-quick-links a:hover { color: var(--gs-red-strong); text-decoration: underline; text-underline-offset: .2em; }
.gs-assistant-toggle { display: inline-flex; min-height: 3.25rem; align-items: center; gap: .6rem; padding: .55rem 1rem; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: var(--gs-red-strong); color: #fff; box-shadow: 0 .45rem 1.25rem rgba(18,52,90,.22); font: inherit; font-weight: 750; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.gs-assistant-toggle:hover { transform: translateY(-2px); background: var(--gs-red-deep, #a91f2c); box-shadow: 0 .7rem 1.5rem rgba(18,52,90,.25); }
.gs-assistant-toggle .bi { font-size: 1.12rem; }
.gs-assistant-toggle[aria-expanded="true"] { background: var(--gs-navy); }
@keyframes gs-assistant-enter { from { opacity: 0; transform: translateY(.5rem) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 575.98px) {
    .gs-assistant { right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); }
    .gs-assistant-panel { width: min(24rem, calc(100vw - 1.5rem)); max-height: min(40rem, calc(100dvh - 6.5rem)); }
    .gs-assistant-content { max-height: calc(min(40rem, 100dvh - 6.5rem) - 4.65rem); }
}
@media (prefers-reduced-motion: reduce) { .gs-assistant-panel, .gs-assistant-toggle, .gs-assistant-actions button { animation: none; transition: none; } }
@media (prefers-reduced-motion: reduce) {
    .why-item, .project-category-card, .category-project-card, .service-photo-card,
    .partner-logo, .faq-item { transition: none; }
    .why-item:hover, .project-category-card:hover, .category-project-card:hover,
    .partner-logo:hover { transform: none; }
}
