/* ==================================================================
   AND CONCEPT — Feuille de style principale
   ------------------------------------------------------------------
   Sommaire
     01. Variables & surcharges Bootstrap
     02. Base & typographie
     03. Utilitaires (sections, titres, liens)
     04. Boutons carrés
     05. En-tête
     06. Menu off-canvas
     07. Héros d'accueil (diaporama)
     08. Bandeau défilant
     09. Héros des pages intérieures
     10. Animations d'apparition
     11. Sections de l'accueil
     12. Univers (tuiles extensibles)
     13. Réalisations & filtres
     14. Galerie & visionneuse
     15. Témoignages
     16. Journal (blog)
     17. FAQ (accordéon)
     18. Engagements & bandeau d'appel
     19. Pages de contenu (sections alternées, étapes)
     20. Formulaires
     21. Pages légales
     22. Pied de page
     23. Retour en haut
     24. Préférences d'accessibilité
   ================================================================== */


/* ==================================================================
   01. Variables & surcharges Bootstrap
   ================================================================== */
:root {
    /* Palette AND CONCEPT */
    --ac-ink: #0e1213;
    --ac-ink-2: #161c1e;
    --ac-ink-3: #232b2e;
    --ac-paper: #f6f3ee;
    --ac-paper-2: #ede7dd;
    --ac-white: #ffffff;
    --ac-teal: #005560;          /* couleur de marque */
    --ac-teal-dark: #003f47;
    --ac-teal-light: #7fb6ba;    /* accent lisible sur fond sombre */
    --ac-sand: #b89c74;
    --ac-text: #1d2427;
    --ac-muted: #5a6366;
    --ac-line: rgba(14, 18, 19, .12);
    --ac-line-light: rgba(255, 255, 255, .14);

    /* Typographie */
    --ac-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ac-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

    /* Mouvement */
    --ac-ease: cubic-bezier(.7, 0, .2, 1);
    --ac-ease-out: cubic-bezier(.16, 1, .3, 1);

    /* Mise en page */
    --ac-header-h: 92px;
    --ac-gutter: clamp(1rem, 3vw, 3rem);

    /* Bootstrap : angles droits partout (boutons carrés) */
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-xxl: 0;
    --bs-border-radius-pill: 0;

    --bs-body-font-family: var(--ac-font);
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.7;
    --bs-body-color: var(--ac-text);
    --bs-body-bg: var(--ac-paper);
    --bs-primary: #005560;
    --bs-primary-rgb: 0, 85, 96;
    --bs-link-color: var(--ac-teal);
    --bs-link-color-rgb: 0, 85, 96;
    --bs-link-hover-color: var(--ac-ink);
    --bs-link-hover-color-rgb: 14, 18, 19;
    --bs-border-color: var(--ac-line);
    --bs-emphasis-color: var(--ac-ink);
    --bs-focus-ring-color: rgba(0, 85, 96, .35);
}


/* ==================================================================
   02. Base & typographie
   ================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ac-font);
    color: inherit;
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.1;
}

/* Mot d'accent en italique éditorial */
h1 em, h2 em, h3 em, .accent {
    font-family: var(--ac-serif);
    font-style: italic;
    font-weight: 300;
    letter-spacing: -.01em;
    color: var(--ac-teal);
}

.section-dark h1 em, .section-dark h2 em, .section-dark h3 em,
.page-hero em, .hero em, .cta-band em, .menu-aside-title em {
    color: var(--ac-teal-light);
}

p { margin-bottom: 1.15rem; }

a {
    text-underline-offset: .2em;
    transition: color .3s;
}

::selection {
    background: var(--ac-teal);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--ac-teal);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: var(--ac-teal);
    color: #fff;
    font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }


/* ==================================================================
   03. Utilitaires
   ================================================================== */
.section {
    position: relative;
    padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

/* --section-bg : couleur de fond réutilisée par le texte en contour (voir ci-dessous) */
.section-paper   { --section-bg: var(--ac-paper);   background: var(--section-bg); }
.section-paper-2 { --section-bg: var(--ac-paper-2); background: var(--section-bg); }
.section-white   { --section-bg: var(--ac-white);   background: var(--section-bg); }
.section-dark    { --section-bg: var(--ac-ink);     background: var(--section-bg); color: #dfe6e7; }
.section-teal    { --section-bg: var(--ac-teal);    background: var(--section-bg); color: #fff; }

/*
 * Texte en contour (chiffres 01, 02… et mots du bandeau défilant)
 * ------------------------------------------------------------------
 * Manrope est une police variable : ses lettres sont faites de formes qui se
 * chevauchent. Un simple -webkit-text-stroke dessine aussi ces chevauchements
 * (traits parasites à l'intérieur du « 3 », du « 0 »…).
 * Solution : on peint d'abord le contour, puis on remplit la lettre avec la
 * couleur du fond (paint-order: stroke fill). Le remplissage masque la moitié
 * intérieure du trait et les chevauchements : seul le bord extérieur reste
 * visible. Le trait fait donc 2px pour un rendu visible de 1px.
 */
.step-num,
.split-num,
.marquee-track span.outline {
    color: var(--outline-fill, var(--section-bg, var(--ac-paper)));
    -webkit-text-stroke: 2px var(--outline-color, var(--ac-teal));
    paint-order: stroke fill;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.text-center { margin-inline: auto; }

.section-title {
    font-size: clamp(2.1rem, 4.4vw, 3.7rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.lead-ac {
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: var(--ac-muted);
}
.section-dark .lead-ac,
.section-dark .text-muted-ac { color: #a9b5b7; }

.text-muted-ac { color: var(--ac-muted); }

/* Petit titre au-dessus des titres */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.25rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ac-teal);
}
.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}
.eyebrow.justify-content-center::after {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}
.eyebrow-light,
.section-dark .eyebrow { color: var(--ac-teal-light); }

/* Lien avec flèche */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding-bottom: .35rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ac-ink);
    background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
    transition: background-size .5s var(--ac-ease), color .3s;
}
.link-arrow i { font-size: 1rem; transition: transform .4s var(--ac-ease); }
.link-arrow:hover { color: var(--ac-teal); background-size: 35% 1px; }
.link-arrow:hover i { transform: translateX(5px); }
.section-dark .link-arrow { color: #fff; }
.section-dark .link-arrow:hover { color: var(--ac-teal-light); }

/* Liste à puces graphiques */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.check-list li {
    position: relative;
    padding: .55rem 0 .55rem 2.1rem;
    border-bottom: 1px solid var(--ac-line);
}
.check-list li::before {
    content: "\f00c";
    font-family: 'Line Awesome Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: .55rem;
    color: var(--ac-teal);
}
.check-list strong { color: var(--ac-ink); }


/* ==================================================================
   04. Boutons carrés
   ================================================================== */
.btn-ac {
    --btn-bg: var(--ac-teal);
    --btn-color: #fff;
    --btn-border: var(--ac-teal);
    --btn-fill: var(--ac-ink);
    --btn-fill-color: #fff;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: 1.05rem 1.7rem;
    border: 1px solid var(--btn-border);
    border-radius: 0;
    background: var(--btn-bg);
    color: var(--btn-color);
    font-family: var(--ac-font);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .45s var(--ac-ease), border-color .45s var(--ac-ease);
}
.btn-ac::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--btn-fill);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .55s var(--ac-ease);
}
.btn-ac:hover,
.btn-ac:focus-visible {
    color: var(--btn-fill-color);
    border-color: var(--btn-fill);
}
.btn-ac:hover::before,
.btn-ac:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left center;
}
.btn-ac i { font-size: 1.1rem; transition: transform .45s var(--ac-ease); }
.btn-ac:hover .la-arrow-right { transform: translateX(5px); }
.btn-ac:disabled { opacity: .6; pointer-events: none; }

