:root {
    --gold: #c5a059;
    --light-gold: #e2c275;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-dark: #2c2c2c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .date {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- NAVIGATION --- */
.navbar {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid var(--gold);
    background: var(--white);
    position: sticky;
    top: 0; 
    z-index: 1000;
}

.navbar ul { 
    list-style: none; 
    display: inline-flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    justify-content: center;
}

.navbar a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-size: 0.8rem; 
    transition: 0.3s; 
    font-weight: 500;
}

.navbar a:hover, .navbar a.active { color: var(--gold); }

/* --- HERO (ACCUEIL) --- */
.hero {
    height: 80vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)), url('../img/domaine.jpg') center/cover;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 20px; 
    border: 1px solid var(--gold); 
    max-width: 90%;
}

/* --- COMPTE À REBOURS --- */
.countdown-container { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.countdown-item span { display: block; font-size: 1.8rem; color: var(--gold); font-weight: bold; }
.countdown-item p { font-size: 0.65rem; text-transform: uppercase; }

/* --- SECTION INTRO (ACCUEIL) --- */
.intro { padding: 60px 20px; text-align: center; background: var(--white); }
.container-intro { max-width: 700px; margin: 0 auto; }
.container-intro p { font-family: 'Cinzel', serif; font-size: 1.1rem; font-style: italic; }
.separator { width: 60px; height: 1px; background: var(--gold); margin: 25px auto 0; }

/* --- BOUTONS --- */
.btn-gold {
    display: inline-block; 
    padding: 12px 25px; 
    background: var(--gold); 
    color: white;
    text-decoration: none; 
    font-family: 'Cinzel', serif; 
    transition: 0.4s; 
    border: 1px solid var(--gold);
    cursor: pointer;
    text-align: center;
}
.btn-gold:hover { background: transparent; color: var(--gold); }

/* --- PAGE PROGRAMME --- */
.programme-container {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.programme-container h1 { margin-bottom: 10px; }
.subtitle-form { margin-bottom: 40px; display: block; }

.timeline {
    margin-top: 50px;
    position: relative;
    display: block;
}

.timeline::before {
    content: ''; position: absolute; left: 50%; width: 2px; height: 100%;
    background: var(--gold); transform: translateX(-50%); z-index: 1;
}

.timeline-item { margin-bottom: 60px; position: relative; text-align: center; }

.timeline-date {
    font-family: 'Cinzel', serif;
    background: var(--white); 
    position: relative; 
    z-index: 5;
    padding: 0 15px; 
    color: var(--gold); 
    font-weight: bold; 
    font-size: 1.2rem;
    display: inline-block;
}

.timeline-content {
    background: white; 
    border: 1px solid var(--gold); 
    padding: 25px;
    max-width: 500px; 
    margin: 15px auto 0; 
    text-align: left; 
    position: relative; 
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- INFOS PRATIQUES & CONFIRMATION --- */
.info-section, .rsvp-section { padding: 40px 15px; background: var(--off-white); text-align: center; }
.container-small { max-width: 700px; margin: 0 auto; text-align: center; }
.container-small h1 { margin-bottom: 30px; }

.info-card {
    background: white; 
    padding: 30px; 
    border: 1px solid var(--gold);
    margin-bottom: 20px; 
    text-align: left;
}

.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd; 
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    background-color: var(--white);
}

/* --- SECTION LOGEMENT (HARMONISÉE) --- */
.logement-box {
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    background: none;
    border: none;
}

.main-label {
    color: var(--text-dark);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.note {
    font-size: 0.8rem;
    margin-bottom: 15px;
    font-style: italic;
    color: #888;
    line-height: 1.4;
}

.radio-option {
    display: flex;
    align-items: center; 
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--gold);
}

.radio-option label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    font-size: 1rem;
}

.sub-input {
    margin-left: 32px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.sub-input label {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}