.form__field.has-error .input,
.form__field.has-error .select,
.form__field.has-error .textarea {
    border-color: #e02020;
}

.form__field.has-error .input:focus,
.form__field.has-error .select:focus,
.form__field.has-error .textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(224, 32, 32, 0.15);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #e02020;
    font-size: 13px;
    line-height: 1.4;
}

.form__field--check.has-error .check span {
    color: #e02020;
}

/* Message global du formulaire (data-form-msg) */
.note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.note::before {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1.35;
}

.note--success {
    color: #14683c;
    background-color: #eaf7ef;
    border-color: #b7e2c7;
}

.note--success::before {
    content: "✓";
}

.note--error {
    color: #a31515;
    background-color: #fdeceb;
    border-color: #f5c2c0;
}

.note--error::before {
    content: "⚠";
}
/* --- Polices ------------------------------------------------------------- */
@font-face {
    font-family: "Foton Type";
    src: url(/build/fonts/FotonType-Light.9427dd41.ttf) format("truetype");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Foton Type";
    src: url(/build/fonts/FotonType-Medium.8002be96.ttf) format("truetype");
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: "Foton Type";
    src: url(/build/fonts/FotonType-Bold.57de77f3.ttf) format("truetype");
    font-weight: 600 900;
    font-display: swap;
}

/* --- Variables ---------------------------------------------------------- */
:root {
    --blue: #041954;
    --blue-mid: #0a2a74;
    --blue-dark: #02103a;
    --ink: #111111;
    --grey: #5f646a;
    --line: #e4e6e9;
    --bg-alt: #f4f5f7;
    --white: #ffffff;
    --on-blue: #b9c0cb;
    --font-title: "Foton Type", Verdana, Geneva, sans-serif;
    --font-body: Verdana, Geneva, sans-serif;
    --wrap: 1280px;
    --radius: 8px;
    --radius-s: 4px;
    --header-h: 76px;
    --gutter: 32px;
}

/* --- Base --------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    margin: 0;
    line-height: 1.15;
}

p {
    margin: 0;
}

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

a {
    color: var(--blue);
    text-decoration: underline;
}

a:hover {
    color: var(--blue-mid);
}

strong {
    font-family: var(--font-title);
    font-weight: 700;
}

.u-nowrap {
    white-space: nowrap;
}

.u-num {
    font-variant-numeric: tabular-nums;
}

/* --- Conteneurs & sections --------------------------------------------- */

.section {
    margin: 60px 0;
}

@media (max-width: 767px) {
    .section {
        margin: 40px 0;
    }

    .reseau-home {
        margin: 30px 0;
    }
}

/* .section--tight {
  padding: 56px 0
} */

.section--alt {
    background: var(--bg-alt);
    padding: 50px 0;
}

.section--navy {
    color: var(--white);
}

.section--navy-content {
    background: var(--blue);
    padding: 60px 44px 40px;
    border-radius: 10px;
}

.section-line {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
}

.section--navy .section-title,
.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section--navy .overline {
    color: var(--on-blue);
}

.section--navy .lead,
.section--navy .text {
    color: var(--on-blue);
}

.section--line {
    padding: 50px 0;
}

.overline {
    font-family: var(--font-title);
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 40px;
    font-weight: 300;
    color: var(--ink);
}

.section-title--bold {
    font-weight: 700;
}

.section-title--s {
    font-size: 36px;
}

.lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--grey);
    max-width: 66ch;
}

.text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--grey);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.section-head--stack {
    display: block;
    margin-bottom: 40px;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* .row {
  display: flex;
  gap: 12px
} */

.row--wrap {
    flex-wrap: wrap;
}

.split {
    display: flex;
    gap: 64px;
    align-items: center;
}

.split__col {
    flex: 1;
}

.split__col--wide {
    flex: 1.05;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-28 {
    margin-bottom: 28px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-14 {
    margin-top: 14px;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 575px) {
    .section--navy-content {
        padding: 60px 15px 40px;
    }
}

/* --- Boutons ----------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: var(--radius-s);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
    text-align: center;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn--primary:hover {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
}

.btn--outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
    font-weight: 600;
}

.btn--outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn--light {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}

.btn--light:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    font-weight: 600;
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--blue);
}

.btn--s {
    padding: 13px 22px;
    font-size: 11.5px;
}

.btn--block {
    display: block;
    width: 100%;
}

.link-more {
    font-family: var(--font-title);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--blue);
}

.link-more:hover {
    text-decoration: underline;
}

.pill {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 28px;
}

.pill--light {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.rule {
    width: 26px;
    height: 3px;
    background: var(--blue);
    margin-bottom: 18px;
}

.rule--light {
    background: var(--white);
}

/* --- Header & navigation ----------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--blue);
}

.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__logo {
    flex: none;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 65px;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav__item {
    position: relative;
}

.nav__link {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    padding: 10px 16px;
    display: inline-block;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.nav__link:hover {
    color: var(--white);
    text-decoration: underline;
}

.nav__link.is-active {
    border-bottom-color: var(--white);
}

.nav__caret {
    font-size: 9px;
    color: var(--on-blue);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
    padding: 16px;
    display: none;
    z-index: 70;
}

.nav__item.is-open .dropdown {
    display: flex;
}

.dropdown--list {
    flex-direction: column;
    gap: 2px;
    min-width: 280px;
}

.dropdown--cols {
    gap: 28px;
    padding: 24px;
    min-width: 600px;
}

.dropdown__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dropdown__head {
    font-family: var(--font-title);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.dropdown__head:hover {
    text-decoration: underline;
}

.dropdown__link {
    font-size: 13.5px;
    color: var(--ink);
    text-decoration: none;
    padding: 5px 0;
}

.dropdown__link:hover {
    color: var(--blue);
    text-decoration: underline;
}

.dropdown--list .dropdown__link {
    padding: 9px 10px;
}

.dropdown--list .dropdown__link:hover {
    background: var(--bg-alt);
    text-decoration: none;
}

/* --- Bouton hamburger --------------------------------------------------- */
.burger {
    display: none;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--white);
    align-items: center;
    justify-content: center;
}

.burger__box {
    position: relative;
    display: block;
    width: 24px;
    height: 16px;
}

.burger__bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.2s ease,
        top 0.3s ease;
}

.burger__bar:nth-child(1) {
    top: 0;
}

.burger__bar:nth-child(2) {
    top: 7px;
}

.burger__bar:nth-child(3) {
    top: 14px;
}

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

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

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

/* --- Menu coulissant (mobile) ------------------------------------------- */
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(2, 16, 58, 0.55);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(360px, 86vw);
    background: var(--blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer__head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--header-h);
    padding: 0 12px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.drawer__logo {
    display: flex;
    align-items: center;
}

.drawer__logo img {
    height: 30px;
}

.drawer__close {
    width: 44px;
    height: 44px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: var(--white);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.drawer__close:hover {
    opacity: 0.7;
}

.drawer__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.drawer__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer__link {
    display: block;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    padding: 16px 20px;
}

.drawer__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.drawer__link.is-active {
    box-shadow: inset 3px 0 0 var(--white);
}

.drawer__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--white);
    padding: 16px 20px;
}

.drawer__toggle:hover {
    background: rgba(255, 255, 255, 0.07);
}

.drawer__toggle.is-active {
    box-shadow: inset 3px 0 0 var(--white);
}

.drawer__caret {
    flex: none;
    font-size: 10px;
    color: var(--on-blue);
    transition: transform 0.25s ease;
}

