/* ==========================================================================
   HPO LAB site plat public_html
   Charte alignée sur webmaster.hpolab.fr.
   Karla uniquement, noir et blanc strict, alternance sections noires / claires.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

:root {
    --c-black: #000000;
    --c-white: #ffffff;
    --c-err: #e55;
    --f: 'Karla', sans-serif;
    --maxw: 680px;
    --maxw-wide: 1000px;
    --trans: 0.2s;
}

body {
    font-family: var(--f);
    background: var(--c-black);
    color: var(--c-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
a { color: var(--c-white); text-decoration: none; }
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--c-white); color: var(--c-black);
    padding: 0.5rem 1rem; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: 56px;
}
.nav-wrap {
    max-width: var(--maxw-wide);
    margin: 0 auto; height: 100%;
    padding: 0 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.brand {
    font-weight: 700; font-size: 1.05rem; letter-spacing: 0.5px;
    color: var(--c-white);
}
.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    width: 40px; height: 40px; flex-direction: column; gap: 5px;
    align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-white); }

.nav-primary ul { display: flex; gap: 1.5rem; align-items: center; }
.nav-primary a {
    font-size: 0.92rem; letter-spacing: 0.3px;
    color: rgba(255,255,255,0.75);
    padding: 0.3rem 0; border-bottom: 1px solid transparent;
    transition: color var(--trans), border-color var(--trans);
}
.nav-primary a:hover, .nav-primary a:focus { color: var(--c-white); border-bottom-color: var(--c-white); }
.nav-primary a.cta {
    font-size: 0.92rem;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.35rem 1rem; border-radius: 3px;
    transition: all var(--trans);
}
.nav-primary a.cta:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav-primary {
        position: absolute; top: 56px; left: 0; right: 0;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        transform: scaleY(0); transform-origin: top;
        transition: transform var(--trans);
    }
    .nav-primary[data-open="true"] { transform: scaleY(1); }
    .nav-primary ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem; }
    .nav-primary li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-primary li:last-child { border-bottom: 0; padding-top: 0.5rem; }
    .nav-primary a { padding: 0.8rem 0; display: block; }
}

main { padding-top: 56px; }

section {
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; }

h1, h2, h3, h4 { font-weight: 700; color: inherit; }

section h2 {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px;
    color: rgba(255,255,255,0.65); margin-bottom: 2rem;
}

.hero {
    min-height: calc(100vh - 56px);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 5rem 1.5rem;
    position: relative; border-top: 0;
}

/* Variante avec photo en arrière-plan, traitée N&B, voile sombre pour lisibilité */
.hero.hero-bg-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}
.hero.hero-bg-image::before {
    content: '';
    position: absolute; inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: grayscale(1) contrast(1.05) brightness(0.7);
    z-index: -2;
}
.hero.hero-bg-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 55%, rgba(0,0,0,0.92) 100%);
    z-index: -1;
}
.hero.hero-bg-image > .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: 2rem; line-height: 1.3; max-width: 700px; margin: 0 auto 1.2rem; }
.hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.3rem 0.9rem; border-radius: 20px;
}
.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem; line-height: 1.7;
    max-width: 520px; margin: 0 auto 1.5rem;
}
.hero .hero-ctas { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }

.btn {
    display: inline-block;
    border: 1px solid var(--c-white);
    padding: 0.7rem 2rem;
    font-size: 1rem; font-weight: 700; letter-spacing: 0.5px;
    color: var(--c-white); background: none;
    font-family: inherit; cursor: pointer;
    transition: all var(--trans);
    border-radius: 0;
}
.btn:hover { background: var(--c-white); color: var(--c-black); }

.stats {
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 700; display: block; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.3rem; display: block; }

.intro p { font-size: 1.22rem; line-height: 1.9; color: rgba(255,255,255,0.9); }
.intro strong { color: var(--c-white); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filters button {
    background: none; border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.75);
    padding: 0.4rem 1rem; border-radius: 3px;
    font-family: inherit; font-size: 0.92rem; font-weight: 400;
    cursor: pointer; transition: all var(--trans);
}
.filters button:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); }
.filters button.active { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); font-weight: 700; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.srv {
    padding: 1.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.3s;
}
.srv.hidden { display: none; }
.srv h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.srv p { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.8); }
.srv .cat-label {
    display: inline-block;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5); margin-bottom: 0.4rem;
}

