/* ==========================================================================
   CT Digital — feuille de style principale
   Couleurs, typographies et composants de la charte « Cap ».
   Pour changer une couleur partout : modifiez la variable dans :root.
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-semibold.woff") format("woff"); }

:root {
  --ink: #0E1B2C;          /* bleu encre : couleur principale */
  --ink-2: #0A1420;        /* footer */
  --ink-line: #22324A;
  --ivory: #F5F2EA;        /* fond principal */
  --sand: #EAE5D8;         /* sections alternées */
  --line: #E2DCCD;
  --white: #FFFFFF;
  --brass: #B4894A;        /* laiton : détails uniquement */
  --brass-light: #C9A06A;  /* laiton sur fond foncé */
  --brass-text: #7E5D2A;   /* laiton lisible sur fond clair */
  --text: #1B1F24;
  --text-2: #3A4250;
  --muted: #4A5566;
  --muted-2: #5B6470;
  --on-ink: #C7CFD9;
  --on-ink-2: #B9C2CE;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ivory); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #3A4A60; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
.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: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Mise en page ---------- */
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section--tight { padding-top: 64px; padding-bottom: 64px; }
.section--flush-top { padding-top: 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--ivory); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .split__aside { flex: 1 1 320px; min-width: 0; }
.split > .split__main { flex: 999 1 560px; min-width: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--sm { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--lg { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.section-head { max-width: 780px; display: flex; flex-direction: column; gap: 14px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

/* ---------- Typographie ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); }
.bg-ink .eyebrow, .eyebrow--light { color: var(--brass-light); }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 58px); line-height: 1.07; color: var(--ink); letter-spacing: -0.01em; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; color: var(--ink); }
.h2--sm { font-size: clamp(26px, 3vw, 34px); }
.bg-ink .h2, .bg-ink .display { color: var(--ivory); }
.h3 { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 620px; }
.muted { color: var(--muted); }
.bg-ink .lead, .bg-ink .muted { color: var(--on-ink); }
.serif-num { font-family: var(--serif); font-weight: 500; line-height: 1; }
.link-arrow { font-weight: 600; }
.small { font-size: 14px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 22px; border-radius: 8px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: #1C2D45; color: var(--ivory); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1.5px #5B6B7F; }
.btn--ghost-light:hover { color: var(--ivory); box-shadow: inset 0 0 0 1.5px var(--ivory); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 234, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav__item { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 0; font: inherit; color: var(--ink); cursor: pointer; }
.nav__toggle svg { transition: transform .15s ease; }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.mega { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: min(760px, 90vw); background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(14, 27, 44, 0.16); padding: 28px; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav__item.is-open .mega { display: grid; }
.mega__title { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 10px; }
.mega ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mega a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink); }
.mega a:hover { background: var(--ivory); }
.mega a small { display: block; color: var(--muted-2); font-size: 13px; }
.lang-switch { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.burger { display: none; width: 48px; height: 48px; border-radius: 10px; border: 0; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a, .nav__toggle { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 16px; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; padding: 8px 0 16px; grid-template-columns: 1fr; gap: 16px; background: transparent; }
  .nav .btn { margin-top: 16px; }
  .lang-switch { align-self: flex-start; margin-top: 16px; }
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { font-size: 14px; color: var(--muted-2); padding-top: 28px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero--page { align-items: flex-end; padding-top: 40px; padding-bottom: 80px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__media { flex: 1 1 340px; min-width: 0; position: relative; }
.hero__media img { width: 100%; height: 500px; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-lg); }
.hero__badge { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--ivory); border-radius: 10px; padding: 9px 14px; font-size: 14px; }
.hero__badge b { font-weight: 600; }
.hero__badge span:last-child { color: var(--brass-light); font-size: 13px; }
.hero__badge i { width: 1px; height: 14px; background: #3A4A60; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.rating strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--brass); }
.stars--lg svg { width: 20px; height: 20px; }
.check { display: inline-flex; gap: 6px; }
.check::before { content: "✓"; color: var(--brass-text); font-weight: 600; }
.aside-card { flex: 1 1 300px; min-width: 0; background: var(--white); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.aside-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.price-card { flex: 1 1 320px; min-width: 0; background: var(--ink); color: var(--ivory); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.price-card__price { font-family: var(--serif); font-size: 48px; line-height: 1; }
.price-card__price small { font-family: var(--sans); font-size: 16px; color: var(--on-ink-2); }
.price-card ul { list-style: none; padding: 14px 0 0; border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #DDE3EA; }

/* ---------- Bandeau clients ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 28px; padding-bottom: 28px; }
.logos__label { font-size: 13px; color: var(--muted-2); }
.logos__name { font-family: var(--serif); font-size: 20px; color: var(--text-2); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--brass-light); }
.stat__label { font-size: 15px; color: var(--on-ink); }

/* ---------- Cartes ---------- */
.card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--muted); }
.card--ivory { background: var(--ivory); }
.card--ink { background: var(--ink); color: var(--ivory); border-radius: var(--radius-lg); padding: 32px; }
.card--ink p { color: var(--on-ink); }
.card--ink .h3 { color: var(--ivory); }
.card--outlined { box-shadow: 0 0 0 2px var(--ink); }
.card__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-text); }
.card__big { font-family: var(--serif); font-size: 30px; color: var(--brass-light); }
.card__num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--brass); }
.card__foot { margin-top: auto; font-weight: 600; color: var(--ink); }

