/* Banzaï Lab Services : feuille de style commune (accueil, Boîte à outils, articles).
   Concept : une affiche de tournée. Photo de scène virée à l'orange en ouverture,
   sections en grille asymétrique (titre à gauche, contenu à droite),
   papier blanc, filets encre, et l'orange réservé aux gestes forts. */
:root {
    --papier: #ffffff;
    --sable: #f3f1ec;          /* sections alternées, gris chaud */
    --filet: #dedad2;          /* traits et bordures */
    --encre: #1b1916;          /* texte principal, nav au scroll, contact */
    --encre-douce: #5d5850;    /* texte secondaire */
    --orange: #f08f2e;         /* orange de marque : aplats, boutons */
    --orange-vif: #e2741a;     /* survol */
    --orange-texte: #a24806;   /* orange lisible sur papier */
    --sur-encre: #f4f1ea;      /* texte sur fond encre */
    --sur-encre-doux: #aaa39a;

    --f-affiche: 'Freeman', 'Arial Narrow', Impact, sans-serif;
    --f-chiffres: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
    --f-texte: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --gouttiere: clamp(1.25rem, 5vw, 6rem);
    --largeur: 1320px;
    --section: clamp(4.5rem, 9vw, 8rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--f-texte);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--encre);
    background: var(--papier);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.conteneur {
    width: 100%;
    max-width: var(--largeur);
    margin-inline: auto;
    padding-inline: var(--gouttiere);
}

/* ===== Boutons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    font-family: var(--f-texte);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.btn-orange { background: var(--orange); color: var(--encre); }
.btn-orange:hover { background: var(--orange-vif); }
.btn-contour { border-color: currentColor; color: inherit; background: transparent; }
.btn-contour:hover { background: var(--sur-encre); color: var(--encre); border-color: var(--sur-encre); }

/* ===== Navigation ===== */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.est-collee { background: var(--encre); box-shadow: 0 1px 0 rgba(240, 143, 46, 0.35); }
.nav-barre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 76px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-liens { display: flex; gap: 2.25rem; list-style: none; }
.nav-liens a {
    color: var(--sur-encre);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding-block: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-liens a:hover { border-color: var(--orange); }
.nav .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
/* Sous-menu des pôles (survol ou clavier ; « Pour quoi ? » mène toujours à la section des pôles) */
.a-sous-menu { position: relative; }
.a-sous-menu > a::after { content: ''; display: inline-block; width: 0.4em; height: 0.4em; margin-left: 0.45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2em) rotate(45deg); opacity: 0.7; }
.sous-menu {
    position: absolute;
    top: 100%;
    left: -1.1rem;
    min-width: 260px;
    list-style: none;
    padding: 1rem 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.sous-menu::before { content: ''; position: absolute; inset: 1rem 0 0; z-index: -1; background: var(--encre); border-radius: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); border: 1px solid rgba(240, 143, 46, 0.3); }
