@charset "UTF-8";

/**
 * 06-sections.css
 * ------------------------------------------------------------------
 * Sections spécifiques du site Time To Learn :
 *   - Footer
 *   - Hero (variante cyan/marine)
 *   - Strip de statistiques
 *   - Liste de formations (lignes type "tableau")
 *   - "Comment ça marche" (hcm-step)
 *   - Footer-grid
 * ------------------------------------------------------------------
 */

/* ============================================================
   Footer — réplique du composant <Footer /> de la maquette
   en ligne (dev.comvousetnous.com) : couleurs, typo Jost,
   tailles et espacements repris à l'identique.
   ============================================================ */
.footer {
    /* La maquette a sa propre palette : on la scope au footer. */
    --font-display: "Jost", sans-serif;
    --font-body: "Jost", sans-serif;
    --accent-magenta: #b41c4b;
    --cyan: #0387b0;

    background: #e8a4b4; /* rgb(232, 164, 180) */
    color: var(--bg);
    font-family: var(--font-body);
    padding: clamp(60px, 8vw, 100px) 0 32px;
    margin-top: 80px;
}

.footer a {
    color: var(--bg);
    text-decoration: none;
    opacity: 0.75;
}

.footer a:hover {
    opacity: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

/* Titre de marque : .h-display (Jost 400, letter-spacing -0.02em). */
.footer-brand-title {
    font-size: 56px;
    line-height: 1;
    margin: 0 0 24px;
    color: var(--ink);
}

.footer-brand-title .footer-brand-lead {
    font-size: 45px;
    letter-spacing: -1.12px;
}

.footer-brand-accent {
    color: var(--accent-magenta);
}

.footer-brand-text {
    font-size: 12px;
    line-height: 1.5;
    color: #0e1727;
    opacity: 0.7;
    max-width: 340px;
    margin: 0;
}

.footer-brand-text > span {
    display: inline-block;
    width: 300px;
}

/* La maquette utilise un <button> : il échappe au `.footer a`.
   Ici le CTA est un lien, on lui rend donc son opacité pleine. */
.footer a.btn {
    opacity: 1;
}

.footer .btn-magenta {
    margin-top: 24px;
}

.footer .btn-magenta:hover {
    background: #93163d;
}

.footer-col-title {
    font-size: 12px;
    color: var(--ink);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-weight: 600;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--ink);
}

/* Les liens de colonnes sont en encre, pas en crème. */
.footer-list a {
    color: var(--ink);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    margin: 0;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    font-size: 13px;
    opacity: 0.5;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-certifs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer .pill {
    background: transparent;
    border-color: rgb(255 255 255 / 0.2);
    color: var(--ink);
}

/* ============================================================
   Hero cyan / marine
   ============================================================ */
.hero-cyan-inner {
    padding: clamp(80px, 12vw, 160px) 0;
}

.hero-cyan-eyebrow {
    letter-spacing: 0.14em;
    margin-bottom: 32px;
}

/* ============================================================
   Strip de statistiques
   ============================================================ */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-strip > div {
    padding: 32px 24px;
    border-left: 1px solid var(--line);
}

.stats-strip > div:first-child {
    border-left: none;
}

/* ============================================================
   Lignes de formation
   ============================================================ */
.formation-row {
    display: grid;
    grid-template-columns: 120px 2fr 1fr 1fr 24px;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.formation-row .formation-code {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.formation-row .formation-title {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.1;
    color: var(--ink);
}

.formation-row .formation-publics {
    font-size: 14px;
    color: var(--ink-soft);
}

.formation-row .formation-meta {
    text-align: right;
    font-size: 13px;
    color: var(--marine-soft);
}

.formation-row .formation-modes {
    justify-self: end;
    display: flex;
    gap: 6px;
}

.formation-row .formation-arrow {
    color: var(--marine-soft);
    font-size: 18px;
}

/* ============================================================
   Étapes "Comment ça marche"
   ============================================================ */
.hcm-step {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 220px;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.hcm-step .hcm-step-num {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    color: var(--accent-magenta);
}

.hcm-step .hcm-step-head {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.1;
}

.hcm-step .hcm-step-body {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.hcm-step .hcm-step-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--marine-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
