/* =========================================================================
   Site TOLTEKA · feuille de style commune (reprise de la v3 « Riviera » du site de Thomas Gillot)
   Gabarit maître des sites TOLTEKA (cabinet et conseillers) : couleurs du screen
   de la cliente, formes arrondies et effets de la v3. Seuls les jetons et le
   contenu changent d'un site à l'autre.
   ========================================================================= */

/* ---------- 1. Jetons ---------- */
:root {
  /* Palette du screen TOLTEKA (maquette de la cliente) */
  --clair: #F7F9FB;            /* fond des pages, texte clair sur fond nuit */
  --blanc: #FFFFFF;
  --encre: #16303F;            /* texte principal, boutons pleins (13,0 sur fond) */
  --nuit: #14303F;             /* en-tête, bandeaux sombres, pied de page */
  --nuit-2: #1D3D4E;           /* surface posée sur la nuit */
  --nuit-3: #0F2632;           /* bas du pied de page */
  --menthe: #97ECDF;
  --menthe-pale: #E3F6F3;      /* fond de la méthode, pastilles */
  --menthe-halo: #CBF7F2;      /* halo des icônes de diagnostic */
  --turquoise: #6EEAD5;        /* boutons (texte encre : 9,4) */
  --turquoise-vif: #2ED8B5;    /* mots d'accent sur fond nuit (7,6) */
  --turquoise-texte: #0F8A76;  /* mots d'accent sur fond clair, grands textes seulement (4,05) */

  /* Teintes dérivées, contrastes vérifiés */
  --texte-2: #4A6170;          /* secondaire sur fond (6,15), blanc (6,49), menthe (4,75) */
  --texte-menthe: #355766;     /* secondaire sur menthe (5,68) */
  --clair-2: #C5D3DA;          /* secondaire sur nuit (8,99) */
  --trait: rgba(20, 48, 63, .10);
  --trait-fort: rgba(20, 48, 63, .22);
  --trait-champ: #6E8794;      /* bord des champs, 3,78 sur blanc */
  --erreur: #A3261B;           /* 6,98 sur fond, 7,37 sur blanc */

  /* Polices */
  --f-texte: "Hanken Grotesk", "Hanken repli", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-accent: "Spectral", Georgia, "Times New Roman", serif;

  /* Formes */
  --r-xl: 40px;
  --r-l: 28px;
  --r-m: 20px;
  --r-s: 14px;
  --r-pill: 999px;
  --ombre-1: 0 1px 2px rgba(20, 48, 63, .05), 0 10px 30px -14px rgba(20, 48, 63, .22);
  --ombre-2: 0 2px 6px rgba(20, 48, 63, .06), 0 34px 70px -32px rgba(20, 48, 63, .42);

  /* Mise en page */
  --conteneur: 1240px;
  --marge: clamp(20px, 4vw, 48px);
  --section: clamp(60px, 7vw, 104px);
  --haut-entete: 104px;
  --h-entete: 84px;           /* hauteur réelle de l’en-tête (marge haute + pilule) */

  /* Mouvement */
  --courbe: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Polices locales (aucun appel à Google) ---------- */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken repli";
  src: local("Arial");
  size-adjust: 97%;
  ascent-override: 98%;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--haut-entete);
}
body {
  margin: 0;
  background: var(--clair);
  color: var(--encre);
  font: 400 1.0625rem/1.65 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.conteneur {
  width: min(100% - 2 * var(--marge) - env(safe-area-inset-left) - env(safe-area-inset-right), var(--conteneur));
  margin-inline: auto;
}
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--encre); color: var(--clair); padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 650; text-decoration: none; transition: top .2s var(--courbe);
}
.evitement:focus { top: 12px; }

:focus-visible { outline: 2.5px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
.sombre :focus-visible { outline-color: var(--turquoise); }

/* Repères d'information manquante : discrets, le site reste présentable */
.a-completer { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: .22em; }

/* Accent typographique : un mot en serif italique */
.accent { font-family: var(--f-accent); font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.surligne {
  text-decoration: underline;
  text-decoration-color: var(--menthe);
  text-decoration-thickness: .24em;
  text-underline-offset: .02em;
  text-decoration-skip-ink: none;
}

/* ---------- 4. Éléments communs ---------- */
.etiquette {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  background: var(--menthe-pale); color: var(--encre);
  font-size: .875rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.3;
}
.etiquette::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--encre); }
.etiquette--blanche { background: var(--blanc); }
/* Pastille « en ligne » : point vert clair dont l'intensité baisse puis remonte, rythme moyen */
.etiquette--en-ligne::before { width: 9px; height: 9px; background: #3DDC84; animation: en-ligne 2.2s ease-in-out infinite; }
@keyframes en-ligne {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
  50% { opacity: .45; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0); }
}
.etiquette--sombre { background: rgba(247, 249, 251, .08); color: var(--clair); border: 1px solid rgba(110, 234, 213, .45); }
.etiquette--sombre::before { background: var(--turquoise); }

.titre-section { font-size: clamp(2.05rem, 1.25rem + 2.6vw, 3.5rem); letter-spacing: -.035em; }
.chapo { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--texte-2); }

.section { padding-block: var(--section); }
.section__entete { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__entete .titre-section { margin-top: 18px; }
.section__intro { color: var(--texte-2); max-width: 32rem; }
@media (min-width: 1024px) {
  .section__entete { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; column-gap: 64px; }
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  font-weight: 650; font-size: 1rem; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--courbe), box-shadow .25s var(--courbe), background-color .2s, color .2s, border-color .2s;
  touch-action: manipulation;
}
.bouton svg { flex: none; transition: transform .25s var(--courbe); }
.bouton:hover { transform: translateY(-2px); }
.bouton:hover .fleche { transform: translateX(3px); }
.bouton:active { transform: translateY(0) scale(.98); }
.bouton--plein { background: var(--encre); color: var(--clair); box-shadow: 0 14px 30px -16px rgba(20, 48, 63, .7); }
.bouton--plein:hover { background: var(--nuit); }
.bouton--turquoise { background: var(--turquoise); color: var(--encre); }
.bouton--turquoise:hover { background: var(--menthe); }
.bouton--blanc { background: var(--blanc); color: var(--encre); border-color: var(--trait-fort); }
.bouton--blanc:hover { border-color: var(--encre); }
.bouton--menthe { background: var(--menthe); color: var(--encre); }
.bouton--menthe:hover { background: var(--blanc); }
.bouton--large { width: 100%; }
.bouton[disabled] { opacity: .6; cursor: progress; transform: none; }

.lien { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.lien:hover { text-decoration-thickness: 2px; }
.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 650; text-decoration: none; color: var(--encre);
}
.lien-fleche span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.lien-fleche svg { transition: transform .25s var(--courbe); }
.lien-fleche:hover svg { transform: translateX(4px); }

.pastille {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--r-s);
  background: var(--menthe-pale); color: var(--encre);
}
.photo-mention {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92); color: var(--encre);
  font-size: .8125rem; font-weight: 550; line-height: 1.3;
}


