:root {
    --fond: #f9faf5;
    --dore: #cdaa42;
    --dore-clair: #e6c875;
    --rouge: #a6352a;
    --rouge-fonce: #8c2c23;
    --texte: #222;
    --texte-clair: #555;
    --blanc: #ffffff;
    --noir: #000000;
    --gris-clair: #f5f5f5;
    --gris: #e0e0e0;
    --transition: all 0.3s ease;
    --ombre: 0 5px 15px rgba(0, 0, 0, 0.08);
    --ombre-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --brown: #594a42
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--brown);
    background-color: var(--fond);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 1.1em;
}

/* === NAVIGATION FIXE === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    box-shadow: var(--ombre);
    z-index: 1000;
    transition: var(--transition);
}

.double-line-height {
    line-height: 2em;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container img {
    height: 92px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--texte);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--dore);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dore);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--rouge);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 30px;
    transition: var(--transition);
}

.cta-nav:hover {
    background-color: var(--rouge-fonce);
    transform: translateY(-2px);
}

.cta-nav::after {
    display: none;
}

/* === BOUTON HAMBURGER === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.hamburger div {
    height: 3px;
    background-color: var(--rouge);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: var(--transition);
}

.mobile-menu a {
    color: var(--texte);
    text-decoration: none;
    font-weight: 500;
    margin: 12px 0;
    padding: 8px 0;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--dore);
}

.mobile-menu .cta-nav {
    margin-top: 15px;
}

/* === HEADER === */
header {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover fixed no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 0 10px;
}

.header-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding-top: 10px;
}

header h1 {
    padding-top: 100px;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    letter-spacing: 1.5px;
}

header p {
    font-size: 1.4em;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--dore);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(205, 170, 66, 0.3);
    margin-top: 20px;
}

.cta-button:hover {
    background-color: var(--dore-clair);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(205, 170, 66, 0.4);
}

/* === COMPTE À REBOURS === */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.time-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.time-box span {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-box .label {
    font-size: 0.9em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === SECTIONS === */
section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 70px;
}

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

section h2 {
    color: var(--rouge);
    font-weight: 700;
    margin-bottom: 50px;
    font-size: 2.2em;
    text-align: center;
    position: relative;
}

section h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--dore);
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.bg-1 {
    background-color: var(--fond);
}

.bg-2 {
    background: linear-gradient(180deg, var(--fond), #faf9f5);
}

.bg-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover fixed no-repeat;
    color: white;
}

.bg-3 h2 {
    color: white;
}

.bg-3 h2::after {
    background: var(--dore);
}

.bg-4 {
    background: linear-gradient(135deg, var(--dore) 0%, var(--dore-clair) 100%);
    color: white;
}

.bg-4 h2 {
    color: white;
}

.bg-4 h2::after {
    background: white;
}

.bg-5 {
    background-color: var(--gris-clair);
}

.bg-6 {
    background-color: #ffffff;
}

/* === CARTES === */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ombre);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--ombre-hover);
}

.card-icon {
    background: var(--rouge);
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    color: var(--rouge);
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--brown);
}

.card-link {
    color: var(--dore);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    margin-top: auto;
}

.card-link:hover {
    color: var(--rouge);
    gap: 10px;
}

/* === LISTES === */
.objectifs ul,
.programme ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.objectifs li {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1em;
    color: var(--brown);
}

.programme li {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1em;
}

.objectifs li::before,
.programme li::before {
    content: "✓";
    color: var(--dore);
    position: absolute;
    left: 0;
    font-size: 1.5em;
    font-weight: bold;
    top: -7px;
}

.programme li::before {
    content: "●";
    top: -10px;
}

/* === CONTACT === */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--ombre);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-hover);
}

.contact-card i {
    font-size: 2.5em;
    color: var(--dore);
    margin-bottom: 20px;
}

.contact-card h3 {
    color: var(--rouge);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.contact-card p {
    color: var(--brown);
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--dore);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--rouge);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 60px 20px;
    background: var(--rouge);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 70px;
    filter: brightness(0) invert(1);
    margin: 0 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--dore);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 30px;
}

/* === ANIMATIONS === */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    header h1 {
        font-size: 2.2em;
    }

    header p {
        font-size: 1.2em;
    }

    .time-box {
        min-width: 80px;
        padding: 15px 10px;
    }

    .time-box span {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 12px 20px;
    }

    .logo-container img {
        height: 55px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    header h1 {
        font-size: 1.8em;
    }

    header p {
        font-size: 1.1em;
    }

    .time-box {
        min-width: 70px;
        padding: 12px 8px;
    }

    .time-box span {
        font-size: 1.8em;
    }

    section {
        padding: 80px 20px;
    }

    section h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 576px) {
    #countdown {
        gap: 10px;
    }

    .time-box {
        min-width: 60px;
        padding: 10px 5px;
    }

    .time-box span {
        font-size: 1.5em;
    }

    .time-box .label {
        font-size: 0.8em;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}