/* Feuille de style unique de la vitrine, copiée et allégée depuis le portfolio de référence (Poppins/Inter, tokens de couleur --v1..--v5, composants shiny-cta/hero/contact/footer). Code mort du portfolio (hero photo, profil, cartes empilées, marquee, grille projets) purgé le 2026-07-30 — voir docs/audit-css-complet.md. Grain/vagues/curseur gardés en réserve (décision produit). */

/* ================================================================
   Auto-hébergement des polices (Poppins + Inter)
   Remplace Google Fonts + CDNFonts Satoshi (non utilisé)
   Subset: latin + latin-ext (accents français)
================================================================ */

/* ── INTER variable font ── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("../fonts/inter-latinext.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: "Inter";
  font-style: normal;
  font-weight: 200 500;
  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;
}

/* ── POPPINS italic 300 ── */
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-italic-300-latinext.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: "Poppins";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-italic-300-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;
}

/* ── POPPINS normal 300 ── */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latinext.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: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-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;
}

/* ── POPPINS normal 400 ── */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latinext.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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-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;
}

/* ── POPPINS normal 600 ── */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latinext.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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-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;
}

/* ── POPPINS normal 700 ── */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latinext.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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-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;
}

/* ── POPPINS normal 800 ── */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800-latinext.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: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800-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 héritée du portfolio — Perf-optimized
   Suppression: cursor ring, filter blur, grayscale, floatOrb,
   meshShift, backdrop-filter heavy, fixed grain
   Ajouts: will-change ciblé, contain, GPU hints propres
================================================================ */


:root {
  --v1: #6c5ce7;
  --v2: #8b7cf8;
  --v3: #b8affe;
  --v4: rgba(108,92,231,0.08);
  --v5: rgba(108,92,231,0.18);
  --v-glow: rgba(108,92,231,0.30);
  --v-fonce: #4834d4;
  --vert-actif: #22c55e;

  --blanc: #ffffff;
  --off-white: #faf9ff;
  --gris-clair: #f4f2ff;
  --gris-mid: #e8e4ff;
  --texte: #0a0818;
  --texte2: #4a4565;
  --texte3: #6f6b8a;
  --bordure: rgba(108,92,231,0.14);
  --bordure2: rgba(108,92,231,0.28);

  --serif: "Poppins", sans-serif;
  --sans: "Inter", system-ui, sans-serif;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Échelle d'espacement — rythme vertical cohérent */
  --espace-1: 8px;
  --espace-2: 16px;
  --espace-3: 24px;
  --espace-4: 32px;
  --espace-5: 48px;
  --espace-6: 80px;

  /* Échelle de rayons */
  --rayon-xs: 3px;
  --rayon-s: 4px;
  --rayon-m: 8px;
  --rayon-l: 16px;
  --rayon-pill: 999px;

  /* Ombres réutilisables (basées sur le violet --v1) */
  --ombre-carte: 0 10px 30px rgba(108,92,231,0.10);
  --ombre-survol: 0 22px 55px rgba(108,92,231,0.14);
  --ombre-glow: 0 8px 28px var(--v-glow);

  /* Échelle de z-index */
  --z-base: 1;
  --z-header: 997;
  --z-overlay: 9998;
  --z-curseur: 10000;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* cursor:none appliqué uniquement via JS quand le curseur custom est actif */
/* body { cursor: none; } — supprimé du CSS global pour l'accessibilité */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--v1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  top: 0; left: 0;
  /* translate via JS transform direct, pas de transition pour 0 lag */
  will-change: transform;
}
/* Grossit légèrement sur les éléments interactifs */
.cursor.hover {
  width: 14px; height: 14px;
  background: var(--v2);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
}
/* Curseur normal pour les champs de texte */
input, textarea, select { cursor: text; }

/* Grain — position: absolute sur wrapper, pas fixed */
.grain-overlay {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
  /* Pas de repaint — layer compositing only */
  will-change: auto;
  contain: strict;
}


/* ── NAV TOGGLE (hamburger) — Caché par défaut sur desktop ── */
.nav-toggle {
  display: none;
}
/* ================================================================
   HEADER
================================================================ */
.en-tete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 997;
  /* flex-end (et non space-between) : le header n'a plus de logo à gauche,
     donc la navigation doit rester collée à droite toute seule. */
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0 60px;
  height: 70px;
  background: rgba(250,249,255,0.88);
  /* Réduit vs v3: était blur(24px) saturate(200%) — coûteux */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
  contain: layout style;
}
.en-tete::before {
  content: "";
  position: absolute;
  left: 0; top: 15%; height: 70%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--v1), transparent);
}

.navigation__liste { list-style: none; display: flex; align-items: center; }
.navigation__liste a {
  position: relative;
  display: block; padding: 8px 20px;
  color: var(--texte2); text-decoration: none;
  font-size: 0.78em; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.25s ease;
}
.navigation__liste a::after {
  content: "";
  position: absolute; bottom: 4px; left: 20px; right: 20px;
  height: 1px; background: var(--v1);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-smooth);
  transform-origin: left;
  will-change: transform;
}
.navigation__liste a:hover { color: var(--v1); }
.navigation__liste a:hover::after { transform: scaleX(1); }
/* Le bouton Contact du menu doit garder le blanc défini par .shiny-cta.
   Sans cette règle, ".navigation__liste a" (plus spécifique) le repeint
   en gris, puis en violet au survol. On combine les deux sélecteurs pour
   passer devant, plutôt que d'utiliser !important. */
