/* ===== Polices auto-hébergées (Fontsource, subset latin) ===== */
@font-face{font-family:"Spectral";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/spectral-400.woff2") format("woff2");}
@font-face{font-family:"Spectral";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/spectral-500.woff2") format("woff2");}
@font-face{font-family:"Spectral";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/spectral-600.woff2") format("woff2");}
@font-face{font-family:"Spectral";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/spectral-400-italic.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/hanken-400.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/hanken-500.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/hanken-600.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/hanken-700.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/hanken-800.woff2") format("woff2");}

/* ===== Dissuasion — limite le téléchargement / l'ouverture des images ===== */
/* pointer-events:none => le clic droit et le glisser visent le parent, pas l'image :
   plus de « Enregistrer l'image sous… » ni « Ouvrir dans un nouvel onglet ».
   Les logos cliquables restent fonctionnels (le lien parent reçoit le clic). */
img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   EVOLIBRA — Système de design "Équilibre vivant"
   Coach exécutif Julien Mariani — Paris / Île-de-France
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Couleurs */
  --ink:        #17211C;   /* texte principal, vert-encre presque noir */
  --pine:       #223A30;   /* vert profond — marque */
  --pine-2:     #2E4A3C;
  --sage:       #6E8B7B;   /* vert vivant — secondaire */
  --sage-soft:  #C7D3CB;
  --brass:      #A8894F;   /* laiton chaud — accent, CTA */
  --brass-deep: #8A6E39;
  --limestone:  #ECEAE1;   /* fond neutre chaud */
  --paper:      #FBFAF6;   /* surfaces claires */
  --paper-2:    #F4F2EB;
  --line:       rgba(23, 33, 28, .14);
  --line-soft:  rgba(23, 33, 28, .08);
  --shadow:     0 1px 2px rgba(23,33,28,.04), 0 12px 32px rgba(23,33,28,.06);
  --shadow-lg:  0 24px 60px rgba(23,33,28,.12);

  /* Typo */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rythme */
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --r: 14px;   /* rayon */
  --r-sm: 9px;
}

/* ---- Reset léger -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--limestone);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ---- Typographie -------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--pine); }
h1 { font-size: clamp(2.35rem, 1.6rem + 3.4vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.1vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
h4 { font-size: 1.14rem; }
p { max-width: 68ch; }
strong { font-weight: 700; color: var(--pine); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--brass);
  display: inline-block;
}
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); color: var(--pine-2); line-height: 1.55; }

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-paper { background: var(--paper); }
.section-pine { background: var(--pine); color: var(--paper); }
.section-pine h1, .section-pine h2, .section-pine h3 { color: var(--paper); }
.section-pine .eyebrow { color: var(--brass); }
.section-pine .eyebrow::before { background: var(--brass); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center p { margin-inline: auto; }

/* ---- Boutons ------------------------------------------------------------ */
.btn {
  --bg: var(--brass); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--bg); color: var(--fg);
  padding: .95rem 1.6rem; border-radius: 100px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 20px rgba(168,137,79,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(168,137,79,.36); background: var(--brass-deep); }
.btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-ghost {
  --bg: transparent; --fg: var(--pine);
  border-color: var(--line); box-shadow: none; font-weight: 600;
}
.btn-ghost:hover { background: var(--paper); border-color: var(--pine); box-shadow: none; }
.section-pine .btn-ghost { --fg: var(--paper); border-color: rgba(251,250,246,.34); }
.section-pine .btn-ghost:hover { background: rgba(251,250,246,.08); border-color: var(--paper); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; text-decoration: none; color: var(--brass-deep);
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--limestone) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line-soft); background: color-mix(in srgb, var(--limestone) 96%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.brand { display: inline-flex; align-items: baseline; gap: .1rem; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--pine); letter-spacing: -.01em; }
.brand b { color: var(--brass); font-weight: 600; }
.brand span { font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-left: .55rem; align-self: center; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: 8px; color: var(--ink); transition: background .18s ease, color .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--paper); color: var(--pine); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.lang { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; color: var(--pine); }
.lang:hover { border-color: var(--pine); }

@media (max-width: 940px) {
  .nav { position: relative; justify-content: flex-start; gap: .75rem; }
  .brand { margin-right: auto; }
  .nav-cta { order: 1; }
  .nav-toggle { order: 2; display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + .55rem); right: 0; left: auto; bottom: auto;
    min-width: 210px;
    max-width: min(280px, calc(100vw - 2 * var(--gutter)));
    flex-direction: column; align-items: stretch; gap: .1rem;
    padding: .45rem;
    border-radius: 16px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    box-shadow: 0 16px 40px rgba(23, 33, 28, .18), 0 2px 6px rgba(23, 33, 28, .08);
    transform-origin: top right;
    transform: translateY(-8px) scale(.97);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1), visibility .22s;
    z-index: 90;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
  .nav-links a { padding: .65rem .85rem; font-size: 1rem; border-radius: 10px; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: color-mix(in srgb, var(--pine) 8%, transparent); color: var(--pine); }
  .nav-cta .btn { display: none; }
  .nav-scrim { position: fixed; top: 0; left: 0; right: auto; bottom: auto; width: 100vw; height: 100vh; height: 100dvh; background: rgba(23, 33, 28, .14); -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); opacity: 0; pointer-events: none; transition: opacity .22s ease; z-index: 80; }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 1.2rem; }
