/* c.css : support C (page entreprise, /entreprises/). Complète hf.css, ne le remplace pas.
   Page pensée pour un dirigeant ou un DRH : la promesse et le prix d'abord, puis les bénéfices,
   le déroulé vu de son côté, et ce qu'il ne voit pas.
   Charte happyfizz.fr, rajeunie : bande turquoise à bulles, photo dans son cadre décalé, titres en capitales.
   Les couleurs vives restent des aplats ; le texte est gris foncé.
   Animations : seulement si le lecteur ne les a pas réduites ; la page est complète sans elles. */

.c-page { background: var(--blanc); }
.c-page + .pied { margin-top: 0; border-top: 0; }

/* ---------- Ouverture ---------- */
.c-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(5rem, 4rem + 6vw, 9rem); }
.c-ouverture { position: relative; display: grid; gap: 2rem; align-items: center; }
.c-ouverture > * { min-width: 0; }
@media (min-width: 900px) { .c-ouverture { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3.5rem; } }
.c-page h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1; }
.c-h1-suite { display: block; color: var(--blanc); background: var(--encre); width: fit-content; padding: 0.06em 0.22em 0.1em; margin-top: 0.18em; }
.c-promesse { font-family: var(--police-titre); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 500; line-height: 1.3; }
.c-surligne { background: linear-gradient(var(--anis), var(--anis)) no-repeat 0 90% / 100% 46%; padding-inline: 0.12em; font-weight: 700; }
.c-chapo { font-size: 1.0625rem; max-width: 34rem; }

/* La photo, dans son cadre blanc décalé (comme sur happyfizz.fr) */
.c-photo { position: relative; justify-self: center; width: min(100%, 30rem); }
.c-photo::before { content: ""; position: absolute; inset: -1.1rem 1.4rem 1.4rem -1.1rem; border: 6px solid var(--blanc); }
.c-photo img { position: relative; width: 100%; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.6); }
@media (max-width: 899px) { .c-photo { width: min(88%, 24rem); margin-top: 0.5rem; } }

/* Les bulles de la bande turquoise */
.c-hero .bulles span:nth-child(1) { width: 9rem; height: 9rem; left: -3rem; top: -3rem; }
.c-hero .bulles span:nth-child(2) { width: 3.5rem; height: 3.5rem; left: 7rem; top: 1.25rem; opacity: 0.6; }
.c-hero .bulles span:nth-child(3) { width: 1.75rem; height: 1.75rem; left: 12rem; top: 4.5rem; }
.c-hero .bulles span:nth-child(4) { width: 6rem; height: 6rem; left: 42%; bottom: 3rem; opacity: 0.3; }
.c-hero .bulles span:nth-child(5) { width: 2.25rem; height: 2.25rem; left: 50%; bottom: 8.5rem; opacity: 0.55; }
.c-hero .bulles span:nth-child(6) { width: 12rem; height: 12rem; right: -4rem; bottom: -2rem; opacity: 0.28; }
.c-hero .bulles span:nth-child(7) { width: 1.5rem; height: 1.5rem; right: 9rem; top: 1.5rem; background: var(--anis); opacity: 0.95; }
.c-hero .bulles span:nth-child(8) { width: 4rem; height: 4rem; left: 30%; top: -1.5rem; background: var(--anis); opacity: 0.85; }
.c-hero .bulles span:nth-child(9) { width: 2.5rem; height: 2.5rem; left: 4%; bottom: 5rem; background: var(--mauve); opacity: 0.9; }