.modules { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.module {
    padding: 1.8rem; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px; background: rgba(255,255,255,0.02);
    transition: all var(--trans);
}
.module:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.module h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.module p { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 0.8rem; }
.module .link-arrow {
    font-size: 0.92rem; font-weight: 700;
    color: var(--c-white);
    border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px;
    transition: border-color var(--trans);
}
.module .link-arrow:hover { border-bottom-color: var(--c-white); }
.module.module-featured { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }

.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .news-grid { grid-template-columns: repeat(4, 1fr); } }
.news-card { display: flex; flex-direction: column; transition: transform var(--trans); }
.news-card:hover { transform: translateY(-3px); }
.news-card .news-thumb {
    display: block; aspect-ratio: 4 / 3; overflow: hidden;
    margin-bottom: 0.8rem; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0 0 0.3rem; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { border-bottom: 1px solid rgba(255,255,255,0.3); }
.news-card .news-meta {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255,255,255,0.55); margin-bottom: 0.3rem;
}
.news-card .news-summary { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 0.5rem; }
.news-card .news-more {
    font-size: 0.9rem; font-weight: 700; letter-spacing: 0.3px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px;
    align-self: flex-start; transition: border-color var(--trans);
}
.news-card .news-more::after { content: " \203A"; }
.news-card .news-more:hover { border-bottom-color: var(--c-white); color: var(--c-white); }

.thumb-img {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, rgba(255,255,255,0.00) 12px 24px);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;
}

.two-col { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }

.bullets-check { margin: 0; padding: 0; }
.bullets-check li {
    position: relative; padding: 0.6rem 0 0.6rem 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem; color: rgba(255,255,255,0.85);
}
.bullets-check li::before {
    content: ""; position: absolute; left: 0; top: 1.05rem;
    width: 8px; height: 8px;
    background: var(--c-white); transform: rotate(45deg);
}

.band-quote { padding: 5rem 1.5rem; text-align: center; }
.band-quote blockquote {
    font-size: clamp(1.15rem, 1.5vw + 0.6rem, 1.5rem);
    line-height: 1.7; max-width: 700px; margin: 0 auto;
    color: rgba(255,255,255,0.9); font-weight: 400;
}

