/* ==========================================================================
   BYS – By Your Side · Feuille de style commune
   Palette et typographie : charte graphique BYS (octobre 2026)
   ========================================================================== */

:root {
  /* Palette de la charte */
  --ardoise: #22324D;   /* principale : header, fonds forts, titres */
  --nuit: #0D1B2A;      /* texte courant, fond le plus profond */
  --or: #CBA15A;        /* accent : CTA, filets, pictos */
  --ivoire: #FAF8F4;    /* fond principal */
  --lin: #F2EDE4;       /* fond secondaire, séparateurs */
  --gris: #999999;      /* notes, légendes */

  /* Dérivés (transparences des couleurs de la charte uniquement) */
  --or-doux: rgba(203, 161, 90, .14);
  --or-trait: rgba(203, 161, 90, .45);
  --ivoire-70: rgba(250, 248, 244, .72);
  --ivoire-texte: rgba(250, 248, 244, .92);  /* corps de texte sur fond sombre */
  --ivoire-12: rgba(250, 248, 244, .12);
  --ivoire-06: rgba(250, 248, 244, .06);
  --nuit-70: rgba(13, 27, 42, .72);
  --nuit-10: rgba(13, 27, 42, .10);

  /* Or assombri (même teinte) pour le texte sur fond clair, où l'or de la charte
     ne fait que 2,3:1 de contraste */
  --or-texte: #84622A;  /* petit texte : 5,3:1 sur ivoire, 4,8:1 sur lin */
  --or-titre: #A37933;  /* grands titres : 3,7:1 sur ivoire, 3,4:1 sur lin */

  /* Or du texte selon le fond : clair par défaut (fonds sombres),
     assombri dans les sections claires (voir « Sections ») */
  --accent: var(--or);
  --accent-titre: var(--or);

  /* Typographie : Avenir (installée sur Mac/iOS), Mulish en relais ailleurs */
  --police: "Avenir Next", "Avenir", "Mulish", "Helvetica Neue", Arial, sans-serif;

  --entete-h: 84px;
  --largeur: 1200px;
  --gouttiere: clamp(20px, 5vw, 64px);
  --rayon: 4px;
  --transition: .35s cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--nuit);
  font-family: var(--police);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.15; }

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

.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;
}

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--or); color: var(--nuit); padding: 10px 18px;
  text-decoration: none; font-weight: 600; border-radius: var(--rayon);
}
.lien-evitement:focus { top: 12px; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}
.conteneur--etroit { max-width: 880px; }

/* --------------------------------------------------------------------------
   Typographie éditoriale
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1.6;
}
.eyebrow::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: var(--or);
}
.eyebrow--centre { justify-content: center; }
.eyebrow--centre::before {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: var(--or);
}

.titre-1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.08;
}
.titre-2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -.005em;
  color: var(--ardoise);
  text-wrap: balance;  /* sur une ligne si la place le permet, sinon lignes équilibrées */
}
.titre-2 em, .titre-1 em {
  font-style: normal;
  color: var(--accent-titre);
}
.titre-3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ardoise);
  line-height: 1.3;
}
.sous-titre {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.chapeau {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  max-width: 60ch;
}

.accroche {
  font-style: italic;
  color: var(--accent);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  font-weight: 300;
}

.texte-justifie p { text-align: justify; hyphens: auto; }
/* Accueil · Le problème : les deux paragraphes au même format (18 px sur ordinateur) */
.texte-probleme p { font-size: 1.125rem; line-height: 1.7; }
.section--clair .accroche,
.section--lin .accroche { font-weight: 400; }

.note {
  font-size: .85rem;
  color: var(--nuit-70);
  line-height: 1.6;
}

.filet {
  width: 64px;
  height: 1px;
  background: var(--or);
  border: 0;
  margin: 28px 0;
}

/* Ornement filet · losange · filet (repris du logo) */
.ornement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 32px;
}
.ornement::before, .ornement::after {
  content: "";
  width: 80px;
  height: 1px;
  background: var(--or);
}
.ornement span {
  width: 10px;
  height: 10px;
  background: var(--or);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid var(--or);
  background: var(--or);
  color: var(--nuit);
  font-family: inherit;
  font-size: .98rem;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.bouton svg { width: 18px; height: 18px; transition: transform var(--transition); }
.bouton:hover { background: #d6b06c; box-shadow: 0 10px 28px -12px rgba(203, 161, 90, .7); }
.bouton:hover svg { transform: translateX(4px); }

.bouton--contour {
  background: transparent;
  color: inherit;
}
.bouton--contour:hover { background: var(--or-doux); box-shadow: none; }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--or);
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--or-trait);
  padding-bottom: 4px;
  transition: gap var(--transition), border-color var(--transition);
}
.lien-fleche svg { width: 16px; height: 16px; }
.lien-fleche:hover { gap: 16px; border-color: var(--or); }
.section--clair .lien-fleche,
.section--lin .lien-fleche { color: var(--ardoise); border-color: var(--or); }