/* ---------- La fiche : à cheval sur la bande, le prix en grand ---------- */
.c-fiche-zone { position: relative; z-index: 2; margin-top: clamp(-6rem, -3rem - 4vw, -3.5rem); }
.c-fiche { gap: 1.25rem; padding: 1.5rem; border: 0; border-top: 8px solid var(--anis); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.55); }
.c-fiche h2 { font-family: var(--police-titre); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-2); }
.c-faits { display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.c-faits > div { display: flex; flex-direction: column; gap: 0.1rem; padding-block: 0.6rem; border-top: 2px solid var(--fond); }
.c-faits dt { font-family: var(--police-titre); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-2); }
.c-faits dd { margin: 0; font-weight: 600; }
.c-fiche .encadre-qualiopi { border: 0; border-top: 2px solid var(--fond); padding: 1rem 0 0; }
.c-fiche .encadre-qualiopi img { width: 110px; }

/* ---------- Bénéfices ---------- */
.c-coches { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.c-coches li { position: relative; padding-left: 2.4rem; }
.c-coches li::before { content: ""; position: absolute; left: 0; top: 0.05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--c); }
.c-coches li::after {
  content: ""; position: absolute; left: 0.56rem; top: 0.36rem; width: 0.42rem; height: 0.75rem;
  border: solid var(--encre); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg);
}

/* ---------- Le déroulé : cinq étapes, de grands chiffres dans des bulles ---------- */
.c-etapes { list-style: none; padding: 0; display: flex; flex-direction: column; }
.c-etape { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.25rem; padding-bottom: 1.25rem; }
.c-etape:last-child { padding-bottom: 0; }
.c-etape::before { content: ""; position: absolute; left: calc(2rem - 2px); top: 4rem; bottom: 0; width: 4px; background: var(--blanc); }
.c-etape:last-child::before { display: none; }
.c-num {
  position: relative; z-index: 1; width: 4rem; height: 4rem; border-radius: 50%; background: var(--c);
  display: grid; place-items: center; font-family: var(--police-titre); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--encre);
  box-shadow: 0 0 0 6px var(--blanc);
}
.c-apres .c-num { background: var(--blanc); box-shadow: inset 0 0 0 3px var(--gris); }
.c-etape-corps {
  display: flex; flex-direction: column; gap: 0.5rem; min-width: 0;
  background: var(--blanc); padding: 1.1rem 1.4rem; box-shadow: var(--ombre);
  border-left: 6px solid var(--c);
  transition: transform 0.2s ease;
}
.c-apres .c-etape-corps { border-left-color: var(--gris); }
.c-etape:hover .c-etape-corps { transform: translateX(6px); }
.c-etape h3 { font-size: 1.375rem; }
@media (max-width: 599px) {
  .c-etape { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.75rem; }
  .c-etape::before { left: calc(1.375rem - 2px); top: 2.75rem; }
  .c-num { width: 2.75rem; height: 2.75rem; font-size: 1.4rem; box-shadow: 0 0 0 4px var(--blanc); }
}

/* Ce que l'entreprise reçoit à cette étape : une feuille au coin plié */
.c-recu {
  position: relative; align-self: flex-start; display: flex; flex-direction: column; gap: 0.05rem;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem; background: var(--fond);
}
.c-recu::after {
  content: ""; position: absolute; top: 0; right: 0; width: 1.2rem; height: 1.2rem;
  background: linear-gradient(225deg, var(--blanc) 50%, var(--gris) 50%);
}

/* Les 3 phases, dans l'étape 3 : des bulles (C3) */
.c-chemin { list-style: none; padding: 0.35rem 0; display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
.c-chemin li { position: relative; display: flex; flex-direction: column; gap: 0.05rem; padding-left: 2.1rem; min-width: 0; }
.c-chemin li::before { content: ""; position: absolute; left: 0; top: 0.1rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--c); }
.c-phase-nom { font-family: var(--police-titre); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; }