.drawer__toggle[aria-expanded="true"] .drawer__caret {
    transform: rotate(180deg);
}

.drawer__panel {
    display: none;
    padding: 2px 0 12px;
    background: rgba(0, 0, 0, 0.16);
}

.drawer__panel.is-open {
    display: block;
}

.drawer__head-link {
    display: block;
    font-family: var(--font-title);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-blue);
    text-decoration: none;
    padding: 12px 20px 6px;
}

.drawer__sublink {
    display: block;
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px 10px 32px;
}

.drawer__sublink:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.drawer__foot {
    flex: none;
    padding: 20px;
}

.drawer__foot .btn {
    display: block;
    width: 100%;
}

/* --- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--blue);
}

.hero--home {
    height: 700px;
}

.hero--page {
    height: 500px;
}

.hero--slim {
    height: 420px;
}

.hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__media--bottom {
    background-position: center bottom;
}

.hero__media--placeholder {
    background: var(--blue-mid);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 80px;
    font-size: 13px;
    color: var(--on-blue);
}

.hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 25, 84, 0.6) 0%,
        rgba(4, 25, 84, 0.22) 42%,
        rgba(4, 25, 84, 0) 62%
    );
}
.hero__veil--bottom {
    background: linear-gradient(
        180deg, 
        rgba(4, 25, 84, 0.86) 0%, 
        rgba(4, 25, 84, 0.5) 50%, 
        rgba(4, 25, 84, 0.15) 100%
    );
}
/*.hero__veil--side {
    background: linear-gradient(
        90deg,
        rgba(4, 25, 84, 0.88) 0%,
        rgba(4, 25, 84, 0.55) 44%,
        rgba(4, 25, 84, 0.05) 78%
    );
}*/

.hero__body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 72px;
}

.hero__body--center {
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding-top: 60px;
    padding-bottom: 0;
}

.hero__eyebrow {
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--on-blue);
    margin-bottom: 16px;
}

.hero__title {
    font-size: 54px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    max-width: 750px;
}

.hero__title--xl {
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 22ch;
    text-wrap: balance;
    margin-bottom: 18px;
}

.hero__text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--white);
    max-width: 56ch;
    margin-bottom: 22px;
}

.hero__price {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.hero__meta {
    font-size: 13px;
    color: var(--on-blue);
    margin-bottom: 22px;
}

.hero__col {
    max-width: 640px;
}

@media (max-width: 991px) {
    .hero--page {
        height: auto;
        min-height: 600px;
    }

    .hero__body {
        justify-content: flex-start;
        padding-top: 80px;
        /* espace entre le header et le contenu */
        padding-bottom: 50px;
    }

    .hero__content {
        width: 100%;
    }

    .hero__eyebrow {
        margin-bottom: 12px;
    }

    .hero__title {
        font-size: 42px;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero__text {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .hero__price {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .hero-lien {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-lien .btn {
        min-height: 54px;
    }
}

@media (max-width: 767px) {
    .hero--page {
        min-height: 650px;
    }
    /*.hero__body {
        padding: 70px 20px 40px;
    }*/
    .hero__title {
        font-size: 34px;
    }

    .hero__text {
        font-size: 15px;
    }

    .hero__price {
        font-size: 24px;
    }

    .hero-lien {
        flex-direction: column;
        width: 100%;
    }

    .hero-lien .btn {
        width: 100%;
    }
}

/* =====================================================
   BANDEAU CATÉGORIES (ACCUEIL)
===================================================== */

.cat-strip {
    width: 100%;
    background-color: #f4f5f7;
    border-bottom: 1px solid var(--line);
}

/* =====================================================
   OWL CAROUSEL
===================================================== */

.cat-strip.owl-carousel {
    /* display: block; */
    display: flex;
}

/* .cat-strip .owl-stage {
    display: flex;
} */

.cat-strip .owl-item {
    display: flex;
}

/* =====================================================
   CATÉGORIE
===================================================== */

.cat-strip .cat {
    position: relative;
    display: flex;

    width: 100%;
    height: 480px;
    min-height: 480px;

    overflow: hidden;

    background: var(--blue);

    text-decoration: none;
    color: var(--white);
}

/* =====================================================
   IMAGE BACKGROUND
===================================================== */

.cat-strip .cat__media {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transform: scale(1.001);

    transition: transform 0.7s ease;
}

/* Zoom image au hover */

.cat-strip .cat:hover .cat__media {
    transform: scale(1.06);
}

/* =====================================================
   OVERLAY
===================================================== */

.cat-strip .cat__veil {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(4, 25, 84, 0.55) 0%,
        rgba(4, 25, 84, 0.1) 45%,
        rgba(4, 25, 84, 0.55) 100%
    );
}

/* =====================================================
   CONTENU
===================================================== */

.cat-strip .cat__body {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 44px 20px 34px;
}

/* =====================================================
   BARRE
===================================================== */

.cat-strip .cat__bar {
    width: 36px;
    height: 3px;

    background: var(--white);

    margin-bottom: 16px;
}

/* =====================================================
   NOM
===================================================== */

.cat-strip .cat__name {
    font-family: var(--font-title);

    font-size: 19px;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--white);

    text-align: center;
}

/* =====================================================
   PRIX
===================================================== */

.cat-strip .cat__price {
    font-family: var(--font-title);

    font-size: 14px;

    color: var(--white);

    margin-top: 10px;

    text-align: center;
}

/* =====================================================
   ESPACE
===================================================== */

.cat-strip .cat__spacer {
    flex: 1;
}

/* =====================================================
   BOUTON
===================================================== */

.cat-strip .cat__btn {
    opacity: 0;

    transition: opacity 0.3s ease;
}

.cat-strip .cat:hover .cat__btn {
    opacity: 1;
}

/* =====================================================
   OWL DOTS
===================================================== */

/* Container des points */

.cat-strip .owl-dots {
    width: 100%;

    margin: 0 !important;

    padding: 18px 0 20px;

    text-align: center;

    background-color: #f4f5f7 !important;
    border-bottom: none;
}

/* Bouton dot */

.cat-strip .owl-dot {
    outline: none;
}

/* Point normal */

.cat-strip .owl-dot span {
    display: block;

    width: 10px;
    height: 10px;

    margin: 5px;

    border-radius: 50%;

    background-color: #c7c9cc !important;

    transition: all 0.3s ease;
}

/* Point actif */

.cat-strip .owl-dot.active span {
    background-color: var(--blue) !important;

    transform: scale(1.2);
}

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

@media (max-width: 767px) {
    .cat-strip .cat {
        height: 420px;
        min-height: 420px;
    }

    .cat-strip .cat__body {
        padding: 35px 20px 30px;
    }

    /* Afficher le bouton sur mobile */
    .cat-strip .cat__btn {
        opacity: 1;
    }
}

/* =====================================================
   TABLETTE
===================================================== */

@media (min-width: 768px) and (max-width: 1199px) {
    .cat-strip .cat {
        height: 450px;
        min-height: 450px;
    }
}

/* --- Carte modèle ------------------------------------------------------ */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.2s;
    height: 100%;
}

.card__media {
    height: 200px; /* hauteur fixe pour aligner toutes les cartes */
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--grey);
    text-align: center;
    padding: 12px;
}

.card__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* garde le ratio de l'image sans la déformer */
}

@media (max-width: 991px) {
    .card__media {
        height: 220px;
        margin-bottom: 0; /* pas besoin du margin-bottom:67px si height est fixe */
    }
    .card__row {
        gap: 4px !important;
        flex-direction: column;
    }
}

