/* ============================================================
   ETS BON VOISINAGE — PREMIUM STYLESHEET (world-class)
   Palette luxe : forêt émeraude + or champagne + crème
   Typo : Raleway (texte fin 300, titres 600)
   ============================================================ */

:root {
    /* Couleurs */
    --forest:   #071a10;   /* fond très sombre */
    --forest2:  #0b2418;   /* fond sombre secondaire */
    --emerald:  #0f3d27;   /* vert profond */
    --green:    #1e9e5a;   /* vert vif */
    --green2:   #17b866;   /* vert clair accent */
    --mint:     #8fe3b3;   /* menthe pastel */
    --gold:     #d4af37;   /* or */
    --gold2:    #f2d98a;   /* or clair */
    --champagne:#efe3c2;
    --cream:    #f7f5ef;   /* fond crème */
    --cream2:   #efeae0;
    --ink:      #0a1610;   /* texte foncé */
    --gray:     #5f6b64;
    --gray-l:   #93a099;
    --border:   #e4e9e4;
    --white:    #ffffff;

    /* Effets */
    --grad-green:  linear-gradient(135deg, #17b866 0%, #0f7a44 100%);
    --grad-gold:   linear-gradient(135deg, #f2d98a 0%, #d4af37 55%, #b8912b 100%);
    --grad-dark:   linear-gradient(160deg, #0b2418 0%, #071a10 100%);
    --glass:       rgba(255,255,255,0.08);
    --shadow-sm:   0 2px 10px rgba(7,26,16,0.08);
    --shadow:      0 10px 40px rgba(7,26,16,0.12);
    --shadow-lg:   0 24px 70px rgba(7,26,16,0.22);
    --shadow-gold: 0 12px 40px rgba(212,175,55,0.35);
    --radius:      18px;
    --radius-lg:   28px;
    --radius-sm:   12px;
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
    --transition:  0.45s var(--ease);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: var(--green); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--forest2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; border: 2px solid var(--forest2); }
::-webkit-scrollbar-thumb:hover { background: var(--green2); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.bg-dark { background: var(--grad-dark); }

h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--grad-dark);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 26px;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.pl-logo {
    width: 92px; height: 92px; object-fit: contain;
    border-radius: 20px;
    animation: plPulse 1.6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(30,158,90,0.5));
}
@keyframes plPulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.08); } }
.pl-bar { width: 180px; height: 3px; background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden; }
.pl-bar span { display:block; height:100%; width:40%; background: var(--grad-gold); border-radius: 4px; animation: plSlide 1.2s ease-in-out infinite; }
@keyframes plSlide { 0%{ transform: translateX(-120%); } 100%{ transform: translateX(320%); } }
.pl-text { color: var(--gold2); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; font-weight: 500; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--grad-gold); z-index: 1200;
    box-shadow: 0 0 12px rgba(212,175,55,0.6);
    transition: width 0.1s linear;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary, .btn-ghost, .btn-gold {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: 50px;
    font-size: 14px; font-weight: 600; font-family: 'Raleway', sans-serif;
    letter-spacing: 0.3px; cursor: pointer; border: none;
    transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad-green); color: #fff; box-shadow: 0 10px 30px rgba(23,184,102,0.4); }