/* --------------------------------------------------------------------------
   Bandeau (header)
   -------------------------------------------------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--entete-h);
  background: rgba(13, 27, 42, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), height var(--transition);
}
.entete.est-defile {
  background: rgba(13, 27, 42, .97);
  border-bottom-color: var(--or-trait);
}
.entete__barre {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.marque {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-decoration: none;
  color: var(--ivoire);
}
.marque img { height: 32px; width: auto; }
.marque span {
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ivoire-70);
}

.nav-principale ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-principale a {
  position: relative;
  color: var(--ivoire);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 6px 0;
}
.nav-principale a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-principale a:hover::after,
.nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.nav-principale a[aria-current="page"] { color: var(--or); }

.bouton-rdv {
  padding: 12px 24px;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--or-trait);
  border-radius: 50%;
  background: transparent;
  color: var(--ivoire);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform var(--transition), background var(--transition);
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Fil d'Ariane latéral (généré par main.js à partir des [data-fil])
   -------------------------------------------------------------------------- */
.fil {
  position: fixed;
  left: clamp(14px, 2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  --fil-texte: var(--nuit);
  --fil-muet: var(--nuit-70);
  --fil-num: var(--or-texte);
  --fil-fond: rgba(250, 248, 244, .92);
  transition: opacity var(--transition);
}
.fil.fil--sombre {
  --fil-texte: var(--ivoire);
  --fil-muet: var(--ivoire-70);
  --fil-num: var(--or);
  --fil-fond: rgba(13, 27, 42, .85);
}
.fil ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fil ol::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--or-trait);
}
.fil__lien {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--fil-muet);
  text-decoration: none;
}
/* Pastille de fond : le libellé reste lisible quand il passe sur le contenu */
.fil__texte {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 10px;
  border-radius: var(--rayon);
  background: var(--fil-fond);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}
.fil__libelle {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}
.fil__num {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--fil-num);
}
.fil__losange {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border: 1px solid var(--or);
  background: var(--fond-fil, transparent);
  transform: rotate(45deg);
  transition: background var(--transition), transform var(--transition);
}
.fil:hover .fil__texte,
.fil:focus-within .fil__texte,
.fil__lien.est-actif .fil__texte { opacity: 1; transform: none; }
/* Marge gauche trop étroite pour le libellé : seul le numéro actif reste affiché,
   les libellés apparaissent au survol du fil */
@media (max-width: 1599px) {
  .fil:not(:hover):not(:focus-within) .fil__lien.est-actif .fil__libelle { display: none; }
}
.fil__lien.est-actif { color: var(--fil-texte); }
.fil__lien.est-actif .fil__losange { background: var(--or); transform: rotate(45deg) scale(1.25); }
.fil__lien.est-passe .fil__losange { background: var(--or-trait); }
.fil__lien:hover { color: var(--fil-texte); }

/* Version mobile : bandeau fin sous l'en-tête */
.fil-mobile {
  display: none;
  position: fixed;
  top: var(--entete-h);
  left: 0; right: 0;
  z-index: 95;
  background: var(--nuit);
  color: var(--ivoire);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px var(--gouttiere) 10px;
  border-bottom: 1px solid var(--or-trait);
}
.fil-mobile__num { color: var(--or); margin-right: 10px; }
.fil-mobile__barre {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--or);
  transition: width .2s linear;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
}
.section--clair { background: var(--ivoire); color: var(--nuit); }
.section--lin { background: var(--lin); color: var(--nuit); }
.section--sombre { background: var(--ardoise); color: var(--ivoire); }
.section--sombre .titre-2,
.section--sombre .titre-3 { color: var(--ivoire); }
.section--sombre .note { color: rgba(250, 248, 244, .78); }
.pied .note { color: inherit; }

