/* Clap & Pulse · le rapport annoté */

/* Polices hébergées sur le site (aucun appel à Google) */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "Permanent Marker";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/permanent-marker.woff2") format("woff2");
}

:root {
  --bleu: #567eff;
  --bleu-lien: #2f56d9;
  --menthe: #dcfffa;
  --menthe-texte: #0d5c50;
  --encre: #18181b;
  --gris: #55575f;
  --filet: #e4e4e8;
  --fond: #f6f7f9;
  --blanc: #ffffff;
  --gris-clair: #c9cbd2;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --marqueur: "Permanent Marker", cursive;
}

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }

a { color: var(--bleu-lien); }
a:hover { color: var(--encre); }

/* Grille */

.conteneur {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; border-bottom: 1px solid var(--filet); }
.section--trait { border-bottom: 2px solid var(--encre); }
.section--menthe { background: var(--menthe); border-bottom: 0; }
.section--gris { background: var(--fond); }
.section--bleue { background: var(--bleu); border-bottom: 0; padding: 96px 0 104px; }

.grille {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.grille__etiquette { flex: 0 0 200px; padding-top: 10px; }
.grille__contenu { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

/* Typographie */

.h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.h2 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 22ch;
}

.h1--methode { font-size: 56px; max-width: 17ch; }

.sous-titre { font-size: 20px; line-height: 1.5; color: var(--gris); max-width: 46ch; }

.etiquette {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
}

.mono { font-family: var(--mono); font-size: 13px; color: var(--gris); }

.annotation {
  font-family: var(--marqueur);
  font-size: 21px;
  line-height: 1.2;
  color: var(--bleu);
}

.section--menthe .etiquette { color: var(--menthe-texte); }
.section--bleue .etiquette,
.section--bleue .mono { color: var(--encre); }

/* Bouton */

.bouton {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 24px;
  border-radius: 2px;
  background: var(--bleu);
  color: var(--blanc);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
}
.bouton:hover { background: var(--bleu-lien); color: var(--blanc); }
.bouton--encre { background: var(--encre); }
.bouton--encre:hover { background: #000; }

.appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* En-tête */

.entete { border-bottom: 1px solid var(--filet); background: var(--blanc); }
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.entete__logo { display: block; background: #5176fd; padding: 8px 14px; border-radius: 2px; }
.entete__logo img { width: 212px; height: auto; }
.entete nav { display: flex; align-items: center; gap: 28px; }
.entete nav a:not(.bouton) { font-size: 15px; color: var(--encre); text-decoration: none; }
.entete nav a:not(.bouton):hover,
.entete nav a[aria-current="page"] { color: var(--bleu-lien); }

/* Choix de la langue : menu déroulant */

.langues { position: relative; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.langues summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--filet);
  border-radius: 2px;
  color: var(--encre);
  user-select: none;
}
.langues summary::-webkit-details-marker { display: none; }
.langues summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.langues[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.langues summary:hover, .langues[open] summary { border-color: var(--encre); }
.langues__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  background: var(--blanc);
  border: 1px solid var(--encre);
  border-radius: 2px;
}
.entete nav .langues__menu a { padding: 8px 10px; font-size: 13px; color: var(--encre); }
.entete nav .langues__menu a + a { border-top: 1px solid var(--filet); }
.entete nav .langues__menu a:hover { background: var(--fond); color: var(--bleu-lien); }

/* Pied de page */

.pied { background: var(--encre); color: var(--blanc); }
.pied .conteneur {
  display: flex;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 64px;
}
.pied__logo { flex: 1 1 0; }
.pied__logo img { width: 120px; height: 120px; border-radius: 2px; }
.pied__coordonnees {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gris-clair);
}
.pied__coordonnees a { color: var(--gris-clair); text-decoration: none; }
.pied__legal { flex: 0.8 1 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pied__legal a { color: var(--blanc); }
.pied__legal a:hover { color: var(--menthe); }

/* Accroche de l'accueil */

.accroche .conteneur { display: flex; gap: 56px; align-items: flex-start; }
.accroche__message { flex: 7 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.accroche__message .h1 { max-width: 14ch; font-size: 68px; letter-spacing: -0.03em; line-height: 1.02; }
.accroche__message .h1 span { display: block; }
.accroche__message .h1 .bleu { color: var(--bleu); }
.accroche__message .sous-titre { font-size: 21px; max-width: 44ch; }
.accroche__message .appel { padding-top: 8px; }

.rapport { flex: 5 1 0; min-width: 0; border-top: 2px solid var(--encre); padding-top: 14px; }
.rapport__entete {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--encre);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gris);
}
.rapport__ligne {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--filet);
}
.rapport__mot { font-size: 22px; font-weight: 500; }
.rapport__entoure { position: relative; display: inline-block; }
.rapport__entoure svg {
  position: absolute;
  left: -14px;
  top: -12px;
  width: calc(100% + 28px);
  height: calc(100% + 24px);
  overflow: visible;
}
.rapport .annotation { font-size: 20px; transform: rotate(-3deg); }