.zigzag {
    display: block; width: 84px; height: 22px;
    margin: 1rem auto 2rem; color: var(--c-white);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.section-light { background: var(--c-white); color: var(--c-black); border-top-color: rgba(0,0,0,0.08); }
.section-light h2 { color: rgba(0,0,0,0.6); }
.section-light .intro p { color: rgba(0,0,0,0.85); }
.section-light .intro strong { color: var(--c-black); }
.section-light a { color: var(--c-black); }
.section-light .filters button { border-color: rgba(0,0,0,0.2); color: rgba(0,0,0,0.65); }
.section-light .filters button:hover { border-color: rgba(0,0,0,0.5); color: var(--c-black); }
.section-light .filters button.active { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.section-light .srv { border-bottom-color: rgba(0,0,0,0.1); }
.section-light .srv h3 { color: var(--c-black); }
.section-light .srv p { color: rgba(0,0,0,0.75); }
.section-light .srv .cat-label { color: rgba(0,0,0,0.45); }
.section-light .module { border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.02); }
.section-light .module:hover { border-color: rgba(0,0,0,0.35); background: rgba(0,0,0,0.04); }
.section-light .module p { color: rgba(0,0,0,0.75); }
.section-light .module .link-arrow { color: var(--c-black); border-bottom-color: rgba(0,0,0,0.25); }
.section-light .module .link-arrow:hover { border-bottom-color: var(--c-black); }
.section-light .module.module-featured { border-color: rgba(0,0,0,0.3); background: rgba(0,0,0,0.05); }
.section-light .news-card .news-thumb { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
.section-light .news-card h3 { color: var(--c-black); }
.section-light .news-card h3 a { color: var(--c-black); }
.section-light .news-card h3 a:hover { border-bottom-color: rgba(0,0,0,0.3); }
.section-light .news-card .news-meta { color: rgba(0,0,0,0.55); }
.section-light .news-card .news-summary { color: rgba(0,0,0,0.7); }
.section-light .news-card .news-more { color: rgba(0,0,0,0.85); border-bottom-color: rgba(0,0,0,0.25); }
.section-light .news-card .news-more:hover { border-bottom-color: var(--c-black); color: var(--c-black); }
.section-light .thumb-img { background: repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 12px, rgba(0,0,0,0.00) 12px 24px); color: rgba(0,0,0,0.5); }
.section-light .bullets-check li { border-bottom-color: rgba(0,0,0,0.08); color: rgba(0,0,0,0.85); }
.section-light .bullets-check li::before { background: var(--c-black); }
.section-light .band-quote blockquote { color: rgba(0,0,0,0.85); }
.section-light .btn { border-color: var(--c-black); color: var(--c-black); }
.section-light .btn:hover { background: var(--c-black); color: var(--c-white); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    padding: 0.75rem 1rem; border-radius: 4px; font-family: inherit; font-size: 1.05rem;
    color: var(--c-white); outline: none; transition: border-color var(--trans);
}
.form-group input:focus, .form-group textarea:focus { border-color: rgba(255,255,255,0.4); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group ::placeholder { color: rgba(255,255,255,0.4); }
.form-submit { width: 100%; text-align: center; padding: 0.9rem; cursor: pointer; font-size: 1.05rem; margin-top: 0.5rem; }
.form-msg { margin-top: 1rem; font-size: 1.05rem; text-align: center; min-height: 1.5em; }
.form-msg.ok { color: rgba(255,255,255,0.8); }
.form-msg.err { color: var(--c-err); }

.section-light .form-group label { color: rgba(0,0,0,0.85); }
.section-light .form-group input,
.section-light .form-group textarea { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.18); color: var(--c-black); }
.section-light .form-group input:focus,
.section-light .form-group textarea:focus { border-color: rgba(0,0,0,0.5); }
.section-light .form-group ::placeholder { color: rgba(0,0,0,0.35); }
.section-light .form-submit { border-color: var(--c-black); color: var(--c-black); background: none; }
.section-light .form-submit:hover { background: var(--c-black); color: var(--c-white); }
.section-light .form-msg.ok { color: rgba(0,0,0,0.85); }

.alert { padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 1.5rem; border-radius: 3px; }
.alert-error { color: var(--c-err); border-color: rgba(238,85,85,0.4); }
.section-light .alert { border-color: rgba(0,0,0,0.15); }
.section-light .alert-error { color: #a22; border-color: rgba(170,34,34,0.4); }

details { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
details summary {
    cursor: pointer; font-weight: 700; font-size: 1.02rem;
    list-style: none; padding-right: 1.5rem; position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
    content: "+"; position: absolute; right: 0; top: 0;
    font-size: 1.3rem; line-height: 1; color: rgba(255,255,255,0.6);
    transition: transform var(--trans);
}
details[open] summary::after { content: "\2212"; }
details p { margin-top: 0.6rem; font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.section-light details { border-bottom-color: rgba(0,0,0,0.1); }
.section-light details summary::after { color: rgba(0,0,0,0.6); }
.section-light details p { color: rgba(0,0,0,0.75); }

.prose { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.5rem; }
.prose h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.prose h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.65); margin: 2rem 0 1rem; }
.prose p { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.prose a { color: var(--c-white); border-bottom: 1px solid rgba(255,255,255,0.3); }

/* Carrousel témoignages */
.testi-carousel { position: relative; max-width: 900px; margin: 0 auto; padding: 0 3.5rem; }
.testi-viewport { overflow: hidden; position: relative; }
.testi-track { display: flex; transition: transform 0.6s ease; }
.testi-slide {
    flex: 0 0 100%; display: grid; grid-template-columns: 1fr; gap: 2rem;
    align-items: center; padding: 2rem 0.5rem; min-height: 320px;
}
.testi-icon {
    width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; margin: 0 auto;
    color: rgba(255,255,255,0.75);
}
.testi-icon svg { width: 64px; height: 64px; }
.testi-body { position: relative; padding: 0 1rem; }
.testi-body::before,
.testi-body::after {
    content: ""; position: absolute; width: 22px; height: 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' opacity='0.4'><path d='M7 7h3v3H7v4H4v-7h3zm10 0h3v3h-3v4h-3v-7h3z'/></svg>");
    background-size: contain; background-repeat: no-repeat;
}
.testi-body::before { top: -0.5rem; left: -0.2rem; }
.testi-body::after { bottom: -0.5rem; right: -0.2rem; transform: rotate(180deg); }
.testi-text {
    font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.88);
    margin: 0 0 1.2rem; font-style: normal; border: 0; padding: 0;
}
.testi-author { font-size: 0.95rem; color: rgba(255,255,255,0.55); }
.testi-author strong { display: block; color: var(--c-white); font-weight: 700; margin-bottom: 0.15rem; letter-spacing: 0.3px; }
.testi-author em { font-style: normal; color: rgba(255,255,255,0.55); }
.testi-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.25);
    background: transparent; color: var(--c-white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem; line-height: 1;
    transition: all var(--trans);
}
.testi-nav:hover { background: var(--c-white); color: var(--c-black); }
.testi-prev { left: 0; }
.testi-next { right: 0; }
.testi-dots {
    display: flex; justify-content: center; gap: 0.6rem;
    margin-top: 1.2rem;
}
.testi-dots button {
    width: 10px; height: 10px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,0.25);
    cursor: pointer; padding: 0; transition: all var(--trans);
}
.testi-dots button.active { background: var(--c-white); transform: scale(1.2); }