/* ---------- Ce que vous ne voyez pas ---------- */
.c-secret { display: grid; gap: 1.5rem; align-items: center; padding: 1.75rem; background: var(--encre); color: var(--blanc); }
@media (min-width: 800px) { .c-secret { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; padding: 2.5rem; } }
.c-secret .titre .t1 { background: none; padding: 0; }
.c-secret .titre .t2 { color: var(--blanc); background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 92% / 100% 38%; padding-inline: 0.08em; }
.c-secret .titre::after { background: var(--anis); }
.c-secret-texte { font-size: 1.125rem; font-weight: 600; }
.c-secret .discret { color: #D8D8D8; }
.c-verrous { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.c-verrous li { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem; background: var(--blanc); color: var(--encre); font-family: var(--police-titre); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; }
.c-verrous li:nth-child(2) { margin-left: 1.25rem; }
.c-verrous li:nth-child(3) { margin-left: 2.5rem; }
.c-icone { flex: 0 0 auto; }

/* ---------- Vos questions ---------- */
.c-questions { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.c-questions > .carte { gap: 0.4rem; border: 0; border-left: 6px solid var(--turq); transition: transform 0.2s ease; }
.c-questions > .carte:nth-child(even) { border-left-color: var(--anis); }
.c-questions > .carte:hover { transform: translateY(-3px); }
.c-questions dt { font-family: var(--police-titre); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.c-questions dd { margin: 0; }

/* ---------- L'appel à échanger : bande anis ---------- */
.c-appel { background: var(--anis); overflow: hidden; }
.c-appel-contenu { position: relative; z-index: 1; gap: 1.1rem; }
.c-appel h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
.c-appel .bulles span:nth-child(1) { width: 11rem; height: 11rem; right: -3rem; top: -4rem; }
.c-appel .bulles span:nth-child(2) { width: 4rem; height: 4rem; right: 9rem; top: 1.5rem; opacity: 0.6; }
.c-appel .bulles span:nth-child(3) { width: 2rem; height: 2rem; right: 6.5rem; bottom: 2rem; }
.c-appel .bulles span:nth-child(4) { width: 7rem; height: 7rem; right: 16%; bottom: -3.5rem; opacity: 0.3; }
.c-appel .bulles span:nth-child(5) { width: 1.5rem; height: 1.5rem; right: 15rem; top: 5.5rem; background: var(--turq); opacity: 0.9; }
.bouton.c-bouton-fonce { background: var(--encre); border-color: var(--encre); color: var(--blanc); box-shadow: 4px 4px 0 var(--blanc); }
.bouton.c-bouton-fonce:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); box-shadow: 2px 2px 0 var(--blanc); }
#mail-contact { font-weight: 600; white-space: nowrap; }
#t-parcours:focus { outline: none; }

/* ---------- Mouvement : discret, et seulement si le lecteur l'accepte ---------- */
@keyframes c-trait { from { background-size: 0 46%; } to { background-size: 100% 46%; } }
@keyframes c-monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes c-entre { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .c-accroche > * { animation: c-entre 0.6s ease-out both; }
  .c-accroche > :nth-child(2) { animation-delay: 0.08s; }
  .c-accroche > :nth-child(3) { animation-delay: 0.16s; }
  .c-accroche > :nth-child(4) { animation-delay: 0.24s; }
  .c-accroche > :nth-child(5) { animation-delay: 0.32s; }
  .c-accroche > :nth-child(6) { animation-delay: 0.4s; }
  .c-photo { animation: c-entre 0.8s 0.2s ease-out both; }
  .c-surligne { animation: c-trait 0.9s 0.7s ease-out both; }
}

/* ---------- C7 · Impression : une page A4 (@page A4 et marges dans hf.css) ---------- */
@media print {
  @page { size: A4; margin: 10mm; }
  html { font-size: 11px; }   /* toutes les mesures en rem rétrécissent : la page tient sur une feuille */
  body { font-size: 8.5pt; line-height: 1.3; }
  .titre { flex-direction: row; gap: 0.3em; }
  .titre::after { display: none; }
  .etiquette { font-size: 7pt; }
  .petit { font-size: 7.5pt; }
  .c-revele, .c-surligne, .c-accroche > *, .c-photo { animation: none; opacity: 1; transform: none; }
  .c-photo { display: none; }
  .en-tete-contenu { padding-block: 0 0.2rem; }
  .logo { height: 34px; }
  .c-hero { padding-block: 0.3rem 0; }
  .c-ouverture { grid-template-columns: 1fr; gap: 0.3rem; }
  .c-ouverture .rangee { display: none; }
  .c-page .pile { gap: 0.25rem; }
  .c-page .pile-large { gap: 0.45rem; }
  .c-page h1 { font-size: 16pt; }
  .c-h1-suite { display: inline; background: none; color: #000000; padding: 0; }
  h2 { font-size: 11.5pt; }
  h3, .c-etape h3, .c-interet h3 { font-size: 10pt; }
  .titre::after { height: 3px; margin-top: 0.15rem; }
  .c-promesse { font-size: 11pt; }
  .chapo, .c-chapo { font-size: 8.5pt; max-width: none; }
  .c-fiche-zone { margin-top: 0.3rem; }
  .carte { padding: 0.4rem 0.7rem; gap: 0.3rem; }
  .c-fiche { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.4rem 0.7rem; border: 1px solid #888888; border-top: 3px solid #888888; box-shadow: none; }
  .c-fiche .encadre-qualiopi { grid-column: 1 / -1; padding: 0.25rem 0 0; }
  .c-faits { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .c-faits > div { padding-block: 0.12rem; border-top-width: 1px; }
  .c-faits dt { font-size: 6.5pt; }
  .c-coches { gap: 0.15rem; }
  .c-coches li { padding-left: 1.3rem; }
  .c-coches li::before { width: 0.9rem; height: 0.9rem; top: 0.1rem; }
  .c-coches li::after { left: 0.3rem; top: 0.2rem; width: 0.24rem; height: 0.44rem; border-width: 0 1.5px 1.5px 0; }
  .c-etape { grid-template-columns: 1.5rem 1fr; gap: 0.5rem; padding-bottom: 0.25rem; }
  .c-etape::before { display: none; }
  .c-num { width: 1.5rem; height: 1.5rem; font-size: 9pt; box-shadow: none; border: 1px solid #888888; }
  .c-etape-corps { padding: 0.25rem 0.6rem; gap: 0.1rem; box-shadow: none; border: 1px solid #888888; display: grid; grid-template-columns: 1fr auto; column-gap: 0.75rem; align-items: center; }
  .c-etape-corps > h3, .c-etape-corps > p:not(.c-recu), .c-chemin { grid-column: 1; }
  .c-recu { grid-column: 2; grid-row: 1 / span 3; padding: 0.2rem 1.1rem 0.2rem 0.5rem; border: 1px solid #888888; background: none; }
  .c-chemin { grid-template-columns: repeat(3, 1fr); gap: 0.3rem; padding: 0; }
  .c-chemin li { padding-left: 1.1rem; }
  .c-chemin li::before { width: 0.75rem; height: 0.75rem; }
  .c-phase-nom { font-size: 9pt; }
  .c-secret { display: block; padding: 0.35rem 0.7rem; background: none; color: #000000; border: 1px solid #888888; }
  .c-secret .titre .t2, .c-secret .discret { color: #000000; background: none; }
  .c-secret-texte { font-size: 9pt; }
  .c-verrous { display: none; }
  .c-questions { grid-template-columns: repeat(2, 1fr); gap: 0.3rem; }
  .c-questions > .carte { border: 1px solid #888888; padding: 0.3rem 0.6rem; }
  .c-questions dt { font-size: 9pt; }
  .encadre-qualiopi { gap: 0.5rem; }
  .encadre-qualiopi img, .c-fiche .encadre-qualiopi img { width: 56px; }
  .encadre-qualiopi p { font-size: 7.5pt; }
  .c-appel { background: none; overflow: visible; }
  .c-appel-contenu { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; }
  .c-appel h2 { font-size: 10pt; }
  .c-appel .rangee:has([data-print]) { display: none; }
  /* La mention Qualiopi figure déjà dans la fiche : le pied imprimé garde seulement les liens. */
  .pied .encadre-qualiopi { display: none; }
  /* Le chemin animé est une illustration d'écran : la version papier tient sur une page sans lui. */
  section[aria-labelledby="t-revele"] { display: none; }
  .pied { margin-top: 0.3rem; padding-block: 0.15rem 0; }
  .pied-liens a { min-height: 0; }
  .c-page .rangee { gap: 0.4rem; }
}

/* Sur une bande de couleur, les petites capitales passent en gris foncé (contraste) */
.c-hero .etiquette, .c-appel .etiquette { color: var(--encre); }

/* ---------- Dernière passe : l'essentiel d'abord, et des personnes ---------- */
/* L'essentiel, dès le haut de page : le prix et le format en une ligne */
.c-essentiel { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; list-style: none; padding: 0; }
.c-essentiel li { padding: 0.3rem 0.85rem; background: var(--blanc); font-weight: 600; box-shadow: 3px 3px 0 var(--encre); }
.c-essentiel li:first-child { background: var(--encre); color: var(--blanc); font-family: var(--police-titre); font-size: 1.25rem; font-weight: 700; box-shadow: 3px 3px 0 var(--anis); }
/* La légende de la photo : on sait qui on voit */
.c-photo { margin: 0; }
.c-photo figcaption { position: absolute; left: -0.6rem; bottom: 1rem; z-index: 1; padding: 0.3rem 0.8rem; background: var(--blanc); font-size: 0.875rem; font-weight: 600; box-shadow: 3px 3px 0 var(--encre); }
/* Le prix, souligné d'un trait à la main */
/* La devise et le visage de Natacha */
.c-devise { background: var(--fond); }
.c-devise-contenu { display: grid; gap: 1.5rem; align-items: center; justify-items: start; }
@media (min-width: 700px) { .c-devise-contenu { grid-template-columns: auto minmax(0, 1fr); gap: 3rem; } }
.c-portrait { width: clamp(9rem, 7rem + 8vw, 13rem); aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; border-radius: 50%; background: var(--blanc); box-shadow: 10px 10px 0 var(--anis); }
.c-citation { position: relative; margin: 0; padding-left: 3.25rem; }
.c-citation::before { content: "\201C"; position: absolute; left: -0.2rem; top: -1.1rem; font-family: var(--police-titre); font-size: 6rem; line-height: 1; color: var(--encre); }
.c-citation p::after { content: "\201D"; }
.c-citation p { font-family: var(--police-titre); font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.75rem); font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.c-signature { font-size: 1.0625rem; }
.c-pourquoi { align-self: flex-start; padding: 0.3rem 0.8rem; background: var(--anis); color: var(--encre); font-weight: 600; }
.c-appel-texte { font-size: 1.1875rem; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .c-portrait { transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
  .c-devise:hover .c-portrait { transform: rotate(-4deg) scale(1.04); }
  html.js-anime .apparait .griffe path { stroke-dashoffset: 1; }
}
@media print {
  .c-devise, .c-essentiel, .c-photo figcaption, .c-appel-texte { display: none; }
  .c-pourquoi { background: none; padding: 0; }
}

/* ---------- L'intérêt du bilan, dès le haut de page ---------- */
.c-intro { color: var(--texte-2); }
.c-interets { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.c-interet { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1rem; border-top: 6px solid var(--c); }
.c-interet h3 { font-size: 1.375rem; text-transform: uppercase; }
.c-faits-titre { margin-top: 0.5rem; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-2); }
@media print {
  .c-intro { font-size: 8pt; }
  .c-interets { grid-template-columns: 1fr 1fr; gap: 0.3rem 1rem; }
  .c-interet { gap: 0.2rem; padding-top: 0.25rem; border-top-width: 2px; }
  .c-faits-titre { margin-top: 0.1rem; font-size: 7pt; }
}
.c-pour { font-weight: 700; }