.encart {
  background: var(--menthe);
  color: var(--menthe-texte);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
}
.encart__titre {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.rapport .encart { margin-top: 20px; }

/* Colonnes à filet */

.colonnes { display: flex; gap: 32px; }
.colonnes > * {
  flex: 1 1 0;
  min-width: 0;
  border-top: 2px solid var(--encre);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.colonnes .fort { font-size: 19px; font-weight: 500; line-height: 1.5; }
.colonnes .chiffre { font-family: var(--marqueur); font-size: 26px; line-height: 1; color: var(--bleu); }
.colonnes .titre { font-size: 20px; font-weight: 700; line-height: 1.3; }
.colonnes .detail { font-size: 16px; color: var(--gris); line-height: 1.5; }
.colonnes .colonne--fin { border-top-width: 1px; gap: 8px; }
.colonnes .colonne--bleue { border-top-color: var(--bleu); gap: 8px; }
.colonnes .colonne--bleue .etiquette { color: var(--bleu-lien); }
.colonnes .etiquette { font-size: 12px; letter-spacing: 0.07em; }

/* Tableaux */

.tableau { border-top: 2px solid var(--encre); }
.tableau__ligne {
  display: grid;
  border-bottom: 1px solid var(--filet);
}
.tableau__ligne > div { padding: 20px 16px 20px 0; }
.tableau__ligne > div:last-child { padding-right: 0; }
.tableau__entete { border-bottom: 1px solid var(--encre); }
.tableau__entete > div {
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gris);
}
.repere { display: none; }

.decisions .tableau__ligne { grid-template-columns: 22% 40% 1fr; font-size: 17px; }
.decisions--sans-question .tableau__ligne { grid-template-columns: 22% 1fr; }
.decisions .nom { font-weight: 700; }
.decisions .question { color: var(--gris); }

.etapes .tableau__ligne { grid-template-columns: 230px 1fr 1fr 120px; font-size: 16px; }
.etapes .resultat { background: var(--menthe); color: var(--menthe-texte); padding-left: 16px; border-bottom: 1px solid var(--blanc); }
.etapes .duree { font-family: var(--mono); font-size: 14px; text-align: right; white-space: nowrap; }
.etapes .duree small { display: block; font-size: 12px; color: var(--gris); }
.etapes .tableau__entete .duree { font-size: 12px; }
.etape__titre { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.etape__titre .annotation { font-size: 20px; }
.etape__offre { display: block; font-size: 14px; color: var(--gris); padding-left: 26px; }
.note { font-size: 15px; color: var(--gris); max-width: 60ch; }

/* Annotations avec flèche */

.fleche {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transform: rotate(-2deg);
  margin-left: 4px;
}
.fleche svg { width: 40px; height: 30px; }
.fleche--blanche .annotation { color: var(--blanc); font-size: 22px; }
.fleche--blanche svg { width: 46px; height: 28px; transform: scaleX(-1); }

/* Phrase clé */

.phrase-cle { font-size: 30px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; max-width: 26ch; margin-top: 8px; }
.souligne {
  text-decoration: underline wavy var(--bleu) 2px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}
.lien-fleche { font-size: 17px; font-weight: 500; align-self: flex-start; }

/* Qui je suis */

.portrait { display: flex; gap: 40px; align-items: flex-start; }
.portrait__image { flex: 0 0 280px; }
.portrait__image img { width: 280px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.portrait__texte { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.portrait__texte p { max-width: 46ch; }
.portrait__texte .gris { color: var(--gris); }

/* Liste numérotée */

.deroule { border-top: 1.5px solid var(--encre); max-width: 640px; }
.deroule div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.deroule span:first-child { font-family: var(--mono); font-size: 13px; color: var(--gris); min-width: 28px; padding-top: 3px; }
.section--bleue .deroule div { border-bottom-color: rgba(24, 24, 27, 0.25); }
.section--bleue .deroule span:first-child { color: var(--encre); }

/* Réservation */

.reservation .conteneur { display: flex; gap: 64px; align-items: flex-start; }
.reservation__message { flex: 5 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.reservation__message .h1 { font-size: 52px; line-height: 1.06; max-width: 14ch; }
.reservation__message .deroule { border-top-width: 1px; }
.reservation__agenda { flex: 6 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.reservation__agenda iframe { width: 100%; height: 700px; border: 0; }
.reservation__contact { font-size: 15px; color: var(--gris); margin-top: 4px; }
.reservation__contact a { font-family: var(--mono); }

.avec-qui { display: flex; gap: 24px; align-items: center; }
.avec-qui img { width: 96px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; flex: 0 0 96px; }
.avec-qui p:first-child { font-weight: 700; }
.avec-qui .gris { color: var(--gris); max-width: 52ch; }

/* Pages légales */

.page-legale { min-height: 50vh; }
.texte-legal { display: flex; flex-direction: column; gap: 14px; max-width: 68ch; font-size: 17px; }
.texte-legal h2 { margin: 24px 0 0; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.texte-legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.texte-legal .maj { font-family: var(--mono); font-size: 13px; color: var(--gris); }

/* Emplacements à remplir : masqués tant qu'ils ne sont pas remplis */

.a-remplir { display: none !important; }

/* Mobile */

@media (max-width: 809.98px) {
  body { font-size: 17px; }
  .conteneur { padding: 0 16px; }

  .section, .section--bleue { padding: 56px 0; }
  .grille { flex-direction: column; gap: 24px; }
  .grille__etiquette { flex: none; padding-top: 0; }

  .h1, .h1--methode, .accroche__message .h1, .reservation__message .h1 { font-size: 40px; }
  .h2, .h2[style] { font-size: 28px !important; }
  .sous-titre, .accroche__message .sous-titre { font-size: 18px; }
  .etiquette { font-size: 12px; }
  .annotation { font-size: 18px; }
  .phrase-cle { font-size: 24px; }

  .entete .conteneur { padding-top: 12px; padding-bottom: 12px; }
  .entete__logo { padding: 5px 8px; }
  .entete__logo img { width: 104px; }
  .entete nav { gap: 8px; }
  .entete .bouton { white-space: nowrap; padding: 10px 12px; font-size: 14px; }
  .langues summary { padding: 8px 8px; }
  .entete nav > a:not(.bouton) { display: none; }
  .entete .bouton { min-height: 40px; padding: 10px 14px; font-size: 15px; }

  .pied .conteneur { flex-direction: column; gap: 32px; padding-top: 48px; padding-bottom: 56px; }

  .accroche .conteneur,
  .reservation .conteneur,
  .colonnes,
  .portrait { flex-direction: column; gap: 32px; }
  .colonnes { gap: 20px; }
  .colonnes > *, .rapport, .reservation__message, .reservation__agenda { width: 100%; flex: none; }
  .portrait__image { flex: none; }
  .portrait__image img { width: 240px; }

  .tableau { border-top: 0; display: flex; flex-direction: column; gap: 24px; }
  .tableau .tableau__entete { display: none; }
  .tableau__ligne { display: flex; flex-direction: column; border-top: 2px solid var(--encre); border-bottom: 0; }
  .tableau__ligne > div { padding: 0 0 12px 0; }
  .repere {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gris);
    margin-bottom: 4px;
  }
  .decisions .tableau__ligne { padding-top: 16px; }
  .decisions .nom { font-size: 20px; }

  .etapes .tableau__ligne > div:first-child { padding-top: 16px; padding-bottom: 6px; }
  .etape__titre { font-size: 20px; }
  .etape__titre .annotation { font-size: 28px; line-height: 1; }
  .etape__offre {
    padding-left: 0;
    margin-top: 6px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .etapes .tableau__ligne > div { order: 2; }
  .etapes .tableau__ligne > div:first-child { order: 0; }
  .etapes .tableau__ligne > .duree { order: 1; text-align: left; font-size: 13px; padding-bottom: 14px; }
  .etapes .duree small { display: inline; margin-left: 8px; }
  .etapes .resultat { padding: 14px 16px; border-bottom: 0; margin-bottom: 8px; }
  .etapes .resultat .repere { color: var(--menthe-texte); }

  .reservation__agenda iframe { height: 760px; }
  .avec-qui { align-items: flex-start; }
}