/* Fiche (mentions) et réseaux */
.fiche { margin: 28px 0 0; padding: 6px 22px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); }
.fiche > div { display: grid; gap: 4px; padding: 15px 0; border-top: 1px solid var(--trait); }
.fiche > div:first-child { border-top: 0; }
.fiche dt { color: var(--texte-2); font-size: .875rem; font-weight: 650; }
.fiche dd { margin: 0; }
@media (min-width: 640px) { .fiche > div { grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; } }
.reseaux { list-style: none; display: flex; gap: 10px; margin-top: 20px; }
.reseaux a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-1);
  transition: transform .25s var(--courbe), background-color .2s;
}
.reseaux a:hover { transform: translateY(-2px); color: var(--blanc); }
.reseau--instagram:hover { background: #E4405F !important; }
.reseau--facebook:hover { background: #0866FF !important; }
.reseau--linkedin:hover { background: #0A66C2 !important; }
.pied__colonnes .reseaux--sombre { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 2px; }
.pied__colonnes .reseaux--sombre a { display: grid; min-height: 0; width: 40px; height: 40px; background: var(--nuit-2); color: var(--clair); box-shadow: none; border: 1px solid rgba(247, 249, 251, .14); text-decoration: none; }
.pied__colonnes .reseaux--sombre a:hover { color: var(--blanc); border-color: transparent; }
.pied__colonnes .reseaux--sombre svg { width: 19px; height: 19px; }

/* ---------- 5. En-tête flottant : pilule nuit et grand logo TOLTEKA ---------- */
.entete { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
.entete__barre {
  display: flex; align-items: center; gap: 16px; min-height: 72px;
  padding: 8px 8px 8px 28px; border-radius: var(--r-pill);
  background: rgba(20, 48, 63, .84); color: var(--clair);
  border: 1px solid rgba(247, 249, 251, .1);
  box-shadow: 0 18px 40px -22px rgba(9, 24, 32, .75);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color .3s;
}
.entete--defile .entete__barre { background: rgba(20, 48, 63, .95); }
.entete :focus-visible { outline-color: var(--turquoise); }
.marque { display: flex; align-items: center; margin-right: auto; padding: 6px 0; text-decoration: none; color: inherit; min-width: 0; }
.marque__logo { width: clamp(150px, 7vw + 110px, 220px); height: auto; }
.entete__nav ul { list-style: none; display: flex; gap: 2px; }
.entete__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  color: var(--clair); font-weight: 550; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.entete__nav a:hover { background: rgba(247, 249, 251, .09); }
.entete__nav a[aria-current="page"] { background: rgba(110, 234, 213, .15); color: var(--turquoise-vif); }
.entete .bouton { min-height: 52px; padding: 0 24px; }
.entete__cta-court { display: none; }
.entete__menu { display: none; }
@media (max-width: 1339px) {
  .entete__barre { flex-wrap: wrap; row-gap: 8px; gap: 10px; border-radius: 30px; padding-left: 22px; }
  .entete .bouton { order: 1; }
  .entete__menu { order: 2; }
  .entete__nav { order: 3; flex: 1 1 100%; }
  .entete__nav ul { flex-wrap: wrap; gap: 6px; padding: 0 0 4px; }
  .entete__nav a { min-height: 42px; padding: 0 16px; background: rgba(247, 249, 251, .08); font-size: .9375rem; }
  :root { --haut-entete: 150px; }
  /* avec JavaScript : bouton Menu et panneau, plus de ligne d'onglets */
  html.js { --haut-entete: 96px; }
  html.js .entete__barre { border-radius: var(--r-pill); }
  html.js .entete--ouvert .entete__barre { border-radius: 30px; }
  html.js .entete__menu {
    display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(247, 249, 251, .1); color: var(--clair); cursor: pointer;
    transition: background-color .2s, color .2s;
  }
  html.js .entete--ouvert .entete__menu { background: var(--turquoise); color: var(--encre); }
  html.js .entete__nav { display: none; }
  html.js .entete--ouvert .entete__nav { display: block; animation: menu-entree .28s var(--courbe) both; }
  html.js .entete__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 0 6px; border-top: 1px solid rgba(247, 249, 251, .12); }
  html.js .entete__nav li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  html.js .entete__nav a { justify-content: center; width: 100%; min-height: 52px; border-radius: 16px; text-align: center; white-space: normal; }
}
.entete__menu-icone { position: relative; display: block; width: 18px; height: 12px; }
.entete__menu-icone span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: top .25s var(--courbe), transform .25s var(--courbe);
}
.entete__menu-icone span:first-child { top: 2px; }
.entete__menu-icone span:last-child { top: 8px; }
.entete--ouvert .entete__menu-icone span { top: 5px; }
.entete--ouvert .entete__menu-icone span:first-child { transform: rotate(45deg); }
.entete--ouvert .entete__menu-icone span:last-child { transform: rotate(-45deg); }
@keyframes menu-entree { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 560px) {
  .entete__cta-long { display: none; }
  .entete__cta-court { display: inline; }
  .entete .bouton { padding: 0 18px; }
  .entete__barre { padding-left: 18px; }
}
/* petit écran : le rendez-vous reste dans la barre d'actions du bas */
@media (max-width: 420px) { html.js .entete .bouton { display: none; } }

/* Cercles concentriques, rappel du « O » du logo (ouverture, bandeaux sombres, méthode) */
.cercles { display: block; pointer-events: none; }
.cercles__rotation { transform-box: view-box; transform-origin: 50% 50%; animation: tourner 90s linear infinite; }   /* le symbole tourne autour du centre de son grand croissant */
@keyframes tourner { to { transform: rotate(360deg); } }


/* ---------- 6. Ouverture : la mer en plein cadre, fondu nuit ---------- */
.mer {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  margin-top: calc(-1 * var(--h-entete));
  min-height: min(100svh, 920px);
  padding: calc(var(--h-entete) + clamp(48px, 8vw, 112px)) 0 clamp(64px, 8vw, 112px);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: var(--nuit); color: var(--clair);
}
.mer__fond { position: absolute; inset: 0; z-index: -2; }
.mer__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
html.js .mer__fond img { animation: mer-entree 2.6s var(--courbe) both; }
.mer__fond::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 48, 63, .97) 0%, rgba(20, 48, 63, .9) 28%, rgba(20, 48, 63, .5) 54%, rgba(20, 48, 63, .04) 82%),
    linear-gradient(180deg, rgba(20, 48, 63, .72) 0%, rgba(20, 48, 63, 0) 26%),
    linear-gradient(0deg, rgba(20, 48, 63, .6) 0%, rgba(20, 48, 63, 0) 32%);
}
@media (min-width: 1024px) {
  /* comme sur la maquette : la photo occupe la droite, la gauche reste nuit, fondu entre les deux */
  .mer__fond { left: 28%; }
  .mer__fond img { object-position: 12% 50%; }
  .mer__fond::after {
    background:
      linear-gradient(90deg, rgba(20, 48, 63, 1) 0%, rgba(20, 48, 63, .78) 18%, rgba(20, 48, 63, .3) 42%, rgba(20, 48, 63, 0) 64%),
      linear-gradient(180deg, rgba(20, 48, 63, .6) 0%, rgba(20, 48, 63, 0) 22%),
      linear-gradient(0deg, rgba(20, 48, 63, .5) 0%, rgba(20, 48, 63, 0) 28%);
  }
}
@keyframes mer-entree { from { transform: scale(1.12); filter: saturate(.8) brightness(.85); } to { transform: scale(1); filter: none; } }
.mer > .cercles { position: absolute; z-index: -1; left: -200px; top: -190px; width: 640px; color: var(--turquoise); opacity: .17; }
.mer__titre { max-width: 19ch; font-size: clamp(2.6rem, 1.3rem + 4.2vw, 4.9rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; }
.mer__titre .accent { display: block; color: var(--turquoise-vif); letter-spacing: -.02em; }
.mer__chapo { margin-top: 26px; max-width: 36rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--clair-2); }
.mer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.mer__piliers {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  max-width: 36rem; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(247, 249, 251, .24);
  font-size: .8125rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
}
.mer__piliers li { display: flex; align-items: center; gap: 18px; }
.mer__piliers li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--turquoise-vif); }
.mer__mention { position: absolute; right: var(--marge); bottom: 22px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(20, 48, 63, .55); color: var(--clair); font-size: .8125rem; font-weight: 550; }
@media (max-width: 767px) {
  .mer { min-height: 0; align-items: flex-end; }
  .mer__fond::after { background: linear-gradient(180deg, rgba(20, 48, 63, .78) 0%, rgba(20, 48, 63, .45) 34%, rgba(20, 48, 63, .9) 72%, rgba(20, 48, 63, .97) 100%); }
  .mer__fond img { object-position: 72% 50%; }
  .mer__mention { display: none; }
}

/* Couleurs des mots d'accent */
.accent--vif { color: var(--turquoise-vif); }
.accent--clair { color: var(--turquoise-texte); }
.vif { color: var(--turquoise-vif); font-weight: 650; }