/* Fonds clairs : or assombri pour le texte ; blocs sombres imbriqués : or de la charte */
.section--clair, .section--lin, .rdv { --accent: var(--or-texte); --accent-titre: var(--or-titre); }
.encart, .forfait__cote, .comparatif thead, .comparatif .ligne-prix, .tableau-simple thead, .portrait { --accent: var(--or); --accent-titre: var(--or); }

[data-fil] { scroll-margin-top: calc(var(--entete-h) + 24px); }

.entete-section { margin-bottom: clamp(44px, 6vw, 72px); }
.entete-section .chapeau { margin-top: 26px; }
.entete-section--centre { text-align: center; }
.entete-section--centre .titre-2 { margin: 0 auto; }
.entete-section--centre .chapeau { margin-left: auto; margin-right: auto; }

.grille-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.grille-2--decale { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }

/* --------------------------------------------------------------------------
   Emplacements d'images (à remplir plus tard)
   Pour ajouter une photo : placer <img src="..." alt="..."> dans le bloc
   .emplacement-image ; le cadre en pointillés disparaît automatiquement.
   -------------------------------------------------------------------------- */
.emplacement-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--rayon);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(203, 161, 90, .07) 14px 15px),
    var(--lin);
  border: 1px dashed var(--or-trait);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section--sombre .emplacement-image,
.hero .emplacement-image {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(203, 161, 90, .08) 14px 15px),
    rgba(250, 248, 244, .03);
}
.emplacement-image::before {
  content: attr(data-libelle);
  max-width: 80%;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 16px;
  border: 1px solid var(--or-trait);
  background: rgba(250, 248, 244, .65);
  border-radius: 2px;
}
.section--sombre .emplacement-image::before,
.hero .emplacement-image::before { background: rgba(13, 27, 42, .55); }
.emplacement-image:has(img) { border: 0; background: none; }
.emplacement-image:has(img)::before { display: none; }
.emplacement-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Hero (ouverture de chaque page)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--entete-h) + 60px) 0 120px;
  background: var(--nuit);
  color: var(--ivoire);
  overflow: hidden;
  isolation: isolate;
}
.hero--court { min-height: 72vh; min-height: 72svh; }
.hero__media {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: -2;
  border: 0;
  border-left: 1px dashed var(--or-trait);
  border-radius: 0;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(var(--entete-h) + 32px) 96px 0 0;
}
.hero__media:has(img) { inset: 0; border: 0; padding: 0; }
.hero__media img { object-position: 65% center; }
.hero__media img.hero__media-haut { object-position: 60% 0%; }
@media (min-width: 961px) {
  /* Photo en pleine largeur : voile estompé de gauche à droite, le texte reste lisible */
  .hero:has(.hero__media img)::before {
    background:
      linear-gradient(90deg, rgba(13, 27, 42, .96) 0%, rgba(13, 27, 42, .9) 35%, rgba(13, 27, 42, .62) 56%, rgba(13, 27, 42, .18) 80%, rgba(13, 27, 42, .05) 100%),
      linear-gradient(0deg, rgba(13, 27, 42, .85) 0%, transparent 30%);
  }
}
.hero::before {
  /* voile dégradé pour garantir la lisibilité du texte sur la future photo */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--nuit) 0%, var(--nuit) 34%, rgba(13, 27, 42, .78) 52%, rgba(13, 27, 42, .25) 100%),
    linear-gradient(0deg, rgba(13, 27, 42, .85) 0%, transparent 35%);
  pointer-events: none;
}
.hero__contenu { position: relative; max-width: 780px; }
.hero__logo { width: clamp(220px, 26vw, 320px); margin: 0 0 40px; }
.hero__slogan {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -.005em;
  color: var(--ivoire);
  margin-bottom: 38px;
}
.hero__slogan span { display: block; color: var(--or); }
.hero__slogan .insecable { display: inline; white-space: nowrap; }
.hero .chapeau { color: var(--ivoire-texte); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__actions .bouton--contour { color: var(--ivoire); }

.hero__piliers {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--ivoire-12);
}
.hero__piliers ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gouttiere);
  max-width: var(--largeur);
}
.hero__piliers li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  font-size: .95rem;
  line-height: 1.4;
  color: var(--ivoire-texte);
}
.hero__piliers li + li { border-left: 1px solid var(--ivoire-12); }
.hero__piliers strong {
  display: block;
  color: var(--ivoire);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .75rem;
  margin-bottom: 2px;
}
.picto {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--or);
}
.picto svg { width: 100%; height: 100%; }

