@import url(https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Hanken+Grotesk:wght@400;500;600;700&family=Oswald:wght@500;600;700&family=Sora:wght@600;700;800&display=swap);
/* Mitsubishi corporate font (MMC Medium). Weight range 100-900 maps to the
   single Medium file so headings render in true MMC at every weight (no faux-bold). */
@font-face {
    font-family: "MMC";
    src: url(/build/fonts/MMC-Medium.fc6486d6.woff2) format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0a0a0b;
    --ink: #141416;
    --ink-2: #1b1b1f;
    --ink-3: #232328;
    --white: #ffffff;
    --paper: #f6f6f4;
    --paper-2: #eeeeec;
    --muted: #6b6b73;
    --muted-light: rgba(255, 255, 255, 0.62);
    --line: rgba(10, 10, 11, 0.1);
    --line-dark: rgba(255, 255, 255, 0.12);

    --accent: #e60012; /* Mitsubishi red — tweakable */
    --accent-strong: #b9000e;
    --accent-soft: rgba(230, 0, 18, 0.1);

    --font-display:
        "MMC", "Archivo", system-ui, sans-serif; /* MMC = police Mitsubishi, repli Archivo */
    --font-body: "Hanken Grotesk", system-ui, sans-serif;

    --container: 1240px;
    --pad-x: clamp(20px, 5vw, 72px);
    --section-y: clamp(72px, 9vw, 128px);
    --radius: 4px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font-family: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

p {
    margin: 0;
}

/*.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}*/

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
}
.eyebrow.center {
    justify-content: center;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
}
.section-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    margin: 16px 0 14px;
}
.section-head .sub {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    padding: 15px 26px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition:
        background 0.25s var(--ease),
        color 0.25s var(--ease),
        border-color 0.25s var(--ease),
        transform 0.25s var(--ease);
}
.btn .arr {
    transition: transform 0.3s var(--ease);
}
.btn:hover .arr {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-strong);
    border-color: #000;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: #000;
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-outline:hover {
    border-color: var(--ink);
}

.btn-red-outline {
    background: transparent;
    color: #fff;
    border-color: var(--accent);
}
.btn-red-outline:hover {
    background: var(--accent);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: relative;
    inset: 0 0 auto 0;
    z-index: 100;
    background: #000000;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transition:
        background 0.3s var(--ease),
        border-color 0.3s var(--ease);
}
.scrolled {
    animation: slideDown .35s ease forwards;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand .emblem {
    width: 34px;
    height: 34px;
}
.brand .wordmark {
    display: flex;
    flex-direction: column;
    line-height: 0.92;
    font-family: var(--font-display);
    font-weight: 800;
    color: #fff;
}
.brand .wordmark b {
    font-size: 14px;
    letter-spacing: 0.06em;
}
.brand .wordmark span {
    font-size: 14px;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.brand .tag {
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-top: 3px;
    font-family: var(--font-body);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-nav a {
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
    color: #fff;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}
.main-nav a:hover::after {
    width: 100%;
}
.main-nav .caret {
    width: 9px;
    height: 9px;
    opacity: 0.7;
    transition: transform 0.25s var(--ease);
}

/* ---------- Menus déroulants ---------- */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-item:hover .caret,
.nav-item:focus-within .caret {
    transform: rotate(180deg);
    opacity: 1;
}
.nav-drop {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    z-index: 110;
    min-width: 250px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 2px solid var(--accent);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.25s var(--ease),
        transform 0.28s var(--ease),
        visibility 0.25s;
}
.nav-drop::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-drop a {
    display: block;
    padding: 11px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    box-shadow: inset 0 0 0 0 transparent;
    transition:
        background 0.2s var(--ease),
        color 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.nav-drop a::after {
    display: none;
}
.nav-drop a:hover {
    background: var(--paper);
    color: var(--accent);
    box-shadow: inset 2.5px 0 0 var(--accent);
}

/* ============ Méga-menu « Notre Gamme » ============ */

.nav-drop_modeles {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    transform: translateY(10px);
}
/* Pont invisible : couvre l'espace entre le nav-item et le méga-menu
   pour que le survol ne se coupe pas quand le curseur descend. */
.nav-drop_modeles::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -30px;
    height: 30px;
    background: transparent;
}
.nav-item:hover .nav-drop_modeles,
.nav-item:focus-within .nav-drop_modeles {
    transform: translateY(0);
}
/* Le méga-menu remplace le style de lien simple du dropdown */
.nav-drop_modeles a {
    display: block;
    padding: 0;
    box-shadow: none;
}
.nav-drop_modeles a:hover {
    background: transparent;
    box-shadow: none;
}

.mega-menu {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: stretch;
    /* Contenu centré et aligné sur le conteneur du site, fond pleine largeur */
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

/* Colonne gauche : types de véhicule */
.mega-types {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 30px 26px 30px 0;
    border-right: 1px solid var(--line);
}
.mega-types_label {
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.mega-type {
    padding: 9px 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
    transition:
        color 0.2s var(--ease),
        font-weight 0.2s var(--ease);
}
.mega-type:hover {
    color: var(--ink);
}
.mega-type.is-active {
    color: var(--ink);
    font-weight: 700;
}

/* Colonne droite : cartes véhicules */
.mega-panels {
    padding: 30px 0 30px 34px;
}
.mega-panel {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
}
.mega-panel.is-active {
    display: grid;
}
.mega-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}
.mega-card_name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-transform: uppercase;
    transition: color 0.2s var(--ease);
}
.mega-card_media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    margin: 14px 0 12px;
}
.mega-card_media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.28s var(--ease);
}
.mega-card_price {
    font-size: 13px;
    font-style: italic;
    color: var(--muted);
}
.mega-card:hover .mega-card_name {
    color: var(--accent);
}
.mega-card:hover .mega-card_media img {
    transform: translateY(-2px) scale(1.04);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.header-cta .btn {
    padding: 12px 20px;
    font-size: 13.5px;
    white-space: nowrap;
    border-radius: 25px;
}
.nav-cta-mobile {
    display: none !important;
}
.main-nav a,
.brand .wordmark {
    white-space: nowrap;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    z-index: 130; /* reste au-dessus du panneau et du backdrop */
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition:
        transform 0.3s var(--ease),
        opacity 0.2s var(--ease);
}
/* Croix animée quand le menu est ouvert */
.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);
}

/* Voile derrière le panneau mobile */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s var(--ease),
        visibility 0.3s;
}
.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}
/* Bloque le scroll de fond quand le menu est ouvert */
body.nav-locked {
    overflow: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: clamp(560px, 92vh, 880px);
    background: var(--black);
    overflow: hidden;
}
.hero-track {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s var(--ease);
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
}
.hero-slide img,
.hero-slide .image-slot,
.hero-slide .img-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 9, 0.86) 0%,
        rgba(8, 8, 9, 0.55) 38%,
        rgba(8, 8, 9, 0.05) 70%,
        transparent 100%
    );
}
.hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-content {
    max-width: 600px;
    color: #fff;
}
.hero-data {
    display: none;
}
.hero-data.active {
    display: block;
    animation: heroIn 0.8s var(--ease);
}
@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.hero-eyebrow {
    color: #fff;
}
.hero-eyebrow::before {
    background: var(--accent);
}
.hero h1 {
    font-size: clamp(38px, 5.2vw, 70px);
    font-weight: 900;
    margin: 20px 0 22px;
    letter-spacing: -0.025em;
}
.hero h1 em {
    color: var(--accent);
    font-style: normal;
}
.hero p {
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 460px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-inline: auto;
}
.hero-arrows {
    display: flex;
    gap: 8px;
}
.h-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    display: grid;
    place-items: center;
    transition: all 0.2s;
}
.h-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.hero-dots {
    display: flex;
    gap: 9px;
}
.hero-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.25s;
}
.hero-dots button.active {
    background: var(--accent);
}