/* ---------- 7. Cartes photo : projets et articles ---------- */
.cartes { list-style: none; display: grid; gap: 22px; }
@media (min-width: 760px) { .cartes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cartes { grid-template-columns: repeat(3, 1fr); } }
.carte {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--blanc); border-radius: var(--r-l); box-shadow: var(--ombre-1);
  transition: transform .4s var(--courbe), box-shadow .4s var(--courbe);
}
.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre-2); }
.carte__image { margin: 10px 10px 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--r-l) - 8px); background: var(--menthe-pale); }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--courbe); }
.carte:hover .carte__image img { transform: scale(1.05); }
.carte__corps { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 26px 24px; }
.carte__corps h3 { font-size: 1.45rem; letter-spacing: -.03em; }
.carte__corps p { color: var(--texte-2); }
.carte__corps .lien-fleche { margin-top: auto; padding-top: 4px; }
.carte .etiquette { align-self: flex-start; font-size: .8125rem; padding: 5px 13px 5px 10px; }
.carte .etiquette::before { width: 6px; height: 6px; }

@media (min-width: 640px) and (max-width: 759px) { .cartes--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cartes--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 760px) { .cartes--2 { grid-template-columns: repeat(2, 1fr); } }
.carte { position: relative; }
.carte__image { position: relative; }
.carte__icone {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--nuit); color: var(--clair);
  box-shadow: 0 10px 24px -10px rgba(9, 24, 32, .7);
}
.carte h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.22; }
.cartes--2 .carte h3 { font-size: 1.55rem; }
.carte__suite { display: block; color: var(--turquoise-texte); }
.carte__lien { color: inherit; text-decoration: none; }
.carte__lien::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.carte__lien:focus-visible { outline: none; }
.carte:has(.carte__lien:focus-visible) { outline: 2.5px solid var(--encre); outline-offset: 3px; }
.carte__fleche {
  display: grid; place-items: center; width: 44px; height: 44px; margin-top: auto; border-radius: 50%;
  background: var(--menthe-pale); color: var(--encre); transition: background-color .25s, transform .3s var(--courbe);
}
.carte:hover .carte__fleche { background: var(--turquoise); transform: translateX(4px); }
.carte__categorie {
  position: absolute; left: 14px; top: 14px; z-index: 1; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .95); color: var(--turquoise-texte);
  font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
}
.carte__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--trait); font-weight: 650; font-size: .9375rem; }
.carte__pied svg { transition: transform .25s var(--courbe); }
.carte:hover .carte__pied svg { transform: translateX(4px); }
.carte__pied .a-completer { font-weight: 500; color: var(--texte-2); font-size: .8125rem; }
.carte.est-masquee { display: none; }

.section__entete--action { align-items: end; }
.section__entete--action .section__intro { margin-top: 14px; }
@media (min-width: 1024px) { .section__entete--action { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 1023px) { .section__entete--action > .bouton { justify-self: start; } }


/* ---------- 8. Bandeau nuit : mini-diagnostics ---------- */
.bandeau-nuit {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl);
  background: var(--nuit); color: var(--clair);
}
.bandeau-nuit > .cercles { position: absolute; z-index: -1; right: -170px; bottom: -220px; width: 600px; color: var(--turquoise); opacity: .12; }
.diagnostics { display: grid; gap: 36px; }
@media (min-width: 1100px) { .diagnostics { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: center; gap: 48px; } }
.diagnostics__texte .titre-section { margin-top: 18px; font-size: clamp(2rem, 1.3rem + 1.6vw, 2.75rem); }
.diagnostics__texte > p:not(.etiquette) { margin-top: 18px; max-width: 26rem; color: var(--clair-2); }
.diagnostics__cartes { list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .diagnostics__cartes { grid-template-columns: repeat(3, 1fr); } }
.diagnostic {
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border-radius: var(--r-l); background: var(--blanc); color: var(--encre);
  transition: transform .35s var(--courbe), box-shadow .35s var(--courbe);
}
.diagnostic:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.diagnostic__icone { display: grid; place-items: center; flex: none; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: var(--menthe-halo); color: var(--encre); }
.diagnostic h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.diagnostic p { color: var(--texte-2); font-size: .9375rem; }
.diagnostic__action { margin-top: auto; padding-top: 10px; }
.diagnostic .bouton { min-height: 48px; padding: 0 20px; font-size: .9375rem; }


/* ---------- 9. L'équipe ---------- */
.equipe__grille { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .equipe__grille { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; } }
.equipe__texte .titre-section { margin-top: 18px; }
.equipe__texte .chapo { margin-top: 22px; color: var(--encre); font-weight: 500; }
.equipe__texte > p:not(.chapo):not(.etiquette) { margin-top: 14px; color: var(--texte-2); }
.equipe__texte > .zone-texte { margin-top: 14px; color: var(--texte-2); }
.equipe__texte > .zone-texte > * + * { margin-top: 14px; }
.atouts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 30px 0 32px; }
@media (min-width: 640px) { .atouts { grid-template-columns: repeat(4, 1fr); } }
.atouts li {
  display: grid; justify-items: center; align-content: start; gap: 12px; padding: 20px 10px 18px;
  border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-1);
  text-align: center; font-size: .875rem; font-weight: 650; line-height: 1.3;
}
.atouts .pastille { border-radius: 50%; }
.atouts--grands { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
.atouts--grands li { padding: 30px 18px 26px; font-size: 1.0625rem; }
.atouts--grands .pastille { width: 58px; height: 58px; }
.atouts--grands li p { font-weight: 450; font-size: .9375rem; color: var(--texte-2); }
.equipe__photo { position: relative; }
.cadre-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-xl); background: var(--menthe-pale); box-shadow: var(--ombre-2); }
.cadre-photo--large { aspect-ratio: 16 / 7; }
@media (max-width: 767px) { .cadre-photo--large { aspect-ratio: 4 / 3; } }
.cadre-photo > img { width: 100%; height: 100%; object-fit: cover; }
.cadre-attente {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-content: center; justify-items: center; gap: 10px; height: 100%; padding: 32px; text-align: center;
  background: radial-gradient(circle at 28% 22%, var(--menthe) 0%, var(--menthe-pale) 52%, var(--clair) 100%);
}
.cadre-attente > .cercles { position: absolute; z-index: -1; right: -120px; bottom: -140px; width: 420px; color: var(--encre); opacity: .08; }
.cadre-attente .pastille { width: 66px; height: 66px; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre-1); }
.cadre-attente strong { font-size: 1.2rem; letter-spacing: -.02em; }
.cadre-attente span { max-width: 22rem; font-size: .9375rem; color: var(--texte-2); }

/* Fiches des conseillers (page L'équipe) */
.membres { list-style: none; display: grid; gap: 18px; }
@media (min-width: 640px) { .membres { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .membres { grid-template-columns: repeat(3, 1fr); } }
.membre { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); transition: transform .4s var(--courbe), box-shadow .4s var(--courbe); }
.membre:hover { transform: translateY(-6px); box-shadow: var(--ombre-2); }
.membre__photo {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  margin: 10px 10px 0; aspect-ratio: 1 / 1; border-radius: calc(var(--r-l) - 8px);
  background: radial-gradient(circle at 30% 25%, var(--menthe) 0%, var(--menthe-pale) 60%, var(--clair) 100%);
}
.membre__photo > .cercles { position: absolute; z-index: -1; right: -90px; bottom: -100px; width: 280px; color: var(--encre); opacity: .08; }
.membre__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.membre__initiales { font-size: clamp(3rem, 2rem + 3vw, 4.2rem); font-weight: 750; letter-spacing: -.06em; color: var(--encre); }
.membre__corps { display: grid; gap: 4px; padding: 20px 22px 22px; }
.membre__nom { font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; }
.membre__role { color: var(--texte-2); font-size: .9375rem; }
.membre__liens { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }

/* ---------- 10. Méthode : panneau collant sur fond menthe ---------- */
.methode__fond {
  position: relative; isolation: isolate; padding: clamp(28px, 5vw, 72px);
  border-radius: var(--r-xl); background: var(--menthe-pale);
  overflow: clip;                              /* rogne les cercles sans casser le panneau collant */
  clip-path: inset(0 round var(--r-xl));       /* repli pour les navigateurs sans overflow: clip */
}
.methode__fond > .cercles { position: absolute; z-index: -1; right: -160px; top: -160px; width: 520px; color: var(--turquoise); opacity: .55; }
.methode .etiquette { background: var(--blanc); }
.methode__zone { display: grid; gap: 20px; }
.panneau { display: none; }
.etapes { list-style: none; display: grid; gap: 18px; position: relative; }
.etape {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px;
  padding: 26px 26px 28px; border-radius: var(--r-l); background: var(--blanc);
  border: 1.5px solid transparent; box-shadow: var(--ombre-1);
  transition: opacity .35s var(--courbe), box-shadow .35s var(--courbe), border-color .35s, transform .35s var(--courbe);
}
.etape__numero {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--menthe-pale); font-weight: 750; font-size: .95rem; letter-spacing: -.02em;
}
.etape h3 { font-size: 1.35rem; letter-spacing: -.025em; padding-top: 9px; }
.etape p { margin-top: 10px; }
.etape__duree { display: inline-flex; margin-top: 14px; padding: 5px 13px; border-radius: var(--r-pill); background: var(--menthe); font-size: .8125rem; font-weight: 650; }
@media (max-width: 1023px) {
  .etapes::before { content: ""; position: absolute; left: 49px; top: 30px; bottom: 30px; width: 2px; background: var(--menthe); z-index: -1; }
}
@media (min-width: 1024px) {
  .methode__zone { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .panneau {
    display: flex; flex-direction: column; justify-content: space-between;
    grid-column: 1 / 6; position: sticky; top: var(--haut-entete);
    height: min(70vh, 560px); padding: 36px; overflow: hidden;
    border-radius: var(--r-xl); background: var(--turquoise); color: var(--encre);
  }
  .panneau::after {
    content: ""; position: absolute; right: -90px; bottom: -90px; width: 320px; height: 320px;
    border-radius: 50%; border: 2px solid rgba(20, 48, 63, .16); pointer-events: none;
  }
  .panneau__haut { display: flex; justify-content: space-between; font-weight: 650; font-size: .95rem; }
  .panneau__etats { position: relative; flex: 1; }
  .panneau__etat { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity .2s linear; }
  .panneau__etat.est-actif, .panneau__etat--statique { opacity: 1; }
  .methode__zone--suivie .panneau__etat--statique { opacity: 0; }
  .panneau__numero { display: block; font-size: min(clamp(6rem, 2rem + 9.5vw, 12rem), 30vh); font-weight: 750; letter-spacing: -.07em; line-height: .85; }
  .panneau__mot { display: block; margin-top: 10px; font-family: var(--f-accent); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -.015em; }
  .panneau__progression { display: flex; gap: 8px; margin-top: 28px; position: relative; z-index: 1; }
  .panneau__progression span { flex: 1; height: 6px; border-radius: var(--r-pill); background: rgba(20, 48, 63, .2); transition: background-color .25s; }
  .panneau__progression span.est-active { background: var(--encre); }
  .etapes { grid-column: 7 / 13; gap: 14vh; padding-block: 4vh 16vh; }
  .methode__zone--suivie .etape { opacity: .78; box-shadow: none; }
  .methode__zone--suivie .etape.est-active { opacity: 1; border-color: var(--turquoise); box-shadow: var(--ombre-2); transform: translateX(-6px); }
}


/* ---------- 11. Témoignages ---------- */
.temoignages__grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .temoignages__grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; } }
.temoignages__visuel {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: 480px; padding: clamp(16px, 4vw, 48px); border-radius: var(--r-xl); box-shadow: var(--ombre-2);
}
.temoignages__visuel > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.avis {
  position: relative; width: min(100%, 440px); margin-left: auto; padding: 30px 32px 22px;
  border-radius: var(--r-l); background: rgba(255, 255, 255, .96); box-shadow: var(--ombre-2);
}
@media (max-width: 767px) { .temoignages__visuel { min-height: 0; padding: 200px 12px 12px; } .avis { margin: 0; width: 100%; padding: 26px 22px 18px; } }
.avis__guillemet { display: block; height: 30px; font-family: var(--f-accent); font-style: italic; font-weight: 300; font-size: 4.2rem; line-height: .8; color: var(--turquoise-texte); }
.avis__piste { display: grid; }
.avis__item { grid-area: 1 / 1; margin: 0; transition: opacity .5s var(--courbe), visibility .5s; }
html.js [data-carrousel] .avis__item { opacity: 0; visibility: hidden; }
html.js [data-carrousel] .avis__item.est-actif { opacity: 1; visibility: visible; }
html:not(.js) [data-carrousel] .avis__item:not(:first-child) { display: none; }
.avis__item blockquote { margin: 0; }
.avis__item blockquote p { font-family: var(--f-accent); font-style: italic; font-weight: 300; font-size: 1.25rem; line-height: 1.5; letter-spacing: -.01em; }
.avis__auteur { margin-top: 14px; font-size: .875rem; font-weight: 650; color: var(--texte-2); }
.avis__points { display: flex; gap: 4px; margin: 14px 0 0 -8px; }
html:not(.js) .avis__points { display: none; }
.avis__point { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.avis__point::before { content: ""; width: 10px; height: 10px; border-radius: 6px; border: 1.5px solid var(--turquoise-texte); transition: background-color .2s, width .3s var(--courbe); }
.avis__point[aria-current="true"]::before { width: 26px; background: var(--turquoise-texte); }
.temoignages__texte .titre-section { margin-top: 18px; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.coches { list-style: none; display: grid; gap: 16px; margin: 28px 0 32px; }
.coches li { display: flex; align-items: center; gap: 14px; font-weight: 600; line-height: 1.35; }
.coches svg { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; border: 1.5px solid var(--turquoise-texte); color: var(--turquoise-texte); }
.avis-grille { list-style: none; display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 760px) { .avis-grille { grid-template-columns: repeat(3, 1fr); } }
.avis-grille li { padding: 26px 26px 22px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); }
.avis-grille blockquote { margin: 0; }
.avis-grille blockquote p { font-family: var(--f-accent); font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.5; }


/* ---------- 12. Expertises : tuiles photo ---------- */
.expertises { list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .expertises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .expertises { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .expertise { grid-column: span 2; }
  .expertise:nth-child(-n+2) { grid-column: span 3; min-height: 420px; }
}
/* Six tuiles (avec Éducation financière) : deux grandes, puis quatre sur une ligne */
@media (min-width: 1100px) {
  .expertises:has(> .expertise:nth-child(6)) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .expertises:has(> .expertise:nth-child(6)) .expertise { grid-column: span 3; }
  .expertises:has(> .expertise:nth-child(6)) .expertise:nth-child(-n+2) { grid-column: span 6; }
}
.expertise {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 360px; padding: 26px; border-radius: var(--r-xl); background: var(--nuit); color: var(--clair);
  box-shadow: var(--ombre-1); transition: transform .4s var(--courbe), box-shadow .4s var(--courbe);
}
.expertise:hover { transform: translateY(-6px); box-shadow: var(--ombre-2); }
.expertise > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--courbe); }
.expertise:hover > img { transform: scale(1.05); }
.expertise::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 48, 63, .96) 0%, rgba(20, 48, 63, .6) 46%, rgba(20, 48, 63, .05) 100%); }
.expertise__icone { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--turquoise); color: var(--encre); }
.expertise h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); letter-spacing: -.03em; }
.expertise p { margin-top: 8px; max-width: 30rem; color: var(--clair-2); }
.expertise .carte__lien::after { border-radius: var(--r-xl); }
.expertise__pied { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 650; color: var(--turquoise-vif); }
.expertise:has(.carte__lien:focus-visible) { outline: 2.5px solid var(--encre); outline-offset: 3px; }


/* ---------- 13. Bandeau d'appel « Échangeons sur votre situation » ---------- */
.appel { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px); }
.appel__panneau {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(26px, 5vw, 72px); border-radius: var(--r-xl);
  background: var(--nuit); color: var(--clair);
}
.appel__panneau > .cercles { position: absolute; z-index: -1; left: -130px; top: 50%; width: 440px; margin-top: -220px; color: var(--turquoise); opacity: .14; }
@media (min-width: 900px) {
  .appel__panneau { grid-template-columns: minmax(0, 1fr) auto; padding-left: clamp(200px, 24vw, 330px); }
  .appel__panneau > .cercles { opacity: .32; }
}
.appel__titre { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); letter-spacing: -.035em; }
.appel__texte { margin-top: 12px; max-width: 34rem; font-size: 1.125rem; color: var(--clair-2); }
.appel .bouton { min-height: 58px; padding: 0 30px; }


