/* --- PANEL ADMIN --- */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 32px 40px 24px 40px;
    margin-bottom: 32px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    backdrop-filter: blur(var(--glass-blur));
}
.admin-header h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-green);
    margin: 0;
}
.admin-login-btn, .admin-logout-btn {
    background: #fff;
    color: var(--primary-green);
    border: 1px solid var(--accent-lime);
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(163,230,53,0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.admin-login-btn:hover, .admin-logout-btn:hover {
    background: var(--accent-lime);
    color: #fff;
}
#admin-avis-section {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    padding: 32px 32px 24px 32px;
}
#admin-avis-section h2 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 18px;
    text-align: center;
}
#admin-avis-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
#admin-avis-form input[type="text"],
#admin-avis-form textarea {
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    background: #fff;
    color: var(--primary-green);
    resize: none;
}
#admin-avis-form input[type="file"] {
    font-size: 1rem;
    color: var(--primary-green);
}
#admin-avis-form button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: background 0.2s;
}
#admin-avis-form button:hover {
    background: var(--accent-lime);
    color: var(--primary-green);
}
#admin-avis-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.avis-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(45,90,69,0.07);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.avis-item strong {
    color: var(--primary-green);
    font-size: 1.1rem;
}
.avis-item p {
    color: var(--bg-dark);
    margin: 0 0 4px 0;
}
.avis-photo {
    max-width: 120px;
    max-height: 80px;
    border-radius: 6px;
    margin-top: 6px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}
.avis-item .supprimer-avis {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    color: #e53e3e;
    border: 1px solid #e53e3e;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.avis-item .supprimer-avis:hover {
    background: #e53e3e;
    color: #fff;
}
/* --- RESET & VARIABLES --- */
:root {
    --bg-dark: #0d1f18;
    --primary-green: #2d5a45;
    --accent-lime: #a3e635;
    --text-light: #f3f4f6;
    --text-dim: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: 20px;
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* --- LOADER --- */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.loader-logo {
    width: 150px;
    height: auto;
    animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--accent-lime);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 2px;
    animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

/* --- DÉCORATIONS D'ARRIÈRE-PLAN --- */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    background: var(--accent-lime);
    animation: pulse-blob 8s infinite alternate ease-in-out;
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -50px;
    background: #4ade80;
}

.blob-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 10%;
    opacity: 0.1;
}

@keyframes pulse-blob {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.3;
    }
}

/* --- DÉCORATION DE SECTION --- */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-lime);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* --- EFFETS SUR LES CARTES --- */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover i {
    transform: scale(1.2) rotate(10deg);
    transition: 0.3s transform ease;
}

/* --- FEUILLAGES DÉCORATIFS --- */
.floating-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.leaf-decor {
    position: absolute;
    color: var(--accent-lime);
    opacity: 0.1;
    font-size: 4rem;
    pointer-events: none;
}

.l-1 {
    top: 15%;
    left: -20px;
    transform: rotate(45deg);
    font-size: 6rem;
}

.l-2 {
    top: 60%;
    right: -20px;
    transform: rotate(-30deg);
    font-size: 5rem;
}

.l-3 {
    top: 40%;
    left: 5%;
    transform: rotate(15deg);
    font-size: 3rem;
    opacity: 0.05;
}

.l-4 {
    bottom: 10%;
    right: 5%;
    transform: rotate(-110deg);
    font-size: 4rem;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

/* Styles desktop uniquement */
@media (min-width: 993px) {
    .navbar {
        top: 20px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 94%;
        max-width: 1380px;
        padding: 15px 24px;
        border-radius: 100px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        backdrop-filter: blur(var(--glass-blur));
    }

    .navbar.shrunk {
        top: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 10px 40px;
        background: rgba(13, 31, 24, 0.98);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: height 0.4s ease;
}

.navbar.shrunk .logo-img {
    height: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

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

.btn-cta {
    background: var(--text-light);
    color: var(--bg-dark) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    text-decoration: none;
    border: none;
    outline: none;
    display: inline-block;
    white-space: nowrap;
    transition: 0.3s;
}

.btn-cta:hover {
    background: var(--accent-lime);
    transform: translateY(-2px);
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 31, 24, 0.2), var(--bg-dark)), url('/images/background.png') center/cover;
    z-index: -1;
    filter: blur(10px);
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content em {
    color: var(--accent-lime);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-dim);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-lime);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(163, 230, 53, 0.4);
}

