/* ========================================
   SECTIONS — Nouveaux blocs business / attractivité
   Bandeau de réassurance hero, témoignages/avis, équipe/coachs,
   FAQ accordéon, team building entreprises (B2B).
   Réutilise les tokens et la grille existante.
   ======================================== */

/* Lien d'accroche dans les sous-titres de section */
.section-sub a { color: var(--wood-light); text-decoration: underline; text-underline-offset: 3px; }
.section-sub a:hover { color: var(--white); }

/* ---------- BANDEAU DE RÉASSURANCE (hero) ---------- */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin: 0 auto 36px;
    max-width: 720px;
    animation: fadeInUp 1s var(--ease) 0.8s both;
}
.hero-trust li {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ---------- CTA centré (réutilisé par le bloc « tarifs sur demande ») ---------- */
.reviews-cta { text-align: center; }

/* ---------- ÉQUIPE / COACHS ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.coach-card {
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.coach-card:hover { transform: translateY(-6px); border-color: var(--wood-dark); }
.coach-photo {
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(circle at 50% 35%, var(--charcoal), var(--black-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-dark);
    font-size: 64px;
}
/* Placeholder SVG silhouette en attendant les vraies photos des coachs. */
.coach-photo svg { width: 72px; height: 72px; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Coach unique : carte centrée, badge affiché en entier sur fond noir. */
.team-solo { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.coach-solo .coach-photo { aspect-ratio: 1 / 1; background: #000; }
.coach-solo .coach-photo img { object-fit: contain; }
.coach-solo .coach-body { text-align: center; }
.coach-body { padding: 22px 22px 26px; }
.coach-name { font-family: var(--font-display); font-size: 24px; letter-spacing: 2px; color: var(--white); margin-bottom: 4px; }
.coach-role {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wood-light);
    margin-bottom: 12px;
    display: block;
}
.coach-bio { font-size: 14px; color: var(--text-mute); line-height: 1.6; }

/* ---------- FAQ (accordéon natif details/summary) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 2px;
    margin-bottom: 14px;
    background: var(--black);
    overflow: hidden;
}
.faq-item[open] { border-color: var(--wood-dark); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.5px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--wood-light);
    transition: transform var(--speed) var(--ease);
    line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 24px; color: var(--text); line-height: 1.7; }

/* ---------- TEAM BUILDING ENTREPRISES (B2B) ---------- */
.b2b {
    background:
        linear-gradient(135deg, rgba(184,137,92,0.10), transparent 60%),
        var(--black-2);
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}
.b2b-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--wood-light);
    margin-bottom: 14px;
}
.b2b h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); letter-spacing: 2px; color: var(--white); margin-bottom: 18px; line-height: 1.05; }
.b2b p { color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.b2b-list { margin-bottom: 28px; }
.b2b-list li { padding: 8px 0 8px 28px; position: relative; color: var(--text); }
.b2b-list li::before { content: '✦'; position: absolute; left: 0; color: var(--wood-light); }
.b2b-cta { display: flex; flex-direction: column; gap: 14px; }
.b2b-cta .btn { width: 100%; }
.b2b-aside { text-align: center; }

/* ---------- INSTAGRAM « Suivez le coach » ----------
   Sélection de contenus réels (3 tuiles) renvoyant vers le profil.
   Pas de flux dynamique : honnête et statique (CSP img-src 'self'). */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.ig-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid var(--border);
    background: var(--black);
    aspect-ratio: 1 / 1;
}
.ig-tile img,
.ig-tile .ig-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ig-tile:not(.ig-tile-video) img {
    transition: transform var(--speed) var(--ease), filter var(--speed) var(--ease);
    filter: brightness(0.82);
}
.ig-tile:not(.ig-tile-video):hover img,
.ig-tile:not(.ig-tile-video):focus-visible img { transform: scale(1.06); filter: brightness(1); }
/* Overlay au survol : icône Instagram + légende. */
.ig-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.15));
    opacity: 0;
    transition: opacity var(--speed) var(--ease);
}
.ig-tile:hover .ig-overlay,
.ig-tile:focus-visible .ig-overlay { opacity: 1; }
.ig-icon { width: 38px; height: 38px; }
.ig-caption {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
/* Tuile vidéo : cadre bronze, lecture sur place. */
.ig-tile-video {
    aspect-ratio: auto;
    border-color: var(--wood-dark);
    box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
}
.ig-tile-video .ig-video { aspect-ratio: 3 / 2; height: auto; }
.ig-video-cap {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-mute);
    text-align: center;
}
.ig-video-cap a { color: var(--wood-light); text-decoration: underline; text-underline-offset: 3px; }
.ig-video-cap a:hover { color: var(--white); }
/* Bouton « Suivre sur Instagram » centré sous la grille. */
.ig-cta { text-align: center; margin-top: 32px; }
.ig-follow { display: inline-flex; align-items: center; gap: 10px; }
.ig-follow svg { width: 20px; height: 20px; }

/* ---------- COACH (parcours / palmarès) ----------
   Section dédiée à Gilles Sita : photo + histoire + chiffres clés + diplômes. */
.coach-feature {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, rgba(184,137,92,0.08), transparent 60%), var(--black);
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    padding: 40px;
}
.coach-feature-photo {
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
}
.coach-feature-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(1) contrast(1.05);
    transition: filter var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.coach-feature:hover .coach-feature-photo img { filter: grayscale(0.2) contrast(1.05); transform: scale(1.03); }
.coach-feature-body .coach-role { margin-bottom: 16px; }
.coach-feature-body .coach-bio { font-size: 15.5px; color: var(--text); line-height: 1.75; margin-bottom: 26px; }
.coach-feature-body .coach-bio strong { color: var(--white); }
/* Chiffres clés du palmarès */
.coach-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.coach-stats li {
    flex: 1 1 140px;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    padding: 14px 16px;
    background: rgba(10,10,10,0.4);
}
.coach-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--wood-light);
    line-height: 1;
    margin-bottom: 6px;
}
.coach-stats span { font-size: 12.5px; color: var(--text-mute); line-height: 1.3; }
/* Diplômes & qualifications (tags) */
.coach-diplomas-label {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wood-light);
    margin-bottom: 12px;
}
.coach-diplomas { display: flex; flex-wrap: wrap; gap: 10px; }
.coach-diplomas li {
    font-size: 12.5px;
    color: var(--text);
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--black-2);
}

/* ---------- RESPONSIVE des nouvelles sections ---------- */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
    /* Coach : photo au-dessus, contenu en dessous */
    .coach-feature { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
    .coach-feature-photo { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 760px) {
    /* Tuiles Instagram empilées sur une colonne (anti-débordement). */
    .ig-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .b2b { padding: 32px 22px; }
    .faq-item summary { padding: 18px 20px; font-size: 16px; }
    .faq-answer { padding: 0 20px 20px; }
}

/* ---------- prefers-reduced-motion : pas d'autoplay vidéo ----------
   La vidéo n'a PAS d'attribut autoplay dans le HTML : par défaut elle ne
   démarre donc jamais seule (poster + controls). L'autoplay muet desktop est
   activé en JS uniquement HORS reduced-motion (voir js/modules/igVideo.js). */
@media (prefers-reduced-motion: reduce) {
    .ig-tile:not(.ig-tile-video) img { filter: brightness(0.9); }
}
