/*
 * ============================================================
 *  STYLE.CSS � Plaisance Moteurs Formation & Expertise
 * ============================================================
 *
 *  SOMMAIRE
 *  --------
 *  1. BASE            � Reset, body, typographie globale
 *  2. BANNI�RE        � Header sticky, nav, logo, marque
 *  3. CONTENU         � Main, hero (vid�o)
 *  4. PAGE ACCUEIL    � Hero accueil, titre, sous-titre
 *  5. CHIFFRES CL�S   � Stats anim�es (index)
 *  6. PAGE FORMATION  � Rubriques, th�orie/pratique, listes, infos
 *  7. PAGE EXPERTISE   � Grille prestations, note d'exclusion
 *  8. PAGE R�SERVATION � �tapes, calendrier, formulaire maquette
 *  9. PIED DE PAGE    � Footer colonnes, liens, copyright
 *
 * ============================================================
 */

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

:root {
    --font-title: 'Michroma', 'Rajdhani', 'Montserrat', Arial, sans-serif;
    --font-subtitle: 'Rajdhani', 'Montserrat', Arial, sans-serif;
    --font-body: 'Montserrat', Arial, sans-serif;
}

@font-face {
    font-family: 'Eurostile';
    src:
        url('../fonts/Eurostile-Regular.woff2') format('woff2'),
        url('../fonts/Eurostile-Regular.woff') format('woff'),
        local('Eurostile');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Eurostile Extended';
    src:
        url('../fonts/Eurostile-Extended.woff2') format('woff2'),
        url('../fonts/Eurostile-Extended.woff') format('woff'),
        local('Eurostile Extended');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Eurostile Extended Bold';
    src:
        url('../fonts/Eurostile-Extended-Bold.woff2') format('woff2'),
        url('../fonts/Eurostile-Extended-Bold.woff') format('woff'),
        local('Eurostile Extended Bold');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: #474747;
    background-attachment: fixed;
    color: #AAA8A9;
}

h1,
.titre-accueil,
.formation-titre,
.jour-titre-principal {
    font-family: var(--font-title);
}

button,
.form-submit,
.btn-clear-dates,
.cal-nav-btn,
.service-header {
    font-family: var(--font-subtitle);
    font-weight: 600;
}

.nom-marque,
.onglet,
.parcours-titre,
.parcours-sous-titre,
.rubrique-titre,
.tp-label,
.tp-detail-intro,
.jour-badge,
.jour-module-titre,
.info-label,
.service-nom,
.etape-titre,
.cal-header,
.cal-day-label,
.cal-sel-count,
.form-label,
.footer-colonne h3 {
    font-family: var(--font-subtitle);
}

/* ===== BANNI�RE ===== */
.banniere-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    filter: drop-shadow(0 3px 0 #8A0F10) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.7));
    transition: transform 0.28s ease;
    will-change: transform;
}

.banniere-wrapper.is-hidden {
    transform: translateY(-120%);
}

.banniere {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2F2F30;
    padding: 0 30px;
    height: 85px;
    clip-path: url(#arch-clip);
}

.banniere-marque {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 4px;
}

.nom-marque {
    font-size: 0.7rem;
    font-weight: bold;
    color: #AAA8A9;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.6;
    text-align: center;
}

.lettre-debut {
    font-size: 1.05rem;
    color: #8A0F10;
    font-weight: bold;
}

.banniere-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(203, 203, 203, 0.28);
    border-radius: 3px;
    background: transparent;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #AAA8A9;
    transform-origin: center;
    transition: transform 0.22s ease, opacity 0.18s ease;
}