.hero .balance {
  display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0;
  color: var(--sage); font-family: var(--serif); font-style: italic; font-size: 1.15rem;
}
.hero .balance .rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); position: relative; }
.hero .balance .rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); transform: translate(-50%, -50%); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brass) 18%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; align-items: center; }
.hero-figure { position: relative; }
.hero-figure .frame { border-radius: 200px 200px 18px 18px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--sage-soft); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1.2rem; bottom: 1.6rem;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: .9rem 1.1rem; box-shadow: var(--shadow); max-width: 220px;
  display: flex; gap: .7rem; align-items: center;
}
.hero-badge .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--pine); color: var(--brass); display: grid; place-items: center; flex-shrink: 0; }
.hero-badge .icon svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-family: var(--sans); font-size: .95rem; color: var(--pine); }
.hero-badge small { color: var(--sage); font-size: .8rem; }

/* ---- Bandeau confiance -------------------------------------------------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--paper-2); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.4rem; }
.trust p { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-weight: 700; max-width: none; }
.trust ul { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; list-style: none; padding: 0; }
.trust li { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--pine-2); font-size: .95rem; }
.trust li svg { width: 18px; height: 18px; color: var(--brass); flex-shrink: 0; }

/* ---- Cartes ------------------------------------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .85rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sage-soft); }
.card .card-icon { width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--sage) 20%, var(--paper)); color: var(--pine); display: grid; place-items: center; }
.card .card-icon svg { width: 26px; height: 26px; }
.card h3 { color: var(--pine); }
.card p { color: var(--pine-2); font-size: .98rem; }
.card .card-meta { margin-top: auto; padding-top: .6rem; font-size: .85rem; color: var(--sage); font-weight: 700; letter-spacing: .04em; }
.card ul { padding-left: 0; list-style: none; display: grid; gap: .5rem; }
.card ul li { position: relative; padding-left: 1.6rem; font-size: .96rem; color: var(--pine-2); }
.card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }

/* Carte offre mise en avant */
.card.featured { border-color: var(--brass); box-shadow: 0 20px 44px rgba(168,137,79,.18); }
.tag { align-self: flex-start; background: var(--brass); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px; }

/* ---- Étapes / process --------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step .num { counter-increment: step; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--brass); width: 3rem; height: 3rem; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; }
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.step p { color: var(--pine-2); font-size: .98rem; }

/* ---- Citation / preuve sociale ------------------------------------------ */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.quote { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.quote .stars { color: var(--brass); letter-spacing: .1em; }
.quote blockquote { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--pine); }
.quote figcaption { font-size: .9rem; color: var(--sage); font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; color: var(--sage); }