.hero-badge {
    position: absolute;
    right: var(--pad-x);
    bottom: 40px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ============================================================
   QUICK ACTIONS (shopping tools strip — overlaps hero)
   ============================================================ */
.quick-actions {
    position: relative;
    z-index: 20;
    margin-top: -16px;
}
.qa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
    max-width: 880px;
    margin: 0 auto;
}
.qa-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.4);
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    transition:
        transform 0.28s var(--ease),
        box-shadow 0.28s var(--ease),
        border-color 0.28s;
}
.qa-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 30px 56px -26px rgba(0, 0, 0, 0.45);
}
.qa-ico {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--paper);
    color: var(--ink);
    transition:
        background 0.25s,
        color 0.25s;
}
.qa-card:hover .qa-ico {
    background: var(--accent);
    color: #fff;
}
.qa-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
}

@media (max-width: 700px) {
    .qa-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    .quick-actions {
        margin-top: -40px;
    }
}

/* ============================================================
   INTRO + SHOWCASE GALLERY
   ============================================================ */

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 60px);
}
.intro h2 {
    font-size: clamp(28px, 3.4vw, 46px);
}
.intro .lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.gallery {
    position: relative;
}
.gallery-stage {
    position: relative;
    aspect-ratio: 16 / 8;
    background: var(--black);
    overflow: hidden;
}
.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s var(--ease);
}
.gallery-slide.active {
    opacity: 1;
}
.gallery-slide image-slot {
    width: 100%;
    height: 100%;
}
.g-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border: 0;
    display: grid;
    place-items: center;
    transition: all 0.2s;
}
.g-arrow:hover {
    background: var(--accent);
    color: #fff;
}
.g-arrow.prev {
    left: -26px;
}
.g-arrow.next {
    right: -26px;
}
.gallery-cap {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 4;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.gallery-count {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 4;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ============================================================
   CONTENT BLOCKS (alternating, US split style)
   ============================================================ */
.blocks {
    padding: var(--section-y) 0;
    background: var(--white);
}

.cblock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}
.cblock + .cblock {
    margin-top: clamp(46px, 6vw, 92px);
}
.cblock.reverse .cblock-media {
    order: -1;
}

.cblock-media {
    position: relative;
    aspect-ratio: 16 / 11;
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper-2);
}
.cblock-media img,
.cblock-media image-slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.cblock-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(4px, 2vw, 22px) 0;
}
.cblock-cat {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}
.cblock-text h3 {
    font-size: clamp(26px, 2.8vw, 42px);
    margin-bottom: 14px;
    max-width: 16ch;
    color: var(--ink);
}
.cblock-rule {
    width: 54px;
    height: 3px;
    background: var(--accent);
    margin: 0 0 24px;
}
.cblock-text p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 46ch;
    margin-bottom: 30px;
}

/* Variation: overlay (text floats over full-bleed image) */
body[data-blocks="overlay"] .blocks {
    padding: 0;
}
body[data-blocks="overlay"] .cblock {
    grid-template-columns: 1fr;
    position: relative;
    max-width: none;
    padding: 0;
    gap: 0;
    margin: 0;
}
body[data-blocks="overlay"] .cblock + .cblock {
    margin-top: 0;
}
body[data-blocks="overlay"] .cblock-media {
    aspect-ratio: auto;
    border-radius: 0;
    min-height: clamp(520px, 64vh, 720px);
}
body[data-blocks="overlay"] .cblock-text {
    padding: clamp(40px, 5vw, 76px) var(--pad-x);
}
body[data-blocks="overlay"] .cblock-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 9, 0.9),
        rgba(8, 8, 9, 0.35) 55%,
        transparent
    );
}
body[data-blocks="overlay"] .cblock.reverse .cblock-media::after {
    background: linear-gradient(
        270deg,
        rgba(8, 8, 9, 0.9),
        rgba(8, 8, 9, 0.35) 55%,
        transparent
    );
}
body[data-blocks="overlay"] .cblock-text {
    position: absolute;
    inset: 0;
    background: transparent !important;
    color: #fff !important;
    z-index: 3;
    max-width: 560px;
    justify-content: center;
}
body[data-blocks="overlay"] .cblock.reverse .cblock-text {
    right: 0;
    left: auto;
    text-align: right;
    align-items: flex-end;
}
body[data-blocks="overlay"] .cblock.reverse .cblock-rule {
    margin-left: auto;
}
body[data-blocks="overlay"] .cblock-text p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Variation: floating card */
body[data-blocks="float"] .cblock-media {
    aspect-ratio: auto;
    border-radius: 0;
    min-height: clamp(540px, 66vh, 760px);
}
body[data-blocks="float"] .cblock {
    grid-template-columns: 1fr;
    position: relative;
    max-width: none;
    padding: 0;
    gap: 0;
    margin-inline: 0;
}
body[data-blocks="float"] .blocks {
    padding-block: var(--section-y);
}
body[data-blocks="float"] .cblock + .cblock {
    margin-top: clamp(28px, 4vw, 56px);
}
body[data-blocks="float"] .cblock-text {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    left: clamp(20px, 5vw, 72px);
    width: min(440px, 80%);
    background: rgba(20, 20, 22, 0.92) !important;
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--accent);
    padding: clamp(30px, 3vw, 46px);
}
body[data-blocks="float"] .cblock.reverse .cblock-text {
    left: auto;
    right: clamp(20px, 5vw, 72px);
}
body[data-blocks="float"] .cblock-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: var(--section-y) 0;
    background: var(--paper);
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.services-intro h2 {
    font-size: clamp(26px, 3vw, 40px);
    margin-bottom: 20px;
}
.services-intro p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
}

.service-cards {
    display: grid;
    gap: 18px;
}
.svc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s;
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}
.svc-ico {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
}
.svc-card:hover .svc-ico {
    background: var(--accent);
}
.svc-body h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 7px;
}
.svc-body .svc-tag {
    font-size: 12.5px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.svc-body p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 8px 0 16px;
}
.svc-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.svc-link .arr {
    transition: transform 0.3s var(--ease);
}
.svc-link:hover .arr {
    transform: translateX(4px);
}
.svc-link:hover {
    color: var(--accent);
}

/* Variation: tools strip (4 columns) */
.tools-strip {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 46px;
}
.tool {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: all 0.25s var(--ease);
}
.tool:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.3);
}
.tool .svc-ico {
    margin: 0 auto 16px;
}
.tool h4 {
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
}
.tool p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.5;
}

body[data-services="tools"] .services-grid {
    display: block;
}
body[data-services="tools"] .services-intro {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
body[data-services="tools"] .service-cards {
    display: none;
}
body[data-services="tools"] .tools-strip {
    display: grid;
}

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.news {
    padding: var(--section-y) 0;
    background: var(--white);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.article {
    display: flex;
    flex-direction: column;
}
.article-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
}
.article-media image-slot {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease);
}
.article:hover .article-media image-slot {
    transform: scale(1.05);
}
.article-cat {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 3px;
}
.article-body {
    padding-top: 20px;
}
.article .date {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.article h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 10px 0 14px;
    line-height: 1.2;
}
.article:hover h3 {
    color: var(--accent);
}
.article h3 {
    transition: color 0.2s;
}
.article .read {
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1;
}
.article .read .arr {
    transition: transform 0.3s var(--ease);
}
.article:hover .read .arr {
    transform: translateX(4px);
}
.news-foot {
    text-align: center;
    margin-top: clamp(40px, 5vw, 60px);
}

/* Variation: featured (1 big + 2 small) */
body[data-news="featured"] .news-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-auto-rows: auto;
    gap: 28px 28px;
}
body[data-news="featured"] .article:first-child {
    grid-row: span 2;
}
body[data-news="featured"] .article:first-child .article-media {
    aspect-ratio: 16 / 13;
}
body[data-news="featured"] .article:first-child h3 {
    font-size: 30px;
}
body[data-news="featured"] .article:not(:first-child) {
    flex-direction: row;
    gap: 20px;
    align-items: center;
}
body[data-news="featured"] .article:not(:first-child) .article-media {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
}
body[data-news="featured"] .article:not(:first-child) .article-body {
    padding-top: 0;
}
body[data-news="featured"] .article:not(:first-child) h3 {
    font-size: 19px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #000;
    color: rgba(255, 255, 255, 0.66);
}
.footer-top {
    padding: clamp(54px, 6vw, 80px) 0 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer-brand .emblem {
    width: 40px;
    height: 40px;
}
.footer-brand .f-word {
    font-family: var(--font-display);
    font-weight: 800;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.04em;
    margin: 16px 0 6px;
}
.footer-brand .f-tag {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 18px;
    max-width: 34ch;
}
.footer-col h5 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 13px;
}
.footer-col a {
    font-size: 14.5px;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid var(--line-dark);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    display: grid;
    place-items: center;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.copyright {
    font-size: 13px;
}

/* ===== REVEAL ANIMATIONS ====== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity 0.7s var(--ease),
            transform 0.7s var(--ease);
    }
    .reveal.in {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991px) {
    .header-cta .btn {
        display: none;
    }
    .burger {
        display: flex;
    }
    .burger.open {
        position: fixed;
        right: 20px;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        width: min(82vw, 340px);
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 88px 0 32px;
        background: var(--black, #0a0a0a);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.8);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        visibility: hidden;
        transition:
            transform 0.35s var(--ease),
            visibility 0.35s;
    }
    .main-nav.open {
        transform: translateX(0);
        visibility: visible;
    }

    .main-nav .nav-item {
        display: block;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .main-nav > a:not(.nav-cta-mobile),
    .main-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 26px;
        font-size: 16px;
    }
    .main-nav a::after {
        display: none;
    }
    .main-nav .caret {
        width: 12px;
        height: 12px;
        margin-left: auto;
    }
    .nav-drop,
    .nav-item:hover .nav-drop,
    .nav-item:focus-within .nav-drop {
        position: static;
        display: block;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.03);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--ease);
    }
    .nav-item.open > .nav-drop {
        max-height: 70vh;
    }
    .nav-item:hover .caret,
    .nav-item:focus-within .caret {
        transform: none;
    }
    .nav-drop a {
        display: block;
        color: rgba(255, 255, 255, 0.7);
        padding: 13px 26px 13px 40px;
        font-size: 14.5px;
    }
    .nav-drop a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        box-shadow: inset 3px 0 0 var(--accent);
    }
    .nav-item.open .caret {
        transform: rotate(180deg);
    }

    /* ---- Méga-menu en version mobile : pile verticale ---- */
    .nav-drop_modeles {
        position: static;
        width: 100%;
        min-width: 0;
        transform: none;
    }
    .nav-item:hover .nav-drop_modeles,
    .nav-item:focus-within .nav-drop_modeles {
        transform: none;
    }
    .mega-menu {
        display: block;
        max-width: none;
        margin: 0;
        padding-inline: 0;
    }
    .mega-types {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 10px;
        padding: 14px 26px 14px 40px;
        background: rgba(255, 255, 255, 0.03);
        border-right: 0;
        border-bottom: 1px solid var(--line-dark);
        border-radius: 0;
    }
    .mega-types_label {
        flex-basis: 100%;
        margin-bottom: 4px;
    }
    .mega-type {
        padding: 4px 0;
        font-size: 14.5px;
        color: rgba(255, 255, 255, 0.7);
    }
    .mega-type:hover,
    .mega-type.is-active {
        color: #fff;
    }
    .mega-panels {
        padding: 10px 26px 16px 40px;
    }
    .mega-panel.is-active{
        display: grid;
    }
    .mega-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
    }
    .mega-card{
        padding: 13px 10px 13px 10px !important;
    }
    .mega-card_name {
        color: rgba(255, 255, 255, 0.85);
        font-size: 12px;
        white-space: pre-wrap;
    }
    .mega-card_media {
        height: 60px;
        margin: 8px 0 6px;
    }
    .mega-card_price {
        color: rgba(255, 255, 255, 0.55);
        font-size: 12px;
    }
    .mega-card:hover .mega-card_name {
        color: #fff;
    }

    .nav-cta-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        align-self: center;
        width: calc(100% - 52px);
        margin: 26px 26px 0;
        padding: 14px 20px;
        font-size: 14.5px;
        border-radius: 25px;
        white-space: nowrap;
    }
    .nav-cta-mobile::after {
        display: none !important;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }
    .cblock,
    body[data-blocks] .cblock {
        grid-template-columns: 1fr;
    }
    .cblock.reverse .cblock-media {
        order: 0;
    }
    .cblock-media {
        min-height: 340px;
    }
    body[data-blocks="overlay"] .cblock-text,
    body[data-blocks="float"] .cblock-text {
        position: static;
        transform: none;
        max-width: none;
        width: auto;
        text-align: left !important;
    }
    body[data-blocks="overlay"] .cblock-media::after,
    body[data-blocks="float"] .cblock-media::after {
        display: none;
    }
    body[data-blocks="overlay"] .blocks {
        padding-block: var(--section-y);
    }
    .services-grid,
    body[data-services="tools"] .tools-strip {
        grid-template-columns: 1fr;
    }
    .news-grid,
    body[data-news="featured"] .news-grid {
        grid-template-columns: 1fr;
    }
    body[data-news="featured"] .article:not(:first-child) {
        flex-direction: column;
    }
    body[data-news="featured"] .article:not(:first-child) .article-media {
        width: 100%;
        aspect-ratio: 16/11;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .g-arrow.prev {
        left: 12px;
    }
    .g-arrow.next {
        right: 12px;
    }
}
@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .hero-badge {
        display: none;
    }
}

/* ============================================================
   Page produit L200 — styles spécifiques (s'appuie sur styles.css)
   ============================================================ */

/* ---------- HERO PRODUIT ---------- */
.p-hero {
    position: relative;
    height: clamp(560px, 86vh, 820px);
    background: var(--black);
    overflow: hidden;
}
.p-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.p-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 9, 0.84) 0%,
        rgba(8, 8, 9, 0.5) 40%,
        rgba(8, 8, 9, 0.05) 72%,
        transparent 100%
    );
}
.p-hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 85px;
}
.p-hero-content {
    max-width: 560px;
    color: #fff;
}
.p-hero h1 {
    font-size: clamp(36px, 4.6vw, 62px);
    font-weight: 900;
    margin: 18px 0 18px;
    letter-spacing: -0.02em;
}
.p-hero p {
    font-size: clamp(15px, 1.25vw, 17.5px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    max-width: 44ch;
}
.p-hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Bandeau de specs (référence France) */
.p-specs {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 11, 0.72);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-dark);
}
.p-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.p-spec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 16px;
    color: #fff;
}
.p-spec + .p-spec {
    border-left: 1px solid var(--line-dark);
}
.p-spec .ico {
    color: var(--accent);
    position: relative;
    width: 30px;
    height: 30px;
}
.p-spec img {
    
}
.p-spec b {
    font-family: var(--font-display);
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 800;
    display: block;
    line-height: 1.1;
}
.p-spec span {
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- BARRE D'ANCRES (référence France) ---------- */
.anchor-bar {
    position: sticky;
    top: 91px;
    z-index: 90;
    background: var(--accent);
}
.anchor-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
}
.anchor-row a {
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 18px 26px;
    white-space: nowrap;
    position: relative;
    opacity: 0.85;
    transition:
        opacity 0.2s,
        background 0.2s;
}
.anchor-row a:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.12);
}
.anchor-row a.active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.18);
}
.anchor-row a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #fff;
}

