/* themes/bootswatch_zephyr/css/style.css — Zephyr : bright, airy, crisp modern.
   Le skin Bootswatch Zephyr fournit couleurs/typo/composants via --bs-*.
   Ici : hero deux colonnes, cartes arrondies à ombre douce + lift, rythme. */

/* ============================ HERO ============================ */
.bsw-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 9vw, 7rem) 0;
    background:
        radial-gradient(120% 90% at 85% -10%, rgba(var(--bs-primary-rgb), 0.16), transparent 55%),
        radial-gradient(90% 80% at 0% 0%, rgba(var(--bs-primary-rgb), 0.07), transparent 60%),
        linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.05), transparent 70%);
}

.bsw-hero__glow {
    position: absolute;
    inset: auto -10% -40% auto;
    width: clamp(18rem, 45vw, 34rem);
    height: clamp(18rem, 45vw, 34rem);
    background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.12), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.bsw-hero .container { position: relative; z-index: 1; }

.bsw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.08);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
    border-radius: 999px;
}
.bsw-eyebrow__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.18);
}

.bsw-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.bsw-hero__lead {
    color: var(--bs-secondary-color);
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}
.bsw-hero__cta {
    box-shadow: 0 0.6rem 1.5rem rgba(var(--bs-primary-rgb), 0.28);
}

/* --- BENTO GRID : grille asymétrique de cartes arrondies --- */
.bsw-bento {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "main   main   accent"
        "main   main   accent"
        "stat   feature chip";
}

.bsw-bento__cell {
    background: var(--bs-body-bg);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 1.25rem;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 0.5rem 1.5rem -0.5rem rgba(var(--bs-primary-rgb), 0.12),
                0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bsw-bento__cell:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--bs-primary-rgb), 0.25);
    box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(var(--bs-primary-rgb), 0.22),
                0 0.5rem 1rem rgba(0, 0, 0, 0.06);
}

/* Grande carte */
.bsw-bento__main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 4vw, 3.25rem);
}
.bsw-bento__main .bsw-hero__lead { max-width: 38rem; }

/* Tuile dégradé d'accent */
.bsw-bento__accent {
    grid-area: accent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-color: transparent;
    color: #fff;
    background: linear-gradient(155deg,
        var(--bs-primary),
        rgba(var(--bs-primary-rgb), 0.7) 60%,
        rgba(var(--bs-primary-rgb), 0.45));
    box-shadow: 0 1rem 2.5rem -0.75rem rgba(var(--bs-primary-rgb), 0.4);
}
.bsw-bento__bars {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: auto;
}
.bsw-bento__bars span {
    display: block;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}
.bsw-bento__bars span:nth-child(2) { background: rgba(255, 255, 255, 0.5); }
.bsw-bento__accent-mark {
    font-size: 2.25rem;
    margin-top: 1.25rem;
    opacity: 0.95;
}

/* Stat */
.bsw-bento__stat {
    grid-area: stat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bsw-bento__stat-value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--bs-primary);
}
.bsw-bento__stat-value small {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.25rem;
}
.bsw-bento__stat-label {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}

/* Feature / icône */
.bsw-bento__feature {
    grid-area: feature;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    justify-content: center;
}
.bsw-bento__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.4rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.9rem;
}
.bsw-bento__feature-text {
    font-weight: 600;
    color: var(--bs-body-color);
}

/* Chip mini-témoignage */
.bsw-bento__chip {
    grid-area: chip;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.bsw-bento__chip-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: var(--bs-primary);
    border-radius: 50%;
    box-shadow: 0 0.4rem 0.9rem rgba(var(--bs-primary-rgb), 0.3);
}
.bsw-bento__chip-body { display: flex; flex-direction: column; gap: 0.15rem; }
.bsw-bento__chip-stars { font-size: 0.75rem; color: var(--bs-primary); }
.bsw-bento__chip-text { font-size: 0.85rem; color: var(--bs-secondary-color); }