.btn-ac-sm { padding: .8rem 1.25rem; font-size: .7rem; }

.btn-ac-dark {
    --btn-bg: var(--ac-ink);
    --btn-border: var(--ac-ink);
    --btn-fill: var(--ac-teal);
}
.btn-ac-light {
    --btn-bg: #fff;
    --btn-color: var(--ac-ink);
    --btn-border: #fff;
    --btn-fill: var(--ac-teal);
}
.btn-ac-outline {
    --btn-bg: transparent;
    --btn-color: var(--ac-ink);
    --btn-border: var(--ac-ink);
    --btn-fill: var(--ac-ink);
}
.btn-ac-outline-light {
    --btn-bg: transparent;
    --btn-color: #fff;
    --btn-border: rgba(255, 255, 255, .45);
    --btn-fill: #fff;
    --btn-fill-color: var(--ac-ink);
}

/* Bouton icône carré (diaporama, visionneuse) */
.btn-square {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    transition: background .35s, color .35s, border-color .35s;
}
.btn-square:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ac-ink);
}


/* ==================================================================
   05. En-tête
   ================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1030;
    color: #fff;
    transition: background-color .45s, color .45s, box-shadow .45s, transform .5s var(--ac-ease);
}
/* Grille à 3 colonnes : logo | navigation centrée | actions */
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    height: var(--ac-header-h);
    padding-inline: var(--ac-gutter);
    transition: height .45s var(--ac-ease);
}

.site-header.is-scrolled {
    background: rgba(246, 243, 238, .94);
    color: var(--ac-ink);
    box-shadow: 0 1px 0 var(--ac-line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.site-header.is-scrolled .header-inner { height: 74px; }
.site-header.is-hidden { transform: translateY(-100%); }

/* Logo clair sur image, logo sombre une fois défilé */
.brand { display: block; grid-column: 1; justify-self: start; }
.header-nav { grid-column: 2; justify-self: center; }
.brand img { display: block; height: 46px; width: auto; }
.brand-dark { display: none !important; }
.is-scrolled .brand-light { display: none !important; }
.is-scrolled .brand-dark { display: block !important; }

.header-nav ul {
    display: flex;
    gap: clamp(1.25rem, 2vw, 2.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.header-nav a {
    position: relative;
    padding: .5rem 0;
    color: inherit;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
}
.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--ac-ease);
}
.header-nav a:hover::after,
.header-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    grid-column: 3;
    justify-self: end;
}
.header-phone {
    align-items: center;
    gap: .5rem;
    color: inherit;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}
.header-phone i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    font-size: 1.1rem;
    opacity: .85;
}
.header-phone:hover { color: inherit; opacity: .75; }

/* Bouton « Menu » */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    height: 50px;
    padding: 0 1.1rem;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: background .35s, color .35s, border-color .35s;
}
.menu-toggle:hover {
    background: var(--ac-teal);
    border-color: var(--ac-teal);
    color: #fff;
}
.menu-toggle-lines {
    display: grid;
    gap: 6px;
    width: 24px;
}
.menu-toggle-lines span {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform .45s var(--ac-ease), width .45s var(--ac-ease);
}
.menu-toggle-lines span:last-child { width: 65%; margin-left: auto; }
.menu-toggle:hover .menu-toggle-lines span:last-child { width: 100%; }


/* ==================================================================
   06. Menu off-canvas
   ================================================================== */
.offcanvas-menu {
    --bs-offcanvas-width: min(1060px, 100vw);
    --bs-offcanvas-bg: var(--ac-ink);
    --bs-offcanvas-color: #dfe6e7;
    --bs-offcanvas-transition: transform .7s var(--ac-ease);
    border-left: 0 !important;
}
.offcanvas-backdrop.show { opacity: .65; }

.offcanvas-menu .offcanvas-header {
    padding: 1.4rem var(--ac-gutter);
    border-bottom: 1px solid var(--ac-line-light);
}
.offcanvas-menu .offcanvas-header img { height: 45px; width: auto; }

.menu-close {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-left: auto;
    border: 1px solid var(--ac-line-light);
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    transition: background .35s, transform .5s var(--ac-ease);
}
.menu-close:hover { background: var(--ac-teal); transform: rotate(90deg); }

