@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary: #1B4332;
    --accent: #74C69D;
    --orange: #F39200;
    --dark-slate: #1A202C;
    --creme: #F9FAF7;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-premium: 0 15px 40px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--creme);
    color: var(--primary);
    overflow-x: hidden;
    line-height: 1.8;
}

/* ========== HEADER ========== */
.main-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1300px;
    height: 72px;
    z-index: 1000;
    background: rgba(27, 67, 50, 0.88); /* Retour au vert forêt iconique */
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(116, 198, 157, 0.2);
    border-radius: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.main-header.active {
    top: 12px;
    width: 96%;
    height: 68px;
    background: rgba(27, 67, 50, 0.98);
    box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    border-color: rgba(243, 146, 0, 0.3);
}
.main-header.active .nav-links a { color: #fff; }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px; /* Carré discret */
    width: 56px; height: 56px; /* Agrandissement de l'enveloppe */
    padding: 3px; /* Entourage blanc minimal */
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}
.logo-wrap:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.logo-wrap img { height: 50px; width: 50px; object-fit: contain; transition: var(--transition-smooth); }
.main-header.active .logo-wrap { width: 50px; height: 50px; }
.main-header.active .logo-wrap img { height: 44px; width: 44px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.9;
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0.4rem;
    white-space: nowrap;
    transition: all 0.3s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.btn-cta-nav {
    background: var(--orange) !important;
    color: #fff !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 6px;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.25);
    transition: var(--transition-smooth);
}
.btn-cta-nav:hover { background: #ff9d00 !important; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(243, 146, 0, 0.4); }
.btn-cta-nav::after { display: none !important; }

/* Hamburger adjusted for pill */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.8rem;
    border-radius: 50%;
    z-index: 1100;
    transition: 0.3s;
}

/* Utilitaires Responsives */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
}
@media (min-width: 769px) {
    .show-mobile { display: none !important; }
}

@media (max-width: 480px) {
    .search-form-premium {
        border-radius: 20px !important;
        flex-direction: column !important;
        padding: 10px !important;
    }
    .search-form-premium input {
        text-align: center;
        width: 100%;
        padding: 0.8rem !important;
    }
    .search-form-premium button {
        width: 100%;
        border-radius: 12px !important;
    }
}
.hamburger:hover { background: rgba(255, 255, 255, 0.2); }
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu Mobile - Side Drawer Premium */
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--primary);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -15px 0 40px rgba(0,0,0,0.2);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(-320px);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.mobile-nav-header img {
    height: 65px;
    width: auto;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.close-drawer {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: 0.3s;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
    color: #fff;
    transform: translateX(10px);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mobile-parent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-chevron {
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-nav-item.is-open .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-sub-links {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    padding-left: 1rem;
    margin-top: 1.2rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-item.is-open .mobile-sub-links {
    display: flex;
}

.mobile-sub-links a {
    font-size: 1.05rem !important;
    opacity: 0.7;
    font-weight: 600 !important;
}

/* Dropdown Desktop */
.has-dropdown {
    position: relative;
}

.dropdown-icon {
    margin-left: 5px;
    transition: transform 0.3s;
    vertical-align: middle;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary);
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    padding: 0.8rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.7rem 1.5rem !important;
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    display: block !important;
    width: 100%;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    padding-left: 2.5rem !important;
}

.dropdown-menu li a::after {
    display: none !important;
}

.mobile-contact-btn {
    margin-top: 1.5rem;
    background: var(--orange) !important;
    color: #fff !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== HERO ========== */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #fff 0%, #f4f7f4 100%);
}

.hero-main {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 2rem 2rem;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 700;
}
.hero-text h1 span { color: var(--accent); font-style: italic; }

.hero-text p { font-size: 1.05rem; color: #555; margin-bottom: 2.5rem; }

.hero-image-pane { position: relative; height: 500px; }
.hero-image-pane img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.07);
}

/* ========== TONDEUSE ========== */
.mower-track {
    height: 80px;
    background: #eef3ee;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.03);
}
.mower-progress { display: none; }
.mower-icon {
    position: absolute;
    top: 50%; left: -50px;
    transform: translate(-50%, -50%);
    width: 38px; height: 38px;
    z-index: 20;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: mow-linear 8s linear infinite;
}

@keyframes mow-linear {
    0% { left: -50px; }
    100% { left: calc(100% + 50px); }
}

/* ========== SERVICE CARDS ========== */
.service-cards {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 2px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--orange);
}
.card:hover { transform: translateY(-8px); }
.card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-top: 1rem; }
.card p { color: #666; margin-top: 1rem; line-height: 1.7; }

/* ========== GRILLES SECTION ========== */
.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: start;
}