.banniere.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.banniere.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.banniere.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.onglet {
    color: #AAA8A9;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.onglet:hover,
.onglet.actif {
    background-color: transparent;
    color: #8A0F10;
}

.marque-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.marque-link:hover {
    opacity: 0.75;
    cursor: pointer;
}

/* ===== CONTENU PRINCIPAL ===== */
main {
    margin: 0;
    padding: 0;
}

/* ===== PAGE ACCUEIL ===== */
.hero-accueil {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 40px 100px;
    text-align: center;
    overflow: hidden;
}

.hero-accueil::before {
    display: none;
}

.hero-accueil-contenu {
    position: relative;
    z-index: 1;
}

.titre-accueil {
    font-size: 3.5rem;
    font-weight: bold;
    color: #AAA8A9;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.6;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 36px;
}

.titre-accueil .lettre-debut {
    font-size: 1.2em;
}

.hero-logo {
    width: 1000px;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.sous-titre-accueil {
    font-size: 1.2rem;
    font-style: italic;
    color: #AAA8A9;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-top: 10px;
}

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 85px);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-contenu {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

/* ===== CHIFFRES CL�S ===== */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 80px 40px 120px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 220px;
}

.stat-chiffre {
    font-size: 5rem;
    font-weight: bold;
    color: #8A0F10;
    line-height: 1;
}

.stat-texte {
    font-size: 0.9rem;
    color: #AAA8A9;
    line-height: 1.7;
    opacity: 0.85;
}

.accueil-parcours {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px 120px;
}

.parcours-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(203, 203, 203, 0.1);
    border-left: 3px solid #8A0F10;
    padding: 36px 34px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.parcours-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.parcours-titre {
    font-size: 0.95rem;
    font-weight: bold;
    color: #8A0F10;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(204, 34, 0, 0.35);
}

.parcours-accroche {
    margin: 0 0 24px;
    color: #AAA8A9;
    font-size: 0.96rem;
    line-height: 1.9;
    opacity: 0.9;
    font-style: italic;
}

.parcours-bloc {
    margin-bottom: 22px;
}

.parcours-sous-titre {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #8A0F10;
}

.parcours-bloc p {
    margin: 0 0 10px;
    color: #AAA8A9;
    font-size: 0.9rem;
    line-height: 1.85;
}

.parcours-liste {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.parcours-liste li {
    position: relative;
    padding-left: 18px;
    color: #AAA8A9;
    font-size: 0.88rem;
    line-height: 1.75;
}

.parcours-liste li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.82em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8A0F10;
    transform: translateY(-50%);
}

.parcours-objectif {
    margin: 8px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(203, 203, 203, 0.1);
    color: #AAA8A9;
    font-size: 0.92rem;
    line-height: 1.85;
    font-style: italic;
}

.page-contact-note {
    max-width: 980px;
    margin: 0 auto 90px;
    padding: 0 40px;
}

.page-contact-note p {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 15, 16, 0.2);
    border-left: 3px solid #8A0F10;
    padding: 16px 20px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #AAA8A9;
}

.page-contact-note a,
.cadeau-offrir a {
    color: #8A0F10;
    text-decoration: none;
}

.page-contact-note a:hover,
.cadeau-offrir a:hover {
    text-decoration: underline;
}

.cadeau-offrir {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(138, 15, 16, 0.18);
    border-left: 3px solid #8A0F10;
    padding: 24px 26px;
}

/* ===== PAGE FORMATION ===== */
.page-formation {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px 120px;
}

.formation-hero {
    text-align: center;
    padding: 60px 0 80px;
    border-bottom: 1px solid rgba(203, 203, 203, 0.15);
    margin-bottom: 80px;
}

.formation-titre {
    font-size: 3rem;
    font-weight: bold;
    color: #AAA8A9;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 28px;
}

.formation-accroche {
    font-size: 1.1rem;
    font-style: italic;
    color: #AAA8A9;
    opacity: 0.75;
    line-height: 1.9;
}

.formation-section {
    margin-bottom: 70px;
}

.rubrique-titre {
    font-size: 0.9rem;
    font-weight: bold;
    color: #8A0F10;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(204, 34, 0, 0.4);
}

.rubrique-contenu {
    color: #AAA8A9;
    line-height: 1.9;
    font-size: 0.95rem;
}

.rubrique-contenu p {
    margin-bottom: 18px;
}

.theorie-pratique {
    display: flex;
    gap: 30px;
    margin: 32px 0;
}

.tp-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 203, 203, 0.1);
    border-left: 3px solid #8A0F10;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    cursor: default;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
}

.tp-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.tp-item:nth-child(2) {
    transition-delay: 0.2s;
}

.tp-chiffre {
    font-size: 2.8rem;
    font-weight: bold;
    color: #8A0F10;
    line-height: 1;
}

.tp-label {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #AAA8A9;
}