.card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1; /* pousse le contenu, garde les cartes alignées en bas de grille */
}

.card__cat {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey);
}

.card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.card__name {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
}

.card__price {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

.card__tag {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--grey);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; /* tronque proprement à 2 lignes, évite les cartes de hauteurs différentes */
}
/* --- Chiffres ---------------------------------------------------------- */
.stats {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
}
@media (max-width: 991px) {
    .stats {
        flex-direction: column;
    }
}
.stat {
    padding: 36px 28px 8px;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    padding-left: 0;
    border-left: 0;
}

.stat__value {
    font-family: var(--font-title);
    font-size: 52px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat__label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-top: 12px;
}

.section--navy .stats {
    border-top-color: rgba(255, 255, 255, 0.3);
}

.section--navy .stat {
    border-left-color: rgba(255, 255, 255, 0.3);
}

.section--navy .stat__value {
    color: var(--white);
}

.section--navy .stat__label {
    color: var(--on-blue);
}

@media (max-width: 991px) {
    .stat {
        padding: 19px 0px 0px;
        border-left: none;
        padding-bottom: 14px !important;
    }
    .stat__value {
        font-size: 41px !important;
    }
}
@media (max-width: 767px) {
    .stat__value {
        font-size: 32px !important;
    }
}
@media (max-width: 575px) {
    .stat__value {
        font-size: 23px !important;
    }
}
/* --- Blocs de contenu -------------------------------------------------- */
.photo {
    /* background: var(--bg-alt);
  border: 1px solid var(--line); */
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    font-size: 12px;
    color: var(--grey);
    text-align: center;
    /* padding: 16px; */
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .photo img {
        width: 100%;
    }
}

.photo--h380 {
    height: 380px;
}

.photo--h460 {
    height: 460px;
}

.photo--h340 {
    height: 340px;
}

.photo--h230 {
    height: 230px;
}

.photo--h200 {
    height: 200px;
}

.photo--h190 {
    height: 190px;
}

.photo--white {
    background-color: var(--white);
}

.tile {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 4px;
    padding: 16px 18px 18px;
    height: 100%;
    min-height: 145px;
    box-shadow: none;
}

.tile--alt {
    background: var(--bg-alt);
}

.tile--pad {
    padding: 34px 30px;
}

.tile__title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tile__text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--grey);
}

.section--navy .tile {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.section--navy .tile__text {
    color: var(--on-blue);
}

.keyfig {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 18px;
}

.keyfig__value {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.1;
    white-space: nowrap;
}

.keyfig__label {
    font-family: var(--font-title);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-top: 10px;
}

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

.spec {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex;
    gap: 26px;
}

@media (max-width: 991px) {
    .spec {
        gap: 9px;
        flex-direction: column;
    }
}

.spec__value {
    flex: none;
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.05;
    width: 132px;
}

.spec__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.spec__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-decoration: none;
    background: transparent;
    color: var(--white);
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.service-card:hover {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}

.service-card__icon {
    width: 40px;
    height: 40px;
    color: currentColor;
}

.service-card__title {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 700;
    color: inherit;
}

.service-card__text {
    font-size: 13.5px;
    line-height: 1.6;
    color: inherit;
    opacity: 0.75;
}

.service-card__more {
    font-family: var(--font-title);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: auto;
    color: inherit;
    text-decoration: none;
}

.solution__title {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
}

.solution__text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--grey);
    margin-top: -8px;
}

.num {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
}

.map {
    /* height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px; */
    text-align: center;
}

.map--tall {
    height: 620px;
}

.map__label {
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
}

/* Carte Google : neutralise la mise en page « placeholder » de .map */
.map--google {
    display: block;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.map--google .popup-branch {
    min-width: 210px;
    max-width: 260px;
    font-family: var(--font-body, inherit);
}

.map--google .popup-city {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
}

.map--google .popup-name {
    margin: 4px 0 6px;
    font-family: var(--font-title);
    font-size: 16px;
    line-height: 1.25;
    padding-right: 25px;
}

.map--google .popup-address {
    margin: 0;
    font-size: 13px;
    color: var(--grey);
    line-height: 1.5;
}

.map--google .popup-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.map--google .popup-service {
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--grey);
}

.map--google .popup-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}
.gm-style-iw-ch {
    height: 0 !important;
}
.gm-ui-hover-effect {
    position: absolute !important;
    right: 0 !important;
}
.agencies__empty {
    text-align: center;
    color: var(--grey);
    padding: 40px 0;
    font-size: 15px;
}
#noResult {
    display: none;
}
#noResult.show {
    display: block;
}

/* --- Onglets catégories ------------------------------------------------ */
.tabs {
    position: sticky;
    top: 76px;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.tabs__inner {
    display: flex;
    gap: 4px;
}

.tab {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--grey);
    padding: 20px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.tab:hover {
    color: var(--blue);
}

.tab.is-active {
    color: var(--blue);
    font-weight: 700;
    border-bottom-color: var(--blue);
}

/* --- Ligne modèle (liste catégorie) ----------------------------------- */
.model {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

.model__media {
    width: 380px;
    height: auto;
    flex: none;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--grey);
    text-align: center;
    padding: 12px;
}

.model__body {
    flex: 1;
    padding: 36px 40px;
}

.model__head {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 14px;
}

.model__name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.model__engine {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey);
}

.model__from {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 6px;
    text-align: right;
}

.model__price {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 800;
    color: var(--blue);
    text-align: right;
}

.model__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--grey);
    margin-bottom: 24px;
}

.model__figs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
}

.model__fig {
    padding: 18px 20px 18px 0;
}

.model__fig-value {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 800;
}

.model__fig-label {
    font-family: var(--font-title);
    font-size: 10.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--grey);
    margin-top: 8px;
}

/* --- Bandeau de conversion ------------------------------------------- */
.cta-band {
    background: var(--blue-mid);
    padding: 76px 0;
}

.cta-band__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-band__title {
    font-size: 36px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-band__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-blue);
}

.cta-band__actions {
    flex: none;
    display: flex;
    gap: 12px;
}

/* .cta-panel {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--blue-mid);
  padding: 56px 48px
} */

.cta-panel__title {
    font-size: 34px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 14px;
}

.cta-panel__text {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--on-blue);
    margin-bottom: 28px;
    max-width: 56ch;
}

.phone-band {
    background: var(--blue);
    border-radius: 10px;
    padding: 38px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.phone-band__label {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--on-blue);
    margin-bottom: 8px;
}

.phone-band__number {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.phone-band__number--xl {
    font-size: 56px;
}

.phone-band__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .phone-band__title {
        font-size: 22px;
    }

    .phone-band__number {
        font-size: 33px !important;
    }

    .phone-band__number {
        font-size: 33px !important;
    }
}
@media (max-width: 767px) {
    .tabs {
        top: 64px;
    }
}

.phone-band__text {
    font-size: 14.5px;
    color: var(--on-blue);
}

.phone-band__facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

/* --- Tableau ---------------------------------------------------------- */
.table {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.table__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-top: 1px solid var(--line);
}

.table__row:nth-child(even) {
    background: var(--bg-alt);
}

.table__head {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    background: var(--blue);
    border-top: 0;
}

.table__th {
    padding: 20px 26px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
}

.table__td {
    padding: 20px 26px;
    font-size: 14px;
}

.table__td--name {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
}

.table__td--muted {
    color: var(--grey);
}

