/* ===================================
   RÉSONANCE · Club d'affaires
   Vert bouteille, blanc cassé, touche anis du logo
   =================================== */

/* ========== Variables ========== */
:root {
    --vert-950: #0b211a;
    --vert-900: #0f2a20;
    --vert-800: #1b4332;
    --vert-700: #2d6a4f;
    --vert-600: #40916c;
    --vert-500: #52b788;
    --vert-400: #74c69d;
    --vert-300: #95d5b2;
    --vert-100: #d8f3dc;
    --vert-50: #eef8f1;
    --anis: #a8d22e;

    --creme: #f7f6f1;
    --blanc: #ffffff;
    --encre: #17241e;
    --texte: #3c4d45;
    --texte-doux: #66786f;
    --ligne: #e3e7e2;
    --erreur: #b3261e;

    --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(15, 42, 32, .06), 0 2px 8px rgba(15, 42, 32, .05);
    --shadow-md: 0 4px 12px rgba(15, 42, 32, .07), 0 12px 32px rgba(15, 42, 32, .08);
    --shadow-lg: 0 10px 30px rgba(15, 42, 32, .12), 0 30px 60px rgba(15, 42, 32, .12);
    --shadow-glow: 0 10px 30px rgba(82, 183, 136, .35);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --nav-h: 76px;
    --container: 1180px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--texte);
    background: var(--blanc);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--encre);
    letter-spacing: -.005em;
}

::selection { background: var(--vert-300); color: var(--vert-950); }

:focus-visible {
    outline: 2px solid var(--vert-500);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; top: 1rem; left: 1rem; z-index: 2000;
    transform: translateY(-200%);
    background: var(--vert-500); color: var(--vert-950);
    padding: .75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { transform: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-padding { padding: clamp(4.5rem, 10vw, 8rem) 0; }

/* ========== En-têtes de section ========== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--vert-600);
    margin-bottom: 1rem;
}
.section-tag::before,
.section-header .section-tag::after {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 500;
}

.section-intro {
    margin-top: 1.25rem;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: var(--texte-doux);
}

.lead {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    line-height: 1.45;
    color: var(--encre);
}

/* ========== Boutons ========== */
.btn {
    --btn-bg: var(--vert-500);
    --btn-fg: var(--vert-950);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    padding: .9rem 1.9rem;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s var(--ease);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); background: var(--vert-400); }

.btn-ghost {
    --btn-bg: rgba(255, 255, 255, .06);
    --btn-fg: var(--blanc);
    border-color: rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); transform: translateY(-2px); }

.btn-large { width: 100%; min-height: 58px; font-size: .9rem; }
.btn-small { min-height: 42px; padding: .6rem 1.4rem; font-size: .75rem; }

/* ========== Progression & navigation ========== */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1100; pointer-events: none;
}
.scroll-progress span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--vert-500), var(--anis));
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.navbar.scrolled {
    background: rgba(11, 33, 26, .82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: calc(var(--nav-h) + 12px);
    transition: height .4s var(--ease);
}
.navbar.scrolled .nav-inner { height: var(--nav-h); }

.nav-brand { display: flex; align-items: center; position: relative; z-index: 1002; }
.logo-image { height: 44px; width: auto; transition: transform .4s var(--ease), height .4s var(--ease); }
.navbar.scrolled .logo-image { height: 38px; }
.nav-brand:hover .logo-image { transform: scale(1.03); }

.nav-menu { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 2rem); }

.nav-link {
    position: relative;
    display: inline-block;
    padding: .5rem 0;
    color: rgba(255, 255, 255, .86);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--vert-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--blanc); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.nav-link-cta {
    padding: .7rem 1.4rem;
    border: 1px solid var(--vert-500);
    border-radius: 999px;
    background: var(--vert-500);
    color: var(--vert-950);
    font-weight: 600;
    transition: background-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover { color: var(--vert-950); background: var(--vert-400); box-shadow: var(--shadow-glow); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    position: relative;
    z-index: 1002;
    width: 46px; height: 46px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}
.nav-toggle span {
    position: absolute; left: 13px; right: 13px; height: 2px;
    background: var(--blanc); border-radius: 2px;
    transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        inset: 0;
        z-index: 1001;
        flex-direction: column;
        justify-content: center;
        gap: 1.4rem;
        padding: 6rem 2rem 3rem;
        background: radial-gradient(120% 80% at 80% 0%, var(--vert-800), var(--vert-950) 70%);
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s var(--ease), visibility .4s;
    }
    .nav-menu.active { opacity: 1; visibility: visible; }
    .nav-menu li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
    .nav-menu.active li { opacity: 1; transform: none; }
    .nav-menu.active li:nth-child(2) { transition-delay: .05s; }
    .nav-menu.active li:nth-child(3) { transition-delay: .1s; }
    .nav-menu.active li:nth-child(4) { transition-delay: .15s; }
    .nav-menu.active li:nth-child(5) { transition-delay: .2s; }
    .nav-menu.active li:nth-child(6) { transition-delay: .25s; }
    .nav-link { font-family: var(--font-serif); font-size: 2rem; letter-spacing: .02em; text-transform: none; }
    .nav-link-cta { margin-top: 1rem; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; padding: 1rem 2rem; }
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 3rem) 0 7rem;
    background: var(--vert-950);
    color: var(--blanc);
    overflow: hidden;
    isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
    filter: grayscale(1) contrast(1.05) brightness(.9);
    transform: scale(1.06);
    animation: heroZoom 18s var(--ease) forwards;
}
/* Duotone vert : la photo de soirée prend la couleur du club */
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(90% 70% at 50% 45%, rgba(27, 67, 50, .55), rgba(11, 33, 26, .92) 75%),
        linear-gradient(180deg, rgba(11, 33, 26, .55) 0%, rgba(27, 67, 50, .45) 45%, var(--vert-950) 100%);
    mix-blend-mode: normal;
}
.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--vert-700);
    mix-blend-mode: color;
    opacity: .9;
}
@keyframes heroZoom { to { transform: scale(1); } }