.navigation__liste a.shiny-cta,
.navigation__liste a.shiny-cta:hover {
  color: var(--shiny-cta-fg);
}

/* ================================================================
   HERO — asymétrique, sans animations continues
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* overflow:hidden retiré — il coupait les icônes LinkedIn/GitHub positionnées en absolu */
  /* Grand halo d'ambiance assumé : couche de fond radiale (violet --v1) qui
     éclot depuis le haut, puis fond off-white. Un background ne capte pas les
     events (pas besoin de pointer-events) et s'affiche sous ::before/::after.
     Opacité ≤0.07 + falloff vers transparent → aucune bavure sur le texte. */
  background:
    radial-gradient(ellipse 85% 65% at 62% 26%,
      rgba(108,92,231,0.07) 0%,
      rgba(108,92,231,0.03) 42%,
      transparent 70%),
    var(--off-white);
}
.hero::before {
  content: "";
  position: absolute; top: -20%; left: -10%;
  width: 70%; height: 140%;
  background: linear-gradient(135deg, rgba(108,92,231,0.05) 0%, rgba(184,175,254,0.03) 50%, transparent 100%);
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
/* Orbe statique (pas d'animation continue) — cœur focal du grand halo, agrandi */
.hero::after {
  content: "";
  position: absolute; top: 6%; right: 2%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero__contenu {
  position: relative; z-index: 2;
  grid-column: 1 / -1;
  /* margin auto = centre le bloc dans la piste pleine largeur, quel que soit
     le breakpoint (grid 1fr 1fr réactivé sur desktop → le bloc reste centré) */
  margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  max-width: 780px;
  padding: 120px 40px 80px;
  gap: 24px;
}
.hero__contenu h1 {
  font-family: var(--serif);
  font-size: 2.6em; font-weight: 600; line-height: 1.15;
  color: var(--texte);
}
.hero__sous-titre {
  font-size: 1.05em; line-height: 1.6;
  color: var(--texte2);
}

/* Note : blocs hero du portfolio (hero__left, hero__right, hero__number,
   hero__eyebrow, hero__titre, hero__tagline, hero__actions, hero__scroll-hint,
   icones-hero, hero__photo-frame, hero__photo-tag, icones-footer et leurs variantes)
   supprimés le 2026-07-30 — aucun élément correspondant dans index.html
   (voir docs/audit-css-complet.md §2). */

/* Vagues */
.vagues-conteneur {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0; z-index: 3;
}
.vagues { width: 100%; height: 14vh; min-height: 80px; max-height: 120px; }
.parallaxe > use {
  animation: mouvement-infini 25s cubic-bezier(0.55,0.5,0.45,0.5) infinite;
  will-change: transform;
}
.parallaxe > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallaxe > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallaxe > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
@keyframes mouvement-infini {
  0%   { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* ================================================================
   BOUTONS
================================================================ */

/* Note : @keyframes flash, .bouton-principal* et .hero__link-cv* supprimés
   le 2026-07-30 — aucun élément correspondant dans index.html. */

/* ── Bouton retour en haut ── */
#bouton-haut {
  display: none; position: fixed;
  bottom: 36px; right: 36px; z-index: 99;
  width: 46px; height: 46px;
  background: var(--blanc);
  border: 1px solid var(--bordure2); border-radius: 50%;
  box-shadow: 0 6px 24px rgba(108,92,231,0.12);
  transition: background 0.2s ease, transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
  will-change: transform;
  align-items: center; justify-content: center;
}
#bouton-haut:hover {
  background: var(--v1);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 30px var(--v-glow);
}
#bouton-haut:hover svg { fill: var(--blanc); }
#bouton-haut svg { fill: var(--v1); transition: fill 0.2s ease; }

/* ================================================================
   Code mort supprimé le 2026-07-30 (voir docs/audit-css-complet.md §2) :
   .section-header/.section-label/.titre-section (remplacés par les h2
   propres à chaque section) ; toute la SECTION PROFIL (.section-profil,
   .profil-*, .cartes-empilees, .carte-pile*, .bouton-cv, .stacks-*) ;
   la grille SECTION PROJETS à 6 colonnes (.section-projets,
   .projets-container, .projets-grille, spans :nth-child) — remplacée par
   .demos__grille en flexbox. .carte-projet et .carte-projet:hover
   conservés : utilisés par les cartes de démo ci-dessous.
================================================================ */
.carte-projet {
  position: relative; border-radius: 4px; overflow: hidden;
  background: var(--gris-clair); border: 1px solid var(--bordure);
  aspect-ratio: 16/10;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  will-change: transform;
  contain: content;
}
.carte-projet:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(108,92,231,0.14);
}

/* Note : .projet-image, .projet-infos, .projet-description, .projet-pied,
   .projet-technos et .lien-projet* supprimés le 2026-07-30 — les cartes
   .demos__grille .carte-projet n'utilisent que des enfants h3/p/a simples. */

/* ================================================================
   SIGNATURE ÉDITORIALE DES TITRES DE SECTION (reprise du portfolio)
   Un sur-titre violet en petites capitales, encadré de deux traits,
   posé au-dessus du titre ; et le mot-clé du titre passé en italique
   Poppins violet via <em>. C'est la « voix » visuelle du portfolio.
================================================================ */
.section-surtitre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v1);
  margin-bottom: 18px;
}
/* Les deux petits traits qui encadrent le sur-titre */
.section-surtitre::before,
.section-surtitre::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--v1);
  opacity: 0.45;
}
/* Le mot mis en valeur dans un titre : vrai italique Poppins (seul le
   poids 300 existe en italique dans nos @font-face), teinté du violet. */
