/* --- FORCE LIGHT MODE (Anti Dark-Mode) --- */
:root, html {
    color-scheme: light only !important; /* "only" est important pour Chrome/Samsung */
    -webkit-tap-highlight-color: transparent;
}

/* --- CONFIGURATION GENERALE --- */
body {
    background-color: #FFFFFF !important;
    color: #2D1709 !important;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Force le navigateur à ne pas inverser les couleurs */
    forced-color-adjust: none; 
}

.site-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
}

/* Tablette & Desktop */
@media (min-width: 768px) {
    .site-wrapper { padding: 0 30px; } /* Marge un peu plus large sur tablette */
}
@media (min-width: 1024px) {
    body { padding-top: 40px; }
    .site-wrapper { padding: 0 20px; }
}
@media (min-width: 1300px) { 
    .site-wrapper { padding: 0; } 
}


/* --- CORRECTION NETTETÉ LOGO & IMAGES --- */
.fix-pixelation {
    transform: none; 
    image-rendering: auto; 
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    height: auto;
}


/* --- TYPOGRAPHIE RESPONSIVE (Mobile -> Tablette -> Desktop) --- */

/* Titre Principal (Box 1) */
.text-h2-box1 { font-size: 2.8rem; line-height: 3rem; }
@media (min-width: 768px) { .text-h2-box1 { font-size: 3.2rem; line-height: 3.6rem; } } /* Tablette */
@media (min-width: 1024px) { .text-h2-box1 { font-size: 3.75rem; line-height: 4.375rem; } } /* Desktop */

/* Titre Slider (Desktop uniquement, caché sur tablette portrait) */
.text-h2-box2 { font-size: 3.5rem; line-height: 4rem; }

/* Headers des étapes */
.box-steps-header { font-size: 1.1rem; line-height: 1.5rem; }
@media (min-width: 1024px) { .box-steps-header { font-size: 1.25rem; } }

/* Titres des étapes */
.box-steps-title { font-size: 2.4rem; line-height: 2.6rem; }
@media (min-width: 768px) { .box-steps-title { font-size: 2.8rem; line-height: 3rem; } }
@media (min-width: 1024px) { .box-steps-title { font-size: 3.25rem; line-height: 3.75rem; } }

/* Footer des étapes */
.box-steps-footer { font-size: 1.6rem; }
@media (min-width: 1024px) { .box-steps-footer { font-size: 1.875rem; } }

/* Bloc Marine */
.box6-title { font-size: 2.5rem; line-height: 2.8rem; }
@media (min-width: 768px) { .box6-title { font-size: 2.8rem; line-height: 3rem; } }
@media (min-width: 1024px) { .box6-title { font-size: 3.125rem; line-height: 3.125rem; } }

.box6-subtitle { font-size: 2rem; line-height: 2.4rem; }
@media (min-width: 768px) { .box6-subtitle { font-size: 2.2rem; line-height: 2.6rem; } }
@media (min-width: 1024px) { .box6-subtitle { font-size: 2.5rem; line-height: 3.125rem; } }

/* Bloc Contact */
.box7-line1 { font-size: 1.4rem; line-height: 1.8rem; }
.box7-line2 { font-size: 2rem; line-height: 2.2rem; }
.box7-line3 { font-size: 2rem; }
@media (min-width: 1024px) {
    .box7-line1 { font-size: 1.875rem; line-height: 2.5rem; }
    .box7-line2 { font-size: 2.5rem; line-height: 2.8125rem; }
    .box7-line3 { font-size: 2.5rem; }
}

/* Bloc Localisation */
.box12-title { font-size: 2.5rem; line-height: 2.8rem; }
@media (min-width: 768px) { .box12-title { font-size: 2.8rem; line-height: 3rem; } }
@media (min-width: 1024px) { .box12-title { font-size: 3.125rem; line-height: 4.0625rem; } }