.grid-2col-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

/* Section padding helpers */
.section-pad { padding: 6rem 2rem; }
.section-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 4rem;
}

/* Sticky quote block */
.quote-block {
    background: var(--primary);
    padding: 3rem;
    color: #fff;
    border-radius: 4px;
    position: sticky;
    top: 100px;
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    height: 420px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--dark-slate);
    color: rgba(255,255,255,0.7);
    padding: 6rem 2rem 3rem;
}
.footer-main {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 4rem;
}
.footer-col h4 { color: #fff; font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { color: inherit; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}
.footer-bottom ul { display: flex; gap: 2rem; list-style: none; }

/* ========== ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transform: translateY(20px); }

/* ========== LAWN MOWING SCENE ========== */
.lawn-scene {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--white); /* Fond blanc identique à la section contact */
}

/* Brins d'herbe */
.grass-blades {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
}

.blade {
    position: absolute;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to top, #40916c, #74C69D);
    border-radius: 3px 3px 0 0;
    transform-origin: bottom center;
    animation: sway 2.5s ease-in-out infinite alternate;
    transition: height 0.25s ease;
}

/* Brins coupés : meme couleur, juste plus courts */
.blade.cut {
    height: 6px !important;
    animation: none !important;
}

@keyframes sway {
    from { transform: rotate(-7deg); }
    to   { transform: rotate(7deg); }
}

/* Personnage + Tondeuse */
.mower-guy {
    position: absolute;
    bottom: -20px; /* Redescendu pour toucher le sol */
    left: -180px;
    z-index: 10;
    animation: mow-across 6.5s linear infinite;
    filter: drop-shadow(4px 8px 10px rgba(0,0,0,0.2));
}

@keyframes mow-across {
    0%   { left: -180px; }
    100% { left: calc(100% + 30px); }
}

.mower-guy svg {
    animation: vibrate 0.15s ease-in-out infinite alternate;
}
@keyframes vibrate {
    from { transform: scaleX(-1) translateY(0px); }
    to   { transform: scaleX(-1) translateY(2px); }
}

/* Particules herbe */
.grass-particle { animation: float-grass 0.5s ease-in-out infinite alternate; }
.p1 { animation-duration: 0.4s; }
.p2 { animation-duration: 0.6s; animation-delay: 0.1s; }
.p3 { animation-duration: 0.5s; animation-delay: 0.2s; }
@keyframes float-grass {
    from { transform: translate(0, 0) scale(1); opacity: 1; }
    to   { transform: translate(-10px, -12px) scale(0.3); opacity: 0; }
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1100px) {
    .hero-main { grid-template-columns: 1fr; }
    .hero-image-pane { height: 350px; }
    .grid-2col { grid-template-columns: 1fr; gap: 3rem; }
    .quote-block { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-col { padding-left: 0 !important; }
    .service-cards { grid-template-columns: 1fr 1fr; }
}

/* Header Breakpoint (Switch to Mobile Menu earlier for Zoom/Long Menus) */
@media (max-width: 1250px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-container { padding: 0 1.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hero */
    .hero { min-height: auto; padding-top: 120px; padding-bottom: 4rem; }
    .hero-main { padding: 0 1.5rem; gap: 2.5rem; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-image-pane { height: 260px; }

    /* Cards */
    .service-cards { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
    .card { padding: 2rem 1.5rem; }

    /* Grilles inline → colonne unique */
    .grid-2col-equal { grid-template-columns: 1fr !important; }
    .grid-contact { grid-template-columns: 1fr !important; }

    /* Sections */
    .section-pad { padding: 4rem 1.5rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 2.5rem; }

    /* Map */
    .map-container { height: 300px; }

    /* Footer */
    .footer-main { grid-template-columns: 1fr; gap: 3rem; text-align: left; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem; }
    .footer-bottom ul { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
    .site-footer { padding: 4rem 1.5rem 2rem; }
}

/* Very small */
@media (max-width: 400px) {
    .hero-text h1 { font-size: 1.8rem; }
    .btn-cta-nav { padding: 0.8rem 1.5rem !important; font-size: 0.85rem; }
}

/* Section Chantiers Avant/Après (Premium Bento Design) */
.project-display-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.image-pane {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    aspect-ratio: 3 / 2;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.05);
}

.image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.image-pane:hover img {
    transform: scale(1.05);
}

.pane-label {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 5;
}

.pane-label.after {
    background: var(--accent);
    color: #fff;
    left: auto;
    right: 1.2rem;
}

/* Flèches de navigation Premium */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--primary);
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.15);
}

.nav-arrow.prev { left: -27px; }
.nav-arrow.next { right: -27px; }

/* Bloc d'infos projet */
.project-details {
    margin: 4rem auto 0;
    max-width: 800px;
    text-align: center;
    padding: 0 1rem;
}

.project-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.project-details h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    font-weight: 500;
}