main h1 em,
main h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--v1);
}
/* Le titre de la section contact n'avait aucun style propre : on l'aligne
   sur les autres titres de section pour garder un rythme homogène. */
.section-contact h2 {
  font-family: var(--serif);
  font-size: 2em; font-weight: 600;
  color: var(--texte);
  margin-bottom: 8px;
}

/* ── Section Pourquoi un site ── */
.section-pourquoi {
  padding: 100px 0;
  max-width: 1200px; margin: 0 auto;
  padding-left: 80px; padding-right: 80px;
}
.section-pourquoi h2 {
  font-family: var(--serif);
  font-size: 2em; font-weight: 600;
  color: var(--texte);
  text-align: center;
  margin-bottom: 60px;
}
.pourquoi__arguments {
  display: flex; flex-wrap: wrap;
  gap: 32px;
}
.argument {
  flex: 1 1 calc(50% - 16px);
  min-width: 260px;
  padding: 32px;
  background: var(--gris-clair);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.argument:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(108,92,231,0.14);
  border-color: var(--bordure2);
}
.argument h3 {
  font-size: 1.15em; font-weight: 600;
  color: var(--texte);
  margin-bottom: 12px;
}
.argument p {
  font-size: 0.95em; line-height: 1.6;
  color: var(--texte2);
}

/* ── Section Démos ── */
.section-demos {
  padding: 100px 0;
  max-width: 1200px; margin: 0 auto;
  padding-left: 80px; padding-right: 80px;
}
.section-demos h2 {
  font-family: var(--serif);
  font-size: 2em; font-weight: 600;
  color: var(--texte);
  text-align: center;
  margin-bottom: 60px;
}
.demos__grille {
  display: flex; flex-wrap: wrap;
  gap: 32px;
}
/* La classe .carte-projet vient du portfolio (carte-image en 16/10) ; ici ce
   sont des cartes texte. On neutralise le format image sans toucher la règle
   générale, et on garde la classe car main.js s'en sert pour le curseur. */
.demos__grille .carte-projet {
  flex: 1 1 calc(50% - 16px);
  min-width: 280px;
  aspect-ratio: auto;
  overflow: visible;
  contain: none;
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px;
  border-radius: 16px;
}
.demos__grille .carte-projet h3 {
  font-family: var(--serif);
  font-size: 1.3em; font-weight: 600;
  color: var(--texte);
}
.demos__grille .carte-projet p {
  font-size: 0.95em; line-height: 1.65;
  color: var(--texte2);
  flex: 1;
}
.demos__grille .carte-projet .shiny-cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* ── Section Offres ── */
.section-offres {
  padding: 100px 0;
  max-width: 1200px; margin: 0 auto;
  padding-left: 80px; padding-right: 80px;
  /* Halo discret derrière les offres (là où ça vend) : même couche de fond
     radiale que le hero mais plus timide, centrée derrière le titre + les
     cartes. Ancre remontée à 34% pour éclairer le gutter au-dessus des cartes
     opaques. Boxée au conteneur 1200px, falloff vers transparent → pas de bavure. */
  background:
    radial-gradient(ellipse 80% 62% at 50% 34%,
      rgba(108,92,231,0.06) 0%,
      rgba(108,92,231,0.025) 45%,
      transparent 70%);
}
.section-offres h2 {
  font-family: var(--serif);
  font-size: 2em; font-weight: 600;
  color: var(--texte);
  text-align: center;
  margin-bottom: 32px;
}
.offres__selecteur {
  display: flex; justify-content: center; gap: 4px;
  width: fit-content;
  margin: 0 auto 56px;
  padding: 6px;
  background: var(--gris-clair);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-pill);
}
.offres__bouton-metier {
  font-family: var(--sans);
  font-size: 0.95em; font-weight: 600;
  color: var(--texte2);
  background: transparent;
  border: none;
  border-radius: var(--rayon-pill);
  padding: 10px 30px;
  cursor: pointer;
  transition: background 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}