.tp-desc {
    font-size: 0.85rem;
    color: #AAA8A9;
    opacity: 0.7;
    line-height: 1.6;
    margin-top: 6px;
}

.tp-face {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theorie-pratique:hover .tp-item {
    background: rgba(255, 255, 255, 0.08);
}

.tp-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.35s ease, margin-top 0.35s ease;
    margin-top: 0;
}

.theorie-pratique:hover .tp-detail {
    max-height: 600px;
    opacity: 1;
    margin-top: 22px;
}

.tp-detail-intro {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8A0F10;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 14px;
}

.tp-detail-liste {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tp-detail-liste li {
    padding-left: 18px;
    position: relative;
    font-size: 0.82rem;
    color: #AAA8A9;
    line-height: 1.6;
}

.tp-detail-liste li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8A0F10;
    transform: translateY(-50%);
}

.tp-detail-conclusion {
    font-size: 0.78rem;
    color: #AAA8A9;
    opacity: 0.65;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(203, 203, 203, 0.1);
}

.formation-slogan {
    text-align: center;
    opacity: 0.7;
    margin-top: 24px;
}

.formation-liste {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.formation-liste li {
    padding-left: 22px;
    position: relative;
    line-height: 1.8;
}

.formation-liste li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #8A0F10;
    font-weight: bold;
}

.programme-jours {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.jour-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 203, 203, 0.1);
    border-left: 3px solid #8A0F10;
    padding: 32px 36px;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.jour-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.jour-item:nth-child(2) {
    transition-delay: 0.2s;
}

.jour-titre {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8A0F10;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(204, 34, 0, 0.3);
}

.jour-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.jour-badge {
    display: inline-block;
    background: #8A0F10;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 3px;
}

.jour-titre-principal {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.jour-intro {
    font-size: 0.88rem;
    color: #AAA8A9;
    line-height: 1.75;
    margin: 0 0 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(203, 203, 203, 0.08);
}

.jour-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.jour-module {
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(203, 203, 203, 0.08);
}

.jour-module-titre {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8A0F10;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.jour-module-duree {
    font-size: 0.7rem;
    color: #AAA8A9;
    background: rgba(184, 0, 15, 0.12);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.jour-module-desc {
    font-size: 0.8rem;
    color: #AAA8A9;
    opacity: 0.75;
    line-height: 1.6;
    margin: 0 0 12px;
    font-style: italic;
}

.jour-module-note {
    font-size: 0.78rem;
    color: #AAA8A9;
    opacity: 0.65;
    line-height: 1.6;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(203, 203, 203, 0.08);
    font-style: italic;
}

.programme-conclusion {
    background: rgba(184, 0, 15, 0.05);
    border: 1px solid rgba(184, 0, 15, 0.18);
    border-left: 3px solid #8A0F10;
    padding: 20px 28px;
    font-size: 0.88rem;
    color: #AAA8A9;
    line-height: 1.75;
}

.programme-conclusion strong {
    color: #ffffff;
}

.infos-grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 203, 203, 0.1);
    border-left: 3px solid #8A0F10;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.info-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-item:nth-child(2) { transition-delay: 0.1s; }
.info-item:nth-child(3) { transition-delay: 0.2s; }
.info-item:nth-child(4) { transition-delay: 0.3s; }

.info-label {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8A0F10;
}

.info-valeur {
    font-size: 1rem;
    color: #AAA8A9;
}

/* ===== PAGE EXPERTISE ===== */
.services-grille {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 203, 203, 0.1);
    border-left: 3px solid #8A0F10;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.00s; }
.service-card:nth-child(2) { transition-delay: 0.08s; }
.service-card:nth-child(3) { transition-delay: 0.16s; }
.service-card:nth-child(4) { transition-delay: 0.24s; }
.service-card:nth-child(5) { transition-delay: 0.32s; }
.service-card:nth-child(6) { transition-delay: 0.40s; }
.service-card:nth-child(7) { transition-delay: 0.48s; }
.service-card:nth-child(8) { transition-delay: 0.56s; }

.service-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: #AAA8A9;
    transition: background 0.2s ease;
}

.service-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.service-nom {
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.service-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #6e6a6b;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    transition: color 0.2s ease, transform 0.3s ease;
    user-select: none;
}

.service-header:hover .service-toggle {
    color: #8A0F10;
}

.service-card.open .service-toggle {
    color: #8A0F10;
    transform: rotate(45deg);
}

.service-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
}