.defiler {
  position: absolute;
  left: var(--gouttiere);
  bottom: 118px;
  display: none;
}

/* --------------------------------------------------------------------------
   Accueil · Le problème
   -------------------------------------------------------------------------- */
.chiffres {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--or-trait);
}
.chiffre {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--or-trait);
}
.chiffre__valeur {
  font-size: clamp(3.4rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ardoise);
  min-width: 3.2ch;
}
.chiffre__valeur sup { font-size: .45em; color: var(--accent-titre); vertical-align: .9em; margin-left: 4px; }
.chiffre__legende { font-size: 1.05rem; line-height: 1.55; }
.source {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--nuit-70);
}
.source a { color: var(--ardoise); text-decoration-color: var(--or); text-underline-offset: 3px; }
.source a:hover { color: var(--accent); }

.paroles {
  margin-top: clamp(70px, 9vw, 110px);
}
.paroles__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.parole {
  background: var(--lin);
  padding: 38px 36px 34px;
  border-radius: var(--rayon);
  border-top: 2px solid var(--or);
}
.parole blockquote {
  margin: 0 0 16px;
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--ardoise);
}
.parole p { font-size: 1rem; text-align: justify; hyphens: auto; }

.encart {
  margin-top: 56px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--ardoise);
  color: var(--ivoire);
  border-radius: var(--rayon);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.encart .accroche { margin: 0; }
.encart p:not(.accroche) { color: var(--ivoire-texte); text-align: justify; hyphens: auto; }

/* --------------------------------------------------------------------------
   Accueil · La réponse
   -------------------------------------------------------------------------- */
.citation-forte {
  border-left: 2px solid var(--or);
  padding: 6px 0 6px 28px;
  margin: 0;
}
.citation-forte p { margin: 0; }

.domaines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ivoire-12);
  border: 1px solid var(--ivoire-12);
  margin-top: 28px;
}
.domaine {
  background: var(--ardoise);
  padding: 36px 24px 38px;
  transition: background var(--transition);
}
.domaine:hover { background: #283a58; }
.domaine__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.domaine__num { color: var(--accent); font-size: .9rem; letter-spacing: .12em; }
.domaine h3 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivoire);
  margin-bottom: 16px;
  line-height: 1.5;
}
.domaine ul { margin: 0; padding: 0; list-style: none; }
.domaine li {
  position: relative;
  padding-left: 18px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ivoire-texte);
  margin-bottom: 8px;
}
.domaine li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  background: var(--or);
  transform: rotate(45deg);
}

/* Listes à losanges (usage général) */
.liste-losanges { list-style: none; margin: 0; padding: 0; }
.liste-losanges li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 1.55;
}
.liste-losanges li::before {
  content: "";
  position: absolute;
  left: 2px; top: .6em;
  width: 6px; height: 6px;
  background: var(--or);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Accueil · Deux métiers
   -------------------------------------------------------------------------- */
.metiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.metier {
  background: #fff0;
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.metier:hover { border-color: var(--or-trait); }
.metier .emplacement-image { aspect-ratio: 16 / 9; min-height: 0; border-radius: 0; border-width: 0 0 1px; }
.metier__corps { padding: 36px 36px 40px; }
.metier__num { color: var(--accent); font-size: .85rem; letter-spacing: .14em; }
.metier h3 { font-size: 1.9rem; color: var(--ardoise); margin: 6px 0 10px; }
.metier__public { font-style: italic; color: var(--ardoise); margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   Accueil · Pourquoi BYS
   -------------------------------------------------------------------------- */
.arguments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--or-trait);
}
.argument {
  padding: 36px 28px 8px 0;
}
.argument + .argument { padding-left: 28px; border-left: 1px solid var(--or-trait); }
.argument .picto { margin-bottom: 22px; }
.argument h3 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ardoise);
  margin-bottom: 12px;
}
.argument p { font-size: .98rem; line-height: 1.6; }

