/* Faire pour Apprendre · surcouche de marque et composants de la page d'accueil.
   S'ajoute après site.css (fondations bento du hub). */
:root {
  --blue: #003399;          /* bleu Act'in, couleur d'action */
  --blue-dark: #0A1E6E;
  --blue-soft: #6D8FF0;
  --gold: #FACC15;          /* or FPA, trait de feutre et repères */
  --gold-ink: #7A5F00;
  --gold-pale: #FDF3D0;
  --red: #C8241C;           /* rouge du logo, une seule tuile */
  --red-pale: #FBE3E1;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --text: #334155;
  --muted: #64748B;
  --faint: #94A3B8;
}
.btn--hot { background: var(--blue); box-shadow: 0 8px 24px -12px rgba(0,51,153,.5); }
.btn--hot:hover { background: var(--blue-dark); }
a:hover { color: var(--blue); }
.tag--sky { color: var(--blue); }
.tag--gold { background: var(--gold-pale); color: var(--gold-ink); }
.tag--red { background: var(--red-pale); color: var(--red); }
.brand__name { font-size: 19px; }
.brand__name b { color: var(--blue); font-weight: inherit; }

/* Hero : le message d'abord, l'illustration ensuite (fix mobile) */
.hero h1 { font-size: clamp(38px, 6.6vw, 88px); }
.hero h1 .accent { color: var(--blue); }
.hero__stage .card--console { left: 2%; top: 40px; width: 400px; height: 310px; }
.hero__stage .card--phone { left: 38%; top: 0; width: 300px; height: 400px; z-index: 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__stage .card--attest { left: 66%; top: 80px; width: 380px; height: 260px; }
.card--phone .row { padding: 10px 12px; border-radius: 12px; background: var(--ink-2); font-size: 12px; }
.wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.wave i { width: 3px; border-radius: 2px; background: var(--gold); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 26px; } }

/* Piliers + fonctionnalités : un seul bento */
.b-parcours { grid-column: span 7; background: var(--sky); display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
.b-suivi { grid-column: span 5; background: var(--white); border: 1px solid var(--line); }
.b-dictee { grid-column: span 4; background: var(--ink); color: var(--white); }
.b-dictee .bento__text { color: #C5C8CE; }
.b-activites { grid-column: span 4; background: var(--sage); }
.b-rncp { grid-column: span 4; background: var(--gold-pale); }
.kpi-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi-mini div { padding: 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.kpi-mini small { display: block; font-size: 9px; font-weight: 800; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.kpi-mini b { font-family: var(--font-disp); font-size: 22px; letter-spacing: -.03em; }
@media (max-width: 1000px) {
  .b-parcours, .b-suivi, .b-dictee, .b-activites, .b-rncp { grid-column: span 12; }
  .b-parcours { grid-template-columns: 1fr; }
  .b-parcours .phone-mini { display: none; }
}
@media (min-width: 640px) and (max-width: 1000px) { .b-suivi, .b-dictee, .b-activites, .b-rncp { grid-column: span 6; } }

/* La méthode : 7 étapes */
.steps7 { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.steps7::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; height: 3px; border-radius: 3px; background: var(--line); }
.steps7 .line { position: absolute; left: 6%; right: 6%; top: 26px; height: 3px; border-radius: 3px; background: var(--blue); transform-origin: left center; transform: scaleX(0); }
.in .steps7 .line { animation: grow 2.2s var(--ease-out) forwards; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 4px; }
.step__n { width: 54px; height: 54px; border-radius: 999px; background: var(--white); border: 3px solid var(--blue); display: grid; place-items: center; font-family: var(--font-disp); font-weight: 800; font-size: 20px; color: var(--blue); position: relative; z-index: 1; }
.step--done .step__n { background: var(--blue); color: var(--white); }
.step--gold .step__n { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.in .step__n { animation: pop .7s var(--ease-pop) both; }
.step h3 { font-size: 15px; font-weight: 800; line-height: 1.2; }
.step p { font-size: 13px; color: var(--text); line-height: 1.4; }
.step .tag { height: 24px; font-size: 10px; }
@media (max-width: 1000px) {
  .steps7 { grid-template-columns: 1fr; gap: 0; }
  .steps7::before, .steps7 .line { left: 26px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .steps7 .line { transform-origin: top center; transform: scaleY(0); }
  .in .steps7 .line { animation: growY 2.2s var(--ease-out) forwards; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; padding: 10px 0 22px; gap: 16px; }
  .step > div { display: flex; flex-direction: column; gap: 6px; }
}
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Pour qui : 4 personas */
.personas { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.persona { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.persona h3 { font-size: 24px; }
.persona p { font-size: 14px; color: var(--text); }
.persona__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.7); }
@media (max-width: 1000px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .personas { grid-template-columns: 1fr; } }

/* Témoignages */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-family: var(--font-disp); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.quote cite { font-style: normal; font-size: 13px; color: var(--muted); margin-top: auto; display: flex; align-items: center; gap: 10px; }
.quote .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-pale); color: var(--gold-ink); display: grid; place-items: center; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Ressources (boucle WP) */
.posts { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.post .meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.post h3 { font-size: 20px; line-height: 1.15; }
.post .more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* Pied de page en colonnes */
.footer-cols { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 48px 0 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.footer-cols h4 { margin: 0 0 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-cols a { display: block; font-size: 14px; color: var(--text); padding: 4px 0; }
.footer-cols p { font-size: 14px; color: var(--text); max-width: 360px; margin-top: 12px; }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* Mobile : compacter, badge du hero sur deux lignes, liens du pied de page tapables */
.hero .tag--white { white-space: normal; height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: left; line-height: 1.3; }
.footer-cols a { padding: 10px 0; }
@media (max-width: 700px) {
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 24px; }
  .bento { gap: 14px; }
  .bento > *, .persona, .quote, .post { padding: 24px; }
  .persona { min-height: 0; }
  .post { min-height: 0; }
  .hero__stage { gap: 14px; margin-top: 12px; }
  .hero__stage .card--attest { display: none; }
  .cta-band { padding: 32px 24px; }
  .footer-cols { gap: 20px; padding: 32px 0 16px; }
}

/* Cibles tactiles : 44 px minimum partout */
.footer-cols a { padding: 12px 0; }
.bento__more, .post .more { min-height: 44px; }
