/* Portfolio Faris Charfih. Feuille de style unique, écrite mobile d'abord.
   Les valeurs viennent des maquettes (charte/tokens.css et maquettes/) :
   390 px pour le mobile, 1440 px pour l'ordinateur. Entre les deux, les
   grands titres et les marges glissent avec clamp(), et trois paliers font
   basculer la mise en page : 640 px (deux colonnes dans les formulaires et
   les listes), 900 px (grilles à trois colonnes, scène des captures) et
   1024 px (menu d'ordinateur, hero en deux colonnes, pages en deux colonnes). */

/* ---------- Tokens ---------- */
:root {
  --nuit: #0D0B26;            --ligne-sombre: #2A2566;     --lavande: #B8B5DC;         --blanc-casse: #E9E7F7;
  --blanc: #FFFFFF;           --brume: #F6F6FB;            --gris-lavande: #EFEEF6;    --bordure: #E4E3EF;
  --bordure-champ: #8C89A8;   --encre: #16133A;            --texte: #4B4868;           --texte-discret: #6A6789;
  --turquoise: #2FDDD0;       --turquoise-fonce: #22CBBF;  --sarcelle: #0A7A73;        --sarcelle-fonce: #075E59;
  --turquoise-pale: #E6F9F7;  --erreur: #C0322B;

  --illu-trait: #2B2850;      --illu-fond: #EFEEF8;        --illu-points: #D6D4E8;     --illu-aplat: #C9C7DB;

  --police: 'Outfit', system-ui, sans-serif;
  --police-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-etiquette: 8px;  --r-champ: 14px;  --r-icone: 16px;  --r-carte-mobile: 24px;
  --r-carte: 28px;     --r-projet: 32px; --r-pilule: 999px;

  --ombre-carte: 0 1px 2px rgba(13, 11, 38, .05), 0 18px 40px rgba(13, 11, 38, .08);
  --focus: 3px solid var(--sarcelle);

  /* Mise en page : 1200 px de contenu, marges de 24 px qui montent à 120 px sur 1440. */
  --contenu: 1200px;
  --gouttiere: clamp(24px, calc((100vw - var(--contenu)) / 2), 120px);
  --entete: 72px;
  --section: clamp(80px, 4.57vw + 62px, 128px);
  --courbe: 48px;
}