.btn-primary::after {
    content:''; position:absolute; inset:0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-120%); transition: transform 0.7s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(23,184,102,0.55); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-gold { background: var(--grad-gold); color: #3a2c05; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(212,175,55,0.5); }

.btn-ghost {
    background: rgba(255,255,255,0.06); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; transform: translateY(-3px); }

/* ============================================================
   EN-TÊTE DE SECTION
   ============================================================ */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(30,158,90,0.1); color: var(--green);
    border: 1px solid rgba(30,158,90,0.25);
    padding: 7px 18px; border-radius: 50px;
    font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 20px;
}
.section-tag.light { background: rgba(242,217,138,0.12); border-color: rgba(242,217,138,0.3); color: var(--gold2); }
.section-head h2 {
    font-size: clamp(32px, 4.5vw, 54px); font-weight: 800; color: var(--ink);
}
.section-head h2 span { color: var(--green); font-style: italic; }
.section-head p { font-size: 16px; color: var(--gray); margin-top: 16px; }
.section-head.light h2 { color: #fff; }
.section-head.light h2 span { color: var(--gold2); }
.section-head.light p { color: rgba(255,255,255,0.6); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-aos] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-aos="left"]  { transform: translateX(-50px); }
[data-aos="right"] { transform: translateX(50px); }
[data-aos="zoom"]  { transform: scale(0.9); }
[data-aos].visible { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}
.header.top { background: transparent; padding: 10px 0; }
.header.scrolled {
    background: rgba(7,26,16,0.85); backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.28); border-bottom-color: rgba(255,255,255,0.06);
}
.header-inner {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    height: 76px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo img {
    width: 48px; height: 48px; object-fit: contain; border-radius: 12px;
    background: rgba(255,255,255,0.06); padding: 3px;
    transition: var(--transition);
}
.logo:hover img { transform: rotate(-6deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: 'Raleway', sans-serif; font-size: 19px; font-weight: 700; color: #fff; white-space: nowrap; }
.logo-sub { font-size: 10px; color: var(--gold2); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
    padding: 9px 18px; border-radius: 50px; font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,0.82); transition: var(--transition); position: relative;
}
.nav-link::after {
    content:''; position:absolute; bottom:6px; left:50%; transform: translateX(-50%) scaleX(0);
    width: 18px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.btn-header-wa {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25d366; color: #fff; padding: 11px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 600; flex-shrink: 0; transition: var(--transition);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.btn-header-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.55); }

.burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: none;
    border-radius: var(--radius-sm); cursor: pointer; padding: 10px; flex-shrink: 0; transition: var(--transition);
}
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(88vw, 380px);
    background: var(--grad-dark); z-index: 999;
    display: flex; flex-direction: column;
    transform: translateX(105%); transition: transform 0.5s var(--ease);
    box-shadow: -30px 0 60px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255,255,255,0.07);
    overflow-y: auto;
}
.mobile-menu::before {
    content:''; position: absolute; top: -80px; right: -80px; width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(30,158,90,0.28), transparent 70%); border-radius: 50%; pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); }

/* En-tête du menu */
.mob-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative; z-index: 1;
}
.mob-brand { display: flex; align-items: center; gap: 12px; }
.mob-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 11px; background: rgba(255,255,255,0.06); padding: 3px; }
.mob-brand b { display: block; font-family: 'Raleway', sans-serif; font-size: 16px; color: #fff; }
.mob-brand small { font-size: 10px; color: var(--gold2); letter-spacing: 1.5px; text-transform: uppercase; }
.mob-close {
    width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 17px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.mob-close:hover { background: var(--green); border-color: var(--green); transform: rotate(90deg); }

/* Navigation */
.mob-nav { display: flex; flex-direction: column; padding: 18px 16px; gap: 4px; position: relative; z-index: 1; }
.mob-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 18px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85);
    border-radius: 14px; transition: var(--transition);
    opacity: 0; transform: translateX(24px);
}
.mob-link span { display: flex; align-items: center; gap: 14px; }
.mob-link span > i { width: 20px; text-align: center; color: var(--gold2); font-size: 15px; transition: var(--transition); }
.mob-link > i { font-size: 11px; color: rgba(255,255,255,0.3); transition: var(--transition); }
.mob-link:hover, .mob-link.active {
    background: rgba(255,255,255,0.07); color: #fff;
}
.mob-link:hover > i, .mob-link.active > i { color: var(--gold2); transform: translateX(4px); }
.mob-link:hover span > i { transform: scale(1.15); }
.mobile-menu.open .mob-link { opacity: 1; transform: translateX(0); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s ease, color 0.3s ease; }
.mobile-menu.open .mob-link:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open .mob-link:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open .mob-link:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.open .mob-link:nth-child(4) { transition-delay: 0.30s; }
.mobile-menu.open .mob-link:nth-child(5) { transition-delay: 0.36s; }

/* Pied du menu */
.mob-foot { margin-top: auto; padding: 20px 24px 28px; border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.mob-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #25d366; color: #fff; padding: 15px; border-radius: 50px;
    font-size: 14px; font-weight: 600; box-shadow: 0 10px 26px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.mob-cta:hover { background: #1ebe5d; transform: translateY(-2px); }
.mob-social { display: flex; justify-content: center; gap: 12px; margin: 22px 0 16px; }
.mob-social a {
    width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.75);
    display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition);
}
.mob-social a:hover { background: var(--grad-green); color: #fff; transform: translateY(-3px); border-color: transparent; }
.mob-copy { text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); }