/* ---------- MOSAÏQUE PHOTOS ---------- */
.mosaic {
    background: var(--black);
    position: relative;
}
.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.mosaic-cell {
    position: relative;
    aspect-ratio: 16 / 9.5;
    background: #1c1d21;
    overflow: hidden;
}
.mosaic-cell img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease);
}
.mosaic-cell:hover img {
    transform: scale(1.04);
}
.mosaic-all {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 0;
    transition:
        background 0.2s,
        color 0.2s;
}
.mosaic-all:hover {
    background: var(--accent);
    color: #fff;
}

/* ---------- CARTE PRIX / PRÉSENTATION ---------- */
.p-intro {
    padding: var(--section-y) 0;
    background: var(--paper);
}
.price-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(30px, 4vw, 54px);
    max-width: 880px;
    margin: 0 auto;
    box-shadow: 0 30px 60px -42px rgba(0, 0, 0, 0.35);
}
.price-flag {
    position: absolute;
    top: 0;
    right: clamp(24px, 4vw, 48px);
    transform: translateY(-40%);
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    padding: 14px 22px;
    text-align: right;
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.5);
}
.price-flag span {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.price-flag b {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    color: #fff;
}
.price-flag b em {
    color: var(--accent);
    font-style: normal;
}
.price-card h2 {
    font-size: clamp(24px, 2.6vw, 36px);
    margin-bottom: 14px;
}
.price-card .desc {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 62ch;
    margin-bottom: 26px;
}
.usp-list {
    list-style: none;
    margin: 20px 0 30px;
    padding: 0;
    display: grid;
    gap: 14px;
}
.usp-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15.5px;
    line-height: 1.55;
}
.usp-list .d {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}
.spec-line-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}
.spec-line-title::after {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--accent);
}
.spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.spec-chips span {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    color: var(--ink);
}

/* ---------- SECTION DESIGN SOMBRE (référence US) ---------- */
.dark-feature {
    background: var(--black);
    color: #fff;
    padding: var(--section-y) 0;
}
.dark-feature .section-head h2 {
    color: #fff;
}
.dark-feature .section-head .sub {
    color: var(--muted-light);
}
.atouts-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: stretch;
}
.atouts-panel {
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    padding: clamp(28px, 3.4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.badge-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    margin-bottom: 22px;
}
.atouts-panel h3 {
    color: #fff;
    font-size: clamp(24px, 2.4vw, 34px);
    margin-bottom: 14px;
}
.atouts-panel > p {
    color: var(--muted-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 46ch;
}
.feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-dark);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.feature-item + .feature-item {
    margin-top: 12px;
}
.feature-item .d {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-item h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}
.feature-item p {
    font-size: 14px;
    color: var(--muted-light);
    line-height: 1.6;
}
.atouts-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.atouts-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 420px;
    background: var(--ink-2);
}
.atouts-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Blocs grille sombre 2 colonnes (mockup Maroc) */
.duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: clamp(36px, 4vw, 56px);
}
.duo-cell {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}
.duo-cell.media {
    background: #1c1d21;
}
.duo-cell.media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.duo-cell.text {
    background: var(--ink-2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 3.5vw, 52px);
}
.duo-cell.text h3 {
    color: #fff;
    font-size: clamp(20px, 2vw, 28px);
    margin-bottom: 14px;
    max-width: 18ch;
}
.duo-cell.text p {
    color: var(--muted-light);
    font-size: 15px;
    line-height: 1.7;
    max-width: 46ch;
}

/* ---------- SHOWCASE ATOUTS (accordéon numéroté + média) ---------- */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(28px, 4.5vw, 72px);
    align-items: stretch;
}
.showcase-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sc-item {
    border-top: 1px solid var(--line-dark);
}
.sc-item:last-of-type {
    border-bottom: 1px solid var(--line-dark);
}
.sc-head {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 22px 4px;
    color: #fff;
}
.sc-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--muted-light);
    width: 28px;
    flex-shrink: 0;
    transition: color 0.25s var(--ease);
}
.sc-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: clamp(17px, 1.7vw, 22px);
    flex: 1;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s var(--ease);
}
.sc-x {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #fff;
    opacity: 0.45;
    transition:
        transform 0.35s var(--ease),
        opacity 0.25s,
        color 0.25s;
}
.sc-x::before,
.sc-x::after {
    content: "";
    position: absolute;
    background: currentColor;
}
.sc-x::before {
    left: 0;
    right: 0;
    top: 6px;
    height: 2px;
}
.sc-x::after {
    top: 0;
    bottom: 0;
    left: 6px;
    width: 2px;
}
.sc-item:hover .sc-title {
    color: rgba(255, 255, 255, 0.85);
}
.sc-item.active .sc-title {
    color: #fff;
}
.sc-item.active .sc-num {
    color: var(--accent);
}
.sc-item.active .sc-x {
    transform: rotate(45deg);
    color: var(--accent);
    opacity: 1;
}
.sc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
}
.sc-body-inner {
    overflow: hidden;
}
.sc-item.active .sc-body {
    grid-template-rows: 1fr;
}
.sc-body p {
    color: var(--muted-light);
    font-size: 15px;
    line-height: 1.7;
    max-width: 52ch;
    padding: 0 4px 26px 52px;
}
.sc-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.showcase-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 500px;
    background: var(--ink-2);
}
.sc-media {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.sc-media.active {
    opacity: 1;
}
.sc-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-watermark {
    position: absolute;
    right: 24px;
    bottom: 2px;
    z-index: 2;
    pointer-events: none;
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1;
    font-size: clamp(84px, 9vw, 148px);
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}

/* ---------- CARACTÉRISTIQUES ---------- */
.specs-section {
    padding: var(--section-y) 0;
    background: var(--white);
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.spec-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition:
        border-color 0.25s,
        transform 0.25s var(--ease),
        box-shadow 0.25s;
}
.spec-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.35);
}
.spec-card .ico {
    color: var(--accent);
    margin-bottom: 6px;
}
.spec-card b {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
}
.spec-card span {
    font-size: 13.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
    display: block;
}

/* ---------- PRIX & VERSIONS ---------- */
.versions {
    padding: var(--section-y) 0;
    background: var(--paper);
}
.version-hero {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
    box-shadow: 0 30px 60px -42px rgba(0, 0, 0, 0.3);
}
.version-info {
    padding: clamp(28px, 3.6vw, 50px);
}
.version-info .from {
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.version-info .price {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 900;
    margin: 6px 0 4px;
}
.version-info .price em {
    color: var(--accent);
    font-style: normal;
}
.version-info .ttc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}
.version-feats {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 11px;
}
.version-feats li {
    display: flex;
    gap: 12px;
    font-size: 14.5px;
    align-items: flex-start;
}
.version-feats .d {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}
.version-media {
    position: relative;
    min-height: 360px;
    background: var(--paper-2);
}
.version-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.version-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Autres déclinaisons */
.others {
    margin-top: clamp(40px, 5vw, 64px);
}
.others h3 {
    font-size: clamp(20px, 2.2vw, 28px);
    margin-bottom: 24px;
}
.others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.other-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.28s var(--ease),
        box-shadow 0.28s,
        border-color 0.25s;
}
.other-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 26px 50px -32px rgba(0, 0, 0, 0.4);
}
.other-media {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--paper-2);
}
.other-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.other-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.other-body h4 {
    font-size: 17px;
    font-weight: 700;
}
.other-body span {
    font-size: 13px;
    color: var(--muted);
}
.other-body .svc-link {
    margin-top: 10px;
    font-size: 13.5px;
}