/* ---------- Polices (auto-hébergées, voir assets/fonts/) ---------- */
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url(../fonts/outfit-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: 'Outfit'; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url(../fonts/outfit-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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/jetbrains-mono-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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/jetbrains-mono-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;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nuit); color: var(--encre);
  font: 400 18px/28px var(--police); -webkit-font-smoothing: antialiased;
}
main { display: block; background: var(--blanc); }
h1, h2, h3, p, figure, ul, ol, dl { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--sarcelle); }
a:hover { color: var(--sarcelle-fonce); }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.conteneur { max-width: calc(var(--contenu) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.icone { flex-shrink: 0; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Lien d'évitement : invisible jusqu'au premier Tab. */
.saut {
  position: absolute; left: 16px; top: -100px; z-index: 30; padding: 12px 16px;
  border-radius: var(--r-etiquette); background: var(--blanc); color: var(--encre); font-weight: 500;
}
.saut:focus { top: 16px; }

/* ---------- Boutons et liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-pilule); cursor: pointer;
  font-size: 17px; line-height: 24px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.bouton--principal { background: var(--turquoise); color: var(--nuit); }
.bouton--principal:hover { background: var(--turquoise-fonce); color: var(--nuit); }
.bouton--sombre { background: var(--encre); color: var(--blanc); }
.bouton--sombre:hover { background: var(--nuit); color: var(--blanc); }
.bouton--contour {
  height: 48px; padding: 0 22px; border: 1.5px solid var(--turquoise);
  background: transparent; color: var(--blanc); font-size: 16px;
}
.bouton--contour:hover { background: rgba(47, 221, 208, .12); color: var(--blanc); }
.bouton--bloc { width: 100%; }
.lien {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 17px; line-height: 26px; font-weight: 500; color: var(--sarcelle);
  text-decoration: underline; text-underline-offset: 5px;
}
.lien--discret { color: var(--texte); }
.lien--discret:hover { color: var(--encre); }
.lien-clair {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-size: 17px; line-height: 24px; color: var(--blanc);
  text-decoration: underline; text-decoration-color: var(--lavande); text-underline-offset: 6px;
}
.lien-clair:hover { color: var(--blanc); text-decoration-color: var(--turquoise); }

/* ---------- En-tête ---------- */
.entete { position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: var(--entete); }
.entete__ligne { height: var(--entete); display: flex; align-items: center; justify-content: space-between; }
.marque {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -.01em; color: var(--blanc); text-decoration: none;
}
.marque:hover { color: var(--blanc); }
.entete__bureau { display: none; }
.entete__mobile { display: flex; align-items: center; gap: 4px; }
.langue-mobile {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; letter-spacing: .06em; color: var(--blanc-casse); text-decoration: none;
}
.menu-bouton {
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--ligne-sombre); border-radius: 12px;
  background: transparent; color: var(--blanc); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.menu-bouton[aria-expanded="true"] { background: var(--ligne-sombre); }
.menu-bouton .icone--fermer { display: none; }
.menu-bouton[aria-expanded="true"] .icone--ouvrir { display: none; }
.menu-bouton[aria-expanded="true"] .icone--fermer { display: block; }
.menu-panneau {
  position: absolute; top: var(--entete); left: 0; right: 0; z-index: 10;
  padding: 8px var(--gouttiere) 24px; background: var(--nuit); border-top: 1px solid var(--ligne-sombre);
  box-shadow: 0 24px 40px rgba(13, 11, 38, .35);
}
.menu-panneau[hidden] { display: none; }
.menu-panneau ul { list-style: none; padding: 0; }
.menu-panneau li a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--ligne-sombre);
  font-size: 18px; color: var(--blanc); text-decoration: none;
}
.menu-panneau li a[aria-current] { color: var(--turquoise); }
.menu-panneau .bouton { margin-top: 20px; }
.nav-principale { display: flex; align-items: center; gap: 32px; }
.nav-principale a { font-size: 17px; color: var(--blanc-casse); text-decoration: none; }
.nav-principale a:hover { color: var(--blanc); }
.nav-principale a[aria-current] {
  color: var(--blanc); text-decoration: underline; text-decoration-color: var(--turquoise);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.langues {
  height: 24px; padding-left: 24px; border-left: 1px solid var(--ligne-sombre);
  display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 24px; font-weight: 500; letter-spacing: .06em;
}
.langues [aria-current] {
  color: var(--blanc); text-decoration: underline; text-decoration-color: var(--turquoise);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.langues a { color: var(--lavande); text-decoration: none; }
.langues a:hover { color: var(--blanc); }

/* ---------- Hero et courbe ---------- */
.hero {
  position: relative; background: var(--nuit);
  padding: calc(var(--entete) + 28px) 0 var(--courbe);
}
.hero__contenu { display: flex; flex-direction: column; }
.hero__texte-col { display: flex; flex-direction: column; align-items: flex-start; }
.hero__titre {
  font-size: clamp(72px, 5.33vw + 51px, 128px); line-height: 1; font-weight: 300; letter-spacing: -.03em; color: var(--blanc);
}
.hero__titre--page { font-size: clamp(64px, 6.1vw + 40px, 128px); }
/* Pages de texte : un titre plus long (« Mentions légales. »), donc un cran plus petit et une colonne plus large. */
.hero__titre--moyen { font-size: clamp(48px, 5.33vw + 27px, 104px); line-height: 1.06; }
.hero--texte .hero__texte-col { max-width: 960px; }
.hero__texte { margin-top: 20px; font-size: 18px; line-height: 28px; color: var(--blanc-casse); }
.hero__actions { margin-top: 28px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__illustration { width: 100%; max-width: 342px; margin: 16px auto 0; }
.hero__illustration img { width: 100%; }
.courbe {
  position: absolute; left: 0; bottom: -1px; display: block; width: 100%; height: calc(var(--courbe) + 1px);
}
.courbe--haut { top: -1px; bottom: auto; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--blanc { background: var(--blanc); }
.section--brume { background: var(--brume); }
.section__entete { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.titre-section {
  font-size: clamp(36px, 1.52vw + 30px, 52px); line-height: 1.18; font-weight: 300; letter-spacing: -.02em;
  color: var(--encre); text-wrap: balance;
}
.sous-titre { font-size: 18px; line-height: 28px; color: var(--texte-discret); text-wrap: balance; }
.section__corps { margin-top: 40px; }

/* ---------- Services ---------- */
.services { padding-top: 32px; }
.cartes-services { display: grid; gap: 16px; }
.carte-service {
  padding: 28px 24px; border-radius: var(--r-carte-mobile); background: var(--brume);
  display: flex; flex-direction: column; gap: 16px;
}
.carte-service__icone {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blanc); color: var(--sarcelle);
  display: flex; align-items: center; justify-content: center;
}
.carte-service h3 { margin-top: 4px; font-size: 22px; line-height: 30px; font-weight: 500; }
.carte-service__texte { flex-grow: 1; font-size: 17px; line-height: 27px; color: var(--texte); }
.carte-service__ideal { padding-top: 16px; border-top: 1px solid var(--bordure); font-size: 16px; line-height: 24px; color: var(--texte); }
.carte-service__ideal strong { font-weight: 500; color: var(--encre); }

/* ---------- Projets ---------- */
.cartes-projets { display: grid; gap: 24px; }
.carte-projet {
  border-radius: var(--r-carte); background: var(--blanc); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--ombre-carte);
}
.carte-projet__visuel { position: relative; height: 200px; overflow: hidden; }
.carte-projet__visuel img { width: 100%; height: 100%; object-fit: cover; }
.carte-projet__visuel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--blanc) 100%);
}
.carte-projet__corps { flex-grow: 1; padding: 4px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.carte-projet__meta { display: flex; align-items: center; justify-content: space-between; font-size: 15px; line-height: 24px; color: var(--texte-discret); }
.badge {
  height: 28px; padding: 0 12px; border-radius: var(--r-pilule);
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
}
.badge--en-ligne { background: var(--turquoise-pale); color: var(--sarcelle); }
.badge--en-ligne::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--confidentiel { gap: 6px; background: var(--gris-lavande); color: var(--texte); }
.carte-projet h3 { font-size: 22px; line-height: 30px; font-weight: 500; }
.carte-projet__texte { flex-grow: 1; font-size: 17px; line-height: 27px; color: var(--texte); }
.etiquettes { margin-top: 4px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li {
  padding: 6px 10px; border-radius: var(--r-etiquette); background: var(--gris-lavande);
  font-family: var(--police-mono); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--texte);
}
.etiquettes--sombre li { border: 1px solid var(--ligne-sombre); background: var(--encre); color: var(--blanc-casse); }
.carte-projet__liens { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
.carte-appel {
  padding: 36px 24px; border: 2px dashed var(--sarcelle); border-radius: var(--r-carte); background: var(--turquoise-pale);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.carte-appel__plus {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blanc); color: var(--sarcelle);
  display: flex; align-items: center; justify-content: center;
}
.carte-appel h3 { margin-top: 4px; font-size: 32px; line-height: 38px; font-weight: 300; letter-spacing: -.02em; }
.carte-appel p { font-size: 17px; line-height: 27px; color: var(--texte); }
.carte-appel .bouton { margin-top: 4px; }

/* ---------- Méthode ---------- */
.etapes { margin-top: 40px; padding: 0; list-style: none; display: flex; flex-direction: column; }
.etape { display: flex; gap: 20px; }
.etape__numero { width: 44px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.etape__numero span { font-size: 48px; line-height: 48px; font-weight: 200; color: var(--sarcelle); }
.etape__ligne { flex-grow: 1; width: 1px; margin: 8px 0; background: var(--bordure); }
.etape__corps { padding: 8px 0 32px; }
.etape:last-child .etape__corps { padding-bottom: 0; }
.etape h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.etape p { margin-top: 6px; font-size: 17px; line-height: 27px; color: var(--texte); }

/* ---------- Témoignage ---------- */
.temoignage { display: flex; flex-direction: column; gap: 24px; }
.temoignage__guillemets { width: 56px; height: 47px; color: var(--sarcelle); }
.temoignage blockquote {
  font-size: clamp(22px, 2.1vw + 14px, 44px); line-height: 1.38; font-weight: 300; letter-spacing: -.01em; color: var(--encre);
}
.temoignage figcaption { padding-top: 24px; border-top: 1px solid var(--bordure); display: flex; flex-direction: column; gap: 12px; }
.auteur { display: flex; align-items: center; gap: 14px; }
.auteur__initiale {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  background: var(--turquoise-pale); color: var(--sarcelle); display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
}
.auteur__initiale img { width: 100%; height: 100%; object-fit: cover; }
.auteur__identite { display: flex; flex-direction: column; gap: 2px; }
.auteur__nom { font-size: 17px; line-height: 24px; font-weight: 500; color: var(--encre); }
.auteur__role { font-size: 15px; line-height: 22px; color: var(--texte-discret); }
.temoignage--compact { padding: 24px; border-radius: var(--r-carte-mobile); background: var(--brume); gap: 20px; }
.temoignage--compact blockquote { font-size: clamp(20px, .76vw + 17px, 28px); line-height: 1.45; }
.temoignage--compact figcaption { flex-direction: row; align-items: center; }

/* ---------- À propos ---------- */
.a-propos { margin-top: 40px; }
.portrait { width: 100%; aspect-ratio: 342 / 380; border-radius: var(--r-carte); background: var(--gris-lavande); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.a-propos__texte { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.a-propos__texte p { font-size: 17px; line-height: 27px; color: var(--texte); }
.a-propos__intro { font-size: 21px; line-height: 32px; font-weight: 300; color: var(--encre); }
.a-propos__texte p.a-propos__intro { font-size: 21px; line-height: 32px; color: var(--encre); }
.engagements { padding: 0; list-style: none; }
.engagements li { padding: 16px 0; border-top: 1px solid var(--bordure); }
.engagements li:last-child { border-bottom: 1px solid var(--bordure); }
.engagements strong { display: block; font-size: 17px; line-height: 27px; font-weight: 500; color: var(--encre); }
.engagements span { font-size: 17px; line-height: 27px; color: var(--texte); }

/* ---------- Bandeau final ---------- */
.bandeau { position: relative; padding: calc(var(--courbe) + 72px) 0 80px; background: var(--nuit); text-align: center; }
.bandeau__titre {
  font-size: clamp(56px, 4.57vw + 38px, 104px); line-height: 1.06; font-weight: 200; letter-spacing: -.03em;
  color: var(--blanc); text-wrap: balance;
}
.bandeau--etude .bandeau__titre { font-size: clamp(56px, 3.05vw + 44px, 88px); }
.bandeau__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bandeau--etude .bandeau__actions { gap: 12px; }
.bandeau__texte { font-size: 16px; line-height: 26px; color: var(--lavande); }
.bandeau__texte a { color: var(--blanc); text-decoration: underline; text-underline-offset: 4px; }
.bandeau__texte a:hover { color: var(--turquoise); }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--lavande); }
.pied__haut { padding: 40px 0 32px; border-top: 1px solid var(--ligne-sombre); display: flex; flex-direction: column; gap: 24px; }
.pied__marque { display: flex; flex-direction: column; gap: 6px; }
.pied__marque strong { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--blanc); }
.pied__marque span { font-size: 15px; line-height: 24px; }
.pied__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.pied__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--blanc); text-decoration: none; }
.pied__nav a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 4px; }
.pied__bas { padding: 24px 0 40px; border-top: 1px solid var(--ligne-sombre); display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 24px; }
.pied__legal { display: flex; flex-direction: column; gap: 8px; }
.pied__liens { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 24px; }
.pied__liens a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lavande); text-decoration: underline; text-underline-offset: 4px; }
.pied__liens a:hover { color: var(--blanc); }

