/* Import d'une police élégante */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@100..900&display=swap');

* {
    box-sizing: border-box; /* Pour que les paddings ne fassent pas grandir vos blocs */
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #F9F7F2; /* Beige très clair comme Noé */
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Évite les petits espaces blancs sous les images */
}

button {
    -webkit-appearance: none; /* Enlève le style natif d'Apple */
    appearance: none;
}

header {
    padding: 10px 50px;
    background: rgba(255, 255, 255, 0.95); /* Blanc avec une légère transparence */
    
    /* Les lignes magiques pour bloquer le menu en haut : */
    position: -webkit-sticky; /* Pour les anciennes versions de Safari */
    position: sticky;
    top: 0;
    z-index: 1000; /* Pour que le menu passe au-dessus des images */
    
    /* Un petit trait léger en bas pour séparer du reste du site */
    border-bottom: 1px solid #eee; 
    
    /* Une petite ombre pour donner de la profondeur (comme sur Noé) */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);  
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

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

nav a {
    text-decoration: none;
    color: #4A5D4E; /* Vert sapin doux */
    font-weight: 500;
}

.hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #2C3E2D;
}

button {
    background-color: #4A5D4E;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px; /* Bouton arrondi style moderne */
    transition: 0.3s;
}

button:hover {
    background-color: #354538;
}

.products-section {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto; /* Pour centrer toute la section */
}

.products-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.product-grid {
    display: grid;
    /* Crée 3 colonnes de taille égale */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* L'espace entre les produits */
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 15px; /* Bords arrondis comme Noé */
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden; /* Force le contenu à rester à l'intérieur des bords arrondis */
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* "Trick" spécifique pour Safari */
}

.product-card:hover {
    transform: translateY(-5px); /* Petit effet de soulèvement au survol */
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 10px 0;
}

.price {
    color: #4A5D4E;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-add {
    background: none;
    border: 1px solid #4A5D4E;
    color: #4A5D4E;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-add:hover {
    background: #4A5D4E;
    color: white;
}

.about-section {
    padding: 100px 50px;
    background-color: #f3f0e9; /* Un beige un peu plus chaud pour différencier les sections */
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Aligne le texte au centre vertical de l'image */
    gap: 80px; /* Espace généreux entre l'image et le texte */
}

.about-image {
    flex: 1; /* L'image prend 50% de l'espace */
    overflow: hidden; /* Force le contenu à rester à l'intérieur des bords arrondis */
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* "Trick" spécifique pour Safari */
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover; /* Recadre l'image proprement sans la déformer */
    border-radius: 200px 200px 0 0; /* Un bord arrondi en haut (très "organique") */
}

.about-content {
    flex: 1; /* Le texte prend les autres 50% */
}

.about-content span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #8a9a8d;
    font-weight: bold;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 20px 0;
    line-height: 1.2;
}

.about-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.btn-link {
    color: #4A5D4E;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #4A5D4E;
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-link:hover {
    color: #2C3E2D;
    border-color: #2C3E2D;
}

.product-image img {
    width: 100%; /* L'image s'adapte à la largeur de la carte */
    height: 250px; /* On force une hauteur fixe pour que toutes les cartes soient alignées */
    object-fit: cover; /* L'image est recadrée proprement pour remplir les 250px */
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: 500px; /* Hauteur fixe */
    object-fit: cover; /* Recadrage magique */
}

/* Style de l'en-tête de page */
.page-header {
    background-color: #f3f0e9;
    padding: 80px 20px;
    text-align: center;
}

.header-content h1 {
    font-size: 3.5rem;
    margin: 20px 0;
}

/* Barre de détails rapides */
.quick-details {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px;
    border-bottom: 1px solid #eee;
    background: white;
}

.detail-item {
    text-align: center;
}

.detail-item strong {
    display: block;
    color: #4A5D4E;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Liste des étapes (Style PDF) */
.steps-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #cbd5cc; /* Un vert très clair pour le numéro */
}

.step-text h3 {
    margin-top: 10px;
    color: #2C3E2D;
}

.cta-section {
    text-align: center;
    padding-bottom: 100px;
}

footer {
    background-color: #2C3E2D; /* Le vert sapin foncé de Noé pour trancher avec le reste */
    color: #F9F7F2; /* Texte beige clair pour le contraste */
    padding: 60px 50px 20px 50px;
    margin-top: 0 !important; /* Espace avec le reste du contenu */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: flex-start;
    flex-wrap: wrap; /* Pour que ça s'adapte sur petit écran */
}

* On donne plus de poids à la colonne de gauche */
.logo-col {
    flex: 2; /* Prend deux fois plus de place que les autres */
}

/* On garde les colonnes de droite plus serrées */
.footer-col:not(.logo-col) {
    flex: 1;
    max-width: 200px; /* On les empêche de s'étaler pour qu'elles restent groupées à droite */
    margin-left: 50px; /* Crée l'espace de respiration avec le logo */
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    min-height: 2.5rem;
    align-items: center;
    display: flex;
    align-items: center;
    height: 60px; /* Hauteur fixe pour aligner les titres des colonnes */
    padding: 0 0 15px 0; /* On garde le padding pour le trait en dessous */
}

/* On garde VOTRE visuel spécifique pour le logo ici */
.footer-col h4.logo a {
    /* Remettez ici vos propriétés de police, taille et couleur habituelles */
    text-transform: uppercase; /* Exemple si vous l'aviez en majuscules */
    letter-spacing: 1px;
    font-weight: bold;
    border: none; /* Pour éviter de prendre le style souligné des h4 classiques si vous en avez un */
}

/* On applique le même traitement au h4 qui contient le logo */


.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5cc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px; /* Petit effet de mouvement au survol */
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: #8a9a8d;
}

