[v-cloak] {
    display: none;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #3a3a3a;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #5c6b4f;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #5c6b4f;
}

/* ===== Mobile/Desktop helpers ===== */
.mobile-only {
    display: none;
}

/* ===== Burger ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #3a3a3a;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 240, 235, 0.85), rgba(232, 224, 216, 0.8)), url('images/Background-Hero.jpg') center/cover no-repeat;
    padding: 120px 24px 80px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #3a3a3a;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: #5c6b4f;
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: #4a5840;
    transform: translateY(-2px);
}

/* ===== A propos ===== */
.apropos {
    padding: 100px 0;
    background: #fff;
}

.apropos h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #3a3a3a;
    margin-bottom: 60px;
}

.apropos-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.apropos-img {
    flex-shrink: 0;
}

.img-portrait {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.apropos-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
}

.citation {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem !important;
    color: #5c6b4f !important;
    border-left: 3px solid #5c6b4f;
    padding-left: 20px;
    margin-top: 10px;
}

/* ===== Cours ===== */
.cours {
    padding: 100px 0;
    background: #f9f7f4;
}

.cours h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #3a3a3a;
    margin-bottom: 60px;
}

.cours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cours-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cours-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.cours-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cours-card h3 {
    font-size: 1.3rem;
    color: #3a3a3a;
    margin-bottom: 12px;
}

.cours-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.cours-niveau {
    display: inline-block;
    padding: 6px 16px;
    background: #f0ebe4;
    color: #5c6b4f;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== Bienfaits ===== */
.bienfaits {
    padding: 100px 0;
    background: #fff;
}

.bienfaits h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #3a3a3a;
    margin-bottom: 60px;
}

.bienfaits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.bienfait-item {
    text-align: center;
    padding: 32px 20px;
}

.bienfait-icone {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.bienfait-item h3 {
    font-size: 1.15rem;
    color: #3a3a3a;
    margin-bottom: 10px;
}

.bienfait-item p {
    font-size: 0.9rem;
    color: #777;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f0eb, #ebe5dd);
}

.contact h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #3a3a3a;
    margin-bottom: 20px;
}

.contact-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.info-item {
    text-align: center;
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5c6b4f;
    margin-bottom: 8px;
}

.info-item span {
    font-size: 1rem;
    color: #555;
}

/* ===== Bouton Contact ===== */
.contact-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.contact-btn-wrapper .btn {
    cursor: pointer;
    border: none;
    font-family: 'Lato', sans-serif;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 460px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #3a3a3a;
}

.modal-title {
    text-align: center;
    font-size: 1.6rem;
    color: #3a3a3a;
    margin-bottom: 8px;
}

.modal-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 28px;
    display: block;
}

/* ===== Calendrier ===== */
.calendrier {
    user-select: none;
}

.calendrier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cal-nav {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #555;
    transition: background 0.2s, border-color 0.2s;
}

.cal-nav:hover:not(:disabled) {
    background: #f5f0eb;
    border-color: #bbb;
}

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

.cal-mois {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3a3a3a;
}

.cal-jours-noms {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.cal-jours-noms span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    padding: 6px 0;
}