/* --- Accordéon -------------------------------------------------------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acc {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.acc--white {
    background: var(--white);
}

.acc__btn {
    width: 100%;
    display: flex;
    gap: 14px;
    align-items: start;
    padding: 20px 24px;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.acc__icon {
    font-family: var(--font-title);
    font-size: 15px;
    color: var(--blue);
    transition: transform 0.2s;
}

.acc.is-open .acc__icon {
    transform: rotate(90deg);
}

.acc__panel {
    display: none;
    padding: 0 24px 22px 52px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--grey);
}

.acc.is-open .acc__panel {
    display: block;
}

/* --- Formulaires ------------------------------------------------------ */
.form {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 38px 36px;
    background: var(--white);
}

.form--alt {
    background: var(--bg-alt);
}

.form__grid {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.form__field {
    flex: 1;
}

.label {
    display: block;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 8px;
}

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    padding: 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--white);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--grey);
}

.check input {
    margin-top: 3px;
    flex: none;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.chip {
    border: 1px solid var(--blue);
    border-radius: var(--radius-s);
    padding: 13px 20px;
    font-family: var(--font-title);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--white);
    cursor: pointer;
}

.chip.is-active,
.chip:hover {
    background: var(--blue);
    color: var(--white);
}
.cform__error {
    color: #e00a0a;
    font-size: 11px;
    margin-top: 3px;
}

/* --- Parcours en étapes (prise de RDV) ------------------------------- */
.steps {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 34px 32px;
}

.steps__count {
    text-align: center;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 12px;
}

.steps__bar {
    height: 4px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 30px;
}

.steps__fill {
    height: 4px;
    background: var(--blue);
    transition: width 0.3s;
}

.steps__title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.steps__sub {
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey);
    text-align: center;
    margin-bottom: 28px;
}

.steps__panel {
    display: none;
}

.steps__panel.is-active {
    display: block;
}

.steps__actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.option {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 6px;
    padding: 16px 18px;
    font-size: 14.5px;
    margin-bottom: 10px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    color: var(--ink);
}

.option:hover {
    border-color: var(--blue);
}

.option.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.option__name {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
}

.option__meta {
    font-size: 13px;
    color: var(--grey);
    margin-top: 4px;
}

.option.is-active .option__meta {
    color: var(--on-blue);
}

.recap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.recap__label {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 12px;
}

.recap__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
    margin-bottom: 8px;
}

.recap__row:last-child {
    margin-bottom: 0;
}

.recap__row span:first-child {
    color: var(--grey);
}

.done {
    text-align: center;
    padding: 24px 0;
}

.done__mark {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 24px;
}

/* =====================================================
   SECTION RÉSEAU
===================================================== */
.reseau .section-title, .la-marque-foton .section-title {
    max-width: 700px;
}
.agence-section {
    padding-top: 40px;
}

/* =========================================================
   FILTRES
========================================================= */

.filters {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.filters__field {
    width: 210px;
}

.filters__field label {
    display: block;
    margin-bottom: 7px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;

    color: #5c6470;
}

.filters__field .form-select {
    height: 38px;

    border: 1px solid #d9dde5;
    border-radius: 5px;

    font-size: 12px;
    color: #4b5563;

    box-shadow: none;
}

/* =========================================================
   LISTE DES AGENCES
========================================================= */

.agencies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 620px;
    position: relative;
    overflow: hidden;
}
#branches-grid {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}
.agency {
    border: 1px solid #e1e5eb;
    border-radius: 7px;
    padding: 16px;
    background: #fff;
    cursor: pointer;
    transition: 0.25s ease;
    margin-bottom: 10px;
}

.agency:hover,
.agency.is-active {
    border-color: #172c58;
}

/* =========================================================
   HEADER AGENCE
========================================================= */

.agency__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.agency__name {
    font-size: 15px;
    font-weight: 700;
    color: #343b45;
}

.agency__city {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #657080;
}

/* =========================================================
   ADRESSE / HORAIRES
========================================================= */

.agency__addr {
    font-size: 10px;

    color: #6b7280;

    margin-bottom: 7px;
}

.agency__hours {
    font-size: 10px;

    color: #6b7280;

    margin-bottom: 12px;
}

/* =========================================================
   TAGS
========================================================= */

.agency__tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-bottom: 12px;
}

.tag {
    padding: 4px 10px;

    border: 1px solid #d8dee8;
    border-radius: 20px;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #44536a;

    background: #fff;
}

/* =========================================================
   BOUTONS
========================================================= */

.agency__actions {
    display: flex;
    gap: 8px;
}

.agency__actions .btn {
    flex: 1;

    padding: 9px 8px;

    border-radius: 3px;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.16em;

    text-align: center;
}

.agency__actions .btn-primary {
    background: #142957;
    border-color: #142957;
}

.agency__actions .btn-outline-primary {
    color: #142957;
    border-color: #142957;
}

/* =========================================================
   GOOGLE MAP
========================================================= */

.map-wrapper {
    height: 100%;
    min-height: 505px;

    overflow: hidden;

    border-radius: 8px;
}

.foton-map {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 505px;

    border: 0;
}