/* --- Collapse mobile : une seule colonne --- */
@media (max-width: 767.98px) {
    .bsw-bento {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "accent"
            "stat"
            "feature"
            "chip";
    }
    .bsw-bento__accent { min-height: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .bsw-bento__cell { transition: none; }
    .bsw-bento__cell:hover { transform: none; }
}

/* ====================== RYTHME DES SECTIONS ====================== */
.bsw-section { padding: clamp(3rem, 7vw, 5rem) 0; }
main > section { scroll-margin-top: 5rem; padding: clamp(3rem, 7vw, 5rem) 0; }
main > section:nth-of-type(even) {
    background: linear-gradient(180deg,
        rgba(var(--bs-primary-rgb), 0.035), rgba(var(--bs-primary-rgb), 0.015));
}

.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.section-title p { color: var(--bs-secondary-color); margin-bottom: 0; }

/* =================== CARTES ARRONDIES + LIFT =================== */
.card {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--bs-primary-rgb), 0.25);
    box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(var(--bs-primary-rgb), 0.22),
                0 0.5rem 1rem rgba(0, 0, 0, 0.06);
}
.card .card-title a { color: var(--bs-body-color); transition: color 0.2s ease; }
.card:hover .card-title a { color: var(--bs-primary); }

/* Icône de service mise en valeur */
.services .card-body > .text-primary:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
    background: rgba(var(--bs-primary-rgb), 0.1);
}

/* ============================ FOOTER ============================ */
.bsw-footer a { text-decoration: none; }
.bsw-footer a:hover { color: var(--bs-primary) !important; }

/* ========================================================================
   PHASE 3 — sections sur mesure (bright airy modern)
   projects / team / testimonials / faq. S'appuie sur la carte .card
   commune (arrondie, ombre douce, lift au survol) définie plus haut.
   ===================================================================== */

.zeph-cta {
    border-radius: 999px;
    box-shadow: 0 0.6rem 1.5rem rgba(var(--bs-primary-rgb), 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zeph-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.85rem 2rem rgba(var(--bs-primary-rgb), 0.32);
}

.zeph-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
    border-radius: 999px;
}

/* ----------------------------- PROJECTS ----------------------------- */
.zeph-project-card { overflow: hidden; }
.zeph-project-card__media {
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.06);
}
.zeph-project-card__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.zeph-project-card:hover .zeph-project-card__media img { transform: scale(1.06); }
.zeph-project-card__cat {
    color: var(--bs-primary);
    font-weight: 500;
}
.zeph-project-card__link { border-radius: 999px; }

/* ------------------------------- TEAM ------------------------------- */
.zeph-team-card { overflow: hidden; }
.zeph-team-card__media {
    overflow: hidden;
    height: 240px;
}
.zeph-team-card__media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.zeph-team-card:hover .zeph-team-card__media img { transform: scale(1.05); }
.zeph-team-card__media--placeholder {
    background: linear-gradient(160deg,
        rgba(var(--bs-primary-rgb), 0.14),
        rgba(var(--bs-primary-rgb), 0.04));
}
.zeph-team-card__role {
    color: var(--bs-primary);
    font-weight: 500;
}
.zeph-team-card__social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.zeph-team-card__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    color: var(--bs-secondary-color);
    background: rgba(var(--bs-primary-rgb), 0.07);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.zeph-team-card__social a:hover {
    color: #fff;
    background: var(--bs-primary);
    transform: translateY(-2px);
}

/* --------------------------- TESTIMONIALS --------------------------- */
.zeph-quote-card {
    position: relative;
    overflow: hidden;
}
.zeph-quote-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--bs-primary), rgba(var(--bs-primary-rgb), 0.25));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.zeph-quote-card:hover::before { opacity: 1; }
.zeph-quote-card__mark {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 2.75rem;
    line-height: 1;
    color: rgba(var(--bs-primary-rgb), 0.35);
}
.zeph-quote-card__text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--bs-body-color);
}
.zeph-quote-card__avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    box-shadow: 0 0.25rem 0.75rem rgba(var(--bs-primary-rgb), 0.18);
}
.zeph-quote-card__avatar--placeholder {
    font-size: 1.4rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

/* ------------------------------- FAQ -------------------------------- */
.zeph-accordion__item {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 1rem !important;
    overflow: hidden;
    background: var(--bs-body-bg);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.zeph-accordion__item:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.2);
    box-shadow: 0 0.75rem 1.75rem -0.5rem rgba(var(--bs-primary-rgb), 0.18);
}
.zeph-accordion .accordion-button {
    border-radius: 1rem;
    font-weight: 600;
    background: transparent;
}
.zeph-accordion .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.06);
    box-shadow: none;
}
.zeph-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.2);
}