/* ---------- Page Contact ---------- */
.hero--court { padding-bottom: calc(var(--courbe) + 24px); }
.hero__texte--page { margin-top: 16px; }
.hero__illustration--contact { display: none; }
.contact { padding: 24px 0 48px; }
.titre-page-2 { font-size: 30px; line-height: 38px; font-weight: 300; letter-spacing: -.02em; }
.note { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--texte-discret); }
.formulaire { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.formulaire__ligne { display: grid; gap: 24px; }
.champ { display: flex; flex-direction: column; gap: 10px; }
.champ > label, .champ legend { padding: 0; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--encre); }
.facultatif { font-weight: 400; color: var(--texte-discret); }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ select, .champ textarea {
  width: 100%; height: 56px; padding: 0 16px; border: 1.5px solid var(--bordure-champ); border-radius: var(--r-champ);
  background: var(--blanc); font-size: 18px; color: var(--encre);
}
.champ textarea { height: 160px; padding: 14px 16px; line-height: 28px; resize: vertical; }
.select { position: relative; }
.select select { padding-right: 48px; appearance: none; -webkit-appearance: none; }
.select svg { position: absolute; top: 18px; right: 16px; pointer-events: none; }
.champ fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.options { margin-top: 12px; display: grid; gap: 10px; }
.option {
  height: 56px; padding: 0 16px; border: 1.5px solid var(--bordure-champ); border-radius: var(--r-champ);
  display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 24px; color: var(--encre); cursor: pointer;
}
.option input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--sarcelle); }
.option--choisie, .option:has(input:checked) { padding: 0 15.5px; border: 2px solid var(--sarcelle); background: var(--turquoise-pale); font-weight: 500; }
.aide { font-size: 15px; line-height: 22px; color: var(--texte-discret); }
.consentement { display: flex; align-items: flex-start; gap: 14px; }
.consentement input { flex-shrink: 0; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--sarcelle); }
.consentement label { font-size: 16px; line-height: 26px; font-weight: 400; color: var(--texte); }
.consentement a { color: var(--sarcelle); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border: 2px solid var(--erreur); padding-left: 15.5px; }
.champ--erreur .option { border-color: var(--erreur); }
.erreur { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--erreur); }
.erreur[hidden] { display: none; }
.erreur svg { flex-shrink: 0; margin-top: 2px; }
/* Champ anti-spam (honeypot) : hors écran, jamais rempli par une personne. */
.pot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.encart { padding: 28px 24px; border-radius: var(--r-carte-mobile); background: var(--brume); display: flex; flex-direction: column; gap: 20px; }
.encart h2 { font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -.01em; }
.encart p { font-size: 17px; line-height: 27px; color: var(--texte); }
.separateur { height: 1px; background: var(--bordure); }
.coordonnees { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.coordonnees li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; line-height: 24px; color: var(--encre); }
.coordonnees svg { flex-shrink: 0; margin-top: 1px; color: var(--sarcelle); }
.coordonnees a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--lavande); text-underline-offset: 4px; }
.coordonnees a:hover { color: var(--sarcelle); }
.contact__encart { margin-top: 32px; }

