/* ═══════════════════════════════════════════════════════
   Site manifeste IATOPRO
   Charte IATOPRO v1.0 — accent platine (marque mère)
   Aucune ressource externe. Voir §9 de la spec.
   ═══════════════════════════════════════════════════════ */

/* Polices variables servies depuis ce serveur. Deux fichiers par famille :
   « latin » couvre le français courant, « latin-ext » les caractères rares. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --bg-base: #080d18;
  --bg-surface-1: #0f1629;
  --bg-surface-2: #1a2340;
  --text-primary: #f0f4ff;
  /* Désaturé le 30/07 : la valeur d'origine (#8b9cc8) était un bleu franc posé
     sur un fond bleu — deux teintes voisines qui se disputent, ce qui donne
     l'aspect « thème sombre générique ». Le gris froid laisse l'accent platine
     être la seule couleur de la page. Contraste amélioré au passage. */
  --text-secondary: #9aa3b2;
  --text-dim: #4a5578;

  --accent: #94a3b8;
  --accent-light: #cbd5e1;
  --accent-glow: rgba(148, 163, 184, 0.15);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);

  --space-4: 1rem;
  --space-8: 2rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-md: 0.75rem;
  /* 38rem : au-delà, les lignes deviennent trop longues à lire. */
  --max-w: 38rem;
}

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

body {
  margin: 0;
  /* Un seul fond pour toute la page — comme la landing LINK : un dégradé radial
     profond qui s'éteint vers le bas. L'alternance de bandes a été retirée le
     30/07 : elle découpait la lecture au lieu de la porter. */
  background:
    radial-gradient(ellipse 130% 70% at 50% 0%, #101c3a 0%, #080d18 62%)
    no-repeat fixed var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Bandes ──
   Chaque section occupe toute la largeur de l'écran et porte son propre fond ;
   le texte, lui, reste dans une colonne de lecture centrée. C'est l'alternance
   des fonds qui donne le rythme, à la place des filets de séparation. */

.bande { padding: var(--space-20) 0; }

/* ── Carte ──
   Technique reprise de la landing LINK : le fond est peint en `padding-box` et
   la bordure en `border-box`, ce qui permet un liseré en dégradé impossible à
   obtenir avec `border-color`. Les trois ombres donnent la profondeur :
   une portée large, un liseré clair en haut, un liseré sombre en bas. */
.carte {
  /* Fond OPAQUE et plus sombre que la page, et non un voile blanc translucide :
     le voile éclaircissait le fond et écrasait le contraste du texte posé
     dessus. La carte s'enfonce au lieu de briller — le texte y gagne. */
  background:
    linear-gradient(160deg, #0c1220 0%, #080d18 100%) padding-box,
    linear-gradient(145deg, rgba(148, 163, 184, 0.5) 0%, rgba(255, 255, 255, 0.07) 45%,
      rgba(148, 163, 184, 0.2) 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.carte:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 32px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contenu {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); margin: 0; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin: 0 0 var(--space-4); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ── Hero ── */

.bande--hero {
  padding: var(--space-24) 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(148, 163, 184, 0.14), transparent 70%),
    var(--bg-base);
}

.marque {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-8);
}

.hero h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }

/* Titre en dégradé, comme la marque de LINK. Sous @supports : si le navigateur
   ne sait pas découper un fond sur du texte, il garde la couleur pleine — sans
   quoi le titre deviendrait invisible. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(203, 213, 225, 0.62) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero__sous-titre {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--text-secondary);
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
  max-width: 24em;
}

/* La preuve, en une ligne : sans elle, « j'ai exécuté, j'ai piloté » peut se
   lire comme deux ans de carrière. */
/* La preuve ouvre la phrase : placée à la fin, elle avait l'air d'une rustine
   ajoutée après coup. */
.hero__preuve { color: var(--accent-light); }

/* Porte de secours écrite, volontairement discrète : le téléphone reste la
   conversion principale (critère d'acceptation n°15). Le formulaire de
   rendez-vous prévu en seconde passe la remplacera. */
.appel__ecrire {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero__metier {
  margin-top: var(--space-8);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 30em;
}

/* Raccourci pour qui ne veut pas lire : ancre vers l'acte 06, où le numéro est
   mis en scène. Le premier écran ouvre une porte vers lui, il ne l'affiche pas. */
.hero__appel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ── Pilule ──
   Reprise des `.btn-primary` de LINK : dégradé translucide de la couleur
   d'accent, bordure haute plus marquée, triple ombre. Ce n'est pas un bouton
   plein — le fond reste transparent, la lumière vient du liseré. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.5em;
  background: linear-gradient(145deg, rgba(148, 163, 184, 0.16) 0%, rgba(148, 163, 184, 0.06) 100%);
  color: var(--accent-light);
  border: 1px solid var(--border-default);
  border-top: 2px solid var(--accent);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 4px 32px rgba(148, 163, 184, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(148, 163, 184, 0.18);
  transition: box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.pill:hover,
.pill:focus-visible {
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow:
    0 8px 40px rgba(148, 163, 184, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(148, 163, 184, 0.25);
}

.pill:active { transform: scale(0.97); }

.hero__appel a { font-size: 1.05rem; }
.hero__appel a::after { content: "↓"; }

html { scroll-behavior: smooth; }
#appel { scroll-margin-top: 0; }

/* ── Domaines d'intervention ──
   Deux cartes, titrées, listes verticales. Le visiteur pressé sait en trois
   secondes ce qui est couvert, sans avoir à décoder une énumération. */

.piliers__grille {
  display: grid;
  gap: var(--space-4);
}

.pilier { padding: var(--space-8) 1.75rem; }

.pilier h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
  margin: 0 0 var(--space-4);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-default);
  color: var(--accent-light);
}

.pilier ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilier li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  padding: 0.35em 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pilier li:last-child { border-bottom: none; }

/* Le problème résolu, pas la promesse de résultat : un chiffre serait interdit
   ici, et une promesse contredirait l'acte 04. */
.pilier__pourquoi {
  margin: var(--space-4) 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.piliers__parti-pris {
  margin: var(--space-8) 0 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
}

@media (min-width: 40rem) {
  .piliers__grille { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}

/* ── Actes ── */

.acte__numero {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-8);
}

.acte__numero::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-default), transparent);
}

.acte h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  margin: 0 0 var(--space-8);
}