.offcanvas-menu .offcanvas-body {
    display: grid;
    gap: 3rem;
    align-content: start;
    padding: clamp(1.75rem, 4vw, 3.5rem) var(--ac-gutter);
}
@media (min-width: 992px) {
    .offcanvas-menu .offcanvas-body {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
    }
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-list li {
    border-bottom: 1px solid var(--ac-line-light);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s var(--ac-ease-out), transform .7s var(--ac-ease-out);
    transition-delay: calc(var(--i, 0) * 55ms + 150ms);
}
.offcanvas.showing .menu-list li,
.offcanvas.show:not(.hiding) .menu-list li {
    opacity: 1;
    transform: none;
}
/* Apparition décalée des liens (sans attribut style : compatible avec la CSP) */
.menu-list li:nth-child(2)  { --i: 1; }
.menu-list li:nth-child(3)  { --i: 2; }
.menu-list li:nth-child(4)  { --i: 3; }
.menu-list li:nth-child(5)  { --i: 4; }
.menu-list li:nth-child(6)  { --i: 5; }
.menu-list li:nth-child(7)  { --i: 6; }
.menu-list li:nth-child(8)  { --i: 7; }
.menu-list li:nth-child(9)  { --i: 8; }
.menu-list li:nth-child(10) { --i: 9; }
.menu-list li:nth-child(n + 11) { --i: 10; }
.menu-list a {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: .55rem 0;
    color: #fff;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-decoration: none;
}
.menu-num {
    min-width: 2rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--ac-teal-light);
}
.menu-label { transition: transform .5s var(--ac-ease), color .3s; }
.menu-list a:hover .menu-label { transform: translateX(12px); color: var(--ac-teal-light); }
.menu-list a.active .menu-label {
    font-family: var(--ac-serif);
    font-style: italic;
    color: var(--ac-teal-light);
}

.menu-aside-title {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 2rem;
}
.menu-contact li {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    margin-bottom: .9rem;
    font-size: .95rem;
}
.menu-contact i { font-size: 1.3rem; color: var(--ac-teal-light); }
.menu-contact a { color: #dfe6e7; text-decoration: none; }
.menu-contact a:hover { color: #fff; }

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin: 2rem 0;
}
.menu-gallery a { display: block; overflow: hidden; aspect-ratio: 1; }
.menu-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ac-ease), filter .5s;
    filter: grayscale(.35);
}
.menu-gallery a:hover img { transform: scale(1.1); filter: none; }

/* Réseaux sociaux (menu + pied de page) */
.social-links {
    display: flex;
    gap: .5rem;
    margin: 0;
}
.social-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ac-line-light);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background .35s, border-color .35s;
}
.social-links a:hover { background: var(--ac-teal); border-color: var(--ac-teal); color: #fff; }


/* ==================================================================
   07. Héros d'accueil (diaporama)
   ================================================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    background: var(--ac-ink);
    color: #fff;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.3s ease, visibility 0s linear 1.3s;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.3s ease;
}
.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-media img {
    object-fit: cover;
    transform: scale(1.14);
    transition: transform 8s cubic-bezier(.2, .6, .3, 1);
}
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 11, 12, .86) 0%, rgba(8, 11, 12, .5) 50%, rgba(8, 11, 12, .1) 100%),
        linear-gradient(0deg, rgba(8, 11, 12, .7) 0%, rgba(8, 11, 12, 0) 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: var(--ac-header-h);
    padding-bottom: 7rem;
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-title {
    max-width: 14ch;
    margin-bottom: 1.75rem;
    font-size: clamp(2.9rem, 7.6vw, 7.2rem);
    font-weight: 300;
    line-height: .98;
    letter-spacing: -.04em;
}
.hero-text {
    max-width: 34rem;
    margin-bottom: 2.5rem;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, .82);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Le texte de la diapositive sortante s'efface avant le fondu d'image */
.hero-slide:not(.is-active) .hero-content {
    opacity: 0;
    transition: opacity .45s ease;
}

/* Éléments animés à chaque changement de diapositive */
.js .hero-slide [data-hero-anim] { opacity: 0; }
.js .hero-slide [data-hero-anim].animate__animated { opacity: 1; }

/* Commandes du diaporama */
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.5rem;
    z-index: 3;
}
.hero-controls .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.hero-counter {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    font-variant-numeric: tabular-nums;
}
.hero-counter .current { font-size: 1.4rem; }
.hero-progress {
    position: relative;
    flex: 0 1 220px;
    height: 1px;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}
.hero-progress span {
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}
.hero-progress.is-running span {
    transform: scaleX(1);
    transition: transform var(--hero-delay, 7000ms) linear;
}
.hero-arrows { display: flex; gap: .5rem; margin-left: auto; }

/* Indication de défilement */
.scroll-hint {
    position: absolute;
    right: var(--ac-gutter);
    bottom: 2.5rem;
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-rl;
}
.scroll-hint i {
    position: relative;
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}
.scroll-hint i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    animation: scroll-line 2.2s var(--ac-ease) infinite;
}
.scroll-hint:hover { color: var(--ac-teal-light); }
@media (min-width: 1200px) {
    .scroll-hint { display: flex; }
    .hero-arrows { margin-right: 4rem; }
}
@keyframes scroll-line {
    0%   { transform: translateY(-100%); }
    60%  { transform: translateY(0); }
    100% { transform: translateY(100%); }
}


/* ==================================================================
   08. Bandeau défilant
   ================================================================== */
.marquee {
    overflow: hidden;
    padding-block: 1.6rem;
    background: var(--ac-teal);
    color: #fff;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    font-size: clamp(1.6rem, 3.2vw, 2.8rem);
    font-weight: 300;
    letter-spacing: -.02em;
}
.marquee-track span:nth-child(4n + 3) {
    font-family: var(--ac-serif);
    font-style: italic;
}
.marquee-track span.outline {
    --outline-fill: var(--ac-teal);    /* fond du bandeau */
    --outline-color: #d6e7e8;          /* blanc légèrement teinté, opaque */
}
.marquee-track i {
    font-size: 1.3rem;
    color: var(--ac-teal-light);
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}