/* ---------- 14. Pied de page ---------- */
.pied { padding: clamp(48px, 6vw, 80px) 0 32px; border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--nuit); color: var(--clair); }
.pied__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(247, 249, 251, .14); }
.pied__logo { width: clamp(190px, 14vw + 60px, 270px); height: auto; }
.pied__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.pied__nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: var(--r-pill); color: var(--clair); font-weight: 550; font-size: .9375rem; text-decoration: none; transition: background-color .2s, color .2s; }
.pied__nav a:hover { background: rgba(247, 249, 251, .08); color: var(--turquoise-vif); }
.pied .reseaux { margin: 0; }
.pied .reseaux a { width: 44px; height: 44px; background: var(--nuit-2); color: var(--clair); box-shadow: none; border: 1px solid rgba(247, 249, 251, .14); }
.pied__colonnes { margin-top: 36px; }
.pied__colonnes { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 36px; }
@media (min-width: 560px) { .pied__colonnes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pied__colonnes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.pied__colonnes h3 { margin-bottom: 12px; color: var(--turquoise-vif); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pied__colonnes p, .pied__colonnes li { color: var(--clair-2); line-height: 1.55; font-size: .9375rem; }
.pied__colonnes ul { list-style: none; display: grid; gap: 2px; }
.pied__colonnes a { display: inline-flex; align-items: center; min-height: 36px; color: var(--clair); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
.pied__colonnes a:hover { color: var(--turquoise-vif); text-decoration-thickness: 2px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(247, 249, 251, .14); font-size: .875rem; color: var(--clair-2); }
.pied__bas a { color: var(--clair); text-underline-offset: .22em; }
.pied__bas a:hover { color: var(--turquoise-vif); }
.pied__legal { max-width: 60rem; }

/* ---------- 15. Contact : rendez-vous et formulaire ---------- */
.rdv__panneau { display: grid; overflow: hidden; border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-2); }
@media (min-width: 1024px) { .rdv__panneau { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.rdv__gauche { padding: clamp(28px, 4.2vw, 60px); background: var(--menthe); }
.rdv__gauche .etiquette { background: var(--blanc); }
.rdv__gauche .titre-section { margin-top: 18px; }
.rdv__gauche .chapo { margin-top: 18px; color: var(--encre); }
.puces { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.puces li { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .65); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.options { display: grid; gap: 12px; margin-top: 28px; }
.option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: var(--r-m); background: var(--blanc); }
.option h3 { font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.25; }
.option p { margin-top: 6px; font-size: .9375rem; color: var(--texte-2); }
.option .bouton { margin-top: 14px; min-height: 46px; padding: 0 20px; font-size: .95rem; }
.option__note { font-size: .8125rem !important; }
.option__telephone { display: inline-block; margin-top: 6px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.option__telephone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.option a.lien[data-courriel] { display: inline-block; margin-top: 4px; padding: 6px 0; overflow-wrap: anywhere; }
.rdv__droite { padding: clamp(28px, 4.2vw, 60px); }
.rdv__agenda { grid-column: 1 / -1; padding: clamp(24px, 4vw, 48px); border-top: 1px solid var(--trait); }
.agenda__entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 600; }
.agenda__cadre { overflow: hidden; border-radius: var(--r-m); border: 1px solid var(--trait); }
.bouton-lien { background: none; border: 0; padding: 10px 0; cursor: pointer; font-weight: 650; }

/* Formulaire */
.formulaire h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; }
.formulaire__note { margin-top: 10px; font-size: .9375rem; color: var(--texte-2); }
.formulaire__grille { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 640px) { .formulaire__grille { grid-template-columns: 1fr 1fr; column-gap: 16px; } }
.champ--large { grid-column: 1 / -1; }
.champ label:not(.case) { display: block; margin-bottom: 8px; font-weight: 650; font-size: .9375rem; }
.champ input:not([type="checkbox"]), .champ select, .champ textarea {
  display: block; width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid var(--trait-champ); border-radius: var(--r-s); background: var(--blanc);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ select {
  -webkit-appearance: none; appearance: none; padding-right: 46px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316303F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.champ input:not([type="checkbox"]):focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); box-shadow: 0 0 0 4px var(--menthe-pale); outline: none; }
.champ input:not([type="checkbox"]):focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2.5px solid var(--encre); outline-offset: 2px; }
.champ [aria-invalid="true"] { border-color: var(--erreur) !important; }
.champ__aide { margin-top: 8px; font-size: .875rem; color: var(--texte-2); }
.champ__erreur { margin-top: 8px; color: var(--erreur); font-size: .875rem; font-weight: 600; }
.champ__erreur:empty { margin: 0; }
.case { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9375rem; line-height: 1.5; }
.case input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--encre); cursor: pointer; }
.case.est-en-erreur { color: var(--erreur); }
.case.est-en-erreur input { outline: 2px solid var(--erreur); outline-offset: 2px; }
.formulaire__politique { display: inline-flex; margin-top: 6px; padding: 8px 0 4px 34px; font-size: .9375rem; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__etat { font-size: .9375rem; color: var(--erreur); font-weight: 550; }
.formulaire__etat:empty { display: none; }
.formulaire__etat:not(:empty) { margin-bottom: 14px; padding: 14px 16px; border-radius: var(--r-s); background: #FBEDEB; }
.formulaire__reussite, .envoi-retour {
  display: grid; gap: 12px; justify-items: start; padding: 28px; border-radius: var(--r-l); background: var(--menthe-pale);
}
.formulaire__reussite strong, .envoi-retour strong { font-size: 1.35rem; letter-spacing: -.02em; }
.envoi-retour { display: none; margin-bottom: 20px; }
.envoi-retour:target { display: grid; }
.envoi-retour--erreur { background: #FBEDEB; }


/* ---------- 16. Haut des pages intérieures : photo et fondu nuit ---------- */
.entete-page { padding: clamp(16px, 2.5vw, 28px) 0 clamp(20px, 3vw, 36px); }
.entete-page__panneau {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(340px, 34vw, 480px); padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl); background: var(--nuit); color: var(--clair);
}
.entete-page__photo { position: absolute; inset: 0; z-index: -2; }
.entete-page__photo img { width: 100%; height: 100%; object-fit: cover; }
html.js .entete-page__photo img { animation: mer-entree 2.2s var(--courbe) both; }
.entete-page__panneau::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 48, 63, .96) 0%, rgba(20, 48, 63, .84) 36%, rgba(20, 48, 63, .3) 72%, rgba(20, 48, 63, .06) 100%),
    linear-gradient(0deg, rgba(20, 48, 63, .55) 0%, rgba(20, 48, 63, 0) 55%);
}
@media (max-width: 767px) { .entete-page__panneau::after { background: linear-gradient(180deg, rgba(20, 48, 63, .5) 0%, rgba(20, 48, 63, .88) 60%, rgba(20, 48, 63, .97) 100%); } }
.entete-page__panneau > .cercles { position: absolute; z-index: -1; right: -150px; top: -170px; width: 520px; color: var(--turquoise); opacity: .14; }
.entete-page .fil { color: var(--clair-2); }
.entete-page .fil a { color: var(--clair); }
.entete-page .etiquette { margin-top: 18px; }
.entete-page h1 { margin-top: 16px; max-width: 20ch; font-size: clamp(2.3rem, 1.4rem + 3vw, 4.1rem); letter-spacing: -.04em; }
.entete-page h1 .accent { color: var(--turquoise-vif); }
.entete-page .chapo { margin-top: 16px; max-width: 40rem; color: var(--clair-2); }
.entete-page__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.entete-page__meta span { padding: 6px 13px; border-radius: var(--r-pill); background: rgba(247, 249, 251, .1); font-size: .8125rem; font-weight: 600; }
.entete-page--sobre .entete-page__panneau { min-height: 0; }