.methode-courte {
  margin-top: clamp(70px, 9vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.etapes-courtes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.etapes-courtes::before {
  content: "";
  position: absolute;
  left: 6px; right: 0; top: 6px;
  height: 1px;
  background: var(--or-trait);
}
.etapes-courtes li { position: relative; padding: 0 18px 0 0; }
.etapes-courtes li::before {
  content: "";
  position: absolute;
  left: 1px; top: 1px;
  width: 11px; height: 11px;
  background: var(--or);
  transform: rotate(45deg);
}
/* « Étape N » posé sur le filet, à droite du losange ; le fond masque le trait */
.etapes-courtes span {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  margin: 0 0 14px 18px;
  padding: 0 10px 0 6px;
  background: var(--lin);
  color: var(--accent);
  font-size: .8rem;
  letter-spacing: .14em;
  line-height: 14px;
}
.etapes-courtes strong { font-weight: 400; color: var(--ardoise); font-size: 1.08rem; line-height: 1.4; display: block; }

.travail {
  margin-top: clamp(56px, 7vw, 88px);
  background: var(--ivoire);
  border: 1px solid var(--or-trait);
  border-radius: var(--rayon);
  padding: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 56px);
}
.travail .note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; }
.travail .note svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--or); margin-top: 3px; }

/* --------------------------------------------------------------------------
   Aperçu tarifaire (accueil)
   -------------------------------------------------------------------------- */
.apercu-tarifs { border-top: 1px solid var(--ivoire-12); }
.ligne-tarif {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--ivoire-12);
  transition: padding var(--transition), background var(--transition);
}
.ligne-tarif:hover { background: var(--ivoire-06); padding-left: 16px; padding-right: 16px; }
.ligne-tarif h3 { font-size: 1.4rem; color: var(--ivoire); }
.ligne-tarif p { color: var(--ivoire-texte); font-size: 1rem; margin: 0; }
.prix { text-align: right; }
.prix small {
  display: block;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivoire-70);
}
.prix strong { font-size: 1.6rem; font-weight: 300; color: var(--accent); white-space: nowrap; }
.prix em { font-style: normal; font-size: .85rem; color: var(--ivoire-texte); white-space: nowrap; }
.apercu-tarifs__pied {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
}

/* --------------------------------------------------------------------------
   Page Forfaits
   -------------------------------------------------------------------------- */
.tableau-defile {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  background: var(--ivoire);
}
.comparatif {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: .95rem;
}
.comparatif th, .comparatif td {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid var(--nuit-10);
  vertical-align: middle;
}
.comparatif thead th {
  background: var(--ardoise);
  color: var(--ivoire);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: 22px 14px;
}
.comparatif tbody th {
  text-align: left;
  font-weight: 400;
  color: var(--ardoise);
  background: var(--lin);
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 220px;
}
.comparatif thead th:first-child { text-align: left; position: sticky; left: 0; z-index: 2; }
.comparatif tbody tr:hover td { background: var(--or-doux); }
.oui {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ardoise);
}
.oui::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--or);
  transform: rotate(45deg);
}
.non { color: var(--nuit-70); }
.comparatif .ligne-separee th, .comparatif .ligne-separee td { border-top: 2px solid var(--or-trait); }
.comparatif .ligne-prix th,
.comparatif .ligne-prix td {
  background: var(--ardoise);
  color: var(--ivoire);
  border-bottom: 0;
}
.comparatif .ligne-prix td { color: var(--accent); font-size: 1.25rem; font-weight: 300; }
.comparatif .ligne-prix th { font-weight: 600; }

.forfaits-detail { display: grid; gap: 28px; }
.forfait {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--ivoire);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.forfait:hover { border-color: var(--or-trait); box-shadow: 0 24px 50px -36px rgba(13, 27, 42, .45); }
.forfait__cote {
  background: var(--ardoise);
  color: var(--ivoire);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.forfait__num { color: var(--accent); font-size: .8rem; letter-spacing: .2em; }
.forfait__cote h3 { font-size: 1.9rem; color: var(--ivoire); margin-bottom: 22px; }
.forfait__cote .prix { text-align: left; }
.forfait__cote .prix strong { font-size: 2.2rem; }
.forfait__conditions {
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ivoire-12);
  list-style: none;
  font-size: .92rem;
  color: var(--ivoire-texte);
}
.forfait__conditions li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.forfait__conditions b { color: var(--ivoire); font-weight: 400; }
.forfait__corps { padding: 40px clamp(28px, 4vw, 52px); }
.forfait__corps .accroche { font-size: 1.35rem; margin-bottom: 10px; }
.forfait__corps .pour-qui { margin-bottom: 28px; }
.forfait__corps .liste-losanges { columns: 2; column-gap: 40px; }
.forfait__corps .liste-losanges li { break-inside: avoid; }
.forfait__note {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--lin);
  border-left: 2px solid var(--or);
  font-size: .9rem;
  line-height: 1.6;
}
.cta-centre { text-align: center; margin-top: 56px; }

