/* FONTS & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    background: #f7f9fc;
    color: #333;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .logo {
    font-size: 28px;
    font-weight: 700;
    color: #1D3A5F;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

nav a:hover {
    color: #1D3A5F;
}

/* HERO */
.hero {
    background: url('https://source.unsplash.com/1600x900/?light,christian') center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* BUTTONS */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    margin: 5px;
    display: inline-block;
}

.primary {
    color: #1D3A5F;
    border: 2px solid #1D3A5F;
}

.primary:hover {
    background: #15293F;
}

.secondary:hover {
    background: #1D3A5F;
    color: white;
}

/* SECTIONS */
section {
    padding: 60px;
    text-align: center;
}

section h2 {
    margin-bottom: 20px;
    color: #1D3A5F;
}

/* GALERIE */
.galerie .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.galerie img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}

/* FOOTER */
footer {
    background: #1D3A5F;
    color: white;
    text-align: center;
    padding: 20px;
}
/* BANNER */
.banner {
    background: url('https://source.unsplash.com/1600x500/?cross,light') center/cover no-repeat;
    padding: 100px 30px;
    text-align: center;
    color: white;
    position: relative;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.banner h1, .banner p {
    position: relative;
    z-index: 2;
}

/* PRESENTATION */
.presentation {
    background: #f7f9fc;
    padding: 60px 20px;
    text-align: center;
}

/* VALEURS */
.valeurs {
    padding: 60px 30px;
    background: #fff;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-top: 20px;
}

.valeur-item {
    padding: 20px;
    background: #f1f8f4;
    border-radius: 10px;
    border-left: 5px solid #1D3A5F;
}

.valeur-item h3 {
    color: #1D3A5F;
}

/* TEAM */
.equipe {
    padding: 60px 30px;
    background: #f7f7f7;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-card h3 {
    color: #1D3A5F;
}
/* PROGRAMME DE L'ANNEE */
.programme-annee {
    padding: 60px 30px;
    text-align: center;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.programme-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-left: 6px solid #1D3A5F;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.programme-card h3 {
    color: #1D3A5F;
    margin-bottom: 10px;
}

/* Variantes pour cartes programmes / retraites */
.programme-card--highlight {
    border: 2px solid #2c7a7b;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    background: #f0faf9;
}

.programme-card--past {
    opacity: 0.85;
}

.programme-card__image-top {
    margin-bottom: 10px;
    text-align: center;
}

.programme-card__image-top img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}
/* INFORMATIONS GENERAL RETRAITE */
.infos-retraite {
    padding: 60px 30px;
    text-align: center;
    background: #f7f9fc;
}

.infos-retraite ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    font-size: 18px;
    line-height: 32px;
}

/* PROGRAMME DETAILS */
.programme-details {
    padding: 60px 30px;
    text-align: center;
}

.jour {
    margin: 40px auto;
    padding: 20px;
    max-width: 700px;
    background: white;
    border-left: 6px solid #1D3A5F;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.jour h3 {
    margin-bottom: 15px;
    color: #1D3A5F;
}

.jour ul {
    list-style: none;
    padding: 0;
    line-height: 30px;
}

/* CONSEILS */
.conseils {
    padding: 60px 30px;
    background: #eef5ef;
    text-align: center;
}

.conseils ul {
    list-style: none;
    margin-top: 20px;
    line-height: 30px;
}
/* FORMULAIRE D'INSCRIPTION */
.form-section {
    padding: 60px 30px;
    max-width: 700px;
    margin: auto;
}

form {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #1D3A5F;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    background: #f9f9f9;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #1D3A5F;
    background: #fff;
}

.success-message {
    margin-top: 15px;
    font-weight: bold;
    color: #1D3A5F;
    display: none;
}
/* PAGE GALERIE */
.galerie-page {
    padding: 60px 30px;
    text-align: center;
}

.galerie-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.galerie-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.galerie-grid img:hover {
    transform: scale(1.03);
}


/* LIGHTBOX (image en grand) */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    width: 70%;
    max-width: 900px;
    border-radius: 10px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

#lightbox.active {
    display: flex;
}
/* CONTACT */
.contact-section {
    padding: 60px 30px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 40px;
}

.contact-form, .contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h2 {
    margin-bottom: 15px;
    color: #1D3A5F;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.success-message {
    margin-top: 20px;
    display: none;
    color: #1D3A5F;
    font-weight: bold;
}
