/* ==========================================================================
   LE PASSEPORT SECRET DE L'ÉLITE MONDIALE
   Design System: Dark Luxury / Old Money Aesthetics (Mobile First Responsive)
   Palette: #0A0A0A (Deep Black), #121212 (Anthracite), #C5A059 (Muted Gold)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-primary: #0A0A0A;
    --bg-surface: #121212;
    --bg-surface-elevated: #181818;
    --bg-surface-card: #151515;

    --gold-primary: #C5A059;
    --gold-light: #DFC07D;
    --gold-dark: #98783A;
    --gold-glow: rgba(197, 160, 89, 0.25);
    --gold-border: rgba(197, 160, 89, 0.3);
    --gold-border-subtle: rgba(197, 160, 89, 0.15);

    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --text-muted: #666666;
    --text-gold: #C5A059;

    --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --font-serif-body: 'Cormorant Garamond', Garamond, Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.3s ease;

    --container-max: 1200px;
    --radius-subtle: 3px;
}

/* --- Global Reset & Box-Sizing --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Texture de fond subtile "Grain de luxe" */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

/* --- Typographie Universelle & Titres de Prestige --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}

/* Surtitre & Séparateurs dorés élégants */
.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-tag.centered {
    justify-content: center;
}

.section-tag .line {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary));
}

.section-tag .line:last-child {
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.section-tag .tag-text {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-primary);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   HEADER / NAVIGATION (TOTALEMENT INVISIBLE DU GRAND PUBLIC)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.12);
    transition: background var(--transition-smooth);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Le Monogramme "PS" sert de déclencheur secret pour l'admin (Triple-clic) */
.brand-monogram {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
    border-right: 1px solid var(--gold-border);
    padding-right: 12px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s, color 0.2s;
}

.brand-monogram:active {
    transform: scale(0.95);
    color: var(--gold-light);
}

.brand-name {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1.25;
}

.brand-name small {
    font-size: 0.55rem;
    color: var(--text-secondary);
    letter-spacing: 0.22em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    display: none;
}

@media (min-width: 860px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: 0.7rem;
        letter-spacing: 0.25em;
        color: var(--text-secondary);
    }
}

.nav-separator {
    color: var(--gold-border);
    opacity: 0.5;
}

.nav-item {
    transition: color var(--transition-smooth);
    cursor: pointer;
}

.nav-item:hover {
    color: var(--gold-light);
}

/* Sélecteur de langue bilingue */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid var(--gold-border-subtle);
    border-radius: 999px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    cursor: pointer;
    padding: 2px 4px;
    transition: color var(--transition-smooth);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--gold-primary);
}

.lang-divider {
    font-size: 0.65rem;
    color: var(--gold-border-subtle);
}

/* ==========================================================================
   BLOC 1 : HERO SECTION AVEC IMAGES LUMINEUSES & VISIBLES (CARROUSEL 5s)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    min-height: 90dvh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Carrousel d'images avec luminosité réhaussée et lisibilité parfaite */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
    filter: brightness(0.82) contrast(1.10);
    /* Luminosité et contraste éclatants */
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.04);
}

/* Overlay léger pour garantir la visibilité des paysages tout en assurant la lisibilité */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 50%, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.42) 55%, rgba(10, 10, 10, 0.25) 100%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.65) 0%, transparent 35%, rgba(10, 10, 10, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 740px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-content {
        margin-left: max(30px, calc((100% - var(--container-max)) / 2 + 30px));
        margin-right: 0;
    }
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.hero-title em {
    font-family: var(--font-serif-body);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
    text-shadow: 0 0 25px rgba(197, 160, 89, 0.5), 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    color: #F0F0F0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    max-width: 580px;
    margin-bottom: 36px;
}

/* Boutons de style Old Money / High Ticket */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 16px 32px;
    min-height: 48px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    border: none;
    outline: none;
}