/* Ondes concentriques : la « résonance » */
.hero-waves {
    position: absolute;
    left: 50%; top: 46%;
    width: min(120vmin, 1100px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}
.hero-waves span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(149, 213, 178, .35);
    opacity: 0;
    transform: scale(.2);
    animation: wave 9s cubic-bezier(.3, .1, .3, 1) infinite;
}
.hero-waves span:nth-child(2) { animation-delay: 2.25s; }
.hero-waves span:nth-child(3) { animation-delay: 4.5s; border-color: rgba(168, 210, 46, .28); }
.hero-waves span:nth-child(4) { animation-delay: 6.75s; }
@keyframes wave {
    0% { opacity: 0; transform: scale(.2); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: scale(1); }
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content { text-align: center; position: relative; }
.hero-content > * { animation: rise 1.1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .25s; }
.hero-content > :nth-child(4) { animation-delay: .35s; }
.hero-content > :nth-child(5) { animation-delay: .45s; }
.hero-content > :nth-child(6) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .45rem 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}
.hero-eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--anis);
    box-shadow: 0 0 0 0 rgba(168, 210, 46, .6);
    animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(168, 210, 46, 0); } }

.hero-title { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; color: var(--blanc); }
.hero-title-main {
    font-size: clamp(3.4rem, 12vw, 8.5rem);
    font-weight: 500;
    line-height: .9;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-right: -.08em; /* compense l'espacement après la dernière lettre */
    background: linear-gradient(100deg, #fff 20%, var(--vert-300) 45%, #fff 60%, #fff 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rise 1.1s var(--ease) both, sheen 9s ease-in-out 1.2s infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

.hero-title-sub {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: clamp(.7rem, 1.4vw, .9rem);
    font-weight: 500;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--vert-300);
}
.hero-title-sub::before, .hero-title-sub::after { content: ''; width: clamp(24px, 5vw, 56px); height: 1px; background: currentColor; opacity: .5; }

.hero-tagline {
    margin-top: 1.75rem;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, .92);
}
.hero-tagline em { color: var(--anis); font-style: italic; }

.hero-description {
    max-width: 560px;
    margin: 1rem auto 2.5rem;
    font-size: clamp(.95rem, 1.6vw, 1.08rem);
    color: rgba(255, 255, 255, .72);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: clamp(1.5rem, 6vw, 4.5rem);
    max-width: 760px;
    margin: clamp(3rem, 7vh, 4.5rem) auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: .35rem; text-align: center; }
.hero-stats dd { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--blanc); }
.hero-stats dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    font-size: .65rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    transition: color .3s;
}
.scroll-indicator:hover { color: var(--blanc); }
.scroll-arrow { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scroll-arrow::after {
    content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
    background: var(--vert-300);
    animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

@media (max-width: 600px) {
    .hero { padding-bottom: 4rem; }
    .hero-eyebrow { margin-bottom: 1.5rem; letter-spacing: .14em; }
    .hero-title-main { font-size: clamp(2.6rem, 13vw, 4rem); letter-spacing: .05em; margin-right: -.05em; }
    .hero-title-sub { letter-spacing: .26em; text-align: center; }
    .hero-title-sub::before, .hero-title-sub::after { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .hero-stats { gap: 1rem; grid-template-columns: repeat(3, 1fr); }
    .hero-stats dt { font-size: .58rem; letter-spacing: .12em; }
    .scroll-indicator { display: none; }
}

@media (max-height: 760px) and (min-width: 700px) {
    .hero-stats { margin-top: 2rem; padding-top: 1.5rem; }
    .scroll-indicator { display: none; }
}

/* ========== Bandeau des métiers ========== */
.metiers-band {
    position: relative;
    overflow: hidden;
    background: var(--vert-900);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 1.1rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.metiers-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.metiers-band:hover .metiers-track { animation-play-state: paused; }
.metiers-track ul { display: flex; flex-shrink: 0; }
.metiers-track li {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(255, 255, 255, .75);
}
.metiers-track li::after {
    content: '';
    width: 6px; height: 6px;
    margin: 0 1.75rem;
    border-radius: 50%;
    background: var(--anis);
    opacity: .8;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========== Apparition au défilement ========== */
/* Animation (et non transition) sur « translate » : n'interfère pas avec les effets de survol */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible { animation: reveal .9s var(--ease) var(--delay, 0ms) both; }
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* ========== Vision ========== */
.vision-section { background: var(--blanc); }

.vision-content {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.vision-text .section-title { margin-bottom: 1.75rem; }
.vision-text .lead { margin-bottom: 1.5rem; }
.vision-text > p:not(.lead) { margin-bottom: 1.1rem; font-size: 1.02rem; }

.vision-quote {
    position: relative;
    margin-top: 2rem;
    padding: .25rem 0 .25rem 1.5rem;
    border-left: 2px solid var(--vert-500);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--vert-700);
}

.honneur-box {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(82, 183, 136, .28), transparent 55%),
        linear-gradient(160deg, var(--vert-800), var(--vert-950));
    color: var(--blanc);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.honneur-box::before {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(149, 213, 178, .18);
    box-shadow: 0 0 0 40px rgba(149, 213, 178, .04), 0 0 0 80px rgba(149, 213, 178, .03);
}

.honneur-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.honneur-title { color: var(--blanc); font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 500; }
.honneur-badge {
    order: 2;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--anis);
    color: var(--vert-950);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.honneur-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }

.honneur-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--vert-900);
    aspect-ratio: 3 / 4;
    transition: transform .5s var(--ease);
}
.honneur-card:hover { transform: translateY(-4px); }
.honneur-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    transition: transform .8s var(--ease);
}
.honneur-card:hover img { transform: scale(1.06); }
.honneur-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(11, 33, 26, .92));
}
.honneur-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: .9rem .85rem; }
.honneur-body h4 { color: var(--blanc); font-size: 1.12rem; font-weight: 600; }
.honneur-body p { margin-top: .15rem; font-size: .72rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }

@media (max-width: 980px) {
    .vision-content { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .honneur-grid { grid-template-columns: 1fr 1fr; }
    .honneur-card:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
}

/* ========== Valeurs ========== */
.valeurs-section { background: var(--creme); }

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.valeur-card {
    position: relative;
    padding: 2.25rem 2rem 2rem;
    border: 1px solid var(--ligne);
    border-radius: var(--radius-lg);
    background: var(--blanc);
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.valeur-card::before {
    content: '';
    position: absolute;
    inset: auto -30% -60% auto;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 183, 136, .18), transparent 65%);
    opacity: 0;
    transition: opacity .6s;
}
.valeur-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(82, 183, 136, .45); }
.valeur-card:hover::before { opacity: 1; }

.valeur-index {
    position: absolute;
    top: 1.5rem; right: 1.75rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--texte-doux);
    letter-spacing: .05em;
}

.valeur-icon {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    background: var(--vert-50);
    color: var(--vert-700);
    transition: background-color .5s, color .5s, transform .5s var(--ease);
}
.valeur-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.valeur-card:hover .valeur-icon { background: var(--vert-800); color: var(--vert-300); transform: rotate(-6deg); }

.valeur-card h3 { font-size: 1.75rem; font-weight: 500; margin-bottom: .6rem; }
.valeur-card p { font-size: .95rem; color: var(--texte-doux); }

@media (max-width: 980px) { .valeurs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .valeurs-grid { grid-template-columns: 1fr; } }

/* ========== Membres ========== */
.membres-section { background: var(--blanc); }

.members-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ligne);
}
.members-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.members-filters { display: flex; flex-wrap: wrap; gap: .5rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .95rem;
    border: 1px solid var(--ligne);
    border-radius: 999px;
    background: var(--blanc);
    font-size: .82rem;
    font-weight: 500;
    color: var(--texte);
    cursor: pointer;
    transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.chip span {
    min-width: 1.5rem;
    padding: 0 .4rem;
    border-radius: 999px;
    background: var(--creme);
    font-size: .72rem;
    line-height: 1.5rem;
    text-align: center;
    color: var(--texte-doux);
}
.chip:hover { border-color: var(--vert-500); transform: translateY(-1px); }
.chip.active { background: var(--vert-800); border-color: var(--vert-800); color: var(--blanc); }
.chip.active span { background: rgba(255, 255, 255, .15); color: var(--blanc); }

.members-search { position: relative; flex: 0 1 320px; }
.members-search svg {
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; fill: none; stroke: var(--texte-doux); stroke-width: 2; stroke-linecap: round;
}
.members-search input {
    width: 100%;
    padding: .8rem 1rem .8rem 2.75rem;
    border: 1px solid var(--ligne);
    border-radius: 999px;
    background: var(--creme);
    font-size: .95rem;
    transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.members-search input:focus { outline: none; border-color: var(--vert-500); background: var(--blanc); box-shadow: 0 0 0 4px rgba(82, 183, 136, .15); }

.members-count { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }


.member-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ligne);
    border-radius: var(--radius-lg);
    background: var(--blanc);
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.member-photo {
    position: relative;
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
    background: var(--vert-800);
}
.member-photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    transition: transform .9s var(--ease);
}
.member-card:hover .member-photo img { transform: scale(1.05); }

/* Monogramme affiché sans photo (ondes rappelant le hero) */
.member-monogram {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background:
        repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(149, 213, 178, .09) 22px 23px),
        radial-gradient(circle at 50% 50%, var(--vert-700), var(--vert-900) 75%);
}
.member-monogram span {
    display: grid; place-items: center;
    width: 92px; height: 92px;
    border-radius: 50%;
    border: 1px solid rgba(149, 213, 178, .4);
    background: rgba(11, 33, 26, .4);
    font-family: var(--font-serif);
    font-size: 2.2rem;
    letter-spacing: .04em;
    color: var(--vert-100);
}

