/* =========================================================================
   Alex Levand — Thème partagé (design system)
   Chargé APRÈS le <style> inline de chaque page → harmonise la chrome commune.
   Palette claire, Inter, accents or / vert / corail. Mêmes noms de tokens que
   les pages existantes, donc la couleur se met à jour partout automatiquement.
   ========================================================================= */

:root {
  --ink: #16181d;
  --ink-soft: #3c424b;
  --muted: #6b7280;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #ffffff;
  --dark: #121715;
  --line: rgba(22, 24, 29, 0.10);
  --line-strong: rgba(22, 24, 29, 0.18);

  --gold: #e7ad42;
  --gold-deep: #c8893a;
  --gold-soft: #fbeccb;
  --green: #2e9e6b;
  --green-soft: #e6f4ec;
  --coral: #e0533a;
  --coral-soft: #fbeae6;

  --cta: #e7ad42;
  --cta-hover: #f1bd5c;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 8px 24px rgba(22, 24, 29, 0.07);
  --shadow: 0 24px 60px rgba(22, 24, 29, 0.12);
  --shadow-lg: 0 36px 90px rgba(22, 24, 29, 0.16);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Gabarit : mêmes gouttières que la home ---------- */
.wrap {
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto;
}

@media (max-width: 980px) {
  .wrap {
    width: min(1180px, calc(100% - 48px));
  }
}

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Titres blancs sur les fonds sombres (heros image, bandes sombres) */
.hero h1, .hero h2, .hero h3,
.contact-hero h1, .contact-hero h2, .contact-hero h3,
.error-hero h1, .error-hero h2, .error-hero h3,
.section.dark h1, .section.dark h2, .section.dark h3,
.dark-band h1, .dark-band h2, .dark-band h3,
.product-banner h3 {
  color: #fffdf8;
}

::selection {
  background: rgba(231, 173, 66, 0.3);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Boutons : pilule or ---------- */
.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease,
    border-color 200ms ease, color 200ms ease;
}

.button {
  border: 0;
  color: #2a1d05;
  background: #fcd73c;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.3px;
  box-shadow: 0 10px 30px rgba(252, 215, 60, 0.35), 0 0 36px rgba(252, 215, 60, 0.45);
}

.button:hover {
  transform: translateY(-2px);
  background: #ffe066;
  box-shadow: 0 14px 38px rgba(252, 215, 60, 0.45), 0 0 52px rgba(252, 215, 60, 0.55);
}

.button-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 200ms ease;
}

.button:hover .button-arrow {
  transform: translateX(3px);
}