.btn-ghost {
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(8px);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.btn-ghost:hover,
.btn-ghost:active {
    background: rgba(197, 160, 89, 0.18);
    color: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 28px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-ghost .chevron-down {
    transition: transform var(--transition-smooth);
}

.btn-ghost:hover .chevron-down {
    transform: translateY(3px);
}

/* ==========================================================================
   BLOC 2 : LE MANIFESTE
   ========================================================================== */
.manifesto-section {
    position: relative;
    padding: 80px 20px;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--gold-border-subtle);
    border-bottom: 1px solid var(--gold-border-subtle);
}

.manifesto-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-content {
    margin-top: 30px;
}

.manifesto-paragraph {
    font-family: var(--font-serif-body);
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 22px;
    font-weight: 400;
}

.manifesto-highlight {
    font-family: var(--font-serif-body);
    font-style: italic;
    font-size: clamp(1.25rem, 2.8vw, 1.7rem);
    line-height: 1.8;
    color: var(--gold-light);
    margin-top: 28px;
    padding: 24px 0;
    position: relative;
}

.manifesto-highlight::before,
.manifesto-highlight::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gold-border);
}

.manifesto-highlight::before {
    top: 0;
}

.manifesto-highlight::after {
    bottom: 0;
}

/* ==========================================================================
   BLOC 3 : L'APERÇU (FEATURES GRID CLAIR & NET)
   ========================================================================== */
.features-section {
    padding: 80px 20px;
    background-color: var(--bg-surface);
    position: relative;
}

.features-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 880px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.feature-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--gold-border-subtle);
    border-radius: var(--radius-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.08);
}

.card-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #0d0d0d;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.88) contrast(1.10);
    /* Image de carte claire et visible */
    transition: transform var(--transition-slow), filter var(--transition-smooth);
}

.feature-card:hover .card-img {
    transform: scale(1.06);
    filter: brightness(0.98) contrast(1.12);
}

.card-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(21, 21, 21, 0.92) 100%);
}

.card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-smooth);
}

.feature-card:hover .card-icon {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--gold-primary);
    box-shadow: 0 0 16px var(--gold-glow);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================================================
   BLOC 4 : LE SAS DE SÉCURITÉ & VRAI PASSEPORT EN CUIR NOIR EMBOSSÉ OR
   ========================================================================== */
.application-section {
    padding: 80px 20px;
    background-color: var(--bg-primary);
    position: relative;
}

.application-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.application-box {
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-subtle);
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(197, 160, 89, 0.06);
    overflow: hidden;
    position: relative;
}

@media (min-width: 920px) {
    .application-box {
        grid-template-columns: 1fr 1fr;
    }
}

/* Côté Gauche : VRAI PASSEPORT FERMÉ EN CUIR NOIR SUR MARBRE (INLINE SVG) */
.application-visual {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #151515 0%, #070707 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px 16px;
    border-bottom: 1px solid var(--gold-border-subtle);
    min-height: 380px;
}

@media (min-width: 920px) {
    .application-visual {
        padding: 36px 28px;
        min-height: 600px;
        border-bottom: none;
        border-right: 1px solid var(--gold-border-subtle);
    }
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Carte & Photographie Haute Couture du Livret de Passeport */
.passport-photo-card {
    position: relative;
    width: 100%;
    border-radius: var(--radius-subtle);
    overflow: hidden;
    background: #080808;
    border: 1px solid var(--gold-border);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(197, 160, 89, 0.18);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.passport-photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-slow);
}

.passport-gold-halo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: var(--radius-subtle);
    background: radial-gradient(circle at 50% 35%, rgba(197, 160, 89, 0.12) 0%, transparent 65%);
    transition: opacity var(--transition-slow);
}

.application-box:hover .passport-photo-card {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.98), 0 0 45px rgba(197, 160, 89, 0.32);
    border-color: rgba(197, 160, 89, 0.65);
}

.application-box:hover .passport-photo-img {
    transform: scale(1.035);
}

.application-box:hover .passport-gold-halo {
    opacity: 0.85;
}

.visual-badge {
    margin-top: 18px;
    padding: 12px 18px;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(6px);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-subtle);
    text-align: center;
    width: 100%;
}