.member-sector {
    position: absolute;
    left: .9rem; bottom: .9rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--vert-800);
}

.member-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.4rem; }
.member-category { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--vert-600); line-height: 1.4; }
.member-name { margin-top: .45rem; font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.member-company { margin-top: .2rem; font-size: .92rem; font-weight: 500; color: var(--texte); }
.member-description {
    margin-top: .75rem;
    font-size: .86rem;
    line-height: 1.55;
    color: var(--texte-doux);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.member-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-top: auto;
    padding-top: 1.1rem;
    font-size: .82rem;
    color: var(--texte-doux);
}
.member-place, .member-phone { display: inline-flex; align-items: center; gap: .35rem; }
.member-place svg, .member-phone svg { width: 14px; height: 14px; fill: none; stroke: var(--vert-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.member-phone { font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; transition: color .3s; }
.member-phone:hover { color: var(--vert-600); }

.member-actions {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ligne);
}
.member-action {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--ligne);
    border-radius: 50%;
    color: var(--vert-700);
    transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.member-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member-action:hover { background: var(--vert-800); border-color: var(--vert-800); color: var(--blanc); transform: translateY(-2px); }

/* Vitrine des membres : un portrait à la fois, en fondu, puis le suivant */
.showcase-stage { position: relative; }
.showcase-slides { display: grid; }
.member-card.showcase-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: var(--shadow-md);
    transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.member-card.showcase-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.member-card.showcase-slide:hover { transform: none; box-shadow: var(--shadow-md); border-color: var(--ligne); }
.showcase-slide .member-photo { aspect-ratio: auto; min-height: 460px; }
.showcase-slide .member-photo img { transform: scale(1.06); transition: transform 7s linear; }
.showcase-slide.is-active .member-photo img { transform: scale(1); }
.showcase-slide .member-monogram span { width: 140px; height: 140px; font-size: 3.4rem; }
.showcase-slide .member-sector { left: 1.2rem; bottom: 1.2rem; font-size: .75rem; }
.showcase-slide .member-body { justify-content: center; padding: clamp(1.75rem, 4vw, 3.25rem); }
.showcase-slide .member-category { font-size: .8rem; }
.showcase-slide .member-name { margin-top: .6rem; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.showcase-slide .member-company { margin-top: .35rem; font-size: 1.05rem; }
.showcase-slide .member-description { margin-top: 1.1rem; font-size: .98rem; -webkit-line-clamp: 5; }
.showcase-slide .member-footer { margin-top: 1.75rem; padding-top: 0; justify-content: flex-start; gap: .6rem 1.75rem; font-size: .9rem; }
.showcase-slide .member-body > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.showcase-slide.is-active .member-body > * { opacity: 1; transform: none; }
.showcase-slide.is-active .member-body > :nth-child(2) { transition-delay: .08s; }
.showcase-slide.is-active .member-body > :nth-child(3) { transition-delay: .16s; }
.showcase-slide.is-active .member-body > :nth-child(n+4) { transition-delay: .24s; }

.showcase-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    margin-top: -24px;
    border: 1px solid var(--ligne);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-sm);
    color: var(--vert-800);
    cursor: pointer;
    transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.showcase-nav.prev { left: -24px; }
.showcase-nav.next { right: -24px; }
.showcase-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.showcase-nav:hover { background: var(--vert-800); color: var(--blanc); transform: scale(1.06); }
.showcase-nav:focus-visible, .showcase-thumb:focus-visible { outline: 2px solid var(--vert-500); outline-offset: 3px; }

.showcase-progress { height: 3px; margin: 1.25rem auto 0; max-width: 220px; border-radius: 3px; background: var(--ligne); overflow: hidden; }
.showcase-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--vert-600); }
.members-showcase.is-paused .showcase-progress span { animation-play-state: paused !important; }
@keyframes showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.showcase-thumbs {
    display: flex;
    gap: .9rem;
    margin-top: 1.25rem;
    padding: .35rem .25rem .5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.showcase-thumbs::-webkit-scrollbar { display: none; }
/* Centré tant que tout tient, défilable sans rogner le début sinon */
.showcase-thumb:first-child { margin-left: auto; }
.showcase-thumb:last-child { margin-right: auto; }
.showcase-thumb {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    color: var(--texte-doux);
}
.showcase-thumb-img {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--vert-800);
    box-shadow: 0 0 0 2px var(--blanc), 0 0 0 3px var(--ligne);
    opacity: .6;
    filter: grayscale(.5);
    transition: opacity .4s, filter .4s, box-shadow .4s, transform .4s var(--ease);
}
.showcase-thumb-img > span { font-family: var(--font-serif); font-size: 1.25rem; color: var(--vert-100); }
.showcase-thumb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.showcase-thumb-name { font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
.showcase-thumb:hover .showcase-thumb-img { opacity: 1; filter: none; }
.showcase-thumb.is-active .showcase-thumb-img { opacity: 1; filter: none; transform: scale(1.08); box-shadow: 0 0 0 2px var(--blanc), 0 0 0 4px var(--vert-600); }
.showcase-thumb.is-active .showcase-thumb-name { color: var(--vert-800); font-weight: 600; }

@media (max-width: 1320px) {
    .showcase-nav.prev { left: .75rem; }
    .showcase-nav.next { right: .75rem; }
    .showcase-nav { top: 230px; }
}
@media (max-width: 860px) {
    .member-card.showcase-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .showcase-slide .member-photo { min-height: 0; aspect-ratio: 4 / 3.6; }
    .showcase-slide .member-body { justify-content: flex-start; padding: 1.5rem 1.4rem 1.6rem; }
    .showcase-slide .member-name { font-size: 2rem; }
    .showcase-nav { margin-top: 0; width: 42px; height: 42px; }
    .showcase-nav { top: calc((100vw - 2 * clamp(1rem, 4vw, 2rem)) * 0.9 / 2 - 21px); }
    .showcase-thumbs { margin-left: calc(-1 * clamp(1rem, 4vw, 2rem)); margin-right: calc(-1 * clamp(1rem, 4vw, 2rem)); padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
    .member-card.showcase-slide, .showcase-slide .member-body > *, .showcase-slide .member-photo img { transition: none; transform: none; }
}

.no-results { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--texte-doux); }

@media (max-width: 700px) {
    .members-meta { flex-direction: column-reverse; align-items: stretch; }
    .members-search { flex-basis: auto; }
    .members-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem)); padding: 0 clamp(1rem, 4vw, 2rem) .25rem; scrollbar-width: none; }
    .members-filters::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; }
}