/* --- INDICATEUR SCROLL MOUSE --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 10;
    animation: mouse-bounce 2s infinite ease-in-out;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-lime);
    border-radius: 2px;
    animation: scroll-wheel 1.6s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes mouse-bounce {
    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

/* --- VAGUE BLANCHE --- */
.wave-divider {
    position: relative;
    width: 100%;
    height: 100px;
    background: var(--bg-dark);
    line-height: 0;
    margin-top: -2px;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
}


/* --- SECTION À PROPOS (FOND BLANC) --- */
.about-section-white {
    background-color: #ffffff !important;
    padding: 100px 0;
    color: #1a3b2f !important;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-logo-big {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.about-content h2 {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    color: #1a3b2f;
    margin-bottom: 25px;
}

.about-content em {
    color: #65a30d;
}

.about-content p {
    color: #4b5563;
    margin-bottom: 20px;
}

.sub-title {
    display: block;
    color: #65a30d;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.about-features {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.feat strong {
    font-size: 1.8rem;
    color: #1a3b2f;
    font-family: var(--font-serif);
}

.feat span {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 28px;
    border: 2px solid #1a3b2f;
    color: #1a3b2f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-secondary-dark:hover {
    background: #1a3b2f;
    color: #fff;
}

/* --- ABOUT FEATURES (BOXES) --- */
.about-features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.feat {
    background: var(--glass-bg); /* Ton effet de transparence */
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.feat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-lime);
}

.feat-emoji {
    font-size: 1.5rem;
}

.feat-content {
    display: flex;
    flex-direction: column;
}

.feat strong {
    font-size: 1.2rem;
    color: var(--accent-lime);
    line-height: 1;
}

.feat span {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* --- SERVICES --- */
.services-section-white {
    background-color: #ffffff !important;
    padding: 100px 0;
    color: #1a3b2f !important;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
}

.services-section-white .section-title {
    color: #1a3b2f;
}

.services-section-white .section-title::after {
    background: #65a30d;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    transition: transform 0.3s ease, background 0.3s ease;
    border-top: 1px solid rgba(45, 90, 69, 0.2);
}

.services-section-white .card {
    background: rgba(45, 90, 69, 0.03);
    border: 1px solid rgba(45, 90, 69, 0.1);
}

.card:hover {
    transform: translateY(-10px);
}

.services-section-white .card:hover {
    background: rgba(45, 90, 69, 0.08);
    box-shadow: 0 15px 40px rgba(45, 90, 69, 0.15);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent-lime);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.services-section-white .card i {
    color: #65a30d;
}

.services-section-white .card h3 {
    color: #1a3b2f;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.services-section-white .card p {
    color: #4b5563;
    line-height: 1.7;
}

.card .badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 18px;
}

.section-intro {
    max-width: 780px;
    margin: -30px auto 50px;
    text-align: center;
    line-height: 1.7;
    color: #4b5563;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #1a3b2f;
    text-decoration: none;
    font-weight: 600;
}

.card-link:hover {
    color: #65a30d;
}

.card-link i {
    margin: 0;
    font-size: 1rem;
    color: #65a30d !important;
}

.card-sap {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(163, 230, 53, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(45, 90, 69, 0.04), rgba(45, 90, 69, 0.08));
}

.services-section-white .card.card-sap {
    padding: 32px;
    border-color: rgba(101, 163, 13, 0.22);
}

.sap-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sap-card-content h3 {
    margin-bottom: 14px;
}

.sap-card-media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    margin: 0 0 18px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(45, 90, 69, 0.08);
}

.sap-card-image {
    width: min(100%, 215px);
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 24px rgba(13, 31, 24, 0.14));
}

.sap-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    width: 100%;
    margin-bottom: 16px;
}

.sap-topline .badge {
    margin-bottom: 0;
    white-space: nowrap;
    flex: 0 0 auto;
}

.sap-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    flex: 1 1 420px;
}

.sap-highlights span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(101, 163, 13, 0.1);
    border: 1px solid rgba(101, 163, 13, 0.18);
    color: #2d5a45;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
}

.services-section-white .card.card-sap p {
    margin-bottom: 10px;
    line-height: 1.55;
}

.services-section-white .card .sap-note {
    color: #355646;
    font-weight: 500;
    margin-bottom: 0;
}

.sap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.sap-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    min-height: 46px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.sap-button span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.sap-button-primary {
    background: #1a3b2f;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(26, 59, 47, 0.14);
}

.sap-button-primary:hover {
    transform: translateY(-3px);
    background: #244b3c;
}

.sap-button-secondary {
    background: rgba(101, 163, 13, 0.12);
    border: 1px solid rgba(101, 163, 13, 0.24);
    color: #2d5a45;
}

.sap-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(101, 163, 13, 0.14);
    background: rgba(101, 163, 13, 0.18);
}