/* ==================================================================
   09. Héros des pages intérieures
   ================================================================== */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 78vh;
    min-height: 78svh;
    padding: calc(var(--ac-header-h) + 3rem) 0 clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
    background: var(--ac-ink);
    color: #fff;
}
.page-hero-sm {
    min-height: 48vh;
    min-height: 48svh;
}
.page-hero-media,
.page-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.page-hero-media img {
    object-fit: cover;
    animation: hero-zoom 2.4s var(--ac-ease-out) both;
}
.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(8, 11, 12, .9) 0%, rgba(8, 11, 12, .35) 60%, rgba(8, 11, 12, .45) 100%);
}
.page-hero-sm .page-hero-media::after { background: rgba(8, 11, 12, .78); }
@keyframes hero-zoom {
    from { transform: scale(1.15); }
    to   { transform: scale(1); }
}

.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
    max-width: 16ch;
    margin-bottom: 1.25rem;
    font-size: clamp(2.6rem, 6.4vw, 5.8rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.04em;
}
.page-hero-sm .page-hero-title {
    max-width: 22ch;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
}
.page-hero-text {
    max-width: 40rem;
    margin: 0;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, .8);
}

/* Fil d'Ariane */
.breadcrumb-ac {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.breadcrumb-ac li + li::before {
    content: "/";
    margin-right: .4rem;
    opacity: .5;
}
.breadcrumb-ac a { color: #fff; text-decoration: none; }
.breadcrumb-ac a:hover { color: var(--ac-teal-light); }


/* ==================================================================
   10. Animations d'apparition (pilotées par main.js)
   ================================================================== */

/* Éléments « Animate.css » : masqués jusqu'à leur entrée à l'écran */
.js [data-anim] { opacity: 0; }
.js [data-anim].animate__animated { opacity: 1; }
.animate__animated { --animate-duration: 1s; }

/* Titres révélés mot par mot */
[data-split] .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}
[data-split] .w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s var(--ac-ease-out);
    transition-delay: calc(var(--w, 0) * 55ms);
}
[data-split].is-visible .w > span { transform: none; }

/* Images révélées par un rideau */
.reveal-img {
    position: relative;
    display: block;
    overflow: hidden;
}
.reveal-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.js .reveal-img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--reveal-color, var(--ac-paper-2));
    transform-origin: right center;
    transition: transform 1.25s var(--ac-ease);
}
.js .reveal-img img {
    transform: scale(1.25);
    transition: transform 1.8s var(--ac-ease-out);
}
.js .reveal-img.is-visible::after { transform: scaleX(0); }
.js .reveal-img.is-visible img { transform: scale(1); }
.section-dark .reveal-img { --reveal-color: var(--ac-ink-2); }
.section-white .reveal-img { --reveal-color: var(--ac-paper); }


/* ==================================================================
   11. Sections de l'accueil
   ================================================================== */

/* --- À propos : composition d'images --- */
.about-media {
    position: relative;
    padding: 0 18% 18% 0;
}
.about-media .reveal-img:first-child { aspect-ratio: 4 / 5; }
.about-media .about-media-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 1;
    border: 10px solid var(--ac-paper);
}
.about-badge {
    position: absolute;
    left: -1px;
    bottom: 12%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    padding: 1rem;
    background: var(--ac-teal);
    color: #fff;
    text-align: center;
}
.about-badge strong {
    display: block;
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1;
}
.about-badge span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.feature-list {
    display: grid;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 0;
    list-style: none;
}
.feature-list li {
    display: flex;
    gap: 1.25rem;
}
.feature-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border: 1px solid var(--ac-line);
    color: var(--ac-teal);
    font-size: 1.7rem;
    transition: background .4s, color .4s;
}
.feature-list li:hover .feature-icon { background: var(--ac-teal); color: #fff; }
.feature-list h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .3rem; letter-spacing: -.01em; }
.feature-list p { margin: 0; color: var(--ac-muted); font-size: .95rem; }

/* --- Étapes (4 cartes) --- */
.step-card {
    position: relative;
    height: 100%;
    padding: 2.5rem 2rem 2.25rem;
    background: var(--ac-white);
    border-top: 2px solid transparent;
    transition: transform .6s var(--ac-ease-out), border-color .4s, box-shadow .6s;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--ac-teal);
    box-shadow: 0 30px 60px -30px rgba(14, 18, 19, .35);
}
.step-num {
    display: block;
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 200;
    line-height: 1;
    --outline-fill: var(--ac-white);   /* fond de la carte */
    transition: color .5s;
}
.step-card:hover .step-num { --outline-fill: var(--ac-teal); }
.step-card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: .9rem; }
.step-card h3 small {
    display: block;
    margin-top: .25rem;
    font-family: var(--ac-serif);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 300;
    color: var(--ac-teal);
}
.step-card p { color: var(--ac-muted); font-size: .96rem; }

/* --- Savoir-faire : liste avec image qui suit le curseur --- */
.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--ac-line-light);
}
.service-row {
    position: relative;
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem 2rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--ac-line-light);
    transition: padding .5s var(--ac-ease);
}
@media (min-width: 992px) {
    .service-row { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.2fr) 3rem; align-items: center; }
    .service-row:hover { padding-left: 1.5rem; }
}
.service-row .num {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--ac-teal-light);
}
.service-row h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.3rem);
    font-weight: 300;
    color: #fff;
    transition: color .3s;
}
.service-row:hover h3 { color: var(--ac-teal-light); }
.service-row p { margin: 0; color: #a9b5b7; grid-column: 2; }
@media (min-width: 992px) { .service-row p { grid-column: auto; } }
.service-row .service-arrow {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    transition: transform .5s var(--ac-ease);
}
@media (min-width: 992px) { .service-row .service-arrow { display: block; } }
.service-row:hover .service-arrow { transform: rotate(-45deg); color: var(--ac-teal-light); }

.service-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: 300px;
    aspect-ratio: 4 / 3;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7);
    transition: opacity .35s, transform .45s var(--ac-ease-out);
}
.service-cursor.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.service-cursor img { width: 100%; height: 100%; object-fit: cover; }