/* ---------- 17. Article ---------- */
.article { padding-bottom: clamp(24px, 4vw, 48px); }
.article__grille { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .article__grille { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; } }
.article__texte { padding: clamp(24px, 4vw, 64px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-1); }
.prose > * + * { margin-top: 1.1em; }
.zone-texte > * + * { margin-top: 1.1em; }
.prose h3 { margin-top: 1.7em; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); letter-spacing: -.02em; }
.zone-texte > h3:first-child { margin-top: 0; }
.prose__action { margin-top: 1.8em; }
/* Tableaux des articles (simulations chiffrées) */
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--trait, rgba(20, 48, 63, .12)); text-align: right; white-space: nowrap; }
.prose th:first-child, .prose td:first-child { text-align: left; }
.prose thead th { font-weight: 700; color: var(--encre); background: var(--menthe-pale); }
.article__texte { min-width: 0; }
@media (max-width: 760px) {
  .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .8125rem; }
  .prose th, .prose td { padding: 8px 9px; }
}
.prose .tableau { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid rgba(20, 48, 63, .12); }   /* textes modifiables depuis l'espace (plusieurs paragraphes) */
.prose h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose__chapo { font-size: 1.2rem; font-weight: 500; line-height: 1.55; }
.encadre { padding: 22px 24px; border-radius: var(--r-l); background: var(--menthe-pale); }
.encadre strong { display: block; margin-bottom: 6px; }
.article__aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .article__aside { position: sticky; top: var(--haut-entete); } }
.aside-carte { padding: 24px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--trait); }
.aside-carte h2 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.aside-carte p { margin-top: 8px; color: var(--texte-2); font-size: .9375rem; }
.aside-carte .bouton { margin-top: 16px; min-height: 48px; padding: 0 20px; font-size: .9375rem; }
.aside-carte--nuit { position: relative; isolation: isolate; overflow: hidden; background: var(--nuit); color: var(--clair); border: 0; }
.aside-carte--nuit p { color: var(--clair-2); }
.aside-carte--nuit > .cercles { position: absolute; z-index: -1; right: -110px; bottom: -120px; width: 300px; color: var(--turquoise); opacity: .16; }
.aside-carte .diagnostic__icone { width: 46px; height: 46px; margin-bottom: 12px; }
.sommaire-article { list-style: none; display: grid; gap: 2px; margin-top: 10px; }
.sommaire-article a { display: flex; min-height: 40px; align-items: center; padding: 0 12px; border-radius: 12px; font-size: .9375rem; font-weight: 550; text-decoration: none; }
.sommaire-article a:hover { background: var(--menthe-pale); }

/* Filtres de la page Conseils */
.filtres { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtre {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--trait-fort); background: var(--blanc); color: var(--encre);
  font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.filtre:hover { border-color: var(--encre); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--clair); }
html:not(.js) .filtres { display: none; }
.liste-vide { padding: 28px; border-radius: var(--r-l); background: var(--menthe-pale); font-weight: 600; }


/* ---------- 18. Fenêtre de diagnostic (calculateurs) ---------- */
.fenetre {
  width: min(100% - 24px, 760px); max-width: none; max-height: min(94vh, 960px); margin: auto; padding: 0;
  border: 0; border-radius: var(--r-xl); background: var(--clair); color: var(--encre);
  box-shadow: 0 40px 120px -30px rgba(9, 24, 32, .65); overflow: auto; overscroll-behavior: contain;
}
.fenetre::backdrop { background: rgba(15, 38, 50, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fenetre[open] { animation: fenetre-entree .42s var(--courbe) both; }
@keyframes fenetre-entree { from { opacity: 0; transform: translateY(26px) scale(.98); } }
html.fenetre-ouverte, html.fenetre-ouverte body { overflow: hidden; }
.fenetre__tete {
  position: sticky; top: 0; z-index: 2; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 22px;
  background: var(--nuit); color: var(--clair);
}
.fenetre__tete > .cercles { position: absolute; z-index: -1; right: 40px; top: -120px; width: 260px; color: var(--turquoise); opacity: .14; }
.fenetre__tete .diagnostic__icone { width: 48px; height: 48px; margin: 0; }
.fenetre__titres { flex: 1; min-width: 0; }
.fenetre__surtitre { font-size: .8125rem; font-weight: 650; color: var(--turquoise-vif); letter-spacing: .02em; }
.fenetre__titre { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: -.025em; line-height: 1.2; }
.fenetre__fermer {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(247, 249, 251, .1); color: var(--clair); cursor: pointer; transition: background-color .2s;
}
.fenetre__fermer:hover { background: rgba(247, 249, 251, .2); }
.fenetre__fermer:focus-visible { outline-color: var(--turquoise); }
.fenetre__corps { padding: clamp(20px, 4vw, 36px); }
.fenetre__intro { color: var(--texte-2); }
.calcul { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 560px) { .calcul { grid-template-columns: 1fr 1fr; column-gap: 16px; } }
.calcul .champ--large, .calcul .choix { grid-column: 1 / -1; }
.saisie { position: relative; }
.saisie input { padding-right: 52px !important; }
.saisie__unite { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--texte-2); font-weight: 650; pointer-events: none; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.choix legend { width: 100%; margin-bottom: 8px; padding: 0; font-weight: 650; font-size: .9375rem; }
.choix label { position: relative; display: inline-flex; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--trait-champ); background: var(--blanc); font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choix input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--clair); }
.choix input:focus-visible + span { outline: 2.5px solid var(--encre); outline-offset: 2px; }
.calcul__envoi { grid-column: 1 / -1; }
.hypotheses { grid-column: 1 / -1; border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--trait); }
.hypotheses summary { display: flex; align-items: center; min-height: 48px; padding: 0 18px; font-weight: 650; font-size: .9375rem; cursor: pointer; }
.hypotheses__corps { display: grid; gap: 14px; padding: 0 18px 18px; }
@media (min-width: 560px) { .hypotheses__corps { grid-template-columns: 1fr 1fr; } }
.resultat { margin-top: 24px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-l); background: var(--menthe-pale); }
.resultat:focus { outline: none; }
.resultat__titre { font-size: 1.2rem; letter-spacing: -.02em; }
.resultat__chiffres { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 560px) { .resultat__chiffres { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.resultat__chiffre { padding: 16px 18px; border-radius: var(--r-m); background: var(--blanc); }
.resultat__chiffre--fort { background: var(--nuit); color: var(--clair); }
.resultat__libelle { font-size: .8125rem; font-weight: 650; color: var(--texte-2); line-height: 1.35; }
.resultat__chiffre--fort .resultat__libelle { color: var(--clair-2); }
.resultat__valeur { margin-top: 6px; font-size: 1.65rem; font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.resultat__chiffre--fort .resultat__valeur { color: var(--turquoise-vif); }
.resultat__pistes { margin-top: 18px; }
.resultat__pistes h4 { font-size: 1.02rem; letter-spacing: -.01em; }
.resultat__pistes ul { display: grid; gap: 6px; margin-top: 8px; padding-left: 1.2em; color: var(--texte-2); }
.resultat__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.avertissement { margin-top: 16px; font-size: .8125rem; line-height: 1.5; color: var(--texte-2); }

/* ---------- 20. Pages annexes (mentions, confidentialité, 404) ---------- */
.page-titre { padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); }
.page-titre__panneau { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--menthe-pale); }
.page-titre__panneau::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--menthe); opacity: .7; pointer-events: none; }
.fil { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9375rem; font-weight: 550; }
.fil a { text-decoration: underline; text-underline-offset: .2em; }
.page-titre h1 { position: relative; z-index: 1; margin-top: 18px; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); letter-spacing: -.04em; }
.page-titre .chapo { position: relative; z-index: 1; margin-top: 16px; max-width: 40rem; color: var(--encre); }
.page-titre__maj { position: relative; z-index: 1; margin-top: 16px; font-size: .9375rem; color: var(--texte-2); }
.annexe { padding-bottom: clamp(16px, 3vw, 32px); }
.annexe__grille { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .annexe__grille { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; } }
.sommaire { padding: 8px 20px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--trait); }
@media (min-width: 1024px) { .sommaire { position: sticky; top: var(--haut-entete); padding: 22px; } .sommaire__titre { display: none; } }
.sommaire__titre { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; }
.sommaire__titre::-webkit-details-marker { display: none; }
.sommaire__liste { list-style: none; display: grid; gap: 2px; padding-bottom: 10px; }
.sommaire__liste a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 12px; font-size: .9375rem; font-weight: 550; text-decoration: none; }
.sommaire__liste a:hover { background: var(--menthe-pale); }
.annexe__texte { padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-1); }
.rubrique { padding-block: 30px; border-top: 1px solid var(--trait); scroll-margin-top: var(--haut-entete); }
.rubrique:first-child, .en-bref + .rubrique { border-top: 0; }
.rubrique h2, .en-bref h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); letter-spacing: -.03em; }
.rubrique > p, .rubrique > ul { margin-top: 14px; max-width: 68ch; }
.rubrique > ul { padding-left: 1.2em; display: grid; gap: 6px; }
.rubrique .fiche { margin-top: 16px; box-shadow: none; border: 1px solid var(--trait); }
.en-bref { padding: 26px 28px; border-radius: var(--r-l); background: var(--menthe-pale); margin-bottom: 8px; }
.en-bref p { margin-top: 10px; max-width: 68ch; }
.tableau { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .9375rem; }
.tableau th, .tableau td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.tableau thead th { color: var(--texte-2); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 767px) {
  .tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau, .tableau tbody, .tableau tr, .tableau th, .tableau td { display: block; width: 100%; }
  .tableau tr { padding: 14px 0; border-bottom: 1px solid var(--trait); }
  .tableau th, .tableau td { padding: 4px 0; border: 0; }
  .tableau td::before { content: attr(data-libelle) " : "; font-weight: 650; color: var(--texte-2); }
}
.annexe__relais { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-l); background: var(--menthe-pale); font-weight: 550; }
.page-404 { text-align: left; }
.page-404 .chiffre-404 { position: relative; z-index: 1; font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 750; letter-spacing: -.07em; line-height: .9; }
.page-404 .ouverture__actions { position: relative; z-index: 1; }