.footer-email {
    color: #cbd5cc; /* La même couleur douce que les autres liens du footer */
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.footer-email:hover {
    color: white;
    text-decoration: underline; /* On peut ajouter un léger soulignement au survol pour montrer que c'est cliquable */
}

.footer-tel {
    color: #cbd5cc; /* La même couleur douce que les autres liens du footer */
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.footer-tel:hover {
    color: white;
    text-decoration: underline; /* On peut ajouter un léger soulignement au survol pour montrer que c'est cliquable */
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5cc;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-link img {
    /* On applique un léger filtre pour que l'icône soit un peu plus discrète au repos */
    filter: grayscale(100%) opacity(0.8);
    transition: 0.3s;
}

.whatsapp-link:hover {
    color: white;
}

.whatsapp-link:hover img {
    /* L'icône retrouve sa couleur d'origine au survol */
    filter: grayscale(0%) opacity(1);
}

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 768px) {
    
    /* 1. Le Header : on empile le logo et le menu */
    nav {
        flex-direction: column;
        gap: 15px;
    }

    /* 2. La Section Hero (Accueil) */
    h1 {
        font-size: 2.2rem; /* On réduit la taille des titres */
    }

    /* 3. La Grille de Produits : 1 seule colonne au lieu de 3 */
    .product-grid {
        grid-template-columns: 1fr; 
        padding: 0 10px;
    }

    /* 4. La Section À Propos : l'image passe au-dessus du texte */
    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-image img {
        height: 350px; /* On réduit un peu la hauteur de l'image */
        border-radius: 100px 100px 0 0;
    }

    /* 5. La Page Bilan : les étapes et les détails */
    .quick-details {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .step-number {
        font-size: 2rem;
        margin: 0 auto;
    }

    /* 6. Le Footer : on empile les colonnes */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

.resalib-booking {
    padding: 100px 20px;
    background-color: #F9F7F2; /* Fond beige Noé */
    display: flex;
    justify-content: center;
}

/* On s'assure que le lien qui entoure l'image centre bien son contenu */
.resalib-container {
    display: block; /* Permet de gérer les marges */
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
}

/* On stylise l'image pour qu'elle soit centrée et propre */
.resalib-badge {
    display: inline-block;
    max-width: 100%; /* Évite de déborder sur téléphone */
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Ombre plus douce style Noé */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.resalib-badge:hover {
    transform: scale(1.02); /* Petit effet au survol */
}

.cuisine-booking-section {
    padding: 100px 50px;
    background-color: white; /* On change de couleur pour séparer de Resalib */
}

.cuisine-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.cuisine-info {
    flex: 1;
}

.cuisine-info span {
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #8a9a8d;
    font-weight: bold;
}

.cuisine-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2C3E2D;
    margin: 20px 0;
}

.cuisine-details {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.cuisine-details li {
    margin-bottom: 15px;
    font-weight: 500;
    color: #4A5D4E;
}

/* Le Formulaire */
.cuisine-form {
    flex: 1;
    background: #F9F7F2;
    padding: 40px;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E2D;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DCD8D0;
    border-radius: 8px;
    background: white;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    background-color: #4A5D4E;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
}

.btn-submit:hover {
    background-color: #354538;
}

.form-footer {
    font-size: 0.85rem;
    color: #8a9a8d;
    text-align: center;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .cuisine-container {
        flex-direction: column;
        gap: 40px;
    }
}

.booking-card {
    max-width: 600px;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Ombre très légère */
}

.booking-card span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #8a9a8d;
    font-weight: bold;
}

.booking-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2C3E2D;
    margin: 20px 0;
}

.booking-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Le Bouton Style Noé */
.btn-resalib {
    display: inline-block;
    background-color: #4A5D4E; /* Vert signature */
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 93, 78, 0.2);
}

.btn-resalib:hover {
    background-color: #354538;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 93, 78, 0.3);
}

.booking-note {
    font-size: 0.85rem;
    color: #999 !important;
    margin-top: 25px;
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    background-color: #F9F7F2; /* Fond beige doux */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content span {
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: #8a9a8d;
    font-weight: bold;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Taille adaptative */
    margin: 20px 0;
    max-width: 800px;
}

.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: #4A5D4E;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary {
    border: 1px solid #4A5D4E;
    color: #4A5D4E;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
}

.service-image img {
    width: 100%;
    aspect-ratio: 4/5; /* Format vertical élégant */
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
}

.link-more {
    display: inline-block;
    margin-top: 15px;
    color: #4A5D4E;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.link-more:hover {
    border-bottom: 1px solid #4A5D4E;
}

/* --- PHILOSOPHY --- */
.home-philosophy {
    padding: 120px 20px;
    background-color: white;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.philosophy-content p {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.about-hero {
    padding: 100px 20px 60px;
    text-align: center;
    background-color: #F9F7F2;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero span {
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: #8a9a8d;
    font-weight: bold;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.values-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.values-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.values-list li::before {
    content: "•";
    color: #4A5D4E;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.about-cta {
    text-align: center;
    padding: 100px 20px;
    background-color: #2C3E2D;
    color: white;
}

.about-cta p {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

/* Adaptabilité mobile */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 40px;
    }
}

.timeline-section {
    padding: 80px 20px;
    background-color: white;
}

.timeline-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2C3E2D;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* La ligne verticale */
.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: #DCD8D0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%; /* On divise l'espace en deux */
    box-sizing: border-box;
}

/* Alternance gauche / droite */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* Le petit point sur la ligne */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    right: -6px;
    background-color: #4A5D4E;
    border: 2px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after { left: -6px; }

.timeline-date {
    font-weight: bold;
    color: #8a9a8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #2C3E2D;
    margin: 5px 0;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Mobile : tout remettre sur une colonne */
@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left !important; }
    .timeline-item::after { left: 25px !important; }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2C3E2D; /* Votre vert sapin foncé */
    color: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cookie-btns {
    display: flex;
    gap: 15px;
}

.btn-cookie-accept {
    background: #F9F7F2;
    color: #2C3E2D;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cookie-info {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    align-self: center;
}

/* Cache le bandeau une fois accepté */
.cookie-banner.hidden {
    display: none;
}

.footer-legal-link {
    color: #8a9a8d; /* La même couleur que le copyright */
    text-decoration: none;
    margin-left: 10px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.footer-legal-link:hover {
    color: white;
    text-decoration: underline;
}

.tools-section {
    padding: 100px 50px;
    background-color: #2C3E2D; /* Vert sapin foncé */
    color: #F9F7F2; /* Texte beige clair */
}

.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
    align-items: center;
    gap: 60px; 
}

.tools-text {
    flex: 1.2;
}

.tools-text span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #8a9a8d;
    font-weight: bold;
}

.tools-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #F9F7F2; /* Titre en beige clair */
    margin: 20px 0 30px 0;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.tools-list li {
    margin-bottom: 30px;
    border-left: 2px solid #4A5D4E; /* Petit trait vert plus clair à gauche */
    padding-left: 20px;
}

.tools-list li strong {
    display: block;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.tools-list li p {
    font-size: 0.95rem;
    color: #cbd5cc; /* Texte secondaire plus doux */
    line-height: 1.6;
}

.tools-image {
    flex: 0.8;
}

.tools-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    /* Optionnel : un filtre très léger pour intégrer l'image au vert */
    filter: sepia(20%) brightness(90%);
}

/* Version Mobile */
@media (max-width: 900px) {
    .tools-container {
        flex-direction: column;
        gap: 50px;
        padding: 0;
    }
    .tools-text h2 {
        font-size: 2.2rem;
    }
}

.tools-cta {
    width: 100%; 
    display: flex;
    justify-content: center; /* CENTRE LE BOUTON HORIZONTALEMENT */
    margin-top: 40px;
}

/* Le bouton inversé : Clair sur Foncé */
.btn-reverse {
    display: inline-block;
    padding: 18px 35px;
    background-color: #F9F7F2; /* Beige Noé */
    color: #2C3E2D !important; /* Texte Vert Sapin */
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #F9F7F2;
}

.btn-reverse:hover {
    background-color: transparent !important;
    color: #F9F7F2 !important; /* Le texte devient blanc/beige au survol */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
    .tools-cta {
        justify-content: center; /* Centre le bouton sur mobile */
        margin-bottom: 40px; /* Ajoute de l'espace avant l'image qui suit */
    }
}

/* On cible précisément le lien dans la section CTA pour être sûr qu'il gagne */
.about-cta .btn-reverse {
    display: inline-block !important;
    margin-top: 25px; /* Pour l'écarter du texte au-dessus */
    padding: 18px 35px;
    background-color: #F9F7F2 !important; /* Beige Noé */
    color: #2C3E2D !important; /* Texte Vert Sapin */
    text-decoration: none !important;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #F9F7F2;
    transition: 0.3s;
}

.about-cta .btn-reverse:hover {
    background-color: transparent !important;
    color: #F9F7F2 !important;
    transform: translateY(-3px);
}
/* On définit le style de base pour tous les boutons de contact du site */
.btn-reverse, .about-cta a.btn-reverse {
    display: inline-block !important;
    padding: 18px 35px !important;
    background-color: #F9F7F2 !important; /* Le beige Noé [cite: 1] */
    color: #2C3E2D !important; /* Le vert sapin [cite: 1] */
    text-decoration: none !important;
    font-weight: bold !important;
    border-radius: 50px !important;
    border: 2px solid #F9F7F2 !important;
    transition: 0.3s ease !important;
    cursor: pointer !important;
    margin-top: 20px;
}

.btn-reverse:hover, .about-cta a.btn-reverse:hover {
    background-color: transparent !important;
    color: #F9F7F2 !important;
    transform: translateY(-3px);
}

/* Titre de section pour la grille d'ateliers */
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2C3E2D;
}

