/* ===== Romain Duinat — feuille de style (esthétique inspirée d'echo-acoustique.fr) ===== */
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette echo-acoustique.fr (Blocksy) */
  --lime: #bcea33;        /* palette-color-1 */
  --lime-hover: #aed92d;  /* palette-color-2 */
  --black: #000000;
  --ink: #1b1b1b;         /* pied de page */
  --text: #2b2b2b;
  --muted: #696767;
  --grey-bg: #f5f5f5;
  --white: #ffffff;
  --olive-900: #222515;   /* bandeau à motif */
  --olive-700: #46522b;
  /* Acrostiche (couleurs du visuel de Romain) */
  --v-r: #047696; --v-o: #e0650c; --v-m: #358927; --v-a: #a87400; --v-i: #55347a; --v-n: #0d62a8;

  --radius-xl: 25px; --radius-lg: 20px; --radius-md: 15px; --radius-sm: 10px;
  --shadow: 0 5px 20px rgba(210, 213, 218, .55);
  --shadow-strong: 0 12px 30px -10px rgba(0, 0, 0, .35);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.25; color: var(--black); }
p { margin: 0 0 1em; }
a { color: inherit; }
sup { font-size: .6em; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--lime); color: var(--black); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* Barre de progression de lecture */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 15px 28px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font: 600 17px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-lime:hover { background: var(--lime-hover); box-shadow: 0 10px 22px -10px rgba(120, 160, 20, .7); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 20px 36px; font-size: 18px; }
.btn-block { width: 100%; }

/* ===== En-tête ===== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header.is-scrolled { background: rgba(27, 27, 27, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .35s; }
.is-scrolled .header-inner { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--lime); color: var(--lime); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.brand-name { font-weight: 600; font-size: 1.15rem; }
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav ul { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { position: relative; color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px; padding: .4rem 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav ul a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { position: relative; min-height: min(100svh, 880px); display: flex; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(1000px 600px at 75% 20%, rgba(70, 82, 43, .85), transparent 65%), radial-gradient(800px 500px at 10% 100%, rgba(70, 82, 43, .55), transparent 60%), linear-gradient(160deg, #15170d 0%, var(--olive-900) 50%, #121212 100%); }
.hero-waves { position: absolute; inset: -30px; background: url("assets/waves.svg") center / cover no-repeat; opacity: .9; transition: transform .6s var(--ease); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 2rem 3rem; width: min(1240px, 100% - 3rem); padding: calc(var(--header-h) + 2rem) 0 4rem; }
.hero-portrait { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; margin: 0; width: clamp(240px, 26vw, 340px); transition: transform .6s var(--ease); }
.hero-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl); border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.hero-portrait figcaption { display: inline-block; margin-top: -1.4rem; margin-left: 1.2rem; position: relative; padding: .45rem .9rem; border-radius: var(--radius-sm); background: var(--lime); color: var(--black); font-size: 14px; font-weight: 600; }
.hero-bottom { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero-box { max-width: 820px; padding: 2.2rem 2.75rem; border-radius: var(--radius-xl); background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: 1rem; }
.hero-roles { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .3rem; }
.hero-roles li { font-size: clamp(1rem, 1.5vw, 1.12rem); color: rgba(255, 255, 255, .92); }
.hero-motto { margin: 0; color: var(--lime); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.hero-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.hero-link { color: var(--white); text-decoration: none; font-weight: 500; }
.hero-link:hover { color: var(--lime); }

/* ===== Sections ===== */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-grey { background: var(--grey-bg); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.label { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 8px; background: var(--lime); color: var(--black); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.section-head h2 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); line-height: 1.3; }
.section-intro { margin: 1.1rem auto 0; max-width: 62ch; color: var(--muted); font-size: 1.05rem; }