.ghost-button {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.ghost-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* ---------- Sections / fonds ---------- */
.section {
  padding: clamp(40px, 5vw, 72px) 0;
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Cartes vidéo + bouton play (partagé) ---------- */
.video-card {
  border-radius: var(--radius);
  cursor: pointer;
}

.video-card img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-card:hover img {
  transform: scale(1.06);
}

.play-button svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
  margin-left: 2px;
}

.video-card:hover .play-button {
  background: var(--gold);
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb-bar {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.page-breadcrumb {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.page-breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.16s ease;
}

.page-breadcrumb a:hover {
  color: var(--gold-deep);
}

.page-breadcrumb span {
  margin: 0 6px;
  color: var(--muted);
  opacity: 0.5;
}

/* ---------- Footer (markup partagé) — design unique 2026, blanc ----------
   Source unique du footer pour TOUTES les pages (plus de variante par page). */
.footer {
  padding: 72px 0 0;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4,
.footer-col .footer-heading {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.4px;
}
.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  opacity: .88;
  transition: opacity .16s ease;
}
.footer-links a:hover {
  opacity: 1;
}
.footer-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: background .18s ease, transform .18s ease;
}
.footer-shop:hover {
  background: #2a3135;
  transform: translateY(-1px);
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: opacity .16s ease, transform .16s ease;
}
.footer-social a:hover {
  opacity: .86;
  transform: translateY(-1px);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.footer-news p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--ink);
}
.footer-top {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease;
}
.footer-top:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contenu réservé aux lecteurs d'écran (accessible mais invisible). */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* Lien d'évitement (accessibilité clavier) : caché, visible au focus. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ink, #16181d);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid #fcd73c; }
body.admin-bar .skip-link:focus { top: 40px; }

/* Barre d'admin WP : l'avatar Gravatar était étiré (trop haut). On force un
   carré propre (16px dans la barre, 64px dans le sous-menu profil). */
#wpadminbar .avatar { width: 16px !important; height: 16px !important; vertical-align: middle; }
#wpadminbar #wp-admin-bar-user-info .avatar { width: 64px !important; height: 64px !important; }
/* Le gravatar WP porte aussi la classe .photo (hCard) : on le protège des
   styles de sections photo des pages (min-height 460px, bordures, ombres). */
#wpadminbar img.photo, img.avatar.photo {
	min-height: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Bouton fixe « Remonter en haut » (bas-droite, apparait au scroll) */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--ink, #16181d);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold, #fcd73c);
  color: #2a1d05;
  transform: translateY(-3px);
}
.scroll-top svg { width: 22px; height: 22px; }
@media (max-width: 620px) {
  .scroll-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* Newsletter (footer) */
.newsletter-form { display: grid; gap: 10px; }
.footer-news__form { display: grid; gap: 10px; }
.newsletter-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.newsletter-form button {
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transition: background 180ms ease;
}
.newsletter-form button:hover {
  background: var(--gold-deep);
}

/* Formulaire Brevo [sibwp_form id=3] — markup .c-section__form--item :
   deux champs (email + prénom) + bouton. Stylisé pour le blog (newsletter-band)
   et le footer, de façon élégante et cohérente avec le thème. */
.c-section__form--item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}
.c-section__form--item input {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
}
.c-section__form--item input::placeholder { color: var(--muted); }
.c-section__form--item input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(252, 215, 60, 0.28);
}
.c-section__form--item .c-button,
.c-section__form--item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #2a1d05;
  font: inherit;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.c-section__form--item .c-button:hover,
.c-section__form--item button:hover {
  background: #ffe066;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(252, 215, 60, 0.35);
}
/* Messages de retour Brevo */
.sib-form-message-panel { margin-top: 10px; font-size: 14px; }
/* Footer (fond clair) : mêmes règles, mais les 3 éléments empilés (colonne étroite) */
.footer-news .c-section__form--item { grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .c-section__form--item { grid-template-columns: 1fr; }
}

/* Breadcrumbs Rank Math — alignement dans .breadcrumb-bar.
   Pas de display:flex sur .breadcrumb-bar : il empêchait le .wrap de se
   centrer (margin:0 auto) et collait le fil d'Ariane au bord gauche.
   Le .wrap garde le centrage standard = aligné avec le contenu de la page. */
.breadcrumb-bar .wrap { display: flex; align-items: center; margin-left: auto !important; margin-right: auto !important; }
.breadcrumb-bar .rank-math-breadcrumb,
.breadcrumb-bar .rank-math-breadcrumb p,
.breadcrumb-bar .page-breadcrumb > p { margin: 0; }
.breadcrumb-bar .rank-math-breadcrumb p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.breadcrumb-bar .rank-math-breadcrumb a { color: inherit; text-decoration: none; opacity: .85; }
.breadcrumb-bar .rank-math-breadcrumb a:hover { opacity: 1; color: var(--gold-deep); }

/* Footer responsive */
@media (max-width: 1040px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { justify-content: space-between; } }

/* Hero avec image de fond éditable (bloc al-hero-basic — champ « Image de fond »).
   La couche .hero-media recouvre le fond CSS par défaut du hero quand une image est choisie. */
.hero.has-hero-image { position: relative; }
.hero.has-hero-image > .hero-media {
	position: absolute; inset: 0; z-index: 0;
	background-image: linear-gradient(180deg, rgba(13,16,15,.5), rgba(13,16,15,.62)), var(--al-hero-image);
	background-size: cover; background-position: var(--al-hero-pos, center top); background-repeat: no-repeat;
}
.hero.has-hero-image > .wrap { position: relative; z-index: 1; }
/* Cadrage mobile de l'image de hero (champ ACF « Cadrage image — mobile »). */
@media (max-width: 780px) {
	.hero.has-hero-image > .hero-media { background-position: var(--al-hero-pos-mobile, var(--al-hero-pos, center center)); }
}