/* --- Chiffres clés --- */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--ac-line);
    border-left: 1px solid var(--ac-line);
}
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
    padding: 2.25rem 1.5rem;
    border-right: 1px solid var(--ac-line);
    border-bottom: 1px solid var(--ac-line);
}
.stat strong {
    display: block;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 200;
    line-height: 1;
    color: var(--ac-ink);
    font-variant-numeric: tabular-nums;
}
.stat strong sup { font-size: .45em; color: var(--ac-teal); top: -1.1em; }
.stat > span {
    display: block;
    margin-top: .8rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ac-muted);
}

/* --- Points forts (pourquoi nous choisir) --- */
.why-item {
    height: 100%;
    padding: 2rem 0;
    border-top: 1px solid var(--ac-line);
}
.why-item i {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 2.4rem;
    color: var(--ac-teal);
}
.why-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: -.01em; }
.why-item p { margin: 0; color: var(--ac-muted); font-size: .96rem; }

/* --- Avantages (bandeau 4 icônes) --- */
.perks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--ac-line-light);
}
@media (min-width: 992px) { .perks { grid-template-columns: repeat(4, 1fr); } }
.perk {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 2rem 1.5rem;
    background: var(--ac-ink);
    color: #fff;
}
.perk i { font-size: 2.2rem; color: var(--ac-teal-light); transition: transform .6s var(--ac-ease); }
.perk:hover i { transform: rotateY(180deg); }
.perk h3 { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: 0; }


/* ==================================================================
   12. Univers (tuiles extensibles)
   ================================================================== */
