/* =================================================================
   Antoine Dionne-Charest — Candidat libéral dans Verdun
   Charte graphique du Parti libéral du Québec
   ================================================================= */

/* ----- Police officielle du PLQ : Gilroy (auto-hébergée) ----- */
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-ExtraBold.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap;}
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-Black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap;}
@font-face{font-family:"Gilroy";src:url("../fonts/Gilroy-BoldItalic.woff2") format("woff2");font-weight:700;font-style:italic;font-display:swap;}

/* ----- Palette PLQ ----- */
:root {
  --blue:        #0079C2;
  --blue-bright: #3896CF;
  --blue-600:    #0066A3;
  --blue-deep:   #003F65;
  --blue-ink:    #002E4A;
  --blue-050:    #EBF4FA;
  --blue-100:    #D6EAF5;
  --blue-200:    #A8D1EA;

  --red:         #EB1F2F;
  --red-700:     #C51A27;
  --red-050:     #FDEDEE;

  --white:       #FFFFFF;
  --paper:       #F7F8FA;
  --grey-200:    #E2E6EC;
  --grey-400:    #9AA4B2;
  --slate:       #5B6675;
  --ink:         #16243A;

  --font: "Gilroy", "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);

  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(22,36,58,.06);
  --shadow:    0 14px 40px -18px rgba(22,36,58,.28);
  --shadow-lg: 0 40px 80px -30px rgba(0,46,74,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 80px;
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(3.8rem, 8vw, 7rem); }

/* ----- Bilingue : afficher seulement la langue active ----- */
html[lang="fr"] [data-lang="en"],
html[lang="en"] [data-lang="fr"] { display: none !important; }

/* ----- Accessibilité ----- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }

/* ----- Module flottant Loi 25 (coin inférieur gauche) ----- */
.loi25-float {
  position: fixed; left: clamp(12px, 2vw, 22px); bottom: clamp(12px, 2vw, 22px); z-index: 90;
  width: min(360px, calc(100vw - 24px));
  background: #fff; color: var(--ink);
  border-radius: 16px 28px 16px 28px; border: 1px solid var(--grey-200); border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-lg); padding: 1rem 1.1rem 1.05rem;
  animation: loi25-in .55s var(--ease) both;
}
@keyframes loi25-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.loi25-float__head { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; padding-right: 1.4rem; }
.loi25-float__icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loi25-float__head strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-deep); }
.loi25-float__text { font-size: .82rem; color: var(--slate); line-height: 1.5; margin: 0 0 .9rem; }
.loi25-float__actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.loi25-float__link { font-size: .82rem; font-weight: 700; color: var(--blue-600); }
.loi25-float__close {
  position: absolute; top: 7px; right: 9px; width: 28px; height: 28px; border: 0; background: transparent;
  font-size: 1.35rem; line-height: 1; color: var(--grey-400); cursor: pointer; border-radius: 8px;
}
.loi25-float__close:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 520px) { .loi25-float { left: 10px; right: 10px; bottom: 10px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .loi25-float { animation: none; } }

/* ----- Typographie utilitaire ----- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--blue-600);
  margin: 0 0 1rem;
}
.eyebrow--light { color: rgba(255,255,255,.92); }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--red); vertical-align: middle; margin-right: .6rem; border-radius: 2px; }

.section-title {
  font-weight: 900;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem);
  color: var(--blue-ink);
  letter-spacing: -.025em;
}
.section-title--light { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-intro { color: var(--slate); font-size: 1.1rem; margin-top: 1rem; }
.section-title--light + .section-intro, .eyebrow--light ~ .section-intro { color: rgba(255,255,255,.9); }

/* ----- Boutons ----- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: inherit; font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: .92rem 1.7rem; border-radius: 100px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  box-shadow: 0 10px 22px -12px rgba(0,121,194,.7);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 16px 30px -14px rgba(0,121,194,.8); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--red); box-shadow: 0 10px 24px -12px rgba(235,31,47,.75); }
.btn--accent:hover { --btn-bg: var(--red-700); box-shadow: 0 16px 32px -14px rgba(235,31,47,.85); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }
.btn--small { padding: .62rem 1.15rem; font-size: .9rem; }
.btn--light { background: #fff; color: var(--blue-deep); box-shadow: none; }
.btn--light:hover { background: var(--blue-050); }
.btn--block { width: 100%; }

/* =================================================================
   En-tête / Navigation
   ================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { height: 52px; width: auto; transition: opacity .3s var(--ease); }
.brand__logo--color { display: none; }

.main-nav { display: flex; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.main-nav__link {
  color: rgba(255,255,255,.92); font-weight: 600; font-size: .96rem; text-decoration: none;
  position: relative; padding: .3rem 0; transition: color .2s var(--ease);
}
.main-nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--red);
  transition: width .25s var(--ease);
}
.main-nav__link:hover { text-decoration: none; }
.main-nav__link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem; border: 1.5px solid rgba(255,255,255,.4); border-radius: 100px; }
.lang-btn {
  border: 0; background: transparent; color: rgba(255,255,255,.8); font-family: inherit; font-weight: 700;
  font-size: .82rem; padding: .25rem .6rem; border-radius: 100px; cursor: pointer; transition: all .2s var(--ease);
}
.lang-btn.is-active { background: #fff; color: var(--blue-deep); }
.lang-switch__sep { width: 1px; height: 14px; background: rgba(255,255,255,.35); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { height: 2.5px; width: 100%; background: #fff; border-radius: 3px; transition: transform .3s var(--ease), opacity .2s var(--ease); }

/* État défilé : en-tête plein, texte foncé */
.site-header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); height: 68px; }
.site-header.is-scrolled .brand__logo--white { display: none; }
.site-header.is-scrolled .brand__logo--color { display: block; }
.site-header.is-scrolled .main-nav__link { color: var(--ink); }
.site-header.is-scrolled .lang-switch { border-color: var(--grey-200); }
.site-header.is-scrolled .lang-btn { color: var(--slate); }
.site-header.is-scrolled .lang-btn.is-active { background: var(--blue); color: #fff; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative;
  background: radial-gradient(135% 130% at 76% 42%, #1C8BD0 0%, #0079C2 52%, #0A67A1 100%);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 3.5rem));
  padding-bottom: clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__flame {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%) rotate(-8deg);
  width: min(680px, 60%); opacity: .06; filter: saturate(0);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__title {
  font-weight: 900; letter-spacing: -.035em;
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5.2rem);
  margin: .4rem 0 .5rem; line-height: .95;
}
.hero__slogan {
  font-weight: 800; color: #fff;
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.9rem);
  margin: 0 0 1.2rem; letter-spacing: -.01em;
}
.hero__slogan::after { content: ""; display: block; width: 90px; height: 4px; background: var(--red); border-radius: 3px; margin-top: 1rem; }
.hero__lead { color: rgba(255,255,255,.94); font-size: 1.12rem; max-width: 38ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Portrait : cadre courbe + droit (écho de la flamme) */
.hero__portrait { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero__portrait-frame {
  position: relative;
  border-radius: 20px 120px 20px 120px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-ink) 100%);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__portrait::before {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 62%; height: 62%;
  background: var(--red); border-radius: 20px 90px 20px 90px; z-index: -1; opacity: .9;
}
.hero__portrait::after {
  content: ""; position: absolute; left: -22px; top: 34px; width: 70px; height: 70px;
  border: 4px solid var(--blue-bright); border-radius: 14px 30px 14px 30px; opacity: .6;
}
.hero__badge {
  position: absolute; left: -14px; bottom: 26px; z-index: 3;
  background: #fff; color: var(--blue-ink); padding: .7rem 1.1rem; border-radius: 12px 26px 12px 26px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.1;
}
.hero__badge strong { font-weight: 900; font-size: 1.1rem; color: var(--blue-deep); }
.hero__badge em { font-style: normal; font-weight: 600; font-size: .76rem; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }

/* =================================================================
   Séparateurs courbés / droits
   ================================================================= */
.section-curve { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 3; pointer-events: none; }
.section-curve svg { width: 100%; height: clamp(60px, 8vw, 120px); display: block; }
.section-curve--bottom { bottom: -1px; }
.section-curve--top { top: -1px; }
.section-curve svg path { fill: #fff; }
.section-curve--blue svg path { fill: var(--white); }      /* bas de la section bleue -> vers le blanc */
.section-curve--paper svg path { fill: var(--white); }

/* =================================================================
   Bandeau citation « village gaulois »
   ================================================================= */
.statement { background: var(--white); padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.statement__text {
  font-weight: 800; letter-spacing: -.02em; text-align: center; color: var(--blue-ink);
  font-size: clamp(1.3rem, 1rem + 1.9vw, 2.15rem); line-height: 1.25; max-width: 22ch; margin-inline: auto;
}
.statement__text strong { color: var(--red); }

/* =================================================================
   Parcours
   ================================================================= */
.parcours { background: var(--white); }
.parcours__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.framed-photo {
  position: relative; border-radius: 18px 90px 18px 90px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.framed-photo::after { content: ""; position: absolute; inset: 0; border: 3px solid rgba(255,255,255,.6); border-radius: inherit; pointer-events: none; }
.framed-photo img { width: 100%; height: 100%; object-fit: cover; }
.parcours__media { position: relative; }
.facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.facts li { background: #fff; border-radius: 12px; padding: 1rem .9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .2rem; }
.facts strong { font-weight: 900; font-size: 1.55rem; color: var(--blue); line-height: 1; }
.facts span { font-size: .76rem; color: var(--slate); line-height: 1.25; }

.parcours__content p { color: var(--slate); margin: 0 0 1.1rem; }
.pull {
  border-left: 4px solid var(--red); padding: .2rem 0 .2rem 1.2rem; margin-top: 1.6rem !important;
  font-weight: 700; font-style: italic; color: var(--blue-ink) !important; font-size: 1.12rem;
}

/* =================================================================
   Priorités (section bleue)
   ================================================================= */
.section--blue { background: linear-gradient(165deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
/* Plus de respiration en haut/bas car cette section a des vagues courbes qui chevauchent le contenu */
.priorites { padding-block: clamp(6.5rem, 12vw, 11rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon { width: 56px; height: 56px; border-radius: 14px 26px 14px 26px; background: var(--blue-050); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-weight: 800; font-size: 1.3rem; color: var(--blue-ink); margin-bottom: .6rem; }
.card__text { color: var(--slate); font-size: .98rem; margin: 0 0 1.3rem; }
.card__stat { display: flex; align-items: baseline; gap: .6rem; border-top: 1px solid var(--grey-200); padding-top: 1rem; margin: 0; }
.card__stat strong { font-weight: 900; font-size: 2.1rem; color: var(--red); line-height: 1; }
.card__stat span { font-size: .82rem; color: var(--slate); line-height: 1.3; }

.priorites__kicker {
  text-align: center; margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; max-width: 30ch;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 700; color: rgba(255,255,255,.95);
}
.priorites__kicker strong { color: #fff; border-bottom: 3px solid var(--red); }

/* =================================================================
   Bilan — Timeline
   ================================================================= */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--blue), var(--blue-100)); border-radius: 3px; }
.timeline__item { position: relative; padding: 0 0 2.2rem 3.2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 0; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 5px var(--blue-050); }
.timeline__item:nth-child(even) .timeline__dot { border-color: var(--red); box-shadow: 0 0 0 5px var(--red-050); }
.timeline__item h3 { font-weight: 800; font-size: 1.2rem; color: var(--blue-ink); margin-bottom: .3rem; }
.timeline__item p { color: var(--slate); margin: 0; }

/* =================================================================
   Moments — galerie + grande citation
   ================================================================= */
.section--ink { background: var(--blue-ink); color: #fff; position: relative; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.gallery__item { margin: 0; overflow: hidden; border-radius: 16px; position: relative; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

.big-quote { text-align: center; max-width: 800px; margin: 0 auto; }
.big-quote p { font-weight: 800; font-size: clamp(1.4rem, 1rem + 2vw, 2.3rem); letter-spacing: -.02em; line-height: 1.25; margin: 0 0 1rem; }
.big-quote cite { font-style: normal; font-weight: 600; color: var(--blue-200); letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.big-quote::before { content: ""; display: block; width: 54px; height: 4px; background: var(--red); border-radius: 3px; margin: 0 auto 1.6rem; }

/* =================================================================
   Contact
   ================================================================= */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__intro p { color: var(--slate); }
.contact__channels { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact__channels li { display: flex; flex-direction: column; gap: .15rem; padding-left: 1.1rem; border-left: 3px solid var(--blue-100); color: var(--slate); font-size: .95rem; }
.contact__channel-label { font-weight: 800; color: var(--blue-ink); }

/* Formulaire */
.contact__form-wrap {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow); border-top: 5px solid var(--red);
}
.contact-form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label { font-weight: 700; font-size: .9rem; color: var(--blue-ink); }
.field .opt { font-weight: 500; color: var(--grey-400); }
.req { color: var(--red); }
.field input, .field textarea, .select-wrap select {
  font-family: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .8rem .95rem; border: 1.5px solid var(--grey-200); border-radius: 11px; background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .select-wrap select:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,121,194,.13);
}
.field input.invalid, .field textarea.invalid, .select-wrap select.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(235,31,47,.12); }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem; }
.select-wrap__chevron { position: absolute; right: 1rem; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-65%) rotate(45deg); pointer-events: none; }

/* Honeypot caché */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Consentement Loi 25 */
.consent { background: var(--blue-050); border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: .8rem; }
.consent__check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .9rem; color: var(--ink); font-weight: 500; cursor: pointer; }
.consent__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.loi25 { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--slate); margin: 0; line-height: 1.45; }
.loi25__icon { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.loi25 strong { color: var(--blue-deep); }

/* Bouton avec spinner */
#submitBtn { position: relative; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-sending .btn__spinner { display: inline-block; }
.is-sending .btn__label { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-error { color: var(--red-700); }
.form-status.is-success { color: #1a7a3c; }

.form-success {
  text-align: center; padding: 1.4rem .5rem;
}
.form-success svg { width: 60px; height: 60px; margin: 0 auto .8rem; display: block; }
.form-success h3 { color: var(--blue-ink); font-size: 1.4rem; font-weight: 800; margin-bottom: .4rem; }
.form-success p { color: var(--slate); margin: 0; }

/* =================================================================
   Pied de page
   ================================================================= */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.82); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.site-footer__name { font-weight: 900; font-size: 1.35rem; color: #fff; margin: 0; letter-spacing: -.02em; }
.site-footer__role { margin: .2rem 0 0; font-size: .95rem; color: var(--blue-200); }
.site-footer__nav { display: flex; flex-direction: column; gap: .7rem; align-content: start; }
.site-footer__nav a { color: rgba(255,255,255,.82); font-weight: 600; font-size: .95rem; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__legal { padding-block: 1.6rem 2.4rem; display: grid; gap: .5rem; }
.loi25-mini { font-size: .82rem; color: var(--blue-200); margin: 0; }
.legal-auth { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; font-style: italic; }
.copy { font-size: .82rem; color: rgba(255,255,255,.55); margin: .4rem 0 0; }

/* =================================================================
   Menu mobile + responsive
   ================================================================= */
@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem var(--pad) 1.5rem;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav__link { color: var(--ink) !important; padding: 1rem .2rem; border-bottom: 1px solid var(--grey-200); }
  .main-nav__link::after { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* quand le menu est ouvert sur le hero, garder les barres visibles */
  .site-header:not(.is-scrolled) .nav-toggle[aria-expanded="true"] span { background: var(--ink); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__portrait { order: -1; max-width: 300px; margin-bottom: 1rem; }
  .hero__lead { max-width: 46ch; }
  .parcours__grid { grid-template-columns: 1fr; }
  .parcours__media { max-width: 460px; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .lang-switch { padding: .15rem; }
}

/* =================================================================
   Animations au défilement
   ================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gallery__item img, .btn { transition: none !important; }
}

/* =================================================================
   Pages légales (politique de confidentialité)
   ================================================================= */
.site-header--solid { position: sticky; background: #fff; box-shadow: var(--shadow-sm); height: 68px; }
.site-header--solid .brand__logo--white { display: none; }
.site-header--solid .brand__logo--color { display: block; }
.site-header--solid .lang-switch { border-color: var(--grey-200); }
.site-header--solid .lang-btn { color: var(--slate); }
.site-header--solid .lang-btn.is-active { background: var(--blue); color: #fff; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--blue-600); font-weight: 700; font-size: .92rem; }
.back-link::before { content: "←"; font-size: 1.1em; }

.legal { background: var(--paper); padding-bottom: clamp(3rem, 7vw, 5rem); }
.legal__hero { background: linear-gradient(165deg, var(--blue-deep) 0%, var(--blue-ink) 100%); color: #fff; padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3.4rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.legal__hero .container { position: relative; z-index: 2; }
.legal__hero h1 { font-weight: 900; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -.025em; }
.legal__hero p { color: var(--blue-100); margin: .6rem 0 0; }
.legal__flame { position: absolute; right: -4%; top: -10%; width: min(420px, 50%); opacity: .07; filter: saturate(0); z-index: 1; }

.legal-content {
  max-width: 840px; margin: clamp(-2.6rem, -4vw, -3.4rem) auto 0; position: relative; z-index: 5;
  background: #fff; padding: clamp(1.6rem, 4vw, 3.2rem); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border-top: 5px solid var(--red);
}
.legal-content h2 { color: var(--blue-ink); font-weight: 800; font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal-content h2:first-of-type { margin-top: .5rem; }
.legal-content p, .legal-content li { color: var(--slate); }
.legal-content ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-content strong { color: var(--blue-ink); }
.legal-callout { background: var(--blue-050); border-left: 4px solid var(--blue); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.legal-callout p { margin: 0; color: var(--blue-deep); font-size: .95rem; }
.legal-updated { font-size: .85rem; color: var(--grey-400); margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--grey-200); }
.legal-note { font-size: .82rem; background: var(--red-050); border: 1px dashed var(--red); color: var(--red-700); padding: .7rem .9rem; border-radius: 10px; }
