/* === VARIABLES (Tons minéraux / sable, esprit élégant) === */
:root {
    --bg-white: #FFFFFF;
    --bg-sand: #F7F5F0; /* Sable très clair */
    --bg-card: #FFFFFF; /* Blanc pour contraster sur le sable */
    --text-dark: #1A1A1A; /* Noir très profond mais plus doux que #111 */
    --text-light: #FFFFFF;
    --accent: #C5A880; /* Ton sable doré/chaud */
    --accent-hover: #B0926A;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --radius-pill: 50px;
    --radius-card: 20px;
    --radius-large: 24px;
}

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typographie globale */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-dark);
}

.sur-title {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
}

/* === NAVIGATION (Pilules Glassmorphism) === */
.mds-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.mds-nav.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.5);
}

.mds-nav.scrolled .nav-links a:hover { background: rgba(0,0,0,0.05); }

.mds-nav.scrolled .nav-btn-primary {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.mds-nav.scrolled .nav-btn-primary:hover {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.mds-nav.scrolled .nav-actions .lang-switch {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.1);
}

.mds-nav.scrolled .nav-actions .lang-switch:hover {
    background: var(--text-dark);
    color: var(--text-light);
}

.nav-logo {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.4s ease;
}

.nav-logo img.brand-logo {
    height: 66px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px;
    border-radius: var(--radius-pill);
    color: var(--text-light);
    transition: all 0.4s ease;
}

.nav-links a {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    transition: background 0.3s ease;
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.2); }

.nav-actions .lang-switch {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-actions .lang-switch:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.nav-btn-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
}

.nav-btn-primary:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

/* === HERO === */
.mds-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    color: var(--text-light);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('visuels/lesouffle/hero-desert-woman.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 20px 0;
    z-index: 1;
}

.hero-glass-panel {
    background: rgba(20, 20, 20, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-large);
    padding: 60px;
    width: min(100%, 720px);
    max-width: 720px;
    margin-top: 72px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.mds-hero h1 {
    font-size: clamp(3.3rem, 5.7vw, 5.1rem);
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--text-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 45px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: var(--accent-hover);
    color: var(--text-light);
}

.scroll-down-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.scroll-down-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(3px);
}

/* === SECTIONS COMMUNES === */
.mds-section {
    padding: 140px 0;
}

.bg-sand { background-color: var(--bg-sand); }
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: var(--text-dark); }
.text-white { color: var(--text-light); }
.text-white h2, .text-white h3 { color: var(--text-light); }

.section-header {
    margin-bottom: 70px;
    max-width: 800px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-header p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
}

/* === GRILLES & CARTES === */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mds-card {
    background: #F2EFE9; /* Uniformisé avec .mds-data-card */
    padding: 50px 40px;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.mds-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    background: var(--accent);
    color: var(--text-light);
}

.mds-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-style: italic;
    transition: color 0.4s ease;
}

.mds-card:hover h3 {
    color: var(--text-light);
}

.mds-card p {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
    transition: color 0.4s ease;
}

.mds-card:hover p {
    color: rgba(255,255,255,0.9);
}

.highlight-card {
    background: var(--text-dark);
    color: var(--text-light);
}

.highlight-card h3 { color: var(--text-light); }
.highlight-card p { color: #aaa; }

/* === DESTINATION (Glassmorphism) === */
.mds-destination {
    position: relative;
    padding: 120px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.dest-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('visuels/lesouffle/desert-sunset-landscape-QJK5Wjhcc9hQs7tNzsjcFN.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.dest-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.dest-glass-card {
    background: rgba(20, 20, 20, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px;
    border-radius: var(--radius-large);
    max-width: 650px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    pointer-events: auto;
}

.dest-glass-card h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.dest-meta {
    list-style: none;
    margin-bottom: 35px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 25px;
}

.dest-meta li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.dest-desc {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 35px;
    font-size: 1rem;
    font-weight: 300;
    border: 1px solid rgba(255,255,255,0.05);
}

.dest-desc .quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin: 20px 0;
    color: var(--bg-sand);
}

.btn-solid-white {
    display: inline-block;
    background: var(--text-light);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-solid-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- SLIDER / DIAPORAMA --- */
.mds-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.mds-slider.background-slider {
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.mds-slider#cadre-slider {
    border-radius: var(--radius-large);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 600px; /* Hauteur fixe pour le cadre */
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-controls.overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.desert-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.slider-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.slider-btn:hover {
    opacity: 1;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}


/* --- FORMULAIRE MODERNE --- */
.modern-form {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-large);
    box-shadow: -3px 4px 18px 0px rgb(170 170 170 / 66%);
}

.modern-form h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-row .form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.form-status {
    min-height: 1.4em;
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.4;
}

.form-status.is-loading {
    color: #7a6c57;
}

.form-status.is-success {
    color: #2d6a4f;
}

.form-status.is-error {
    color: #9b2226;
}

.modern-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.w-full {
    width: 100%;
}


/* === MODAL & CANDIDATURE (Général) === */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-large);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin: auto;
}

.modal-content.modal-large {
    max-width: 1150px;
    padding: 0; /* Géré par le contenu interne */
    background: transparent;
}

.modal-content.modal-content-compact {
    background: transparent;
    padding: 0;
    max-width: 560px;
}

.modal-content.modal-content-compact .modern-form {
    box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}

/* === UTILITAIRES === */
.bg-black {
    background-color: #0d0d0d;
    color: white;
}
.bg-black h2, 
.bg-black .sur-title,
.bg-black p {
    color: white;
}


.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 10;
}

