/* =====================================================================
   Accueil : passe typographie, textes et espacements (skill unslop, 15 nov. 2026)
   Chargé en dernier sur l'accueil : il remplace les tailles dispersées des feuilles précédentes
   par une seule échelle. Aucun changement de structure ni de fonctionnalité.

   Titres : Fraunces (poids 400 à 700, une seule police variable, plus de faux gras). Texte : Manrope.
   Échelle de titres : hero 56 · section 40 · carte 24 · détail 20 (poids 600).
   Échelle de texte : courant 18 · secondaire 16 · minimum 14. Plus aucune étiquette en capitales.
   Espacement (grille de 4 px) : 96 px entre sections, 80 px sur tablette, 64 px sur mobile.
   ===================================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-wght.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: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-ext-wght.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

body.csb-home {
	--csb-font-titre: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
	--v4-serif: var(--csb-font-titre);
	--fv-titre: var(--csb-font-titre);
	--t-hero: clamp(36px, 26px + 2.5vw, 56px);
	--t-section: clamp(26px, 21px + 1.2vw, 36px);
	--t-carte: clamp(21px, 19px + .55vw, 24px);
	--t-detail: clamp(18px, 17px + .3vw, 20px);
	--t-texte: clamp(16.5px, 16px + .2vw, 18px);
	--t-second: 16px;
	--t-min: 14px;
	--e-section: 96px;
}

/* ---------- Titres : une police, un poids, une échelle ---------- */
body.csb-home main :is(h1, h2, h3, h4):not(#csb) { font-family: var(--csb-font-titre); font-weight: 600; font-optical-sizing: auto; letter-spacing: -.01em; }
body.csb-home main :is(h1, h2, h3, h4) span { font-family: inherit; }   /* mots découpés par csb-anime.js */
body.csb-home .csb-hero .hero-content-1 .title :is(h1, h2):not(#csb) { font-size: var(--t-hero); line-height: 1.08; }

/* titres de section : 40 px */
body.csb-home :is(.csb-ap, .csb-fz, .csb-fv-cal-accueil, .csb-fr, .csb-videos, .csb-faq, .v4-prod, .v4-actus) .common-title h2:not(#csb),
body.csb-home :is(.csb-fr-intro, .v4-prod-tete, .v4-actus-tete, .csb-faq) h2:not(#csb),
body.csb-home .csb-fv-cal-accueil h2:not(#csb),
body.csb-home .csb-videos h2:not(#csb),
body.csb-home .v4-scope h2:not(#csb) { font-size: var(--t-section); line-height: 1.15; letter-spacing: -.015em; font-weight: 600; }
body.csb-home .v4-scope .v4-prod-tete h2:not(#csb) { font-size: var(--t-section); line-height: 1.15; }

/* hero v4 : titre 56 px, kicker 14 px, phrase 18 px, 16 px entre les trois */
body.csb-home .v4-ouv-titre:not(#csb) { font-family: var(--csb-font-titre); font-size: var(--t-hero); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: 12px 0 0; }
body.csb-home .v4-ouv-kicker:not(#csb) { font-size: var(--t-min); line-height: 1.4; }
body.csb-home .v4-ouv-phrase:not(#csb) { margin-top: 16px; font-size: var(--t-texte); line-height: 1.6; }

/* règle à identifiants de csb-calendrier-accueil.css : remplacée ici (40 px, poids 600) */
body.csb-home :is(#csb-ap-titre, #csb-fl-titre, #csb-fv-cal-titre, #csb-fr-titre, #csb-videos-titre, #v4-produits-titre, #v4-actus-titre, #csb-faq-titre):not(#csb) { font-size: var(--t-section); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }

/* titres de carte : 24 px */
body.csb-home main h2.csb-rea-titre:not(#csb),
body.csb-home :is(.csb-rea-titre, .csb-fz-titre, .v4-une-titre, .csb-fr-panneau h3, .v4-parcours h3):not(#csb),
body.csb-home .csb-actus .blog-card .title h3:not(#csb) { font-size: var(--t-carte); line-height: 1.25; font-weight: 600; }

/* titres de détail : 20 px (vidéos, produits, questions) */
body.csb-home :is(.v4-prod-nom, .v4-video-titre, .csb-vs-piste h3, .accordion-header, .v4-faq summary h3):not(#csb),
body.csb-home .csb-videos-grid h3:not(#csb) { font-size: var(--t-detail); line-height: 1.3; font-weight: 600; }

/* titres qui étaient en Manrope gras : calendrier, mini-titres */
body.csb-home :is(.csb-fv-rdv h3, .v4-mini-titre, .v4-rdv-titre):not(#csb) { font-family: var(--csb-font-texte); font-size: var(--t-second); font-weight: 600; line-height: 1.4; letter-spacing: 0; }

/* ---------- Étiquettes : fini les capitales de 11 px ---------- */
body.csb-home .common-subtitle span:not(#csb),
body.csb-home .csb-hero .hero-content-1 .subtitle span:not(#csb),
body.csb-home :is(.csb-fz-meta, .csb-pb-surtitre, .csb-ev-statut):not(#csb) { font-size: var(--t-min); font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.4; }
body.csb-home .csb-fr-label { font-size: var(--t-min); }

/* ---------- Texte : 18 courant, 16 secondaire, 14 minimum ---------- */
body.csb-home main :is(.csb-fz-intro, .csb-pr-intro, .csb-actus-intro) > p:not(#csb),
body.csb-home main :is(.v4-tete > p, .v4-tete > div > p, .v4-faq-intro p, .v4-prod-intro, .csb-fr-intro p, .csb-fr-panneau p, .csb-cn-presentation p, .csb-pq-presentation p, .v4-centre-texte > p):not(#csb) { font-size: var(--t-texte); line-height: 1.65; }
body.csb-home main :is(.csb-liste-simple li, .csb-rea-texte, .csb-fz-texte, .csb-video-desc, .v4-prod-texte, .v4-une-texte, .v4-mini-texte, .v4-parcours p, .csb-actus .blog-card .text p, .csb-faq .accordion-body, .v4-faq details p, .csb-fr-liste li):not(#csb) { font-size: var(--t-second); line-height: 1.6; }
body.csb-home main :is(.csb-chiffres .achievement p, .csb-chiffres .achievement-sites, .v4-rdv-public, .csb-fv-public, .v4-reperes dd small, .csb-fz-lien, .csb-rea-lien):not(#csb) { font-size: var(--t-min); line-height: 1.5; }
body.csb-home .csb-chiffres .achievement { font-size: var(--t-second); line-height: 1.5; }
body.csb-home .csb-faq .faq-accordion .accordion-button .csb-faq-q:not(#csb) { font-size: var(--t-detail); line-height: 1.35; }

/* ---------- Espacement : un seul rythme entre les sections ---------- */
body.csb-home :is(.csb-ap, .csb-fz, .csb-fv-cal-accueil, .csb-fr, .csb-videos, .csb-faq, .v4-produits, .v4-actus):not(#csb) { padding-top: var(--e-section) !important; padding-bottom: var(--e-section) !important; }
body.csb-home .csb-fz { margin-top: 0; }
body.csb-home .csb-rea { padding-top: 64px; padding-bottom: 0; }
body.csb-home :is(.csb-ap, .csb-fz, .csb-fv-cal-accueil, .csb-fr, .csb-videos, .csb-faq) .common-title { margin-bottom: 40px; }
body.csb-home :is(.csb-fz-intro, .csb-pr-intro, .csb-actus-intro) > p:not(#csb) { margin-top: 16px; }

@media (max-width: 991px) {
	body.csb-home { --e-section: 80px; }
}
@media (max-width: 767px) {
	body.csb-home { --e-section: 64px; --t-hero: clamp(32px, 8vw, 40px); }
	body.csb-home :is(.csb-ap, .csb-fz, .csb-fv-cal-accueil, .csb-fr, .csb-videos, .csb-faq) .common-title { margin-bottom: 32px; }
}

/* ---------- Détails (skill unslop) ---------- */
/* Icônes : un seul jeu (Font Awesome), 14 px pour les flèches, 16 px pour les commandes média */
body.csb-home main i.fa-arrow-right:not(#csb), body.csb-home main i.fa-arrow-left:not(#csb) { font-size: 14px; }
body.csb-home main :is(i.fa-play, i.fa-pause, i.fa-volume-xmark, i.fa-volume-high) { font-size: 16px; }
body.csb-home main i.fa-solid.fa-play { font-weight: 400; }

/* Rayons : photos 8, cartes 12, commandes en pilule */
body.csb-home :is(.csb-cn-video, .csb-fz-card, .csb-fr-photos, .csb-video-card, .csb-actus-pagination):not(#csb) { border-radius: 12px; }

/* Transitions : propriétés nommées, jamais « all » */
body.csb-home :is(main a, main button, main i, main .icon-wrap, main .icon, main .icon-plus, main .icon-minus, main .csb-fz-prev, main .csb-fz-next, main .v4-une, main .v4-mini):not(#csb) {
	transition-property: color, background-color, border-color, box-shadow, opacity, transform;
}

/* Titres de section : ils occupent toute la largeur de leur colonne (plus de césure « équilibrée » qui laisse du vide à droite) */
body.csb-home main :is(h2, .v4-ouv-titre):not(#csb) { text-wrap: pretty; max-width: none; }

/* Listes à puces de l'accueil : une flèche à la place du point */
.csb-liste-simple li { padding-left: 28px; }
.csb-liste-simple li::before { content: "\f061"; left: 0; top: 7px; width: auto; height: auto; border-radius: 0; background: none; font-family: "Font Awesome 6 Pro"; font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--a-vegetal); }

/* Textes des cartes de filières : en noir */
body.csb-home .csb-fz-texte:not(#csb) { color: #111; }

/* Paragraphes et textes gris de l'accueil : en noir (le hero reste en blanc sur sa photo) */
body.csb-home { --v4-texte: #111; --v4-doux: #111; --fv-texte: #111; --fv-doux: #111; --fr-texte: #111; --a-encre: #111; }
body.csb-home main :is(.csb-chiffres, .csb-ap, .csb-rea, .csb-fz, .csb-fr, .csb-fv-cal-accueil, .csb-videos, .v4-prod, .v4-actus, .csb-faq) :is(p, li, dd, dt, small, time, .achievement-sites, .csb-fv-public, .v4-rdv-public):not(#csb):not(.csb-fv-statut):not(.csb-fr-etiq):not(.csb-fz-meta) { color: #111; }
body.csb-home main .csb-faq :is(.accordion-body, .accordion-body *):not(#csb) { color: #111; }
body.csb-home main :is(.csb-fv-statut, .csb-fr-point span):not(#csb) { color: #111; }

/* Calendrier de l'accueil : petit lien « Voir le détail → » sous chaque session */
body.csb-home .csb-fv-cta:not(#csb) { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: var(--t-min); font-weight: 600; line-height: 1.4; color: var(--v4-foret, #00453F); text-decoration: none; }
body.csb-home .csb-fv-cta i { font-size: 14px; transition: transform .25s ease; }
body.csb-home .csb-fv-cta:is(:hover, :focus-visible) { color: #111; }
body.csb-home .csb-fv-cta:is(:hover, :focus-visible) i { transform: translateX(4px); }

/* « La vie du centre » : lien discret « Lire l'article → » à la place du bouton jaune */
body.csb-home .v4-cta:not(#csb) { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: var(--t-min); font-weight: 600; line-height: 1.4; color: var(--v4-foret, #00453F); transition: color .25s ease; }
body.csb-home .v4-cta i { font-size: 14px; transition: transform .25s ease; }
body.csb-home :is(.v4-une, .v4-mini):is(:hover, :focus-visible) .v4-cta { color: #111; }
body.csb-home :is(.v4-une, .v4-mini):is(:hover, :focus-visible) .v4-cta i { transform: translateX(4px); }

/* =====================================================================
   « Le centre en vidéos » refait (skill unslop, 15 nov. 2026)
   - la miniature s'affiche en entier (contain), jamais recadrée, sans voile dégradé ;
   - bouton lecture calme : disque sombre translucide, blanc au survol, plus de jaune plein ;
   - carte à filet fin, sans ombre ; catégorie en vert, date en noir ;
   - lien « Regarder la vidéo → » comme les autres appels à l'action de l'accueil.
   ===================================================================== */
body.csb-home .csb-vs-piste > .csb-video-card { border: 1px solid var(--a-trait, rgba(0, 69, 64, .14)); border-radius: 12px; box-shadow: none; transition: border-color .25s ease; }
body.csb-home .csb-vs-piste > .csb-video-card:hover { border-color: rgba(17, 17, 17, .4); box-shadow: none; }
body.csb-home .csb-vs-piste .csb-video-media { background: #111; border-radius: 0; }
body.csb-home .csb-vs-piste .csb-video-media::after { display: none; }
body.csb-home .csb-vs-piste .csb-video-media img { object-fit: contain; object-position: center; transform: none; }
body.csb-home .csb-vs-piste .csb-video-play:not(#csb) { width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(17, 17, 17, .55); color: #fff; transition-property: background-color, color, border-color; }
body.csb-home .csb-vs-piste .csb-video-card:hover .csb-video-play:not(#csb),
body.csb-home .csb-vs-piste .csb-video-play:is(:hover, :focus-visible):not(#csb) { background: #fff; border-color: #fff; color: #00453F; }
body.csb-home .csb-vs-piste .csb-video-body { padding: 20px 24px 24px; }
body.csb-home .csb-vs-piste .csb-video-meta:not(#csb) { margin-bottom: 8px; font-size: var(--t-min); color: #111; }
body.csb-home .csb-vs-piste .csb-video-desc:not(#csb) { color: #111; font-size: var(--t-second); line-height: 1.6; }
body.csb-home .csb-vs-piste .csb-vs-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; font-size: var(--t-min); font-weight: 600; line-height: 1.4; color: #00453F; text-decoration: none; }
body.csb-home .csb-vs-piste .csb-vs-cta i { font-size: 14px; transition: transform .25s ease; }
body.csb-home .csb-vs-piste .csb-video-card:hover .csb-vs-cta { color: #111; }
body.csb-home .csb-vs-piste .csb-video-card:hover .csb-vs-cta i { transform: translateX(4px); }
/* Titres de vidéo en entier (plus de coupure par « … ») */
body.csb-home .csb-vs-piste h3:not(#csb) { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Badge de catégorie sur la miniature (vidéos) */
body.csb-home .csb-vs-piste .csb-vs-badge { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 4px 12px; border-radius: 100px; background: #fff; color: #111; font-size: var(--t-min); font-weight: 600; line-height: 1.4; }

/* =====================================================================
   « Le centre en vidéos » : 2e passe (unslop + frontend-design, 15 nov. 2026)
   Plus de boîtes identiques avec bordure : la miniature porte seule la carte (coins 8 px, image entière),
   le texte se pose dessous sur le fond de la section, sous un filet fin. La seule chose qui ressort est la vidéo.
   ===================================================================== */
body.csb-home .csb-vs { --vs-gap: 32px; }
body.csb-home .csb-vs-piste > .csb-video-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
body.csb-home .csb-vs-piste > .csb-video-card:hover { border: 0; }
body.csb-home .csb-vs-piste .csb-video-media { border-radius: 8px; overflow: hidden; }
body.csb-home .csb-vs-piste .csb-video-body { padding: 20px 0 0; }
body.csb-home .csb-vs-piste h3:not(#csb) { font-size: var(--t-carte); line-height: 1.25; margin-bottom: 12px; transition: color .25s ease; }
body.csb-home .csb-vs-piste .csb-video-card:hover h3:not(#csb) { color: #00453F; }
body.csb-home .csb-vs-piste .csb-video-desc:not(#csb) { margin-bottom: 20px; }
body.csb-home .csb-vs-piste .csb-vs-cta { padding-top: 12px; border-top: 1px solid rgba(17, 17, 17, .14); align-self: stretch; justify-content: space-between; }
@media (max-width: 640px) {
	body.csb-home .csb-vs { --vs-gap: 20px; }
	body.csb-home .csb-vs-piste .csb-video-body { padding: 16px 0 0; }
}

/* Mêmes marges latérales sur toutes les sections de l'accueil : largeur 1240 px, 24 px de chaque côté sur petit écran (comme « Ce que produit le centre ») */
body.csb-home main :is(.csb-chiffres, .csb-ap, .csb-rea, .csb-fz, .csb-fr, .csb-videos, .csb-faq) > .container:not(#csb),
body.csb-home main .csb-fv-cal-accueil .csb-fv-wrap:not(#csb) { width: min(1240px, 100% - 48px); max-width: none; margin-inline: auto; padding-inline: 0; }
