/* ============================================================
   Boîte à outils — page hub vers les 3 panoramas UX / UI / IA
   Design system aware : tokens uniquement (--text, --accent,
   --line, --glass-bg, --tint…). Aucun hex hardcodé.
   ============================================================ */

.bo-page { position: relative; z-index: 1; }

/* ============================================================
   Hero
   ============================================================ */
.bo-hero-title {
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 24px 0 0;
    text-wrap: balance;
    max-width: 1000px;
}
.bo-hero-em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: color-mix(in oklab, var(--accent) 92%, white);
    letter-spacing: -0.02em;
}
.bo-hero-lede {
    max-width: 680px;
    margin-top: 36px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-soft);
}
.bo-hero-lede p { margin: 0 0 14px; }
.bo-hero-lede p:last-child { margin-bottom: 0; }
.bo-hero-lede strong { color: var(--text); font-weight: 600; }

/* ============================================================
   Note personnelle — pattern glass block
   ============================================================ */
.bo-glass-block {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 48px);
    border-radius: 22px;
    background: var(--glass-bg);
    border: 0.5px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.bo-eyebrow-wrap {
    margin-bottom: 18px;
}
.bo-note-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--text);
}
.bo-note-quote {
    margin: 0;
    padding: 22px 26px;
    border-left: 2px solid var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--text);
    background: rgb(var(--tint) / 0.025);
    border-radius: 0 14px 14px 0;
}
.bo-note-quote em {
    font-style: italic;
    color: color-mix(in oklab, var(--accent) 90%, white);
}
.bo-note-conclusion {
    margin: 24px 0 0;
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.6;
}
.bo-note-conclusion strong {
    color: var(--text);
    font-weight: 600;
}

/* ============================================================
   Grille des 3 cartes de navigation
   ============================================================ */
.bo-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

/* ============================================================
   Carte de navigation (a englobant, entièrement cliquable)
   ============================================================ */
.bo-nav-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px 30px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 0.5px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    text-decoration: none;
    color: inherit;
    outline: none;
    transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
    position: relative;
    overflow: hidden;
}
/* Halo accent en fond, révélé au hover */
.bo-nav-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 140% at 50% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
}
.bo-nav-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in oklab, var(--accent) 40%, var(--line-strong));
    background: var(--glass-bg-strong);
    box-shadow: 0 12px 32px -12px color-mix(in oklab, var(--accent) 30%, transparent);
}
.bo-nav-card:hover::before {
    opacity: 1;
}
.bo-nav-card:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 35%, transparent);
}

/* Header : eyebrow + badge */
.bo-nav-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.bo-nav-card__eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.bo-nav-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--accent) 12%, transparent);
    border: 0.5px solid color-mix(in oklab, var(--accent) 30%, transparent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    white-space: nowrap;
}

/* Titre + description */
.bo-nav-card__title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
    position: relative;
    z-index: 1;
}
.bo-nav-card__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* CTA "Explorer →" */
.bo-nav-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 0.5px solid var(--line);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: color 240ms ease;
}
.bo-nav-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--accent) 12%, transparent);
    color: var(--accent);
    transition: transform 320ms cubic-bezier(0.5, 0, 0.5, 1), background 240ms ease;
}
.bo-nav-card:hover .bo-nav-card__arrow {
    transform: translateX(4px);
    background: color-mix(in oklab, var(--accent) 20%, transparent);
}
.bo-nav-card:hover .bo-nav-card__cta {
    color: color-mix(in oklab, var(--accent) 88%, white);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
    .bo-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .bo-nav-card {
        padding: 26px 22px;
    }
    .bo-note-quote {
        font-size: 19px;
        padding: 22px 24px;
    }
}
