/* 1. CONFIGURATION GÉNÉRALE */
:root {
    --bg-color: #fdfbe2;
    --green-btn: #8cb85a;
    --green-hover: #7aa34c;
    --orange-card: #f5c469; /* Ta couleur unique */
}

body {
    margin: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    background-color: var(--bg-color);
    color: #333;
    overflow-x: hidden;
}

/* 2. HEADER & LOGO */
header {
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-area {
    margin-top: -100px;
    margin-bottom: -160px; /* Fait remonter les boutons sous le nuage */
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.logo-area img {
    height: 600px; 
    width: auto;
}

/* 3. NAVIGATION */
nav {
    position: relative; 
    z-index: 20; /* Plus haut que le logo pour cliquer */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 20px auto;
}

.btn-green {
    display: inline-block;
    background-color: var(--green-btn);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: none; /* Respecte tes majuscules HTML */
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(140, 184, 90, 0.3);
    transition: all 0.3s ease;
}

.btn-green:hover {
    background-color: var(--green-hover);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(140, 184, 90, 0.4);
}

/* 4. CONTENU PRINCIPAL (LES CARTES) */
.container {
    padding: 40px 70px;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;        /* Un peu moins d'espace entre les deux */
    width: 95%;       /* Prend presque toute la largeur sur petit écran */
    max-width: 1000px; /* RÉDUIT ICI (était à 1200px) : les cartes seront plus étroites */
    margin: 0 auto;
} 

/* Style UNIFIÉ pour toutes les cartes */
.card, .split-card {
    background-color: var(--orange-card);
    border-radius: 40px; 
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* --- RÉDUIT CETTE VALEUR --- */
    min-height: 300px; /* Était à 650px : elles seront plus courtes */
    
    color: #444;
    transition: all 0.4s ease-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;    /* Un peu plus de padding pour que le texte ne touche pas les bords */
}


.card:hover, .split-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* 5. TEXTE À L'INTÉRIEUR DES CARTES */
.card-content-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 300px; /* Garde l'aspect colonne verticale */
    margin: 0 auto;
}

.card-content-vertical h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #4b3d21;
}

.card-content-vertical p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* 6. MENU HAMBURGER */
.hamburger {
    position: fixed;
    top: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 100;
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--orange-card);
    margin: 5px 0;
    border-radius: 2px;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* 7. RESPONSIVE */
@media (max-width: 992px) {
    .container { padding: 40px 20px; }
}

@media (max-width: 768px) {
    .content-wrapper { flex-direction: column; } /* Les cartes s'empilent sur mobile */
    .logo-area img { height: 250px; }
    .logo-area { margin-top: 0; margin-bottom: -50px; }
}