/* École du Savon du Sénégal — feuille de style principale */

:root {
        --green-900: #0A5240;
    --green-700: #0E7C57;
    --green-500: #0B6848;
    --green-100: #E3F4EC;
    --cream: #FFFFFF;
    --sand: #F3EEE3;
    --gold: #B98A4B;
    --gold-600: #9A6F35;
    --ink: #2B2F2A;
    --muted: #5F645C;
    --line: #E7E1D3;
    --white: #fff;
    --wa: #25d366;
    --danger: #b3382c;
    --radius: 6px;
    --shadow: 0 10px 30px -18px rgba(46, 42, 36, .35);
    --font-body: 'Work Sans', -apple-system, sans-serif;
    --font-head: 'Work Sans', -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(1140px, 92%); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead, .lead.center { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Bandeau défilant ---------- */
.ticker { background: linear-gradient(90deg, var(--green-900) 0%, var(--green-700) 100%); color: #f5efe0; font-size: .88rem; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__row { display: flex; align-items: center; gap: 1.2rem; padding: .5rem 1.2rem .5rem 0; white-space: nowrap; }
.ticker__row i { color: var(--gold); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- En-tête & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--green-900); }
.brand img { border-radius: 12px; object-fit: cover; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a, .sub-toggle {
    display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .9rem; border-radius: 999px;
    color: var(--ink); text-decoration: none; font: 500 .95rem var(--font-body); background: none; border: 0; cursor: pointer;
}
.nav a:hover, .sub-toggle:hover, .nav [aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.nav__cta { background: var(--green-700) !important; color: #fff !important; }
.nav__cta:hover { background: var(--green-900) !important; }
.has-sub { position: relative; }
.sub {
    position: absolute; left: 0; top: 100%; min-width: 250px; flex-direction: column; align-items: stretch !important;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .4rem; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { width: 100%; border-radius: 10px; }
.sub__sep { height: 1px; background: var(--line); margin: .3rem .5rem; }
.badge-count { background: var(--gold); color: #fff; border-radius: 999px; font-size: .72rem; padding: 0 .45rem; font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .2s; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); display: none; padding: .6rem 4%; max-height: calc(100vh - 110px); overflow: auto; }
    .nav.open { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; }
    .nav a, .sub-toggle { width: 100%; justify-content: space-between; border-radius: 10px; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 .8rem; display: none; }
    .has-sub.open > .sub { display: flex; }
    .has-sub:hover > .sub { display: none; }
    .has-sub.open:hover > .sub { display: flex; }
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px;
    font: 600 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .18s ease;
}
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-900); color: #fff; transform: translateY(-1px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #168a47; color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-700); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--danger-ghost { border-color: var(--line); color: var(--muted); background: transparent; }
.btn--danger-ghost:hover { border-color: var(--danger); color: var(--danger); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row, .btn-row.center { justify-content: center; }

.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .18s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* Bouton musique (au-dessus de WhatsApp) */
.music-float {
    position: fixed; right: 22px; bottom: 90px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 0;
    display: grid; place-items: center; background: var(--green-700); color: #fff; font-size: 1.2rem; cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25); transition: transform .18s;
}
.music-float:hover { transform: scale(1.08); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--sand); }
.section--dark { background: var(--green-900); color: #eef3ef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .6rem; }

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
    display: flex; flex-direction: column; gap: .5rem; position: relative;
}
.card h3, .card h4 { margin-bottom: .2rem; }
.card p { color: var(--muted); margin: 0; }
.card--link { text-decoration: none; color: inherit; transition: .2s ease; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-500); color: inherit; }
.card--featured { border: 2px solid var(--gold); }
.card .btn { margin-top: auto; align-self: flex-start; }

.pill { display: inline-block; align-self: flex-start; background: var(--green-100); color: var(--green-700); padding: .2rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.pill--gold { background: var(--gold); color: #fff; }
.pill-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }

.price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--green-700); }
.price small { font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--muted); }
.price s { color: var(--muted); font-weight: 500; font-size: 1.1rem; margin-left: .5rem; }

/* ---------- Carrousel d'accueil ---------- */
.hero { position: relative; }
.carousel { position: relative; height: clamp(260px, 42vw, 460px); overflow: hidden; background: var(--green-900); }
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.carousel__slide.is-active { opacity: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
/* Pas de voile sur la bannière : la photo s'affiche telle quelle */
.carousel__btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255, 255, 255, .9); border: 0; width: 44px; height: 44px;
    border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--green-900);
}
.carousel__btn:hover { background: #fff; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; z-index: 3; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }
.carousel__dots button.is-active { background: #fff; width: 26px; border-radius: 10px; }

.hero__intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; text-align: center; }
.hero__intro p { margin-inline: auto; }

/* ---------- Pages de formation ---------- */
.page-hero { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #dcebe3; font-size: 1.12rem; max-width: 66ch; }
.page-hero .pill { background: rgba(255, 255, 255, .16); color: #fff; }
.page-hero .pill--gold { background: var(--gold); }
.page-hero .price { color: #fff; font-size: 2.4rem; }
.page-hero .price s { color: #b9d2c6; }
.page-hero .save { display: inline-block; background: var(--gold); color: #fff; font-weight: 700; font-size: .85rem; padding: .2rem .7rem; border-radius: 999px; margin-left: .6rem; vertical-align: middle; }
.breadcrumb { font-size: .88rem; margin-bottom: 1.2rem; color: #b9d2c6; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: '›'; margin-right: .4rem; }
.breadcrumb a { color: #fff; }
.page-hero--light { background: var(--sand); color: var(--ink); }
.page-hero--light h1 { color: var(--green-900); }
.page-hero--light p { color: var(--muted); }
.page-hero--light .breadcrumb, .page-hero--light .breadcrumb a { color: var(--green-700); }

.timeline { display: grid; gap: 1.2rem; counter-reset: day; }
.timeline__item { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.timeline__num { width: 52px; height: 52px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font: 700 1.4rem var(--font-head); }
.timeline__item h3 { margin-bottom: 0; }
.timeline__sub { color: var(--gold-600); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { padding-left: 1.9rem; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.testimonial blockquote { margin: 0 0 1rem; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.5; color: var(--green-900); }
.testimonial blockquote::before { content: '“'; font-size: 2.6rem; line-height: 0; color: var(--gold); vertical-align: -.4em; margin-right: .15em; }
.testimonial strong { display: block; }
.testimonial span { color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--green-700); color: #fff; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #fbf9f3; }
tbody td:first-child { font-weight: 600; }

.note { background: #FDE7DB; border-left: 4px solid var(--gold); border-radius: 10px; padding: 1rem 1.2rem; margin-top: 1.4rem; }
.note p:last-child { margin: 0; }

.cta-band { background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dcebe3; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; }
.faq__item summary { cursor: pointer; font-weight: 600; padding: 1rem 1.6rem 1rem 0; list-style: none; position: relative; color: var(--green-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 0; top: .7rem; font-size: 1.5rem; color: var(--gold-600); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* ---------- Accueil : divers ---------- */
.formation-card { padding: 1.8rem; }
.formation-card h3 { font-size: 1.3rem; }
.formation-card .price { margin: .6rem 0 .8rem; }
.guarantees { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); margin-top: 2rem; }
.guarantee { background: var(--green-100); border-radius: 14px; padding: 1rem 1.2rem; color: var(--green-900); }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-card video { width: 100%; aspect-ratio: 16/10; background: #000; object-fit: contain; } /* contain : les vidéos verticales (téléphone) restent entières */
.video-card__body { padding: 1.2rem 1.4rem 1.5rem; }
.video-card__body p { color: var(--muted); margin: 0; }
.partners { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
.partners img { height: 84px; width: auto; object-fit: contain; border-radius: 12px; background: #fff; padding: .4rem; border: 1px solid var(--line); }
.group { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: center; }
.group img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; text-align: center; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1rem; }
.stat strong { display: block; font: 700 2.4rem var(--font-head); color: var(--green-700); }
.stat span { color: var(--muted); font-size: .92rem; }
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .4rem; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps > li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.3rem 4.2rem; position: relative; }
.steps > li::before { content: counter(s); position: absolute; left: 1.2rem; top: 1.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0 0 .5rem; color: var(--muted); }

/* ---------- Boutique ---------- */
.shop { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filters a { padding: .5rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.filters a:hover, .filters a.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 1; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product__body h3 { font-size: 1.05rem; margin: 0; }
.product__body p { color: var(--muted); font-size: .9rem; margin: 0; }
.product__body form { margin-top: auto; padding-top: .6rem; }
.product__body .price { font-size: 1.25rem; }
.cart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
.cart h2, .cart h3 { font-size: 1.2rem; }
.cart__line { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cart__line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: .4rem; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; }
.qty button:hover { background: var(--green-100); }
.cart__totals { margin: 1rem 0; display: grid; gap: .3rem; }
.cart__totals div { display: flex; justify-content: space-between; }
.cart__totals .total { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--ink); padding-top: .5rem; margin-top: .3rem; }
.form-grid { display: grid; gap: .9rem; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .25rem; }
label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], textarea, select {
    width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--green-500); border-color: var(--green-500); }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.2rem; }
.alert--error { background: #fdeceb; color: var(--danger); border: 1px solid #f3c4c0; }
.alert--ok { background: var(--green-100); color: var(--green-900); border: 1px solid #c3dccf; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .shop { grid-template-columns: 1fr; } .cart { position: static; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-900); color: #cfe0d6; margin-top: 0; }
.site-footer a { color: #e8f2ec; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 3.5rem 0 2rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer h4.mt { margin-top: 1.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .95rem; }
.site-footer p { font-size: .95rem; }
.social { display: flex; gap: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0; font-size: .88rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bottom p { margin: 0; }

/* ---------- Comptes apprenants (étape 2) ---------- */
.auth-card { max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.auth-card h1 { margin-top: 0; font-size: clamp(1.5rem, 4vw, 2rem); }
input[type=email], input[type=password] {
    width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
input[type=email]:focus, input[type=password]:focus { outline: 2px solid var(--green-500); border-color: var(--green-500); }
.reg-list { display: grid; gap: .8rem; }
.reg { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.reg__side { display: flex; align-items: center; gap: .6rem; }
.status { display: inline-block; padding: .15rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #eee; }
.status--pending { background: #fff0d6; color: #8a5a00; }
.status--confirmed { background: #dcecff; color: #1b5fa8; }
.status--paid { background: #dcf3e5; color: #1d7a46; }
.status--cancelled { background: #f8dfdc; color: #b3382c; }

/* ---------- Étape 3 : bannière et vidéos gérées depuis l'admin ---------- */
.carousel__caption { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 2; text-align: center; color: #fff; padding: 0 3.5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.carousel__caption strong { display: block; font-size: clamp(1.2rem, 3.6vw, 2.2rem); line-height: 1.2; }
.carousel__caption span { display: block; margin-top: .3rem; font-size: clamp(.9rem, 2vw, 1.1rem); }
.video-card iframe { width: 100%; aspect-ratio: 16/10; border: 0; display: block; background: #000; }
/* ---------- Étape 3 : bannière et vidéos gérées depuis l'admin ---------- */
.carousel__caption { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 2; text-align: center; color: #fff; padding: 0 3.5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.carousel__caption strong { display: block; font-size: clamp(1.2rem, 3.6vw, 2.2rem); line-height: 1.2; }
.carousel__caption span { display: block; margin-top: .3rem; font-size: clamp(.9rem, 2vw, 1.1rem); }
.video-card iframe { width: 100%; aspect-ratio: 16/10; border: 0; display: block; background: #000; }
/* ---------- Étape 3 : bannière et vidéos gérées depuis l'admin ---------- */
.carousel__caption { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 2; text-align: center; color: #fff; padding: 0 3.5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.carousel__caption strong { display: block; font-size: clamp(1.2rem, 3.6vw, 2.2rem); line-height: 1.2; }
.carousel__caption span { display: block; margin-top: .3rem; font-size: clamp(.9rem, 2vw, 1.1rem); }
.video-card iframe { width: 100%; aspect-ratio: 16/10; border: 0; display: block; background: #000; }
/* ---------- Calendrier des créneaux ---------- */
.cal-month { margin: 2rem 0 1rem; }
.cal-list { display: grid; gap: 1rem; }
.cal-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 1.2rem; padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.cal-card--full { opacity: .7; }
.cal-date { min-width: 4.4rem; text-align: center; background: var(--green-100); color: var(--green-500); border-radius: 1rem; padding: .6rem .4rem; line-height: 1.1; }
.cal-date strong { display: block; font-size: 1.8rem; }
.cal-date span { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.cal-body h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.cal-body p { margin: .1rem 0; }
.cal-seats { font-weight: 600; color: #1a7f37; }
.cal-seats--low { color: var(--green-500); }
.cal-seats--full { color: var(--danger); }
@media (max-width: 640px) {
    .cal-card { grid-template-columns: auto 1fr; }
    .cal-act { grid-column: 1 / -1; }
    .cal-act .btn { width: 100%; justify-content: center; }
}/* ===== Animations vitrine ===== */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}

.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--green-700); transform: scaleX(0); transform-origin: 0 50%; z-index: 1000; pointer-events: none; }
header { transition: box-shadow .3s ease; }
header.is-scrolled { box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .4); }

.partners img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s; }
.partners img:hover { filter: none; opacity: 1; transform: scale(1.06); }

@media (prefers-reduced-motion: no-preference) {
    .hero__intro h1 { animation: rise .9s .1s backwards; }
    .hero__intro .lead { animation: rise .9s .3s backwards; }
    .carousel__slide.is-active img { animation: kenburns 9s ease-out both; }

    .js-reveal .reveal:not(.is-visible) { opacity: 0; }
    .js-reveal .reveal.is-visible { animation: rise .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) backwards; }

    .card, .video-card, .testimonial { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
    .card:hover, .video-card:hover, .testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

    .btn { position: relative; overflow: hidden; }
    .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-100%); pointer-events: none; }
    .btn:hover::after { transform: translateX(100%); transition: transform .6s ease; }

    .wa-float { animation: wa-pulse 2.4s infinite; }
}/* ===== Menu : survol et page active bien visibles ===== */
.nav a:not(.nav__cta), .sub-toggle { position: relative; transition: background .2s ease, color .2s ease, transform .15s ease; }

/* Trait orange qui se dessine sous l'élément */
.nav > ul > li > a:not(.nav__cta)::before, .sub-toggle::before {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
    background: var(--green-700); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}

/* Survol (et sous-menu ouvert) */
.nav a:not(.nav__cta):hover, .sub-toggle:hover, .has-sub:hover > .sub-toggle, .has-sub.open > .sub-toggle {
    background: var(--green-100); color: var(--green-900);
}
.nav > ul > li > a:not(.nav__cta):hover::before, .sub-toggle:hover::before,
.has-sub:hover > .sub-toggle::before, .has-sub.open > .sub-toggle::before { transform: scaleX(1); }

/* Clic */
.nav a:not(.nav__cta):active, .sub-toggle:active { transform: scale(.96); }

/* Page active : bouton orange plein */
.nav a[aria-current="page"]:not(.nav__cta), .sub-toggle[aria-current="page"] { background: var(--green-700); color: #fff; }
.nav [aria-current="page"]::before { background: #fff; }

/* Liens du sous-menu */
.sub a { transition: background .2s ease, padding-left .2s ease; }
.sub a:hover { background: var(--green-100); color: var(--green-900); padding-left: 1.2rem; }

/* Bouton Inscription */
.nav__cta { transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(47, 74, 58, .28); }
/* ===== Cartes de formation (SAF / SAC / Pack) ===== */
.formation-card {
    padding: 2.2rem 1.8rem 1.8rem; overflow: hidden; border: 1px solid var(--line);
    box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .35);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.formation-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--green-700), var(--gold));
}
.formation-card h3 { font-size: 1.35rem; line-height: 1.25; margin: .2rem 0 .5rem; }
/* Photo en tête de carte */
.formation-card__img {
    display: block; width: calc(100% + 3.6rem); max-width: none; margin: -2.2rem -1.8rem 1.2rem;
    aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%;
}

/* ===== Accueil : bloc « L'École du Savon » ===== */
.about-home__group { align-items: center; }
.about-home__group img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 560px; }
.about-home__text p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.about-home__text p strong { color: var(--ink); }
.about-home__stats { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.about-home__stats li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem .6rem; text-align: center; }
.about-home__stats strong { display: block; font: 700 1.8rem var(--font-head); color: var(--green-700); line-height: 1.1; }
.about-home__stats span { color: var(--muted); font-size: .85rem; }
@media (max-width: 520px) { .about-home__stats strong { font-size: 1.4rem; } }
.formation-card > p { font-size: 1rem; line-height: 1.6; }

/* Prix mis en avant dans un encadré */
.formation-card .price {
    display: flex; flex-direction: column; gap: .15rem; margin: 1.1rem 0 1.3rem; padding: .9rem 1.1rem;
    background: var(--green-100); border-radius: 14px; font-size: 2rem; line-height: 1.1;
}
.formation-card .price small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-500); font-weight: 700; }

/* Boutons pleine largeur, bien visibles */
.formation-card .btn { align-self: stretch; padding: 1rem 1.4rem; font-size: 1.02rem; }
.formation-card .btn--ghost { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.formation-card .btn--ghost:hover { background: var(--green-700); border-color: var(--green-700); }
.formation-card:hover { border-color: var(--green-700); box-shadow: 0 24px 44px -22px rgba(47, 74, 58, .28); }

/* Carte « Pack » : fond sombre, mise en avant */
.formation-card.card--featured {
    background: linear-gradient(160deg, var(--green-900) 0%, #263d30 100%); border: 2px solid var(--gold);
    box-shadow: 0 26px 50px -24px rgba(47, 74, 58, .28);
}
.formation-card.card--featured::before { height: 8px; background: linear-gradient(90deg, var(--gold), #DDBB85, var(--gold)); }
.formation-card.card--featured h3 { color: #fff; }
.formation-card.card--featured > p { color: #dcdcdc; }
.formation-card.card--featured .pill { background: rgba(255, 255, 255, .14); color: #fff; }
.formation-card.card--featured .pill--gold { background: var(--green-700); color: #fff; }
.formation-card.card--featured .price { background: rgba(255, 255, 255, .08); color: #EBD3A6; }
.formation-card.card--featured .price small { color: #cfe0d6; }
.formation-card.card--featured .btn--primary { background: var(--gold); color: #fff; }
.formation-card.card--featured .btn--primary:hover { background: #fff; color: var(--green-900); }

@media (min-width: 900px) {
    .formation-card.card--featured { transform: translateY(-10px); }
    .formation-card.card--featured:hover { transform: translateY(-16px); }
}/* ===== Page vitrine : conversion ===== */
.conv { padding: 1.4rem 0 .6rem; text-align: center; }
.conv__cta { margin-bottom: 1.4rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.conv .btn--primary { box-shadow: 0 14px 28px -12px rgba(47, 74, 58, .28); }

.next-session {
    display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem;
    padding: .7rem 1.3rem; margin-bottom: 1.6rem; background: #fff; border: 1.5px solid var(--green-700);
    border-radius: 999px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: background .2s;
}
.next-session:hover { background: var(--green-100); color: var(--ink); }
.next-session__dot { width: 10px; height: 10px; border-radius: 50%; background: #25d366; animation: wa-pulse 2s infinite; }
.next-session em { font-style: normal; background: var(--green-700); color: #fff; border-radius: 999px; padding: .1rem .75rem; font-size: .8rem; font-weight: 700; }

.trust { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 920px; }
.trust li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .95rem .8rem; }
.trust strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--green-700); }
.trust span { font-size: .85rem; color: var(--muted); }

.steps { counter-reset: step; padding-top: 1rem; }
.step { padding-top: 2.4rem; }
.step::before {
    counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 1.5rem; width: 42px; height: 42px;
    border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center;
    font: 700 1.2rem var(--font-head); box-shadow: 0 8px 16px -6px rgba(47, 74, 58, .28);
}

.sticky-cta { display: none; }
@media (max-width: 860px) {
    .sticky-cta {
        display: block; position: fixed; left: 12px; right: 88px; bottom: 14px; z-index: 55; text-align: center;
        background: var(--green-700); color: #fff; font-weight: 700; padding: .95rem 1rem; border-radius: 999px;
        text-decoration: none; box-shadow: 0 12px 26px -10px rgba(47, 74, 58, .28);
    }
    .sticky-cta:hover { color: #fff; }
    .footer-bottom { padding-bottom: 96px; } /* place pour le bouton fixe, sans bande blanche */
}/* ===== Partenaires : bandeau défilant ===== */
.partners-section { overflow: hidden; }
.logos {
    overflow: hidden; padding: 1.2rem 0 1.8rem;

}
.logos__track { display: flex; width: max-content; animation: logos-scroll 32s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__set { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }

.logos__item {
    flex: none; display: grid; place-items: center; width: 210px; height: 120px; background: #fff;
    border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 26px -18px rgba(0, 0, 0, .4);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.logos__item img {
    max-width: 78%; max-height: 70%; width: auto; height: auto; object-fit: contain;
    padding: 0; border: 0; border-radius: 0; background: none;
       transition: transform .3s ease;
}
.logos__item:hover { transform: translateY(-6px); border-color: var(--green-700); box-shadow: 0 20px 36px -18px rgba(47, 74, 58, .28); }
.logos__item:hover img { filter: none; opacity: 1; transform: scale(1.06); }

@media (max-width: 600px) {
    .logos__item { width: 150px; height: 96px; border-radius: 16px; }
    .logos__track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
    .logos { -webkit-mask-image: none; mask-image: none; }
    .logos__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .logos__set[aria-hidden="true"] { display: none; }
    .logos__set { flex-wrap: wrap; justify-content: center; }
}/* ===== Menu « Nos Formations » ===== */
/* ===== Menu « Nos Formations » (version sobre) ===== */
.sub-toggle span { display: inline-block; transition: transform .25s ease; }
.has-sub:hover > .sub-toggle span, .has-sub.open > .sub-toggle span { transform: rotate(180deg); }

.sub--formations {
    min-width: 380px; padding: 0; overflow: hidden; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 26px 44px -26px rgba(0, 0, 0, .4);
}
.sub--formations > li { margin: 0; }

.nav .sub--formations .sub__item {
    position: relative; display: flex; align-items: baseline; gap: 1rem; width: 100%;
    padding: 1.1rem 1.4rem; border-radius: 0; border-bottom: 1px solid var(--line);
    background: #fff; color: var(--ink); transition: background .2s ease, padding-left .2s ease;
}
.nav .sub--formations .sub__item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--green-700); transform: scaleY(0); transition: transform .2s ease;
}
.nav .sub--formations .sub__item:hover { background: var(--sand); color: var(--ink); padding-left: 1.7rem; }
.nav .sub--formations .sub__item:hover::before { transform: scaleY(1); }

.sub__num { min-width: 1.6rem; font: 600 .9rem var(--font-head); color: var(--green-700); }
.sub__txt { display: block; text-align: left; }
.sub__txt strong { display: block; font: 600 1.1rem var(--font-head); line-height: 1.25; color: var(--ink); }
.sub__txt small { display: block; margin-top: .2rem; font-size: .84rem; color: var(--muted); }

.sub__go { margin-left: auto; color: var(--green-700); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.nav .sub--formations .sub__item:hover .sub__go { opacity: 1; transform: none; }
.sub__tag { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); white-space: nowrap; }

.nav .sub--formations .sub__foot a {
    display: block; padding: .95rem 1.4rem; border-radius: 0; background: var(--sand);
    font-size: .9rem; font-weight: 600; color: var(--ink);
    text-decoration: underline; text-decoration-color: var(--green-700); text-underline-offset: 5px;
}
.nav .sub--formations .sub__foot a:hover { background: var(--sand); color: var(--green-700); padding-left: 1.4rem; }

@media (max-width: 860px) {
    .sub--formations { min-width: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
    .nav .sub--formations .sub__item { padding: .85rem .6rem; background: transparent; }
    .nav .sub--formations .sub__item:hover { padding-left: .6rem; }
    .sub__go, .sub__tag { display: none; }
    .nav .sub--formations .sub__foot a { padding: .85rem .6rem; background: transparent; }
}/* ===== Atelier : photos et vidéos d'une formation ===== */
.atelier-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.atelier-item {
    margin: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.atelier-item:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(47, 74, 58, .28); }
.atelier-item__media { position: relative; aspect-ratio: 4 / 3; background: var(--green-900); overflow: hidden; }
.atelier-item--video .atelier-item__media { aspect-ratio: 16 / 9; }
.atelier-item__media img, .atelier-item__media video, .atelier-item__media iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.atelier-item__media img { transition: transform .5s ease; }
.atelier-item:hover .atelier-item__media img { transform: scale(1.05); }
.atelier-item figcaption { display: flex; align-items: center; gap: .6rem; padding: .95rem 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.atelier-item__tag { flex: none; background: var(--green-700); color: #fff; border-radius: 999px; padding: .1rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.atelier-cta { margin-top: 2.2rem; text-align: center; }
.atelier-cta p { margin-bottom: 1rem; font-size: 1.1rem; }
@media (min-width: 700px) { .atelier-item--video { grid-column: span 2; } }
/* ===== Nos ateliers : albums SAF / SAC ===== */
.albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; max-width: 860px; margin: 0 auto; }
@media (max-width: 520px) { .albums { gap: .8rem; } }

.album {
    position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; overflow: hidden;
    border-radius: var(--radius); background: var(--green-900); color: #fff; text-align: left; cursor: pointer;
    box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .55); transition: transform .3s ease, box-shadow .3s ease;
}
.album:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -26px rgba(47, 74, 58, .28); }
.album__cover, .album__cover img, .album__cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.album__cover img, .album__cover video { transition: transform .6s ease; }
.album:hover .album__cover img, .album:hover .album__cover video { transform: scale(1.08); }
.album__cover--empty { background: linear-gradient(135deg, var(--green-900), var(--green-700)); }
.album__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .8)); }
.album__open {
    position: absolute; top: 1rem; right: 1rem; background: var(--green-700); color: #fff; border-radius: 999px;
    padding: .35rem .9rem; font-size: .82rem; font-weight: 700;
}
.album__info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .15rem; padding: 1.2rem 1.3rem 1.4rem; }
.album__info strong { font: 700 clamp(1.2rem, 3.4vw, 1.9rem) var(--font-head); line-height: 1.15; }
.album__info small { font-size: .92rem; opacity: .92; }
.album__info em { margin-top: .3rem; font-style: normal; font-size: .85rem; font-weight: 600; color: #EBD3A6; }
.album--empty { cursor: default; }
.album--empty:hover { transform: none; box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .55); }
.albums-sub { margin: 3rem 0 1.2rem; text-align: center; }

/* Fenêtre de l'album */
html.modal-open { overflow: hidden; }
.album-dialog {
    width: min(1000px, 94vw); max-height: 90vh; padding: 0; border: 0; border-radius: 22px; overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.album-dialog::backdrop { background: rgba(20, 20, 20, .72); backdrop-filter: blur(3px); }
.album-dialog[open] { display: flex; flex-direction: column; }
.album-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; background: #fff; border-bottom: 1px solid var(--line); }
.album-dialog__head h3 { margin: 0; font-size: 1.25rem; }
.album-dialog__close { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sand); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.album-dialog__close:hover { background: var(--green-700); color: #fff; }
.album-dialog__filters { display: flex; gap: .4rem; padding: .8rem 1.3rem 0; background: #fff; }
.album-dialog__filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .95rem; font: 600 .88rem var(--font-body); cursor: pointer; }
.album-dialog__filters button.is-on { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.album-dialog__body { flex: 1; overflow: auto; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding: 1.1rem 1.3rem; background: #fff; }
.album-dialog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem 1.3rem; background: var(--sand); border-top: 1px solid var(--line); }

.album-item { margin: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.album-item[hidden] { display: none; }
.album-item__media { aspect-ratio: 4 / 3; background: var(--green-900); }
.album-item--video .album-item__media { aspect-ratio: 16 / 9; }
.album-item__media img, .album-item__media video, .album-item__media iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.album-item__media img { cursor: zoom-in; }
.album-item figcaption { padding: .7rem .9rem; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.album-item.is-zoom { grid-column: 1 / -1; }
.album-item.is-zoom .album-item__media { aspect-ratio: auto; background: #111; }
.album-item.is-zoom .album-item__media img { height: auto; max-height: 70vh; object-fit: contain; cursor: zoom-out; }
@media (min-width: 700px) { .album-item--video { grid-column: span 2; } }
/* ===== Partenaires : cartes alignées (surcharge) ===== */
.logos { padding: 1.4rem 0 2rem; }
.logos__track { align-items: center; will-change: transform; }
.logos__set { align-items: center; gap: 1.5rem; padding-right: 1.5rem; }

.logos__item {
    box-sizing: border-box;
    width: 220px; height: 130px; padding: 14px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
}
.logos__item img {
    display: block;
    width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: contain; object-position: center;
    padding: 0; border: 0; border-radius: 0; background: none;
    filter: none; opacity: 1;
    transition: transform .3s ease;
}

@media (max-width: 600px) {
    .logos__item { width: 150px; height: 96px; padding: 10px; border-radius: 16px; }
}

/* ===== Partenaires : carrousel ===== */
.partners-section { background: var(--cream); overflow: hidden; }
.partners-title { text-align: center; color: var(--green-900); font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 2rem; }
.pcar { position: relative; width: min(1180px, 100%); margin-inline: auto; padding: 0 3.2rem; }
.pcar__viewport {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pcar__viewport::-webkit-scrollbar { display: none; }
.pcar__item {
    flex: 0 0 20%; height: 170px; padding: 0 1.2rem; scroll-snap-align: start;
    display: flex; align-items: center; justify-content: center;
}
.pcar__item:first-child { margin-left: auto; }
.pcar__item:last-child { margin-right: auto; }
.pcar__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pcar__btn {
    position: absolute; top: 85px; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
    font-size: 3rem; line-height: 1; color: var(--green-900); transition: transform .2s ease, color .2s ease;
}
.pcar__btn:hover { color: var(--green-700); }
.pcar__btn--prev { left: 0; } .pcar__btn--next { right: 0; }
.pcar__dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.pcar__dots button { width: 13px; height: 13px; padding: 0; border: 0; border-radius: 50%; background: #cfcfcf; cursor: pointer; }
.pcar__dots button.is-on { background: var(--green-900); }
.pcar.is-static .pcar__btn, .pcar.is-static .pcar__dots { display: none; }
@media (max-width: 900px) { .pcar__item { flex-basis: 33.3333%; } }
@media (max-width: 600px) { .pcar { padding: 0 2.4rem; } .pcar__item { flex-basis: 50%; height: 130px; } .pcar__btn { top: 65px; font-size: 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .pcar__viewport { scroll-behavior: auto; } }
/* ===== Nous trouver : carte + itinéraire ===== */
.geo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.geo__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 340px; background: var(--green-100); }
.geo__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.geo__info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.geo__info h3 { margin: 0; }
.geo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.geo__list li { display: grid; grid-template-columns: 90px 1fr; gap: .6rem; color: var(--ink); }
.geo__list span { color: var(--muted); font-size: .88rem; }
.geo__btns { display: grid; gap: .6rem; margin-top: .4rem; }
.geo__btns .btn { justify-content: center; text-align: center; }
.geo__note { font-size: .85rem; margin: 0; }
@media (max-width: 820px) { .geo { grid-template-columns: 1fr; } .geo__map, .geo__map iframe { min-height: 280px; } }
/* ===== Actualités ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.4rem; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .35); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.news-card:hover { transform: translateY(-5px); border-color: var(--green-700); box-shadow: 0 24px 44px -24px rgba(47, 74, 58, .45); color: inherit; }
.news-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--green-100); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; }
.news-card__date { position: absolute; left: .8rem; bottom: .8rem; background: rgba(255, 255, 255, .94); color: var(--green-900); font-weight: 700; font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; }
.news-card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.news-card__body strong { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.3; color: var(--green-900); }
.news-card__loc { color: var(--muted); font-size: .85rem; }
.news-card__sum { color: var(--muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__foot { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.news-card__foot em { font-style: normal; color: var(--muted); }
.news-card__more { color: var(--green-700); font-weight: 700; }
.news-more { text-align: center; margin-top: 2rem; }

.news-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .4rem; }
.news-body { max-width: 760px; margin: 0 auto 2rem; }
.news-body p { color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.news-filters { justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; padding: 0; background: none; }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.news-gallery__item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.news-gallery__item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.news-gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.news-gallery__item button:hover img { transform: scale(1.04); }
.news-gallery__item video, .news-gallery__item iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; background: #000; }
.news-gallery__item figcaption { padding: .6rem .8rem; font-size: .9rem; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 28, 23, .94); display: grid; place-items: center; padding: 1rem; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: #e6efe6; margin-top: .7rem; display: flex; justify-content: center; gap: 1rem; font-size: .95rem; }
.lightbox figcaption span { opacity: .7; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }

/* ===== Blog / Conseils ===== */
.article { max-width: 780px; margin: 0 auto; }
.article__cover { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.8rem; aspect-ratio: 16 / 9; object-fit: cover; }
.article__toc { background: var(--green-100); border-radius: 14px; padding: 1rem 1.3rem; margin-bottom: 1.8rem; }
.article__toc strong { display: block; color: var(--green-900); margin-bottom: .3rem; }
.article__toc ol { margin: 0; padding-left: 1.2rem; }
.article__toc a { color: var(--green-700); }
.article__body h2 { margin-top: 2.2rem; scroll-margin-top: 90px; }
.article__body h3 { margin-top: 1.6rem; }
.article__body p, .article__body li { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.article__body ul, .article__body ol { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.article__body li { margin-bottom: .35rem; }
.article__cta { display: grid; gap: .5rem; margin: 2.4rem 0 1.4rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: #fff; border: 2px solid var(--green-700); }
.article__cta strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--green-900); }
.article__cta span { color: var(--muted); }
.article__share { color: var(--muted); font-size: .92rem; }

/* ===== Réalisations des apprenants + chiffres clés ===== */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.works .news-gallery__item figcaption strong { display: block; color: var(--ink); }
.review-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; margin-top: 1.6rem; text-align: center; }
.article__figure { margin: 1.6rem 0; }
.article__figure img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.article__figure figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.article__credit { display: block; font-size: .78rem; margin-top: .2rem; }


/* ===== Menu burger (mobile) ===== */
@media (max-width: 860px) {
    /* La hauteur laisse visible le bouton « S'inscrire » fixé en bas */
    .nav { padding: .5rem 4% .9rem; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); box-shadow: 0 18px 28px -20px rgba(47, 74, 58, .35); }
    .nav > ul { gap: .15rem; }
    .nav a, .sub-toggle { min-height: 46px; font-size: 1rem; }

    /* « Nos Formations » reste fermé jusqu'au clic (.nav ul l'affichait toujours) */
    .nav .sub { display: none; padding: 0; margin: .15rem 0 .4rem; }
    .nav .has-sub:hover > .sub { display: none; }
    .nav .has-sub.open > .sub, .nav .has-sub.open:hover > .sub { display: flex; }
    .sub-toggle span { font-size: 1.1rem; }

    /* Formations alignées à gauche */
    .nav .sub--formations .sub__item { justify-content: flex-start; padding: .8rem .9rem; }
    .nav .sub--formations .sub__item:hover { padding-left: .9rem; }
    .nav .sub--formations .sub__foot a { min-height: 0; padding: .8rem .9rem; }
    .sub__num { flex: 0 0 1.8rem; min-width: 0; }
    .sub__txt { flex: 1 1 auto; min-width: 0; }
    .sub__txt strong { font-size: 1.02rem; }

    .nav .nav__cta { justify-content: center; margin-top: .4rem; border-radius: 999px; }
}


/* ===== Boutique : grille de produits compacte ===== */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .6rem; }
.shop-grid .product { border: 0; border-radius: 6px; box-shadow: 0 1px 3px rgba(47, 74, 58, .16); transition: box-shadow .2s ease, transform .2s ease; }
.shop-grid .product:hover { box-shadow: 0 10px 22px -8px rgba(47, 74, 58, .34); transform: translateY(-2px); }
.shop-grid .product__img { background: #fff; padding: .4rem; }
.shop-grid .product__img img { object-fit: contain; }
.shop-grid .product__body { padding: .5rem .65rem .7rem; gap: .25rem; }
.shop-grid .product__body h3 {
    margin: 0; min-height: 2.6em; font: 400 .9rem/1.3 var(--font-body); color: var(--ink);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.shop-grid .product__body p:not(.price) { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-grid .product__body .price { margin: .1rem 0 0; font: 700 1.08rem/1.2 var(--font-body); color: var(--green-900); }
.shop-grid .product__body form { padding-top: .45rem; }
.shop-grid .product__body .btn { width: 100%; padding: .55rem .4rem; border-radius: 5px; font-size: .82rem; white-space: nowrap; }

.shop-cartlink {
    position: sticky; top: 76px; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    margin-bottom: .8rem; padding: .75rem 1rem; border-radius: 6px; background: var(--green-700); color: #fff; text-decoration: none; font-weight: 600;
}
.shop-cartlink:hover { color: #fff; background: var(--green-900); }

@media (min-width: 1200px) {
    .shop { grid-template-columns: minmax(0, 1fr) 320px; gap: 1.2rem; }
    .shop-cartlink { display: none; }
}
@media (max-width: 1199px) {
    .shop { grid-template-columns: minmax(0, 1fr); }
    .cart { position: static; }
}
@media (max-width: 700px) {
    .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-bottom: .8rem; }
    .filters a { flex: none; white-space: nowrap; }
}
@media (max-width: 520px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
    .shop-grid .product__body { padding: .45rem .5rem .55rem; }
}


/* ===== Page d'inscription ===== */
.reg-hero { padding: clamp(1.6rem, 4vw, 2.6rem) 0; }
.reg-hero h1 { margin-bottom: .3rem; }
.reg-section { padding-top: 1.6rem; }
.reg-steps { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.reg-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem .4rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.reg-steps li + li { border-left: 1px solid var(--line); }
.reg-steps span, .reg-card legend span { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; flex: none; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .85rem; font-weight: 700; }
.reg-steps li.is-done { color: var(--green-900); background: var(--green-100); }
.reg-steps li.is-done span, .reg-card legend span { background: var(--green-700); color: #fff; }
.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.2rem; align-items: start; }
.reg-main { display: grid; gap: 1.2rem; min-width: 0; }
.reg-card { margin: 0; min-width: 0; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.reg-card legend { float: left; width: 100%; display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: 1rem; font: 600 1.15rem/1.3 var(--font-body); color: var(--green-900); }
.reg-card legend + * { clear: both; }
.reg-help { margin: 0 0 .9rem; font-size: .9rem; color: var(--muted); }
.reg-options { display: grid; gap: .5rem; }
.reg-options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reg-opt { display: block; margin: 0; font-weight: 400; cursor: pointer; }
.reg-opt[hidden] { display: none; }
.reg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reg-opt__box { display: flex; justify-content: space-between; align-items: center; gap: .8rem; height: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 5px; transition: border-color .15s ease, background .15s ease; }
.reg-options--3 .reg-opt__box { flex-direction: column; align-items: flex-start; justify-content: space-between; }
.reg-opt__box strong { font-weight: 600; font-size: .95rem; color: var(--ink); }
.reg-opt__box em { flex: none; font-style: normal; font-size: .9rem; font-weight: 600; color: var(--green-700); }
.reg-opt:hover .reg-opt__box { border-color: var(--green-700); }
.reg-opt input:checked + .reg-opt__box { border-color: var(--green-700); background: var(--green-100); box-shadow: inset 0 0 0 1px var(--green-700); }
.reg-opt input:focus-visible + .reg-opt__box { outline: 2px solid var(--green-500); outline-offset: 2px; }
.reg-opt input:disabled + .reg-opt__box { opacity: .55; cursor: not-allowed; background: var(--sand); }
.reg-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.reg-fields__full { grid-column: 1 / -1; }
.reg-summary { position: sticky; top: 90px; }
.reg-summary h2 { margin: 0 0 .8rem; font: 600 1.15rem/1.3 var(--font-body); color: var(--green-900); }
.reg-summary .btn { width: 100%; justify-content: center; border-radius: 5px; margin: 1rem 0 .8rem; }
.reg-summary .reg-help { margin: 0; }
.reg-dl { margin: 0; }
.reg-dl > div { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.reg-dl dt { font-size: .8rem; color: var(--muted); }
.reg-dl dd { margin: .1rem 0 0; font-size: .95rem; font-weight: 600; }
.reg-dl__total { border-bottom: 0 !important; }
.reg-dl__total dd { font-size: 1.3rem; color: var(--green-900); }
.reg-done { max-width: 640px; margin-inline: auto; }
.reg-done__ref { margin: 0 0 .6rem; color: var(--muted); }
.reg-done__ref strong { color: var(--green-900); }
.reg-done h2 { margin: 0 0 .8rem; font-size: 1.5rem; }
.reg-done h3 { margin: 1.3rem 0 .5rem; font-size: 1.05rem; }
.reg-next { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.reg-next li { margin-bottom: .35rem; }
@media (max-width: 960px) {
    .reg-layout { grid-template-columns: minmax(0, 1fr); }
    .reg-summary { position: static; }
}
@media (max-width: 640px) {
    .reg-options--3, .reg-fields { grid-template-columns: minmax(0, 1fr); }
    .reg-options--3 .reg-opt__box { flex-direction: row; align-items: center; }
    .reg-card { padding: 1.1rem; }
    .reg-steps li { flex-direction: column; gap: .25rem; font-size: .8rem; }
}


/* ===== Inscription : téléphone et programme ===== */
.reg-phone { display: flex; align-items: stretch; }
.reg-phone__prefix { display: inline-flex; align-items: center; gap: .45rem; flex: none; padding: 0 .7rem; border: 1px solid var(--line); border-right: 0; border-radius: 5px 0 0 5px; background: var(--sand); font-weight: 600; font-size: .95rem; }
.reg-phone__flag { display: block; border-radius: 2px; }
.reg-phone input[type=tel] { flex: 1; min-width: 0; border-radius: 0 5px 5px 0; }
.reg-program { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.reg-program li { padding: .7rem .9rem; border-left: 3px solid var(--green-700); background: var(--green-100); border-radius: 0 5px 5px 0; font-size: .92rem; }
.reg-program strong { display: block; color: var(--green-900); }
@media (max-width: 640px) { .reg-program { grid-template-columns: minmax(0, 1fr); } }


/* ===== Inscription en 3 écrans ===== */
.reg-section { padding: 1rem 0 1.5rem; }
.reg-wizard { max-width: 620px; }
.reg-title { margin: 0 0 .7rem; font-size: 1.6rem; color: var(--green-900); }
.reg-wizard .reg-steps { margin-bottom: .8rem; }
.reg-wizard .reg-steps li { padding: .5rem .3rem; }
.reg-wizard .reg-steps li.is-done { background: var(--green-100); color: var(--green-900); }
.reg-wizard .reg-card { padding: 1.1rem; }
.reg-wizard .reg-card legend { margin-bottom: .8rem; }
.reg-step + .reg-step { margin-top: .8rem; }
#reg-form.is-wizard .reg-step { display: none; }
#reg-form.is-wizard .reg-step.is-current { display: block; margin-top: 0; }
.reg-options--slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reg-opt--slot .reg-opt__box { flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; min-height: 3.2rem; padding: .5rem .7rem; }
.reg-opt--slot .reg-opt__box strong { font-size: .88rem; }
.reg-opt--slot .reg-opt__box em { font-size: .76rem; color: var(--danger); }
.reg-help--end { margin: .8rem 0 0; }
.reg-recap { margin: 0 0 .9rem; padding: .55rem .7rem; border-radius: 5px; background: var(--green-100); color: var(--green-900); font-size: .9rem; font-weight: 600; }
.reg-recap:empty { display: none; }
.reg-wizard .reg-fields { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
.reg-wizard .reg-card input[type=text], .reg-phone input[type=tel] { border-radius: 5px; }
.reg-wizard .reg-phone input[type=tel] { border-radius: 0 5px 5px 0; }
.reg-nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: .9rem; }
.reg-nav .btn { border-radius: 5px; padding: .7rem 1.2rem; }
.reg-nav .btn--primary { flex: 1; justify-content: center; }
#reg-form:not(.is-wizard) .reg-nav [data-go] { display: none; }


/* ===== Bouton WhatsApp réduit, avec texte au-dessus ===== */
.wa-float { width: 46px; height: 46px; }
.wa-float__label { position: absolute; right: 0; bottom: calc(100% + 6px); padding: .22rem .6rem; border-radius: 5px; background: #fff; color: var(--ink); font-size: .76rem; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, .22); }
.music-float { right: 16px; bottom: 106px; }


/* ===== Accueil : toute la carte d'un module mène à l'inscription ===== */
.formation-card { position: relative; cursor: pointer; }
.card--featured .formation-card__more { color: #fff; }
.formation-card__more { position: relative; z-index: 1; display: inline-block; margin-top: .6rem; font-size: .9rem; color: var(--green-700); }


/* ===== Espacements réduits ===== */
.section:not(.reg-section) { padding: clamp(1.6rem, 3.5vw, 2.8rem) 0; }
.section__head { margin-bottom: 1.2rem; }
.hero__intro { padding: clamp(1.2rem, 3vw, 2rem) 0 .3rem; }
.page-hero:not(.reg-hero) { padding: clamp(1.4rem, 3.5vw, 2.4rem) 0; }
.grid { gap: 1rem; }
.conv { padding: .6rem 0 .2rem; }
.conv__cta { margin-bottom: .9rem; }
.about-home__group img { max-height: 440px; }
.about-home__stats { margin: 1rem 0 1.1rem; }
.footer-grid { gap: 1.2rem; padding: 2rem 0 1.2rem; }


/* ===== Style institutionnel ===== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.1rem; }

/* Angles droits et sobres */
.btn, .nav a, .sub-toggle, .sub, .sub a, .pill, .note, .cta-band, .faq__item, .guarantee, .filters a, input[type=text], input[type=tel], input[type=email], input[type=password], textarea, select,
.alert, .status, .about-home__stats li, .next-session, .next-session em, .trust li, .sticky-cta, .group img, .news-card, .news-gallery__item, .atelier-item, .album, .album-item, .logos__item, .partners img { border-radius: 4px !important; }

/* Moins d'effets */
.btn, .btn:hover, .conv .btn--primary, .nav__cta:hover { box-shadow: none; transform: none; }
.card, .group img { box-shadow: none; }
.ticker, .page-hero:not(.page-hero--light), .cta-band { background: var(--green-900); }
.nav a:not(.nav__cta)::before, .sub-toggle::before { display: none; }
.nav a[aria-current="page"]:not(.nav__cta), .sub-toggle[aria-current="page"] { background: transparent; color: var(--green-700); box-shadow: inset 0 -2px 0 var(--green-700); }
.scroll-progress { display: none; }
.wa-float { animation: none !important; }
.js-reveal .reveal:not(.is-visible), .js-reveal .reveal.is-visible { opacity: 1; animation: none; }

/* Titres alignés à gauche, avec un filet */
.section__head { margin-left: 0; margin-right: 0; max-width: none; text-align: left; }
.section__head h2 { padding-bottom: .45rem; border-bottom: 2px solid var(--line); position: relative; }
.section__head h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--green-700); }
.section__head p { max-width: 70ch; margin-top: .5rem; }
.eyebrow { color: var(--green-700); letter-spacing: .08em; margin-bottom: .3rem; }
.hero__intro, .conv { text-align: left; }
.hero__intro p { margin-inline: 0; max-width: 72ch; }
.conv .btn-row, .conv__cta { justify-content: flex-start; }
.next-session { margin-inline: 0; }


/* ===== À apporter le premier jour ===== */
.bring { margin: 1rem 0 0; padding: .9rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 4px; background: #fff; text-align: left; }
.bring__title { display: block; margin-bottom: .35rem; color: var(--green-900); }
.bring__list { margin: 0; padding-left: 1.2rem; }
.bring__list li { margin: .15rem 0; }
.bring__note { margin: .45rem 0 0; font-size: .9rem; color: var(--muted); }


/* ===== Flèches de la bannière plus petites ===== */
.carousel__btn { width: 34px; height: 34px; font-size: 1.25rem; line-height: 1; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }


/* ===== Acompte après l'inscription ===== */
.reg-deposit { display: grid; gap: .45rem; margin: 1rem 0; padding: .9rem 1.1rem; border: 1px solid var(--green-700); border-radius: 4px; background: var(--green-100); color: var(--green-900); }
.reg-deposit span { font-size: .92rem; color: var(--ink); }
.reg-deposit .btn { justify-self: start; }