.section-light .testi-icon { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.75); }
.section-light .testi-body::before,
.section-light .testi-body::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000' opacity='0.3'><path d='M7 7h3v3H7v4H4v-7h3zm10 0h3v3h-3v4h-3v-7h3z'/></svg>");
}
.section-light .testi-text { color: rgba(0,0,0,0.85); }
.section-light .testi-author { color: rgba(0,0,0,0.55); }
.section-light .testi-author strong { color: var(--c-black); }
.section-light .testi-author em { color: rgba(0,0,0,0.55); }
.section-light .testi-nav { border-color: rgba(0,0,0,0.25); color: var(--c-black); }
.section-light .testi-nav:hover { background: var(--c-black); color: var(--c-white); }
.section-light .testi-dots button { background: rgba(0,0,0,0.2); }
.section-light .testi-dots button.active { background: var(--c-black); }

@media (min-width: 768px) {
    .testi-slide { grid-template-columns: 220px 1fr; gap: 2.5rem; padding: 2.5rem 1rem; }
    .testi-icon { margin: 0; width: 180px; height: 180px; }
    .testi-icon svg { width: 90px; height: 90px; }
    .testi-text { font-size: 1.05rem; }
}

/* Fiche événement : bandeau, compte à rebours, programme */
.event-ribbon {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.2rem;
}
.section-light .event-ribbon { border-color: rgba(0,0,0,0.3); color: rgba(0,0,0,0.8); }

.event-punchline {
    max-width: 760px;
    margin: 1.8rem auto 0;
    padding: 1rem 1.4rem;
    border-left: 3px solid var(--c-white);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.04);
    letter-spacing: 0.2px;
}
.section-light .event-punchline {
    border-left-color: var(--c-black);
    color: rgba(0,0,0,0.82);
    background: rgba(0,0,0,0.03);
}

.program-copyright {
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
    margin-top: 0.5rem;
}
.section-light .program-copyright { color: rgba(0,0,0,0.55); }

.event-meta {
    display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem; color: rgba(255,255,255,0.75);
}
.event-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.event-meta strong { color: var(--c-white); font-weight: 700; }
.section-light .event-meta { color: rgba(0,0,0,0.75); }
.section-light .event-meta strong { color: var(--c-black); }

.countdown-wrapper {
    margin: 2rem auto;
    max-width: 560px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    text-align: center;
}
.countdown-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}
.countdown {
    display: flex; justify-content: center; gap: 0.75rem;
    font-variant-numeric: tabular-nums;
}
.countdown-unit {
    flex: 1 1 0;
    min-width: 70px;
    padding: 1rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.35);
}
.countdown-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--c-white);
}
.countdown-text {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 0.4rem;
}
.countdown-expired {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    padding: 1rem 0;
}
.section-light .countdown-wrapper { border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.02); }
.section-light .countdown-label { color: rgba(0,0,0,0.6); }
.section-light .countdown-unit { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.03); }
.section-light .countdown-value { color: var(--c-black); }
.section-light .countdown-text { color: rgba(0,0,0,0.55); }
.section-light .countdown-expired { color: rgba(0,0,0,0.8); }

.event-program { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.event-program .module { padding: 1.5rem; }
.event-program .module .eyebrow {
    display: block; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.55); margin-bottom: 0.5rem;
}
.section-light .event-program .module .eyebrow { color: rgba(0,0,0,0.55); }

.biblio { list-style: none; padding: 0; margin: 1rem 0 0; }
.biblio li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.biblio li:last-child { border-bottom: none; }
.section-light .biblio li { border-bottom-color: rgba(0,0,0,0.08); color: rgba(0,0,0,0.8); }

@media (min-width: 768px) {
    .countdown-unit { padding: 1.2rem 0.6rem; min-width: 90px; }
    .countdown-value { font-size: 2.8rem; }
    .event-program { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* Bloc bénéfices style masterclass */
.benefits-block {
    max-width: 820px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
}
.benefits-block h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.benefits-block .bullets-check { font-size: 1rem; }
.benefits-bonus {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border: 1px dashed rgba(255,255,255,0.25);
    text-align: center;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.9);
}
.benefits-bonus strong { display: block; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.4rem; color: var(--c-white); }
.section-light .benefits-block { border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.02); }
.section-light .benefits-bonus { border-color: rgba(0,0,0,0.35); color: rgba(0,0,0,0.85); }
.section-light .benefits-bonus strong { color: var(--c-black); }

.outcomes { display: grid; grid-template-columns: 1fr; gap: 0.8rem; max-width: 820px; margin: 2rem auto; }
.outcomes div {
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}
.section-light .outcomes div { border-color: rgba(0,0,0,0.12); color: rgba(0,0,0,0.85); }

/* Bloc vidéo exemple, fiche événement */
.video-showcase {
    max-width: 880px;
    margin: 2rem auto;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    padding: 1rem;
}
.video-showcase video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}
.video-caption {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    padding: 1rem 0.4rem 0.4rem;
    text-align: center;
}
.video-caption strong { color: var(--c-white); font-weight: 700; }
.section-light .video-showcase { border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.02); }