.badge-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.badge-sub {
    display: block;
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    line-height: 1.6;
}

/* Côté Droit : Formulaire */
.application-form-wrapper {
    padding: 36px 20px;
    background-color: var(--bg-surface);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    scroll-margin-top: 85px;
}

@media (min-width: 768px) {
    .application-form-wrapper {
        padding: 54px 44px;
    }
}

.form-header {
    margin-bottom: 30px;
}

.form-tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 10px;
}

.form-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.form-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* Champs du formulaire */
.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
    transition: color var(--transition-smooth);
}

.input-icon {
    color: var(--gold-primary);
    opacity: 0.85;
    flex-shrink: 0;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gold-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    padding: 12px 4px;
    outline: none;
    transition: all var(--transition-smooth);
    border-radius: 0;
}

.textarea-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 6px;
    gap: 12px;
}

.char-counter {
    font-size: 0.74rem;
    font-family: monospace;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: color var(--transition-smooth);
    margin-left: auto;
    white-space: nowrap;
    padding-top: 2px;
}

.char-counter.active {
    color: var(--gold-primary);
}

.char-counter.limit-near {
    color: #FFB74D;
    font-weight: 600;
}

.char-counter.limit-reached {
    color: #E57373;
    font-weight: 700;
}

.form-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gold-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 12px 4px;
    outline: none;
    transition: all var(--transition-smooth);
    border-radius: 0;
    resize: vertical;
    min-height: 95px;
    line-height: 1.6;
}

.form-textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 300;
}

.form-textarea:focus {
    border-bottom: 2px solid var(--gold-light);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.15);
    color: #FFFFFF;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 300;
}

.form-input:focus {
    border-bottom: 2px solid var(--gold-light);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.15);
    color: #FFFFFF;
}

.form-group:focus-within .input-label {
    color: var(--gold-light);
}

.field-error {
    font-size: 0.72rem;
    color: #E57373;
    margin-top: 5px;
    min-height: 16px;
    display: block;
}

/* Clause de Confidentialité Stricte */
.confidentiality-clause {
    margin-top: 6px;
    padding: 16px;
    background: rgba(10, 10, 10, 0.65);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--radius-subtle);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    background: transparent;
    border: 1px solid var(--gold-primary);
    border-radius: 2px;
    position: relative;
    transition: all var(--transition-smooth);
}

.checkbox-container input:checked~.custom-checkbox {
    background-color: var(--gold-primary);
    border-color: var(--gold-light);
    box-shadow: 0 0 12px var(--gold-glow);
}

.custom-checkbox::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #0A0A0A;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.custom-checkbox::after {
    display: block;
}

.clause-text {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.clause-text strong {
    color: #FFFFFF;
    font-weight: 500;
}

.clause-affirmation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-light);
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gold-primary);
    box-shadow: 0 0 6px var(--gold-glow);
}

/* Bouton de Soumission Doré */
.submit-wrapper {
    margin-top: 10px;
}