/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 991.98px) {
    .map-wrapper {
        min-height: 450px;
    }

    .foton-map {
        min-height: 450px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .filters {
        flex-direction: column;

        align-items: center;
    }

    .filters__field {
        width: 100%;
    }

    .agency__head {
        flex-direction: column;
        gap: 4px;
    }

    .agency__city {
        white-space: normal;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .foton-map {
        min-height: 350px;
    }
}

/* --- Formules (crédit) --- */

.formulas {
    border-top: 1px solid var(--line);
}

.formula {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 32px;
}
@media (max-width: 991px) {
    .formula {
        flex-direction: column;
        gap: 12px;
    }
}
.formula__num {
    flex: none;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    width: 36px;
    padding-top: 5px;
}

.formula__label {
    width: 260px;
    flex: none;
}

.formula__name {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
}

.formula__kind {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
}

.formula__text {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--grey);
}

.formula__for {
    width: 190px;
    flex: none;
    font-size: 14px;
    line-height: 1.6;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 26px;
}

.checklist__item {
    display: flex;
    gap: 16px;
    font-size: 15px;
    line-height: 1.6;
}

.checklist__num {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    width: 26px;
    flex: none;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
}

.pillar {
    padding: 36px 40px 36px 0;
    border-bottom: 1px solid var(--line);
}

.pillar:nth-child(even) {
    padding: 36px 0 36px 40px;
    border-left: 1px solid var(--line);
}

.pillar__num {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 14px;
}

.pillar__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process {
    border-top: 2px solid var(--blue);
}

.process__step {
    padding: 32px 35px 0 0;
}

.process__step + .process__step {
    border-left: 1px solid var(--line);
    padding-left: 36px;
}

.process__label {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.process__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.usecases {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.usecase {
    display: flex;
    gap: 32px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
@media (max-width: 991px) {
    .usecase {
        flex-direction: column;
        gap: 9px;
    }
}
.usecase__num {
    flex: none;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: var(--on-blue);
    width: 34px;
}

.usecase__name {
    flex: none;
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    width: 300px;
}

.usecase__text {
    flex: 1;
    font-size: 15px;
    line-height: 1.65;
    color: var(--on-blue);
}

/* --- Pied de page & rail --------------------------------------------- */
.footer {
    background: var(--blue);
    color: var(--white);
    padding-bottom: 20px;
}

.footer__inner {
    padding: 70px 0 40px;
    display: flex;
    gap: 64px;
}

.footer__brand {
    flex: 1.3;
}

.footer__logo {
    max-width: 120px;
    margin-bottom: 20px;
    display: block;
}

.footer__baseline {
    font-size: 14px;
    line-height: 1.65;
    color: var(--on-blue);
    max-width: 34ch;
}

.footer__col {
    flex: 1;
}

.footer__head {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--on-blue);
    margin-bottom: 18px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-size: 13.5px;
    color: var(--white);
    text-decoration: none;
}

.footer__link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__muted {
    font-size: 13.5px;
    color: var(--on-blue);
}

.footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer__bar-inner {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer__legal {
    font-size: 12.5px;
    color: var(--on-blue);
}

.footer__social {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer__social a {
    font-family: var(--font-title);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-blue);
    text-decoration: none;
}

.footer__social a:hover {
    color: var(--white);
    text-decoration: underline;
}

.rail {
    position: fixed;
    right: 0;
    top: 38%;
    z-index: 70;
    display: flex;
    flex-direction: column;
    background: #2550D0;
}

.rail__link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.rail__link:last-child {
    border-bottom: 0;
}

.rail__link:hover {
    background: var(--white);
    color: var(--blue-dark);
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 1400px) {
    .nav__link {
        padding: 10px 12px;
    }
}
/* Desktop compact : la barre de nav commence à se resserrer. */
@media (max-width: 1200px) {
    :root {
        --gutter: 24px;
    }

    .nav {
        gap: 2px;
    }

    .nav__link {
        padding: 10px 6px;
        font-size: 10px;
    }
    .btn--s {
        padding: 10px 15px;
        font-size: 10px;
    }

    .header__inner {
        gap: 18px;
    }

    .dropdown--cols {
        min-width: min(600px, 92vw);
    }

    .hero__title--xl {
        font-size: 50px;
    }

    .stat__value {
        font-size: 44px;
    }
}

/* Tablette : passage au menu coulissant. */
@media (max-width: 991px) {
    /* La nav horizontale cède la place au hamburger. */
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header__inner > .btn {
        display: none;
    }

    .grid--3,
    .grid--4,
    .stats,
    .pillars,
    .process,
    .keyfig-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .split__col,
    .split__col--wide {
        width: 100%;
        flex: none;
    }

    .cat-strip {
        flex-wrap: wrap;
    }

    .cat {
        flex: 1 1 280px;
        min-width: 280px;
        height: 400px;
    }

    .model {
        flex-direction: column;
    }

    .model__media {
        width: 100%;
        height: 260px;
    }
    .model__media img {
        max-height: 100%;
    }
    .agencies {
        width: 100%;
    }

    .footer__inner {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer__brand {
        flex: 1 1 100%;
    }

    .footer__col {
        flex: 1 1 180px;
    }

    .process__step + .process__step {
        border-left: 0;
        padding-left: 0;
    }

    .cta-band__actions {
        flex-wrap: wrap;
    }

    .hero--home {
        height: auto;
        min-height: 600px;
    }

    .hero--page {
        height: auto;
        min-height: 520px;
    }

    .hero__title {
        font-size: 44px;
    }

    .hero__title--xl {
        font-size: 44px;
    }

    .section-title {
        font-size: 34px !important;
    }

    .phone-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .phone-band__facts {
        text-align: left;
    }

    .map--tall {
        height: 420px;
    }

    /* Le rail passe en bas : on libère la place sous le pied de page. */
    .footer__bar {
        padding-bottom: 6px;
    }
}

/* Mobile large. */
@media (max-width: 768px) {
    :root {
        --gutter: 20px;
        --header-h: 64px;
    }

    .header__logo img {
        height: 35px;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .stats,
    .pillars,
    .process,
    .keyfig-grid,
    .model__figs {
        grid-template-columns: 1fr;
    }

    .form__grid,
    .filters {
        flex-direction: column;
    }

    .filters__field {
        width: 100%;
    }

    /* .section--tight {
    padding: 40px 0
  } */

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 32px;
    }

    .hero--home,
    .hero--page {
        min-height: 407px;
    }

    .hero--slim {
        height: auto;
        min-height: 300px;
    }

    .hero__body {
        padding-bottom: 48px;
    }

    .hero__body--center {
        padding-top: 72px;
    }

    .hero__title,
    .hero__title--xl {
        font-size: 34px;
    }

    .hero__text {
        font-size: 15.5px;
    }

    .hero__price {
        font-size: 26px;
    }

    .section-title {
        font-size: 28px !important;
    }

    .section-title--s {
        font-size: 24px;
    }

    .cta-band {
        padding: 56px 0;
    }

    .cta-band__title {
        font-size: 23px;
    }

    /*.cta-panel {
        padding: 36px 24px;
    }*/

    .cta-panel__title {
        font-size: 26px;
    }

    .cat {
        height: 340px;
    }

    .cat__btn {
        opacity: 1;
    }

    .stat {
        padding: 24px 0 8px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .stat:first-child {
        padding-left: 0;
        border-top: 0;
    }

    .section--navy .stat {
        border-left-color: transparent;
        border-top-color: rgba(255, 255, 255, 0.3);
    }

    .stat__value {
        font-size: 40px;
    }

    .pillar,
    .pillar:nth-child(even) {
        padding: 28px 0;
        border-left: 0;
    }

    .process__step,
    .process__step + .process__step {
        padding: 28px 0 0 0;
    }

    .formula,
    .usecase {
        flex-direction: column;
        gap: 12px;
    }

    .formula__label,
    .formula__for,
    .usecase__name {
        width: auto;
    }

    .formula__num {
        width: auto;
    }

    .spec {
        flex-direction: column;
        gap: 14px;
        padding: 24px 20px;
    }

    .spec__value {
        width: auto;
        font-size: 26px;
    }

    .model__head {
        flex-direction: column;
        gap: 12px;
    }

    .model__from,
    .model__price {
        text-align: left;
    }

    .model__body {
        padding: 26px 22px;
    }

    .model__name {
        font-size: 24px;
    }

    .form {
        padding: 28px 22px;
    }

    .phone-band {
        padding: 28px 24px;
        gap: 13px;
    }

    .phone-band__number {
        font-size: 21px !important;
    }

    .phone-band__title {
        font-size: 19px;
    }

    .tile__title {
        font-size: 17px;
    }

    .phone-band__number--xl {
        font-size: 38px;
    }

    .footer__inner {
        padding-top: 56px;
        gap: 21px;
    }

    .footer__bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* Les tableaux défilent horizontalement plutôt que de casser la page. */
    .table {
        overflow-x: auto;
    }

    .table__head,
    .table__row {
        grid-template-columns: 1.4fr 1fr 1fr;
        min-width: 560px;
    }

    /* Les onglets de gamme défilent au doigt. */
    .tabs__inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tabs__inner::-webkit-scrollbar {
        display: none;
    }

    .tab {
        padding: 16px 14px;
        white-space: nowrap;
    }
}

/* Petit mobile. */
@media (max-width: 575px) {
    .cat {
        flex: 1 1 100%;
        height: 300px;
    }

    .hero__title,
    .hero__title--xl {
        font-size: 29px;
    }
    .stat{
        padding: 15px 12px !important;
    }
    .section-title {
        font-size: 28px !important;
    }
    .footer__inner {
        padding-top: 29px;
    }
    .process__step{
        padding: 25px 15px 0 !important;
    }
    .card__row {
        gap: 0;
        flex-direction: column;
    }
    .row .btn,
    .cta-band__actions .btn,
    .hero .btn {
        width: 100%;
    }

    .agency__actions {
        flex-direction: column;
    }

    .steps {
        padding: 26px 20px;
    }

    .steps__actions {
        flex-direction: column;
    }

    .steps__actions .btn {
        width: 100%;
    }

    .stat__value {
        font-size: 34px;
    }

    .phone-band__number--xl {
        font-size: 28px;
    }

    .footer__social {
        flex-wrap: wrap;
        gap: 14px;
    }

    .drawer {
        width: 100%;
    }
}

/* ----------------------------------------------page modele 2---------------------------------------------- */
.characteristics {
    margin: 50px auto;
}

.characteristics .u119 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(247, 248, 250), rgb(238, 240, 243));
    border-radius: 12px;
    padding: 34px;
}

.characteristics .u124 {
    background: rgb(245, 246, 248);
    border: 1px solid rgb(231, 233, 238);
    border-radius: 8px;
    padding: 20px 16px;
    height: 100%;
}

.characteristics .u125 {
    font-weight: 500;
    font-size: 21px;
    color: #041954;
    letter-spacing: -0.01em;
}

.characteristics .u126 {
    font-size: 12px;
    color: rgb(138, 144, 156);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .characteristics .characteristics_contenu {
        margin-top: 37px;
    }
}

@media (max-width: 767px) {
    .characteristics .u121 {
        font-size: 32px;
        margin-bottom: 7px;
    }

    .characteristics .u122 {
        font-size: 14px;
        margin-bottom: 17px;
    }

    .characteristics .u125 {
        font-size: 19px;
    }

    .characteristics .u126 {
        font-size: 11px;
    }
}

@media (max-width: 575px) {
    .characteristics .u121 {
        font-size: 27px;
        margin-bottom: 6px;
    }

    .characteristics .u122 {
        font-size: 12px;
        margin-bottom: 15px;
    }
}

/* gallery */
.galerie {
    background-color: #f4f5f7;
    margin: 0px auto;
    padding: 50px 0;
}

.galerie_titre {
    font-size: 32px;
    margin-bottom: 20px;
}

.galerie .u142 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
}
.galerie .u143 {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}
.galerie .u143 img{
    height: 100%;
    object-fit: cover;
}
.galerie .u99 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}
.galerie .u99:hover {
    transform: scale(1.05);
}
.galerie .icon_galerie{
    display: none;
}
@media (max-width: 991px) {
    .galerie .u142 {
        display: block !important;
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .galerie .u143 {
        display: none;
        height: 100%;
    }

    .galerie .u143:first-child {
        display: block;
    }
    .galerie .icon_galerie {
        position: absolute;
        right: 16px;
        bottom: 16px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(17, 20, 29, 0.75);
        color: #fff;
        font-size: 14px;
        line-height: 1;
        pointer-events: none;
        backdrop-filter: blur(4px);
    }
    .galerie .icon_galerie .bi {
        font-size: 16px;
    }
}

/* =====================================================
   GARANTIE GÉNÉRALE
===================================================== */

.garantie_generale {
    margin: 50px 0;
}

/* =====================================================
   TABLE
===================================================== */

.garantie_table {
    width: 100%;
    margin-bottom: 0;

    border: 1px solid #e4e6e9;
    border-radius: 10px;

    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;

    background: #ffffff;
}

/* =====================================================
   HEADER
===================================================== */

.garantie_table thead th {
    background: #041954;
    color: #ffffff;

    font-family: var(--font-title);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    padding: 17px 20px;

    border: none;
    vertical-align: middle;
}

/* =====================================================
   BODY
===================================================== */

.garantie_table tbody td {
    padding: 16px 20px;

    font-size: 12px;

    color: #5f646a;

    vertical-align: middle;

    border-top: 1px solid #e4e6e9;
    border-bottom: none;
}

/* =====================================================
   ALTERNANCE DES LIGNES
===================================================== */

.garantie_table tbody tr:nth-child(odd) td {
    background: #f4f5f7;
}

.garantie_table tbody tr:nth-child(even) td {
    background: #ffffff;
}

/* =====================================================
   NOM DU MODÈLE
===================================================== */

.garantie_table tbody td:first-child {
    font-family: var(--font-title);

    font-size: 13px;
    font-weight: 700;

    color: #111111;
}

/* =====================================================
   SUPPRIMER LA DERNIÈRE BORDURE
===================================================== */

.garantie_table tbody tr:last-child td {
    border-bottom: none;
}

/* =====================================================
   NOTE
===================================================== */

.garantie_note {
    margin-top: 16px;

    font-size: 12px;

    line-height: 1.6;

    color: #9aa0ab;
}

/* =====================================================
   TABLETTE
===================================================== */

@media (max-width: 991px) {
    .garantie_table thead th {
        padding: 15px 16px;
        font-size: 9px;
    }

    .garantie_table tbody td {
        padding: 14px 16px;
        font-size: 11px;
    }

    .garantie_table tbody td:first-child {
        font-size: 12px;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {
    .garantie_generale {
        margin: 35px 0;
    }

    .garantie_table {
        min-width: 600px;
    }

    .garantie_table thead th {
        padding: 14px 16px;

        font-size: 9px;

        white-space: nowrap;
    }

    .garantie_table tbody td {
        padding: 14px 16px;

        font-size: 11px;

        white-space: nowrap;
    }

    .garantie_table tbody td:first-child {
        font-size: 12px;
    }

    .garantie_note {
        font-size: 11px;
    }
}

.n-vert {
    text-align: right;
}

@media (max-width: 991px) {
    .n-vert {
        text-align: left !important;
    }
}

.u211 {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgb(231, 233, 238);
    height: 660px;
}

@media (max-width: 991px) {
    .titre-index {
        padding-bottom: 10px;
    }
}

.lien-index {
    text-align: end;
}

@media (max-width: 991px) {
    .lien-index {
        text-align: start;
    }
}

@media (max-width: 432px) {
    .lien-afiche {
        margin-bottom: 10px;
    }

    .lien-gamme a {
        display: block;
    }
}

@media (max-width: 575px) {
    .spec__value {
        font-size: 22px;
    }
}

.section-garantie {
    margin: 40px 0 50px;
}

@media (max-width: 991px) {
    .section-garantie .section-title {
        font-size: 40px !important;
        margin-bottom: 9px !important;
    }

    .section-garantie .lead {
        font-size: 15px !important;
    }

    .section-garantie {
        margin: 40px 0 36px;
    }
}
@media (max-width: 767px) {
    .section-garantie .section-title {
        font-size: 31px !important;
    }
    .section-garantie .pill {
        margin-bottom: 17px;
    }
}
.garantie-table .note {
    color: #5f646a;
    font-size: 12.5px;
    margin-bottom: 20px;
}
/* --- CTA Panel ------------------------------------------------------ */

.cta-panel {
    overflow: hidden;
    border-radius: 5px;
    background: var(--blue);
}

.cta-panel__content {
    height: 100%;
    min-height: 155px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--blue);
}

.cta-panel__title {
    margin: 0 0 10px;
    font-family: var(--font-title);
    font-size: 34px;
    line-height: 1.25;
    color: var(--white);
}

.cta-panel__text {
    font-family: var(--font-body);
    margin: 0 0 15px;
    font-size: 15.5px;
    line-height: 1.5;
    color: #b9c0cb;
    padding-bottom: 14px;
}

.cta-panel__content .btn {
    align-self: flex-start;
}

/* Image */
.cta-panel__media {
    width: 100%;
    height: 100%;
    min-height: 155px;
}

.cta-panel__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.image-location {
    padding-bottom: 20px;
}
@media (max-width: 991px) {
    .cta-panel__content {
        min-height: auto;
        padding: 30px 25px 34px;
    }

    .cta-panel__title {
        font-size: 24px;
    }

    .cta-panel__text {
        font-size: 12px;
    }

    .cta-panel__content .btn {
        font-size: 10px;
    }

    .cta-panel__media {
        min-height: auto;
    }
}
@media (max-width: 575px) {
    
}

/* =========================================================
   OFFRE — page détail (.offre-single)
   Reprend les tokens et les composants du site : titres
   .font-title, bordures --line, radius --radius, accent --blue.
========================================================= */

.content_pages.offre-single {
    padding-top: 40px;
    padding-bottom: 60px;
}

.offre-single__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: var(--grey);
    margin-bottom: 22px;
}

.offre-single__breadcrumbs a {
    color: var(--grey);
    text-decoration: none;
}

.offre-single__breadcrumbs a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.offre-single__breadcrumbs .is-current {
    color: var(--ink);
}

.offre-single__head {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
}

.offre-single__title {
    font-size: 40px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
}

/* --- Visuel + formulaire ------------------------------------------------ */

.offre_content_row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.offre-single__hero {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
}

.offre-single__hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Formulaire (.u361 = <form>) ---------------------------------------- */

.offre-single .u361 {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px 30px;
    background: var(--white);
}

.offre-single .u362 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 22px;
}

/* Grille des champs : 2 colonnes, la ville occupe toute la largeur. */
.offre-single .u363 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.offre-single .u363 .cform__group:last-child {
    grid-column: 1 / -1;
}

.offre-single .cform__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Champs : même rendu que .input / .select du design system. */
.offre-single .u364,
.offre-single input[type="text"],
.offre-single input[type="email"],
.offre-single input[type="tel"],
.offre-single select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    padding: 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--white);
}

