/* ============================================================
   HOME — Section Catégories
   ============================================================ */

.km-categories {
    background: #FFF;
    width: 100%;
    padding: 72px 0 64px;
}

.km-categories__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Titre */
.km-categories__title {
    color: #704B38;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

/* Grille des catégories */
.km-categories__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

/* Item catégorie */
.km-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--km-transition);
}

.km-cat-item:hover {
    transform: translateY(-4px);
}

/* Boîte icône */
.km-cat-item__box {
    display: flex;
    width: 131px;
    height: 84px;
    padding: 24px 0;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #F3F4F6;
    border: 0 solid #E5E7EB;
    transition: background var(--km-transition), box-shadow var(--km-transition);
}

.km-cat-item:hover .km-cat-item__box {
    background: #EDE8E5;
    box-shadow: 0 4px 16px rgba(112, 75, 56, .12);
}

/* Label catégorie */
.km-cat-item__label {
    color: #704B38;
    text-align: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.5px;
}

/* Lien voir toutes */
.km-categories__see-all {
    color: #F6A936;
    text-align: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: opacity var(--km-transition);
}
.km-categories__see-all:hover {
    opacity: .75;
}

/* ── Responsive catégories ─── */
@media (max-width: 1024px) {
    .km-categories__inner { padding: 0 40px; }
    .km-categories__title { font-size: 36px; }
}

@media (max-width: 768px) {
    .km-categories { padding: 48px 0 40px; }
    .km-categories__inner { padding: 0 24px; gap: 32px; }
    .km-categories__title { font-size: 28px; }
    .km-cat-item__box { width: 100px; height: 70px; }
    .km-categories__grid { gap: 16px; }
}

@media (max-width: 480px) {
    .km-cat-item__box { width: 80px; height: 60px; padding: 16px 0; }
    .km-cat-item__label { font-size: 12px; }
}


/* ============================================================
   HOME — Section Hero
   Fichier : public/assets/css/pages/home.css
   ============================================================ */

.km-hero {
    position: relative;
    width: 100%;
    min-height: 600px;

    /* Image de fond */
    background-image: url('/assets/images/banners/frame16.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* Overlay sombre pour lisibilité du texte */
    isolation: isolate;
}

/* Overlay foncé sur l'image */
.km-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.km-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 163px 159px 244px 159px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* ── Titre H1 ────────────────────────────────────────────── */
.km-hero__title {
    width: 1132px;
    max-width: 100%;
    color: #F9FDFF;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 68px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    letter-spacing: -1.36px;
}

/* ── Sous-titre ──────────────────────────────────────────── */
.km-hero__subtitle {
    width: 618px;
    max-width: 100%;
    color: #F9FDFF;
    text-align: center;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 8px;
}

/* ── Boutons CTA ─────────────────────────────────────────── */
.km-hero__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.km-hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 18px;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #F9FDFF;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter var(--km-transition), transform var(--km-transition);
    white-space: nowrap;
}

.km-hero-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}
.km-hero-btn:active {
    filter: brightness(.95);
    transform: translateY(0);
}

/* Bouton plein — orange */
.km-hero-btn--primary {
    width: 208px;
    background: #F6A936;
    border: 2px solid transparent;
}

/* Bouton contour — blanc */
.km-hero-btn--outline {
    width: 246px;
    background: transparent;
    border: 2px solid #F9FDFF;
}
.km-hero-btn--outline:hover {
    background: rgba(249, 253, 255, 0.1);
}


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

