/* Parlez-moi d'Impact : feuille de style unique.
   Palette fermée de 9 couleurs (design system Poisson-Clown), aucune autre. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --noir: #0a0a0a;
  --creme: #F1EAD9;
  --blanc: #fff;
  --brique: #B4331E;
  --nuit: #21395A;
  --rose: #FF2E9F;
  --orange: #FF7A1F;
  --encre: #3a3226;
  --secondaire: #5a5142;

  --font-marque: "Unbounded", system-ui, sans-serif;
  --font-texte: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --neon-texte: 0 0 4px #fff, 0 0 10px #FF2E9F;
  --halo-pastille: 0 0 12px rgba(255, 46, 159, .35), inset 0 0 8px rgba(255, 46, 159, .12);
  --halo-pastille-survol: 0 0 22px rgba(255, 46, 159, .75), inset 0 0 14px rgba(255, 46, 159, .25);
  --halo-diagnostic: 0 0 10px rgba(255, 46, 159, .3), inset 0 0 6px rgba(255, 46, 159, .1);
  --halo-diagnostic-survol: 0 0 20px rgba(255, 46, 159, .65), inset 0 0 12px rgba(255, 46, 159, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--creme);
  color: var(--nuit);
  font-family: var(--font-texte);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brique); }
a:hover { color: var(--nuit); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.evitement {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  background: var(--rose); color: var(--noir); padding: 12px 18px; border-radius: 12px;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.evitement:focus { top: 12px; color: var(--noir); }

.neon { text-shadow: var(--neon-texte); }
@media (max-width: 767px) { .neon { text-shadow: 0 0 2px rgba(255, 255, 255, .85), 0 0 6px #FF2E9F; } }

/* ---------- Bande noire : en-tête + héro ---------- */
.bande-noire { background: var(--noir); }
.entete { padding: 16px 30px; }
.entete__in {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: #fff; }
.logo:hover { color: #fff; }
.logo svg { display: block; flex-shrink: 0; }
.logo__nom {
  font-family: var(--font-marque); font-weight: 900; font-size: 17px; line-height: 1;
  letter-spacing: -.01em; color: #fff;
}
.logo__nom b { font-weight: inherit; color: var(--rose); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nav a {
  position: relative; display: inline-flex; align-items: center;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 100px; padding: 6px 11px;
  font-size: 10.5px; font-weight: 500; line-height: 1.25; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; text-decoration: none; white-space: nowrap;
  transition: color .25s ease, border-color .25s ease;
}
.nav a::after { content: ""; position: absolute; inset: -9px -2px; } /* zone de toucher 44 px */
.nav a:hover, .nav a[aria-current="page"] { color: var(--rose); border-color: var(--rose); }
.nav a.nav__contact {
  padding: 7px 13px; background: var(--noir); border: 2px solid var(--rose);
  font-weight: 700; box-shadow: var(--halo-diagnostic); color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav a.nav__contact:hover, .nav a.nav__contact[aria-current="page"] {
  background: rgba(255, 46, 159, .14); box-shadow: var(--halo-diagnostic-survol); color: #fff;
}

.heros { padding: 30px 30px 44px; }
.heros__in {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 30px 44px;
}
.heros__in--centre { align-items: center; }
.heros__texte {
  flex: 1.4 1 480px; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px;
}
.heros__img {
  position: relative; overflow: hidden; flex: 1 1 320px; min-width: 0; min-height: 340px; border-radius: 18px;
}
.heros__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros__img--fondu {
  overflow: visible; min-height: 440px; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
}
.heros__img--fondu img {
  position: static; width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 72%, transparent 100%);
}

.badge {
  display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
  background: rgba(255, 255, 255, .08); color: #fff; border-radius: 100px; padding: 6px 14px 6px 6px;
  font-size: 11px; font-weight: 700; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase;
}
.badge__ico {
  display: flex; width: 22px; height: 22px; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 8px; background: #fff;
}
.h1-accueil { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; color: #fff; text-wrap: balance; }
.h1-page { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; color: #fff; }
.chapeau { margin: 0; max-width: 440px; font-size: 19px; line-height: 1.3; font-weight: 600; color: #fff; }
.texte-doux { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.credo-bloc { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.etiquette-rose { margin: 0; font-size: 10.5px; line-height: 1.45; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.credo {
  margin: 0; font-family: var(--font-marque); font-weight: 900; font-size: 26px;
  line-height: 1.15; letter-spacing: -.01em; color: #fff; text-wrap: balance;
}
.lien-rose {
  color: var(--rose); font-weight: 700; text-decoration: underline; text-underline-offset: 2px;
}
.lien-rose:hover { color: var(--rose); text-decoration-thickness: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font-family: var(--font-texte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn--aplat {
  background: var(--rose); color: var(--noir); border: 0; border-radius: 18px; padding: 13px 22px;
  font-size: 12px; font-weight: 700;
}
.btn--aplat:hover { color: var(--noir); box-shadow: 0 0 18px rgba(255, 46, 159, .55); }
.btn--contour {
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 18px;
  padding: 13px 22px; font-size: 12px; font-weight: 600;
}
.btn--contour:hover { color: #fff; border-color: #fff; }
.btn--diag {
  background: var(--noir); color: #fff; border: 2px solid var(--rose); border-radius: 100px; padding: 12px 24px;
  font-size: 14px; font-weight: 700; box-shadow: var(--halo-diagnostic); white-space: normal; text-align: center;
}
.btn--diag:hover { color: #fff; background: rgba(255, 46, 159, .14); box-shadow: var(--halo-diagnostic-survol); }
.btn--lien {
  background: transparent; color: var(--nuit); border: 1.5px solid var(--rose); border-radius: 100px;
  padding: 8px 20px; font-size: 13px; font-weight: 700; box-shadow: var(--halo-pastille);
}
.btn--lien:hover { color: var(--nuit); background: rgba(255, 46, 159, .1); box-shadow: var(--halo-pastille-survol); }
.btn--filet {
  background: transparent; color: var(--rose); border: 1px solid var(--rose); border-radius: 100px;
  padding: 6px 14px; font-size: 11.5px; font-weight: 700;
}
.btn--filet:hover { color: var(--rose); background: rgba(255, 46, 159, .1); }
.btn--creme {
  background: var(--creme); color: var(--brique); border: 0; border-radius: 16px; padding: 9px 16px;
  font-size: 11px; font-weight: 600;
}
.btn--creme:hover { color: var(--brique); box-shadow: 0 0 0 2px rgba(241, 234, 217, .45); }
.btn .fleche { font-family: system-ui, sans-serif; }

/* ---------- Contenu ---------- */
.principal {
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 30px 30px 44px;
  display: flex; flex-direction: column; gap: 30px;
}
.ligne { display: flex; flex-wrap: wrap; gap: 14px; }
.ligne > .col-texte { flex: 1.6 1 420px; min-width: 0; }
.ligne > .col-texte--formation { flex: 1.4 1 420px; }
.ligne > .col-photo {
  position: relative; overflow: hidden; flex: 1 1 320px; min-width: 0; min-height: 220px; border-radius: 18px;
}
.col-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.carte-blanche { border-radius: 18px; background: #fff; padding: 24px 26px; }
.carte-blanche--neon { border: 1.5px solid var(--rose); padding: 22.5px 24.5px; box-shadow: var(--halo-pastille); }
.carte-blanche__label {
  margin: 0 0 8px; font-size: 10.5px; line-height: 1.45; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brique);
}
.carte-blanche--neon .carte-blanche__label { color: var(--rose); }
.carte-blanche__titre { margin: 0 0 10px; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--nuit); }
.carte-blanche__texte { margin: 0 0 12px; max-width: 720px; font-size: 13.5px; line-height: 1.65; color: var(--encre); }
.encart {
  margin: 0; border-radius: 12px; background: var(--creme); padding: 12px 16px;
  font-size: 12.5px; line-height: 1.55; color: var(--encre);
}
.encart b { font-weight: 700; }

.liste-tiret { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px 14px; }
.liste-tiret li { display: flex; align-items: baseline; gap: 7px; font-size: 14px; line-height: 1.45; color: var(--nuit); }
.liste-tiret li::before {
  content: ""; flex: none; width: 9px; height: 2px; background: var(--rose); transform: translateY(-.28em);
}
.liste-tiret--grande li { font-size: 19px; }
.marge-liste { margin: 6px 0 14px; }

.offres { display: flex; flex-direction: column; gap: 14px; }
.offre { overflow: hidden; display: flex; flex-wrap: wrap; background: #fff; border-radius: 18px; }
.offre__photo { position: relative; flex: 1 1 240px; max-width: 320px; min-height: 150px; }
.offre__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offre__corps {
  flex: 3 1 420px; min-width: 0; padding: 24px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.offre__texte { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.offre__titre { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--nuit); }
.offre__desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--encre); }

.methode {
  background: var(--noir); border-radius: 18px; padding: 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 30px 44px;
}
.methode__texte { flex: 1.3 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.methode__titre { margin: 0; max-width: 520px; font-size: 26px; line-height: 1.15; font-weight: 800; color: #fff; text-wrap: balance; }
.methode__lead { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--creme); }
.methode__p { margin: 0; max-width: 520px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.methode__liste { flex: 1 1 320px; min-width: 0; }

.etiquette-brique { margin: 0; font-size: 10.5px; line-height: 1.45; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brique); }
.voir-aussi { display: flex; flex-direction: column; gap: 10px; }
.voir-aussi__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.carte { display: flex; align-items: flex-start; gap: 14px; border-radius: 18px; background: #fff; padding: 18px; }
.carte__num {
  display: flex; width: 34px; height: 34px; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--nuit); color: var(--creme); font-size: 13px; font-weight: 700;
}
.carte__titre { margin: 0 0 4px; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--nuit); }
.carte__desc { margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: var(--secondaire); }

.bandeau-contact {
  background: var(--nuit); border-radius: 18px; padding: 30px 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px;
}
.bandeau-contact__qui { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.bandeau-contact__qui img {
  display: block; width: 72px; height: 72px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--rose), 0 0 22px rgba(255, 46, 159, .55);
}
.bandeau-contact__infos { display: flex; flex-direction: column; gap: 3px; }
.bandeau-contact__label { margin: 0; font-size: 10.5px; line-height: 1.45; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--creme); }
.bandeau-contact__nom { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; color: #fff; }
.bandeau-contact__liens { display: flex; flex-wrap: wrap; gap: 0 18px; }
.bandeau-contact__liens a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; color: #fff;
}

/* ---------- Page contact ---------- */
.contact__texte {
  position: relative; flex: 1.4 1 480px; min-width: 0; min-height: 340px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px;
}
.contact__tel { font-size: 26px; line-height: 1.15; font-weight: 800; text-decoration: none; color: #fff; }
.contact__tel:hover { color: #fff; }
.contact__mail {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; line-height: 1.3; font-weight: 600;
  text-decoration: none; color: #fff; overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--rose); }
.contact__boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__num { margin: 0; max-width: 420px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.contact__portrait {
  flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.contact__portrait img {
  display: block; width: 220px; height: 220px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--rose), 0 0 22px rgba(255, 46, 159, .55);
}
.contact__qui { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.contact__nom { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; color: #fff; }
.contact__role { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(241, 234, 217, .75); }

/* ---------- Pied de page ---------- */
.pied { margin-top: auto; background: var(--noir); padding: 34px 30px 26px; }
.pied__in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.pied__haut { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 44px; }
.pied__marque { display: flex; flex-direction: column; gap: 10px; }
.pied__marque .logo { min-height: 44px; }
.pied__baseline { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(241, 234, 217, .75); }
.pied__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.pied__nav a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none;
  color: rgba(241, 234, 217, .75);
}
.pied__nav a:hover { color: #fff; }
.pied__bas {
  border-top: 1px solid rgba(241, 234, 217, .15); padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
}
.pied__bas p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(241, 234, 217, .6); }

.pied__legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pied__legal a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: none;
  color: rgba(241, 234, 217, .6);
}
.pied__legal a:hover { color: #fff; }

/* ---------- Pages légales ---------- */
.heros--court { padding-bottom: 30px; }
.heros--court .heros__texte { gap: 10px; }
.legal { max-width: 820px; }
.legal__chapo { margin: 0 0 6px; font-size: 16px; line-height: 1.55; font-weight: 600; color: var(--nuit); }
.legal h2 { margin: 26px 0 8px; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--nuit); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.65; color: var(--encre); }
.legal p:last-child { margin-bottom: 0; }
.legal a { overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.page-404 { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; max-width: 1100px; width: 100%; margin: 0 auto; padding: 60px 30px; }

@media (max-width: 720px) {
  .offre__photo { flex: 1 1 100%; max-width: none; min-height: 170px; }
}

@media (max-width: 600px) {
  .entete, .heros, .pied { padding-left: 20px; padding-right: 20px; }
  /* Menu sur téléphone : quatre boutons de 44 px sur deux colonnes, toujours visibles */
  .nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nav a, .nav a.nav__contact {
    justify-content: center; min-height: 44px; padding: 6px 10px;
    font-size: 11.5px; text-align: center; white-space: normal;
  }
  .nav a::after { inset: 0; }
  .principal { padding: 24px 20px 36px; }
  .h1-accueil { font-size: 32px; }
  .methode { padding: 30px 22px; }
  .bandeau-contact { padding: 26px 22px; }
  .offre__corps { padding: 20px 20px; }
  .carte-blanche { padding: 20px; }
  .heros__img--fondu { min-height: 0; }
  .heros__img--fondu img { margin-bottom: -14%; }
  .contact__tel { font-size: 22px; }
  .contact__mail { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