.offres__bouton-metier:hover { color: var(--texte); }
.offres__bouton-metier.is-actif {
  background: var(--v1);
  color: var(--blanc);
}
.offres__grille {
  display: flex; flex-wrap: wrap;
  gap: 18px;
  /* Grille bornée puis centrée : sur 1200 px de section les colonnes montaient
     à 332 px, ce qui étirait le bloc en hauteur autant qu'en largeur. À 1020 px
     on garde une mesure de lecture confortable et un pavé de tarifs compact. */
  max-width: 1020px;
  margin: 0 auto;
  /* Centre la carte seule quand une ligne n'est pas remplie (tablette). */
  justify-content: center;
  /* Les trois cartes montent à la hauteur de la plus haute. Le bloc autonomie
     qui justifiait de les laisser libres a été sorti de la carte 1090 € : il
     ne reste que 235 px d'écart, absorbés par le pied de carte. */
  align-items: stretch;
}
/* L'attribut hidden doit l'emporter sur le display:flex ci-dessus */
.offres__grille[hidden] { display: none; }
.offre {
  position: relative; /* repère du badge "Recommandée" */
  /* La base retire 12px = (2 gaps de 18px) / 3 colonnes. */
  flex: 1 1 calc(33.333% - 12px);
  min-width: 250px;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 14px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.offre:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(108,92,231,0.14);
}
/* Nom du palier au-dessus du prix : un patron retient "le site complet",
   pas "1090". */
.offre__nom {
  font-family: var(--sans);
  font-size: 0.72em; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--v1);
  margin-bottom: 5px;
}
.offre h3 {
  font-family: var(--serif);
  font-size: 1.7em; font-weight: 600;
  color: var(--texte);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.offre ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.offre__liste { margin-bottom: 18px; }
/* Liste dense mais lisible : 0.86em sur une racine de 16px = 13.8px, et un
   retrait de 21px qui suit la coche réduite. */
.offre li {
  position: relative;
  padding-left: 21px;
  font-size: 0.86em; line-height: 1.45;
  color: var(--texte2);
}
.offre__liste > li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  font-size: 0.92em;
  color: var(--v1); font-weight: 700;
}
/* Le bouton reste collé en bas quelle que soit la hauteur du contenu.
   Ce role revenait a .offre__note, supprimee avec la note hebergement. */
.offre .shiny-cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  /* « Choisir cette offre » ne tient plus sur une ligne quand la colonne tombe
     a 276px (fenetre de 1024px) : on resserre le padding horizontal et
     l'interlettrage du bouton, seulement ici, pour eviter le passage a la
     ligne qui casse l'alignement des trois cartes. */
  padding-left: 14px;
  padding-right: 14px;
  letter-spacing: 1px;
  text-align: center;
}
/* Bouton « Voir le détail », cree par le JS et utile seulement sur mobile.
   Sur grand ecran les trois cartes tiennent cote a cote : rien a replier. */
.offre__bascule { display: none; }

/* ── Note commune aux trois paliers ──
   Une seule ligne centrée sous les grilles. Elle remplace les six copies
   identiques qui vivaient dans chaque carte. */
.offres__note-globale {
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.88em; line-height: 1.65;
  color: var(--texte2);
  max-width: 60ch;
}
/* Palier recommandé : légèrement mis en avant */
.offre--recommandee {
  border-color: var(--bordure2);
  box-shadow: 0 12px 40px rgba(108,92,231,0.12);
}
/* Sorti du flux : dans le h3 il passait à la ligne et décalait le prix
   par rapport aux deux autres cartes. */
.offre__badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--sans);
  font-size: 0.58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--blanc); background: var(--v1);
  padding: 4px 10px; border-radius: var(--rayon-pill);
}

/* ── Section FAQ ── */
.section-faq {
  padding: 100px 0;
  max-width: 800px; margin: 0 auto;
  padding-left: 80px; padding-right: 80px;
}
.section-faq h2 {
  font-family: var(--serif);
  font-size: 2em; font-weight: 600;
  color: var(--texte);
  text-align: center;
  margin-bottom: 48px;
}
.faq__liste {
  display: flex; flex-direction: column; gap: 16px;
}
.faq__item {
  background: var(--gris-clair);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 0 24px;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: var(--bordure2); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 1.02em; font-weight: 600;
  color: var(--texte);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5em; font-weight: 400; line-height: 1;
  color: var(--v1);
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p {
  padding: 0 0 24px;
  font-size: 0.95em; line-height: 1.65;
  color: var(--texte2);
}

/* ================================================================
   SECTION CONTACT
================================================================ */
.section-contact {
  padding: 130px 0;
  background: var(--off-white);
  border-top: 1px solid var(--bordure);
  position: relative; overflow: hidden; text-align: center;
  contain: content;
}
.section-contact::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--v1), transparent);
}
.section-contact::after {
  content: "";
  position: absolute; bottom: -20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.05) 0%, transparent 70%);
  pointer-events: none;
  contain: layout style paint;
}

.contact-container { max-width: 1200px; margin: 0 auto; padding: 0 80px; }
.contact-zone { display: flex; justify-content: center; margin-top: 24px; }