/* ========== Galerie ========== */
.galerie-section { background: var(--creme); }

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 15vw, 210px);
    grid-auto-flow: dense;
    gap: .9rem;
}
.galerie-item.g-wide { grid-column: span 2; }
.galerie-item.g-tall { grid-row: span 2; }
.galerie-item.g-big { grid-column: span 2; grid-row: span 2; }

.galerie-item {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--vert-800);
    cursor: zoom-in;
}
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 33, 26, .75));
    transition: opacity .5s;
}
.galerie-caption {
    position: absolute;
    left: 1.25rem; bottom: 1.1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--blanc);
}
.galerie-caption::before { content: ''; width: 20px; height: 1px; background: var(--anis); transition: width .5s var(--ease); }
.galerie-item:hover .galerie-caption::before { width: 36px; }

@media (max-width: 760px) {
    .galerie-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; gap: .6rem; }
    .galerie-item.g-big, .galerie-item.g-wide { grid-column: 1 / -1; grid-row: span 1; }
    .galerie-item.g-big { grid-row: span 2; }
    .galerie-caption { font-size: 1rem; left: .8rem; bottom: .7rem; }
}

/* Visionneuse */
.lightbox {
    width: 100%; height: 100%;
    max-width: none; max-height: none;
    margin: 0;
    border: 0;
    padding: clamp(1rem, 4vw, 3rem);
    background: transparent;
    color: var(--blanc);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; animation: fade .35s var(--ease); }
.lightbox::backdrop { background: rgba(6, 18, 14, .92); backdrop-filter: blur(6px); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; color: rgba(255, 255, 255, .85); }
.lightbox-close, .lightbox-nav {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--blanc);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .3s, border-color .3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 1; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 600px) {
    .lightbox[open] { grid-template-columns: 1fr; }
    .lightbox-nav { display: none; }
}

/* ========== Engagement solidaire ========== */
.solidarite-section {
    background:
        radial-gradient(60% 70% at 100% 50%, rgba(82, 183, 136, .12), transparent 70%),
        var(--blanc);
}
.solidarite-content {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    max-width: 1000px;
}
.solidarite-media { position: relative; }
.solidarite-media > img:first-child {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.solidarite-logo {
    position: absolute;
    right: -18px; bottom: -18px;
    width: 84px; height: 84px;
    border-radius: 50%;
    border: 4px solid var(--blanc);
    box-shadow: var(--shadow-md);
    background: var(--blanc);
}
.solidarite-text .section-title { margin-bottom: .5rem; }
.solidarite-text .lead { margin-bottom: 1.25rem; font-style: italic; color: var(--vert-700); }
.solidarite-text p:not(.lead) { margin-bottom: 1rem; }
.solidarite-text strong { color: var(--encre); font-weight: 600; }

.solidarite-liens { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1.25rem .7rem .8rem;
    border: 1px solid var(--ligne);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--encre);
    transition: border-color .3s, background-color .3s, color .3s, transform .3s var(--ease);
}
.social-link svg {
    width: 34px; height: 34px;
    padding: 7px;
    border-radius: 50%;
    background: var(--vert-50);
    fill: none; stroke: var(--vert-700); stroke-width: 1.8;
    transition: background-color .3s, stroke .3s;
}
.social-link svg .fill { fill: var(--vert-700); stroke: none; }
.social-link:hover { border-color: var(--vert-800); background: var(--vert-800); color: var(--blanc); transform: translateY(-2px); }
.social-link:hover svg { background: rgba(255, 255, 255, .12); stroke: var(--blanc); }
.social-link:hover svg .fill { fill: var(--blanc); }