/* ---- Split (image + texte) --------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; background: var(--sage-soft); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- FAQ (accordéon) ---------------------------------------------------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--sage-soft); }
.faq summary { cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--serif); font-size: 1.12rem; color: var(--pine); font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--brass); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem 1.3rem; color: var(--pine-2); }
.faq .faq-body p { font-size: .98rem; }
.faq .faq-body p + p { margin-top: .8rem; }

/* ---- CTA finale --------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-inner { background: var(--pine); color: var(--paper); border-radius: calc(var(--r) + 6px); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--sage-soft); margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band::after, .cta-band .cta-inner::before { content: ""; position: absolute; border-radius: 50%; }
.cta-band .cta-inner::before { width: 340px; height: 340px; background: radial-gradient(circle, color-mix(in srgb, var(--brass) 26%, transparent), transparent 70%); top: -120px; right: -80px; }

/* ---- Formulaire --------------------------------------------------------- */
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 700; font-size: .92rem; color: var(--pine); }
.field .req { color: var(--brass-deep); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--limestone); color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 26%, transparent); background: var(--paper); }
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .82rem; color: var(--sage); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--pine-2); margin-bottom: 1.3rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--brass); flex-shrink: 0; }
.consent a { color: var(--brass-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--sage); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--sage) 20%, var(--paper)); color: var(--pine); border: 1px solid var(--sage); }
.form-status.err { display: block; background: #fbeceb; color: #8a2a20; border: 1px solid #e0a59f; }

/* ---- Contact aside ------------------------------------------------------ */
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: var(--pine); color: var(--brass); display: grid; place-items: center; }
.contact-list .ci svg { width: 21px; height: 21px; }
.contact-list b { display: block; color: var(--pine); font-family: var(--sans); }
.contact-list a { color: var(--pine-2); text-decoration: none; }
.contact-list a:hover { color: var(--brass-deep); }

/* ---- Prose (pages légales) --------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.6rem; margin-bottom: .8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--pine-2); }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; display: grid; gap: .5rem; }
.prose a { color: var(--brass-deep); }
.prose .updated { font-size: .88rem; color: var(--sage); font-style: italic; }
.callout { background: var(--paper); border-left: 3px solid var(--brass); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.callout p { margin-bottom: 0; }

/* ---- Page header (pages intérieures) ------------------------------------ */
.page-head { padding-block: clamp(2.6rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lead { margin-top: 1rem; }
.breadcrumb { font-size: .82rem; color: var(--sage); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; color: var(--sage); }
.breadcrumb a:hover { color: var(--brass-deep); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c9d2cc; padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand { color: var(--paper); }
.footer-grid .brand b { color: var(--brass); }
.footer-col h4 { color: var(--paper); font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col ul li { font-size: .95rem; }
.footer-col a { color: #c9d2cc; text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--brass); }
.footer-col p { font-size: .92rem; color: #9fb0a6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .84rem; color: #8a9a90; }
.footer-bottom a { color: #8a9a90; text-decoration: none; }
.footer-bottom a:hover { color: var(--brass); }

/* ---- Accessibilité ------------------------------------------------------ */
.skip { position: absolute; left: -9999px; top: 0; background: var(--brass); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0; z-index: 999; font-weight: 700; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 3px; }

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- Utils -------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--sage); }
.hide { display: none; }

/* ---- Logo image (remplace le lockup texte) ------------------------------ */
.brand-logo { height: 120px; width: auto; display: block; }
.brand-logo-footer { height: 114px; }
.brand-fallback { display: none; align-items: baseline; }
.brand.is-text .brand-fallback { display: inline-flex; }
.brand.is-text .brand-logo { display: none; }
.brand-fallback small {
  font-family: var(--sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sage);
  margin-left: .55rem; align-self: center;
}
.footer-grid .brand-fallback small { color: var(--sage); }

/* ---- Pied de page : backlink + logos partenaires ------------------------ */
.footer-partners {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-partners .fp-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-partners .fp-links a { color: #c9d2cc; text-decoration: none; font-size: .92rem; font-weight: 600; }
.footer-partners .fp-links a:hover { color: var(--brass); }
.fp-logos { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.fp-logos > span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8a9a90; font-weight: 700; }
.fp-logos a { background: #fff; border-radius: 9px; padding: .5rem .75rem; display: inline-flex; align-items: center; height: 46px; transition: transform .18s ease; }
.fp-logos a:hover { transform: translateY(-2px); }
.fp-logos img { height: 28px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 88px; } .brand-logo-footer { height: 84px; } }

/* ---- Alignement des cartes de tarifs ------------------------------------ */
#tarifs .card { text-align: left; }
#tarifs .card-meta { margin-top: 0; padding-top: 0; }   /* étiquette ancrée en haut */
#tarifs .card h3 { min-height: 1.25em; }                /* titres sur une même ligne de base */
#tarifs .card ul { margin-top: auto; padding-top: .4rem; } /* listes alignées en bas */

/* ---- Harmonisation du lien "Accompagnement IFS" (footer) ---------------- */
.footer-partners .fp-links { font-size: .95rem; color: #9fb0a6; font-weight: 400; }
.footer-partners .fp-links a { color: #c9d2cc; font-size: .95rem; font-weight: 400; }
.footer-partners .fp-links a:hover { color: var(--brass); }