.sous-menu li:first-child { padding-top: 0.5rem; }
.sous-menu li:last-child { padding-bottom: 0.5rem; }
.a-sous-menu:hover .sous-menu, .a-sous-menu:focus-within .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a, .sous-menu .bientot { display: block; padding: 0.55rem 1.1rem; border: 0; font-size: 0.92rem; white-space: nowrap; }
.sous-menu a:hover, .sous-menu a[aria-current="page"] { color: var(--orange); }
.sous-menu .bientot { color: var(--sur-encre-doux); font-weight: 500; }
.sous-menu .bientot small { font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.06em; margin-left: 0.3em; opacity: 0.8; }
.sous-menu .sous-menu-separe { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid rgba(244, 241, 234, 0.12); }
.sous-menu .nouveau { font-size: 0.68em; text-transform: uppercase; letter-spacing: 0.06em; margin-left: 0.4em; color: var(--orange); font-weight: 700; }
.nav-burger {
    display: none;
    width: 44px; height: 44px;
    background: none;
    border: 0;
    color: var(--sur-encre);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ===== Hero : photo de scène en bichromie orange ===== */
.hero {
    position: relative;
    min-height: 100vh;   /* plein écran */
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: var(--sur-encre);
    background: var(--encre);
    isolation: isolate;
    overflow: hidden;
}
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    /* Photo du hero : image/banner.jpg (repli : image/service-artiste.jpg si elle manque) */
    background:
        url('../image/banner.jpg') center 35% / cover no-repeat,
        url('../image/service-artiste.jpg') center / cover no-repeat;
    filter: grayscale(1) contrast(1.15) brightness(0.95);
}
.hero::before {
    /* virage orange : les gris de la photo prennent la teinte de la marque */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--orange);
    mix-blend-mode: multiply;
}
.hero::after {
    /* ombre portée en bas pour la lisibilité du titre */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(27, 25, 22, 0.55) 0%, rgba(27, 25, 22, 0) 30%, rgba(27, 25, 22, 0) 45%, rgba(27, 25, 22, 0.78) 100%);
}
.hero-credit {
    position: absolute;
    bottom: 0.9rem;
    right: max(var(--gouttiere), calc((100% - var(--largeur)) / 2 + var(--gouttiere)));
    z-index: 1;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: rgba(244, 241, 234, 0.6);
}
.hero-contenu {
    padding-block: 9rem clamp(3rem, 7vw, 5.5rem);
    display: grid;
    gap: 2.5rem;
}
.hero h1 {
    font-family: var(--f-affiche);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.9rem, 7.6vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.01em;
    text-wrap: balance;
    max-width: 18ch;
}
.hero-cote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 3rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--orange);
}
.hero-cote p { max-width: 38ch; font-size: 1.1rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (prefers-reduced-motion: no-preference) {
    .hero h1, .hero-cote { animation: entree 0.9s cubic-bezier(.2, .7, .2, 1) both; }
    .hero-cote { animation-delay: 0.25s; }
    @keyframes entree { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ===== Sections ===== */
.section { padding-block: var(--section); }
.section-sable { background: var(--sable); }

.section-grille {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
/* Colonne de titre illustrée : l'image s'aligne à gauche sur le titre et en bas sur la fin du contenu de droite */
.titre-illustre { align-self: stretch; display: flex; flex-direction: column; }
.illu-section { margin-top: auto; padding-top: 2rem; align-self: flex-start; max-width: 100%; height: auto; }
.titre {
    font-family: var(--f-affiche);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.95;
    text-wrap: balance;
}
.chapeau {
    margin-top: 1.25rem;
    color: var(--encre-douce);
    max-width: 34ch;
}
.titre-colle { position: static; }

/* ===== Pour qui ? ===== */
.profils { list-style: none; border-top: 2px solid var(--encre); }
.profil {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 14rem) minmax(0, 1fr);
    gap: 1.25rem 2rem;
    padding-block: 1.6rem;
    border-bottom: 1px solid var(--filet);
}
.profil i { color: var(--orange-texte); font-size: 1.35rem; padding-top: 0.2rem; }
.profil h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.profil .besoins { display: block; margin-top: 0.3rem; font-size: 0.875rem; font-weight: 500; color: var(--orange-texte); }
.profil p { color: var(--encre-douce); font-size: 1rem; }

/* ===== Pour quoi ? (pôles) ===== */
.poles-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: 3rem; }
.poles-tete .chapeau { max-width: 52ch; margin-top: 0; }
/* Pôles : tuiles cliquables ; la liste des prestations n'apparaît qu'au survol */
.poles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.pole {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.8rem;
    padding: 1.9rem 1.9rem 1.6rem;
    border: 1px solid var(--filet);
    border-radius: 14px;
    text-decoration: none;
    background: var(--papier);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
a.pole:hover, a.pole:focus-visible { border-color: var(--orange); box-shadow: 0 14px 30px rgba(27, 25, 22, 0.1); transform: translateY(-3px); }
.pole h3 {
    font-family: var(--f-affiche);
    font-weight: 400;
    font-size: 1.65rem;
    line-height: 1.05;
    text-wrap: balance;
    padding-right: 2.6rem;
}
/* Flèche ronde en haut à droite */
a.pole::after {
    content: '';
    position: absolute;
    top: 1.7rem; right: 1.6rem;
    width: 2.2rem; height: 2.2rem;
    border-radius: 50%;
    background: var(--sable) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1916' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 1rem no-repeat;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
a.pole:hover::after, a.pole:focus-visible::after { background-color: var(--orange); transform: rotate(-45deg); }
/* Description et liste partagent la même case : la description s'efface au survol, la liste apparaît */
.pole > p, .pole ul { grid-row: 2; grid-column: 1; transition: opacity 0.3s ease, transform 0.3s ease; }
.pole > p { color: var(--encre-douce); font-size: 0.98rem; }
.pole ul { list-style: none; display: grid; align-content: start; gap: 0.45rem; font-size: 0.93rem; opacity: 0; transform: translateY(8px); }
a.pole:hover > p, a.pole:focus-visible > p { opacity: 0; transform: translateY(-8px); }
a.pole:hover ul, a.pole:focus-visible ul { opacity: 1; transform: none; }
.pole li { padding-left: 1.1rem; position: relative; }
.pole li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.62em;
    width: 0.45rem; height: 0.45rem;
    border-radius: 50%;
    background: var(--orange);
}
.pole-lien {
    grid-row: 3;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--orange-texte);
}
div.pole { background: transparent; border-style: dashed; }
div.pole ul { display: none; }
@media (hover: none) { .pole ul { display: none; } } /* écrans tactiles : pas de survol, tuiles compactes */
.pole-lien.bientot { color: var(--encre-douce); font-weight: 500; }

/* ===== Combien ? ===== */
.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.formule {
    background: var(--papier);
    padding: 2rem;
    border: 1px solid var(--filet);
    border-radius: 6px;
    display: grid;
    gap: 0.75rem;
    align-content: start;
}
.formule i { font-size: 1.5rem; color: var(--orange-texte); }
.formule h3 { font-family: var(--f-affiche); font-weight: 400; font-size: 1.6rem; }
.formule .formule-prix {
    font-family: var(--f-chiffres);
    font-size: 2.6rem;
    line-height: 0.9;
    color: var(--orange-texte);
    letter-spacing: 0.01em;
}
.formule .formule-prix small { font-size: 0.5em; margin-left: 0.1em; }
.formule p { color: var(--encre-douce); }
.formule .ideal { font-size: 0.93rem; padding-top: 0.75rem; border-top: 1px solid var(--filet); }
.formule .ideal strong { color: var(--encre); font-weight: 600; }
.engagements { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1.75rem; list-style: none; font-weight: 500; }
.engagements li::before { content: '✓'; color: var(--orange-texte); font-weight: 700; margin-right: 0.5rem; }

.adhesion {
    margin-top: 1.25rem;
    background: var(--orange);
    color: var(--encre);
    border-radius: 6px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem 2.5rem;
    align-items: center;
}
.adhesion-prix {
    font-family: var(--f-chiffres);
    font-size: clamp(4rem, 9vw, 6.5rem);
    line-height: 0.85;
    letter-spacing: 0.01em;
}
.adhesion-prix small { font-size: 0.35em; letter-spacing: 0.04em; margin-left: 0.15em; }
.adhesion h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.35rem; }
.adhesion p { max-width: 46ch; }
.adhesion .btn { background: var(--encre); color: var(--sur-encre); }
.adhesion .btn:hover { background: #000; }

/* ===== Équipe ===== */
.equipe-texte { font-size: 1.2rem; line-height: 1.6; max-width: 58ch; }
.expertises { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; list-style: none; }
.expertises li {
    border: 1px solid var(--encre);
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.chiffres {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 2px solid var(--encre);
}
.chiffre {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid var(--filet);
    display: grid;
    gap: 0.35rem;
    align-content: start;
}
.chiffre:not(:nth-child(3n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--filet); }
.chiffre-icone {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.4rem;
}
.chiffre-nombre {
    font-family: var(--f-chiffres);
    font-size: clamp(3.2rem, 6vw, 4.75rem);
    line-height: 0.9;
    color: var(--orange-texte);
    font-variant-numeric: tabular-nums;
}
.chiffre-label { font-size: 0.95rem; color: var(--encre-douce); max-width: 30ch; }

/* ===== Boîte à outils ===== */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.article {
    display: flex;
    flex-direction: column;
    background: var(--papier);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--filet);
    transition: border-color 0.2s ease;
}
.article:hover { border-color: var(--orange); }
.article-image {
    aspect-ratio: 16 / 9;
    background: var(--filet);
    position: relative;
    overflow: hidden;
}
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-categorie {
    position: absolute;
    left: 1rem; bottom: 1rem;
    background: var(--orange);
    color: var(--encre);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.article-corps { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; flex: 1; }
.article-meta { font-size: 0.85rem; color: var(--encre-douce); }
.article h2, .article h3 { font-family: var(--f-affiche); font-weight: 400; font-size: 1.4rem; line-height: 1.1; text-wrap: balance; }
.article-chapo { color: var(--encre-douce); font-size: 0.97rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.article-lire { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.92rem; color: var(--orange-texte); }
.articles-vide { grid-column: 1 / -1; color: var(--encre-douce); }
.tous-articles { margin-top: 2rem; }

/* ===== Réseau ===== */
.reseau-groupes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.reseau-groupe h3 {
    font-size: 1rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--filet);
}
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.logos a, .logos span {
    display: block;
    aspect-ratio: 1;
    background: var(--papier);
    border: 1px solid var(--filet);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.logos a:hover { border-color: var(--orange); }
.logos img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 0.6rem;
    filter: grayscale(1);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }

/* ===== Contact (bloc encre) ===== */
.contact { background: var(--encre); color: var(--sur-encre); }
.contact .titre { color: var(--sur-encre); }
.contact .chapeau { color: var(--sur-encre-doux); max-width: 42ch; }
.contact-carte {
    background: var(--orange);
    color: var(--encre);
    border-radius: 6px;
    padding: clamp(1.75rem, 4vw, 3rem);
    display: grid;
    gap: 1.25rem;
}
.contact-carte h3 { font-family: var(--f-affiche); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1; }
.contact-etapes { list-style: none; counter-reset: etape; display: grid; gap: 0.6rem; }
.contact-etapes li { counter-increment: etape; display: grid; grid-template-columns: 2rem 1fr; align-items: baseline; }
.contact-etapes li::before { content: counter(etape); font-family: var(--f-chiffres); font-size: 1.6rem; line-height: 1; }
.contact-carte .btn { justify-self: start; background: var(--encre); color: var(--sur-encre); }
.contact-carte .btn:hover { background: #000; }
.contact-resa { justify-self: start; }
.contact-resa button {
    font-family: var(--f-texte) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 999px !important;
    padding: 0.95rem 1.6rem !important;
    height: auto !important;
    color: var(--sur-encre) !important;
    cursor: pointer;
}
.contact-resa button:hover { background: #000 !important; }
.contact-coordonnees { display: grid; gap: 0.9rem; margin-top: 2rem; list-style: none; }
.contact-coordonnees a { color: var(--sur-encre); text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid rgba(244, 241, 234, 0.3); }
.contact-coordonnees a:hover { border-color: var(--orange); }
.contact-coordonnees i { color: var(--orange); width: 1.6rem; }

/* ===== Pied de page : 4 colonnes ===== */
.pied { background: var(--encre); color: var(--sur-encre-doux); border-top: 1px solid rgba(244, 241, 234, 0.12); font-size: 0.93rem; }
.pied-grille { display: grid; grid-template-columns: 1.2fr 1.15fr 1.15fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3rem, 6vw, 4.5rem) 3rem; }
.pied-titre { font-family: var(--f-affiche); text-transform: uppercase; font-size: 1rem; color: #f7ad66; margin-bottom: 1.1rem; }
.pied-logos { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.3rem; }
.pied-logos img { height: 52px; width: auto; }
.pied-signature { color: var(--sur-encre); font-size: 0.92rem; line-height: 1.5; max-width: 30ch; margin-bottom: 1rem; }
.pied-adresse { font-style: normal; line-height: 1.6; margin-bottom: 1.2rem; }
.pied-label { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid rgba(244, 241, 234, 0.22); border-radius: 999px; padding: 0.4rem 0.9rem 0.4rem 0.45rem; font-size: 0.8rem; color: var(--sur-encre); }
.pied-label b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--encre); font-family: var(--f-chiffres); font-size: 0.95rem; font-weight: 400; }
.pied-liens-col { list-style: none; display: grid; gap: 0.5rem; }
.pied-liens-col a { color: var(--sur-encre); text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; }
.pied-liens-col a:hover { color: var(--orange); }
.pied-liens-col i { width: 0.9rem; font-size: 0.75rem; color: var(--orange); text-align: center; }
.pied-liens-col .separe { margin-top: 0.6rem; padding-top: 0.7rem; border-top: 1px solid rgba(244, 241, 234, 0.12); }
.pied-liens-col .separe, .pied-liens-col .separe ~ li { font-size: 0.85rem; }
.pied-articles { list-style: none; display: grid; gap: 0.85rem; }
.pied-articles a { color: var(--sur-encre); font-weight: 500; line-height: 1.35; text-decoration: none; }
.pied-articles a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.pied-tout { display: inline-block; margin-top: 1.1rem; color: var(--orange); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.pied-mail { display: table; color: var(--sur-encre); font-size: 1.08rem; text-decoration: none; border-bottom: 1px solid var(--orange); margin-bottom: 1rem; }
.pied-mail:hover { color: var(--orange); }
.pied-reseaux { display: flex; gap: 0.6rem; }
.pied-titre-contact { margin-top: 2rem; }
.pied-reseaux span { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(244, 241, 234, 0.25); border-radius: 50%; color: var(--sur-encre); }
.pied-reseaux svg { width: 16px; height: 16px; fill: currentColor; }
.pied-lettre .pied-titre { margin-bottom: 0.6rem; }
.pied-lettre p { margin-bottom: 0.7rem; }
.pied-form { display: flex; background: #26231f; border: 1px solid rgba(244, 241, 234, 0.15); border-radius: 999px; padding: 0.3rem; }
.pied-form input { flex: 1; min-width: 0; background: none; border: 0; color: var(--sur-encre); font: inherit; padding: 0.5rem 0.9rem; outline: none; }
.pied-form button { border: 0; border-radius: 999px; background: var(--orange); color: var(--encre); font: inherit; font-weight: 600; padding: 0.55rem 1.1rem; cursor: pointer; }
.pied-form button:hover { background: var(--orange-vif); }
.pied-form:focus-within { border-color: var(--orange); }
.pied-form .pied-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; flex: none; }
.pied-lettre small { display: block; margin-top: 0.5rem; font-size: 0.76rem; }
.pied-lettre small.ok { color: var(--orange); }
.pied-lettre small.erreur { color: #ff8a7a; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgba(244, 241, 234, 0.12); font-size: 0.82rem; color: var(--sur-encre-doux); }
.pied-bas nav { display: flex; gap: 1.5rem; }
.pied-bas a { color: var(--sur-encre-doux); text-decoration: none; }
.pied-bas a:hover { color: var(--orange); }
@media (max-width: 1080px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pied-grille { grid-template-columns: 1fr; } }

/* ===== Pages intérieures : navigation pleine dès le départ ===== */
.nav-pleine main { padding-top: 76px; }
.nav-liens a[aria-current="page"] { border-color: var(--orange); }

/* ===== Bouton de réservation Google ===== */
.contact-resa { justify-self: start; }
.contact-resa button {
    font-family: var(--f-texte) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 999px !important;
    padding: 0.95rem 1.6rem !important;
    height: auto !important;
    color: var(--sur-encre) !important;
    cursor: pointer;
}
.contact-resa button:hover { background: #000 !important; }

/* ===== En-tête des pages Boîte à outils ===== */
.page-tete {
    background: var(--sable);
    padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--filet);
}
.page-tete h1 {
    font-family: var(--f-affiche);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 0.92;
}
.page-tete .chapeau { max-width: 52ch; font-size: 1.1rem; }
/* Image à gauche du titre + texte, à la hauteur exacte de ce bloc (calculée par un petit script) */
.tete-illustree { display: flex; align-items: flex-start; gap: clamp(1.25rem, 3vw, 2.5rem); }
.tete-illustree-texte { min-width: 0; }
.tete-illustree img { height: 10rem; width: auto; flex-shrink: 0; }
@media (max-width: 640px) { .tete-illustree img { display: none; } }

.filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.25rem; list-style: none; }
.filtres a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--encre);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    background: var(--papier);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.filtres a:hover { border-color: var(--orange); }
.filtres a[aria-current="page"] { background: var(--orange); border-color: var(--orange); font-weight: 600; }
.filtres .nb { font-size: 0.8rem; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.filtres a[aria-current="page"] .nb { color: var(--encre); }

.liste-articles { padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.liste-compte { color: var(--encre-douce); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Article à la une : grande carte horizontale */
.article.article-une {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-column: 1 / -1;
}
.article-une .article-image { aspect-ratio: auto; min-height: 22rem; }
.article-une .article-corps { padding: clamp(1.5rem, 3.5vw, 3rem); justify-content: center; gap: 1rem; }
.article-une h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; }
.article-une .article-chapo { font-size: 1.05rem; -webkit-line-clamp: 6; }
.article-une .article-lire { margin-top: 0.5rem; }

.vide {
    grid-column: 1 / -1;
    padding: 3rem;
    border: 1px dashed var(--filet);
    border-radius: 6px;
    text-align: center;
    color: var(--encre-douce);
}
.vide a { color: var(--orange-texte); font-weight: 600; }

/* ===== Page article ===== */
.fil {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    font-size: 0.92rem;
    color: var(--encre-douce);
}
.fil li + li::before { content: '/'; margin-right: 0.4rem; color: var(--filet); }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--orange-texte); text-decoration: underline; text-underline-offset: 3px; }

.article-tete { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.article-tete .article-categorie-lien {
    display: inline-block;
    margin-top: 1.75rem;
    background: var(--orange);
    color: var(--encre);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
}
.article-tete .article-categorie-lien:hover { background: var(--orange-vif); }
.article-tete h1 {
    margin-top: 1rem;
    font-family: var(--f-affiche);
    font-weight: 400;
    font-size: clamp(2.3rem, 5.2vw, 4.2rem);
    line-height: 1.02;
    max-width: 22ch;
    text-wrap: balance;
}
.article-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    margin-top: 1.5rem;
    list-style: none;
    color: var(--encre-douce);
    font-size: 0.95rem;
}
.article-infos i { color: var(--orange-texte); margin-right: 0.45rem; }

.article-couverture {
    aspect-ratio: 21 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: var(--filet);
}
.article-couverture img { width: 100%; height: 100%; object-fit: cover; }

.article-mise-en-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
    gap: clamp(2.5rem, 6vw, 6rem);
    padding-block: clamp(2.5rem, 5vw, 4rem) var(--section);
    align-items: start;
}
.article-chapeau {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.5;
    font-weight: 500;
    max-width: 62ch;
    padding-bottom: 2rem;
    margin-bottom: 2.25rem;
    border-bottom: 1px solid var(--filet);
}

/* Corps de l'article (HTML saisi dans l'admin) */
.prose { max-width: 68ch; font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
    font-family: var(--f-affiche);
    font-weight: 400;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.12;
    margin-top: 2.2em;
    text-wrap: balance;
}
.prose h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin-top: 1.9em; }
.prose h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.7em; }
.prose a { color: var(--orange-texte); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--orange-texte); }
.prose img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--filet); }
.prose p > img { margin-block: 0.5em; }
.prose figure { margin: 1.6em 0; }
.prose figure figcaption { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.45; color: var(--encre-douce); }
.prose .image-credit { font-size: 0.8rem; color: #8a847a; white-space: nowrap; }
.prose blockquote {
    border-left: 3px solid var(--orange);
    padding: 0.25rem 0 0.25rem 1.25rem;
    font-size: 1.15rem;
    color: var(--encre-douce);
}
.prose hr { border: 0; border-top: 1px solid var(--filet); margin-block: 2.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--filet); vertical-align: top; }
.prose th { font-weight: 700; border-bottom-color: var(--encre); }
.prose code { font-size: 0.92em; background: var(--sable); padding: 0.1em 0.35em; border-radius: 3px; }