/* ===== Qui suis-je ===== */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-visual { position: relative; margin: 0; max-width: 460px; justify-self: center; }
.about-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-strong); }
.about-lead { font-size: 1.2rem; font-weight: 600; color: var(--black); }
.values { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.values li { display: flex; align-items: center; gap: 1.25rem; padding: .7rem 0; border-bottom: 1px solid var(--black); }
.values li:first-child { border-top: 1px solid var(--black); }
.v-letter { flex: none; width: 3.2rem; text-align: center; font-size: 2.6rem; line-height: 1; font-weight: 800; }
.v-word { font-size: 1.25rem; font-weight: 600; color: var(--black); }
.v-r .v-letter { color: var(--v-r); } .v-o .v-letter { color: var(--v-o); } .v-m .v-letter { color: var(--v-m); }
.v-a .v-letter { color: var(--v-a); } .v-i .v-letter { color: var(--v-i); } .v-n .v-letter { color: var(--v-n); }
.about-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ===== Bandeau citation ===== */
.quote-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--olive-900) url("assets/waves.svg") center / cover no-repeat; color: var(--white); text-align: center; }
.quote { margin: 0 auto; max-width: 900px; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; font-weight: 600; color: var(--white); }
.quote figcaption { margin-top: 1.4rem; color: var(--lime); font-weight: 600; letter-spacing: .02em; }
.quote figcaption::before { content: "— "; }

/* ===== Ma vision ===== */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.intro-lead { font-weight: 600; color: var(--black); font-size: 1.1rem; }
.accordion { margin-top: 1.8rem; }
.accordion details { border-bottom: 1px solid var(--black); }
.accordion summary { position: relative; list-style: none; cursor: pointer; padding: 1rem 0 1rem 2.2rem; font-weight: 600; color: var(--black); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before, .accordion summary::after { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.accordion summary::before { width: 20px; height: 20px; border-radius: 50%; background: var(--black); }
.accordion summary::after { left: 5px; width: 10px; height: 10px; background:
  linear-gradient(var(--white), var(--white)) center / 10px 2px no-repeat,
  linear-gradient(var(--white), var(--white)) center / 2px 10px no-repeat; transition: transform .3s; }
.accordion details[open] summary::after { background: linear-gradient(var(--white), var(--white)) center / 10px 2px no-repeat; }
.accordion details p { margin: 0; padding: 0 0 1.2rem 2.2rem; color: var(--muted); }
.intro-visual { position: relative; padding: 2rem 1.5rem; }
.ladder { position: relative; padding: 2.5rem 2.25rem; border-radius: var(--radius-xl); color: var(--white); background: var(--ink) url("assets/waves.svg") center / cover no-repeat; box-shadow: var(--shadow-strong); }
.ladder-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; counter-reset: lvl; }
.ladder li { counter-increment: lvl; position: relative; padding: .9rem 0 .9rem 3rem; border-top: 1px solid rgba(255, 255, 255, .14); color: #d9d9d9; font-size: .95rem; line-height: 1.45; }
.ladder li::before { content: counter(lvl); position: absolute; left: 0; top: .95rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--black); font-weight: 700; font-size: .85rem; }
.ladder li span { display: block; color: var(--white); font-weight: 600; font-size: 1.05rem; }
.badge { position: absolute; margin: 0; padding: .8rem 1.1rem; border-radius: var(--radius-md); background: var(--white); color: var(--black); font-weight: 600; font-size: .95rem; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .3); }
.badge-top { top: 0; left: 0; }
.badge-bottom { bottom: 0; right: 0; }

/* ===== Bandeau CTA ===== */
.cta-band { padding: 2.2rem 0; background: var(--olive-900) url("assets/waves.svg") center / cover no-repeat; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; padding: 2.2rem 2.8rem; border-radius: var(--radius-xl); background: var(--lime); }
.cta-text { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--black); }