.formulaire-fenetre {
  width: 720px; background: var(--blanc);
  border: 1px solid var(--bordure2); border-radius: 12px;
  box-shadow: 0 2px 0 rgba(255,255,255,0.8) inset, 0 36px 90px rgba(108,92,231,0.11), 0 2px 4px rgba(108,92,231,0.06);
  overflow: hidden; text-align: left;
}
.fenetre-barre {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(242,240,255,0.98) 0%, rgba(232,228,255,0.95) 100%);
  border-bottom: 1px solid var(--bordure); position: relative;
}
.fenetre-barre-title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-size: 0.72em; color: var(--texte3); letter-spacing: 0.5px; font-weight: 500;
}
.fenetre-boutons { display: flex; gap: 7px; }
.fenetre-btn {
  width: 12px; height: 12px; border-radius: 50%;
  cursor: default; transition: filter 0.15s ease;
}
.fenetre-btn:hover { filter: brightness(0.85); }
.fenetre-btn.fermer   { background: #ff5f57; }
.fenetre-btn.agrandir { background: #febc2e; }
.fenetre-btn.reduire  { background: #28c840; }
.fenetre-points { display: flex; gap: 4px; align-items: center; }
.fenetre-point { width: 4px; height: 4px; border-radius: 50%; background: var(--texte3); opacity: 0.4; }

.fenetre-corps { display: flex; min-height: 300px; }

.contact-infos {
  flex: 0 0 240px; padding: 50px 38px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--bordure);
  background: linear-gradient(160deg, rgba(108,92,231,0.04) 0%, transparent 60%);
}
.contact-titre {
  font-family: var(--serif); font-size: 1.6em; font-weight: 300; font-style: italic;
  color: var(--texte); line-height: 1.2; margin-bottom: 6px;
}
.contact-titre strong {
  display: block; font-style: normal; font-weight: 600;
  font-size: 0.85em; letter-spacing: -0.5px;
}
.contact-titre::after {
  content: ""; display: block; width: 32px; height: 2px;
  background: var(--v1); margin-top: 14px; border-radius: 1px;
}
.contact-accroche {
  margin-top: 20px; color: var(--texte2); font-size: 0.88em;
  line-height: 2; font-weight: 300;
}

.contact-liste {
  flex: 1; padding: 40px 34px;
  display: flex; flex-direction: column; gap: 4px; justify-content: center;
}
.contact-ligne {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 6px;
  text-decoration: none; color: var(--texte2); font-size: 0.88em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-smooth);
  border: 1px solid transparent; font-weight: 300;
  will-change: transform;
}
.contact-ligne:not(.contact-ligne--info):hover {
  background: var(--gris-clair); color: var(--v1);
  border-color: var(--bordure);
  transform: translateX(5px);
}
/* Icônes inline (contours FA extraits) : slot fixe pour aligner le texte, ratio préservé */
.contact-icone {
  flex-shrink: 0; width: 17px; height: 17px;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-icone svg { width: 100%; height: 100%; fill: var(--v1); }
.separateur { font-size: 1.6em; font-weight: 100; margin: 0 8px; }

/* Réseaux : crédibilité secondaire, volontairement discrète sous un filet fin.
   Icônes atténuées (pas l'accent), texte plus petit, pas de survol appuyé. */
.contact-reseaux {
  display: flex; align-items: center; gap: 20px;
  margin-top: 12px; padding: 14px 16px 0;
  border-top: 1px solid var(--bordure);
}
.contact-ligne--secondaire {
  padding: 4px 2px; gap: 9px;
  font-size: 0.78em; color: var(--texte3);
  border: 1px solid transparent;
}
.contact-ligne--secondaire .contact-icone { width: 14px; height: 14px; }
.contact-ligne--secondaire .contact-icone svg { fill: var(--texte3); }
.contact-ligne.contact-ligne--secondaire:hover {
  background: transparent; border-color: transparent;
  transform: none; color: var(--v1);
}
.contact-ligne.contact-ligne--secondaire:hover .contact-icone svg { fill: var(--v1); }

/* Responsive fenêtre contact */
@media screen and (max-width: 700px) {
  .fenetre-corps { flex-direction: column; }
  .contact-infos { flex: none; border-right: none; border-bottom: 1px solid var(--bordure); padding: 28px 24px; }
  .contact-liste { padding: 24px; }
}

/* ================================================================
   FOOTER
================================================================ */
.pied-de-page {
  background: var(--blanc); border-top: 1px solid var(--bordure);
  padding: 28px 80px; display: flex; justify-content: space-between; align-items: center;
}
/* Note : .footer-left, .footer-logo, .footer-sep, .pied-copyright, .pied-nom
   et .pied-separateur supprimés le 2026-07-30 — le footer ne contient qu'un
   <p> unique dans index.html. */

/* ================================================================
   prefers-reduced-motion — override global
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ================================================================
   Media queries responsives — Mobile-first
   Breakpoints: 320 / 480 / 768 / 1024 / 1440px
   
   Stratégie :
   - Base = mobile (< 480px)
   - Chaque @media monte progressivement
   - Hamburger menu sur < 768px
   - Curseur personnalisé désactivé sur touch
   - Hover réduit sur touch devices
================================================================ */


/* ================================================================
   TOUCH / CURSEUR — Désactiver le curseur custom sur mobile
================================================================ */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none; }
  
  /* Supprimer les effets hover coûteux sur touch */
  .carte-projet:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(108,92,231,0.08);
  }
}