/* ========================================================================
   PHASE 5 — sections sur mesure (bright airy modern)
   about / skills / stats / resume / services. Réutilise la carte .card
   commune (arrondie, ombre douce, lift au survol) + badges/icônes.
   ===================================================================== */

/* ------------------------------ ABOUT ------------------------------- */
.zeph-about__media {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3rem -1rem rgba(var(--bs-primary-rgb), 0.28),
                0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}
.zeph-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.zeph-about__media:hover img { transform: scale(1.04); }
.zeph-about__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.zeph-about__lead {
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
}
.zeph-about__facts {
    display: grid;
    gap: 0.85rem;
}
.zeph-about__fact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.zeph-about__fact a { color: var(--bs-primary); text-decoration: none; }
.zeph-about__fact a:hover { text-decoration: underline; }
.zeph-about__fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.05rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.75rem;
}

/* ------------------------------ SKILLS ------------------------------ */
.zeph-skill-card__head {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.zeph-skill-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.85rem;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.zeph-skill-card:hover .zeph-skill-card__icon {
    color: #fff;
    background: var(--bs-primary);
}
.zeph-skill-card__pct {
    font-weight: 600;
    color: var(--bs-primary);
}
.zeph-skill-card__progress {
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 999px;
}
.zeph-skill-card__progress .progress-bar { border-radius: 999px; }

/* ------------------------------ STATS ------------------------------- */
.zeph-stat-card {
    padding: 1.75rem 1rem;
    height: 100%;
    background: var(--bs-body-bg);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.zeph-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--bs-primary-rgb), 0.25);
    box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(var(--bs-primary-rgb), 0.22),
                0 0.5rem 1rem rgba(0, 0, 0, 0.06);
}
.zeph-stat-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.85rem;
    font-size: 1.6rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 1rem;
}
.zeph-stat-card__value {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}
.zeph-stat-card__unit { font-size: 1.25rem; }
.zeph-stat-card__label { color: var(--bs-secondary-color); }

/* ------------------------------ RESUME ------------------------------ */
.zeph-resume__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.zeph-resume__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.2rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.85rem;
}
.zeph-timeline {
    position: relative;
    padding-left: 1.75rem;
    margin-left: 0.5rem;
    border-left: 2px solid rgba(var(--bs-primary-rgb), 0.18);
}
.zeph-timeline__item {
    position: relative;
    padding-bottom: 1.5rem;
}
.zeph-timeline__item:last-child { padding-bottom: 0; }
.zeph-timeline__item::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: calc(-1.75rem - 1px);
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.15);
    transform: translateX(-50%);
}
.zeph-timeline__meta { color: var(--bs-primary); }

/* ----------------------------- SERVICES ----------------------------- */
.zeph-service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.6rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 1rem;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.zeph-service-card:hover .zeph-service-card__icon {
    color: #fff;
    background: var(--bs-primary);
}
.zeph-service-card__link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}
.zeph-service-card__link:hover { text-decoration: underline; }

/* ========================================================================
   PHASE 5 — sections liste (bright airy modern)
   publications / events / resources / blog. Réutilise .card commune
   (arrondie, ombre douce, lift) + .zeph-badge + .zeph-cta.
   ===================================================================== */

/* --------------------------- PUBLICATIONS --------------------------- */
.zeph-pub-list { display: grid; gap: 0.75rem; }
.zeph-pub-item {
    padding: 1.1rem 1.25rem;
    background: var(--bs-body-bg);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.zeph-pub-item:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--bs-primary-rgb), 0.25);
    box-shadow: 0 1rem 2.25rem -0.75rem rgba(var(--bs-primary-rgb), 0.22),
                0 0.5rem 1rem rgba(0, 0, 0, 0.06);
}
.zeph-pub-item__title a { color: var(--bs-body-color); transition: color 0.2s ease; }
.zeph-pub-item:hover .zeph-pub-item__title a { color: var(--bs-primary); }
.zeph-pub-item__meta { color: var(--bs-secondary-color); }
.zeph-pub-item__cat { color: var(--bs-primary); }
.zeph-pub-item__link { border-radius: 999px; }