.close-modal:hover {
    opacity: 1;
}

.modal-desc {
    margin-bottom: 25px;
    color: #666;
    font-size: 0.95rem;
}

/* === L'EXPÉRIENCE === */
.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.program-grid {
    grid-template-columns: repeat(4, 1fr);
}

.mds-data-card {
    background: #F2EFE9; /* Foncé à peine (avant var(--bg-sand)) */
    padding: 34px 24px;
    border-radius: var(--radius-card);
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.mds-data-card:hover { 
    transform: translateY(-5px); 
    background: var(--accent);
    color: var(--text-light);
}

.data-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px; /* Réduit de 25px à 15px pour équilibrer avec l'espace au dessus */
    opacity: 0.8;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.mds-data-card:hover .data-icon {
    color: var(--text-light);
    opacity: 1;
}

.mds-data-card h3 {
    font-size: 1.42rem;
    line-height: 1.2;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.mds-data-card:hover h3 {
    color: var(--text-light);
}

.mds-data-card p {
    font-weight: 300;
    color: #666;
    line-height: 1.55;
    transition: color 0.4s ease;
}

.mds-data-card:hover p {
    color: rgba(255,255,255,0.9);
}

.highlight-data {
    background: var(--accent);
    color: var(--text-light);
}

.highlight-data h3 { color: var(--text-light); }
.highlight-data p { color: rgba(255,255,255,0.8); }
.highlight-data .data-icon { color: var(--text-light); opacity: 1; }

/* === LE CADRE === */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-content { flex: 1; }
.split-image { flex: 1; }

.rounded-img {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-large);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.mds-list {
    list-style: none;
    margin: 40px 0;
}

.mds-list li {
    position: relative;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1.1rem;
    font-weight: 300;
    overflow: hidden;
    z-index: 1;
}

.mds-list li strong {
    font-weight: 500;
    color: var(--accent);
    margin-right: 15px;
}

.bg-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    opacity: 0.05;
    color: var(--text-dark);
    z-index: -1;
    pointer-events: none;
}

.alert-box {
    position: relative;
    overflow: hidden;
    background: rgba(140, 130, 112, 0.08);
    border-left: 3px solid var(--accent);
    padding: 20px 15px; /* Modifié pour tenir sur une ligne */
    border-radius: 0 16px 16px 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    z-index: 1;
}

.alert-box .bg-icon {
    width: 80px;
    height: 80px;
    right: -10px;
    opacity: 0.06;
}

.alert-box strong { color: var(--text-dark); }

/* === CANDIDATURE === */
.registration-box {
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--radius-large);
    padding: 60px;
    display: flex;
    gap: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.form-instructions { flex: 1; }
.registration-box .modern-form { flex: 1; }

.price-info-block {
    text-align: center;
    margin-bottom: 40px;
}

.price-badge {
    display: inline-block;
    color: var(--accent);
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    line-height: 1;
}

.confidential-text {
    font-size: 1.1rem;
    color: var(--accent);
    line-height: 1.5;
}

.confidential-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.event-date {
    margin-top: 18px;
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    text-wrap: balance;
}

.included-list {
    margin-top: 18px;
    padding-left: 22px;
    text-align: left;
    color: var(--text-dark);
    line-height: 1.45;
}

.included-list li {
    margin-bottom: 12px;
}

.modern-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(197,168,128,0.3) 50%, rgba(0,0,0,0) 100%);
    margin: 40px 0;
}