/* Cadrage de la photo du bloc al-page-hero (champs « Cadrage photo »). */
.hero .hero-photo img { object-position: var(--al-hero-pos, center center); }
@media (max-width: 780px) {
	.hero .hero-photo img { object-position: var(--al-hero-pos-mobile, var(--al-hero-pos, center center)); }
}

/* Cadrage du fond PAR DÉFAUT du hero (image posée en ::before par le CSS
   de page, ex. Transformations). Ne s'applique qu'aux heros qui émettent
   les variables (bloc al-hero-basic). Spécificité doublée (.hero.hero)
   pour battre les body.al-page-* .hero::before des blocs par page. */
.hero.hero[style*="--al-hero-pos"]::before { background-position: var(--al-hero-pos, center top); }
@media (max-width: 780px) {
	.hero.hero[style*="--al-hero-pos"]::before { background-position: var(--al-hero-pos-mobile, var(--al-hero-pos, center top)); }
}

/* ============================================================
   Dégagement du header fixe (.topbar position:fixed, ~74px) pour les
   pages de CONTENU sans hero plein cadre — évite que le premier
   contenu passe sous le menu. Chargé après le build main.css, donc
   surcharge l'ancien système. Ne touche PAS les pages à hero (leur
   hero gère déjà son propre padding-top ≥ 120px).
   ============================================================ */
/* ============================================================
   Galeries avant/après (Hommes/Femmes, bascule, 5 par ligne) + interviews
   YouTube (3 par ligne). Sections appendées via inc/interviews.php.
   ============================================================ */
