@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Montserrat:wght@300;400&display=swap');

/* --- BASE DU SITE --- */
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #f9f7f2; 
    color: #4a4a4a; 
    margin: 0; 
    line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
    background: white;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 1000;
}

nav a {
    text-decoration: none;
    color: #bc986a;
    margin: 0 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- ENTÊTE (HERO) --- */
.hero {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
}

h1 { 
    font-family: 'Dancing Script', cursive; 
    font-size: 3.5rem; 
    color: #bc986a; 
    margin: 0; 
}

/* --- PHOTO DE SÉPARATION --- */
.photo-separator {
    width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0;
}

.photo-separator img {
    width: 100%;
    display: block;
    margin: 0 auto;
    border: none;
    border-radius: 0;
}

/* --- CONTENEUR PRINCIPAL --- */
.container { 
    max-width: 900px; 
    margin: 20px auto; 
    padding: 10px 20px; 
}

.container h2 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 300;
}

/* --- TEXTE D'INTRODUCTION --- */
.intro-text {
    text-align: center; 
    margin: 40px auto;
    max-width: 900px; /* Correction : ajout du point-virgule manquant */
}

.intro-text h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.4;
    color: #bc986a;
    margin: 0;
}

/* --- LIEN RSVP DANS LE TEXTE --- */
.link-rsvp {
    font-family: 'Dancing Script', cursive;
    color: #bc986a !important;
    text-decoration: none;
    border-bottom: 1.5px solid #bc986a;
    padding-bottom: 2px;
    font-size: 1.1em;
    transition: 0.3s;
    cursor: pointer;
}

.link-rsvp:hover {
    color: #a47e52 !important;
    border-bottom-color: #a47e52;
}

/* --- SECTION PROGRAMME --- */
.titre-programme {
    text-align: center; 
    font-weight: 400; 
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.container-programme {
    display: flex; /* Remplace le vieux display: table */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.item-programme {
    flex: 1;
    text-align: center;
}

.item-programme .heure {
    margin: 0; 
    font-size: 2.5rem;
    font-family: 'Dancing Script', cursive;
    color: #bc986a;
}

.item-programme .type-evenement {
    margin: 5px 0 10px 0; 
    color: #777;
    font-size: 1.3rem;
}

.item-programme img {
    height: 200px !important; /* TAILLE DES IMAGES ICI */
    width: auto !important;
    display: block;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- FORMULAIRES --- */
form { 
    background: white; 
    padding: 30px; 
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #bc986a;
}

input, select, textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #e1e1e1; 
    border-radius: 8px; 
    box-sizing: border-box; 
}

button { 
    background: #bc986a; 
    color: white; 
    border: none; 
    padding: 15px 30px; 
    border-radius: 25px; 
    width: 100%; 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.3s;
}

button:hover { background: #a47e52; }

/* --- PIED DE PAGE --- */
footer { 
    margin-top: 60px; 
    padding: 30px; 
    text-align: center; 
}

footer a { 
    color: #f9f7f2 !important; 
    text-decoration: none !important; 
    font-size: 0.7rem; 
}

footer a:hover { color: #bc986a !important; }