/* Charte GY Conseil : fond blanc cassé, encre bleu nuit, vert sapin réservé au bouton RDV. */
:root {
  --fond: #F7F6F2;
  --fond-bande: #EFECE4;
  --surface: #FFFFFF;
  --encre: #1C2433;
  --encre-douce: #4A5263;
  --sur-encre: #F7F6F2;
  --sur-encre-doux: #B9BFCC;
  --trait: #DDD9CE;
  --action: #0F6E56;
  --action-survol: #0B5A46;
  --action-pale: #DCEFE8;
  --rayon: 12px;
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hauteur-entete: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hauteur-entete); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 0.75em; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.cadre { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.etroit { max-width: 720px; }

.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; z-index: 20; }

.icone { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pastille {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 10px;
  background: var(--action-pale); color: var(--action);
}

/* Boutons : une seule action mise en avant, le RDV */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--action);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  min-height: 48px;
  text-align: center; text-wrap: balance;
}
.bouton:hover { background: var(--action-survol); }
.bouton-petit { font-size: 0.95rem; padding: 0.5rem 1rem; min-height: 40px; }
.sous-bouton { font-size: 0.9rem; color: var(--encre-douce); margin-top: 0.6rem; }

/* En-tête fixe */
.entete {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--fond) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--trait);
}
.entete-cadre { display: flex; justify-content: space-between; align-items: center; min-height: var(--hauteur-entete); gap: 1rem; }
.marque { font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.entete-bouton { transition: opacity 0.2s, visibility 0.2s; }
.entete-bouton.masque { opacity: 0; visibility: hidden; }

/* Pied */
.pied { border-top: 1px solid var(--trait); padding: 2rem 0; font-size: 0.9rem; color: var(--encre-douce); }
.pied-cadre { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; }
.pied p { margin: 0; }
.pied nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Sections et bandes */
main section { padding: 2.25rem 0; }
.bande-claire { background: var(--fond-bande); }
.bande-encre { background: var(--encre); color: var(--sur-encre); }
.intro { color: var(--encre-douce); margin-bottom: 1.5rem; }

/* Promesse */
.promesse { padding: 2.5rem 0; }
.promesse-cadre { display: grid; gap: 2.5rem; align-items: center; }
.promesse h1 { max-width: 18ch; }
.chapo { font-size: 1.2rem; color: var(--encre-douce); max-width: 36ch; margin-bottom: 1.75rem; }

.visuel {
  display: none;
  background: var(--surface); border: 1px solid var(--trait); border-radius: 16px;
  padding: 1.5rem 1.75rem; max-width: 400px; justify-self: end; width: 100%;
}
.visuel-titre { font-size: 0.85rem; font-weight: 600; color: var(--encre-douce); margin-bottom: 1rem; }
.barre { display: grid; grid-template-columns: 3.5rem 1fr; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--encre-douce); margin-bottom: 0.6rem; }
.barre i { display: block; height: 0.9rem; border-radius: 999px; }
.barre-avant { width: 100%; background: var(--trait); }
.barre-apres { width: 35%; background: var(--action); }
.visuel-etapes { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--trait); display: grid; gap: 0.55rem; font-size: 0.95rem; }
.visuel-etapes li { display: flex; align-items: center; gap: 0.6rem; }
.visuel-etapes .icone { width: 1.15rem; height: 1.15rem; color: var(--action); stroke-width: 2.25; }