.al-transfos .transfo-toggle { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.al-transfos .transfo-btn { min-height: 48px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 750; font-size: 16px; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.al-transfos .transfo-btn:hover { border-color: var(--line-strong); }
.al-transfos .transfo-btn.is-active { background: #fcd73c; border-color: #fcd73c; color: #1a1205; box-shadow: 0 10px 30px rgba(252,215,60,.35); }
.al-transfos .transfo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.al-transfos .transfo-grid[hidden] { display: none; }
.al-transfos .transfo-card { margin: 0; overflow: hidden; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-sm); }
.al-transfos .transfo-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s ease; }
.al-transfos .transfo-card:hover img { transform: scale(1.05); }

/* Section « Ils racontent leur transformation » : fond gris clair, texte noir. */
.al-interviews { background: #f4f2ec; color: var(--ink); }
.al-interviews .section-head h2 { color: var(--ink); }
.al-interviews .section-head .muted { color: var(--ink-soft); }
.al-interviews .interview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.al-interviews .interview-card { min-height: 0 !important; aspect-ratio: auto !important; cursor: pointer; border-radius: 16px; }
.al-interviews .interview-card img { position: static !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover; display: block; }
.al-interviews .interview-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.al-interviews .interview-card .video-copy { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 16px; background: linear-gradient(0deg, rgba(6,8,7,.92), rgba(6,8,7,.15) 70%, transparent); }
.al-interviews .interview-card .video-copy span { display: block; color: #fff; font-size: 14.5px; font-weight: 800; }
.al-interviews .interview-card .video-copy strong { display: block; margin-top: 3px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500; line-height: 1.4; }

@media (max-width: 1040px) {
	.al-transfos .transfo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.al-interviews .interview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.al-transfos .transfo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.al-interviews .interview-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Bloc « Réserve ton bilan gratuit » via shortcode [al_bilan] — styles
   GLOBAUX (les `.bilan-3` d'origine sont scopés à la page d'accueil).
   ============================================================ */
.al-bilan-shortcode { padding: clamp(48px, 7vw, 96px) 0; background: var(--paper); }
.al-bilan-shortcode .bilan-3 { display: grid; grid-template-columns: 0.95fr 1.05fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.al-bilan-shortcode .copy { padding: clamp(34px, 4.5vw, 56px); }
.al-bilan-shortcode .bilan-3 h2 { margin: 0 0 8px; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.12; }
.al-bilan-shortcode .sub { margin: 0 0 18px; color: var(--gold-deep); font-size: 17px; font-weight: 700; }
.al-bilan-shortcode .bilan-3 p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; }
.al-bilan-shortcode .program-actions { margin-top: 22px; }
.al-bilan-shortcode .note { display: flex; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.5; }
.al-bilan-shortcode .note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; stroke: var(--coral); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al-bilan-shortcode .photo { position: relative; min-height: 340px; background: var(--paper-2); order: -1; }
.al-bilan-shortcode .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 820px) {
	.al-bilan-shortcode .bilan-3 { grid-template-columns: 1fr; }
	.al-bilan-shortcode .photo { min-height: 260px; }
}

/* Bannière programme / masterclass (ancien système, sur fond sombre) :
   titre en blanc (le lien héritait de la couleur d'encre = illisible) et
   contenu centré verticalement. */
.c-section__ban--programme .c-row { align-items: center; }
.c-section__ban--programme .c-section__head,
.c-section__ban--programme .c-section__title,
.c-section__ban--programme .c-section__title a,
.c-section__ban--programme .c-section__title a:hover,
.c-section__ban--programme .c-row-content .h-h4 { color: #fff; }

/* Sécurité : une section marquée « dark » doit toujours avoir un fond sombre.
   Certains scopes de page (ex. appli) oubliaient la règle → texte blanc sur
   fond clair, illisible. La double classe .dark.dark passe devant le
   `.section` scopé sans !important. */
.section.dark.dark { background: var(--dark); color: #fffdf8; }

/* Animation d'apparition — version CANONIQUE (les copies par page de
   pages.css ont été factorisées ici). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .56s ease, transform .56s ease; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}
/* Sécurité reveal : garantit l'affichage du contenu une fois révélé. Sans ça,
   sur les articles de blog le contenu (gros bloc .reveal) restait invisible
   (opacity:0) car l'animation ne se déclenchait pas / une règle l'écrasait. */
.reveal.is-visible { opacity: 1 !important; transform: none !important; }

/* Icônes réseaux sociaux (bloc al-social) — pastille en haut de carte. */
.social-card.has-ic .social-ic {
	display: grid; place-items: center;
	width: 50px; height: 50px; margin-bottom: 16px;
	border-radius: 13px; background: var(--paper-2); color: var(--ink);
	text-transform: none; letter-spacing: 0; font-size: 0;
}
.social-card.has-ic .social-ic svg { width: 26px; height: 26px; }
.social-card.has-ic:hover .social-ic { background: #fcd73c; color: #1a1205; }
/* Compteurs d'abonnés (label des cartes réseaux) : en marron, lisibles. */
.social-card .social-label { color: #7c4a21; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 800; }

/* En-tête clair des pages génériques + FAQ (était 80px → trop juste). */
.c-main--page .c-highlight-head--light { padding-top: clamp(104px, 12vw, 128px); }
/* Bandeau simple (était 40px). */
.c-section__ban--nomargin-top { padding-top: max(96px, 12vw); }
/* Appli & formules : le padding de tête n'existe qu'en desktop → sécuriser mobile/tablette. */
@media (max-width: 1040px) {
	.c-section--app.c-section--app2,
	.c-section--programme.c-section--programme--principal { padding-top: 100px; }
}

/* ============================================================
   Vidéo cliquable (bloc al-text-media — figure .side-video).
   Conteneur VERTICAL (9:16, format de la vidéo) : rien n'est coupé,
   ni en couverture ni en lecture. */
.side-video {
	position: relative;
	width: 100%;
	max-width: 390px;
	min-height: 0;
	aspect-ratio: 9 / 16;
	justify-self: center;
	align-self: start;
	cursor: default;
}
.side-video video {
	position: absolute; inset: 0;
	display: block; width: 100%; height: 100%;
	object-fit: cover;
}
.side-video.is-playing { cursor: default; }
.side-video .video-play-btn {
	position: absolute; inset: 0; margin: auto;
	display: grid; place-items: center;
	width: 76px; height: 76px;
	border: 0; border-radius: 999px;
	background: rgba(255, 253, 248, 0.94); color: var(--ink);
	box-shadow: 0 18px 44px rgba(16, 19, 21, 0.4);
	cursor: pointer;
	transition: transform .16s ease, background .16s ease;
}
.side-video .video-play-btn svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.side-video:hover .video-play-btn { transform: scale(1.07); background: #fff; }
.side-video.is-playing .video-play-btn { display: none; }