/* Point d'entrée de chaque acte : le premier paragraphe porte, les suivants
   accompagnent. Aucune classe à poser dans le HTML. */
.acte .contenu > p:first-of-type {
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* Une phrase isolée qui porte l'acte. Pas une citation d'un tiers : la voix du
   texte lui-même, mise en avant. */
.appui {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.4;
  color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding-left: var(--space-4);
  margin: var(--space-8) 0;
}

/* ── Schéma avant / après ──
   Le seul visuel de la page. Dessiné en HTML et CSS : aucune image, donc rien
   à charger et un texte qui reste sélectionnable et lisible par un lecteur
   d'écran. */

.schema {
  margin: var(--space-8) 0;
  padding: 0;
}

.schema__grille {
  display: grid;
  gap: var(--space-4);
}

.schema__col { padding: var(--space-4) 1.25rem; }

/* La colonne « après » se distingue par un liseré platine plus franc, pas par
   une couleur d'alerte : la charte n'a pas de rouge, et le propos n'est pas
   d'accuser qui que ce soit. */
.schema__col--apres {
  /* Même densité de fond que la colonne « avant » : un fond plus clair d'un
     côté créait un reflet qui gênait la lecture. Seule la bordure distingue. */
  background:
    linear-gradient(160deg, #0c1220 0%, #080d18 100%) padding-box,
    linear-gradient(145deg, rgba(148, 163, 184, 0.8) 0%, rgba(255, 255, 255, 0.12) 50%,
      rgba(148, 163, 184, 0.45) 100%) border-box;
}

.schema__etiquette {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.schema ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-primary);
}

.schema li { margin-bottom: 0.6em; }
.schema li:last-child { margin-bottom: 0; }

.schema__point-faible { color: var(--text-secondary); font-style: italic; }
/* Seule ligne volontairement en retrait : c'est le point faible du dispositif. */

.schema__point-fort {
  color: var(--text-primary);
  font-weight: 600;
}

.schema figcaption {
  margin-top: var(--space-4);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

@media (min-width: 40rem) {
  .schema__grille { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}

/* ── Acte 06 : l'appel ──
   La bande la plus claire de la page, et la seule à porter un halo : c'est
   l'unique conversion du site, elle doit se détacher de tout le reste. */

.appel .contenu {
  padding: var(--space-16) var(--space-8);
  background:
    linear-gradient(160deg, rgba(148, 163, 184, 0.13) 0%, rgba(148, 163, 184, 0.03) 100%) padding-box,
    linear-gradient(145deg, rgba(148, 163, 184, 0.7) 0%, rgba(255, 255, 255, 0.09) 45%,
      rgba(148, 163, 184, 0.3) 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.5),
    0 0 60px -25px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Le numéro reprend la pilule, en plus grand et en blanc franc : c'est
   l'élément le plus lumineux de la page. Centré, et collé au titre qui
   l'annonce — les deux se lisent d'un seul regard. */
.appel__numero {
  /* `display: flex` et non `inline-flex` : sans passer en niveau bloc,
     `margin: 0 auto` ne centre rien. */
  display: flex;
  width: fit-content;
  font-size: clamp(1.4rem, 5.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
  padding: 0.55em 1.2em;
  margin: var(--space-8) auto;
}

.appel h2 { margin-bottom: var(--space-4); }

/* Icône en trait, façon LINK : contour arrondi, remplissage translucide,
   halo porté. Elle hérite de la couleur du texte via `currentColor`. */
.icone-appel {
  width: 0.9em;
  height: 0.9em;
  color: var(--accent);
  filter: drop-shadow(0 0 7px rgba(148, 163, 184, 0.5));
  transition: color 0.2s ease;
}

.appel__numero:hover .icone-appel,
.appel__numero:focus-visible .icone-appel { color: var(--accent-light); }

.appel__rassurance {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 34em;
}

.appel .contenu > p:first-of-type { font-size: 1.05rem; }

/* ── Signature et pied de page ──
   --text-dim (#4a5578) plafonne à 2,65 de contraste sur le fond : il échoue au
   seuil AA et ne doit jamais porter de texte. Réservé aux bordures. */

.signature {
  padding: var(--space-16) 0 var(--space-8);
  text-align: center;
}

.signature__nom {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.3em;
}

.signature__role {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-8) 0 var(--space-16);
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
}

footer a { color: var(--text-secondary); }

a { color: var(--accent-light); }

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

@media (min-width: 64rem) {
  body { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE D'OFFRE — pivot éditorial du 2026-08-20
   L'accueil vend l'offre, il ne raconte plus le parcours. La colonne de 38rem
   convenait à un manifeste ; elle transformait quatre prestations en mur de
   texte. Les blocs d'offre passent en grille sur une largeur plus généreuse,
   le texte suivi reste en colonne étroite.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --max-w-large: 64rem;
}

.entete {
  padding: var(--space-8) var(--space-4) 0;
  text-align: center;
}

.bloc {
  padding: var(--space-20) var(--space-4);
}

.bloc--surface { background: var(--bg-surface-1); }

.contenu--large {
  max-width: var(--max-w-large);
  margin-inline: auto;
}

.bloc__etiquette {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-4);
}

.bloc h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 var(--space-8);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.bloc--hero { padding-top: var(--space-16); text-align: center; }

.hero__titre {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin: 0 0 var(--space-8);
}

.hero__titre em {
  font-style: normal;
  color: var(--accent-light);
}

.hero__accroche {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-light);
  max-width: 34rem;
  margin: 0 auto var(--space-4);
}

.hero__metier {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 0 auto var(--space-8);
}

.hero__appel { margin: 0; }

/* ── Le problème ────────────────────────────────────────────────────────── */

.liste-douleurs {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
}

.liste-douleurs li {
  border-left: 2px solid var(--border-default);
  padding: 0.35rem 0 0.35rem var(--space-4);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

/* ── Grilles de cartes ──────────────────────────────────────────────────── */

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.carte {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-4);
}

.carte h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-light);
  margin: 0 0 0.6rem;
}

.carte p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Les trois niveaux d'accompagnement ─────────────────────────────────── */

.etapes {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-4);
}

.etapes__rang {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

/* ── Preuve et offre de lancement ───────────────────────────────────────── */

.preuve {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  color: var(--text-secondary);
  margin: 0;
}

.preuve strong { color: var(--accent-light); }

.bloc--offre { background: var(--bg-surface-2); }

.bloc--offre strong { color: var(--accent-light); }

/* ── Pied de page ───────────────────────────────────────────────────────── */

.pied {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-8) var(--space-4);
  text-align: center;
}

.pied__identite {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.pied__liens { margin: 0; }

.pied__liens a {
  color: var(--accent-light);
  font-size: 0.85rem;
  margin: 0 0.6rem;
}