.offre-single .u364:focus,
.offre-single input[type="text"]:focus,
.offre-single input[type="email"]:focus,
.offre-single input[type="tel"]:focus,
.offre-single select:focus {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.offre-single .u364::placeholder {
    color: var(--grey);
    opacity: 1;
}

/* Erreurs : messages JS (.cform__error) et serveur (<ul> de form_errors). */
.offre-single .is-invalid {
    border-color: #c0392b;
}

.offre-single .is-invalid:focus {
    outline-color: #c0392b;
}

.offre-single .cform__error {
    font-size: 12.5px;
    line-height: 1.45;
    color: #c0392b;
}

.offre-single .cform__error:empty {
    display: none;
}

.offre-single .cform__group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #c0392b;
}

/* Bouton d'envoi (.scp9.u369) : reprend l'aspect .btn--primary. */
.offre-single .u369 {
    display: block;
    width: 100%;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: var(--radius-s);
    border: 1px solid var(--blue);
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.offre-single .u369:hover {
    background: var(--white);
    color: var(--blue);
}

/* --- Contenu riche ------------------------------------------------------ */

.offre-single__content {
    margin-top: 48px;
}

.offre-single .prose {
    font-size: 15px;
    line-height: 1.75;
    color: var(--grey);
    max-width: 72ch;
}

.offre-single .prose h2,
.offre-single .prose h3,
.offre-single .prose h4 {
    color: var(--ink);
    margin: 32px 0 14px;
}

.offre-single .prose h2 {
    font-size: 26px;
}

.offre-single .prose h3 {
    font-size: 20px;
}

.offre-single .prose h4 {
    font-size: 17px;
}

.offre-single .prose p {
    margin-bottom: 16px;
}

.offre-single .prose ul,
.offre-single .prose ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.offre-single .prose li {
    margin-bottom: 8px;
}

.offre-single .prose img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.offre-single .prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.offre-single .prose th,
.offre-single .prose td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}