.btn-gold {
    width: 100%;
    background: linear-gradient(135deg, #C5A059 0%, #D8B772 50%, #B8924A 100%);
    color: #0A0A0A;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.25);
    border-radius: 4px;
    padding: 16px 20px;
    min-height: 52px;
    transition: all var(--transition-smooth);
}

.btn-gold:not(.btn-inactive):hover,
.btn-gold:not(.btn-inactive):active {
    background: linear-gradient(135deg, #D4AF66 0%, #E6C887 50%, #C8A359 100%);
    box-shadow: 0 6px 30px rgba(197, 160, 89, 0.55);
    transform: translateY(-2px);
}

/* État grisé / inactif tant que la case de confidentialité n'est pas cochée */
.btn-gold.btn-inactive {
    background: #242424 !important;
    color: #7A7A7A !important;
    border: 1px solid #3A3A3A !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.65;
    cursor: pointer;
}

.btn-gold.btn-inactive .btn-arrow {
    stroke: #666666 !important;
}

.btn-gold:not(.btn-inactive) .btn-arrow {
    stroke: #0A0A0A;
}

.btn-gold:not(.btn-inactive):hover .btn-arrow {
    transform: translateX(5px);
}

/* Surbrillance et vibration douce sur champ incomplet */
.form-input.field-error-highlight,
.form-textarea.field-error-highlight {
    border-bottom: 2px solid #E57373 !important;
    box-shadow: 0 4px 16px rgba(229, 115, 115, 0.2) !important;
    animation: fieldFocusShake 0.4s ease-in-out;
}

@keyframes fieldFocusShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

.spinner {
    animation: rotateSpinner 1s linear infinite;
}

@keyframes rotateSpinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.btn-arrow {
    transition: transform var(--transition-smooth);
}

.submission-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   BLOC 5 : L'ÉTAT DE SUCCÈS (POST-SOUMISSION)
   ========================================================================== */
.application-success-wrapper {
    position: relative;
    grid-column: 1 / -1;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #0D0D0D;
    animation: fadeInSuccess 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-backdrop-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.silhouette-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) contrast(1.25);
}

.silhouette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(13, 13, 13, 0.94) 0%, rgba(13, 13, 13, 0.88) 60%, rgba(13, 13, 13, 0.96) 100%);
}

.success-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.success-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 30px var(--gold-glow);
    margin-bottom: 24px;
    animation: pulseBadge 3s infinite ease-in-out;
}

@keyframes pulseBadge {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(197, 160, 89, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 45px rgba(197, 160, 89, 0.45);
        transform: scale(1.03);
    }
}

.success-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.success-body {
    margin-bottom: 30px;
}

.success-lead {
    font-family: var(--font-serif-body);
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 14px;
    line-height: 1.6;
}

.success-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.success-text strong {
    color: #FFFFFF;
    font-weight: 500;
}

.dossier-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-subtle);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
}

.dossier-label {
    color: var(--text-muted);
}

.dossier-id {
    color: var(--gold-primary);
    font-weight: 600;
    font-family: var(--font-sans);
}

/* ==========================================================================
   FOOTER (100% DISCRET & CONFIDENTIEL)
   ========================================================================== */
.footer {
    padding: 50px 20px;
    background-color: #070707;
    border-top: 1px solid rgba(197, 160, 89, 0.12);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 900px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-monogram {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold-primary);
    font-weight: 600;
}

.footer-name {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.footer-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    opacity: 0.85;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-btn {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.legal-btn:hover {
    color: var(--gold-light);
}

.legal-separator {
    opacity: 0.3;
    color: var(--text-muted);
}

/* ==========================================================================
   MODALE CHARTE DE CONFIDENTIALITÉ & MENTIONS LÉGALES (DARK LUXURY)
   ========================================================================== */
.legal-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease forwards;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.legal-modal-window {
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-subtle);
    max-width: 820px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px var(--gold-glow);
    overflow: hidden;
}

.legal-modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--gold-border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(14, 14, 14, 0.95);
}

.legal-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-monogram {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--gold-primary);
    font-weight: 700;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #FFFFFF;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal:hover {
    color: var(--gold-light);
}

.legal-modal-body {
    padding: 28px;
    overflow-y: auto;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #0E0E0E;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: var(--gold-border);
    border-radius: 3px;
}

.charte-article {
    margin-bottom: 24px;
}

.charte-article-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-light);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.legal-modal-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--gold-border-subtle);
    background: rgba(14, 14, 14, 0.95);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

@media (min-width: 640px) {
    .legal-modal-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

.legal-protocol-seal {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--gold-primary);
    opacity: 0.85;
}

.btn-ack {
    background: linear-gradient(135deg, #C5A059, #DFC07D);
    color: #0A0A0A;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 10px 22px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ack:hover {
    box-shadow: 0 0 16px var(--gold-glow);
}

/* ==========================================================================
   ANIMATIONS & SCROLL BEHAVIOR
   ========================================================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}