/* Couleurs officielles des réseaux */
.social-instagram svg { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); stroke: #fff; }
.social-instagram svg .fill { fill: #fff; }
.social-facebook svg { background: #1877f2; }
.social-facebook svg .fill { fill: #fff; }
.social-instagram:hover { background: #d6249f; border-color: #d6249f; }
.social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-instagram:hover svg, .social-facebook:hover svg { background: rgba(255, 255, 255, .18); }

@media (max-width: 760px) {
    .solidarite-content { grid-template-columns: 1fr; }
    .solidarite-media { max-width: 320px; margin: 0 auto; }
}

/* ========== Avantages ========== */
.avantages-section {
    position: relative;
    background:
        radial-gradient(60% 50% at 0% 0%, rgba(82, 183, 136, .16), transparent 60%),
        radial-gradient(50% 50% at 100% 100%, rgba(168, 210, 46, .08), transparent 60%),
        linear-gradient(160deg, var(--vert-800), var(--vert-950));
    color: var(--blanc);
    overflow: hidden;
}
.avantages-section .section-title { color: var(--blanc); }
.avantages-section .section-tag { color: var(--vert-300); }

.avantages-container {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.avantages-featured { position: sticky; top: calc(var(--nav-h) + 2rem); }

.featured-card {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--vert-400), var(--vert-600));
    color: var(--vert-950);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.featured-card::before {
    content: '';
    position: absolute;
    right: -90px; bottom: -90px;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(11, 33, 26, .18);
    box-shadow: 0 0 0 36px rgba(11, 33, 26, .05), 0 0 0 72px rgba(11, 33, 26, .04);
}
.featured-icon {
    display: grid; place-items: center;
    width: 64px; height: 64px;
    margin-bottom: 2rem;
    border-radius: 18px;
    background: rgba(11, 33, 26, .12);
}
.featured-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--vert-950); stroke-width: 1.7; stroke-linejoin: round; }
.featured-card h3 { position: relative; font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 500; color: var(--vert-950); margin-bottom: 1rem; }
.featured-card p { position: relative; font-size: 1.05rem; line-height: 1.7; color: rgba(11, 33, 26, .85); }
.featured-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 2rem;
    padding-bottom: .2rem;
    border-bottom: 1px solid currentColor;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.featured-link span { transition: transform .4s var(--ease); }
.featured-link:hover span { transform: translateX(5px); }

.avantages-list { display: flex; flex-direction: column; }

.avantage-item {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.avantage-item:first-child { padding-top: 0; }
.avantage-number {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--vert-400);
    transition: color .5s;
}
.avantage-item:hover .avantage-number { color: var(--vert-400); }
.avantage-content h4 { font-size: 1.6rem; font-weight: 500; color: var(--blanc); margin-bottom: .4rem; }
.avantage-content p { font-size: .95rem; color: rgba(255, 255, 255, .68); }

@media (max-width: 900px) {
    .avantages-container { grid-template-columns: 1fr; }
    .avantages-featured { position: static; }
}

/* ========== Adhésion ========== */
.adhesion-section { background: var(--creme); }

.adhesion-content {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.adhesion-info { position: sticky; top: calc(var(--nav-h) + 2rem); }
.adhesion-info h3 { font-size: 2rem; font-weight: 500; margin-bottom: 2rem; }

.process-steps { position: relative; margin-bottom: 2.25rem; }
.process-steps::before {
    content: '';
    position: absolute;
    left: 21px; top: 10px; bottom: 10px;
    width: 1px;
    background: linear-gradient(var(--vert-500), var(--ligne));
}
.process-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.25rem; padding-bottom: 1.75rem; }
.process-step:last-child { padding-bottom: 0; }
.step-number {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blanc);
    border: 1px solid var(--vert-500);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vert-700);
    box-shadow: 0 0 0 6px var(--creme);
}
.step-content h4 { font-size: 1.35rem; font-weight: 600; margin-bottom: .2rem; }
.step-content p { font-size: .93rem; color: var(--texte-doux); }

.adhesion-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.detail-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--ligne);
    border-radius: var(--radius);
    background: var(--blanc);
}
.detail-price { background: var(--vert-800); border-color: var(--vert-800); color: var(--blanc); }
.detail-label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }
.detail-price .detail-label { color: var(--vert-300); }
.detail-value { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1.1; color: var(--encre); }
.detail-price .detail-value { color: var(--blanc); }
.detail-value small { font-size: 1rem; margin-left: .2rem; opacity: .7; }
.detail-note { font-size: .82rem; color: var(--texte-doux); }
.detail-price .detail-note { color: rgba(255, 255, 255, .7); }

/* Formulaire */
.adhesion-form-container {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--ligne);
    border-radius: var(--radius-lg);
    background: var(--blanc);
    box-shadow: var(--shadow-md);
}
.adhesion-form h3 { font-size: 2rem; font-weight: 500; }
.form-lead { margin: .35rem 0 2rem; font-size: .92rem; color: var(--texte-doux); }

.form-fieldset { border: 0; margin-bottom: 1.5rem; }
.form-fieldset legend {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    margin-bottom: 1.1rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--vert-600);
}
.form-fieldset legend::after { content: ''; flex: 1; height: 1px; background: var(--ligne); }