.service-card.open .service-detail {
    max-height: 1000px;
    padding: 0 26px 20px;
}

.service-detail p {
    font-size: 0.85rem;
    color: #AAA8A9;
    line-height: 1.75;
    margin: 0 0 10px;
}

.service-detail p:first-child {
    padding-top: 14px;
    border-top: 1px solid rgba(203, 203, 203, 0.1);
}

.service-detail p:last-child {
    margin-bottom: 0;
}

.service-detail-liste {
    list-style: none;
    padding: 0;
    margin: 4px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.service-detail-liste li {
    padding-left: 18px;
    position: relative;
    font-size: 0.83rem;
    color: #AAA8A9;
    line-height: 1.6;
}

.service-detail-liste li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8A0F10;
    transform: translateY(-50%);
}

.expertise-note {
    background: rgba(204, 34, 0, 0.05);
    border: 1px solid rgba(204, 34, 0, 0.2);
    /* border-left: 3px solid #8A0F10; */
    padding: 20px 26px;
    font-size: 0.9rem;
    font-style: italic;
    color: #AAA8A9;
    line-height: 1.8;
    opacity: 0.85;
}

/* ===== PAGE R�SERVATION ===== */
.etapes-grille {
    display: flex;
    gap: 20px;
}

.etape-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 203, 203, 0.1);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.etape-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.etape-card:nth-child(1) { transition-delay: 0.0s; }
.etape-card:nth-child(3) { transition-delay: 0.2s; }
.etape-card:nth-child(5) { transition-delay: 0.4s; }

.etape-fleche {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A0F10;
    font-size: 1.6rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.etape-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8A0F10;
    line-height: 1;
    opacity: 0.8;
}

.etape-titre {
    font-size: 0.85rem;
    font-weight: bold;
    color: #AAA8A9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.etape-desc {
    font-size: 0.875rem;
    color: #AAA8A9;
    opacity: 0.7;
    line-height: 1.7;
}

.calendrier-note {
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.6;
    margin-bottom: 28px;
    line-height: 1.7;
}

.calendriers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cal-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    background: transparent;
    border: 1px solid rgba(204, 34, 0, 0.4);
    color: #8A0F10;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    border-radius: 2px;
}

.cal-nav-btn.prev { left: 0; }
.cal-nav-btn.next { right: 0; }

.cal-nav-btn:hover:not(:disabled) {
    background: #8A0F10;
    color: #ffffff;
}

.cal-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.cal-months {
    display: flex;
    gap: 30px;
}

.calendrier {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(203, 203, 203, 0.1);
    padding: 22px;
}

.cal-header {
    position: relative;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8A0F10;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(204, 34, 0, 0.3);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
}

.cal-day-label {
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #AAA8A9;
    opacity: 0.45;
    padding: 4px 0 8px;
    letter-spacing: 0.5px;
}