/* --- CAROUSEL GALERIE --- */
.carousel-container {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 20px 30px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-lime);
}

.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 60%;
    max-width: 400px;
    position: relative;
}

.section-separator::before,
.section-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-lime), transparent);
}

.section-separator i {
    color: var(--accent-lime);
    font-size: 1.2rem;
    margin: 0 15px;
    opacity: 0.6;
}

/* --- REVIEWS --- */

.stars {
    display: flex;
    gap: 4px;
    margin: 12px 0;
    color: #fbbf24; /* Un doré chaud qui ressort bien */
    font-size: 0.85rem;
}

.review-action {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 150px; /* Pour le rapprocher du titre */
    margin-bottom: 40px;
}

.google-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-lime);
    color: var(--text-light);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.google-review-btn i {
    color: var(--accent-lime);
    font-size: 1.1rem;
}

.google-review-btn:hover {
    background: var(--accent-lime);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(163, 230, 53, 0.2);
}

.google-review-btn:hover i {
    color: var(--bg-dark);
}

.secondary-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(163, 230, 53, 0.14);
    border: 1px solid rgba(163, 230, 53, 0.35);
    color: var(--text-light);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.secondary-review-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.secondary-review-btn i {
    color: var(--accent-lime);
}

#reviews .section-title {
    margin-bottom: 50px;
}

#reviews {
    padding-bottom: 50px;
}

.marquee-wrapper {
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    display: flex;
    flex-direction: column;
    gap: 40px; 
    overflow: hidden;
    padding: 20px 0;
    margin-bottom: 30px;
}

.marquee {
    display: flex;
    gap: 30px;
    width: max-content;
}

.marquee.left {
    animation: slideLeft 40s linear infinite;
}

.marquee.right {
    animation: slideRight 40s linear infinite;
}

.review-card {
    width: 350px;
    padding: 30px;
    flex-shrink: 0;
}

.review-card strong {
    display: block;
    margin-top: 15px;
    color: var(--accent-lime);
    font-family: var(--font-serif);
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

@keyframes slideRight {
    0% { transform: translateX(calc(-50% - 15px)); }
    100% { transform: translateX(0); }
}


/* --- DESIGN CONTACT ULTRA MODERNE --- */
.contact-modern-white {
    background: #ffffff !important;
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

/* Côté texte */
.contact-info-side h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #1a3b2f;
    line-height: 1.1;
    margin: 20px 0;
}

.text-gradient {
    color: #65a30d;
    font-style: italic;
    font-family: var(--font-serif);
}

.badge {
    background: rgba(101, 163, 13, 0.1);
    color: #65a30d;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-text {
    color: #65a30d;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Côté Formulaire */
.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.floating-group {
    position: relative;
}

.floating-group input, 
.floating-group select, 
.floating-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    background: transparent;
    font-size: 1rem;
    color: #1a3b2f;
    transition: all 0.3s ease;
    border-radius: 0;
}

.floating-group select {
    min-height: 56px;
    padding-top: 22px;
    padding-bottom: 8px;
    cursor: pointer;
}

.floating-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.floating-group select ~ label {
    top: 10px;
}

/* Effet Floating Label */
.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group textarea:focus ~ label,
.floating-group textarea:not(:placeholder-shown) ~ label,
.floating-group select:focus ~ label,
.floating-group select:valid ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: #65a30d;
    font-weight: 700;
}

.floating-group input:focus, 
.floating-group textarea:focus, 
.floating-group select:focus {
    outline: none;
    border-bottom-color: #1a3b2f;
}

/* Bouton Ultra Moderne */
.btn-ultra-modern {
    align-self: flex-start;
    background: #1a3b2f;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-ultra-modern:hover {
    background: #65a30d;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}


.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-box input,
.input-box select,
.input-box textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.select-wrapper {
    position: relative;
}

.file-upload-wrapper {
    height: 60px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-wrapper input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
}

.file-info {
    display: block;
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.btn-submit {
    padding: 15px;
    background: var(--text-light);
    color: var(--bg-dark);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent-lime);
    transform: translateY(-2px);
}

/* --- VAGUE VERS FOOTER --- */
.wave-divider-bottom {
    line-height: 0;
    font-size: 0;
    /* On force la couleur du footer ici pour que le "vide" sous la vague soit sombre */
    background-color: var(--bg-dark) !important;
    margin-top: -1px; /* Evite le micro-filet blanc */
    width: 100%;
}

.wave-divider-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
    /* Le 'fill' du path dans le HTML doit être #ffffff pour que le haut soit blanc */
}