/* ---------- 21. Barre d'actions mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .barre-mobile {
    position: fixed; z-index: 60; left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
    border-radius: 22px; background: var(--blanc); border: 1px solid var(--trait);
    box-shadow: 0 14px 40px -14px rgba(20, 48, 63, .5);
    transition: transform .3s var(--courbe);
  }
  .barre-mobile.est-masquee { transform: translateY(160%); }
  .barre-mobile__action {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 56px; border-radius: 16px; text-decoration: none;
    font-size: .8125rem; font-weight: 650; color: var(--encre);
  }
  .barre-mobile__action--rdv { background: var(--encre); color: var(--clair); }
}


/* ---------- 19. Mouvement ---------- */
html.js .revele { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--courbe), transform .8s var(--courbe); transition-delay: var(--delai, 0s); }
html.js .revele.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .revele { opacity: 1; transform: none; }
  .carte:hover, .bouton:hover, .carte:hover .carte__image img, .expertise:hover, .expertise:hover > img, .membre:hover, .diagnostic:hover { transform: none; }
}

/* ---------- 22. Ajustements ---------- */
.section--serree { padding-block: clamp(24px, 4vw, 56px); }
.equipe__texte .mer__actions { margin-top: 0; }
.entete-page .mer__actions { margin-top: 26px; }
.formulaire__diagnostic { margin-top: 16px; font-size: .9375rem; font-weight: 550; }
.entete-page .etiquette, .entete-page .fil { align-self: flex-start; }
@media (min-width: 560px) { .resultat__chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .membres { grid-template-columns: repeat(4, 1fr); } }
.membre__photo { align-content: center; gap: 10px; }
.membre__photo .pastille { width: 62px; height: 62px; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre-1); }
.membre__attente { font-size: .875rem; font-weight: 600; color: var(--texte-2); }
/* Tuiles de navigation de l'accueil : une par onglet, même forme que les tuiles d'expertises */
.expertises--navigation .expertise { min-height: 300px; }
@media (min-width: 1100px) {
  .expertises--navigation .expertise,
  .expertises--navigation .expertise:nth-child(-n+2) { grid-column: span 2; min-height: 320px; }
}
.expertise h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); letter-spacing: -.03em; line-height: 1.15; }
.temoignages .section__entete .bouton { margin-top: 4px; }
@media (max-width: 759px) { .expertises--navigation .expertise { min-height: 230px; } }

/* ---------- 23. Bouton de langue FR / EN (comme sur rysocreative.com) ---------- */
.entete__nav a.langue { gap: 2px; padding: 4px; min-height: 44px; background: rgba(247, 249, 251, .07); border: 1px solid rgba(247, 249, 251, .16); }
.entete__nav a.langue:hover { background: rgba(247, 249, 251, .14); }
.langue__option {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--clair-2); transition: background-color .2s, color .2s;
}
.langue__option--active { background: var(--turquoise); color: var(--encre); }
.langue__drapeau { font-size: 1rem; line-height: 1; }
@media (min-width: 1340px) { .entete__langue { margin-left: 6px; } }
@media (max-width: 1339px) { html.js .entete__nav a.langue { justify-content: center; padding: 6px; min-height: 52px; } }
/* En-tête au bureau : le grand logo ne se tasse jamais, le menu se resserre */
.marque { flex: none; }
@media (min-width: 1340px) {
  .entete__barre { gap: 10px; padding-left: 24px; }
  .marque__logo { width: 186px; }
  .entete__nav ul { gap: 0; }
  .entete__nav a { padding: 0 10px; font-size: .9rem; }
  .entete__nav a.langue { padding: 3px; }
  .langue__option { padding: 0 8px; gap: 5px; min-height: 32px; }
  .entete .bouton { padding: 0 20px; }
}

/* ---------- 24. Accueil après le rendez-vous du 2 octobre : une forme propre à l'accueil pour chaque section ---------- */
/* Les 4 projets et l'éducation financière, sur une ligne au bureau */
@media (min-width: 640px) and (max-width: 759px) { .cartes--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cartes--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.cartes--5 .carte__corps { padding: 18px 20px 20px; gap: 10px; }
.cartes--5 .carte h3 { font-size: 1.15rem; }
.cartes--5 .carte__corps p { font-size: .9375rem; }

/* Présentation du cabinet : photo d'équipe en paysage */
.cadre-photo--paysage { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .equipe__grille--paysage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }

/* Méthode en 4 étapes : une ligne numérotée, reliée par un trait */
.methode-ligne {
  position: relative; isolation: isolate; overflow: clip; clip-path: inset(0 round var(--r-xl));
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--menthe-pale);
}
.methode-ligne > .cercles { position: absolute; z-index: -1; right: -160px; top: -160px; width: 480px; color: var(--turquoise); opacity: .55; }
.methode-ligne .etiquette { background: var(--blanc); }
.ligne-etapes { list-style: none; display: grid; gap: 14px; position: relative; }
.ligne-etape {
  position: relative; display: grid; align-content: start; gap: 10px;
  padding: 24px 22px 26px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1);
  transition: transform .4s var(--courbe), box-shadow .4s var(--courbe);
}
.ligne-etape:hover { transform: translateY(-5px); box-shadow: var(--ombre-2); }
.ligne-etape__numero {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--turquoise); color: var(--encre); font-weight: 750; letter-spacing: -.02em;
}
.ligne-etape h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.ligne-etape p { color: var(--texte-2); font-size: .9375rem; }
@media (min-width: 760px) { .ligne-etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .ligne-etapes { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .ligne-etapes::before { content: ""; position: absolute; left: 46px; right: 46px; top: 48px; height: 2px; background: var(--turquoise); z-index: 0; }
  .ligne-etape { z-index: 1; }
}

/* Avis Google : cartes avec étoiles ; une ligne qui défile sur l'accueil */
.avis-carte { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 22px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); }
.avis-carte__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.avis__etoiles { display: inline-flex; gap: 2px; color: #E8A317; }
.avis-carte blockquote { margin: 0; flex: 1; }
.avis-carte blockquote p { font-family: var(--f-accent); font-style: italic; font-weight: 300; font-size: 1.15rem; line-height: 1.5; }
.avis-carte .avis__auteur { margin-top: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--encre); }
.avis__source { font-weight: 500; color: var(--texte-2); }
.avis-grille--google { margin-top: 0; }
.avis-grille--google li { padding: 24px 24px 22px; }
@media (min-width: 1100px) { .avis-grille--google { grid-template-columns: repeat(4, 1fr); } }
.avis-ligne {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: -6px -4px 0;
  scrollbar-width: thin; scrollbar-color: var(--menthe) transparent;
}
.avis-ligne > li { scroll-snap-align: start; }
@media (min-width: 1100px) { .avis-ligne { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* Équipe : prénom, poste, et un petit texte qui se déplie en agrandissant la carte */
.membres { align-items: start; }      /* seule la carte survolée s'agrandit */
.membre--depliable { outline: none; }
.membre--depliable::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 2px solid var(--turquoise); opacity: 0; transition: opacity .35s var(--courbe);
}
.membre__texte { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--courbe), opacity .35s; }
.membre__texte > p { overflow: hidden; min-height: 0; padding-top: 8px; color: var(--texte-2); font-size: .9375rem; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) {
  .membre--depliable .membre__texte { grid-template-rows: 0fr; opacity: 0; }
  .membre--depliable:hover, .membre--depliable:focus-visible { z-index: 2; transform: scale(1.04); box-shadow: var(--ombre-2); }
  .membre--depliable:hover .membre__texte, .membre--depliable:focus-visible .membre__texte { grid-template-rows: 1fr; opacity: 1; }
}
.membre--depliable:hover::after, .membre--depliable:focus-visible::after { opacity: 1; }
.membre--depliable:focus-visible { box-shadow: 0 0 0 3px var(--turquoise-vif), var(--ombre-2); }
/* Un « + » invite à découvrir chaque fiche : survol sur ordinateur, toucher sur téléphone */
.membre__plus { position: absolute; z-index: 3; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre-1); pointer-events: none; transition: transform .35s var(--courbe), background-color .35s; }
.membre__plus::before, .membre__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--encre); }
.membre__plus::after { transform: rotate(90deg); }
.membre--depliable:hover .membre__plus, .membre--depliable:focus-visible .membre__plus, .membre--ouvert .membre__plus { transform: rotate(45deg); background: var(--turquoise); }
@media (hover: none), (pointer: coarse) {
  .membre--depliable { cursor: pointer; }
  .membre--depliable .membre__texte { grid-template-rows: 0fr; opacity: 0; }
  .membre--depliable.membre--ouvert .membre__texte { grid-template-rows: 1fr; opacity: 1; }
}

