:root {
    --accent: #eab308;
    /* jaune abeille */
    --accent-2: #f59e0b;
    /* orange */
    --bg: #0b0b0b;
    /* fond sombre élégant */
    --card: #111214;
    --text: #e7e7ea;
    --muted: #b7b7c0;
    --ok: #22c55e;
    --warn: #f97316;
    --danger: #ef4444;
    --max: 1200px;
    --radius: 18px;
    --shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #0a0a0a, #111217 25%, #0c0f14 100%);
}

a {
    color: var(--accent);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* =======================
   HEADER / NAV
======================= */
header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(10, 10, 10, .65);
    backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid #1d1f25;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: radial-gradient(circle at 30% 30%, #fff4, transparent 40%), linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    color: #111;
    font-weight: 900;
}

.nav a.btn {
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

/* =======================
   HERO
======================= */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url('../img/img1.png');
    /* si CSS dans /css/ */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.brand-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* rend l'image ronde */
    object-fit: cover;
    /* garde le bon cadrage */
}

.hero>.container {
    position: relative;
    padding: 84px 20px 64px;
}

.hero h1 {
    font-size: clamp(28px, 6vw, 56px);
    line-height: 1.05;
    margin: 0 0 12px;
    font-weight: 800;
}

.hero p.lead {
    font-size: clamp(16px, 2.6vw, 20px);
    color: var(--muted);
    max-width: 820px;
    margin: 0 0 22px;
}

.hero .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.btn-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #2a2f3a;
    background: linear-gradient(180deg, #141821, #0f131b);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.btn-lg.primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.badge {
    padding: 8px 10px;
    border-radius: 999px;
    background: #151922;
    border: 1px solid #252a35;
    font-size: 13px;
    color: var(--muted);
}

/* =======================
   STRIP
======================= */
.strip {
    background: #0c0f14;
    border-top: 1px solid #1b1e27;
    border-bottom: 1px solid #1b1e27;
}

.strip .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 14px 0;
}

.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #11151e;
    border: 1px solid #1c2130;
    border-radius: 14px;
    padding: 12px;
}

/* =======================
   SECTIONS / CARDS
======================= */
section {
    padding: 56px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: linear-gradient(180deg, #12161f, #0e121a);
    border: 1px solid #202634;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 10px 0 8px;
}

.card p {
    color: var(--muted);
}

.pill {
    display: inline-block;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #141824;
    border: 1px solid #262c3a;
    color: var(--muted);
}

/* =======================
   PROCESS / STEPS
======================= */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    padding: 16px;
    border-radius: 14px;
    background: #11151e;
    border: 1px solid #1c2130;
}

.step .num {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    font-weight: 900;
    display: grid;
    place-items: center;
}

/* =======================
   ZONE (Carte + Liste)
======================= */
.zone {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    /* desktop */
    gap: 18px;
    align-items: start;
}

.zone .map {
    aspect-ratio: 16/10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #22283a;
    background: #0e121a;
    display: grid;
    place-items: center;
}

.zone ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

/* Leaflet / GMap blocks (si utilisés) */
.leaflet-map {
    width: 100%;
    max-width: 500px;
    height: 300px;
    /* obligatoire sinon carte invisible */
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #22283a;
}

.gmap {
    width: 100%;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #22283a;
}

/* =======================
   AVIS / SLIDER
======================= */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.slides {
    display: flex;
    transition: transform .5s ease;
}

.slides .item {
    min-width: 100%;
    background: #11151e;
    border: 1px solid #1c2130;
    padding: 20px;
}

.slider .controls {
    position: absolute;
    inset: auto 10px 10px auto;
    display: flex;
    gap: 8px;
}

/* =======================
   FAQ
======================= */
details {
    background: #11151e;
    border: 1px solid #1c2130;
    border-radius: 14px;
    padding: 14px;
}

details+details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

summary::marker {
    color: var(--accent);
}

/* =======================
   CONTACT
======================= */
form {
    display: grid;
    gap: 12px;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #273041;
    background: #0f141c;
    color: var(--text);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* =======================
   VIDEO WRAPPER
======================= */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =======================
   FOOTER
======================= */
footer {
    background-color: #222;
    color: #eee;
    padding: 20px 0;
    font-size: 14px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer small {
    color: #bbb;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

footer img,
footer a img {
    height: 45px;
    /* logos plus gros */
    width: 45px;
    /* carré pour arrondi parfait */
    border-radius: 50%;
    /* rend les logos ronds */
    object-fit: cover;
    /* garde le contenu bien cadré */
    margin-left: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

footer img:hover,
footer a img:hover {
    transform: scale(1.1);
}

/* =======================
   CTA BAR (boutons flottants)
======================= */
.cta-bar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 60;
}

.fab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    text-decoration: none;
    font-weight: 800;
    box-shadow: var(--shadow);
}

/* =======================
   RESPONSIVE
======================= */

/* Typo & container légers ajustements */
.container {
    padding: 0 16px;
}

.hero h1 {
    font-size: clamp(26px, 6vw, 56px);
}

.hero p.lead {
    font-size: clamp(15px, 2.2vw, 20px);
}

/* Tables / desktop → tablet */
@media (max-width:1000px) {
    .cards {
        grid-template-columns: 1fr 1fr;
    }

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

    .strip .row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile-first colonnes */
@media (max-width: 800px) {
    .zone {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gmap,
    .leaflet-map {
        height: 260px;
    }
}

/* Navigation wrap & CTA */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 6px;
    }

    .brand {
        flex: 1;
    }

    .nav a.btn {
        padding: 10px 12px;
    }
}

/* Petits écrans */
@media (max-width:640px) {
    .cards {
        grid-template-columns: 1fr;
    }

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

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

    .nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero {
        min-height: 52vh;
    }

    .hero .cta {
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* Slider & formulaires */
.slider .controls {
    inset: auto 8px 8px auto;
}

@media (max-width: 480px) {
    .slides .item {
        padding: 16px;
    }

    form {
        gap: 10px;
    }

    input,
    textarea,
    select {
        padding: 12px;
        font-size: 16px;
    }

    /* évite zoom iOS */
    .cta-bar {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .fab {
        padding: 10px 12px;
    }
}

/* Footer centré sur mobile */
@media (max-width: 700px) {
    footer .container {
        justify-content: center;
        gap: 12px;
    }

    footer small {
        width: 100%;
        text-align: center;
    }

    footer a img,
    footer img {
        margin-left: 0;
    }
}

/* Très grands écrans : on limite la largeur max */
@media (min-width: 1400px) {
    :root {
        --max: 1280px;
    }
}


/* Burger */
.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bs-border);
    border-radius: .5rem;
    background: #fff;
    cursor: pointer;
    position: relative
}

.burger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #2f3d30;
    border-radius: 2px;
    transition: .25s
}

.burger span:nth-child(1) {
    top: 12px
}

.burger span:nth-child(2) {
    top: 20px
}

.burger span:nth-child(3) {
    top: 28px
}

.burger[aria-expanded="true"] span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg)
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
}

.burger[aria-expanded="true"] span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg)
}

@media (max-width:768px) {
    .burger {
        display: inline-block
    }

    /* Menu mobile replié */
    #site-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid var(--bs-border);
        padding: .75rem;
        gap: .5rem;
    }

    #site-menu.open {
        display: flex
    }

    #site-menu a {
        padding: .6rem .75rem;
        border-radius: .5rem
    }

    #site-menu a:hover {
        background: rgba(25, 135, 84, .08);
        text-decoration: none
    }
}