.offre-single .prose th {
    background: var(--bg-alt);
    font-family: var(--font-title);
    color: var(--ink);
}

/* --- Pied de page ------------------------------------------------------- */

.offre-single__foot {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.offre-single__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    text-decoration: none;
}

.offre-single__back:hover {
    color: var(--blue-mid);
}

.offre-single__back svg {
    transition: transform 0.2s;
}

.offre-single__back:hover svg {
    transform: translateX(-4px);
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 991.98px) {
    .offre_content_row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .offre-single__title {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .offre-single .u361 {
        padding: 26px 20px;
    }

    .offre-single .u363 {
        grid-template-columns: 1fr;
    }

    .offre-single .u363 .cform__group:last-child {
        grid-column: auto;
    }

    .offre-single__title {
        font-size: 27px;
    }

    .offre-single__content {
        margin-top: 36px;
    }
}

/* -----------------------------------------------page a propos auto hall----------------------------------------------- */
.a-propos-auto-hall {
    margin: 50px 0;
    align-items: center;
}

.a-propos-auto-hall .u326 {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgb(138, 144, 156);
    text-transform: uppercase;
    font-size: 13px;
}

.a-propos-auto-hall .u327 {
    font-size: 52px;
    line-height: 1.06;
    margin: 16px 0px 20px;
}

.a-propos-content {
    margin-bottom: 36px;
}

.a-propos-auto-hall .u328 {
    color: rgb(91, 97, 110);
    font-size: 17px;
    max-width: 520px;
}

.a-propos-auto-hall .u329 {
    display: flex;
    gap: 48px;
}

.a-propos-auto-hall .u330 {
    font-family: var(--font-title);
    font-size: 44px;
    color: #041954;
    font-weight: 600;
    line-height: 1;
}

.a-propos-auto-hall .u331 {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(138, 144, 156);
    margin-top: 6px;
}

.u332 {
    border-radius: 12px;
    overflow: hidden;
}
.u332 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .a-propos-auto-hall .u327 {
        font-size: 44px;
        margin: 8px 0px 11px;
    }

    .a-propos-auto-hall .u328 {
        font-size: 16px;
        max-width: none;
    }

    .a-propos-content {
        margin-top: 25px;
    }

    .a-propos-auto-hall .u329 {
        gap: 32px;
        margin-bottom: 26px;
    }

    .a-propos-auto-hall .u330 {
        font-size: 36px;
    }

    .u332 img {
        margin: auto;
    }

    .block-reverse .row {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 767px) {
    .a-propos-auto-hall .u327 {
        font-size: 34px;
        margin: 7px 0px 9px;
    }

    .a-propos-auto-hall .u328 {
        font-size: 14px;
    }

    .a-propos-content {
        margin-bottom: 20px;
    }

    .a-propos-auto-hall .u330 {
        font-size: 29px;
    }
}

@media (max-width: 575px) {
    .a-propos-auto-hall .u327 {
        font-size: 31px;
        margin: 4px 0px 6px;
    }
}

.notre-raison {
    margin: 0px auto;
    margin-bottom: 60px;
    text-align: center;
}
.chronologie {
    margin: 50px 0;
}

.u340 {
    margin-bottom: 52px;
}

.u341 {
    font-size: 34px;
    line-height: 1.12;
    margin-top: 14px;
}

.u342 {
    color: rgb(91, 97, 110);
    align-self: end;
}

.u343 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 64px;
}

.u344 {
    border-top: 1px solid rgb(231, 233, 238);
    padding-top: 22px;
}
.u201{
    font-size: 20px;
    margin-bottom: 10px;
}
.u345 {
    margin-bottom: 14px;
}