.cal-day {
    font-size: 0.8rem;
    color: #AAA8A9;
    padding: 6px 2px;
    border-radius: 3px;
    opacity: 0.75;
    position: relative;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.cal-day.empty {
    visibility: hidden;
    pointer-events: none;
}

.cal-day.past {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
}

.cal-day:not(.past):not(.empty):not(.selected):not(.cal-today):hover {
    background: rgba(204, 34, 0, 0.15);
    opacity: 1;
}

.cal-day.selected {
    background: #8A0F10;
    color: #ffffff;
    font-weight: bold;
    opacity: 1;
    z-index: 1;
}

/* Bande continue � arrondi aux extr�mit�s seulement, un seul ::after par gap */
.cal-day.selected.range-only   { border-radius: 4px; }
.cal-day.selected.range-first  { border-radius: 4px 0 0 4px; }
.cal-day.selected.range-middle { border-radius: 0; }
.cal-day.selected.range-last   { border-radius: 0 4px 4px 0; }

.cal-day.selected.range-first::after,
.cal-day.selected.range-middle::after {
    content: ''; position: absolute;
    left: 100%; top: 0; bottom: 0;
    width: 3px;
    background: #8A0F10;
    z-index: 1;
}

/* Pr�visualisation au survol */
.cal-day.range-preview {
    background: rgba(204, 34, 0, 0.2);
    color: #AAA8A9;
    opacity: 1;
    z-index: 1;
}
.cal-day.range-preview.range-only   { border-radius: 4px; }
.cal-day.range-preview.range-first  { border-radius: 4px 0 0 4px; }
.cal-day.range-preview.range-middle { border-radius: 0; }
.cal-day.range-preview.range-last   { border-radius: 0 4px 4px 0; }

.cal-day.range-preview.range-first::after,
.cal-day.range-preview.range-middle::after {
    content: ''; position: absolute;
    left: 100%; top: 0; bottom: 0;
    width: 3px;
    background: rgba(204, 34, 0, 0.2);
    z-index: 1;
}

.cal-day.range-start {
    outline: 2px dashed #8A0F10;
    outline-offset: -2px;
    background: rgba(204, 34, 0, 0.2);
    color: #ffffff;
    font-weight: bold;
    opacity: 1;
}

.cal-sel-range-hint {
    display: block;
    font-size: 0.78rem;
    color: #8A0F10;
    font-style: italic;
    margin-top: 6px;
}

.cal-day.cal-today {
    color: #8A0F10;
    font-weight: bold;
    opacity: 1;
}

.cal-selection {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(203,203,203,0.1);
    border-left: 3px solid #8A0F10;
    margin-top: 12px;
}

.cal-sel-empty {
    font-size: 0.85rem;
    color: #AAA8A9;
    opacity: 0.45;
    font-style: italic;
}

.cal-sel-count {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8A0F10;
}

.cal-sel-max {
    color: #ff6644;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

.cal-sel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cal-sel-chip {
    font-size: 0.75rem;
    background: rgba(204, 34, 0, 0.12);
    border: 1px solid rgba(204, 34, 0, 0.3);
    color: #AAA8A9;
    padding: 3px 9px;
    border-radius: 2px;
}

.cal-sel-orphan {
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.5);
    color: #ffaa44;
}

.cal-sel-orphan-note {
    font-size: 0.78rem;
    color: #ffaa44;
    margin-top: 4px;
}

.form-label-hint {
    font-size: 0.65rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.6;
    color: #AAA8A9;
}

/* Formulaire */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8A0F10;
}

.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 203, 203, 0.15);
    padding: 12px 16px;
    color: #AAA8A9;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    color-scheme: dark;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #8A0F10;
}

.form-input::placeholder {
    color: rgba(203, 203, 203, 0.3);
}

.form-textarea {
    min-height: 110px;
    resize: none;
}

.form-submit {
    align-self: flex-start;
    background: #8A0F10;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.form-submit:hover {
    background: #a81b00;
}

.form-required {
    color: #993e29;
    font-weight: bold;
    margin-left: 3px;
    font-size: 1rem;
}

.form-optional {
    font-size: 0.7rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    color: #AAA8A9;
    opacity: 0.75;
    margin-left: 4px;
}

.form-required-note {
    font-size: 0.75rem;
    color: #AAA8A9;
    opacity: 0.5;
    margin-top: -4px;
}