/* ================================================================
   BASE MOBILE — < 480px  (iPhone SE, petits Android)
================================================================ */
@media screen and (max-width: 479px) {

  /* ── Globals ── */
  html { font-size: 15px; }

  /* ── HEADER / NAV HAMBURGER ── */
  .en-tete {
    padding: 0 20px;
    height: 60px;
    position: fixed;
    /* Sur mobile la navigation est en position: fixed (hors flux) :
       le hamburger est le seul enfant restant, flex-end le garde à droite. */
    justify-content: flex-end;
  }
  /* Hamburger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none;
    cursor: pointer; padding: 4px;
    z-index: 1001;
  }
  .nav-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--texte);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
  }
  /* Croix quand ouvert */
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Menu mobile overlay */
  .navigation {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(250,249,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bordure);
    /* -100% (sa hauteur) - 60px (le top) - 10px de marge : le bas sort complètement de l'écran, quel que soit le nombre de liens */
    transform: translateY(calc(-100% - 70px));
    transition: transform 0.35s var(--ease-smooth);
    z-index: 996;
    padding: 0;
  }
  .navigation.open {
    transform: translateY(0);
  }
  .navigation__liste {
    flex-direction: column;
    padding: 12px 0 16px;
  }
  .navigation__liste li { border-bottom: 1px solid var(--bordure); }
  .navigation__liste li:last-child { border-bottom: none; }
  .navigation__liste a {
    display: block;
    padding: 14px 24px;
    font-size: 0.82em;
    margin: 0;
    letter-spacing: 2px;
  }
  .navigation__liste a::after { display: none; }

  /* ── HERO ── */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding-top: 60px;
  }
  .hero::after { display: none; } /* Orbe trop grand sur mobile */

  /* Vagues masquées sur très petit écran */
  .vagues-conteneur { display: none; }

  /* ── SECTION CONTACT ── */
  .section-contact { padding: 60px 0; }
  .contact-container { padding: 0 24px; }

  .formulaire-fenetre { width: 100%; border-radius: 10px; }
  .fenetre-barre-title { display: none; }
  .fenetre-corps { flex-direction: column; }
  .contact-infos {
    flex: none;
    padding: 28px 24px 20px;
    border-right: none;
    border-bottom: 1px solid var(--bordure);
  }
  .contact-titre { font-size: 1.3em; }
  .contact-accroche { font-size: 0.82em; }
  .contact-liste { padding: 20px 20px 24px; gap: 2px; }
  .contact-ligne {
    font-size: 0.82em;
    padding: 10px 12px;
  }
  .contact-ligne:not(.contact-ligne--info):hover { transform: none; }

  /* ── FOOTER ── */
  .pied-de-page {
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    text-align: center;
  }
}


/* ================================================================
   MOBILE LARGE — 480px → 767px  (grands smartphones, iPhone Pro Max)
================================================================ */
@media screen and (min-width: 480px) and (max-width: 767px) {

  html { font-size: 15.5px; }

  .en-tete { padding: 0 28px; height: 64px; }

  /* Hamburger toujours actif */
  .nav-toggle { display: flex; }
  .navigation {
    top: 64px;
    transform: translateY(calc(-100% - 74px));
  }
  .navigation.open { transform: translateY(0); }

  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 64px;
    min-height: 100svh;
  }
  .vagues-conteneur { display: none; }

  .section-contact { padding: 72px 0; }
  .contact-container { padding: 0 32px; }
  .formulaire-fenetre { width: 100%; }
  .fenetre-corps { flex-direction: column; }
  .contact-infos { flex: none; border-right: none; border-bottom: 1px solid var(--bordure); padding: 28px 28px 20px; }
  .contact-liste { padding: 20px 24px 28px; }

  .pied-de-page { padding: 20px 32px; gap: 10px; }
}


/* ================================================================
   TABLETTE — 768px → 1023px
================================================================ */
@media screen and (min-width: 768px) and (max-width: 1023px) {

  html { font-size: 16px; }

  .en-tete { padding: 0 40px; height: 66px; }
  
  /* Hamburger sur tablette aussi */
  .nav-toggle { display: flex; }
  .navigation {
    top: 66px;
    transform: translateY(calc(-100% - 76px));
  }
  .navigation.open { transform: translateY(0); }
  .navigation__liste { flex-direction: row; padding: 0; }
  .navigation__liste li { border-bottom: none; }
  .navigation__liste a {
    padding: 20px 16px;
    font-size: 0.72em;
  }
  .navigation__liste a::after { display: block; }

  .hero {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    padding-top: 66px;
    min-height: 100svh;
  }
  .vagues-conteneur { display: block; }
  .vagues { height: 10vh; }

  /* ── Offres sur tablette ──
     À 768 px, trois colonnes tomberaient à ~200 px : chaque puce partirait sur
     trois lignes. On passe donc à deux colonnes. Point important : flex-grow
     doit valoir 0, sinon la carte restée seule sur la 2e ligne s'étire sur
     toute la largeur (bouton de 700 px = effet amateur). Avec 0 elle garde sa
     demi-largeur, et le justify-content: center de la grille la recentre. */
  .section-offres { padding-left: 48px; padding-right: 48px; }
  .offres__grille { max-width: 720px; }
  .offre { flex: 0 1 calc(50% - 9px); }

  /* Contact */
  .section-contact { padding: 90px 0; }
  .contact-container { padding: 0 48px; }
  .formulaire-fenetre { width: 100%; max-width: 640px; }
  .contact-infos { flex: 0 0 200px; padding: 36px 24px; }
  .contact-liste { padding: 28px 24px; }

  .pied-de-page { padding: 20px 48px; }
}