/* ---------- Message envoyé ---------- */
.confirmation { padding: 16px 0 80px; }
.confirmation__carte {
  padding: 32px 24px 24px; border-radius: var(--r-carte-mobile); background: var(--turquoise-pale);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.confirmation__coche { width: 56px; height: 56px; border-radius: 50%; background: var(--sarcelle); color: var(--blanc); display: flex; align-items: center; justify-content: center; }
.confirmation h2 { margin-top: 8px; font-size: 28px; line-height: 36px; font-weight: 400; letter-spacing: -.01em; }
.confirmation p { font-size: 17px; line-height: 27px; color: var(--texte); }
.confirmation p strong { font-weight: 500; color: var(--encre); }
.confirmation .bouton { align-self: stretch; }
.confirmation .lien { align-self: center; }

/* ---------- Études de cas ---------- */
.hero--etude { padding-top: calc(var(--entete) + 16px); padding-bottom: calc(var(--courbe) + 40px); }
.retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; line-height: 24px; color: var(--blanc-casse); text-decoration: none; }
.retour:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 4px; }
.hero__titre--etude { margin-top: 16px; font-size: clamp(48px, 5.33vw + 27px, 104px); line-height: 1.06; }
.hero__titre--long { margin-top: 16px; font-size: clamp(36px, 4.19vw + 20px, 80px); line-height: 1.12; letter-spacing: -.025em; }
.hero__texte--etude { margin-top: 16px; }
.en-bref { margin-top: 20px; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 24px; color: var(--blanc-casse); }
.en-bref li { display: flex; align-items: center; gap: 20px; }
.en-bref .point { display: none; width: 4px; height: 4px; border-radius: 50%; background: var(--bordure-champ); }
.hero .etiquettes { margin-top: 16px; gap: 6px; }
.hero .etiquettes li { padding: 4px 8px; }
.fiche { padding: 16px 0 40px; }
.fiche dl {
  padding: 24px 0; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px;
}
.fiche dt { font-size: 15px; line-height: 22px; color: var(--texte-discret); }
.fiche dd { margin: 4px 0 0; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--encre); }
.fiche dd .etiquettes { margin-top: 4px; gap: 6px; }
.fiche dd .etiquettes li { padding: 4px 8px; }
.captures { padding: 0 0 16px; }
.scene { position: relative; aspect-ratio: 342 / 300; border-radius: var(--r-carte-mobile); background: var(--brume); overflow: hidden; }
.scene__ordinateur { position: absolute; left: 5.8%; top: 12%; width: 73%; }
.scene__ecran { padding: 6px 6px 8px; border-radius: 10px 10px 3px 3px; background: var(--encre); }
.scene__ecran img { width: 100%; aspect-ratio: 772 / 440; object-fit: cover; object-position: top center; border-radius: 3px; }
.scene__socle { margin: 0 -6.4%; height: 8px; border-radius: 0 0 8px 8px; background: var(--lavande); }
.scene__telephone {
  position: absolute; right: 5.8%; top: 34.7%; width: 30.4%; padding: 6px; border-radius: 18px;
  background: var(--encre); box-shadow: 0 16px 32px rgba(13, 11, 38, .18);
}
.scene__telephone img { width: 100%; aspect-ratio: 200 / 320; object-fit: cover; object-position: top center; border-radius: 12px; }
.captures__action { margin-top: 24px; display: flex; justify-content: center; }
.captures__action .bouton { width: 100%; }
.detail { padding: 56px 0 96px; }
.detail__liste { display: flex; flex-direction: column; gap: 48px; }
.partie { padding-top: 32px; border-top: 1px solid var(--bordure); display: flex; flex-direction: column; gap: 16px; }
.partie h2 { font-size: 30px; line-height: 38px; font-weight: 300; letter-spacing: -.02em; color: var(--encre); text-wrap: balance; }
.partie__corps { display: flex; flex-direction: column; gap: 16px; }
.grand-texte { font-size: 20px; line-height: 31px; font-weight: 300; color: var(--encre); }
.coches { padding: 0; list-style: none; display: flex; flex-direction: column; }
.coches li { padding: 16px 0; border-top: 1px solid var(--bordure); display: flex; gap: 14px; font-size: 17px; line-height: 27px; color: var(--texte); }
.coches li:last-child { border-bottom: 1px solid var(--bordure); }
.coches svg { flex-shrink: 0; margin-top: 4px; color: var(--sarcelle); }
.resultat { display: flex; flex-direction: column; gap: 20px; }
.resultat h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.schema {
  padding: 32px 24px; border-radius: var(--r-carte-mobile);
  background-color: var(--illu-fond); background-image: radial-gradient(circle, var(--illu-points) 1.2px, transparent 1.6px);
  background-size: 16px 16px; background-position: -6px -6px;
}
.parcours { padding-top: 16px; }
.parcours ol { padding: 0; list-style: none; display: flex; flex-direction: column; }
.parcours li { display: flex; flex-direction: column; align-items: center; }
.schema__etape {
  position: relative; width: 100%; padding: 14px 16px; border: 2px solid var(--illu-trait); border-radius: 16px; background: var(--blanc);
  display: flex; align-items: center; gap: 16px;
}
.schema__etape .pictogramme { width: 56px; height: 56px; flex-shrink: 0; }
.schema__etape .libelle { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--encre); }
.schema__coche {
  position: absolute; top: -11px; right: -11px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sarcelle); color: var(--blanc); box-shadow: 0 0 0 4px var(--illu-fond);
  display: flex; align-items: center; justify-content: center;
}
.schema__fleche--h { display: none; }
.schema__fleche--v { display: block; flex-shrink: 0; }
.frise { margin-top: 8px; padding: 28px 20px; }
.frise__interieur { position: relative; }
.frise__ligne { position: absolute; left: 13px; top: 26px; bottom: 26px; width: 2px; background: var(--illu-trait); }
.frise ol { position: relative; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.frise li { display: flex; align-items: center; gap: 16px; }
.frise__point {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sarcelle); color: var(--blanc);
  box-shadow: 0 0 0 5px var(--illu-fond); display: flex; align-items: center; justify-content: center;
}
.frise__libelle {
  flex-grow: 1; padding: 12px 16px; border: 2px solid var(--illu-trait); border-radius: 14px; background: var(--blanc);
  font-size: 17px; line-height: 24px; font-weight: 500; color: var(--encre);
}
.actions-projet { margin-top: 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 32px; }
.actions-projet li { padding-top: 24px; border-top: 1px solid var(--bordure); display: flex; flex-direction: column; gap: 10px; }
.icone-boite { width: 48px; height: 48px; border-radius: 14px; background: var(--illu-fond); color: var(--illu-trait); display: flex; align-items: center; justify-content: center; }
.actions-projet h3 { margin-top: 6px; font-size: 19px; line-height: 27px; font-weight: 500; }
.actions-projet p { font-size: 17px; line-height: 27px; color: var(--texte); }
.encart-confidentiel {
  padding: 32px 24px; border-radius: var(--r-carte-mobile); background: var(--turquoise-pale);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.encart-confidentiel__cadenas { margin-bottom: 4px; width: 56px; height: 56px; border-radius: 50%; background: var(--blanc); color: var(--sarcelle); display: flex; align-items: center; justify-content: center; }
.encart-confidentiel__corps { display: flex; flex-direction: column; gap: 16px; }
.encart-confidentiel h2 { font-size: 26px; line-height: 34px; font-weight: 300; letter-spacing: -.02em; }
.encart-confidentiel__texte { font-size: 19px; line-height: 30px; font-weight: 300; color: var(--encre); }
.encart-confidentiel__accent { font-size: 23px; line-height: 32px; font-weight: 400; letter-spacing: -.01em; color: var(--sarcelle); }

/* ---------- Pages de texte (mentions, confidentialité, 404) ---------- */
.prose { padding: 24px 0 80px; max-width: 760px; }
.prose h2 { margin-top: 40px; font-size: 26px; line-height: 34px; font-weight: 300; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 12px; font-size: 17px; line-height: 27px; color: var(--texte); }
.prose ul { margin-top: 12px; padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose strong { font-weight: 500; color: var(--encre); }
.prose a { color: var(--sarcelle); text-underline-offset: 3px; }
.prose .bouton { margin-top: 32px; }

/* =====================================================================
   640 px et plus : deux colonnes dans les formulaires et les listes
   ===================================================================== */
@media (min-width: 640px) {
  .formulaire__ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .etapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .etape { flex-direction: column; gap: 16px; }
  .etape__numero { width: auto; flex-direction: row; align-items: center; gap: 20px; }
  .etape__numero span { font-size: 72px; line-height: 1; letter-spacing: -.03em; }
  .etape__ligne { width: auto; height: 1px; margin: 0; }
  .etape__corps { padding: 0; }
  .etape h3 { margin-top: 12px; font-size: 22px; line-height: 30px; }
  .etape p { margin-top: 10px; }
  .frise { margin-top: 0; padding: 40px 32px 36px; border-radius: var(--r-carte); }
  .frise__ligne { left: 12.5%; right: 12.5%; top: 15px; bottom: auto; width: auto; height: 2px; }
  .frise ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .frise li { flex-direction: column; }
  .frise__point { width: 32px; height: 32px; box-shadow: 0 0 0 6px var(--illu-fond); }
  .frise__libelle {
    width: 100%; min-height: 76px; padding: 12px 10px; display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 16px; line-height: 22px;
  }
  .actions-projet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
  .actions-projet li { padding-top: 28px; gap: 12px; }
  .icone-boite { width: 52px; height: 52px; }
  .actions-projet h3 { margin-top: 8px; font-size: 20px; line-height: 28px; }
  .confirmation__carte { max-width: 640px; margin: 0 auto; padding: 40px; border-radius: var(--r-carte); }
}

/* =====================================================================
   900 px et plus : grilles à trois colonnes, scène des captures
   ===================================================================== */
@media (min-width: 900px) {
  .section__entete { gap: 16px; }
  .sous-titre { font-size: 20px; line-height: 30px; }
  .section__corps { margin-top: 64px; }
  .cartes-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .carte-service { padding: 36px 28px 32px; border-radius: var(--r-carte); gap: 20px; }
  .carte-service__icone { width: 56px; height: 56px; border-radius: var(--r-icone); }
  .carte-service h3 { margin-top: 8px; font-size: 24px; line-height: 32px; }
  .carte-service__texte { font-size: 18px; line-height: 28px; }
  .carte-service__ideal { padding-top: 20px; }
  .cartes-projets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
  .carte-projet { border-radius: var(--r-projet); }
  .carte-projet__visuel { height: 240px; }
  .carte-projet__visuel::after { height: 110px; }
  .carte-projet__corps { padding: 4px 28px 32px; gap: 14px; }
  .carte-projet h3 { font-size: 24px; line-height: 32px; }
  .carte-projet__liens { margin-top: 8px; column-gap: 28px; }
  .carte-appel { padding: 48px 32px; border-radius: var(--r-projet); justify-content: center; gap: 20px; }
  .carte-appel__plus { width: 64px; height: 64px; }
  .carte-appel h3 { margin-top: 8px; font-size: 36px; line-height: 42px; }
  .carte-appel p { font-size: 18px; line-height: 28px; }
  .carte-appel .bouton { margin-top: 8px; }
  .a-propos { margin-top: 64px; display: grid; grid-template-columns: minmax(280px, 480px) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .portrait { aspect-ratio: 480 / 560; border-radius: var(--r-projet); }
  .a-propos__texte { margin-top: 0; max-width: 600px; gap: 24px; }
  .a-propos__texte p { font-size: 18px; line-height: 28px; }
  .a-propos__texte p.a-propos__intro { font-size: 24px; line-height: 36px; }
  .engagements li { padding: 20px 0; display: flex; gap: 24px; }
  .engagements strong { display: inline; width: 136px; flex-shrink: 0; font-size: 18px; line-height: 28px; }
  .engagements span { font-size: 18px; line-height: 28px; }
  .fiche dl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 32px 0; }
  .fiche dd { margin-top: 8px; font-size: 20px; line-height: 28px; }
  .fiche dd .etiquettes { gap: 8px; }
  .fiche dd .etiquettes li { padding: 6px 10px; }
  .scene { aspect-ratio: 1200 / 640; border-radius: var(--r-projet); }
  .scene__ordinateur { left: 12%; top: 11.25%; width: 66.7%; }
  .scene__ecran { padding: 14px 14px 18px; border-radius: 20px 20px 6px 6px; }
  .scene__ecran img { border-radius: 6px; }
  .scene__socle { margin: 0 -7%; height: 18px; border-radius: 0 0 14px 14px; }
  .scene__telephone { right: 11.3%; top: 36%; width: 18.7%; padding: 12px; border-radius: 36px; box-shadow: 0 24px 48px rgba(13, 11, 38, .18); }
  .scene__telephone img { border-radius: 26px; }
  .captures__action { margin-top: 32px; }
  .captures__action .bouton { width: auto; }
  .schema { padding: 56px 40px 48px; border-radius: var(--r-projet); }
  .parcours ol { flex-direction: row; align-items: center; justify-content: center; }
  .parcours li { flex-direction: row; }
  .schema__etape { width: clamp(150px, 15vw, 200px); padding: 28px 16px 24px; border-radius: 18px; flex-direction: column; gap: 18px; }
  .schema__etape .pictogramme { width: 72px; height: 72px; }
  .schema__etape .libelle { font-size: 22px; line-height: 30px; }
  .schema__coche { top: -13px; right: -13px; width: 26px; height: 26px; }
  .schema__fleche--v { display: none; }
  .schema__fleche--h { display: block; flex-shrink: 0; width: clamp(40px, 5.5vw, 80px); }
}

/* =====================================================================
   1024 px et plus : menu d'ordinateur, hero et pages en deux colonnes
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --entete: 96px; --courbe: 120px; }
  .entete__bureau { display: flex; align-items: center; gap: 36px; }
  .entete__mobile, .menu-panneau { display: none; }
  .marque { font-size: 20px; }
  .bouton--principal { height: 60px; padding: 0 30px; gap: 12px; font-size: 18px; }
  .lien-clair { font-size: 18px; }
  .hero { padding: var(--entete) 0 var(--courbe); }
  .hero__contenu { flex-direction: row; align-items: center; justify-content: space-between; min-height: 664px; }
  .hero--court .hero__contenu { min-height: 344px; }
  .hero__texte-col { flex: 1 1 auto; max-width: 600px; }
  .hero__titre { font-weight: 200; letter-spacing: -.035em; }
  .hero__texte { margin-top: 32px; max-width: 540px; font-size: 21px; line-height: 34px; }
  .hero__texte--page { margin-top: 24px; max-width: none; font-size: 22px; }
  .hero__actions { margin-top: 44px; width: auto; flex-direction: row; gap: 32px; }
  .hero .bouton--bloc { width: auto; }
  .hero__illustration { flex: 0 1 auto; width: min(640px, 44vw); max-width: none; margin: 0 -60px 0 0; }
  .hero__illustration--contact { display: block; width: min(440px, 30vw); margin-right: -20px; }
  .services { padding-top: 48px; }
  .etapes { margin-top: 72px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .temoignage { max-width: 960px; margin: 0 auto; gap: 32px; }
  .temoignage__guillemets { width: 88px; height: 74px; }
  .temoignage blockquote { letter-spacing: -.015em; line-height: 1.32; }
  .temoignage figcaption { margin-top: 8px; padding-top: 32px; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .auteur { gap: 16px; }
  .auteur__initiale { width: 56px; height: 56px; font-size: 24px; }
  .auteur__nom { font-size: 18px; line-height: 26px; }
  .auteur__role { font-size: 16px; line-height: 24px; }
  .temoignage--compact { max-width: none; margin: 0; padding: 36px 40px; border-radius: var(--r-carte); gap: 24px; }
  .temoignage--compact .temoignage__guillemets { width: 56px; height: 47px; }
  .temoignage--compact figcaption { margin-top: 0; padding-top: 24px; justify-content: flex-start; gap: 14px; }
  .temoignage--compact .auteur__initiale { width: 48px; height: 48px; font-size: 20px; }
  .temoignage--compact .auteur__nom { font-size: 17px; line-height: 24px; }
  .temoignage--compact .auteur__role { font-size: 15px; line-height: 22px; }
  .bandeau { padding: calc(var(--courbe) + 96px) 0 136px; }
  .bandeau__titre { letter-spacing: -.035em; }
  .bandeau__actions { margin-top: 48px; gap: 24px; }
  .bandeau--etude .bandeau__actions { gap: 16px; }
  .bandeau .bouton--bloc { width: auto; }
  .bandeau__texte { font-size: 18px; line-height: 28px; }
  .bandeau__texte br { display: none; }
  .pied__haut { padding: 56px 0 48px; flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .pied__marque { gap: 8px; }
  .pied__marque strong { font-size: 20px; line-height: 28px; }
  .pied__marque span { font-size: 16px; line-height: 24px; }
  .pied__nav { gap: 32px; }
  .pied__bas { padding: 24px 0 48px; flex-direction: row; align-items: center; justify-content: space-between; }
  .pied__legal { flex-direction: row; gap: 32px; }
  .pied__liens { margin-top: 0; gap: 0 32px; }
  .contact { padding: 40px 0 128px; }
  .contact__grille { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(48px, 6.7vw, 96px); align-items: start; }
  .titre-page-2 { font-size: 40px; line-height: 48px; }
  .note { font-size: 16px; line-height: 24px; }
  .formulaire { margin-top: 40px; gap: 28px; }
  .champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ select, .champ textarea { padding: 0 18px; }
  .champ textarea { height: 184px; padding: 16px 18px; }
  .select svg { right: 18px; }
  .option { padding: 0 18px; }
  .option--choisie, .option:has(input:checked) { padding: 0 17.5px; }
  .champ--erreur input, .champ--erreur select, .champ--erreur textarea { padding-left: 17.5px; }
  .formulaire .bouton { width: auto; align-self: flex-start; height: 60px; padding: 0 44px; font-size: 18px; }
  .encart { padding: 40px; border-radius: var(--r-carte); gap: 24px; }
  .encart h2 { font-size: 28px; line-height: 36px; }
  .contact__encart { margin-top: 0; }
  .confirmation { padding: 24px 0 128px; }
  .hero--etude { padding-top: calc(var(--entete) + 40px); padding-bottom: calc(var(--courbe) + 56px); }
  .hero__titre--etude, .hero__titre--long { margin-top: 28px; letter-spacing: -.035em; }
  .hero__titre--long { max-width: 1120px; }
  .hero__texte--etude { margin-top: 24px; max-width: 720px; font-size: 22px; line-height: 34px; }
  .en-bref { margin-top: 32px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 18px; line-height: 28px; }
  .en-bref .point { display: block; }
  .hero .etiquettes { margin-top: 20px; gap: 8px; }
  .hero .etiquettes li { padding: 6px 10px; }
  .fiche { padding: 24px 0 72px; }
  .captures { padding-bottom: 24px; }
  .parcours { padding-top: 24px; }
  .detail { padding: 96px 0 144px; }
  .detail__liste { gap: 72px; }
  .partie { padding-top: 40px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; }
  .partie h2 { font-size: 40px; line-height: 48px; }
  .partie__corps { gap: 48px; }
  .grand-texte { max-width: 680px; font-size: 24px; line-height: 36px; }
  .coches { max-width: 680px; }
  .coches li { padding: 18px 0; gap: 16px; font-size: 18px; line-height: 28px; }
  .coches svg { margin-top: 3px; }
  .resultat { max-width: 680px; gap: 32px; }
  .actions-projet { margin-top: 0; }
  .encart-confidentiel { padding: 56px 64px; border-radius: var(--r-projet); display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 64px; align-items: start; }
  .encart-confidentiel__cadenas { margin: -16px 0 0; width: 72px; height: 72px; }
  .encart-confidentiel__corps { max-width: 680px; }
  .encart-confidentiel h2 { margin-bottom: 8px; font-size: 32px; line-height: 40px; }
  .encart-confidentiel__texte { font-size: 22px; line-height: 34px; }
  .encart-confidentiel__accent { font-size: 28px; line-height: 38px; }
  .prose { padding: 40px 0 128px; }
  .prose h2 { margin-top: 48px; font-size: 30px; line-height: 38px; }
  .prose p, .prose li { font-size: 18px; line-height: 28px; }
}