.form-legal {
    margin-top: -4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(138, 15, 16, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.form-legal-info {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #AAA8A9;
    margin: 0;
}

.form-legal-info a,
.form-legal-check a {
    color: #8A0F10;
    text-decoration: none;
}

.form-legal-info a:hover,
.form-legal-check a:hover {
    text-decoration: underline;
}

.form-legal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #AAA8A9;
}

.form-legal-checkbox {
    margin-top: 3px;
    accent-color: #8A0F10;
}

.form-legal-checkbox.input-error {
    outline: 1px solid #ff4444;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(0, 180, 80, 0.08);
    border: 1px solid rgba(0, 180, 80, 0.3);
    border-left: 3px solid #00b450;
    color: #AAA8A9;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-success strong {
    color: #ffffff;
}

.btn-clear-dates {
    background: transparent;
    border: 1px solid rgba(203, 203, 203, 0.15);
    color: #AAA8A9;
    font-size: 0.75rem;
    font-family: inherit;
    padding: 5px 14px;
    margin-top: 8px;
    cursor: not-allowed;
    opacity: 0.3;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.btn-clear-dates:not(:disabled) {
    border-color: rgba(204, 34, 0, 0.5);
    color: #8A0F10;
    cursor: pointer;
    opacity: 1;
}

.btn-clear-dates:not(:disabled):hover {
    background: rgba(204, 34, 0, 0.1);
}

.phone-field {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    flex: 0 0 100px;
    cursor: pointer;
}

.phone-number {
    flex: 1;
}

.form-error {
    font-size: 0.8rem;
    color: #ff4444;
    min-height: 1.2em;
    margin-top: 4px;
    line-height: 1.4;
}

.form-input.input-error {
    border-color: #ff4444;
}

.char-counter {
    font-size: 0.75rem;
    color: #AAA8A9;
    opacity: 0.5;
    text-align: right;
    margin-top: 4px;
}

.char-counter.char-over {
    color: #ff4444;
    opacity: 1;
}

/* ===== PIED DE PAGE ===== */
.pied-wrapper {
    filter: drop-shadow(0 -3px 0 #8A0F10) drop-shadow(0 -8px 12px rgba(0, 0, 0, 0.5));
}

.pied-de-page {
    background-color: #2F2F30;
    color: #AAA8A9;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 65px 40px 20px;
    gap: 30px;
    clip-path: url(#footer-arch-clip);
}

.footer-colonne {
    flex: 1;
    min-width: 180px;
}

.footer-colonne h3 {
    color: #8A0F10;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer-colonne p,
.footer-colonne li {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #AAA8A9;
}

.footer-colonne ul {
    list-style: none;
    padding: 0;
}

.footer-colonne a {
    color: #AAA8A9;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-colonne a:hover {
    color: #8A0F10;
}

.footer-bas {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    margin-top: 10px;
    border-top: 1px solid #6D6D6D;
    font-size: 0.8rem;
    color: #AAA8A9;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.78rem;
    color: #AAA8A9;
    text-decoration: none;
    opacity: 0.9;
}

.footer-legal-links a:hover {
    color: #8A0F10;
}

.footer-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 1;
}

.texte-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 4px 0;
}

.footer-social-link {
    display: inline-flex;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-social-link:hover {
    opacity: 1;
}

.footer-social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* ===== Exceptions couleur texte ===== */
.banniere .nom-marque,
.banniere .onglet:not(:hover):not(.actif),
.pied-de-page,
.pied-de-page p,
.pied-de-page li,
.pied-de-page a,
.footer-bas {
    color: #AAA8A9;
}

/* ===== PAGES LÉGALES ===== */
.legal-page .formation-accroche {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(203, 203, 203, 0.12);
    border-left: 3px solid #8A0F10;
    padding: 20px 24px;
}

.legal-warning {
    margin: -20px 0 30px;
}

.legal-warning p {
    margin: 0;
    padding: 14px 18px;
    background: rgba(138, 15, 16, 0.09);
    border: 1px solid rgba(138, 15, 16, 0.25);
    border-left: 3px solid #8A0F10;
    font-size: 0.84rem;
    line-height: 1.7;
    color: #AAA8A9;
}

.legal-warning strong {
    color: #ffffff;
}

.legal-content p {
    margin-bottom: 12px;
}

.legal-content a {
    color: #8A0F10;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.7;
}

.legal-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #8A0F10;
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-logo {
        width: min(100%, 820px);
    }

    .stats {
        gap: 44px;
    }
}

@media (max-width: 1024px) {
    .banniere {
        padding: 0 18px;
    }

    .logo {
        width: 78px;
        height: 78px;
    }

    .texte-logo {
        height: 28px;
        max-width: 100%;
    }

    .hero-accueil {
        min-height: 72vh;
        padding: 16px 28px 72px;
    }

    .stats {
        gap: 26px;
        padding: 56px 28px 84px;
    }

    .stat-chiffre {
        font-size: 3.8rem;
    }

    .accueil-parcours,
    .page-contact-note,
    .page-formation {
        padding-left: 28px;
        padding-right: 28px;
    }

    .theorie-pratique {
        flex-direction: column;
    }

    .tp-item {
        opacity: 1;
        transform: none;
    }

    /* Touch devices do not have hover, so details are always visible. */
    .tp-detail,
    .theorie-pratique:hover .tp-detail {
        max-height: none;
        opacity: 1;
        margin-top: 18px;
    }

    .jour-item {
        padding: 26px 24px;
        opacity: 1;
        transform: none;
    }

    .jour-grille,
    .infos-grille {
        grid-template-columns: 1fr;
    }

    .etapes-grille {
        flex-direction: column;
        gap: 14px;
    }

    .etape-fleche {
        transform: rotate(90deg);
        align-self: center;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .banniere {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 12px;
        row-gap: 8px;
        height: auto;
        min-height: 85px;
        padding: 12px 16px;
        clip-path: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .banniere-marque {
        width: auto;
        justify-content: flex-start;
        min-width: 0;
    }

    .marque-link {
        min-width: 0;
    }

    .banniere-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid rgba(203, 203, 203, 0.14);
    }

    .banniere.menu-open .banniere-nav {
        display: flex;
    }

    .onglet {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 0.86rem;
        padding: 9px 10px;
    }

    .logo {
        width: 66px;
        height: 66px;
    }

    .texte-logo {
        height: 24px;
        max-width: min(72vw, 290px);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-accueil {
        min-height: 64vh;
        padding: 14px 16px 56px;
    }

    .hero-logo {
        width: 100%;
        max-width: 520px;
    }

    .sous-titre-accueil {
        font-size: 1rem;
        line-height: 1.5;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 44px 16px 64px;
    }

    .stat-item {
        max-width: 360px;
    }

    .stat-chiffre {
        font-size: 3.1rem;
    }

    .accueil-parcours {
        padding: 0 16px 72px;
    }

    .parcours-card {
        padding: 24px 18px;
    }

    .page-contact-note {
        padding: 0 16px;
        margin-bottom: 64px;
    }

    .page-formation {
        padding: 52px 16px 80px;
    }

    .formation-hero {
        padding: 26px 0 50px;
        margin-bottom: 48px;
    }

    .formation-titre {
        font-size: 2rem;
        letter-spacing: 2px;
        line-height: 1.35;
    }

    .formation-accroche {
        font-size: 1rem;
        line-height: 1.7;
    }

    .formation-section {
        margin-bottom: 50px;
    }

    .rubrique-titre {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .jour-header {
        flex-direction: column;
        gap: 8px;
    }

    .jour-intro {
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .jour-module {
        padding: 16px;
    }

    .service-header {
        padding: 16px 16px;
    }

    .service-detail,
    .service-card.open .service-detail {
        padding-left: 16px;
        padding-right: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .phone-field {
        flex-direction: column;
    }

    .phone-prefix {
        flex: 1 1 auto;
    }

    .form-submit {
        width: 100%;
        text-align: center;
    }

    .form-submit-row {
        gap: 12px;
    }

    .calendrier {
        padding: 14px;
    }

    .cal-header {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .cal-day-label {
        font-size: 0.58rem;
        padding: 2px 0 6px;
    }

    .cal-day {
        font-size: 0.72rem;
        padding: 5px 1px;
    }

    .pied-de-page {
        padding: 52px 16px 20px;
        gap: 20px;
    }

    .footer-colonne {
        min-width: 100%;
    }

    .footer-bas {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-logo {
        height: 76px;
    }
}

@media (max-width: 480px) {
    .banniere {
        padding: 10px 12px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        padding: 7px;
    }

    .logo {
        width: 58px;
        height: 58px;
    }

    .texte-logo {
        height: 20px;
    }

    .hero-accueil {
        padding-bottom: 44px;
    }

    .sous-titre-accueil {
        font-size: 0.92rem;
    }

    .stat-chiffre {
        font-size: 2.7rem;
    }

    .parcours-sous-titre,
    .rubrique-titre,
    .form-label {
        letter-spacing: 1.2px;
    }

    .jour-item {
        padding: 20px 14px;
    }

    .etape-card {
        padding: 18px 14px;
    }

    .etape-num {
        font-size: 2rem;
    }

    .calendrier {
        padding: 10px;
    }

    .form-input {
        padding: 11px 12px;
    }

    .page-contact-note p,
    .programme-conclusion,
    .expertise-note,
    .legal-content {
        padding: 14px;
    }
}