.inclus {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ivoire-12);
}
.inclus li {
  padding: 34px 22px 10px 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ivoire);
}
.inclus li + li { padding-left: 22px; border-left: 1px solid var(--ivoire-12); }
.inclus .picto { margin-bottom: 20px; }

.encadre {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(28px, 7vw, 88px);
  border: 1px solid var(--or);
  text-align: center;
  background: var(--ivoire);
}
.encadre::before {
  /* double filet, clin d'œil au cadre des pages de garde */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--or-trait);
  pointer-events: none;
}
.encadre p.encadre__texte {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: var(--ardoise);
}
.encadre strong { font-weight: 400; color: var(--nuit); background: linear-gradient(transparent 62%, var(--or-doux) 62%); }

.conditions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.condition {
  background: var(--ivoire);
  padding: 40px 36px;
  border-radius: var(--rayon);
  border-top: 2px solid var(--or);
}
.condition--large { grid-row: span 2; }
.condition p { text-align: justify; hyphens: auto; }

.tableau-simple {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: .95rem;
}
.tableau-simple th, .tableau-simple td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--nuit-10);
}
.tableau-simple thead th {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ivoire);
  background: var(--ardoise);
}
.tableau-simple tbody th { font-weight: 400; color: var(--ardoise); }

.perimetre {
  border-top: 1px solid var(--or-trait);
}
.perimetre__ligne {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--nuit-10);
}
.perimetre__entete { padding: 0 0 14px; border-bottom: 1px solid var(--or-trait); }
.perimetre__entete span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.perimetre__ligne .barre { color: var(--ardoise); font-size: 1.1rem; }
.perimetre__ligne .vers { color: var(--nuit); }
.perimetre__ligne svg { width: 22px; height: 22px; color: var(--or); }

/* --------------------------------------------------------------------------
   Page À propos
   -------------------------------------------------------------------------- */
.hero--apropos .hero__contenu { max-width: none; }
.apropos-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--or);
  padding: 14px;
  max-width: 440px;
  width: 100%;
  justify-self: end;
}
.portrait__cadre {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ardoise);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait__cadre img.monogramme { width: 58%; height: auto; position: static; object-fit: contain; }
.portrait__cadre img:not(.monogramme) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__legende {
  position: absolute;
  left: 14px; right: 14px; bottom: -42px;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivoire-70);
}

.reperes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--or-trait);
}
.reperes li { padding: 22px 0; border-bottom: 1px solid var(--or-trait); }
.reperes strong { display: block; font-size: 2rem; font-weight: 300; color: var(--ardoise); line-height: 1.2; }
.reperes span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.profils {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.profil {
  background: var(--ivoire);
  border-radius: var(--rayon);
  padding: clamp(32px, 4vw, 48px);
  border-top: 2px solid var(--or);
}
.profil .picto { margin-bottom: 20px; }
.profil h3 { font-size: 1.6rem; color: var(--ardoise); margin-bottom: 18px; }
.profil p { text-align: justify; hyphens: auto; }
.conclusion-profils { text-align: center; margin-top: 56px; }
.conclusion-profils .accroche { color: var(--ardoise); max-width: 38ch; margin: 0 auto; }
.conclusion-profils .accroche span { color: var(--accent); }

.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: etape;
}
.etape {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 40px 0;
  border-top: 1px solid var(--ivoire-12);
}
.etape:last-child { border-bottom: 1px solid var(--ivoire-12); }
.etape__num {
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}
.etape__num small { display: block; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ivoire-70); margin-bottom: 10px; }
.etape h3 { font-size: 1.55rem; color: var(--ivoire); margin-bottom: 14px; }
.etape p { color: var(--ivoire-texte); max-width: 68ch; text-align: justify; hyphens: auto; }