.traces-stage {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.14);
    background: rgba(0,0,0,0.96);
}
.traces-stage canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}
.traces-stage-caption {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.55);
    border-left: 2px solid rgba(255,255,255,0.4);
}
.traces-stage-caption strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) {
    .traces-stage { padding: 0.5rem; }
    .traces-stage-caption { font-size: 0.85rem; }
}
.section-light .video-caption { color: rgba(0,0,0,0.75); }
.section-light .video-caption strong { color: var(--c-black); }

/* Animation de la journée, 3 phases en boucle */
.journey-timeline {
    --journey-progress: 33%;
    max-width: 1100px;
    margin: 2rem auto 0;
    position: relative;
}
.journey-track {
    position: relative;
    height: 2px;
    margin: 0 12% 2.4rem;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}
.journey-progress {
    height: 100%;
    width: var(--journey-progress);
    background: var(--c-white);
    transition: width 0.7s ease;
}
.journey-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    position: relative;
}
.journey-phase {
    position: relative;
    padding: 1.6rem 1.3rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    text-align: center;
    opacity: 0.45;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.6s ease, background-color 0.6s ease;
    color: var(--c-white);
}
.journey-phase.active {
    opacity: 1;
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.05);
}
.journey-dot {
    position: absolute;
    top: -8px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid var(--c-black);
    transform: translateX(-50%);
    transition: background 0.5s ease, box-shadow 0.5s ease;
}
.journey-phase.active .journey-dot {
    background: var(--c-white);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}
.journey-icon {
    width: 90px;
    height: 90px;
    margin: 0.2rem auto 1rem;
    opacity: 0.55;
    transition: opacity 0.5s ease;
}
.journey-phase.active .journey-icon { opacity: 1; }
.journey-icon svg { width: 100%; height: 100%; display: block; }
.journey-time {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.6rem;
}
.journey-phase.active .journey-time { color: rgba(255,255,255,0.85); }
.journey-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.7rem;
}
.journey-sub {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
}

/* Animations SVG internes, jouent uniquement sur la phase active */
.journey-phase .ekg-line {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
}
.journey-phase.active .ekg-line {
    animation: journey-ekg 2.2s ease-in-out infinite;
}
@keyframes journey-ekg {
    0% { stroke-dashoffset: 120; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -120; }
}
.journey-phase .hit-dot { opacity: 0; transform-origin: center; }
.journey-phase.active .hit-a { animation: journey-hit 3.6s ease-out 0.2s infinite; }
.journey-phase.active .hit-b { animation: journey-hit 3.6s ease-out 1.2s infinite; }
.journey-phase.active .hit-c { animation: journey-hit 3.6s ease-out 2.2s infinite; }
@keyframes journey-hit {
    0% { opacity: 0; transform: scale(0.2); }
    10% { opacity: 1; transform: scale(1.6); }
    25% { opacity: 1; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

.journey-phase .screen-curves .curve { opacity: 0; stroke-dasharray: 90; stroke-dashoffset: 90; }
.journey-phase.active .screen-curves .curve-a { animation: journey-curve 3s ease-in-out 0s infinite; }
.journey-phase.active .screen-curves .curve-b { animation: journey-curve 3s ease-in-out 0.6s infinite; }
.journey-phase.active .screen-curves .curve-c { animation: journey-curve 3s ease-in-out 1.2s infinite; }
@keyframes journey-curve {
    0% { opacity: 0; stroke-dashoffset: 90; }
    30% { opacity: 1; stroke-dashoffset: 0; }
    80% { opacity: 1; stroke-dashoffset: 0; }
    100% { opacity: 0; stroke-dashoffset: 0; }
}

.journey-phase .branch, .journey-phase .branch-arrow { opacity: 0.3; transition: opacity 0.4s ease, stroke-width 0.4s ease; }
.journey-phase .branch-label { opacity: 0.3; transition: opacity 0.4s ease; }
.journey-phase.active .branch-a, .journey-phase.active .branch-arrow-a {
    animation: journey-branch 3s ease-in-out 0s infinite alternate;
}
.journey-phase.active .branch-b, .journey-phase.active .branch-arrow-b {
    animation: journey-branch 3s ease-in-out 1.5s infinite alternate;
}
.journey-phase.active .branch-label { opacity: 0.7; }
@keyframes journey-branch {
    0% { opacity: 0.3; stroke-width: 1.4; }
    100% { opacity: 1; stroke-width: 2.2; }
}

/* Variante section claire */
.section-light .journey-track { background: rgba(0,0,0,0.15); }
.section-light .journey-progress { background: var(--c-black); }
.section-light .journey-phase {
    border-color: rgba(0,0,0,0.14);
    background: rgba(0,0,0,0.02);
    color: var(--c-black);
}
.section-light .journey-phase.active {
    border-color: rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.04);
}
.section-light .journey-dot { background: rgba(0,0,0,0.25); border-color: var(--c-white); }
.section-light .journey-phase.active .journey-dot {
    background: var(--c-black);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}
.section-light .journey-time { color: rgba(0,0,0,0.55); }
.section-light .journey-phase.active .journey-time { color: rgba(0,0,0,0.85); }
.section-light .journey-sub { color: rgba(0,0,0,0.75); }

/* Responsive */
@media (max-width: 780px) {
    .journey-track { margin: 0 8% 1.8rem; }
    .journey-phases { grid-template-columns: 1fr; gap: 0.9rem; }
    .journey-phase { padding: 1.3rem 1rem 1.1rem; opacity: 0.75; }
    .journey-phase .journey-dot { display: none; }
    .journey-icon { width: 74px; height: 74px; margin-bottom: 0.7rem; }
    .journey-title { font-size: 1rem; }
    .journey-sub { font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
    .journey-phase { opacity: 1; transform: none; }
    .journey-phase * { animation: none !important; }
}

/* Bloc intervenant, lead de présentation */
.intervenant-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
    text-align: center;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
}
.section-light .intervenant-lead { color: rgba(0,0,0,0.82); }
@media (max-width: 640px) {
    .intervenant-lead { font-size: 1rem; line-height: 1.65; }
}

/* Capsule d'autorité, statement fort sur une ligne */
.capsule-statement {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 2.2rem 2rem 2.8rem;
    border: 1px solid rgba(255,255,255,0.16);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    text-align: left;
}
.capsule-statement::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--c-white);
}
.capsule-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.7rem;
}
.capsule-statement p {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.5;
    font-weight: 600;
    color: var(--c-white);
    margin: 0;
    letter-spacing: 0.2px;
}
.section-light .capsule-statement {
    border-color: rgba(0,0,0,0.18);
    background:
        linear-gradient(135deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.01) 100%);
}
.section-light .capsule-statement::before { background: var(--c-black); }
.section-light .capsule-tag { color: rgba(0,0,0,0.6); }
.section-light .capsule-statement p { color: var(--c-black); }
@media (max-width: 640px) {
    .capsule-statement { padding: 1.4rem 1.3rem 1.4rem 1.8rem; }
}