.univers {
    display: grid;
    gap: .75rem;
}
@media (min-width: 992px) {
    .univers {
        display: flex;
        height: 640px;
    }
}
.univers-tile {
    position: relative;
    display: flex;
    flex: 1;
    align-items: flex-end;
    min-height: 360px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: flex 1s var(--ac-ease);
}
@media (min-width: 992px) {
    .univers-tile:hover,
    .univers-tile:focus-visible { flex: 2.3; }
}
.univers-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ac-ease-out);
}
.univers-tile:hover img { transform: scale(1.06); }
.univers-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 11, 12, .85) 0%, rgba(8, 11, 12, .1) 60%);
    transition: background .6s;
}
.univers-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
}
.univers-num {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--ac-teal-light);
}
.univers-body h3 {
    margin: .5rem 0 0;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    font-weight: 300;
}
.univers-body p {
    max-width: 26rem;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    color: rgba(255, 255, 255, .82);
    transition: max-height .8s var(--ac-ease), opacity .6s, margin .6s;
}
.univers-tile:hover .univers-body p,
.univers-tile:focus-visible .univers-body p {
    max-height: 8rem;
    margin-top: .8rem;
    opacity: 1;
}
@media (max-width: 991.98px) {
    .univers-body p { max-height: none; opacity: 1; margin-top: .6rem; }
}
.univers-body .link-arrow { color: #fff; margin-top: 1.1rem; }


/* ==================================================================
   13. Réalisations & filtres
   ================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.project-card .reveal-img { aspect-ratio: 4 / 3; }
.project-card .reveal-img img { transition: transform 1.2s var(--ac-ease-out), filter .6s; }
.project-card:hover .reveal-img img { transform: scale(1.07); }
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(8, 11, 12, .82) 0%, rgba(8, 11, 12, 0) 55%);
    pointer-events: none;
}
.project-info {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 1.75rem;
    transform: translateY(12px);
    transition: transform .6s var(--ac-ease);
}
.project-card:hover .project-info { transform: none; }
.project-info h3,
.project-info .h3 { margin: 0 0 .5rem; font-size: 1.45rem; font-weight: 400; letter-spacing: -.02em; }
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.project-tags span {
    padding: .25rem .6rem;
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.project-plus {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--ac-ink);
    font-size: 1.3rem;
    transform: scale(0) rotate(-90deg);
    transition: transform .5s var(--ac-ease);
}
.project-card:hover .project-plus { transform: none; }
.project-card.is-hidden { display: none; }

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: .75rem 1.3rem;
    border: 1px solid var(--ac-line);
    background: transparent;
    color: var(--ac-ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: background .35s, color .35s, border-color .35s;
}
.filter-btn:hover { border-color: var(--ac-ink); }
.filter-btn.active { background: var(--ac-ink); border-color: var(--ac-ink); color: #fff; }

.note-illustration {
    margin-top: 2.5rem;
    font-size: .84rem;
    color: var(--ac-muted);
    text-align: center;
}


/* ==================================================================
   14. Galerie & visionneuse
   ================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
}
@media (min-width: 576px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 280px;
    }
    .gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
    .gallery-grid .gallery-item:nth-child(4) { grid-column: span 2; }
}
.gallery-item {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
}
.gallery-item .reveal-img { position: absolute; inset: 0; }
.gallery-item img { transition: transform 1.2s var(--ac-ease-out); }
.gallery-item:hover img { transform: scale(1.06) !important; }
.gallery-zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    background: rgba(0, 85, 96, .55);
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity .45s;
}
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; }

/* Visionneuse plein écran */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 4rem 1rem;
    background: rgba(8, 11, 12, .95);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility 0s .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img {
    max-width: min(1400px, 92vw);
    max-height: 78vh;
    object-fit: contain;
    animation: zoomIn .5s var(--ac-ease-out);
}
.lightbox figcaption {
    margin-top: 1rem;
    color: #dfe6e7;
    font-size: .92rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next { position: absolute; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-count {
    position: absolute;
    top: 1.6rem;
    left: 1.5rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
}


/* ==================================================================
   15. Témoignages
   ================================================================== */
.testimonial {
    position: relative;
    height: 100%;
    padding: clamp(2rem, 4vw, 3.25rem);
    background: var(--ac-ink-2);
    border: 1px solid var(--ac-line-light);
}
.testimonial::before {
    content: "\201C";
    position: absolute;
    top: .5rem;
    right: 2rem;
    font-family: var(--ac-serif);
    font-size: 8rem;
    line-height: 1;
    color: var(--ac-teal);
    opacity: .6;
}
.testimonial blockquote {
    margin: 0 0 2rem;
    font-family: var(--ac-serif);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.45;
    color: #fff;
}
.testimonial-stars { margin-bottom: 1.25rem; color: var(--ac-sand); letter-spacing: .15em; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: var(--ac-teal);
    color: #fff;
    font-weight: 700;
    letter-spacing: .05em;
}
.testimonial-name strong { display: block; color: #fff; font-weight: 600; }
.testimonial-role {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ac-teal-light);
}


/* ==================================================================
   16. Journal (blog)
   ================================================================== */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ac-white);
    color: inherit;
    text-decoration: none;
    transition: transform .6s var(--ac-ease-out), box-shadow .6s;
}
.post-card:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -35px rgba(14, 18, 19, .45);
}
.post-card .reveal-img { aspect-ratio: 16 / 10; --reveal-color: var(--ac-paper); }
.post-card .reveal-img img { transition: transform 1.2s var(--ac-ease-out); }
.post-card:hover .reveal-img img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem 1.75rem 2rem; }
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
    margin-bottom: .9rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ac-muted);
}
.post-meta .cat { color: var(--ac-teal); }
.post-card h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; margin-bottom: .9rem; letter-spacing: -.015em; }
.post-card p { color: var(--ac-muted); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Article */
.article-body {
    font-size: 1.08rem;
    line-height: 1.85;
}
.article-body > p:first-of-type::first-letter {
    float: left;
    margin: .35rem .7rem 0 0;
    font-family: var(--ac-serif);
    font-size: 4.4rem;
    font-style: italic;
    line-height: .8;
    color: var(--ac-teal);
}
.article-body h2 {
    margin: 3rem 0 1.25rem;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 400;
}
.article-body h3 { margin: 2rem 0 .9rem; font-size: 1.3rem; font-weight: 600; }
.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 0 1.5rem 2rem;
    border-left: 2px solid var(--ac-teal);
    font-family: var(--ac-serif);
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: var(--ac-ink);
}
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin-bottom: .5rem; }
.article-body li::marker { color: var(--ac-teal); }
.article-figure { margin: 2.5rem 0; }
.article-figure figcaption { margin-top: .75rem; font-size: .85rem; color: var(--ac-muted); }
.article-sticky { top: 110px; }
.article-aside {
    padding: 2rem;
    background: var(--ac-white);
}
.article-aside h2 { font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.article-share { display: flex; gap: .5rem; }
.article-share a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ac-line);
    color: var(--ac-ink);
    font-size: 1.2rem;
    text-decoration: none;
    transition: background .3s, color .3s;
}
.article-share a:hover { background: var(--ac-teal); border-color: var(--ac-teal); color: #fff; }


/* ==================================================================
   17. FAQ (accordéon)
   ================================================================== */
.faq-intro { top: 110px; }

.accordion-ac {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: var(--ac-line);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--ac-teal);
    --bs-accordion-btn-padding-y: 1.5rem;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
}
.accordion-ac .accordion-item {
    border-width: 0 0 1px;
    background: transparent;
}
.accordion-ac .accordion-item:first-child { border-top-width: 1px; }
.accordion-ac .accordion-button {
    gap: 1.25rem;
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    font-weight: 600;
    color: var(--ac-ink);
    letter-spacing: -.01em;
    box-shadow: none;
}
.accordion-ac .accordion-button:not(.collapsed) { color: var(--ac-teal); }
.accordion-num {
    flex-shrink: 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--ac-teal);
}
/* Icône « + / – » carrée */
.accordion-ac .accordion-button::after {
    content: "\f067";
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--ac-line);
    background: none;
    font-family: 'Line Awesome Free';
    font-weight: 900;
    font-size: .95rem;
    color: var(--ac-ink);
    transform: none;
    transition: background .35s, color .35s, transform .45s var(--ac-ease);
}
.accordion-ac .accordion-button:not(.collapsed)::after {
    content: "\f068";
    background: var(--ac-teal);
    border-color: var(--ac-teal);
    color: #fff;
    transform: rotate(180deg);
}
.accordion-ac .accordion-body {
    padding: 0 3.5rem 1.75rem 2.9rem;
    color: var(--ac-muted);
}
.accordion-ac .accordion-body strong { color: var(--ac-ink); }


/* ==================================================================
   18. Engagements & bandeau d'appel
   ================================================================== */
.guarantees {
    background: var(--ac-white);
    border-block: 1px solid var(--ac-line);
}
.guarantee {
    display: flex;
    gap: 1.25rem;
    height: 100%;
    padding: 2.5rem 1.75rem;
    border-bottom: 1px solid var(--ac-line);
}
@media (min-width: 768px) {
    .guarantee { border-bottom: 0; border-right: 1px solid var(--ac-line); }
    .col-md-4:last-child .guarantee { border-right: 0; }
}
.guarantee i { font-size: 2.3rem; color: var(--ac-teal); }
.guarantee h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -.01em; }
.guarantee p { margin: 0; font-size: .93rem; color: var(--ac-muted); }