.engagements {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.engagement {
  border: 1px solid var(--nuit-10);
  border-radius: var(--rayon);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.engagement:hover { border-color: var(--or); transform: translateY(-4px); }
.engagement .picto { margin-bottom: 22px; }
.engagement h3 { font-size: 1.15rem; font-weight: 400; color: var(--ardoise); margin-bottom: 10px; }
.engagement p { font-size: .98rem; }

.grande-citation { text-align: center; }
.grande-citation blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: var(--accent-titre);
}

.ancrage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.ancrage .emplacement-image { aspect-ratio: 3 / 2; }

/* --------------------------------------------------------------------------
   Page FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--or-trait); }
.question { border-bottom: 1px solid var(--or-trait); }
.question summary {
  list-style: none;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 32px;
  gap: 16px;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
}
.question summary::-webkit-details-marker { display: none; }
.question__num { color: var(--accent); font-size: .9rem; letter-spacing: .12em; }
.question h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--ardoise);
  transition: color var(--transition);
}
.question summary:hover h2 { color: var(--accent); }
.question__icone {
  position: relative;
  width: 32px; height: 32px;
  border: 1px solid var(--or-trait);
  border-radius: 50%;
}
.question__icone::before, .question__icone::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1px;
  background: var(--or);
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}
.question__icone::after { transform: translate(-50%, -50%) rotate(90deg); }
.question[open] .question__icone::after { transform: translate(-50%, -50%) rotate(0deg); }
.question__reponse {
  padding: 0 48px 34px 68px;
  text-align: justify;
  hyphens: auto;
  max-width: 820px;
}

.contact-cartes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Cartes de contact (fenêtre « Prenons rendez-vous », pied de page, FAQ)
   -------------------------------------------------------------------------- */
.carte-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--or-trait);
  border-radius: var(--rayon);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), background var(--transition);
}
.carte-contact:hover { border-color: var(--or); background: var(--or-doux); }
.carte-contact .picto { width: 30px; height: 30px; }
.carte-contact small {
  display: block;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.carte-contact span { font-size: 1.15rem; word-break: break-word; }

/* Fenêtre de rendez-vous */
.rdv {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--ivoire);
  color: var(--nuit);
  box-shadow: 0 40px 90px -30px rgba(13, 27, 42, .7);
}
.rdv::backdrop { background: rgba(13, 27, 42, .7); backdrop-filter: blur(4px); }
.rdv[open] { animation: apparition .4s cubic-bezier(.2, .7, .2, 1); }
.rdv__interieur { position: relative; padding: 52px clamp(24px, 6vw, 48px) 40px; text-align: center; }
.rdv__interieur::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--or-trait);
  pointer-events: none;
}
.rdv__logo { width: 120px; margin: 0 auto 22px; }
.rdv h2 { font-size: 2rem; color: var(--ardoise); margin-bottom: 12px; }
.rdv__texte { max-width: 38ch; margin: 0 auto 28px; }
.rdv .carte-contact { text-align: left; margin-bottom: 12px; background: #fff0; }
.rdv .carte-contact:hover { background: var(--lin); }
.rdv__lieu { margin-top: 18px; font-size: .85rem; color: var(--nuit-70); }
.rdv__fermer {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 1;
  width: 40px; height: 40px;
  border: 1px solid var(--or-trait);
  border-radius: 50%;
  background: var(--ivoire);
  color: var(--ardoise);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.rdv__fermer:hover { border-color: var(--or); }
@keyframes apparition {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--nuit);
  color: var(--ivoire-texte);
  padding: clamp(72px, 9vw, 110px) 0 36px;
  border-top: 1px solid var(--or-trait);
}
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .6fr) minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 64px;
}
.pied__logo { width: 200px; margin-bottom: 26px; }
.pied .accroche { font-size: 1.15rem; }
.pied h2 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 22px;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; }
.pied a { text-decoration: none; transition: color var(--transition); }
.pied a:hover { color: var(--or); }
.pied .carte-contact { color: var(--ivoire); margin-bottom: 12px; padding: 16px 18px; }
.pied .carte-contact span { font-size: 1.02rem; }
.pied__grille .carte-contact { white-space: nowrap; }
.carte-sociale { padding: 16px 16px; gap: 12px; }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--ivoire-12);
  font-size: .82rem;
  color: rgba(250, 248, 244, .7);
}
.pied__note {
  flex-basis: 100%;
  margin: 0;
  font-size: .74rem;
  color: rgba(250, 248, 244, .5);
}
.pied__legal {
  flex-basis: 100%;
  font-size: .78rem;
  color: rgba(250, 248, 244, .55);
}
.pied__legal a { color: inherit; }

/* --------------------------------------------------------------------------
   Pages légales (mentions légales, CGV) : rythme des articles
   -------------------------------------------------------------------------- */