.form-group { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

.form-group > label, .form-label {
    display: block;
    margin-bottom: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--encre);
}
.optional { font-weight: 400; color: var(--texte-doux); }

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid #d6dcd7;
    border-radius: var(--radius-sm);
    background: #fbfcfb;
    font-size: 1rem;
    color: var(--encre);
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #9aa8a1; }
.form-group input:hover, .form-group textarea:hover { border-color: #b9c4bd; }
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--vert-500);
    background: var(--blanc);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, .16);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span {
    display: block;
    padding: .8rem 1rem;
    border: 1px solid #d6dcd7;
    border-radius: var(--radius-sm);
    background: #fbfcfb;
    text-align: center;
    font-size: .95rem;
    transition: border-color .25s, background-color .25s, color .25s;
}
.segmented label:hover span { border-color: #b9c4bd; }
.segmented input:checked + span { border-color: var(--vert-700); background: var(--vert-50); color: var(--vert-800); font-weight: 600; }
.segmented input:focus-visible + span { box-shadow: 0 0 0 4px rgba(82, 183, 136, .25); }

.has-error input:not([type="checkbox"]):not([type="radio"]),
.has-error textarea,
.has-error .segmented span { border-color: var(--erreur); background: #fffafa; }
.field-error { margin-top: .4rem; font-size: .8rem; font-weight: 500; color: var(--erreur); }

.checkbox-group label { display: flex; align-items: flex-start; gap: .75rem; font-size: .85rem; line-height: 1.55; color: var(--texte); cursor: pointer; }
.checkbox-group input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--vert-700); flex-shrink: 0; cursor: pointer; }
.checkbox-group a { color: var(--vert-700); text-decoration: underline; text-underline-offset: 2px; }

.cf-turnstile { margin: 1rem 0 .25rem; min-height: 65px; }
.adhesion-form .btn-large { margin-top: .75rem; }
.btn-spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(11, 33, 26, .25);
    border-top-color: var(--vert-950);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.btn.is-loading { cursor: wait; opacity: .85; }
.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading .btn-label::after { content: '…'; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #f0d2d0;
    border-radius: var(--radius-sm);
    background: #fff6f5;
    font-size: .9rem;
    color: #8a1f1f;
}
.form-note { margin-top: 1rem; text-align: center; font-size: .78rem; color: var(--texte-doux); }

.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: 3rem 1rem; text-align: center; outline: none; }
.form-success[hidden] { display: none; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 1.75rem; }
.success-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--vert-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success-icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .9s var(--ease) forwards; }
.success-icon path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 2.2rem; font-weight: 500; margin-bottom: .75rem; }
.form-success p { max-width: 420px; margin: 0 auto; color: var(--texte-doux); }

@media (max-width: 980px) {
    .adhesion-content { grid-template-columns: 1fr; }
    .adhesion-info { position: static; }
}
@media (max-width: 560px) {
    .form-row, .adhesion-details { grid-template-columns: 1fr; }
}

/* ========== Footer ========== */
.footer {
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) 0 2rem;
    background: var(--vert-950);
    color: rgba(255, 255, 255, .7);
    overflow: hidden;
}
.footer::before {
    content: 'Résonance';
    position: absolute;
    left: 50%; bottom: -.22em;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: clamp(5rem, 20vw, 17rem);
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
    color: rgba(255, 255, 255, .025);
    pointer-events: none;
}