/* Constat chiffré (bande foncée) */
.chiffres { display: grid; gap: 0.75rem; }
.chiffre { border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--rayon); padding: 1.25rem; }
.chiffre p { margin: 0; color: var(--sur-encre-doux); }
.chiffre { display: flex; flex-direction: column; gap: 0.5rem; }
.chiffre .chiffre-etiquette { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.chiffre .chiffre-valeur { font-size: 1.7rem; font-weight: 700; line-height: 1.15; color: var(--sur-encre); letter-spacing: -0.02em; text-wrap: balance; }
.chiffre .chiffre-justif { font-size: 0.95rem; }
.chiffre .chiffre-message { color: var(--sur-encre); font-weight: 600; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid rgb(255 255 255 / 0.16); }
.constat-fin { font-size: 1.15rem; color: var(--sur-encre); max-width: 48ch; margin: 2rem 0 1rem; }
.constat-sources { font-size: 0.85rem; color: var(--sur-encre-doux); margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.constat-sources a { color: inherit; }
.renvoi {
  position: relative;
  font-size: 0.75em; vertical-align: super; margin-left: 0.2em; padding: 0 0.15em;
  color: inherit; text-decoration: underline dotted; text-underline-offset: 0.25em;
}
/* Bulle de source : au survol ou au clavier sur ordinateur ; sur téléphone, le chiffre ouvre la page Sources. */
.bulle {
  display: none;
  position: absolute; top: calc(100% + 0.4rem); right: -0.5rem; z-index: 5;
  width: max-content; max-width: 15rem;
  background: var(--surface); color: var(--encre-douce);
  border-radius: 10px; padding: 0.6rem 0.8rem;
  font-size: 0.8rem; line-height: 1.35; text-align: left;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}
.bulle strong { display: block; color: var(--encre); font-size: 0.9rem; }
@media (hover: hover) {
  .renvoi:hover .bulle, .renvoi:focus-visible .bulle { display: block; }
}
.bande-encre :focus-visible { outline-color: var(--sur-encre); }

/* Étapes */
.etapes { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.etapes li { display: flex; gap: 1rem; align-items: flex-start; }
.etapes h3 { margin-bottom: 0.25rem; }
.etapes p { margin: 0; color: var(--encre-douce); }
.rang { color: var(--encre-douce); font-weight: 600; }
.etapes-apres { color: var(--encre-douce); margin-bottom: 2rem; }

/* Encarts */
.encart { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem; }
.encart > :last-child { margin-bottom: 0; }
.encart-facturation { border-left: 4px solid var(--action); }
.encart-pied { font-size: 0.95rem; color: var(--encre-douce); }
.bouton-lien {
  font: inherit; font-weight: 600; color: var(--action); background: none; border: 0;
  padding: 0.5rem 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em;
}
.bouton-lien:hover { color: var(--action-survol); }
.section-serree { padding-top: 0; }
.encart-fondateurs { border-left: 4px solid var(--encre); }
.places { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.4rem; }
.places .etiquette { margin-bottom: 0.5rem; }
.etiquette { display: inline-block; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--encre); border-radius: 8px; padding: 0.2rem 0.7rem; margin-bottom: 0.9rem; }

/* Tarifs regroupés */
.groupes { display: grid; gap: 1rem; }
.groupe { background: var(--surface); border-radius: var(--rayon); padding: 1.25rem 1.25rem 0.5rem; display: flex; flex-direction: column; }
.groupe-titre { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--encre-douce); margin-bottom: 0.5rem; }
.tarif {
  display: flex; flex-direction: column; gap: 0.15rem; width: 100%;
  font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 0.9rem 0.25rem; border-top: 1px solid var(--trait); border-radius: 0;
}
li:first-child > .tarif { border-top: 0; }
.tarif:hover .tarif-nom, .tarif:hover .tarif-voir { text-decoration: underline; text-underline-offset: 0.2em; }
.tarif-nom { font-weight: 600; }
.tarif-prix { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.tarif-detail { font-size: 0.95rem; color: var(--encre-douce); }
.tarif-voir { font-size: 0.9rem; font-weight: 600; color: var(--action); margin-top: 0.25rem; }
.tarifs-mention { font-size: 0.9rem; color: var(--encre-douce); max-width: 80ch; margin: 1.5rem 0 0; }

/* Fiche détaillée d'une offre (fenêtre au clic) */
.fiche {
  width: min(640px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: 16px;
  background: var(--surface); color: var(--encre);
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.3);
}
.fiche::backdrop { background: rgb(28 36 51 / 0.55); }
.fiche-entete {
  position: sticky; top: 0; z-index: 1; background: var(--surface);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem 1.5rem; border-bottom: 1px solid var(--trait);
}
.fiche-entete h2 { font-size: 1.3rem; margin: 0.35rem 0 0; }
.fiche-prix { color: var(--encre-douce); font-weight: 600; white-space: nowrap; }
.fiche-fermer {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  background: none; border: 0; border-radius: 10px; color: var(--encre); cursor: pointer;
}
.fiche-fermer:hover { background: var(--fond-bande); }
.fiche-corps { padding: 1.25rem 1.5rem 1.5rem; }
.fiche-corps h3 { margin: 1.25rem 0 0.3rem; font-size: 1rem; }
.fiche-corps p { color: var(--encre-douce); }
.fiche-corps .fiche-accroche { color: var(--encre); font-weight: 600; font-size: 1.1rem; }
.fiche-corps .fiche-pied { font-style: italic; font-size: 0.95rem; margin: 1.25rem 0; }
.fiche-corps .bouton { margin-top: 0.75rem; }
.parcours { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin: 0.5rem 0 1rem; }
.parcours li { color: var(--action); font-weight: 600; font-size: 0.95rem; }
.parcours li + li::before { content: "→"; color: var(--encre-douce); font-weight: 400; margin-right: 0.5rem; }

/* Réservation */
.reserver { text-align: center; }
.reservation { margin: 1.5rem 0 1rem; min-height: 200px; text-align: left; }

/* Page Sources : un bouton par source */
.sources { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.sources li { scroll-margin-top: calc(var(--hauteur-entete) + 1rem); }
.source {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--surface); border: 1px solid var(--trait); border-radius: 10px;
  padding: 0.6rem 0.9rem; text-decoration: none; min-height: 48px;
}
.source:hover { border-color: var(--encre-douce); }
.source-rang { font-size: 0.8rem; font-weight: 700; color: var(--encre-douce); }
.source-texte { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1.35; color: var(--encre-douce); }
.source-texte strong { font-size: 0.95rem; color: var(--encre); }
.source .icone { width: 1.1rem; height: 1.1rem; color: var(--encre-douce); }
.sources li:target .source { border-color: var(--action); box-shadow: 0 0 0 2px var(--action-pale); }

/* Pages légales */
.legal { padding-top: 2.5rem; padding-bottom: 3rem; }
.legal h1 { font-size: clamp(1.75rem, 5vw, 2.4rem); }
.legal h2 { font-size: 1.15rem; margin-top: 1.75rem; }
.maj, .a-completer { color: var(--encre-douce); font-size: 0.9rem; }
main .legal-section { padding: 0; scroll-margin-top: calc(var(--hauteur-entete) + 1rem); }
.legal-liste { list-style: disc; padding-left: 1.25rem; margin: 0 0 0.75em; }
.legal-liste li { margin-bottom: 0.4em; }
.refus { margin: 0.5rem 0 1rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 0.9rem 1rem; }
.refus p { margin: 0 0 0.5rem; }
.refus label { margin-left: 0.5rem; }
.refus input { width: 1.1rem; height: 1.1rem; accent-color: var(--action); vertical-align: -0.15em; }
.a-completer { background: var(--fond-bande); border-radius: var(--rayon); padding: 0.75rem 1rem; }

@media (min-width: 720px) {
  main section { padding: 4rem 0; }
  .promesse { padding: 4.5rem 0; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .groupes { grid-template-columns: repeat(2, 1fr); }
  .encart { padding: 2rem 2.25rem; }
}

@media (min-width: 900px) {
  .promesse-cadre { grid-template-columns: 1.25fr 1fr; }
  .visuel { display: block; }
}

@media (min-width: 1040px) {
  .chiffres { grid-template-columns: repeat(4, 1fr); }
}