.page-legale h2 { margin: 2.2em 0 .6em; }
.page-legale h2:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   Apparitions au défilement (activées seulement si JS)
   -------------------------------------------------------------------------- */
.js .revele {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.js .revele.est-visible { opacity: 1; transform: none; }
.js .revele-d1 { transition-delay: .1s; }
.js .revele-d2 { transition-delay: .2s; }
.js .revele-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .domaines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inclus { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .inclus li:nth-child(4) { padding-left: 0; border-left: 0; }
  .engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arguments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .argument:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1080px) {
  .fil { display: none; }
  .fil-mobile { display: block; }
  [data-fil] { scroll-margin-top: calc(var(--entete-h) + 56px); }
  main > .section:first-of-type { padding-top: calc(var(--entete-h) + 76px); }
}

@media (max-width: 960px) {
  :root { --entete-h: 72px; }
  .burger { display: inline-flex; }
  .nav-principale {
    position: fixed;
    top: var(--entete-h);
    left: 0; right: 0;
    background: var(--nuit);
    border-bottom: 1px solid var(--or-trait);
    padding: 12px var(--gouttiere) 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav-principale.est-ouverte { opacity: 1; transform: none; visibility: visible; }
  .nav-principale ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-principale li { border-bottom: 1px solid var(--ivoire-12); }
  .nav-principale a { display: block; padding: 18px 0; font-size: 1.15rem; }
  .nav-principale a::after { display: none; }
  .entete .bouton-rdv { margin-left: auto; }

  .grille-2, .grille-2--decale, .encart, .methode-courte, .travail, .apropos-hero, .ancrage, .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .paroles__grille, .metiers, .profils, .conditions { grid-template-columns: minmax(0, 1fr); }
  .condition--large { grid-row: auto; }
  .forfait { grid-template-columns: minmax(0, 1fr); }
  .ligne-tarif { grid-template-columns: 1fr auto; }
  .ligne-tarif p:not(.prix) { grid-column: 1 / -1; grid-row: 2; }
  .hero__media { inset: 0; border-left: 0; opacity: .5; }
  .hero__slogan .saut-large { display: none; }
  .hero__media::before { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(13, 27, 42, .7) 0%, rgba(13, 27, 42, .9) 60%, var(--nuit) 100%); }
  .hero__piliers { position: static; margin-top: 56px; }
  .hero { flex-direction: column; justify-content: center; padding-bottom: 0; }
  .hero__piliers ul { grid-template-columns: 1fr; padding: 0; }
  .hero__piliers li { padding: 18px var(--gouttiere); }
  .hero__piliers li + li { border-left: 0; border-top: 1px solid var(--ivoire-12); }
  .portrait { justify-self: center; max-width: 360px; }
  .etapes-courtes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .etapes-courtes::before { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .texte-probleme p { font-size: 1.0625rem; }
  .entete .bouton-rdv { padding: 10px 16px; font-size: .85rem; }
  .entete .bouton-rdv svg { display: none; }
  .marque img { height: 26px; }
  .marque span { display: none; }
  .domaines, .arguments, .engagements, .inclus, .contact-cartes { grid-template-columns: minmax(0, 1fr); }
  .argument, .argument + .argument { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--or-trait); }
  .inclus li, .inclus li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--ivoire-12); }
  .forfait__corps .liste-losanges { columns: 1; }
  .chiffre { grid-template-columns: 1fr; gap: 10px; }
  .parole { padding: 30px 24px; }
  .etape { grid-template-columns: 1fr; gap: 10px; }
  .etapes-courtes { grid-template-columns: minmax(0, 1fr); }
  .perimetre__ligne { grid-template-columns: 1fr; gap: 6px; }
  .perimetre__ligne svg { transform: rotate(90deg); }
  .perimetre__entete { display: none; }
  .question summary { grid-template-columns: 36px minmax(0, 1fr) 32px; gap: 12px; }
  .question__reponse { padding: 0 0 30px 48px; }
  .ligne-tarif { grid-template-columns: 1fr; gap: 10px; }
  .prix { text-align: left; }
  .ornement::before, .ornement::after { width: 48px; }
  .condition { padding: 32px 22px; }
  .tableau-simple { font-size: .88rem; }
  .tableau-simple th, .tableau-simple td { padding: 12px 8px; }
  .tableau-simple thead th { letter-spacing: .08em; font-size: .64rem; }
}