.u346 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}
.a-propos-mission-items{
    margin-top: 20px;
}
.a-propos-mission-item {
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
}
.a-propos-mission-item h4{
    font-size: 18px;
    margin: 15px 0 10px;
}
.u348 {
    margin: 50px 0;
    align-items: center;
}
.u350 {
    color: rgb(91, 97, 110);
    margin-bottom: 30px;
    max-width: 500px;
}

.u351 {
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.03em;
    background: var(--blue);
    color: rgb(255, 255, 255);
    padding: 15px 30px;
    border-radius: 4px;
}
.u351:hover{
    background: rgb(255, 255, 255);
    color: var(--blue);
    border: 1px solid var(--blue);
}
.u352 {
    background: rgb(245, 246, 248);
    border: 1px solid rgb(236, 238, 241);
    border-radius: 12px;
    padding: 56px 48px;
    align-items: center;
}

.distinctions {
    margin: 50px 0;
}

.u353 {
    font-size: 32px;
    line-height: 1.12;
    margin-top: 14px;
}

.u354 {
    font-size: 56px;
    text-transform: uppercase;
    margin: 14px 0px 16px;
}

@media (max-width: 767px) {
    .contact {
        margin: 0;
    }
}

.a-propos-mission-item {
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
}

.u348 {
    margin: 50px 0;
    align-items: center;
}
.u350 {
    color: rgb(91, 97, 110);
    margin-bottom: 30px;
    max-width: 500px;
}

.u351 {
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.03em;
    background: rgb(30, 34, 51);
    color: rgb(255, 255, 255);
    padding: 15px 30px;
    border-radius: 4px;
}

.u352 {
    background: rgb(245, 246, 248);
    border: 1px solid rgb(236, 238, 241);
    border-radius: 12px;
    padding: 56px 48px;
    align-items: center;
}

.u351 {
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.03em;
    background: rgb(30, 34, 51);
    color: rgb(255, 255, 255);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
}
.distinctions {
    margin: 50px 0;
}
.cat-strip {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.cat-strip__track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.cat {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    position: relative;
    text-decoration: none;
}

.cat__media {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.cat__veil {
    position: absolute;
    inset: 0;
    background: rgba(4, 25, 84, 0.15);
}

.cat__body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 45px;
    color: white;
}

.cat__bar {
    width: 45px;
    height: 3px;
    background: white;
    margin: 0 auto 25px;
}

.cat__name {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
}

.cat__price {
    font-size: 18px;
    margin-top: 20px;
}

/* Dots cachés sur desktop */
.cat-strip__dots {
    display: none;
}

/* =========================
   TABLETTE + MOBILE
   ========================= */

@media (max-width: 1199px) {
    .cat-strip__track {
        width: 100%;
    }

    .cat {
        flex: 0 0 100%;
        width: 100%;
    }

    .cat__media {
        height: 530px;
    }

    /* Dots */
    .cat-strip__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        height: 63px;
        background: #f4f5f7;
    }

    .cat-strip__dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .cat-strip__dot.active {
        background: #041954;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
    .cat__media {
        height: 500px;
    }

    .cat__body {
        padding-top: 40px;
    }

    .cat__name {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .cat__price {
        font-size: 16px;
        margin-top: 18px;
    }

    .cat-strip__dots {
        height: 60px;
    }
}
.advisor-block {
    background-color: #0a2a74;
    padding: 50px 0 38px;
}
.btn-white-solid {
    background-color: #ffffff;
    color: var(--blue);
    border: 1px solid #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.7rem 1.4rem;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-white-solid:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-white-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.7rem 1.4rem;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-white-outline:hover {
    background-color: #ffffff;
    color: var(--blue);
    border-color: #ffffff;
}

@media (max-width: 767.98px) {
    .advisor-block .buttons-wrap {
        margin-top: 1.5rem;
        justify-content: flex-start !important;
    }
}

/* --- Pagination --------------------------------------------------------- */
.section-pagination {
    padding: 48px 0 72px;
}

.section-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-pagination .pagination li {
    display: block;
}

.section-pagination .pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--white);
    color: var(--blue);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.section-pagination .pagination li a:hover,
.section-pagination .pagination li a:focus-visible {
    background: var(--bg-alt);
    border-color: var(--blue);
}

.section-pagination .pagination li.active a {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    cursor: default;
}

/* Flèches précédent / suivant */
.section-pagination .arrows_nav a {
    min-width: 42px;
    padding: 0;
}

.section-pagination .arrows_nav svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.section-pagination .arrows_prev svg {
    transform: rotate(180deg);
}

@media (max-width: 575px) {
    .section-pagination {
        padding: 32px 0 48px;
    }

    .section-pagination .pagination {
        gap: 6px;
    }

    .section-pagination .pagination li a {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .section-pagination .arrows_nav a {
        min-width: 36px;
    }
}

/* 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;
}



/* =========================================================================
   Landing page campagne (/lp/{slug}) : formulaire lead + page de remerciement.
   S'appuie sur les tokens de app.css (--blue, --line, --wrap, --radius...).
   ========================================================================= */

.contact-section {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 56px var(--gutter) 72px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 2px 18px rgba(4, 25, 84, 0.06);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.contact-fields {
    display: grid;
    gap: 18px;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* --- Champs -------------------------------------------------------------- */

.contact-card .field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-card .control {
    width: 100%;
    padding: 13px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.contact-card select.control {
    /* Chevron maison : masque l'apparence native sans dépendre d'une image. */
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%),
        linear-gradient(135deg, var(--grey) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% + 2px),
        calc(100% - 14px) calc(50% + 2px);
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.contact-card .control::placeholder {
    color: var(--grey);
}

.contact-card .control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(4, 25, 84, 0.12);
}

.contact-card .field-telephone {
    display: flex;
    align-items: stretch;
}

.contact-card .field-telephone .control {
    flex: 1 1 auto;
}

/* --- Messages de validation --------------------------------------------- */

.field-msg {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #e02020;
    font-size: 13px;
    line-height: 1.4;
}

.contact-card .field.has-error .control {
    border-color: #e02020;
}

.contact-card .field.has-error .control:focus {
    box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.15);
}

.contact-card .field--check.has-error .check span {
    color: #e02020;
}

/* --- Consentement + envoi ------------------------------------------------ */

.contact-consent {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.contact-card .check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--grey);
    cursor: pointer;
}

.contact-card .check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--blue);
    cursor: pointer;
}

.contact-note {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-s);
    font-size: 14px;
    line-height: 1.45;
}

.contact-note.note--success {
    color: #14683c;
    background-color: #eaf7ef;
    border-color: #b7e2c7;
}

.contact-note.note--error {
    color: #a31515;
    background-color: #fdeceb;
    border-color: #f5c2c0;
}

.contact-submit {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: var(--radius-s);
    border: 1px solid var(--blue);
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.contact-submit:hover:not(:disabled) {
    background: var(--white);
    color: var(--blue);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --- Page de remerciement (lpmerci) -------------------------------------- */

.contact-card--merci {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 36px;
}

.merci__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.merci__icon svg {
    width: 100%;
    height: 100%;
}

.merci__icon-circle {
    stroke: var(--blue);
    stroke-width: 2;
}

.merci__icon-check {
    stroke: var(--blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.merci__title {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.25;
    color: var(--blue);
}

.merci__text {
    margin: 0 0 28px;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.65;
}

.merci__actions {
    display: flex;
    justify-content: center;
}

.merci__actions .contact-submit {
    align-self: center;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 36px 16px 52px;
    }

    .contact-card {
        padding: 24px 18px;
    }

    .contact-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
    }

    .merci__title {
        font-size: 24px;
    }
}