/* ---------- BANDE CTA ---------- */
.cta-band {
    position: relative;
    background: var(--black);
    color: #fff;
    padding: clamp(64px, 8vw, 110px) 0;
    overflow: hidden;
    text-align: center;
}
.cta-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}
.cta-band .inner {
    position: relative;
    z-index: 3;
}
.cta-band h2 {
    font-size: clamp(26px, 3.2vw, 44px);
    margin: 14px 0 12px;
    color: #fff;
}
.cta-band p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16.5px;
    margin-bottom: 30px;
}
.cta-band .actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--section-y) 0;
    background: var(--white);
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-q {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}
.faq-q .chev {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--muted);
}
.faq-item.open .faq-q .chev {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease);
}
.faq-a p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    padding: 0 4px 22px;
    max-width: 70ch;
}

@media (max-width: 991px) {
    .anchor-bar {
        top: 64px;
    }
    .p-specs-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .p-spec {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 16px 10px;
    }
    .p-spec + .p-spec {
        border-left: 1px solid var(--line-dark);
    }
    .atouts-grid,
    .version-hero {
        grid-template-columns: 1fr;
    }
    .showcase {
        grid-template-columns: 1fr;
    }
    .showcase-media {
        min-height: 360px;
        order: -1;
    }
    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
    .others-grid {
        grid-template-columns: 1fr;
    }
    .duo-grid {
        grid-template-columns: 1fr;
    }
    .duo-cell {
        min-height: 300px;
    }
}
@media (max-width: 640px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
    .mosaic-cell {
        aspect-ratio: 16/10;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Pages de contenu (À propos, Crédit, LLD, Réseau, Essai)
   S'appuie sur styles.css
   ============================================================ */

/* ---------- HERO DE PAGE (clair) ---------- */
.page-hero {
    background: var(--paper);
    padding: 60px 0;
}
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.page-hero h2 {
    font-size: clamp(30px, 4vw, 45px);
    margin-top: 18px;
}
.page-hero .intro {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.75;
}
.page-hero .intro b,
.page-hero .intro strong {
    color: var(--ink);
}
.page-hero.dark-head {
    background: var(--ink);
}
.page-hero.dark-head h1 {
    color: #fff;
}
.page-hero.dark-head .intro {
    color: var(--muted-light);
}

/* hero avec image à droite (À propos) */
.page-hero-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/11;
    background: var(--paper-2);
    width: 100%;
    height: 100%;
}
.page-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kpis {
    display: flex;
    gap: 50px;
    margin-top: 34px;
}
.kpi{
    line-height: 1;
}
.kpi b {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}
.kpi span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
    display: block;
}

/* ---------- SECTIONS GÉNÉRIQUES ---------- */
.sec {
    margin: 60px 0;
}
.sec.alt {
    background: var(--paper);
}
.sec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.sec-grid.media-left {
    grid-template-columns: 1.1fr 1fr;
}
.sec-grid h2 {
    font-size: clamp(26px, 3vw, 40px);
    margin: 16px 0 18px;
}
.sec-grid .body {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}
.sec-grid .body p + p {
    margin-top: 16px;
}
.sec-grid .body b,
.sec-grid .body strong {
    color: var(--ink);
}
.sec-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/11;
    background: var(--paper-2);
    width: 100%;
    height: 100%;
}
.sec-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- LISTES DE POINTS (2 colonnes) ---------- */
.points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 40px;
    margin-top: 40px;
}
.point {
    border-top: 2px solid var(--line);
    padding-top: 20px;
}
.point:hover {
    border-top-color: var(--accent);
}
.point .ico {
    color: var(--accent);
    margin-bottom: 12px;
}
.point h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.point p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- CARTES VALEURS (4 colonnes) ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 44px;
}
.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 26px 22px;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s,
        border-color 0.25s;
}
.sec.alt .value-card {
    background: #fff;
}
.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.3);
}
.value-card .ico {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.value-card:hover .ico {
    background: var(--accent);
}
.value-card h4 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.value-card p {
    color: var(--muted);
    font-size: 13.8px;
    line-height: 1.6;
}

/* ---------- ÉNONCÉ CENTRAL ---------- */
.statement {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.statement h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    margin: 16px 0 18px;
}
.statement p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}
.statement p b {
    color: var(--ink);
}

/* ---------- CHIPS FINANCEMENT ---------- */
.fin-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 26px 0 30px;
}
.fin-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 15px 18px;
    font-weight: 600;
    font-size: 14.5px;
}
.fin-chip .ico {
    color: var(--accent);
    flex-shrink: 0;
}

/* ---------- CARTES OFFRES (4 colonnes) ---------- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 44px;
}
.offer-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s,
        border-color 0.25s;
}
.offer-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.3);
}
.offer-card .big {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.offer-card .ico {
    color: var(--accent);
}
.offer-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
}
.offer-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    flex: 1;
}
.offer-card .svc-link {
    font-size: 13.5px;
}

/* ---------- PACKS ASSURANCE ---------- */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 44px;
    align-items: stretch;
}
.pack {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
}
.pack .pack-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.pack h3 {
    font-size: 22px;
    margin-bottom: 8px;
}
.pack .pack-sub {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}
.pack ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.pack li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.5;
}
.pack li .ck {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.pack.gold {
    border: 2px solid var(--accent);
    position: relative;
    box-shadow: 0 28px 56px -38px rgba(230, 0, 18, 0.45);
}
.pack.gold .pack-tag {
    color: var(--accent);
}
.pack.gold .reco {
    position: absolute;
    top: 0;
    right: 24px;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}
.pack.premium {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.pack.premium h3 {
    color: #fff;
}
.pack.premium .pack-tag {
    color: rgba(255, 255, 255, 0.55);
}
.pack.premium .pack-sub {
    color: var(--muted-light);
}
.packs-note {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 28px;
}
.packs-note b {
    color: var(--ink);
}

/* ---------- STATS BAND (LLD) ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}
.stat-cell {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px 18px;
    text-align: center;
}
.stat-cell b {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    display: block;
    line-height: 1;
}
.stat-cell span {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 8px;
    display: block;
    line-height: 1.4;
}

/* ---------- LIGNES SERVICE (LLD gestion flotte) ---------- */
.svc-rows {
    display: grid;
    gap: 0;
    margin-top: 36px;
}
.svc-row {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}
.svc-row:last-child {
    border-bottom: 1px solid var(--line);
}
.svc-row .ico {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.svc-row h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 7px;
}
.svc-row p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- PRINCIPES (bande sombre + photo) ---------- */
.principles-dark {
    position: relative;
    background: var(--ink);
    overflow: hidden;
}
.principles-dark .pd-photo {
    position: absolute;
    inset: 0;
}
.principles-dark .pd-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}
.principles-dark .pd-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(10, 10, 11, 0.46) 0%,
        rgba(10, 10, 11, 0.2) 45%,
        rgba(10, 10, 11, 0.25) 100%
    );
}
.pd-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: start;
}
.pd-head {
    position: sticky;
}
.pd-head h2 {
    color: #fff;
    margin: 16px 0 18px;
}
.pd-head p {
    color: var(--muted-light);
    font-size: 15.5px;
    line-height: 1.75;
}
.pd-head p b {
    color: #fff;
}
.pd-list {
    display: flex;
    flex-direction: column;
}
.pd-item {
    display: flex;
    gap: clamp(18px, 2.5vw, 30px);
    align-items: flex-start;
    padding: 30px 0;
    border-top: 1px solid var(--line-dark);
    transition: background 0.25s var(--ease);
}
.pd-item:last-child {
    border-bottom: 1px solid var(--line-dark);
}
.pd-ico {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(237, 28, 36, 0.12);
    border: 1px solid rgba(237, 28, 36, 0.35);
    color: var(--accent);
    display: grid;
    place-items: center;
    transition:
        background 0.3s var(--ease),
        transform 0.3s var(--ease);
}
.pd-item:hover .pd-ico {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.pd-body h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 9px;
}
.pd-body p {
    color: var(--muted-light);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 58ch;
}