/* ================================================================
   DESKTOP — 1024px → 1439px  (laptops standard)
================================================================ */
@media screen and (min-width: 1024px) and (max-width: 1439px) {

  /* Nav hamburger désactivé */
  .nav-toggle { display: none; }
  .navigation {
    position: static;
    transform: none !important;
    background: none;
    border: none;
    backdrop-filter: none;
    padding: 0;
  }
  .navigation__liste {
    flex-direction: row;
    padding: 0;
  }
  .navigation__liste li { border-bottom: none; }
  .navigation__liste a { padding: 8px 16px; font-size: 0.75em; margin: 0; }
  .navigation__liste a::after { display: block; }

  .en-tete { padding: 0 48px; height: 68px; }

  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    display: grid;
    padding-top: 0;
  }
  .vagues-conteneur { display: block; }

  .section-contact { padding: 110px 0; }
  .contact-container { padding: 0 60px; }
  .formulaire-fenetre { width: 680px; }
  .fenetre-barre-title { display: block; }
  .fenetre-corps { flex-direction: row; }
  .contact-infos { flex: 0 0 220px; border-right: 1px solid var(--bordure); border-bottom: none; padding: 44px 32px; }
  .contact-liste { padding: 36px 28px; }

  .pied-de-page { padding: 24px 60px; }
}


/* ================================================================
   GRAND ÉCRAN — ≥ 1440px  (desktop large, 4K)
================================================================ */
@media screen and (min-width: 1440px) {

  html { font-size: 17px; }

  .nav-toggle { display: none; }
  .navigation {
    position: static;
    transform: none !important;
    background: none; border: none;
    backdrop-filter: none; padding: 0;
  }
  .navigation__liste { flex-direction: row; padding: 0; }
  .navigation__liste li { border-bottom: none; }
  .navigation__liste a::after { display: block; }

  .en-tete { padding: 0 80px; }

  .hero {
    grid-template-columns: 1fr 1fr;
    display: grid;
    padding-top: 0;
  }

  .section-contact { padding: 140px 0; }

  .contact-container { max-width: 1400px; padding: 0 100px; }

  .formulaire-fenetre { width: 780px; }
  .contact-infos { flex: 0 0 260px; padding: 56px 44px; }
  .contact-liste { padding: 44px 38px; }

  .pied-de-page { padding: 28px 100px; }
}


/* ================================================================
   UTILITAIRES — Accessibilité & print
================================================================ */