.cta-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5.5rem, 12vw, 10rem);
    background: var(--ac-ink);
    color: #fff;
    text-align: center;
}
.cta-band-media,
.cta-band-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.cta-band-media img { object-fit: cover; transform: scale(1.08); }
.cta-band-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 12, .74);
}
.cta-band-content { position: relative; z-index: 2; max-width: 880px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.cta-band-title {
    font-size: clamp(2.3rem, 5.4vw, 4.6rem);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -.035em;
    margin-bottom: 1.5rem;
}
.cta-band-text { max-width: 38rem; margin: 0 auto 2.5rem; color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }


/* ==================================================================
   19. Pages de contenu
   ================================================================== */

/* Sections alternées image / texte */
.split {
    display: grid;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}
@media (min-width: 992px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split-reverse > :first-child { order: 2; }
}
.split-media { position: relative; }
.split-media .reveal-img { aspect-ratio: 4 / 5; }
.split-media.landscape .reveal-img { aspect-ratio: 4 / 3; }
.split-media-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.4rem;
    background: var(--ac-ink);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.split-num {
    display: block;
    margin-bottom: 1rem;
    font-size: 5.5rem;
    font-weight: 200;
    line-height: 1;
}
.section-dark .split-num { --outline-color: var(--ac-teal-light); }

/* Frise du processus (9 étapes) */
.timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    counter-reset: step;
    border-top: 1px solid var(--ac-line-light);
}
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline-item {
    position: relative;
    padding: 2.25rem 1.75rem 2.25rem 0;
    border-bottom: 1px solid var(--ac-line-light);
}
@media (min-width: 768px) {
    .timeline-item { padding: 2.5rem 2rem; border-right: 1px solid var(--ac-line-light); }
    .timeline-item:nth-child(3n) { border-right: 0; }
}
.timeline-item .num {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.4rem;
    border: 1px solid var(--ac-teal-light);
    color: var(--ac-teal-light);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    transition: background .4s, color .4s;
}
.timeline-item:hover .num { background: var(--ac-teal-light); color: var(--ac-ink); }
.timeline-item h3 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: .6rem; }
.timeline-item p { margin: 0; color: #a9b5b7; font-size: .95rem; }

/* Cartes « piliers » sur fond sombre */
.pillar {
    position: relative;
    height: 100%;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--ac-ink-2);
    border: 1px solid var(--ac-line-light);
    transition: border-color .4s, transform .6s var(--ac-ease-out);
}
.pillar:hover { border-color: var(--ac-teal-light); transform: translateY(-6px); }
.pillar-num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--ac-teal-light);
}
.pillar i { display: block; margin-bottom: 1.5rem; font-size: 2.6rem; color: var(--ac-teal-light); }
.pillar h3 { margin-bottom: .9rem; font-size: 1.35rem; font-weight: 600; color: #fff; }
.pillar p { margin: 0; color: #a9b5b7; }

/* Zone d'intervention */
.zone-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.zone-list li {
    padding: .55rem 1rem;
    border: 1px solid var(--ac-line);
    font-size: .85rem;
    font-weight: 600;
    background: var(--ac-white);
    transition: background .3s, color .3s;
}
.zone-list li:hover { background: var(--ac-teal); color: #fff; border-color: var(--ac-teal); }

/* Encadré mis en avant */
.highlight-box {
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--ac-white);
    border-left: 3px solid var(--ac-teal);
}
.highlight-box h3 { font-size: 1.3rem; font-weight: 600; }


/* ==================================================================
   20. Formulaires
   ================================================================== */
.form-ac .form-label {
    margin-bottom: .45rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ac-ink);
}
.form-ac .form-control,
.form-ac .form-select {
    padding: .95rem 1.1rem;
    border: 1px solid var(--ac-line);
    border-radius: 0;
    background-color: var(--ac-paper);
    font-size: 1rem;
    transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.form-ac .form-control:focus,
.form-ac .form-select:focus {
    border-color: var(--ac-teal);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 85, 96, .12);
}
.form-ac textarea.form-control { min-height: 160px; resize: vertical; }
.form-ac .form-check-input { border-radius: 0; border-color: rgba(14, 18, 19, .35); }
.form-ac .form-check-input[type="radio"] { border-radius: 50%; }
.form-ac .form-check-input:checked { background-color: var(--ac-teal); border-color: var(--ac-teal); }
.form-ac .form-check-label { font-size: .94rem; }
.form-ac fieldset legend {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .6rem;
    float: none;
}
.form-ac .required { color: var(--ac-teal); }

/* Choix du projet sous forme de tuiles */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}
@media (min-width: 576px) { .choice-grid { grid-template-columns: repeat(5, 1fr); } }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    height: 100%;
    padding: 1rem .5rem;
    border: 1px solid var(--ac-line);
    background: var(--ac-paper);
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: border-color .3s, background .3s, color .3s;
}
.choice label i { font-size: 1.7rem; color: var(--ac-teal); transition: color .3s; }
.choice input:checked + label { background: var(--ac-teal); border-color: var(--ac-teal); color: #fff; }
.choice input:checked + label i { color: #fff; }
.choice input:focus-visible + label { outline: 2px solid var(--ac-teal); outline-offset: 2px; }

.form-card {
    padding: clamp(1.75rem, 4vw, 3.25rem);
    background: var(--ac-white);
    box-shadow: 0 40px 80px -50px rgba(14, 18, 19, .45);
}
.form-alert {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    border-left: 3px solid;
}
.form-alert i { font-size: 1.6rem; }
.form-alert p { margin: 0; }
.form-alert-success { background: rgba(0, 85, 96, .08); border-color: var(--ac-teal); color: var(--ac-teal-dark); }
.form-alert-error { background: rgba(176, 42, 55, .07); border-color: #b02a37; color: #842029; }
.form-alert ul { margin: .5rem 0 0; padding-left: 1.1rem; }

.form-success {
    padding: 3rem 1rem;
    text-align: center;
}
.form-success i {
    display: inline-grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-bottom: 1.5rem;
    background: var(--ac-teal);
    color: #fff;
    font-size: 2.4rem;
}

/* Champ piège anti-robots (invisible pour les humains) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Bloc coordonnées (page contact) */
.contact-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--ac-line);
}
.contact-card i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: var(--ac-teal);
    color: #fff;
    font-size: 1.5rem;
}
.contact-card h2 {
    margin-bottom: .3rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ac-muted);
}
.contact-card p,
.contact-card a { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--ac-ink); text-decoration: none; }
.contact-card a:hover { color: var(--ac-teal); }