.menu-overlay { position: fixed; inset: 0; background: rgba(4,13,8,0.6); z-index: 998; display: none; backdrop-filter: blur(5px); }
.menu-overlay.open { display: block; animation: fadeIn 0.35s ease; }

@media (max-width: 960px) {
    .nav-links, .btn-header-wa { display: none; }
    .burger { display: flex; margin-left: auto; }
}
@media (max-width: 480px) {
    .logo-main { font-size: 15px; }
    .header-inner { padding: 0 16px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--forest); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.6s ease; transform: scale(1.08);
}
.hero-slide.active { opacity: 1; animation: heroZoom 8s ease forwards; }
@keyframes heroZoom { from{ transform: scale(1.12);} to{ transform: scale(1.0);} }

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(15,61,39,0.45), transparent 60%),
        linear-gradient(to right, rgba(7,26,16,0.92) 0%, rgba(7,26,16,0.6) 50%, rgba(7,26,16,0.25) 100%),
        linear-gradient(to top, rgba(7,26,16,0.9) 0%, transparent 45%);
}
.hero-grain {
    position: absolute; inset: 0; z-index: 1; opacity: 0.05; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
    justify-content: center; padding: 0 88px; max-width: 760px; color: #fff;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(242,217,138,0.12); border: 1px solid rgba(242,217,138,0.4);
    color: var(--gold2); padding: 8px 20px; border-radius: 50px;
    font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 28px; width: fit-content; backdrop-filter: blur(8px);
}
.hero-content h1 {
    font-size: clamp(38px, 6vw, 78px); font-weight: 800; line-height: 1.05; margin-bottom: 22px; color: #fff;
}
.hero-content h1 span {
    display: block;
    background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
    font-style: italic;
}
.hero-content p { font-size: clamp(15px,1.5vw,18px); color: rgba(255,255,255,0.8); margin-bottom: 40px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .hs { display: flex; flex-direction: column; }
.hero-stats .hs-num { font-family: 'Raleway', sans-serif; font-size: 34px; font-weight: 800; color: var(--gold2); line-height: 1; }
.hero-stats .hs-lbl { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
.hero-stats .hs-sep { width: 1px; background: rgba(255,255,255,0.15); }

.hero-dots { position: absolute; bottom: 40px; left: 88px; z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; border: none; transition: var(--transition); }
.hero-dot.active { background: var(--gold); width: 30px; border-radius: 5px; }

.hero-scroll {
    position: absolute; bottom: 40px; right: 56px; z-index: 3; display: flex; flex-direction: column;
    align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
}
.hero-scroll::after {
    content:''; width: 1px; height: 54px; background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

@media (max-width: 768px) {
    .hero-content { padding: 0 24px; max-width: 100%; justify-content: flex-end; padding-bottom: 120px; }
    .hero-dots { left: 24px; bottom: 28px; }
    .hero-scroll { display: none; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary, .btn-ghost, .btn-gold { justify-content: center; }
    .hero-stats { gap: 24px; }
    .hero-stats .hs-num { font-size: 26px; }
}

/* ============================================================
   MARQUEE (bandeau défilant)
   ============================================================ */
.marquee {
    background: var(--grad-dark); overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; font-family: 'Raleway', sans-serif; font-size: 22px; font-style: italic; color: rgba(255,255,255,0.5); }
.marquee-track span i { color: var(--gold); font-size: 12px; }
@keyframes marquee { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ============================================================
   SECTION À LA UNE — BATEAU VERT
   ============================================================ */
.une-section { background: var(--white); padding: 110px 0; overflow: hidden; }
.une-card { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.une-content { display: flex; flex-direction: column; gap: 22px; }
.une-content::before { content:''; width: 64px; height: 4px; background: var(--grad-gold); border-radius: 3px; }
.une-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(30,158,90,0.1); border: 1px solid rgba(30,158,90,0.28); color: var(--green);
    padding: 7px 18px; border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; width: fit-content;
}
.une-content h2 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; color: var(--ink); }
.une-content h2 span { color: var(--green); font-style: italic; }
.une-content > p { font-size: 16px; color: var(--gray); }
.une-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0; }
.une-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.une-features li i { color: var(--green); font-size: 18px; flex-shrink: 0; }

.une-images { position: relative; }
.une-img-main { width: 100%; height: 380px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.une-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.une-img-main:hover img { transform: scale(1.07); }
.une-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.une-img-grid img { width: 100%; height: 92px; object-fit: cover; border-radius: var(--radius-sm); transition: var(--transition); cursor: pointer; }
.une-img-grid img:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow); }
.une-float {
    position: absolute; bottom: -22px; right: -18px; background: #fff; border-radius: var(--radius);
    padding: 16px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--border);
}
.une-float i { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-gold); color: #3a2c05; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.une-float b { display: block; font-size: 15px; color: var(--ink); }
.une-float small { color: var(--gray); font-size: 12px; }

@media (max-width: 1024px) { .une-card { gap: 44px; } }
@media (max-width: 768px) {
    .une-card { grid-template-columns: 1fr; gap: 60px; }
    .une-images { order: -1; }
    .une-img-main { height: 260px; }
    .une-features { grid-template-columns: 1fr; }
    .une-float { right: 12px; }
}

/* ============================================================
   NOS ÉTABLISSEMENTS
   ============================================================ */
.etabs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.etab-card.featured { grid-column: span 2; }
.etab-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; position: relative;
}
.etab-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.etab-img { position: relative; height: 230px; overflow: hidden; background: var(--emerald); }
.etab-card.featured .etab-img { height: 300px; }
.etab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.etab-card:hover .etab-img img { transform: scale(1.08); }
.etab-img::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(7,26,16,0.5), transparent 55%); }
.etab-img.placeholder-img { display: flex; align-items: center; justify-content: center; background: var(--grad-dark); }
.etab-img.placeholder-img > i { font-size: 54px; color: rgba(255,255,255,0.2); }
.etab-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: var(--grad-gold); color: #3a2c05; padding: 6px 14px; border-radius: 50px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.4px; box-shadow: var(--shadow-sm);
}
.etab-badge.renovation { background: rgba(255,255,255,0.92); color: var(--emerald); }
.etab-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.etab-icon {
    width: 48px; height: 48px; background: rgba(30,158,90,0.1); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 19px;
    margin-top: -50px; position: relative; z-index: 3; border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.etab-body h3 { font-size: 22px; font-weight: 700; color: var(--ink); }
.etab-card.featured .etab-body h3 { font-size: 27px; }
.etab-body p { font-size: 14px; color: var(--gray); flex: 1; }
.btn-etab {
    display: inline-flex; align-items: center; gap: 8px; color: var(--emerald);
    font-size: 13px; font-weight: 600; width: fit-content; margin-top: 6px; transition: var(--transition);
}
.btn-etab i { transition: transform 0.35s var(--ease); }
.btn-etab:hover { color: var(--green); }
.btn-etab:hover i { transform: translateX(6px); }
.etab-card.featured .btn-etab { background: var(--grad-green); color: #fff; padding: 11px 22px; border-radius: 50px; box-shadow: 0 8px 22px rgba(23,184,102,0.35); }
.etab-card.featured .btn-etab:hover { color: #fff; transform: translateY(-2px); }

@media (max-width: 1024px) { .etabs-grid { grid-template-columns: repeat(2, 1fr); } .etab-card.featured { grid-column: span 2; } }
@media (max-width: 640px) { .etabs-grid { grid-template-columns: 1fr; } .etab-card.featured { grid-column: span 1; } .etab-card.featured .etab-img { height: 230px; } }

/* ============================================================
   STATS (compteurs)
   ============================================================ */
.stats-section { background: var(--grad-dark); padding: 90px 0; position: relative; overflow: hidden; }
.stats-section::before {
    content:''; position:absolute; top:-40%; right:-10%; width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(30,158,90,0.25), transparent 70%); border-radius: 50%;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.stat-item { text-align: center; }
.stat-item i { font-size: 30px; color: var(--gold2); margin-bottom: 14px; display: block; }
.stat-num { font-family: 'Raleway', sans-serif; font-size: clamp(38px, 5vw, 58px); font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: var(--gold2); }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 12px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.g-item::after {
    content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(7,26,16,0.65), transparent 60%);
    opacity: 0; transition: opacity var(--transition);
}
.g-cap {
    position: absolute; bottom: 18px; left: 18px; z-index: 2; color: #fff; opacity: 0; transform: translateY(12px);
    transition: var(--transition);
}
.g-cap b { font-family: 'Raleway', sans-serif; font-size: 17px; display: block; }
.g-cap span { font-size: 12px; color: var(--gold2); letter-spacing: 1px; text-transform: uppercase; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover::after { opacity: 1; }
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.g-zoom { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: scale(0.7); transition: var(--transition); }
.g-item:hover .g-zoom { opacity: 1; transform: scale(1); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .g-item.wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } .g-item.wide, .g-item.tall { grid-column: span 1; grid-row: span 1; } }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4,13,8,0.94); display: none; align-items: center; justify-content: center; padding: 40px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-close, .lb-prev, .lb-next {
    position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff;
    width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: var(--transition); backdrop-filter: blur(8px);
}
.lb-close { top: 28px; right: 28px; }
.lb-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--green); border-color: var(--green); }

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.actu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.actu-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius);
    padding: 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.actu-card::before { content:''; position:absolute; top:0; left:0; width:100%; height: 3px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.actu-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(242,217,138,0.3); transform: translateY(-8px); }