.box12-address { font-size: 2rem; line-height: 2.4rem; }
@media (min-width: 768px) { .box12-address { font-size: 2.2rem; line-height: 2.6rem; } }
@media (min-width: 1024px) { .box12-address { font-size: 2.5rem; line-height: 3.125rem; } }


/* --- COMPONENTS & ANIMATIONS --- */
.bento-reveal { opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.bento-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.bento-hover { transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease; cursor: default; }

/* HOVER ACTIVE UNIQUEMENT SUR DESKTOP (Pas sur tablette) */
@media (min-width: 1025px) { 
    .bento-hover:hover { 
        transform: translateY(-6px); 
        box-shadow: 0 15px 30px -10px rgba(45, 23, 9, 0.15); 
        z-index: 10; 
    }
}

/* MARQUEE */
.marquee-container { display: flex; overflow: hidden; user-select: none; width: 100%; }
.marquee-content { flex-shrink: 0; display: flex; gap: 2rem; counter-reset: item; justify-content: space-around; min-width: 100%; animation: scroll 40s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* SLIDER DESKTOP */
.slider-wrapper { perspective: 1000px; overflow: visible; position: relative; }
.slider-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 15px; object-fit: cover; transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1); opacity: 0; z-index: 0; transform: scale(1) translateX(0); }
.slider-card.active { opacity: 1; z-index: 20; }
.slider-card.next { opacity: 1; z-index: 10; }
.slider-card.prev { opacity: 0; z-index: 30; transform: translateX(-100px) scale(1.05); }

/* SLIDER MOBILE/TABLET DOTS */
.scroll-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.scroll-dot { width: 8px; height: 8px; background-color: rgba(45, 23, 9, 0.2); border-radius: 50%; transition: background-color 0.3s ease; }
.scroll-dot.active { background-color: #30B275; transform: scale(1.2); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* MENTIONS LEGALES */
.legal-content h2 { font-family: 'Young Serif', serif; font-size: 1.5rem; color: #2D1709; margin-top: 2rem; margin-bottom: 0.8rem; line-height: 1.1; }
@media (min-width: 1024px) { .legal-content h2 { font-size: 2rem; } }
.legal-content h3 { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.1rem; color: #30B275; margin-top: 1.2rem; }
@media (min-width: 1024px) { .legal-content h3 { font-size: 1.25rem; } }
.legal-content p, .legal-content li { font-family: 'Roboto', sans-serif; font-size: 0.95rem; line-height: 1.5; color: #2D1709; opacity: 0.9; }
@media (min-width: 1024px) { .legal-content p, .legal-content li { font-size: 1rem; } }
.legal-content ul { list-style-type: none; padding-left: 0; margin-bottom: 1.5rem; }
.legal-content li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; }
.legal-content li::before { content: "•"; color: #F16729; font-weight: bold; position: absolute; left: 0; font-size: 1.2rem; }

/* FORCE DESACTIVATION HOVER SUR MOBILE & TABLETTE */
@media (max-width: 1024px) {
    .hover\:scale-105:hover, 
    .group:hover .group-hover\:scale-110,
    .hover\:-rotate-3:hover, .hover\:rotate-3:hover, .hover\:rotate-6:hover,
    .hover\:translate-y-2:hover, .hover\:shadow-md:hover {
        transform: none !important; box-shadow: none !important;
    }
    .hover\:text-menthe:hover { color: inherit !important; }
}

/* --- AJOUTS POUR LA PAGE CONTACT --- */

/* Animation fade-in pour le message de succès */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   POPUP CONCEPT
   ========================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 23, 9, 0.7); /* Marron avec transparence */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    border: 4px solid var(--secondary-color); /* Bordure Jaune */
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--primary-color);
}

.popup-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.popup-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.popup-body p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.popup-steps {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    font-weight: bold;
    color: var(--accent-color); /* Vert menthe */
    font-family: 'Poppins', sans-serif;
}

.popup-cta {
    display: inline-block;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