/* Colonne latérale de l'article */
.article-cote { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.partage h2 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.partage-liens { display: grid; gap: 0.5rem; list-style: none; }
.partage-liens a, .partage-liens button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--filet);
    border-radius: 6px;
    background: var(--papier);
    font: inherit;
    font-size: 0.95rem;
    color: var(--encre);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.partage-liens a:hover, .partage-liens button:hover { border-color: var(--orange); }
.partage-liens i { width: 1.1rem; text-align: center; color: var(--orange-texte); }

.encart-rdv { gap: 1rem; padding: 1.75rem; }
.encart-rdv h2 { font-family: var(--f-affiche); font-weight: 400; font-size: 1.55rem; line-height: 1.05; }
.encart-rdv p { font-size: 0.97rem; }

.article-pied {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--filet);
}
.btn-trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-trait:hover { background: var(--encre); color: var(--sur-encre); }

/* ===== Page introuvable ===== */
.introuvable { padding-block: var(--section); }
.introuvable h1 { font-family: var(--f-affiche); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 0.95; }
.introuvable p { margin-top: 1.25rem; color: var(--encre-douce); max-width: 46ch; }
.introuvable .btn { margin-top: 2rem; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .poles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .nav-liens, .nav .btn-orange { display: none; }
    .nav-burger { display: block; }
    .nav.est-ouverte { background: var(--encre); }
    .nav.est-ouverte .nav-liens {
        display: grid;
        gap: 0.25rem;
        position: absolute;
        top: 76px; left: 0; right: 0;
        background: var(--encre);
        padding: 1rem var(--gouttiere) 1.5rem;
        border-bottom: 1px solid rgba(240, 143, 46, 0.35);
    }
    .nav.est-ouverte .nav-liens a { display: block; padding-block: 0.75rem; font-size: 1.05rem; }
    .nav.est-ouverte .nav-liens { max-height: calc(100vh - 76px); overflow-y: auto; }
    .sous-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0.5rem 1rem; }
    .sous-menu::before, .a-sous-menu > a::after { display: none; }
    .nav.est-ouverte .sous-menu a, .sous-menu .bientot { padding-block: 0.45rem; font-size: 0.95rem; color: var(--sur-encre-doux); }
    .nav.est-ouverte .sous-menu a[aria-current="page"] { color: var(--orange); }
    .section-grille { grid-template-columns: minmax(0, 1fr); }
    .titre-colle { position: static; }
    .illu-section { display: none; }
    .reseau-groupes { grid-template-columns: minmax(0, 1fr); }
    .adhesion { grid-template-columns: minmax(0, 1fr); }
    .adhesion .btn { justify-self: start; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .profil { grid-template-columns: 2rem minmax(0, 1fr); }
    .profil p { grid-column: 2; }
    .poles, .articles, .formules { grid-template-columns: minmax(0, 1fr); }
    .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chiffre, .chiffre:not(:nth-child(3n+1)) { padding: 1.25rem 1rem 1.25rem 0; border-left: 0; }
    .chiffre:nth-child(2n) { padding-left: 1rem; border-left: 1px solid var(--filet); }
    .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
    .hero-cote { padding-left: 1rem; }
}
/* ===== Responsive des pages intérieures ===== */
@media (max-width: 1080px) {
    .article-mise-en-page { grid-template-columns: minmax(0, 1fr); }
    .article-cote { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 46rem; }
}
@media (max-width: 900px) {
    .article.article-une { grid-template-columns: minmax(0, 1fr); }
    .article-une .article-image { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 640px) {
    .article-cote { grid-template-columns: minmax(0, 1fr); }
    .article-couverture { aspect-ratio: 16 / 10; }
    .prose { font-size: 1.04rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ===== Bouton « haut de page » (accueil) ===== */
.haut-de-page {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 90;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--encre);
    box-shadow: 0 6px 18px rgba(27, 25, 22, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.haut-de-page.visible { opacity: 1; visibility: visible; transform: none; }
.haut-de-page:hover { background: var(--orange-vif); }
.haut-de-page svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Agrandissement des images d'article (loupe + fenêtre surgissante) ===== */
.zoomable { position: relative; display: block; }
.loupe {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(27, 25, 22, 0.72);
    color: #fff;
    cursor: zoom-in;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s, transform 0.2s;
}
.loupe svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.zoomable:hover .loupe, .loupe:focus-visible { opacity: 1; background: var(--orange); color: var(--encre); transform: scale(1.06); }
.zoomable img { cursor: zoom-in; }
.visionneuse {
    width: 100vw; height: 100vh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0;
    background: rgba(18, 16, 14, 0.92);
    display: grid; place-items: center;
}
.visionneuse:not([open]) { display: none; }
.visionneuse::backdrop { background: transparent; }
.visionneuse figure { max-width: min(92vw, 1600px); max-height: 88vh; display: grid; gap: 0.75rem; justify-items: center; }
.visionneuse img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); cursor: zoom-out; }
.visionneuse-btn {
    position: fixed; z-index: 3;
    display: grid; place-items: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: rgba(244, 241, 234, 0.12); color: #fff; cursor: pointer;
    font-size: 1.4rem; line-height: 1;
}
.visionneuse-btn:hover { background: var(--orange); color: var(--encre); }
.visionneuse-fermer { top: 1.2rem; right: 1.2rem; }
.visionneuse-prec { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.visionneuse-suiv { right: 1.2rem; top: 50%; transform: translateY(-50%); }
body.visionneuse-ouverte { overflow: hidden; }