/* Grille de services (cases jointives) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.tiles--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.tile { background: var(--ivory); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
a.tile:hover { background: var(--white); }
.tile strong { font-weight: 600; color: var(--ink); }
.tile span { font-size: 14px; color: var(--muted); }
.tiles--wide .tile { padding: 26px; }
.tiles--wide .tile span { font-size: 15px; }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 24px; border-bottom: 1px solid #EEE9DD; vertical-align: top; }
.compare thead th { font-weight: 600; color: var(--muted-2); border-bottom-color: var(--line); padding-top: 20px; padding-bottom: 20px; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--muted); }
.compare .is-us { background: var(--ink); color: var(--ivory); font-weight: 500; border-bottom-color: var(--ink-line); }
.compare thead .is-us { background: var(--brass-light); color: var(--ink); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; }
.step__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--brass); }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Formules ---------- */
.plan { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__name { font-size: 21px; font-weight: 600; color: var(--ink); }
.plan__price { font-family: var(--serif); font-size: 36px; color: var(--ink); line-height: 1.2; }
.plan__price small { font-family: var(--sans); font-size: 15px; color: var(--muted-2); }
.plan ul { padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); color: var(--ivory); }
.plan--featured .plan__name, .plan--featured .plan__price { color: var(--ivory); }
.plan--featured p { color: var(--on-ink); }
.plan--featured ul { color: #DDE3EA; }
.plan--featured .plan__price small { color: var(--on-ink-2); }
.badge { font-size: 12px; font-weight: 600; background: var(--brass-light); color: var(--ink); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Cas clients ---------- */
.case { background: var(--ivory); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.case__client { font-size: 13px; color: var(--muted-2); }
.case__value { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
.case__result { font-size: 15px; color: var(--text-2); }
.case__mission { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.case--ink { background: var(--ink); border-radius: var(--radius-lg); padding: 36px; }
.case--ink .case__client, .case--ink .case__mission { color: var(--on-ink-2); border-color: var(--ink-line); }
.case--ink .case__value { color: var(--brass-light); font-size: 56px; }
.case--ink .case__result { color: var(--ivory); font-size: 16px; }

/* ---------- Avis ---------- */
.review { background: var(--white); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.review blockquote { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: var(--ink); }
.review figcaption { font-size: 15px; color: var(--muted); margin-top: auto; }
.review figcaption strong { color: var(--ink); }
.carousel { position: relative; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 24px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .review { flex: 0 0 100%; scroll-snap-align: start; min-height: 300px; }
.carousel__controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 20px; }
.carousel__count { font-size: 14px; color: var(--muted-2); }
.round-btn { width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: var(--ivory); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.round-btn--dark { background: var(--ink); box-shadow: none; color: var(--ivory); }
.rating-box { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 12px; padding: 14px 18px; text-decoration: none; }
.rating-box__score { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--ink); }
.rating-box small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: 12px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Listes ---------- */
.pain-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: 12px; padding: 20px 22px; color: var(--text-2); }
.pain-list svg { flex-shrink: 0; margin-top: 2px; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; color: var(--text-2); }
.check-list li::before { content: "✓ "; color: var(--brass-text); font-weight: 600; }
.bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.bg-ink .bullets { color: #DDE3EA; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.tags li { background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 14px; color: var(--ink); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.links-grid a { text-decoration: none; background: var(--white); border-radius: 10px; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.links-grid a::after { content: "→"; color: var(--brass); }
.note { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-2); background: var(--sand); border-radius: 10px; padding: 12px 16px; }

/* Frise */
.timeline { list-style: none; padding: 0; }
.timeline li { border-left: 2px solid #D8CFBA; padding: 0 0 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.timeline li:last-child { border-left-color: var(--ink); padding-bottom: 0; }
.timeline p { color: var(--muted); }

/* Bandeaux */
.panel { background: var(--white); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.panel--ink { background: var(--ink); color: var(--ivory); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; padding: 48px; }
.panel--ink .panel__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.panel--ink .panel__actions { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.panel--ink p { color: var(--on-ink); }
.quote-band { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 18px; }
.quote-band p:first-child { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; color: var(--ivory); max-width: 900px; }
.quote-band p:last-child { color: var(--brass-light); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__intro .h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; }
.contact__links { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.contact__links a, .contact__links span { color: var(--ivory); text-decoration: none; display: flex; gap: 12px; align-items: center; }
.contact__links span { color: var(--on-ink); }
.form { flex: 999 1 520px; min-width: 0; background: var(--ivory); color: var(--text); border-radius: var(--radius-lg); padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 14px; border-radius: 8px; border: 1px solid #CFC7B4; background: var(--white); color: var(--text); width: 100%; }
.form textarea { resize: vertical; min-height: 130px; }
.form .full { grid-column: 1 / -1; }
.form .consent { flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--muted); }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted-2); }
.form__alert { grid-column: 1 / -1; background: #FBE9E7; color: #8A1C12; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pages légales ---------- */
.legal { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.legal__toc { flex: 1 1 240px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.legal__toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.legal__toc a { color: var(--text-2); text-decoration: none; }
.legal__body { flex: 999 1 600px; min-width: 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 36px; color: var(--text-2); line-height: 1.7; }
.legal__body section { display: flex; flex-direction: column; gap: 12px; }
.legal__body h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); }
.legal__body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink-2); color: var(--on-ink-2); font-size: 14px; }
.site-footer a { color: var(--on-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 48px; }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { max-width: 420px; }
.footer__brand .brand span { color: var(--ivory); }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__title { font-weight: 600; color: var(--ivory); }
.footer__bottom { border-top: 1px solid #1E2B3C; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.social { width: 44px; height: 44px; border-radius: 8px; background: #16243A; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Divers ---------- */
.center-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: 96px; padding-bottom: 96px; }
.sitemap-list { columns: 2 280px; column-gap: 48px; }
.sitemap-list h2 { break-after: avoid; }
.sitemap-list ul { list-style: none; padding: 0 0 28px; display: flex; flex-direction: column; gap: 8px; break-inside: avoid; }

@media (max-width: 640px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 40px; gap: 40px; }
  .hero__media img { height: 420px; }
  .review { padding: 28px; }
  .panel, .panel--ink { padding: 28px; }
  .form { padding: 24px; }
  .plan, .card--ink { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__track { scroll-behavior: auto; }
}
mark.todo { background: #F3E6C9; color: #5A3E12; padding: 1px 6px; border-radius: 4px; }
.card--ink .h2 { color: var(--ivory); }
.split > .tiles, .split > .grid { align-self: start; }

/* ---------- v2 : sélecteur de langue, menu mobile, bouton flottant ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; color: var(--ink); }
.lang-switch:hover { background: var(--white); }
.lang-switch__long { display: none; }
@media (max-width: 1080px) {
  .nav > a.btn { justify-content: center; border-bottom: 0; padding: 14px 22px; margin-top: 20px; font-size: 16px; }
  .nav > a.lang-switch { width: auto; align-self: center; justify-content: center; border-bottom: 0; margin-top: 14px; padding: 10px 18px; font-size: 14px; letter-spacing: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); }
  .lang-switch__short { display: none; }
  .lang-switch__long { display: inline; }
}

/* Bouton contact flottant (mobile uniquement) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--ivory); display: none; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(201, 160, 106, 0.55), 0 10px 26px rgba(14, 27, 44, 0.28); opacity: 0; transform: translateY(12px) scale(0.92); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fab:hover { color: var(--ivory); background: #1C2D45; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 1080px) { .fab { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }
