/* ============================================================
   ACCUEIL SAELEN — refonte complète de la page principale
   Surcouche par-dessus style.css (chargée en dernier).
   Ne touche PAS à la modale d'économies (calculateur-saelen.css).
   Palette : jaune #ffd200 · bleu #057eb3 · gris #56585a
   ============================================================ */

:root {
    --y: #ffd200;
    --y-soft: #fff6cc;
    --b: #057eb3;
    --b-light: #009FE3;
    --b-dark: #045a80;
    --g: #56585a;
    --g-dark: #3d3f41;
    --soft: #f4f5f6;
    --line: #e6e8ea;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--g);
}

/* Sections : offset pour la nav sticky */
#configurateur,
#avantages,
#modeles {
    scroll-margin-top: 84px;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.sec {
    padding: 76px 0;
}

.sec-soft {
    background: var(--soft);
}

.sec-head {
    text-align: center;
    margin-bottom: 46px;
}

.sec-head .eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: bold;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--b);
    margin-bottom: 10px;
}

.sec-head h2 {
    font-size: 2.1rem;
    color: var(--g);
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.sec-head p {
    margin: 12px auto 0;
    max-width: 620px;
    font-size: 1rem;
    color: #7a7c7e;
}

.sec-head .accent {
    display: block;
    width: 56px;
    height: 4px;
    margin: 16px auto 0;
    background: var(--y);
    border-radius: 2px;
}

/* ============================================================
   NAV STICKY
   ============================================================ */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #56585a;
    transition: background .3s ease;
}

.topnav.scrolled {
    background: linear-gradient(180deg, rgba(86, 88, 90, .96) 0%, rgba(86, 88, 90, .82) 60%, rgba(86, 88, 90, .6) 100%);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.topnav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topnav-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.topnav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.topnav-links a {
    text-decoration: none;
    color: #fff;
    font-size: .92rem;
    font-weight: bold;
    position: relative;
    padding: 28px 0;
    transition: color .2s;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.topnav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--y);
    transform: scaleX(0);
    transition: transform .22s ease;
}

.topnav-links a:not(.nav-cta):hover {
    color: var(--y);
}

.topnav-links a:not(.nav-cta):hover::after {
    transform: scaleX(1);
}

/* Bouton démo — parallélogramme jaune (style saelen.fr) */
.nav-cta {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--y);
    color: var(--g) !important;
    padding: 0 32px !important;
    transform: skewX(-12deg);
    transition: background .2s ease;
    text-shadow: none !important;
}

.nav-cta:hover {
    background: #ffda2e;
}

.nav-cta .nav-cta-lbl {
    display: inline-block;
    transform: skewX(12deg);
    text-transform: uppercase;
    font-weight: bold;
    font-size: .82rem;
    line-height: 1.2;
    letter-spacing: .6px;
    text-align: center;
}

/* Bouton hamburger (masqué sur desktop) */
.burger {
    display: none;
    width: 46px !important;
    height: 46px !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 880px) {
    .burger {
        display: flex;
    }

    .topnav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0 12px;
        background: #56585a;
        box-shadow: 0 14px 26px rgba(0, 0, 0, .2);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .3s ease, opacity .25s ease;
    }

    .topnav-links.open {
        max-height: 360px;
        opacity: 1;
        pointer-events: auto;
    }

    .topnav-links a {
        padding: 15px 28px;
        text-align: left;
    }

    .topnav-links a:not(.nav-cta)::after {
        display: none;
    }

    /* CTA en bloc normal dans le menu déroulant */
    .nav-cta {
        align-self: auto;
        transform: none;
        margin: 12px 24px 4px;
        padding: 14px 20px !important;
        border-radius: 8px;
    }

    .nav-cta .nav-cta-lbl {
        transform: none;
        font-size: .92rem;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background:
        radial-gradient(900px 400px at 80% -10%, rgba(5, 126, 179, .35), transparent 60%),
        linear-gradient(135deg, #2f3133 0%, var(--g) 60%, #4a4c4e 100%);
    color: #fff;
    overflow: hidden;
    padding: 88px 0 96px;
}

/* biseau jaune signature en bas */
.hero::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -28px;
    height: 56px;
    background: var(--y);
    transform: skewY(-1.6deg);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.hero-es {
    max-height: 46px;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 18px;
    padding: 0;
}

.hero h1 .hl {
    color: var(--y);
}

.hero .lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, .8);
    max-width: 520px;
    margin: 0 0 30px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: "SaelenFont", sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 15px 28px;
    border-radius: 10px;
    transition: all .2s;
}

.btn-primary {
    background: var(--y);
    color: var(--g);
    box-shadow: 0 8px 22px rgba(255, 210, 0, .3);
}

.btn-primary:hover {
    background: #ffdb33;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .16);
}

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .45));
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 92px 0 60px;
    }
    .hero h1 {
        font-size: 1.85rem;
    }
    .hero-es {
        max-height: 34px;
        margin-bottom: 16px;
    }
    .hero .lead {
        font-size: 1rem;
    }
    .hero-ctas {
        gap: 10px;
        flex-direction: column;
    }
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        font-size: .95rem;
        padding: 14px 16px;
    }
    .hero-visual {
        max-width: 280px;
    }
}

/* ============================================================
   CONFIGURATEUR (2 panneaux)
   ============================================================ */
.config-dark {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(820px 380px at 50% -8%, rgba(5, 126, 179, .38), transparent 62%),
        linear-gradient(135deg, #2f3133 0%, var(--g) 58%, #45474a 100%);
}

.config-dark .sec-head h2 {
    color: #fff;
}

.config-dark .sec-head p {
    color: rgba(255, 255, 255, .6);
}

.config-dark .eyebrow {
    color: var(--y);
}

/* La section configurateur exploite une largeur étendue */
.config-dark .wrap {
    max-width: 1600px;
}

/* --- Disposition 2 colonnes : machine (grande) | configuration --- */
.cfg2 {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 28px;
}

.cfg-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* --- Scène machine (spotlight) --- */
.stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 0;
}

.stage-machine {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 820px;
    text-align: center;
    padding: 8px 0;
}

.stage-machine::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 54%;
    width: 82%;
    height: 72%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(255, 210, 0, .22), transparent 65%);
    filter: blur(26px);
    z-index: 0;
}

#logoBro {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto 20px;
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

#bro-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .55));
}

/* Flèches modèle sur fond sombre — override style.css */
#arrow-left,
#arrow-right {
    position: static;
    float: none;
    margin: 0;
    transform: none;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: transform .18s ease;
}

#arrow-left:hover,
#arrow-right:hover {
    transform: scale(1.25);
}

#arrow-left:active,
#arrow-right:active {
    transform: scale(1.05);
}

#arrow-left .arrow-2,
#arrow-right .arrow-2 {
    margin: 0;
    padding: 9px;
    border-color: rgba(255, 255, 255, .9);
    border-width: 0 2px 2px 0;
    border-radius: 1px;
    transition: border-color .18s ease;
}

#arrow-left:hover .arrow-2,
#arrow-right:hover .arrow-2 {
    border-color: var(--y);
}

#arrow-left .arrow-2 {
    transform: rotate(135deg);
    margin-left: 6px;
}

#arrow-right .arrow-2 {
    transform: rotate(-45deg);
    margin-right: 6px;
}

/* --- Bande KPI (gros chiffres) --- */
.kpi-band {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 20px 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
}

.kpi {
    flex: 1;
    text-align: center;
    padding: 4px 12px;
}

.kpi-sep {
    width: 1px;
    margin: 6px 0;
    background: rgba(255, 255, 255, .14);
}

.kpi-val {
    font-size: 2.9rem;
    font-weight: bold;
    color: var(--y);
    line-height: 1;
}

.kpi-val span {
    font-size: 1.2rem;
}

.kpi-unit {
    margin-top: 6px;
    color: rgba(255, 255, 255, .75);
    font-weight: bold;
    font-size: .9rem;
}

/* --- Carte paramètres claire (hauteur constante) --- */
.params-card {
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
    color: var(--g);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

/* Onglets (script.js réécrit la classe en 'col-5 left h1-activ') */
.tabs {
    display: flex;
    gap: 2px;
    background: none;
    padding: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

#butEnv,
#butParam {
    float: none !important;
    width: auto !important;
    flex: 1;
    margin: 0 0 -1px !important;
    padding: 12px 8px !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: .76rem !important;
    font-weight: bold;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #9ca3af !important;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

#butEnv:hover,
#butParam:hover {
    background: transparent !important;
    color: var(--g) !important;
}

#butEnv.h1-activ,
#butParam.h1-activ {
    background: transparent !important;
    color: var(--b) !important;
    border-bottom-color: var(--b) !important;
}

#reset {
    min-height: 46px;
    text-align: center;
    margin-top: auto;
    padding-top: 14px;
}

#resetBtn {
    display: inline-block;
    width: auto !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: none !important;
    box-shadow: none !important;
    font-size: .8rem !important;
    font-weight: bold;
    color: var(--b) !important;
    background: none;
    cursor: pointer;
    border-radius: 6px;
}

#resetBtn:hover {
    background: var(--soft);
    text-decoration: underline;
}

/* Environnement : matière / chantier / saison côte à côte,
   centrés verticalement dans la hauteur de la carte */
#env {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    flex: 1;
    align-content: center;
}

/* Paramètres machine : opérateurs en pleine largeur,
   puis Start&Stop et Mode (Panther) côte à côte */
#param {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 12px;
    flex: 1;
}

#Operateur {
    flex: 1 1 100%;
}

#StartStop,
#Mode {
    flex: 1 1 200px;
}

/* Start&Stop : contenu centré verticalement (la carte s'étire à la
   hauteur du Mode quand il est affiché à côté) */
#StartStop {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Mode (Panther) compact : reste dans la hauteur fixe, à côté du Start&Stop */
#Mode .selector {
    padding: 0;
    height: 100%;
}
#Mode .sel-body img {
    max-height: 28px;
    margin-bottom: 2px !important;
}
#Mode .sel-title {
    margin-bottom: 2px;
}
#Mode .sel-value {
    margin-top: 0;
}

/* Spacers de l'ancien layout : neutralisés (évite des cases vides).
   !important car script.js fait $(elemSea).show() (reset / changement de
   modèle), ce qui poserait un display:block inline sinon. */
#vide1-m,
#vide2-m {
    display: none !important;
}

.selector {
    display: flex !important;
    align-items: center;
    gap: 4px;
    width: 100% !important;
    float: none !important;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-height: 0 !important;
}

.selector .sel-arrow {
    width: 28px !important;
    height: 42px;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: none;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .18s ease;
}

.selector .sel-arrow:hover {
    transform: scale(1.28);
}

.selector .sel-arrow:active {
    transform: scale(1.05);
}

.selector .sel-arrow .arrow {
    margin: 0;
    padding: 5px;
    border-color: #b6b9bc;
    border-width: 0 2.5px 2.5px 0;
    border-radius: 1px;
    transition: border-color .18s ease;
}

.selector .sel-arrow:hover .arrow {
    border-color: var(--b);
}

.selector .sel-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto !important;
    float: none !important;
}

.selector .sel-body img {
    max-height: 46px;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto 4px !important;
    display: block;
}

.selector .sel-title {
    margin: 0 0 6px;
    padding: 0;
    font-size: .64rem !important;
    font-weight: bold;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #9ca3af;
}

.selector .sel-title .info {
    width: 16px !important;
    height: 16px !important;
    vertical-align: -3px;
}

.selector .sel-value {
    font-size: .78rem;
    color: var(--b);
    font-weight: bold;
    margin-top: 2px;
}

/* Opérateurs + start&stop : sans cadre (épuré) */
.field {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    width: auto !important;
    float: none !important;
    min-height: 0 !important;
    display: block !important;
}

.field .field-title {
    margin: 0 0 10px;
    padding: 0;
    font-size: .64rem !important;
    font-weight: bold;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #9ca3af;
    text-align: center;
}

.field .field-title .info {
    width: 16px !important;
    height: 16px !important;
    vertical-align: -3px;
}

#nbOp {
    width: 100%;
}

.op-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    padding: 0 8px;
}

.op-scale span {
    font-size: .72rem;
    color: #9ca3af;
}

/* CTA économies (override .roi-btn défini dans calculateur-saelen.css) */
.config-cta {
    margin-top: 26px;
    text-align: center;
}

button.roi-btn,
#modalEcoBtn {
    width: 100% !important;
    max-width: 520px;
    height: auto !important;
    justify-content: center;
    padding: 18px 28px !important;
    border-radius: 12px !important;
    background: var(--y) !important;
    color: var(--g) !important;
    box-shadow: 0 12px 30px rgba(255, 210, 0, .35) !important;
    font-size: 1.15rem !important;
}

button.roi-btn:hover,
#modalEcoBtn:hover {
    background: #ffda2e !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 210, 0, .45) !important;
}

@media (max-width: 1300px) {
    .cfg2 {
        gap: 48px;
    }
    #bro-img {
        height: 460px;
    }
}