/* Éducation financière : les notions clés */
.themes { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .themes { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.theme { display: grid; align-content: start; gap: 12px; padding: 26px 26px 28px; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); transition: transform .4s var(--courbe), box-shadow .4s var(--courbe); }
.theme:hover { transform: translateY(-5px); box-shadow: var(--ombre-2); }
.theme .pastille { width: 52px; height: 52px; border-radius: 50%; }
.theme h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.2; }
.theme p { color: var(--texte-2); }

/* Diagnostic épargne : et avec un meilleur rendement ? */
.resultat__scenarios { margin-top: 22px; }
.resultat__scenarios h4 { font-size: 1rem; letter-spacing: -.01em; }
.resultat__scenarios > p { margin-top: 4px; color: var(--texte-2); font-size: .875rem; }
.scenarios { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 520px) { .scenarios { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scenario { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-s); background: var(--menthe-pale); border: 1.5px solid transparent; }
.scenario__taux { font-size: .8125rem; font-weight: 700; color: var(--turquoise-texte); }
.scenario__valeur { font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.scenario__gain { font-size: .8125rem; color: var(--texte-2); }

@media (prefers-reduced-motion: reduce) {
  .ligne-etape:hover, .theme:hover, .membre--depliable:hover, .membre--depliable:focus-visible { transform: none; }
}
/* Sept onglets depuis l'ajout de « Éducation financière » : menu resserré et bouton court au bureau */
@media (min-width: 1340px) {
  .marque__logo { width: 172px; }
  .entete__nav a { padding: 0 6px; font-size: .86rem; }
  .entete .bouton { padding: 0 18px; }
  .entete__cta-long { display: none; }
  .entete__cta-court { display: inline; }
}

/* ---------- 25. Avis Google de l'accueil : défilement continu de droite à gauche ---------- */
/* La liste est doublée par le script : on fait glisser la piste de la moitié de sa largeur, en boucle */
html.js .avis-defile--actif {
  overflow: hidden; padding-block: 8px 20px; margin-block: -8px -20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
html.js .avis-defile--actif .avis-defile__piste {
  display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; overflow: visible;
  animation: avis-defiler var(--duree, 60s) linear infinite;
}
html.js .avis-defile--actif .avis-carte { flex: none; width: min(78vw, 340px); }
html.js .avis-defile--actif:hover .avis-defile__piste,
html.js .avis-defile--actif:focus-within .avis-defile__piste,
html.js .avis-defile--en-pause .avis-defile__piste { animation-play-state: paused; }
@keyframes avis-defiler { to { transform: translateX(calc(-50% - 8px)); } }
.avis-defile__controles { display: flex; justify-content: flex-end; margin-top: 12px; }
.avis-defile__pause {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--trait-fort);
  border-radius: var(--r-pill); background: var(--blanc); color: var(--encre); font: inherit; font-size: .8125rem; font-weight: 650; cursor: pointer;
}
.avis-defile__pause:hover { background: var(--menthe-pale); }
.avis-defile__pause[aria-pressed="true"] svg { display: none; }
.avis-defile__pause[aria-pressed="true"]::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
@media (prefers-reduced-motion: reduce) {
  html.js .avis-defile--actif .avis-defile__piste { animation: none; }
}

/* Accroche locale au-dessus du titre de l'accueil (référencement : métier + ville) */
.mer__etiquette { margin-bottom: 22px; }

/* ---------- Ateliers d'éducation financière (page education.html, octobre 2026) ---------- */
.entete-page__actions { margin-top: 26px; }
@media (min-width: 1100px) { .themes--4 { grid-template-columns: repeat(4, 1fr); } }
.theme--encadre { padding: clamp(26px, 3vw, 38px); }
.theme--encadre .zone-texte { color: var(--texte-2); }
.format__cartes { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .format__cartes { grid-template-columns: repeat(2, 1fr); } }
.format__carte { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: var(--r-l); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.format__carte p:not(.format__valeur) { color: var(--clair-2); font-size: .9375rem; line-height: 1.5; }
.format__valeur { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; color: var(--turquoise); }
.ateliers__appel { padding: clamp(28px, 3.4vw, 40px); }
.ateliers__appel h2 { margin-top: 16px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
.ateliers__appel .zone-texte { margin-top: 12px; color: var(--clair-2); }
.ateliers__appel .zone-texte p { color: inherit; }
.ateliers__appel .pastille { width: 52px; height: 52px; border-radius: 50%; }
.ateliers__appel .bouton { height: auto; min-height: 52px; padding: 12px 22px; text-align: left; line-height: 1.3; }

/* Accueil : mosaïque des portraits en attendant la photo de groupe */
.cadre-photo:has(> .mosaique) { aspect-ratio: auto; }
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--blanc); }
.mosaique img, .mosaique__lien { aspect-ratio: 1 / 1; }
.mosaique img { width: 100%; height: auto; object-fit: cover; }
.mosaique__lien { display: grid; align-content: center; justify-items: start; gap: 6px; padding: 14px; background: var(--turquoise); color: var(--encre); font-weight: 700; font-size: clamp(.875rem, .8rem + .3vw, 1.05rem); line-height: 1.2; text-decoration: none; }
.mosaique__lien span { font-size: 1.4em; transition: transform .3s var(--courbe); }
.mosaique__lien:hover span { transform: translateX(4px); }

.avis__plus { margin-top: 28px; text-align: center; }

/* Mobile : un bouton au long libellé passe à la ligne au lieu de sortir de l'écran */
@media (max-width: 560px) {
  .bouton { white-space: normal; text-align: center; padding: 12px 22px; max-width: 100%; }
}

/* Page Ateliers : pictogramme en tête de chaque encart du format */
.format__icone { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(31, 191, 156, .14); color: var(--turquoise); }
.format__carte .format__valeur { color: var(--clair); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }

/* Nos expertises : texte d'introduction au-dessus des tuiles */
.expertises__intro { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); color: var(--texte-2); font-size: 1.0625rem; line-height: 1.65; }

/* Mosaïque de l'équipe (accueil) : 4 colonnes vraiment égales, même sur téléphone.
   Sans minmax(0, …), le texte de la case turquoise élargissait la 4e colonne et déformait la grille. */
.mosaique { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .mosaique__lien { padding: 8px; gap: 2px; font-size: .75rem; overflow-wrap: anywhere; }
}