/* ------------------------------ EVENTS ------------------------------ */
.zeph-event-card { overflow: hidden; }
.zeph-event-card__media {
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.06);
}
.zeph-event-card__media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.zeph-event-card:hover .zeph-event-card__media img { transform: scale(1.06); }
.zeph-event-card__date {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 999px;
}
.zeph-event-card__link { border-radius: 999px; }

/* ----------------------------- RESOURCES ---------------------------- */
.zeph-resource-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.5rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.9rem;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.zeph-resource-card:hover .zeph-resource-card__icon {
    color: #fff;
    background: var(--bs-primary);
}
.zeph-resource-card__link { border-radius: 999px; }

/* ------------------------------- BLOG ------------------------------- */
.zeph-blog-card { overflow: hidden; }
.zeph-blog-card__media {
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.06);
}
.zeph-blog-card__media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.zeph-blog-card:hover .zeph-blog-card__media img { transform: scale(1.06); }
.zeph-blog-card__cat {
    color: var(--bs-primary);
    font-weight: 500;
}
.zeph-blog-card__link { border-radius: 999px; }

/* ========================================================================
   PHASE 6 — pages liste/détail sur mesure (bright airy modern)
   blog_list / blog_detail / project_list / project_detail.
   Réutilise .card, .zeph-*-card, .zeph-badge, .zeph-cta définis plus haut.
   ===================================================================== */

/* --------------------- Filtres catégories (pills) ------------------- */
.zeph-filter {
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zeph-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.4rem 1rem rgba(var(--bs-primary-rgb), 0.18);
}

/* ----------------------------- Pagination --------------------------- */
.zeph-pagination .page-link {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.12);
    border-radius: 999px;
    margin: 0 0.2rem;
    min-width: 2.5rem;
    text-align: center;
    color: var(--bs-primary);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.zeph-pagination .page-link:hover {
    transform: translateY(-2px);
    background: rgba(var(--bs-primary-rgb), 0.1);
}
.zeph-pagination .page-item.active .page-link {
    color: #fff;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 0.4rem 1rem rgba(var(--bs-primary-rgb), 0.28);
}

/* ----------------------------- Breadcrumb --------------------------- */
.zeph-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.45rem 1rem;
    margin-bottom: 0;
    background: rgba(var(--bs-primary-rgb), 0.06);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 999px;
}
.zeph-breadcrumb .breadcrumb-item a {
    color: var(--bs-primary);
    text-decoration: none;
}
.zeph-breadcrumb .breadcrumb-item a:hover { text-decoration: underline; }
.zeph-breadcrumb .breadcrumb-item.active { color: var(--bs-secondary-color); }

/* --------------------- Détail : titre / chapô / héro ---------------- */
.zeph-article__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.zeph-article__meta { color: var(--bs-secondary-color); }
.zeph-article__lead {
    color: var(--bs-secondary-color);
    font-size: 1.15rem;
}
.zeph-section-heading {
    font-weight: 700;
    letter-spacing: -0.01em;
}
.zeph-article__hero {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    box-shadow: 0 1.5rem 3rem -1rem rgba(var(--bs-primary-rgb), 0.28),
                0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}
.zeph-article__hero img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.zeph-article__hero:hover img { transform: scale(1.03); }

/* ----------------------- Cartes latérales (aside) ------------------- */
.zeph-aside-card {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.zeph-aside-card:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.2);
    box-shadow: 0 0.75rem 1.75rem -0.5rem rgba(var(--bs-primary-rgb), 0.18);
}
.zeph-aside-card .card-title { font-weight: 700; }

/* ----------------------- Détail projet : timeline ------------------ */
.zeph-timeline-list .list-group-item {
    background: transparent;
    border-color: rgba(var(--bs-primary-rgb), 0.08);
}

/* ----------------------- Détail projet : métriques ----------------- */
.zeph-metric-card {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.zeph-metric-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--bs-primary-rgb), 0.25);
    box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(var(--bs-primary-rgb), 0.22),
                0 0.5rem 1rem rgba(0, 0, 0, 0.06);
}
.zeph-metric-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.65rem;
    font-size: 1.4rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.85rem;
}