/* Bloc bonus, mise en avant vidéothèque terrain */
#bonus { position: relative; }
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 980px;
    margin: 1.5rem auto 2rem;
}
.bonus-stat {
    padding: 2rem 1.2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.bonus-stat:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.35);
}
.bonus-value {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--c-white);
    margin-bottom: 0.6rem;
}
.bonus-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
}
.bonus-desc {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.bonus-desc p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}
.bonus-desc strong { color: var(--c-white); }
.bonus-flow {
    margin-top: 1.2rem !important;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-style: italic;
    color: rgba(255,255,255,0.75) !important;
    letter-spacing: 0.3px;
}
.section-light .bonus-stat {
    border-color: rgba(0,0,0,0.14);
    background: rgba(0,0,0,0.02);
}
.section-light .bonus-stat:hover { border-color: rgba(0,0,0,0.35); }
.section-light .bonus-value { color: var(--c-black); }
.section-light .bonus-label { color: rgba(0,0,0,0.7); }
.section-light .bonus-desc p { color: rgba(0,0,0,0.82); }
.section-light .bonus-desc strong { color: var(--c-black); }
.section-light .bonus-flow { border-top-color: rgba(0,0,0,0.15); color: rgba(0,0,0,0.7) !important; }
@media (max-width: 760px) {
    .bonus-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 380px; }
    .bonus-stat { padding: 1.4rem 1rem; }
}

/* Bloc figure simulation, fiche événement */
.sim-figure {
    max-width: 640px;
    margin: 1.5rem auto 0;
    padding: 0.9rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
}
.sim-figure .sim-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #000;
}
.sim-figure .sim-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.35) contrast(1.05) brightness(0.92);
}
.sim-figure .sim-img::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.45) 100%);
}
.sim-figure figcaption {
    margin-top: 0.9rem;
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.55);
    border-left: 2px solid rgba(255,255,255,0.4);
}
.sim-figure figcaption strong { color: #fff; font-weight: 700; }
.section-light .sim-figure {
    border-color: rgba(0,0,0,0.14);
    background: rgba(0,0,0,0.02);
}
.section-light .sim-figure figcaption {
    color: rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.04);
    border-left-color: rgba(0,0,0,0.35);
}
.section-light .sim-figure figcaption strong { color: var(--c-black); }
@media (max-width: 640px) {
    .sim-figure { max-width: 460px; padding: 0.5rem; }
    .sim-figure figcaption { font-size: 0.86rem; padding: 0.65rem 0.8rem; }
}