@media (max-width: 1200px) {
    .km-hero__inner {
        padding: 120px 80px 180px 80px;
    }
    .km-hero__title {
        font-size: 56px;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .km-hero__inner {
        padding: 100px 40px 140px 40px;
    }
    .km-hero__title {
        font-size: 44px;
        letter-spacing: -0.88px;
    }
    .km-hero__subtitle {
        width: 100%;
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .km-hero__inner {
        padding: 80px 24px 100px 24px;
        gap: 18px;
    }
    .km-hero__title {
        font-size: 32px;
        letter-spacing: -0.64px;
        line-height: 110%;
    }
    .km-hero__subtitle {
        font-size: 14px;
    }
    .km-hero__cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .km-hero-btn--primary,
    .km-hero-btn--outline {
        width: 100%;
        max-width: 320px;
    }
}

/* ── Section Promoteur / Grande entreprise ── */
.km-promo-pro {
    position: relative;
    width: 100%;
    height: 694px;
    background-image:
        linear-gradient(180deg, rgba(12, 12, 12, 0.00) 0%, #704B38 100%),
        url('/assets/images/banners/frame22.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.km-promo-pro__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 159px;
    text-align: center;
}

.km-promo-pro__title {
    color: #FFF;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 68px;
    font-weight: 900;
    line-height: 100%;
    letter-spacing: -1.36px;
}

.km-promo-pro__subtitle {
    color: #DBEAFE;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.km-promo-pro__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: #F6A936;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: filter var(--km-transition), transform var(--km-transition);
    margin-top: 8px;
}

.km-promo-pro__btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .km-promo-pro__inner { padding: 0 60px; }
    .km-promo-pro__title { font-size: 52px; }
}

@media (max-width: 768px) {
    .km-promo-pro { height: auto; min-height: 500px; }
    .km-promo-pro__inner { padding: 80px 24px; }
    .km-promo-pro__title { font-size: 36px; letter-spacing: -0.72px; }
    .km-promo-pro__btn { width: 100%; justify-content: center; }
}

/* ── Section Importation ── */
.km-import {
    background: #F9FAFB;
    width: 100%;
    padding: 80px 0;
}

.km-import__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.km-import__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.km-import__title {
    color: #704B38;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

.km-import__subtitle {
    color: #4A5565;
    text-align: center;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

/* Colonnes */
.km-import__cols {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Colonne gauche */
.km-import__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Carte */
.km-import__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0 24px 24px;
    background: #704B38;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10);
}

.km-import__card-icon {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 12px 12px 0 12px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 10px;
    background: #F9FDFF;
}

.km-import__card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.km-import__card-title {
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.km-import__card-desc {
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* Bouton */
.km-import__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 271px;
    padding: 20px 18px;
    background: #F6A936;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: filter var(--km-transition), transform var(--km-transition);
    margin-top: 8px;
}
.km-import__btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* Colonne droite */
.km-import__right { flex-shrink: 0; }

.km-import__photo {
    width: 607px;
    height: 485px;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 1200px) {
    .km-import__inner { padding: 0 48px; }
    .km-import__photo { width: 100%; height: 400px; }
}

@media (max-width: 900px) {
    .km-import__cols { flex-direction: column; }
    .km-import__photo { width: 100%; height: 300px; }
    .km-import__inner { padding: 0 32px; }
}

@media (max-width: 640px) {
    .km-import { padding: 48px 0; }
    .km-import__inner { padding: 0 20px; gap: 32px; }
    .km-import__title { font-size: 28px; }
    .km-import__btn { width: 100%; }
}

/* ── Section Livraison directe ── */
.km-delivery {
    background: #FFF;
    width: 100%;
    padding: 80px 0;
}

.km-delivery__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Photo */
.km-delivery__left { flex-shrink: 0; }

.km-delivery__photo {
    width: 614px;
    height: 485px;
    object-fit: cover;
    display: block;
}

/* Contenu droite */
.km-delivery__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.km-delivery__title {
    color: #704B38;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

.km-delivery__desc {
    color: #4A5565;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

/* Features */
.km-delivery__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 4px;
}

.km-delivery__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.km-delivery__feature svg { flex-shrink: 0; margin-top: 4px; }

.km-delivery__feature-title {
    color: #704B38;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 120%;
    letter-spacing: -0.42px;
}

.km-delivery__feature-desc {
    color: #4A5565;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 4px;
}

/* Bouton */
.km-delivery__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: #F6A936;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 8px;
    transition: filter var(--km-transition), transform var(--km-transition);
}
.km-delivery__btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .km-delivery__inner { padding: 0 48px; gap: 48px; }
    .km-delivery__photo { width: 100%; height: 400px; }
    .km-delivery__title { font-size: 34px; }
    .km-delivery__feature-title { font-size: 22px; }
}

@media (max-width: 900px) {
    .km-delivery__inner { flex-direction: column; gap: 40px; }
    .km-delivery__left { width: 100%; }
    .km-delivery__photo { width: 100%; height: 300px; }
    .km-delivery__btn { width: 100%; }
}

@media (max-width: 640px) {
    .km-delivery { padding: 48px 0; }
    .km-delivery__inner { padding: 0 20px; }
    .km-delivery__title { font-size: 28px; }
    .km-delivery__feature-title { font-size: 20px; }
}

/* ── Section Artisans ── */
.km-artisans {
    background: #704B38;
    width: 100%;
    padding: 80px 0;
}

.km-artisans__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.km-artisans__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.km-artisans__title {
    color: #F9FDFF;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

.km-artisans__subtitle {
    color: #F9FDFF;
    text-align: center;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

/* Grille 4 photos */
.km-artisans__grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carte artisan */
.km-artisan-card {
    position: relative;
    width: 295px;
    height: 435px;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 4px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.km-artisan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.km-artisan-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.km-artisan-card:hover .km-artisan-card__img {
    transform: scale(1.06);
}

.km-artisan-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(179deg, rgba(10, 37, 67, 0.00) -13.02%, #704B38 94.24%);
    transition: opacity .35s ease;
}

.km-artisan-card__label {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFF;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
    z-index: 1;
}

/* Bouton */
.km-artisans__cta { text-align: center; }

.km-artisans__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: #F6A936;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}
.km-artisans__btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* ── Animations scroll ── */
.km-anim {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s ease;
}
.km-anim--delay-1 { transition-delay: .1s; }
.km-anim--delay-2 { transition-delay: .2s; }
.km-anim--delay-3 { transition-delay: .3s; }
.km-anim--delay-4 { transition-delay: .4s; }
.km-anim--delay-5 { transition-delay: .5s; }

.km-anim.km-anim--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect préférence reduced motion */
@media (prefers-reduced-motion: reduce) {
    .km-anim { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1200px) {
    .km-artisans__inner { padding: 0 48px; }
    .km-artisan-card { width: 220px; height: 340px; }
    .km-artisan-card__label { font-size: 32px; }
}

@media (max-width: 900px) {
    .km-artisans__inner { padding: 0 24px; }
    .km-artisans__title { font-size: 32px; }
    .km-artisans__grid { gap: 12px; }
    .km-artisan-card { width: calc(50% - 6px); height: 280px; }
    .km-artisan-card__label { font-size: 28px; }
}

@media (max-width: 480px) {
    .km-artisans { padding: 48px 0; }
    .km-artisan-card { width: 100%; height: 240px; }
    .km-artisans__btn { width: 100%; }
}

/* ── Section Témoignages + Confiance ── */
.km-trust {
    background: #FFF;
    width: 100%;
    padding: 80px 0;
}

.km-trust__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Titre Bebas Neue */
.km-trust__title {
    color: #704B38;
    text-align: center;
    font-family: 'Bebas Neue', 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 61.6px;
    letter-spacing: -0.56px;
}

/* Grille témoignages */
.km-trust__reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

/* Carte témoignage */
.km-review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border: 1px solid #F3F4F6;
    background: #FFF;
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.10), 0 10px 15px 0 rgba(0,0,0,.10);
    transition: transform .3s ease, box-shadow .3s ease;
}
.km-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.km-review-card__stars {
    display: flex;
    gap: 4px;
}

.km-review-card__text {
    color: #4B5563;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.5px;
}

.km-review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.km-review-card__avatar {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #082E47 0%, #F0512A 100%);
    color: #fff;
    font-family: var(--km-font);
    font-size: 18px;
    font-weight: 700;
}

.km-review-card__name {
    color: #000;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.5px;
}

.km-review-card__role {
    color: #6B7280;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: -0.5px;
    margin-top: 2px;
}

/* Boîtes garanties */
.km-trust__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.km-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 0;
    border: 1px solid #E5E7EB;
    background: #F3F4F6;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: default;
}
.km-trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.km-trust-badge__icon {
    display: flex;
    width: 64px;
    height: 64px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #FFF;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
    flex-shrink: 0;
}

.km-trust-badge__label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #704B38;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .km-trust__inner { padding: 0 48px; }
}

@media (max-width: 900px) {
    .km-trust__inner { padding: 0 24px; }
    .km-trust__reviews { grid-template-columns: 1fr; }
    .km-trust__badges { grid-template-columns: 1fr; }
    .km-trust-badge { padding: 24px; }
}

@media (max-width: 640px) {
    .km-trust { padding: 48px 0; }
    .km-trust__title { font-size: 40px; }
}

/* ── Section Estimateur ── */
.km-estimator {
    background: #704B38;
    width: 100%;
    padding: 80px 0;
}

.km-estimator__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.km-estimator__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.km-estimator__title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.km-estimator__title {
    color: #F9FDFF;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

.km-estimator__subtitle {
    color: #F9FDFF;
    text-align: center;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

/* Boîte formulaire */
.km-estimator__box {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px 32px 0 32px;
    background: rgba(255, 255, 255, 0.10);
    align-self: stretch;
    width: 100%;
}

/* Tous les divs d'étapes en colonne sauf les steps */
.km-estimator__box > div:not(.km-estimator__steps) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.km-estimator__label {
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.km-estimator__input {
    display: flex;
    height: 44px;
    padding: 8px 16px;
    align-items: center;
    align-self: stretch;
    border: 1px solid #F9FDFF;
    background: transparent;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.km-estimator__input::placeholder { color: #9CA3AF; }
.km-estimator__input:focus {
    border-color: #F6A936;
    box-shadow: 0 0 0 3px rgba(246,169,54,.2);
}
.km-estimator__input::-webkit-outer-spin-button,
.km-estimator__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.km-estimator__input[type=number] { -moz-appearance: textfield; }

/* Options type projet */
.km-estimator__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.km-estimator__option {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.km-estimator__option:hover { background: rgba(255,255,255,.1); }
.km-estimator__option--active {
    background: rgba(246,169,54,.2);
    border-color: #F6A936;
    color: #F6A936;
}

/* Bouton principal */
.km-estimator__btn {
    display: flex;
    height: 44px;
    padding: 17px 11px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    background: #F6A936;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: filter .2s ease;
    margin-top: 4px;
}
.km-estimator__btn:hover { filter: brightness(1.08); }
.km-estimator__btn:disabled { opacity: .5; cursor: not-allowed; }

/* Bouton outline */
.km-estimator__btn-outline {
    display: flex;
    height: 44px;
    padding: 17px 11px;
    justify-content: center;
    align-items: center;
    flex: 1;
    background: transparent;
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #F9FDFF;
    cursor: pointer;
    transition: background .2s ease;
}
.km-estimator__btn-outline:hover { background: rgba(255,255,255,.1); }

/* Résultat */
.km-estimator__result { gap: 20px !important; }

.km-estimator__result-label {
    color: rgba(255,255,255,.8);
    font-size: 14px;
    font-family: var(--km-font);
    text-align: center;
}

.km-estimator__result-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.km-estimator__result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.km-estimator__result-tag {
    color: rgba(255,255,255,.6);
    font-size: 12px;
    font-family: var(--km-font);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.km-estimator__result-value {
    color: #F6A936;
    font-family: 'Nexa', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
}

.km-estimator__result-sep {
    color: rgba(255,255,255,.4);
    font-size: 24px;
}

.km-estimator__result-note {
    color: rgba(255,255,255,.5);
    font-size: 12px;
    font-family: var(--km-font);
    text-align: center;
    line-height: 1.5;
}

.km-estimator__result-actions {
    display: flex;
    gap: 12px;
}
.km-estimator__result-actions .km-estimator__btn { flex: 1; }

/* Indicateur étapes */
.km-estimator__steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    width: 100%;
}

.km-estimator__step {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transition: background .3s ease;
    flex-shrink: 0;
}
.km-estimator__step--active { background: #F6A936; }

/* Responsive */
@media (max-width: 640px) {
    .km-estimator { padding: 48px 0; }
    .km-estimator__title { font-size: 28px; }
    .km-estimator__title-row { flex-direction: column; gap: 8px; }
    .km-estimator__box { padding: 24px 20px 0 20px; }
    .km-estimator__result-range { flex-direction: column; gap: 16px; }
    .km-estimator__result-sep { display: none; }
}

/* ── Section Newsletter ── */
.km-newsletter {
    background: linear-gradient(180deg, #623B27 0%, #704B38 100%);
    width: 100%;
    padding: 80px 0;
}

.km-newsletter__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.km-newsletter__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.km-newsletter__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.km-newsletter__title {
    color: #F9FDFF;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

.km-newsletter__subtitle {
    color: #F9FDFF;
    text-align: center;
    font-family: var(--km-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    max-width: 600px;
}

/* Formulaire */
.km-newsletter__form-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.km-newsletter__form {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 650px;
}

.km-newsletter__input {
    width: 406px;
    flex: 1;
    height: 56px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    border-right: none;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: border-color .2s ease;
}
.km-newsletter__input::placeholder { color: rgba(255,255,255,.60); }
.km-newsletter__input:focus {
    border-color: rgba(246,169,54,.6);
}

.km-newsletter__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 28px;
    background: #F6A936;
    color: #fff;
    font-family: var(--km-font);
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: filter .2s ease;
    flex-shrink: 0;
}
.km-newsletter__btn:hover { filter: brightness(1.08); }
.km-newsletter__btn:disabled { opacity: .6; cursor: not-allowed; }

.km-newsletter__btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Loader spinner */
.km-newsletter__loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: km-spin .7s linear infinite;
}
@keyframes km-spin { to { transform: rotate(360deg); } }

/* Erreur */
.km-newsletter__error {
    color: #FCA5A5;
    font-family: var(--km-font);
    font-size: 13px;
    text-align: center;
}

/* Succès */
.km-newsletter__success {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F6A936;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 500;
}

/* Mention légale */
.km-newsletter__legal {
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-family: var(--km-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    max-width: 500px;
}

/* Responsive */
@media (max-width: 768px) {
    .km-newsletter__title { font-size: 30px; }
    .km-newsletter__subtitle { font-size: 16px; }
    .km-newsletter__form { flex-direction: column; }
    .km-newsletter__input { border-right: 2px solid rgba(255,255,255,.20); border-bottom: none; width: 100%; }
    .km-newsletter__btn { width: 100%; }
}

@media (max-width: 480px) {
    .km-newsletter { padding: 48px 0; }
    .km-newsletter__title { font-size: 24px; }
    .km-newsletter__title-row { flex-direction: column; gap: 8px; }
}