/* ---------- RÉSEAU / CARTE ---------- */
.network-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 880px;
    margin: 0 auto 32px;
}
.field label {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 8px;
}
.field select,
.field input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    appearance: none;
    outline: none;
    transition: border-color 0.2s;
}
.field select:focus,
.field input:focus {
    border-color: var(--accent);
}
.field {
    position: relative;
}
.field.has-caret::after {
    content: "";
    position: absolute;
    top: 47px;
    right: 18px;
    bottom: 22px;
    width: 8px;
    height: 8px;
    border-right: 1.8px solid var(--muted);
    border-bottom: 1.8px solid var(--muted);
    transform: rotate(45deg);
    pointer-events: none;
}
#map {
    height: clamp(420px, 56vh, 600px);
    border-radius: 14px;
    border: 1px solid var(--line);
    z-index: 1;
}
.map-note {
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    margin-top: 18px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.branch {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
    transition:
        border-color 0.25s,
        transform 0.25s var(--ease),
        box-shadow 0.25s;
}
.branch:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.3);
}
.branch h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.branch .city {
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.branch p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}
.branch .svc-link {
    margin-top: 14px;
    font-size: 13.5px;
}

/* ---------- FORMULAIRE ESSAI ---------- */
.form-wrap {
    max-width: 820px;
    margin: 0 auto;
}
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 30px 60px -45px rgba(0, 0, 0, 0.3);
}
.form-step {
    margin-bottom: 36px;
}
.form-step:last-of-type {
    margin-bottom: 0;
}
.step-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
}
.step-head h3 {
    font-size: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-row + .form-row {
    margin-top: 18px;
}
.form-row.single {
    grid-template-columns: 1fr;
}
.req {
    color: var(--accent);
}
.consent {
    margin-top: 22px;
}
.consent p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 12px;
}
.radio-row {
    display: flex;
    gap: 26px;
}
.radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    cursor: pointer;
}
.radio-row input {
    accent-color: var(--accent);
    width: 17px;
    height: 17px;
}
.form-submit {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.form-note {
    font-size: 12.5px;
    color: var(--muted);
}
.legal {
    max-width: 820px;
    margin: 36px auto 0;
    color: var(--muted);
    font-size: 12.8px;
    line-height: 1.7;
}
.legal p + p {
    margin-top: 12px;
}
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.show {
    display: block;
}
.form-success .ck-big {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}
.form-success h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.form-success p {
    color: var(--muted);
    font-size: 15.5px;
}

/* ---------- WIDGET RDV (hero SAV) ---------- */
.rdv-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 30px 60px -45px rgba(0, 0, 0, 0.35);
    padding: 26px 28px 22px;
    max-width: 440px;
    justify-self: end;
    width: 100%;
}
.rdv-top {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.rdv-bar {
    height: 3px;
    background: var(--paper-2);
    border-radius: 2px;
    margin: 14px 0 24px;
    overflow: hidden;
}
.rdv-bar i {
    display: block;
    height: 100%;
    width: 25%;
    background: var(--accent);
    transition: width 0.4s var(--ease);
}
.rdv-pane {
    display: none;
}
.rdv-pane.active {
    display: block;
}
.rdv-pane h3 {
    font-size: 19px;
    text-align: center;
    margin-bottom: 8px;
}
.rdv-pane .hint {
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.rdv-pane .field + .field {
    margin-top: 14px;
}
.rdv-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.rdv-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 18px;
}
.rdv-foot {
    text-align: center;
    color: var(--muted);
    font-size: 11.5px;
    margin-top: 18px;
}
.rdv-done {
    text-align: center;
    padding: 8px 0 4px;
}
.rdv-done .ck-big {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}
.rdv-done h3 {
    font-size: 19px;
    margin-bottom: 8px;
}
.rdv-done p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ---------- CARTES SERVICES (image + texte) ---------- */
.svc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 44px;
}
.svc-cards .svc-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s,
        border-color 0.25s;
}
.svc-cards .svc-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.3);
}
.svc-card .media {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--paper-2);
}
.svc-card .media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.svc-card .body {
    padding: 22px 24px 26px;
}
.svc-card .body .ico {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.svc-card h4 {
    font-family: var(--font-display);
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.svc-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- TABLE GARANTIES ---------- */
.warranty-table {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 44px;
}
.wt-head,
.wt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 16px 26px;
    gap: 20px;
}
.wt-head {
    background: var(--ink);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.wt-row {
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 15px;
}
.wt-row:nth-child(odd) {
    background: var(--paper);
}
.wt-row b {
    font-family: var(--font-display);
    font-weight: 700;
}
.wt-row .val {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}
.wt-note {
    color: var(--muted);
    font-size: 12.5px;
    padding: 14px 26px;
    background: #fff;
    border-top: 1px solid var(--line);
}

/* ---------- MINI-CARTES (6 services SAV) ---------- */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 44px;
}
.mini-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 26px 24px;
    transition:
        transform 0.25s var(--ease),
        border-color 0.25s,
        box-shadow 0.25s;
}
.mini-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.25);
}
.mini-card .ico {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.mini-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.mini-card p {
    color: var(--muted);
    font-size: 13.8px;
    line-height: 1.6;
}

/* ---------- BANDEAU ENGAGEMENT ---------- */
.engage-band {
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 32px;
}
.engage-band .ico {
    color: var(--accent);
    flex-shrink: 0;
}
.engage-band p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-light);
}
.engage-band p b {
    color: #fff;
}

/* ---------- LIGNES FINANCEMENT (crédit) ---------- */
.fin-rows {
    border-top: 1px solid var(--line);
}
.fin-row {
    display: flex;
    gap: 22px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.fin-row .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}
.fin-row .fico {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    flex-shrink: 0;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.fin-row h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.fin-row p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ---------- BANDE PHOTO PLEINE LARGEUR ---------- */
.photo-band {
    position: relative;
    height: clamp(300px, 42vw, 480px);
    overflow: hidden;
}
.photo-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-band .band-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-bottom: clamp(20px, 3vw, 36px);
}
.photo-band .band-caption p {
    display: inline-block;
    background: rgba(10, 10, 11, 0.78);
    color: #fff;
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--accent);
    padding: 14px 22px;
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 56ch;
}