/* Focus visible pour navigation clavier */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--v1);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Réduire animations si préférence système */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll, .scroll-left, .scroll-right {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Images fluides globales */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ================================================================
   FIXES MOBILE — Corrections visuelles (captures IMG_6473/74)
================================================================ */
@media screen and (max-width: 767px) {

  /* Note : blocs photo hero du portfolio (hero__right, hero__photo-frame,
     icones-hero, hero__photo-tag — photo + badge) supprimés le 2026-07-30 —
     aucun élément correspondant dans index.html (voir docs/audit-css-complet.md §2). */

  /* ── Header : supprimer la double ligne ── */
  /* Le menu ouvert ne doit pas afficher "CONTACT" en dehors */
  .navigation {
    /* S'assurer que le menu part bien du bas du header sans doublon */
    box-shadow: 0 4px 20px rgba(108,92,231,0.08);
  }
  /* Cacher le ::before décoratif qui crée la ligne */
  .en-tete::before {
    display: none;
  }

  /* ── Hero : réduire l'espace global ── */
  .hero {
    gap: 0;
  }

  .hero__contenu { padding: 100px 24px 48px; max-width: none; }
  .hero__contenu h1 { font-size: 1.8em; }

  .section-pourquoi { padding: 60px 0; padding-left: 24px; padding-right: 24px; }
  .section-pourquoi h2 { font-size: 1.5em; margin-bottom: 36px; }
  .argument { flex: 1 1 100%; padding: 24px; }

  .section-demos { padding: 60px 0; padding-left: 24px; padding-right: 24px; }
  .section-demos h2 { font-size: 1.5em; margin-bottom: 36px; }
  .demos__grille .carte-projet { flex: 1 1 100%; padding: 28px; }

  .section-offres { padding: 60px 0; padding-left: 24px; padding-right: 24px; }
  .section-offres h2 { font-size: 1.5em; }
  /* Empilees : on borne la carte a 460px et on la centre, sinon a 767px de
     large elle fait 719px et son bouton pleine largeur fait tache. */
  .offres__grille { max-width: 460px; }
  .offre { flex: 1 1 100%; padding: 22px 20px; }
  /* La racine tombe a 15px sur mobile : on remonte la liste a 0.92em pour
     rester au-dessus de 13px, sinon le texte devient inconfortable. */
  .offre li { font-size: 0.92em; }
  /* Empilees, c'est l'offre recommandee qu'on veut voir en premier. */
  .offre--recommandee { order: -1; }
  .offre__bascule {
    display: block;
    width: 100%;
    margin-bottom: 18px;
    padding: 11px 14px;
    background: none;
    border: 1px solid var(--bordure2);
    border-radius: var(--rayon-pill);
    font-family: var(--sans);
    font-size: 0.85em; font-weight: 600;
    color: var(--v1);
    cursor: pointer;
  }
  /* Repliee, la carte garde son nom, son prix et son bouton :
     de quoi comparer les trois offres sans defiler pendant 2000 px. */
  .offre--repliee .offre__liste { display: none; }


  .section-faq { padding: 60px 0; padding-left: 24px; padding-right: 24px; }
  .section-faq h2 { font-size: 1.5em; margin-bottom: 32px; }

  .section-contact h2 { font-size: 1.5em; }
}


/* ================================================================
   FIXES CIBLÉS — Safe areas iOS + menu + double photo
================================================================ */

/* ── Fix 1 : Hero collé en haut sur iPhone (Dynamic Island) ── */
@media screen and (max-width: 479px) {
  .hero {
    padding-top: calc(60px + env(safe-area-inset-top) + 12px);
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .hero {
    padding-top: calc(64px + env(safe-area-inset-top) + 12px);
  }
}

/* ── Fix 2 : Menu hamburger — marge bas insuffisante ── */
@media screen and (max-width: 479px) {
  .navigation__liste {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .navigation__liste {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

/* Note : Fix 3 (.profil-photo-col img) supprimé le 2026-07-30 — profil supprimé,
   plus de double photo à masquer. */

/* Animations d'apparition au scroll — fix: filter:blur supprimé (perf), #bouton-haut dédupliqué */
.scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.show {
  opacity: 1;
  transform: translate(0);
}

/* Note : stagger .projets-grille .carte-projet:nth-child(1..6) supprimé
   le 2026-07-30 — .projets-grille n'existe plus (voir docs/audit-css-complet.md §2). */

@media (prefers-reduced-motion: reduce) {
  .scroll, .scroll-left, .scroll-right {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   BOUTON SHINY (CTA) — port vanilla du composant React "ShinyButton"
   ----------------------------------------------------------------
   Pourquoi : un seul style de bouton d'action partout sur le site.
   Le halo bleu d'origine est remplacé par le violet de la charte
   (--v1 #6c5ce7) pour rester cohérent. Inter est déjà chargé.

   Les @property servent à ANIMER des variables CSS (un angle, un
   pourcentage, une couleur) — sans elles, le navigateur ne sait pas
   interpoler ces valeurs et l'animation saute au lieu de glisser.

   À utiliser ainsi (le <span> est OBLIGATOIRE pour le halo intérieur) :
     <a class="shiny-cta"><span><i class="fa-..."></i> Mon texte</span></a>
   ================================================================ */

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --gradient-shine {
  syntax: "<color>";
  initial-value: #ffffff;
  inherits: false;
}

.shiny-cta {
  /* Couleurs de la charte du portfolio (mêmes que les CTA violets du site) */
  --shiny-cta-fill-1: var(--v1);       /* #6c5ce7 — violet principal */
  --shiny-cta-fill-2: var(--v-fonce);  /* violet foncé (fin du dégradé des CTA) */
  --shiny-cta-bg-subtle: rgba(255, 255, 255, 0.14); /* fin liseré clair intérieur */
  --shiny-cta-fg: var(--blanc);
  --shiny-cta-highlight: var(--v3);   /* #b8affe — lavande clair, ressort sur le violet */
  --shiny-cta-highlight-subtle: var(--blanc);
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  /* Taille alignée sur les CTA existants du site (plus compact que le démo) */
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.86em;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;        /* car on l'applique sur des <a> */
  border: 1px solid transparent;
  border-radius: var(--rayon-pill);
  color: var(--shiny-cta-fg);
  background: linear-gradient(135deg, var(--shiny-cta-fill-1) 0%, var(--shiny-cta-fill-2) 100%) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}

.shiny-cta::before,
.shiny-cta::after,
.shiny-cta span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.shiny-cta:active {
  translate: 0 1px;
}

/* Motif de points (couche décorative en rotation) */
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--position) var(--position),
    white calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Reflet intérieur qui tourne */
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;        /* espace icône / texte */
}

/* Reflet clair diffus qui "respire" derrière le texte.
   On utilise un dégradé radial qui s'éteint en transparent : ainsi
   les bords de l'élément ne se voient JAMAIS (pas de rectangle visible). */
.shiny-cta span::before {
  width: 220%;
  height: 320%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.18) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity var(--transition);
  animation: calc(var(--duration) * 1.5) breathe linear infinite;
}

/* Lance les rotations (additionnées entre elles) */
.shiny-cta,
.shiny-cta::before,
.shiny-cta::after {
  animation: var(--animation) var(--duration),
    var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
}

.shiny-cta:is(:hover, :focus-visible),
.shiny-cta:is(:hover, :focus-visible)::before,
.shiny-cta:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

.shiny-cta:is(:hover, :focus-visible) span::before {
  opacity: 0.7;
}

@keyframes gradient-angle {
  to { --gradient-angle: 360deg; }
}
@keyframes shimmer {
  to { rotate: 360deg; }
}
@keyframes breathe {
  from, to { scale: 1; }
  50% { scale: 1.2; }
}

/* Accessibilité : on coupe les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .shiny-cta,
  .shiny-cta::before,
  .shiny-cta::after,
  .shiny-cta span::before {
    animation: none;
  }
}