.actu-card:hover::before { transform: scaleX(1); }
.actu-icon { width: 56px; height: 56px; background: rgba(242,217,138,0.12); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--gold2); font-size: 23px; margin-bottom: 20px; }
.actu-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold2); }
.actu-card h4 { font-size: 20px; font-weight: 700; color: #fff; margin: 10px 0 8px; }
.actu-card p { font-size: 14px; color: rgba(255,255,255,0.6); }
@media (max-width: 900px) { .actu-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testi-section { background: var(--cream); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
    background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.testi-quote { font-family: 'Raleway', sans-serif; font-size: 60px; line-height: 0.5; color: var(--green); opacity: 0.18; height: 30px; }
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 15px; color: var(--ink); font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Raleway', sans-serif; font-size: 18px; }
.testi-author b { display: block; font-size: 15px; color: var(--ink); }
.testi-author small { color: var(--gray); font-size: 12px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; padding: 90px 0; overflow: hidden; background: var(--grad-dark); text-align: center; }
.cta-band::before, .cta-band::after {
    content:''; position:absolute; border-radius:50%;
}
.cta-band::before { top:-60%; left:-5%; width:420px; height:420px; background: radial-gradient(circle, rgba(30,158,90,0.28), transparent 70%); }
.cta-band::after { bottom:-60%; right:-5%; width:420px; height:420px; background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-band h2 span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-btns { justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); margin: 12px 0 30px; }
.contact-info h2 span { color: var(--green); font-style: italic; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 34px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item > i {
    width: 52px; height: 52px; background: var(--grad-green); color: #fff; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(23,184,102,0.3);
}
.contact-item strong { font-size: 14px; font-weight: 700; color: var(--ink); display: block; }
.contact-item a, .contact-item span { font-size: 14px; color: var(--gray); transition: color var(--transition); }
.contact-item a:hover { color: var(--green); }
.social-row { display: flex; gap: 12px; }
.social-btn { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; transition: var(--transition); }
.social-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-btn.fb { background: #1877f2; }
.social-btn.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.wa { background: #25d366; }

.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 46px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.contact-form-wrap h3 { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 14px; color: var(--gray); margin-bottom: 26px; }
.field { position: relative; margin-bottom: 20px; }
.field i { position: absolute; left: 18px; top: 18px; color: var(--gray-l); font-size: 15px; }
.contact-form-wrap input, .contact-form-wrap textarea {
    width: 100%; padding: 15px 18px 15px 46px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 14px; font-family: 'Raleway', sans-serif; color: var(--ink); background: var(--cream);
    outline: none; transition: var(--transition);
}
.contact-form-wrap textarea { resize: none; padding-left: 46px; }
.field textarea + i { top: 18px; }
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(30,158,90,0.1); }
.btn-submit {
    width: 100%; padding: 16px; background: var(--grad-green); color: #fff; border: none; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; font-family: 'Raleway', sans-serif; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); box-shadow: 0 10px 26px rgba(23,184,102,0.35);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(23,184,102,0.5); }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 480px) { .contact-form-wrap { padding: 28px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--forest); color: #fff; padding: 70px 0 0; position: relative; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer::before {
    content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-gold); opacity: 0.9;
}
.footer-glow {
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 300px; pointer-events: none;
    background: radial-gradient(ellipse, rgba(30,158,90,0.22), transparent 70%);
}

/* Bande newsletter */
.footer-cta {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    background: linear-gradient(135deg, rgba(30,158,90,0.14), rgba(212,175,55,0.08));
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
    padding: 40px 48px; margin-bottom: 64px;
    box-shadow: var(--shadow-lg);
}
.footer-cta-text h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; }
.footer-cta-text h3 span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.footer-cta-text p { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.footer-news-form .fn-field {
    display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.14); border-radius: 50px; padding: 6px 6px 6px 20px;
    transition: var(--transition);
}
.footer-news-form .fn-field:focus-within { border-color: var(--gold2); box-shadow: 0 0 0 4px rgba(242,217,138,0.12); }
.footer-news-form .fn-field > i { color: var(--gold2); font-size: 15px; }
.footer-news-form input { flex: 1; background: transparent; border: none; outline: none; padding: 12px 8px; color: #fff; font-size: 14px; font-family: inherit; }
.footer-news-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-news-form button {
    display: inline-flex; align-items: center; gap: 8px; background: var(--grad-gold); border: none;
    padding: 12px 22px; border-radius: 50px; color: #3a2c05; font-weight: 700; font-size: 13px;
    font-family: inherit; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.footer-news-form button:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.fn-done { display: none; align-items: center; gap: 7px; color: var(--mint); font-size: 13px; margin-top: 12px; margin-left: 20px; }
.fn-done.show { display: inline-flex; }

/* Grille principale */
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,0.06); padding: 4px; }
.footer-logo b { display: block; font-family: 'Raleway', sans-serif; font-size: 19px; color: #fff; }
.footer-logo small { font-size: 11px; color: var(--gold2); letter-spacing: 2px; text-transform: uppercase; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 24px; max-width: 340px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 42px; height: 42px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 15px; transition: var(--transition); }
.social-links a:hover { background: var(--grad-green); color: #fff; transform: translateY(-4px); border-color: transparent; box-shadow: 0 10px 24px rgba(23,184,102,0.35); }

.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold2); margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content:''; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col ul li, .footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a:hover i { transform: translateX(3px); color: var(--gold2); }
.footer-col ul li i { font-size: 11px; color: var(--green); transition: var(--transition); }
.footer-contact li, .footer-contact li a { align-items: flex-start; }
.footer-contact li i { font-size: 14px; width: 18px; margin-top: 2px; }
.footer-contact li span { line-height: 1.5; }

/* Barre inférieure */
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom p b { color: rgba(255,255,255,0.7); font-weight: 600; }
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-legal a:hover { color: var(--gold2); }
.footer-legal span { color: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
    .footer-cta { grid-template-columns: 1fr; gap: 24px; padding: 32px; text-align: center; }
    .footer-cta-text p { max-width: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-news-form .fn-field { flex-wrap: wrap; border-radius: 20px; }
    .footer-news-form button { width: 100%; justify-content: center; }
}

/* ============================================================
   FLOATING WHATSAPP + BACK TO TOP
   ============================================================ */
.fab-wa {
    position: fixed; bottom: 28px; right: 28px; z-index: 900; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px;
    box-shadow: 0 10px 30px rgba(37,211,102,0.5); transition: var(--transition); animation: fabPulse 2.4s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.1); }
@keyframes fabPulse { 0%,100%{ box-shadow: 0 10px 30px rgba(37,211,102,0.5);} 50%{ box-shadow: 0 10px 40px rgba(37,211,102,0.9);} }
.back-top {
    position: fixed; bottom: 100px; right: 32px; z-index: 900; width: 48px; height: 48px; border-radius: 14px;
    background: var(--emerald); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px;
    cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: var(--transition); border: none; box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--green); }
@media (max-width: 520px) { .fab-wa { width: 54px; height: 54px; font-size: 24px; bottom: 20px; right: 20px; } .back-top { right: 22px; bottom: 86px; } }