.form-instructions h3 { font-size: 1.8rem; margin-bottom: 20px; }
.form-instructions p { font-weight: 300; color: #666; }

.steps-list {
    margin-top: 20px;
    padding-left: 20px;
    font-weight: 500;
    color: var(--text-dark);
}
.steps-list li { margin-bottom: 20px; }

.brevo-container {
    flex: 1;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.form-mockup {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.mockup-text { color: #888; font-weight: 400; font-size: 0.9rem; }

.w-full { width: 100%; text-align: center; }

/* === FOOTER === */
.mds-footer {
    background: var(--bg-white);
    padding: 50px 0 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brand-link:hover {
    color: var(--accent);
}

.footer-logo img.footer-brand {
    height: 75px;
    width: auto;
    max-width: 420px;
    display: block;
}

.footer-brand-text {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a:hover { color: var(--accent); }

.footer-documents {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.75rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.footer-documents a {
    color: rgba(0,0,0,0.6);
    transition: color 0.3s ease;
}
.footer-documents a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 40px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    font-weight: 300;
}

/* === STICKY HELP === */
.mds-sticky-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.02em;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.mds-sticky-help:hover {
    transform: translateY(-3px);
    background: var(--accent-hover);
}

/* === ANIMATIONS === */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .split-layout { flex-direction: column; gap: 50px; }
    .split-content, .split-image { flex: none; width: 100%; }
    .split-image { min-height: 320px; }
    .split-image .mds-slider { min-height: 320px; }
    .mds-slider#cadre-slider { height: clamp(320px, 62vw, 520px); }
    .registration-box { flex-direction: column; padding: 40px; gap: 40px; }
    
    .hero-glass-panel {
        width: min(100%, 680px);
        max-width: 680px;
        padding: 40px 30px;
        margin-top: 96px;
    }
    .dest-glass-card { padding: 40px 30px; }
    
    .mds-nav { top: 15px; padding: 0; width: 90%; }
    .nav-links { display: none; }
    
    .footer-top { flex-direction: column; gap: 30px; }
    .footer-links { flex-direction: column; gap: 15px; text-align: center; }
    .footer-documents { justify-content: center; }
}

@media (max-width: 768px) {
    .mds-hero {
        padding-bottom: 120px;
    }
    .hero-content {
        padding-top: 56px;
    }
    .hero-bg {
        background-image: url('visuels/lesouffle/hero-desert-woman-mobile.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .mds-hero h1 {
        font-size: clamp(1.8rem, 8.2vw, 2.25rem);
        line-height: 1.08;
        margin-bottom: 0;
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .mds-hero h1 br { display: none; }
    .badge {
        padding: 7px 14px;
        font-size: 0.68rem;
        letter-spacing: 0.09em;
        margin-bottom: 18px;
        white-space: nowrap;
    }
    .hero-glass-panel {
        position: relative;
        padding: 20px 16px;
        width: min(100%, 500px);
        max-width: 500px;
        margin-top: 112px;
        margin-bottom: 45px;
    }
    .hero-glass-panel > h1 {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% + 18px);
        text-align: center;
        text-shadow: 0 6px 20px rgba(0,0,0,0.28);
    }
    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.45;
        margin-bottom: 20px;
    }
    .hero-actions {
        gap: 10px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .hero-actions .btn-primary {
        padding: 11px 16px;
        font-size: 0.74rem;
        letter-spacing: 0.06em;
        white-space: nowrap;
        flex: 1;
    }
    .scroll-down-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
        aspect-ratio: 1 / 1;
        flex: 0 0 46px;
        border-radius: 50%;
    }
    .btn-primary, .btn-solid-white {
        padding: 11px 20px;
        font-size: 0.82rem;
        letter-spacing: 0.06em;
    }
    .dest-container { justify-content: center; }
    .dest-glass-card {
        padding: 22px 16px;
        border-radius: 20px;
    }
    .dest-glass-card h2 {
        font-size: clamp(2rem, 11vw, 2.6rem);
        line-height: 1.08;
        margin-bottom: 16px;
    }
    .dest-meta {
        margin-bottom: 18px;
        padding-left: 16px;
    }
    .dest-meta li {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
        line-height: 1.35;
        align-items: flex-start;
    }
    .dest-desc {
        padding: 16px;
        margin-bottom: 18px;
        background: rgba(255,255,255,0.03);
    }
    .dest-desc .quote {
        font-size: 1.3rem;
        margin: 14px 0;
    }
    .registration-box {
        padding: 18px 12px;
        gap: 20px;
    }
    .modern-form {
        padding: 18px 14px;
        box-shadow: none;
        border: 1px solid rgba(0,0,0,0.06);
    }
    .form-group {
        margin-bottom: 14px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    .form-group input,
    .form-group textarea {
        padding: 13px 14px;
        font-size: 16px;
        border-radius: 10px;
        background: #FFFFFF;
    }
    .footer-top { align-items: center; text-align: center; }
    .footer-brand-link { flex-direction: column; text-align: center; gap: 10px; }
    .footer-brand-text { font-size: 1.4rem; text-align: center; }
    .footer-logo img.footer-brand { height: 80px; }
    .footer-documents { justify-content: center; }
    .nav-actions .lang-switch {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .mds-sticky-help {
        bottom: 14px;
        right: 14px;
        padding: 10px 16px;
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }
    .program-grid { grid-template-columns: 1fr; }
}