/* Pagination */
.project-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.nav-dot {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 10px;
}

.nav-dot.active {
    background: var(--accent);
    width: 70px;
}

@media (max-width: 1100px) {
    .nav-arrow.prev { left: 1rem; }
    .nav-arrow.next { right: 1rem; }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .image-pane { aspect-ratio: 3 / 2; }
    .project-details h3 { font-size: 1.8rem; }
    .nav-arrow { width: 45px; height: 45px; }
}

/* Modal Lightbox Premium */
.clickable-photo {
    cursor: zoom-in;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.clickable-photo:hover {
    filter: brightness(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoom 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes zoom {
    from {transform:scale(0.85); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Cookie Banner Premium - Bento Style */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 400px;
    max-width: calc(100% - 60px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    border: 1px solid rgba(116, 198, 157, 0.3);
    display: none;
    animation: fadeInUpCookie 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.active {
    display: block;
}

.cookie-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.cookie-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    flex: 1;
    padding: 0.9rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-accept {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 5px 15px rgba(243, 146, 0, 0.2);
}

.btn-accept:hover {
    background: #ff9d00;
    transform: translateY(-3px);
}

.btn-deny {
    background: rgba(27, 67, 50, 0.05);
    color: var(--primary);
    border: 1px solid rgba(27, 67, 50, 0.1);
}

.btn-deny:hover {
    background: rgba(27, 67, 50, 0.1);
}

@keyframes fadeInUpCookie {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 1.8rem;
    }
}

/* ====== BOUTON D'APPEL FLOTTANT PREMIUM ====== */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.call-btn-content {
    display: flex;
    align-items: center;
    background: var(--orange);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(243, 146, 0, 0.4);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.call-text {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    padding-left: 0;
}

.floating-call-btn:hover .call-text {
    max-width: 150px;
    padding-left: 15px;
    padding-right: 15px;
}

.call-icon-wrap {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.floating-call-btn:hover .call-icon-wrap {
    background: #fff;
    transform: rotate(15deg) scale(1.1);
}

/* Anneau de pulsation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 25px;
        right: 20px;
    }
    .call-btn-content {
        padding: 6px;
    }
    .call-icon-wrap {
        width: 46px;
        height: 46px;
    }
    .call-text {
        display: none; /* Hide text on mobile for compactness */
    }
}

/* ========== SECTION ACTUALITES ========== */
.news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    border: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 410px;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.news-card-img {
    height: 260px;
    position: relative;
    overflow: hidden;
    background: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.news-blur-bg {
    display: none;
}

.news-card-img img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain; 
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.zoom-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27, 67, 50, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    pointer-events: none;
}

.zoom-overlay span {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    transform: translateY(15px);
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.news-card:hover .zoom-overlay {
    opacity: 1;
}

.news-card:hover .zoom-overlay span {
    transform: translateY(0);
}

.news-card:hover .news-card-img img {
    transform: scale(1.03);
}

.news-no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 4px;
}

.news-category {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--orange);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(243, 146, 0, 0.3);
}

.news-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-badge {
    background: rgba(243, 146, 0, 0.1);
    color: var(--orange);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-date {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-card-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    margin-top: auto;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.news-read-more:hover {
    color: var(--orange);
    gap: 0.8rem;
}

/* Les media queries pour .news-grid sont devenues redondantes grâce à l'auto-fit */

.btn-secondary-premium {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    border: 3px solid var(--primary);
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.08);
}

.btn-secondary-premium:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(27, 67, 50, 0.15);
}