.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand img { width: 220px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { margin-bottom: 1.5rem; font-size: .92rem; line-height: 1.7; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-column h4 { margin-bottom: 1rem; font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--vert-300); }
.footer-column ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-column li { font-size: .92rem; }
.footer-column a { transition: color .3s; overflow-wrap: anywhere; }
.footer-column a:hover { color: var(--blanc); }

/* Partenaire (Les Pros de l'Yonne : icône et couleurs officielles) */
.footer-partenaires {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-partenaires-titre { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--vert-300); }
.partenaire-lien {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: .7rem 1.4rem .7rem .7rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    color: var(--blanc);
    transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.partenaire-lien:hover { background: rgba(242, 193, 78, .08); border-color: rgba(242, 193, 78, .5); transform: translateY(-2px); }
.partenaire-logo { width: 48px; height: 48px; flex: none; }
.partenaire-lien > span:not(.partenaire-fleche) { display: flex; flex-direction: column; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; }
.partenaire-lien small { font-family: var(--font-sans); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.partenaire-fleche { margin-left: .5rem; color: #f2c14e; transition: transform .3s var(--ease); }
.partenaire-lien:hover .partenaire-fleche { transform: translateX(4px); }

.footer-bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.75rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-legal a { transition: color .3s; }
.footer-legal a:hover { color: var(--blanc); }

@media (max-width: 860px) {
    .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-column:last-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ========== Pages légales ========== */
.page-legal .navbar { background: var(--vert-950); }
.page-legal .nav-menu { position: static; opacity: 1; visibility: visible; flex-direction: row; padding: 0; background: none; }
.page-legal .nav-menu li { opacity: 1; transform: none; }
.page-legal .nav-link { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }

.legal-hero {
    padding: calc(var(--nav-h) + 4rem) 0 3rem;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(82, 183, 136, .18), transparent 60%),
        linear-gradient(160deg, var(--vert-800), var(--vert-950));
    color: var(--blanc);
}
.legal-hero .section-tag { color: var(--vert-300); }
.legal-hero .container { max-width: 820px; }
.legal-hero h1 { color: var(--blanc); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; }

.legal-section { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--blanc); }
.legal-section .container { max-width: 820px; }
.legal-section h2 { margin: 2.5rem 0 .9rem; font-size: 1.75rem; font-weight: 600; }
.legal-section h2:first-child { margin-top: 0; }
.legal-section h3 { margin: 1.5rem 0 .6rem; font-size: 1.3rem; font-weight: 600; }
.legal-section p { margin-bottom: 1rem; }
.legal-section ul { margin: 0 0 1rem 1.25rem; list-style: disc; }
.legal-section li { margin-bottom: .4rem; }
.legal-section li::marker { color: var(--vert-500); }
.legal-section strong { color: var(--encre); }
.legal-section a { color: var(--vert-700); text-decoration: underline; text-underline-offset: 2px; }
.update-date { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ligne); font-size: .88rem; font-style: italic; color: var(--texte-doux); }

/* ========== Mouvement réduit ========== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hero-waves, .metiers-track { animation: none !important; }
    .hero-waves span { display: none; }
    .metiers-band { overflow-x: auto; }
}

/* ========== Impression ========== */
@media print {
    .member-card.showcase-slide { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 1rem; break-inside: avoid; }
    .showcase-slide .member-body > * { opacity: 1; transform: none; }
    .showcase-nav, .showcase-progress, .showcase-thumbs { display: none !important; }
    .navbar, .scroll-progress, .hero-waves, .hero-grain, .scroll-indicator, .metiers-band, .lightbox, .members-toolbar, .adhesion-form-container { display: none !important; }
    .hero { min-height: auto; padding: 2rem 0; background: none; color: #000; }
    .hero-media { display: none; }
    .hero-title-main { color: #000; background: none; }
    .js [data-reveal] { opacity: 1 !important; animation: none !important; }
    .avantages-section, .footer { background: none; color: #000; }
}

/* Page « Badge membre » (badge.html) */
.badge-intro { max-width: 720px; margin: 1.2rem auto 0; color: var(--vert-100); font-size: 1.05rem; line-height: 1.7; }
.badge-outil h2 { display: flex; align-items: center; gap: .7rem; margin-top: 2.6em; }
.badge-outil h2:first-child { margin-top: 0; }
.badge-etape { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--vert-800); color: var(--blanc); font: 600 .9rem/1 var(--font-sans); flex: none; }
.badge-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.badge-carte { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.1rem 1.2rem; border: 2px solid var(--vert-100); border-radius: 16px; background: var(--creme); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.badge-carte:has(input:checked) { border-color: var(--vert-600); box-shadow: 0 0 0 4px var(--vert-50); }
.badge-carte input { position: absolute; top: 1rem; right: 1rem; width: 1.1rem; height: 1.1rem; accent-color: var(--vert-700); }
.badge-carte__titre { font: 600 1.05rem/1.3 var(--font-sans); color: var(--vert-900); padding-right: 2rem; }
.badge-carte__texte { font-size: .9rem; line-height: 1.5; color: var(--vert-800); }
.badge-carte img, .badge-carte__apercu { margin-top: auto; max-width: 100%; height: auto; border-radius: 12px; }
.badge-carte__apercu a { pointer-events: none; }
.badge-options { display: grid; gap: 1rem; margin: 1.4rem 0 0; }
.badge-champ[hidden] { display: none; }
.badge-champ { display: grid; gap: .4rem; font: 600 .9rem/1.4 var(--font-sans); color: var(--vert-900); }
.badge-champ small { font-weight: 400; color: var(--vert-700); }
.badge-champ input { width: 100%; max-width: 520px; padding: .75rem .9rem; border: 1px solid var(--vert-300); border-radius: 10px; font: 400 1rem/1.3 var(--font-sans); color: var(--vert-950); background: var(--blanc); }
.badge-champ input:focus { outline: 2px solid var(--vert-600); outline-offset: 1px; }
.badge-case { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--vert-100); border-radius: 12px; background: var(--vert-50); cursor: pointer; line-height: 1.5; }
.badge-case input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--vert-700); }
.badge-case small { color: var(--vert-800); }
.badge-apercu { display: grid; gap: 0; margin-top: 1.2rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--vert-100); }
.badge-apercu__fond { padding: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.badge-apercu__fond > div { display: contents; }
.badge-apercu__fond--sombre { background: var(--vert-950); }
.badge-apercu__fond--clair { background: var(--blanc); }
.badge-note { font-size: .88rem; color: var(--vert-700); margin-top: .6rem; }
.badge-code { display: grid; gap: .8rem; margin-top: 1.2rem; }
.badge-code textarea { width: 100%; padding: 1rem; border: 1px solid var(--vert-300); border-radius: 12px; background: var(--vert-950); color: var(--vert-100); font: 400 .82rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; white-space: pre; overflow: auto; }
.badge-code .btn { justify-self: start; }
.badge-liste { padding-left: 1.2rem; line-height: 1.7; }
.badge-liste li + li { margin-top: .5rem; }
.badge-telecharger { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 700px) {
  .badge-grille { grid-template-columns: 1fr; }
  .badge-apercu__fond { padding: 1rem; }
}