/* ----------------------- Détail projet : galerie ------------------- */
.zeph-gallery-figure__media {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
}
.zeph-gallery-figure__media img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.zeph-gallery-figure__media:hover img { transform: scale(1.05); }
.zeph-gallery-figure .figure-caption { margin-top: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
    .zeph-filter,
    .zeph-pagination .page-link,
    .zeph-article__hero img,
    .zeph-metric-card,
    .zeph-gallery-figure__media img { transition: none; }
    .zeph-filter:hover,
    .zeph-pagination .page-link:hover,
    .zeph-metric-card:hover { transform: none; }
    .zeph-article__hero:hover img,
    .zeph-gallery-figure__media:hover img { transform: none; }
}

/* ========================================================================
   PHASE 7 — content pages (bright airy modern)
   events / faq / jobs / publications / resources / services / team.
   Réutilise au maximum les classes existantes : .card, .zeph-*-card,
   .zeph-badge, .zeph-cta, .zeph-aside-card, .zeph-accordion, .zeph-filter,
   .zeph-breadcrumb, .zeph-article__hero, .zeph-section-heading.
   Ci-dessous : uniquement les classes nouvelles propres à la Phase 7.
   ===================================================================== */

/* ----------------------------- JOBS -------------------------------- */
.zeph-job-card { overflow: hidden; }
.zeph-job-card__cat { color: var(--bs-primary); font-weight: 500; }
.zeph-job-card__facts li { display: flex; align-items: center; }
.zeph-job-card__link { border-radius: 999px; }

/* Badge variante « urgent » — réutilise la pilule .zeph-badge */
.zeph-badge--urgent {
    color: var(--bs-danger);
    background: rgba(var(--bs-danger-rgb), 0.1);
    border-color: rgba(var(--bs-danger-rgb), 0.22);
}

/* ----------------------------- EVENTS ------------------------------ */
.zeph-event-card__loc { color: var(--bs-secondary-color); }

/* --------------------------- SERVICES ------------------------------ */
/* Liste « What's included » : items aérés sans bordure dure */
.zeph-included-list .list-group-item {
    background: transparent;
    border-color: rgba(var(--bs-primary-rgb), 0.08);
    padding-left: 0;
    padding-right: 0;
}

/* ------------------------------ TEAM ------------------------------- */
/* Photo du profil membre : reprend le cadre arrondi .zeph-about__media */
.zeph-member__media { max-height: 420px; }
.zeph-member__media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------- PUBLICATIONS ---------------------------- */
/* Bloc méta (dl) du détail publication : libellés en colonne, lisible */
.zeph-pub-detail__meta dt { font-weight: 600; }
.zeph-pub-detail__meta dd { margin-bottom: 0.35rem; }

/* ----------------------- Mobile-first tweaks ----------------------- */
@media (max-width: 575.98px) {
    .zeph-job-card__facts li { flex-wrap: wrap; }
    .zeph-pub-item { padding: 1rem; }
}


/* ---- Mode nuit : accent lisible (audit contraste) ------------------------- */
/* zephyr : --bs-primary=#3459e6 (accent pensé pour le fond clair) n'est pas redéfini
   par le skin en mode nuit -> accents/titres/icônes bsw-* illisibles sur fond
   sombre. On adapte l'accent (teinte préservée), mode clair inchangé, + texte
   sombre sur les fonds .bg-primary devenus clairs. */
[data-bs-theme="dark"] {
    --bs-primary: #8198f0;
    --bs-primary-rgb: 129, 152, 239;
}
[data-bs-theme="dark"] .bg-primary,
[data-bs-theme="dark"] .text-bg-primary {
    color: #1a1a1a;
}


/* ---- Mode nuit : texte muté lisible (audit contraste) ---- */
/* --bs-secondary-color n'est pas adapté au mode nuit -> texte muté sombre sur
   fond sombre. On le passe à un muté-clair lisible (~ratio 6). */
[data-bs-theme="dark"] {
    --bs-secondary-color: rgba(255, 255, 255, .55);
}

/* AUDIT AA : pagination active (blanc sur accent clair) -> texte sombre. */
.page-link.active, .active > .page-link { color: #14202e !important; }

/* AUDIT AA nuit : CTA .btn-primary solide — le primary s'éclaircit en dark,
   texte blanc illisible (ratio ~2.7). Texte sombre sur le primary clair. */
[data-bs-theme="dark"] .btn-primary {
    --bs-btn-color: #16202c; --bs-btn-hover-color: #16202c;
    color: #16202c !important;
}
[data-bs-theme="dark"] .btn-primary .bi,
[data-bs-theme="dark"] .btn-primary i { color: #16202c !important; }