/* On s'assure que la section contact ne rajoute pas d'espace en bas */
.contact-modern-white {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--bg-dark)  !important;
    border-top: none !important; /* Supprime le trait de bordure */
    box-shadow: none !important; /* Supprime une éventuelle ombre interne */
    margin-top: 0 !important;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-img-footer {
    height: 80px;
    margin-bottom: 15px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.footer-mail, .footer-tel {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-mail:hover, .footer-tel:hover {
    color: var(--accent-lime);
}

/* On s'assure que le texte du dessus ne gêne pas */
.footer-brand p {
    margin-bottom: 5px;
}

.footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--accent-lime);
}

.footer-links,
.footer-areas,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer h4 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #111;
    color: #555;
}

.footer-bottom p {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap; /* Permet le retour à la ligne automatique */
}

@media (max-width: 768px) {
    .footer-bottom p {
        flex-direction: column; /* Aligne verticalement sur mobile */
        align-items: center;
        gap: 10px; /* Un peu plus d'espace entre les deux lignes */
        text-align: center;
    }
}

.webnify-link {
    color: var(--accent-lime);
    text-decoration: none;
    font-weight: 700;
}

.heart {
    color: #ff4d4d; /* Un joli rouge pour le cœur */
    display: inline-block;
    padding: 0 2px;
}

/* --- REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.delay-4 {
    transition-delay: 0.32s;
}

@media (min-width: 1100px) {
    .card-sap {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
        gap: 28px;
        align-items: center;
    }

    .card-sap .sap-card-media {
        min-height: 100%;
        margin: 0;
        padding: 18px;
    }

    .card-sap .sap-card-image {
        width: min(100%, 230px);
    }

    .card-sap .sap-card-content h3 {
        font-size: 1.65rem;
    }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .bg-decorations,
    .floating-leaves {
        display: none !important;
    }

    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px 15px !important;
        border-radius: 0 !important;
        background: rgba(13, 31, 24, 0.98) !important;
        backdrop-filter: blur(var(--glass-blur)) !important;
        border: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .navbar.shrunk {
        padding: 12px 15px !important;
        top: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
    }

    .hero {
        padding-top: 60px;
    }

    .logo a {
        display: flex;
        align-items: center;
    }

    .logo-img {
        height: 35px !important;
        width: auto !important;
    }

    .navbar.shrunk .logo-img {
        height: 35px !important;
    }

    .nav-links {
        position: fixed !important;
        right: 0 !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
        background: var(--bg-dark) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 30px !important;
        transform: translateX(100%) !important;
        transition: transform 0.4s ease-in-out !important;
        z-index: 999 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .nav-links.nav-active {
        transform: translateX(0%) !important;
    }

    .nav-links li {
        opacity: 0;
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        display: block;
        padding: 15px;
        width: 100%;
    }

    .btn-cta {
        font-size: 1.3rem !important;
        padding: 12px 30px !important;
        display: inline-block !important;
        width: auto !important;
    }

    .burger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000 !important;
        cursor: pointer !important;
        padding: 8px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        position: relative !important;
        width: 40px !important;
        height: 40px !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .burger div {
        width: 25px !important;
        height: 2px !important;
        background-color: var(--text-light) !important;
        margin: 3px 0 !important;
        transition: all 0.3s ease !important;
        pointer-events: none !important;
    }

    .burger .line1,
    .burger .line2,
    .burger .line3 {
        display: block !important;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px) !important;
    }

    .burger.toggle .line2 {
        opacity: 0 !important;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px) !important;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .about-features {
        justify-content: center;
    }

    .carousel-container {
        height: 350px;
    }

    .slide-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px;
    }

    .review-card {
        width: 280px;
        padding: 20px;
        font-size: 0.9rem;
    }

    .contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(45, 90, 69, 0.03) !important;
    border: 1px solid rgba(45, 90, 69, 0.1) !important;
}

    .input-group {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-areas, .footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sap-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sap-button {
        justify-content: center;
    }

    .sap-topline {
        align-items: flex-start;
    }

    .sap-highlights {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-features {
        flex-direction: column;
        gap: 20px;
    }

    .navbar {
        width: 100%;
        padding: 15px 20px;
    }

    .nav-links {
        width: 100%;
    }

    .review-card {
        width: 250px;
        padding: 15px;
        font-size: 0.85rem;
    }

    .footer-mail {
        font-size: 1rem;
    }

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

    .blob {
        filter: blur(50px);
        opacity: 0.1;
    }

    .leaf-decor {
        display: none;
    }
}

.review-disclaimer { text-align: center; font-size: 0.8rem; color: var(--text-dim); opacity: 0.7; margin: -10px auto 20px; max-width: 500px; line-height: 1.4; }