/* ---------- OFFRES (section sombre) ---------- */
.sec.dark-block {
    background: var(--ink);
}
.sec.dark-block .section-head h2 {
    color: #fff;
}
.sec.dark-block .section-head .sub {
    color: var(--muted-light);
}
.offers-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 44px);
}
.offer-col {
    position: relative;
    border-top: 1px solid var(--line-dark);
    padding-top: 24px;
}
.offer-col::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--accent);
}
.offer-col .idx {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.45);
}
.offer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 9px;
}
.offer-col p {
    color: var(--muted-light);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- BANDEAU AVANTAGES (4 colonnes) ---------- */
.adv-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.5vw, 36px);
    margin-top: 46px;
}
.adv-item {
    border-left: 2px solid var(--line);
    padding-left: 20px;
    transition: border-color 0.25s var(--ease);
}
.adv-item:hover {
    border-left-color: var(--accent);
}
.adv-item .ico {
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.adv-item h4 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 7px;
}
.adv-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- TABLEAU COMPARATIF ASSURANCE ---------- */
.cmp-wrap {
    margin-top: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow-x: auto;
    background: #fff;
}
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.cmp-table th,
.cmp-table td {
    padding: 14px 20px;
    text-align: center;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
}
.cmp-table thead th {
    border-top: 0;
    background: var(--paper);
    padding: 20px;
    vertical-align: top;
}
.cmp-table .g-label {
    text-align: left;
    font-weight: 600;
    color: var(--ink);
    width: 34%;
}
.cmp-table thead th b {
    display: block;
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 800;
}
.cmp-table thead th em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}
.cmp-table thead th.hot {
    background: var(--accent);
    color: #fff;
}
.cmp-table thead th.hot em {
    color: rgba(255, 255, 255, 0.8);
}
.cmp-table thead th.dark-c {
    background: var(--ink);
    color: #fff;
}
.cmp-table thead th.dark-c em {
    color: var(--muted-light);
}
.cmp-table td.hot-c {
    background: var(--accent-soft);
}
.cmp-table td .ck {
    color: var(--accent);
    display: inline-flex;
}
.cmp-table td .dash {
    color: rgba(10, 10, 11, 0.18);
    font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .svc-cards,
    .mini-grid {
        grid-template-columns: 1fr 1fr;
    }
    .offers-rail,
    .adv-strip {
        grid-template-columns: 1fr 1fr;
    }
    .rdv-card {
        justify-self: stretch;
        max-width: none;
    }
    .page-hero-grid,
    .sec-grid,
    .sec-grid.media-left {
        grid-template-columns: 1fr;
    }
    .media-left .sec-grid, .media-left .page-hero-grid{
        flex-direction: column-reverse;
        display: flex;
    }
    .values-grid,
    .offers-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pd-grid {
        grid-template-columns: 1fr;
    }
    .pd-head {
        position: static;
    }
    .packs-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }
    .branches-grid{
        opacity: 1;
        transform: none;
    }
    .points-grid {
        grid-template-columns: 1fr;
    }
    .network-filters {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 560px) {
    .values-grid,
    .offers-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }
    .fin-chips {
        grid-template-columns: 1fr;
    }
    .svc-cards,
    .mini-grid {
        grid-template-columns: 1fr;
    }
    .offers-rail,
    .adv-strip {
        grid-template-columns: 1fr;
    }
    .engage-band {
        flex-direction: column;
        text-align: center;
    }
}

.mk-pin {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    font-family: var(--font-body);
}
.leaflet-popup-content {
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.5;
    min-width: 220px;
}
.leaflet-popup-content b {
    font-family: var(--font-display);
    font-size: 14.5px;
    display: block;
    margin-bottom: 4px;
}
.branch .tel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
}
.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.branch-tags span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 4px 10px;
    color: var(--muted);
}
.no-result {
    text-align: center;
    color: var(--muted);
    padding: 40px 0;
    font-size: 15px;
    display: none;
}
.no-result.show {
    display: block;
}

/* Popup de succursale sur la carte */
.popup-branch {
    padding: 16px;
    background: #fff;
    font-family: var(--font-body);
}
.popup-city {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.popup-name {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0 0 8px 0;
}
.popup-address {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.popup-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.popup-service {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 4px 10px;
    color: var(--muted);
}
.popup-phone {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent) !important;
    text-decoration: none;
    gap: 6px;
    transition: color 0.2s;
}
.popup-phone:hover {
    color: var(--accent-strong);
}

/* Switcher pages */

.switcher_pages{
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
}
.switcher_pages__media{
    position: absolute;
    inset: 0;
}
.switcher_pages__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.switcher_pages__content{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.switcher_pages__content h1{
    color: #fff;
    font-size: 50px;
}
.switcher_pages__overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}
@media (max-width: 575px) {
    .switcher_pages__content h1{
        font-size: 30px;
    }
}

/* Actualités */

.content_actualites{
    padding: 60px 0 100px;
}
.content_actualites h2{
    margin-bottom: 40px;
}



/* Pagination */

.pagination {
  width: 100%;
  justify-content: center;
  align-items: end;
  margin-top: 30px;
}
.pagination li {
  margin: 0 14px;
  line-height: 1;
  position: relative;
  top: 0;
}
.pagination li a {
  font-size: 18px;
  color: var(--black);
}
.pagination li a svg{
    width: 20px;
}
.pagination li.arrows_prev a svg{
    transform: rotate(180deg);
}
/*.pagination li.active {
  border-bottom: 2px solid #091235;
}*/
.pagination li.active a {
  color: var(--accent);
  pointer-events: none;
  font-weight: 800;
}
.pagination li a:hover {
  font-weight: 800;
}
.arrows_nav{
  top: -2px;
}
@media (max-width: 575px){
  .pagination {
    margin-top: 0;
  }
}

/* Actualité selected */

.section_breadcrumbs {
    margin-bottom: 50px;
}
.section_breadcrumbs ul{
    padding-left: 0;
    list-style: none;
}
.section_breadcrumbs ul li {
    display: inline-block;
}
.section_breadcrumbs ul li a {
    font-size: 18px;
    color: var(--light-grey);
}
.section_breadcrumbs ul li span {
    color: var(--light-grey);
    padding: 0 5px;
}
.section_breadcrumbs ul li a:hover, .section_breadcrumbs ul li:last-child a {
  font-weight: 800;
}
.section_breadcrumbs ul li:last-child a {
    pointer-events: none;
}
.actu_selected label{
    font-size: 16px;
    color: var(--accent);
    margin: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.actu_selected label img{
    margin-right: 15px;
    max-width: 30px;
}
.actu_selected h2{
    font-weight: 800;
    font-size: 25px;
    color: var(--black);
    margin-bottom: 30px;
    padding: 10px 0 10px 30px;
    position: relative;
}
.actu_selected h2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--black);
    width: 15px;
    height: 100%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.img_actu_selected{
    margin: 30px 0;
}
.actu_selected p {
    margin-bottom: 25px;
}
.desc_text_actu_selected{
    margin-top: 30px;
}
@media (max-width: 991px){
    .section_breadcrumbs ul li{
        line-height: 1;
    }
    .section_breadcrumbs ul li a{
        font-size: 15px;
    }
    .actu_selected h2{
        font-size: 21px;
    }
}
@media (max-width: 575px){
    .section_breadcrumbs ul li:nth-child(3) span, .section_breadcrumbs ul li:last-child{
        display: none;
    }
    .actu_selected h2{
        font-size: 18px;
        padding: 6px 0 6px 20px;
    }
    .actu_selected h2:before {
        width: 10px;
    }
    .actu_selected p {
        font-size: 16px;
        line-height: 30px;
    }
}


/* Contact */

.contact-form-section {
    padding: 30px 0 100px;
    max-width: 800px;
    margin: 0 auto;
}

.form-label {
    font-weight: 600;
    color: var(--ink-2);
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--ink-2);
    background-color: #fff;
    height: auto;
}

.form-control::placeholder,
.form-select {
    color: #6c757d;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%236c757d%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e");
    background-size: 14px;
    padding-right: 40px;
}

.phone-input-group {
    display: flex;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.phone-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    background-color: #fff;
    border-right: 1px solid #dee2e6;
    gap: 6px;
    color: var(--ink-2);
    font-size: 14px;
    white-space: nowrap;
    max-width: 160px;
}

.phone-prefix i {
    color: #6c757d;
}

.phone-prefix select {
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--ink-2);
    padding: 0;
    cursor: pointer;
    outline: none;
}

.phone-input-group input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
}

.phone-input-group input::placeholder {
    color: #6c757d;
}
textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-check-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    position: relative;
}

.form-check-custom input[type="checkbox"] {
    opacity: 0;
    width: 0;
}

.form-check-custom .checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: rotate(0deg) !important;
}

.form-check-custom input[type="checkbox"]:checked ~ .checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-custom .checkmark i {
    color: #fff;
    font-size: 22px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-check-custom input[type="checkbox"]:checked ~ .checkmark i {
    opacity: 1;
}

.form-check-custom label {
    font-size: 14px;
    color: var(--ink-2);
    cursor: pointer;
    margin: 0;
}
.form-check-custom a, .custom-check a{
    color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
}
.custom-check input[type="checkbox"] {
    display: none;
}
.custom-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--ink-2);
    cursor: pointer;
    margin: 0;
}