/* ===== Engagements ===== */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .25); }
.card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.card-sub { font-size: .92rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.card p { font-size: .98rem; }
.card > p:last-child { margin-bottom: 0; }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.4rem; border-radius: var(--radius-md); background: var(--black); }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-featured { color: #e6e6e6; background: var(--ink); }
.card-featured::before { content: ""; position: absolute; inset: 0; background: url("assets/waves.svg") center / cover no-repeat; opacity: .55; pointer-events: none; }
.card-featured > * { position: relative; }
.card-featured h3 { color: var(--white); }
.card-featured .card-sub { color: var(--lime); }
.card-featured .card-icon { background: var(--lime); }
.card-featured .card-icon svg { stroke: var(--black); }
.card-btn { margin-top: auto; align-self: flex-start; }
.card-featured p + .card-btn { margin-top: 1rem; }
.ticks { list-style: none; margin: .2rem 0 0; padding: 1rem 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.5rem; font-size: .95rem; font-weight: 500; color: var(--white); line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }

/* ===== Parcours (récit en trois temps) ===== */
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.story-card { display: flex; flex-direction: column; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.story-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .22); }
.story-top { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; min-height: 170px; padding: 1.5rem 1.75rem; color: var(--white); background: var(--olive-900) url("assets/waves.svg") center / cover no-repeat; }
.story-num { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--lime); }
.story-key { font-size: 1.2rem; font-weight: 600; }
.story-body { padding: 1.75rem; }
.story-body h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.story-body p { margin: 0; color: var(--muted); }
.saisines { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.saisines li { position: relative; overflow-wrap: break-word; padding-left: 1.2rem; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.saisines li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.story-body strong { color: var(--black); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .45rem; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 500; font-size: .97rem; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--black); font-weight: 700; font-size: .78rem; }

/* ===== Vie associative ===== */
.assos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.asso { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 1.75rem; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .15)), var(--olive-700) url("assets/waves.svg") center / cover no-repeat; transition: transform .35s var(--ease); }
.asso:nth-child(2) { background-color: #3a4424; }
.asso:nth-child(3) { background-color: #2f361d; }
.asso:hover { transform: translateY(-6px); }
.asso h3 { color: var(--white); font-size: 1.3rem; }
.asso-role { align-self: flex-start; margin: 1rem 0 0; padding: .45rem .9rem; border-radius: var(--radius-sm); background: var(--lime); color: var(--black); font-weight: 600; font-size: .92rem; }
.events { margin-top: 3rem; text-align: center; }
.events h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.chips li { padding: .6rem 1.1rem; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow); font-weight: 500; color: var(--black); }
.center-cta { margin: 2.75rem 0 0; text-align: center; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-links a { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; overflow-wrap: anywhere; }
.contact-links a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .25); }
.contact-links svg { flex: none; width: 48px; height: 48px; padding: 12px; border-radius: var(--radius-sm); background: var(--lime); fill: none; stroke: var(--black); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-links svg .fill { fill: var(--black); stroke: none; }
.contact-links strong { display: block; color: var(--black); }
.contact-form { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-xl); background: var(--grey-bg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; color: var(--black); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #d6d6d6; border-radius: var(--radius-sm); background: var(--white); font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(188, 234, 51, .6); }
.form-note { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
/* Formulaire Web3Forms : obligatoire, erreurs, case de consentement, message d'état, pot de miel */
.form-required { margin: 0 0 1rem; font-size: .85rem; color: var(--muted); }
.req { color: #4d6b00; font-weight: 700; }
.field-error { margin: .4rem 0 0; font-size: .88rem; font-weight: 600; color: #b3261e; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; align-items: start; }
.field-check input { width: 22px; height: 22px; padding: 0; margin: .15rem 0 0; accent-color: var(--black); cursor: pointer; }
.field-check input:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.field-check label { margin: 0; font-weight: 500; font-size: .93rem; line-height: 1.45; cursor: pointer; }
.field-check .field-error { grid-column: 2; }
.field-check.has-error input { outline: 2px solid #b3261e; outline-offset: 2px; }
.form-status { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; border-left: 5px solid var(--black); background: var(--white); }
.form-status.is-success { border-left-color: var(--lime); background: #f3fbdc; color: var(--black); }
.form-status.is-error { border-left-color: #b3261e; background: #fdecea; color: #7a1a14; }
.form-status:focus { outline: none; box-shadow: 0 0 0 3px rgba(188, 234, 51, .6); }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Parcours professionnel ===== */
.pro-strip { padding: 2.2rem 0; background: var(--grey-bg); text-align: center; }
.pro h2 { font-size: .95rem; font-weight: 600; color: var(--black); margin-bottom: .3rem; }
.pro h2 span { font-weight: 400; font-style: italic; color: var(--muted); }
.pro p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ===== Pied de page ===== */
.site-footer { background: var(--ink); color: #c9c9c9; padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2.5rem; }
.footer-col h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: #c9c9c9; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--lime); }
.footer-col p { margin: 0; }
.footer-col .lime-link { color: var(--lime); }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-motto { color: var(--lime); font-weight: 600; font-size: 1.1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3.5rem; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--white); text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }

/* ===== Animations au défilement (fadeInUp) ===== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ===== Vidéo d'arrière-plan « du local au national » ===== */
.hero-video, .band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-bg { background-color: #111; }
.hero-video ~ .hero-waves { opacity: .32; }
.hero-bg::after { background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 55%), linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%); }
.hero-place { position: absolute; z-index: 1; left: max(1.5rem, calc((100% - 1240px) / 2)); bottom: 1.4rem; margin: 0; display: flex; align-items: center; gap: .6rem; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.hero-place::before { content: ""; width: 28px; height: 1px; background: var(--lime); }
.hero-place-num { color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.hero-place.is-on { opacity: 1; }
.no-js .hero-place { display: none; }
.band-video { z-index: -2; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(34, 37, 21, .62), rgba(34, 37, 21, .62)), url("assets/waves.svg") center / cover no-repeat; }
@media (prefers-reduced-motion: reduce) {
  .hero-place { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .1); cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; } .nav-toggle-bar::after { top: 6px; }
  .nav-open .nav-toggle-bar { background: transparent; }
  .nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.5rem 1.5rem; background: rgba(27, 27, 27, .98); }
  .nav-open .site-nav { display: flex; }
  .nav-open .site-header { background: rgba(27, 27, 27, .98); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav ul a::after { display: none; }
  .about, .intro, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .about-visual { max-width: 420px; }
  .story { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .assos { grid-template-columns: minmax(0, 1fr); }
  .asso { min-height: 170px; }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .container, .hero-inner { width: min(1240px, 100% - 2.5rem); }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; padding: calc(var(--header-h) + 1.5rem) 0 2.5rem; gap: 1.75rem; }
  .hero-portrait { grid-column: 1; justify-self: center; width: min(250px, 66vw); text-align: center; }
  .hero-portrait figcaption { margin-left: 0; white-space: nowrap; font-size: 13px; }
  .hero-bottom { grid-column: 1; flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .hero-box { padding: 1.6rem 1.4rem; text-align: center; }
  .hero-cta { align-items: stretch; text-align: center; }
  .hero-cta .btn { width: 100%; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cta-box { padding: 1.8rem 1.5rem; text-align: center; justify-content: center; }
  .cta-box .btn { width: 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v-letter { width: 2.6rem; font-size: 2.2rem; }
  .v-word { font-size: 1.1rem; }
  .about-cta .btn { flex: 1 1 100%; }
  .intro-visual { padding: 2.5rem 0; }
  .ladder { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Vidéo : légende sur petits écrans */
@media (max-width: 760px) {
  .hero-inner { padding-bottom: 4.2rem; }
  .hero-place { left: 1.25rem; right: 1.25rem; bottom: 1.1rem; font-size: 11.5px; line-height: 1.35; }
}

/* ===== Pages secondaires (mentions légales, confidentialité, crédits, 404) ===== */
.site-header.subpage-header { position: relative; background: var(--ink); }
.subpage-header .header-inner { height: 76px; }
.site-footer-mini { padding-top: 0; }
.site-footer-mini .footer-bottom { margin-top: 0; border-top: 0; }
.footer-bottom a[aria-current="page"] { color: var(--lime); }
.doc-page { padding: 3rem 0 4.5rem; }
.doc-page .container { max-width: 860px; }
.doc-page h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .5rem; }
.doc-page .doc-updated { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.doc-page .doc-intro { font-size: 1.05rem; }
.doc-page h2 { font-size: 1.3rem; margin: 2.4rem 0 .8rem; padding-left: .8rem; border-left: 4px solid var(--lime); }
.doc-page h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.doc-page ul { padding-left: 1.2rem; margin: 0 0 1em; }
.doc-page li { margin-bottom: .35rem; }
.doc-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.doc-page a:hover { text-decoration-color: var(--lime); }
.doc-card { background: var(--grey-bg); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin: 0 0 1em; }
.doc-card p:last-child { margin-bottom: 0; }
.doc-page .back { display: inline-block; margin-top: 2rem; font-weight: 600; }
.error-page { min-height: calc(100vh - 76px - 90px); display: grid; align-items: center; padding: 4rem 0; }
.error-page .error-code { font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 700; line-height: 1; color: var(--black); margin: 0 0 .4rem; }
.error-page .error-code span { color: var(--lime); -webkit-text-stroke: 2px var(--black); }
.error-page .error-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.form-privacy { margin: .1rem 0 1.1rem; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.form-privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .subpage-header .btn { padding: 9px 14px; font-size: 14px; }
  .doc-page { padding: 2.2rem 0 3.5rem; }
}
.error-page h1 { margin-bottom: .7rem; }