/* Bloc tarif, fiche événement */
.pricing-card {
    max-width: 820px;
    margin: 2rem auto;
    padding: 2.5rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.03);
    text-align: center;
}
.pricing-header { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.5rem; }
.pricing-old {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}
.pricing-now { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; margin-bottom: 0.8rem; }
.pricing-now .amount-was {
    position: relative;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.pricing-now .amount-was::before {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    top: 55%;
    height: 2px;
    background: rgba(255,255,255,0.75);
    transform: rotate(-6deg);
    transform-origin: center;
}
.pricing-now .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: -1px;
    line-height: 1;
}
.pricing-now .unit {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}
.section-light .pricing-now .amount-was { color: rgba(0,0,0,0.5); }
.section-light .pricing-now .amount-was::before { background: rgba(0,0,0,0.75); }
@media (max-width: 640px) {
    .pricing-now .amount-was { font-size: 1.1rem; }
}
.pricing-detail {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}
.pricing-value { text-align: left; margin-bottom: 2rem; }
.pricing-value h3 {
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.2rem;
}
.pricing-value .bullets-check li strong { color: var(--c-white); font-weight: 700; }
.pricing-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.pricing-note {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    text-align: left;
}
.pricing-note strong { display: block; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 0.4rem; color: var(--c-white); }
.pricing-note em { font-style: italic; color: var(--c-white); }
.section-light .pricing-note { border-left-color: rgba(0,0,0,0.4); background: rgba(0,0,0,0.04); color: rgba(0,0,0,0.85); }
.section-light .pricing-note strong { color: var(--c-black); }
.section-light .pricing-note em { color: var(--c-black); }

.section-light .pricing-card { border-color: rgba(0,0,0,0.18); background: rgba(0,0,0,0.02); }
.section-light .pricing-header { border-bottom-color: rgba(0,0,0,0.1); }
.section-light .pricing-old { color: rgba(0,0,0,0.45); }
.section-light .pricing-now .amount { color: var(--c-black); }
.section-light .pricing-now .unit { color: rgba(0,0,0,0.65); }
.section-light .pricing-detail { color: rgba(0,0,0,0.75); }
.section-light .pricing-value h3 { color: rgba(0,0,0,0.6); }
.section-light .pricing-value .bullets-check li strong { color: var(--c-black); }

.bar-price {
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}
.bar-price strong { color: var(--c-white); font-size: 1rem; font-weight: 700; }
.bar-price .bar-price-old { text-decoration: line-through; color: rgba(255,255,255,0.45); margin-right: 0.4rem; font-size: 0.8rem; }

@media (min-width: 768px) {
    .pricing-now .amount { font-size: 3.6rem; }
}

/* Barre sticky bas de page, transparente avec flou */
.event-bottom-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.12);
    color: var(--c-white);
}
.event-bottom-bar .bar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
    gap: 0.7rem;
    text-align: center;
}
.event-bottom-bar .bar-info { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; }
.event-bottom-bar .bar-info strong { color: var(--c-white); font-weight: 700; }
.event-bottom-bar .countdown { gap: 0.4rem; }
.event-bottom-bar .countdown-unit {
    padding: 0.4rem 0.5rem;
    min-width: 52px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
}
.event-bottom-bar .countdown-value { font-size: 1.2rem; }
.event-bottom-bar .countdown-text { font-size: 0.6rem; letter-spacing: 1.5px; margin-top: 0.15rem; }
.event-bottom-bar .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
    background: var(--c-white);
    color: var(--c-black);
    border-color: var(--c-white);
}
.event-bottom-bar .btn:hover { background: rgba(255,255,255,0.85); }

body.has-bottom-bar { padding-bottom: 180px; }
body.modal-open { overflow: hidden; }

@media (min-width: 768px) {
    .event-bottom-bar .bar-inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 1.5rem; }
    .event-bottom-bar .bar-info { max-width: 260px; }
    .outcomes { grid-template-columns: repeat(2, 1fr); }
    body.has-bottom-bar { padding-bottom: 100px; }
}

/* Modale d'inscription, fond transparent avec flou */
.modal-overlay {
    position: fixed; inset: 0;
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 1rem;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.modal-overlay[data-open="true"] { display: flex; opacity: 1; }
.modal-box {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2.2rem 1.8rem;
    background: rgba(10,10,10,0.92);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--c-white);
    transform: translateY(10px);
    transition: transform 0.25s ease;
}
.modal-overlay[data-open="true"] .modal-box { transform: translateY(0); }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.modal-box p { color: rgba(255,255,255,0.8); margin-bottom: 1.2rem; font-size: 0.95rem; }
.modal-close {
    position: absolute; top: 0.6rem; right: 0.6rem;
    width: 36px; height: 36px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--c-white);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.1); }