.ateliers-grid {
    padding: 80px 50px;
    background-color: white;
}

/* On réutilise la structure de product-card mais on l'adapte pour du texte */
.ateliers-grid .product-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
    border: 1px solid #f3f0e9;
}

.ateliers-grid .product-card h3 {
    color: #4A5D4E;
    font-size: 1.4rem;
}

.ateliers-grid .product-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tarifs-section {
    padding: 100px 20px;
    background-color: #F9F7F2;
}

.tarifs-grid {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Force toutes les cartes à avoir la même hauteur */
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.tarif-card {
    flex: 1;
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Aligne le contenu harmonieusement */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* On garde la bordure pour la mise en avant, mais sans le changement de taille */
.tarif-card.highlight {
    border: 2px solid #4A5D4E;
}

/* L'animation au survol demandée */
.tarif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 62, 45, 0.12);
}

.tarif-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2C3E2D;
    margin-bottom: 20px;
}

.tarif-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4A5D4E;
    margin-bottom: 20px;
}

.tarif-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive : on empile uniquement quand l'écran devient trop étroit */
@media (max-width: 900px) {
    .tarifs-grid {
        flex-direction: column;
    }
    .tarif-card {
        height: auto;
    }
}

.image-mosaic {
    flex: 1.5;
    display: grid;
    /* Crée 6 colonnes virtuelles pour permettre des décalages */
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placement des images (Ligne 1 : 3 images) */
.item-1 { grid-column: 1 / 3; }
.item-2 { grid-column: 3 / 5; }
.item-3 { grid-column: 5 / 7; }

/* Placement des images (Ligne 2 : 2 images centrées) */
.item-4 { grid-column: 2 / 4; }
.item-5 { grid-column: 4 / 6; }

/* L'animation que vous avez validée */
.mosaic-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(44, 62, 45, 0.2);
    z-index: 10;
}