/* Bouton en cours d'envoi */
.btn-ac .spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.btn-ac.is-loading .spinner { display: inline-block; }
.btn-ac.is-loading .la-arrow-right { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ==================================================================
   21. Pages légales
   ================================================================== */
.legal-layout {
    display: grid;
    gap: 3rem;
}
@media (min-width: 992px) {
    .legal-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 5rem; }
}
.legal-toc {
    position: sticky;
    top: 110px;
    align-self: start;
    padding: 1.75rem;
    background: var(--ac-white);
}
.legal-toc h2 {
    margin-bottom: 1rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.legal-toc ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.legal-toc li { margin-bottom: .45rem; }
.legal-toc a { color: var(--ac-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--ac-teal); }
@media (max-width: 991.98px) { .legal-toc { position: static; } }

.legal-content { max-width: 820px; font-size: 1rem; line-height: 1.8; }
.legal-content h2 {
    margin: 3rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ac-line);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 500;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 1.75rem 0 .75rem; font-size: 1.1rem; font-weight: 700; }
.legal-content ul,
.legal-content ol { padding-left: 1.2rem; }
.legal-content li { margin-bottom: .45rem; }
.legal-content li::marker { color: var(--ac-teal); }
.legal-content .table { --bs-table-bg: transparent; font-size: .95rem; }
.legal-content .table th { font-weight: 700; color: var(--ac-ink); }
.legal-updated {
    display: inline-block;
    margin-bottom: 2rem;
    padding: .5rem 1rem;
    background: var(--ac-paper-2);
    font-size: .8rem;
    font-weight: 600;
}
.legal-form-model {
    padding: 1.75rem;
    background: var(--ac-white);
    border: 1px dashed rgba(14, 18, 19, .3);
    font-size: .95rem;
}
.placeholder-todo {
    padding: 0 .3rem;
    background: #fff3cd;
    color: #664d03;
}


/* ==================================================================
   22. Pied de page
   ================================================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4.5rem, 8vw, 7rem);
    background: var(--ac-ink);
    color: #a9b5b7;
    font-size: .95rem;
}
.footer-brand { display: inline-block; }
.footer-brand img { height: 80px; width: auto; margin-bottom: 2rem; }
@media (max-width: 575.98px) { .footer-brand img { height: 64px; } }
.footer-text { max-width: 24rem; }
.footer-hours { display: flex; gap: .6rem; align-items: center; color: #dfe6e7; }
.footer-hours i { color: var(--ac-teal-light); font-size: 1.2rem; }
.site-footer .social-links { margin-top: 1.75rem; }

.footer-title {
    margin-bottom: 1.5rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
}
.footer-links li { margin-bottom: .7rem; }
.footer-links a {
    color: #a9b5b7;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
    transition: color .3s, background-size .45s var(--ac-ease);
}
.footer-links a:hover { color: #fff; background-size: 100% 1px; }

.footer-contact li { display: flex; gap: .8rem; margin-bottom: .75rem; }
.footer-contact i { color: var(--ac-teal-light); font-size: 1.2rem; }
.footer-contact a { color: #dfe6e7; text-decoration: none; }
.footer-contact a:hover { color: #fff; }

/* Newsletter */
.newsletter-form { position: relative; margin-top: 2.25rem; }
.newsletter-intro { font-size: .9rem; }
.newsletter-field { display: flex; }
.newsletter-field input {
    flex: 1;
    min-width: 0;
    padding: .95rem 1.1rem;
    border: 1px solid var(--ac-line-light);
    border-right: 0;
    background: transparent;
    color: #fff;
}
.newsletter-field input::placeholder { color: #7f8b8d; }
.newsletter-field input:focus { outline: none; border-color: var(--ac-teal-light); }
.newsletter-field button {
    width: 56px;
    border: 0;
    background: var(--ac-teal);
    color: #fff;
    font-size: 1.3rem;
    transition: background .3s;
}
.newsletter-field button:hover { background: var(--ac-teal-light); color: var(--ac-ink); }
.newsletter-consent { margin-top: .9rem; font-size: .8rem; }
.newsletter-consent .form-check-input { background-color: transparent; border-color: #7f8b8d; border-radius: 0; }
.newsletter-consent .form-check-input:checked { background-color: var(--ac-teal); border-color: var(--ac-teal); }
.newsletter-consent a { color: #dfe6e7; }
.form-feedback { min-height: 1.2em; margin: .6rem 0 0; font-size: .85rem; color: var(--ac-teal-light); }
.form-feedback.is-error { color: #f1aeb5; }

.footer-legal {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-block: 1.5rem;
    border-top: 1px solid var(--ac-line-light);
}
.footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 2rem;
    margin: 0;
    font-size: .85rem;
}
.footer-legal a { color: #a9b5b7; text-decoration: none; }
.footer-legal a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--ac-line-light);
    font-size: .82rem;
}
.footer-bottom p { margin: 0; }


/* ==================================================================
   23. Retour en haut
   ================================================================== */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1020;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--ac-ink);
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .4s, transform .4s var(--ac-ease), visibility 0s .4s, background .3s;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .4s, transform .4s var(--ac-ease), background .3s;
}
.back-to-top:hover { background: var(--ac-teal); color: #fff; }
.back-to-top svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--ac-teal-light);
    stroke-width: 2;
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - var(--progress, 0));
}


/* ==================================================================
   Petits écrans
   ================================================================== */
@media (max-width: 575.98px) {
    :root { --ac-header-h: 76px; }
    .brand img { height: 38px; }
    .menu-toggle-label { display: none; }
    .menu-toggle { width: 50px; justify-content: center; padding: 0; }
    .hero-actions .btn-ac { flex: 1 1 100%; }
    .hero-progress { display: none; }
    .about-badge { width: 120px; height: 120px; }
    .about-badge strong { font-size: 2.6rem; }
    .accordion-ac .accordion-body { padding: 0 0 1.5rem; }
    .service-cursor { display: none; }
}


/* ==================================================================
   24. Préférences d'accessibilité : mouvements réduits
   ================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
    .js [data-anim],
    .js .hero-slide [data-hero-anim] { opacity: 1; }
    [data-split] .w > span { transform: none; }
    .js .reveal-img::after { display: none; }
    .js .reveal-img img { transform: none; }
    .marquee-track { animation: none; }
}