.modal-box .form-group label { color: rgba(255,255,255,0.85); }
.modal-box .form-group input,
.modal-box .form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--c-white);
    font: inherit;
}
.modal-box .form-group { margin-bottom: 0.9rem; }
.modal-box .form-group input:focus,
.modal-box .form-group textarea:focus { outline: none; border-color: rgba(255,255,255,0.5); }
.modal-box .form-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--c-white);
    color: var(--c-black);
    border: 1px solid var(--c-white);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--trans);
}
.modal-box .form-submit:hover { background: rgba(255,255,255,0.85); }

.site-footer {
    text-align: center; padding: 1.5rem;
    font-size: 0.88rem; color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.06);
    background: var(--c-black);
}
.site-footer a { color: rgba(255,255,255,0.6); transition: color var(--trans); }
.site-footer a:hover { color: var(--c-white); }
.footer-links { margin-top: 0.5rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

:focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (min-width: 768px) {
    section { padding: 5rem 2rem; }
    .hero h1 { font-size: 2.8rem; }
    .stats { gap: 5rem; }
    .stat-num { font-size: 3rem; }
    .modules { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
}

/* Ajustements mobile pour la fiche événement, tir professionnel et mesure du stress.
   Affichage compact, sans coupure, sur écran téléphone 360 à 640 px. */
@media (max-width: 640px) {
    .hero { padding: 3.5rem 1rem 2.5rem; min-height: auto; }
    .hero h1 { font-size: 1.55rem; line-height: 1.25; letter-spacing: 0.2px; }
    .hero p { font-size: 0.98rem; line-height: 1.55; }
    .hero .eyebrow { font-size: 0.7rem; letter-spacing: 1.5px; padding: 0.25rem 0.7rem; }

    .event-ribbon { font-size: 0.65rem; letter-spacing: 2px; padding: 0.35rem 0.8rem; }

    .event-punchline {
        margin-top: 1.2rem;
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .event-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.88rem;
        margin: 1.2rem 0 1.5rem;
    }
    .event-meta span { justify-content: center; text-align: center; }

    .countdown-wrapper { padding: 1rem 0.6rem; margin: 1.2rem auto; }
    .countdown { gap: 0.4rem; }
    .countdown-unit { min-width: 0; padding: 0.7rem 0.3rem; }
    .countdown-value { font-size: 1.4rem; }
    .countdown-text { font-size: 0.55rem; letter-spacing: 1.5px; margin-top: 0.25rem; }
    .countdown-label { font-size: 0.68rem; letter-spacing: 2px; }

    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; text-align: center; }

    /* Sections */
    section { padding: 3rem 1rem; }
    h2 { font-size: 1.4rem; line-height: 1.3; }

    /* Programme + grilles */
    .event-program { gap: 1rem; margin-top: 1.2rem; }
    .event-program .module { padding: 1.1rem; }
    .outcomes { grid-template-columns: 1fr; gap: 0.8rem; }

    /* Pricing */
    .pricing-card { padding: 1.2rem; }
    .pricing-now .amount { font-size: 2.2rem; }
    .pricing-detail { font-size: 0.92rem; }
    .pricing-value h3 { font-size: 1rem; }
    .pricing-cta { flex-direction: column; }
    .pricing-cta .btn { width: 100%; text-align: center; }

    /* Barre sticky plus compacte sur mobile, affichage sur 2 lignes */
    .event-bottom-bar { padding: 0.55rem 0.7rem; }
    .event-bottom-bar .bar-inner { gap: 0.45rem; }
    .event-bottom-bar .bar-info { font-size: 0.72rem; letter-spacing: 0.5px; }
    .event-bottom-bar .countdown-unit { min-width: 38px; padding: 0.3rem 0.2rem; }
    .event-bottom-bar .countdown-value { font-size: 0.95rem; }
    .event-bottom-bar .countdown-text { font-size: 0.5rem; letter-spacing: 0.8px; }
    .event-bottom-bar .btn { padding: 0.55rem 1rem; font-size: 0.78rem; width: 100%; }

    body.has-bottom-bar { padding-bottom: 210px; }

    /* Traces animation */
    .traces-stage { padding: 0.4rem; }

    /* Modale inscription */
    .modal-box { padding: 1.2rem 1rem; max-width: 100%; }
    .modal-box h3 { font-size: 1.1rem; }
}

@media (max-width: 380px) {
    /* Très petits téléphones, on resserre encore le compte à rebours */
    .countdown { gap: 0.25rem; }
    .countdown-unit { padding: 0.55rem 0.15rem; }
    .countdown-value { font-size: 1.2rem; }
    .countdown-text { font-size: 0.5rem; letter-spacing: 1px; }
    .event-bottom-bar .countdown-unit { min-width: 32px; }
}