.cal-grille {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-jour {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #bbb;
    transition: all 0.2s;
    gap: 1px;
    text-align: center;
    overflow: hidden;
}

.cal-jour-num {
    line-height: 1;
}

.cal-jour-places {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0;
    opacity: 0.8;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.cal-jour-complet {
    font-size: 0.45rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.cal-vide {
    pointer-events: none;
}

.cal-indispo {
    color: #ccc;
    cursor: default;
}

.cal-passe {
    color: #ddd;
    cursor: default;
}

.cal-dispo {
    background: #f0ebe4;
    color: #5c6b4f;
    font-weight: 700;
    cursor: pointer;
}

.cal-dispo:hover {
    background: #5c6b4f;
    color: #fff;
    transform: scale(1.1);
}

.cal-complet {
    background: #f5e6e6;
    color: #c0392b;
    font-weight: 700;
    cursor: not-allowed;
}

.cal-absence {
    background: #f0ebe4;
    color: #aaa;
    font-weight: 700;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ===== Confirmation ===== */
.confirm-details {
    text-align: center;
    margin: 24px 0;
}

.confirm-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.confirm-jour-nom {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #5c6b4f;
    font-weight: 700;
}

.confirm-jour-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #3a3a3a;
    line-height: 1.1;
}

.confirm-mois {
    font-size: 1rem;
    color: #888;
}

.confirm-heure {
    font-size: 1.3rem;
    font-weight: 700;
    color: #5c6b4f;
    margin: 12px 0 24px;
}

.confirm-cours-choix {
    margin-bottom: 8px;
}

.confirm-cours-choix label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.select-cours {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #3a3a3a;
    background: #f9f7f4;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.select-cours:focus {
    border-color: #5c6b4f;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.confirm-actions .btn {
    flex: 1;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Lato', sans-serif;
}

.btn-outline {
    background: transparent !important;
    color: #5c6b4f !important;
    border: 2px solid #5c6b4f !important;
}

.btn-outline:hover {
    background: #f5f0eb !important;
}

.confirm-message {
    margin-top: 20px;
    text-align: center;
    padding: 14px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ===== Stepper ===== */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.3s;
}

.step.active .step-num {
    background: #5c6b4f;
}

.step.done .step-num {
    background: #7d9b6a;
}

.step-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 700;
}

.step-line {
    width: 40px;
    height: 2px;
    background: #ddd;
    margin: 0 8px;
    margin-bottom: 18px;
    transition: background 0.3s;
}

.step-line.active {
    background: #5c6b4f;
}

/* ===== Formulaire ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 6px;
}

.form-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #3a3a3a;
    background: #f9f7f4;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: #5c6b4f;
    box-shadow: 0 0 0 3px rgba(92, 107, 79, 0.1);
}

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

.form-error {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #e74c3c;
}

.recap-mini {
    display: flex;
    justify-content: center;
    gap: 16px;
    background: #f5f0eb;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #5c6b4f;
    font-weight: 700;
}

.places-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.places-badge {
    background: #5c6b4f;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.places-restantes {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

/* ===== Paiement ===== */
.prix-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.prix-total span:first-child {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.prix-montant {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #3a3a3a;
    font-weight: 700;
}

.stripe-card-element {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f7f4;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stripe-card-element.StripeElement--focus {
    border-color: #5c6b4f;
    box-shadow: 0 0 0 3px rgba(92, 107, 79, 0.1);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #e74c3c;
}

.btn-payer {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: #5c6b4f;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.btn-payer:hover:not(:disabled) {
    background: #4a5840;
    transform: translateY(-2px);
}

.btn-payer:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.stripe-mention {
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 16px;
    letter-spacing: 0.5px;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 30px;
    background: #3a3a3a;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-legal {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-legal a {
    color: #999;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

/* ===== Page Legal ===== */
.nav-retour {
    font-size: 0.85rem;
    color: #888;
    transition: color 0.3s;
}

.nav-retour:hover {
    color: #5c6b4f;
}

.legal-hero {
    background: linear-gradient(135deg, #f5f0eb 0%, #e8e0d8 100%);
    padding: 120px 24px 50px;
}

.legal-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #5c6b4f;
    margin-bottom: 12px;
}

.legal-hero h1 {
    font-size: 2.2rem;
    color: #3a3a3a;
    line-height: 1.3;
    margin-bottom: 12px;
}

.legal-date {
    font-size: 0.85rem;
    color: #888;
}

.legal-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    position: sticky;
    top: 72px;
    z-index: 99;
}

.legal-nav .container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.legal-nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.legal-nav-link:hover {
    background: #5c6b4f;
    color: #fff;
    border-color: #5c6b4f;
}

.legal-content {
    padding: 60px 0;
}

.legal-content .container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.legal-section {
    scroll-margin-top: 140px;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #5c6b4f;
}

.legal-section-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #5c6b4f;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: #3a3a3a;
}

.legal-block {
    margin-bottom: 28px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3px solid #5c6b4f;
}

.legal-block p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.legal-block ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: #666;
}

.legal-block ul li::before {
    content: '\2192';
    color: #5c6b4f;
    font-weight: 700;
    flex-shrink: 0;
}

.legal-block a {
    color: #5c6b4f;
    font-weight: 700;
}

.legal-block a:hover {
    color: #4a5840;
}

.legal-info-box {
    background: #f5f0eb;
    border: 1px solid #e8e0d8;
    border-radius: 12px;
    padding: 20px;
    margin-top: 10px;
}

.legal-info-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-info-box strong {
    color: #3a3a3a;
}

.legal-warning {
    background: rgba(92, 107, 79, 0.08);
    border: 1px solid rgba(92, 107, 79, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 10px;
}

.legal-warning p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid #f0ebe4;
    }

    .nav-links a {
        font-size: 0.95rem;
        display: block;
        padding: 16px 0;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .apropos-content {
        flex-direction: column;
        text-align: center;
    }

    .img-portrait {
        width: 180px;
        height: 180px;
    }

    .citation {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #5c6b4f;
        padding-top: 16px;
    }

    .cours-grid {
        grid-template-columns: 1fr;
    }

    .bienfaits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

    /* Calendrier mobile */
    .modal {
        padding: 24px 16px;
        width: 95%;
    }

    .cal-jour {
        aspect-ratio: auto;
        padding: 6px 2px;
        min-height: 48px;
    }

    .cal-jour-num {
        font-size: 0.85rem;
    }

    .cal-jour-places {
        font-size: 0.45rem;
        overflow: visible;
        white-space: nowrap;
    }

    .cal-jour-complet {
        font-size: 0.4rem;
    }

    .cal-grille {
        gap: 3px;
    }
}