@media (max-width: 900px) {
    .cfg2 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    #bro-img {
        height: 400px;
    }
    .params-card {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .stage {
        gap: 10px;
    }
    #arrow-left,
    #arrow-right {
        width: 44px;
        height: 44px;
    }
    #logoBro {
        height: 36px;
    }
    #bro-img {
        height: 260px;
    }
    .kpi-val {
        font-size: 2rem;
    }
    .kpi {
        padding: 4px 6px;
    }
}

/* ============================================================
   AVANTAGES
   ============================================================ */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.adv {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.adv:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
    border-color: var(--y);
}

.adv-ico {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--y-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-ico img {
    height: 42px;
    width: auto;
}

.adv-txt h3 {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: var(--g);
    line-height: 1.3;
}

.adv-txt h3 b {
    color: var(--b);
}

@media (max-width: 900px) {
    .adv-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .adv-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MODÈLES (lignes alternées)
   ============================================================ */
.model-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
    padding: 30px 0;
}

.model-row + .model-row {
    border-top: 1px solid var(--line);
}

.model-row.rev .model-media {
    order: 2;
}

/* Image à la même taille que celle du hero (~515px), centrée */
.model-media {
    text-align: center;
}

.model-media img {
    width: 100%;
    max-width: 515px;
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .12));
}

.model-logo {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.model-info h3 {
    margin: 0 0 6px;
    padding: 0;
    font-size: 1.7rem;
    color: var(--g);
}

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

.chip {
    background: var(--y-soft);
    color: #8a7200;
    font-size: .8rem;
    font-weight: bold;
    padding: 5px 13px;
    border-radius: 20px;
}

.model-info p {
    color: #7a7c7e;
    line-height: 1.7;
    margin: 0 0 20px;
    font-size: .98rem;
}

.model-info p b {
    color: var(--b);
}

.btn-voir {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--g);
    color: #fff;
    padding: 12px 24px;
    border-radius: 9px;
    font-weight: bold;
    font-size: .92rem;
    transition: all .2s;
}

.btn-voir:hover {
    background: var(--y);
    color: var(--g);
    transform: translateY(-1px);
}

.btn-voir .plus {
    color: var(--y);
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-voir:hover .plus {
    color: var(--g);
}

@media (max-width: 820px) {
    .model-row,
    .model-row.rev {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 0;
        text-align: center;
    }
    .model-row.rev .model-media {
        order: 0;
    }
    .model-media img {
        max-width: 360px;
    }
    .model-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .model-info h3 {
        font-size: 1.4rem;
    }
    .model-chips {
        justify-content: center;
    }
    .model-info p {
        text-align: left;
    }
    .btn-voir {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .model-row,
    .model-row.rev {
        gap: 14px;
        padding: 22px 0;
    }
    .model-media img {
        max-width: 280px;
    }
    .model-logo {
        height: 34px;
    }
    .model-info h3 {
        font-size: 1.25rem;
    }
    .chip {
        font-size: .72rem;
        padding: 4px 10px;
    }
    .model-info p {
        font-size: .92rem;
    }
    .btn-voir {
        width: 100%;
    }
}

/* ============================================================
   BANDE CTA
   ============================================================ */
.cta-band {
    position: relative;
    background: linear-gradient(135deg, var(--b) 0%, var(--b-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 64px 24px;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -5%;
    right: -5%;
    height: 70px;
    background: var(--y);
    transform: skewY(-1.6deg);
}

.cta-band h2 {
    position: relative;
    font-size: 2rem;
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
}

.cta-band p {
    position: relative;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 26px;
    font-size: 1.05rem;
}

.cta-band .btn-primary {
    position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--g-dark);
    color: rgba(255, 255, 255, .6);
    border-top: 4px solid var(--y);
    padding: 54px 24px 28px;
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p {
    margin: 0;
    font-size: .85rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer-addr {
    margin: 0 0 14px !important;
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55);
}

.footer-addr strong {
    color: #fff;
}

.footer-phone {
    color: var(--y);
    font-weight: bold;
    font-size: 1.05rem;
}

.footer-commercial {
    display: inline-block;
    color: var(--y);
    font-weight: bold;
    font-size: .85rem;
    text-decoration: none;
    transition: opacity .2s;
}

.footer-commercial:hover {
    opacity: .8;
    text-decoration: underline;
}

.footer-col h4 {
    color: #fff;
    font-size: .9rem;
    margin: 0 0 14px;
    padding: 0;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .85rem;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--y);
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 22px;
    text-align: center;
    font-size: .78rem;
    color: rgba(255, 255, 255, .4);
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