.custom-check .box {
    position: relative;
    width: 22px;
    height: 22px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.custom-check .box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.custom-check input:checked + .box {
    background: var(--accent);
    border-color: var(--accent);
}
.custom-check input:checked + .box::after {
    opacity: 1;
}
.btn-submit {
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #c4000f;
    color: #fff;
    transform: translateY(-2px);
}

.btn-submit i {
    font-size: 18px;
    transform: rotate(-45deg);
}

.content_contact .form-row {
    margin-bottom: 20px;
    position: relative;
    display: block;
}
.content_contact .form-row + .form-row {
    margin-top: 0;
}
samp.error-message{
    position: absolute;
    bottom: -20px;
    color: var(--accent);
    font-size: 12px;
}
.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.bi-check::before {
    content: "";
}
@media (max-width: 576px) {
    .contact-form-section {
        padding: 40px 20px;
    }
}

/* Pages info */

.content_pages_info{
    padding: 60px 0 100px;
}
.content_pages_info h1{
    margin-bottom: 50px;
}
.content_pages_info h2{
    margin: 40px 0 20px;
}
.content_pages_info ul{
    padding-left: 20px;
}
.content_pages_info li{
    list-style: disc;
}















/* RDV */

.rdv-card {
    background: #fff;
    padding: 20px 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
    margin: auto;
    max-height: 600px;
    overflow: auto;
    border-radius: 15px;
}

/* ── Progress bar ─────────────────────────────────────────────────── */
.rdv-card .progress-label {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    color: #111;
}
.rdv-card .progress-bar-wrap {
    background: #E4E7EC;
    border-radius: 99px;
    height: 5px;
    margin-bottom: 36px;
}
.rdv-card .progress-bar-fill {
    background: var(--btn-color);
    height: 100%;
    border-radius: 99px;
    transition: width .35s ease;
}

button.btn-help {
    border: 0px;
    background: transparent;
    color: #298ee2;
}

/* ── Titles ───────────────────────────────────────────────────────── */
.rdv-card .step-title {
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    color: #0d0d0d;
}
.rdv-card .step-subtitle {
    font-size: 14px;
    color: #667085;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ── Fields ───────────────────────────────────────────────────────── */
.rdv-card .field-label {
    font-weight: 700;
    font-size: 14px;
    color: #000000;
    margin-bottom: 5px;
    display: block;
}
.rdv-card .field-group { margin-bottom: 15px; }
.rdv-card .field-row { display: flex; gap: 14px; }
.rdv-card .field-row .field-group { flex: 1; }

.rdv-card select,.rdv-card input[type="text"],.rdv-card input[type="email"],.rdv-card textarea {
    width: 100%;
    border: 1.5px solid var(--input-border);
    border-radius: var(--border-radius);
    padding: 10px 12px;
    font-size: 14px;
    color: #858585;
    background: #fff;
    appearance: none;
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
}
.rdv-card select { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23667085%27 stroke-width=%272%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.rdv-card select:focus, input:focus, textarea:focus { border-color: var(--input-focus); }
.rdv-card select:disabled { background-color: #f9fafb; color: #98a2b3; cursor: not-allowed; }
.rdv-card textarea { resize: none; min-height: 120px; }

/* Textarea avec icône image */
.rdv-card .textarea-wrap { position: relative; }
.rdv-card .textarea-wrap textarea { padding-bottom: 50px; }
.rdv-card .textarea-img-btn {
    position: absolute; bottom: 12px; right: 12px;
    background: #f2f4f7; border: none; border-radius: 8px;
    padding: 6px 10px; cursor: pointer; font-size: 18px;
    color: #667085;
}

/* Phone field */
.rdv-card .phone-wrap {
    display: flex;
    border: 1.5px solid var(--input-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color .2s;
}
.rdv-card .phone-wrap:focus-within { border-color: var(--input-focus); }
.rdv-card .phone-icon { display: flex; align-items: center; padding: 0 12px; color: #667085; font-size: 16px; }
.rdv-card .phone-number { border: 0px !important; flex: 1; padding: 14px 12px; font-size: 15px; outline: none; }

/* ── Time slots ───────────────────────────────────────────────────── */
.rdv-card .slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.rdv-card .slot-btn {
    border: 1.5px solid var(--input-border);
    border-radius: var(--border-radius);
    padding: 10px 8px;
    background: #fff;
    font-size: 14px;
    color: #344054;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    font-weight: 500;
}
.rdv-card .slot-btn:hover { border-color: var(--btn-color); }
.rdv-card .slot-btn.selected {
    border-color: var(--slot-selected-border);
    color: var(--slot-selected-text);
    font-weight: 700;
    background: #f0f7ff;
}
.rdv-card .slots-empty { color: #98a2b3; font-size: 13px; margin: 0px !important; }

/* ── Checkbox ─────────────────────────────────────────────────────── */
.rdv-card .checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 24px;
}
.rdv-card .checkbox-wrap input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--btn-color);
    cursor: pointer;
    flex-shrink: 0;
}
.rdv-card .checkbox-wrap label { font-size: 14px; color: #344054; cursor: pointer; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.rdv-card .btn-row { display: flex; gap: 12px; margin-top: 24px; }
.rdv-card .btn-primary {
    flex: 1;
    background: var(--btn-color);
    color: var(--btn-text-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s;
}
.rdv-card .btn-primary:hover { opacity: .88; }
.rdv-card .btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.rdv-card .btn-back {
    flex: 1;
    background: var(--btn-back-color);
    color: var(--btn-back-text);
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s;
}
.rdv-card .btn-back:hover { opacity: .8; }

/* ── Steps visibility ─────────────────────────────────────────────── */
.rdv-card .step { display: none; }
.rdv-card .step.active { display: block; }

/* ── Success screen ───────────────────────────────────────────────── */
.rdv-card .success-screen {
    text-align: center;
    padding: 40px 20px;
}
.rdv-card .success-icon {
    font-size: 80px;
    margin-bottom: 24px;
}
.rdv-card .success-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 14px;
}
.rdv-card .success-text { font-size: 15px; color: #667085; line-height: 1.7; }

/* ── Footer ───────────────────────────────────────────────────────── */
.rdv-card .rdv-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #98a2b3;
}

/* ── Error message ────────────────────────────────────────────────── */
.rdv-card .error-msg {
    background: #fef2f2;
    color: #dc2626;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}
.rdv-card .error-msg.visible { display: block; }

/* ── Loader ───────────────────────────────────────────────────────── */
.rdv-card .spinner {
    width: 18px; height: 18px;
    border: 3px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    display: none;
}
.rdv-card .btn-primary.loading .spinner { display: inline-block; }
.rdv-card .btn-primary.loading .btn-label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }



/* ── Field errors ─────────────────────────────────────────────────── */
.rdv-card .field-group.has-error select,
.rdv-card .field-group.has-error input[type="text"],
.rdv-card .field-group.has-error input[type="email"],
.rdv-card .field-group.has-error textarea {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

.rdv-card .field-group.has-error select:focus,
.rdv-card .field-group.has-error input:focus,
.rdv-card .field-group.has-error textarea:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.rdv-card .field-group.has-error .phone-wrap,
.rdv-card .field-group.has-error .textarea-wrap textarea {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

.rdv-card .field-group.has-error .slots-grid {
    border: 1.5px solid #dc2626;
    border-radius: var(--border-radius);
    padding: 8px;
    background: #fef2f2;
}

.rdv-card .field-error {
    display: none;
    color: #dc2626;
    font-size: 12.5px;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.4;
}

.rdv-card .field-group.has-error .field-error {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rdv-card .field-error::before {
    content: "⚠";
    font-size: 13px;
    flex-shrink: 0;
}

/* Header error amélioré */
.rdv-card .error-msg.visible {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    font-weight: 500;
}

.rdv-card .error-msg.visible::before {
    content: "⚠";
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.3;
}



