/* =========================
   TROUVER MON CAMPING
   HOME CLEAN FINAL - BLUE PETROL / AMBER
   Replace the old home CSS completely with this file.
========================= */

:root {
    --tmc-primary: #0F2D3A;
    --tmc-primary-2: #17485A;
    --tmc-accent: #FDBB3A;
    --tmc-accent-2: #FDBB3A;
    --tmc-accent-hover: #F2AC22;
    --tmc-accent-active: #E49D16;
    --tmc-accent-soft: rgba(253, 187, 58, 0.14);

    --tmc-bg: #F7F8FA;
    --tmc-card: #FFFFFF;
    --tmc-text: #10212B;
    --tmc-muted: #5F6B73;
    --tmc-border: #E6EBEF;

    --tmc-radius-lg: 36px;
    --tmc-radius-md: 24px;
    --tmc-shadow-soft: 0 24px 60px rgba(16, 33, 43, 0.08);
    --tmc-shadow-strong: 0 30px 70px rgba(15, 45, 58, 0.18);
    --tmc-font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --tmc-font-family: var(--tmc-font-main);
}

html,
body {
    background: #ffffff !important;
    overflow-x: hidden;
    font-family: var(--tmc-font-main, "Inter", system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select,
a {
    font-family: var(--tmc-font-main, "Inter", system-ui, sans-serif);
}

.home-page {
    background: #ffffff !important;
    overflow-x: hidden;
    padding-bottom: 120px;
    color: var(--tmc-text);
    font-family: var(--tmc-font-main);
}

main,
.container {
    background: transparent !important;
}

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

.tmc-mobile-menu-btn,
.tmc-mobile-menu {
    display: none;
}

@media screen and (max-width: 1199px) {
    .tmc-desktop-nav {
        display: none !important;
    }

    .tmc-header-inner {
        justify-content: space-between !important;
    }

    .tmc-mobile-menu-btn {
        display: flex !important;
        position: fixed !important;
        top: 14px !important;
        right: 16px !important;
        left: auto !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 26px !important;
        line-height: 1 !important;
        color: var(--tmc-primary) !important;
        z-index: 100001 !important;
        cursor: pointer !important;
    }

    .tmc-mobile-menu {
        display: none !important;
    }

    /* Popover mobile : voir nav-redesign.css */
}

@media screen and (min-width: 1200px) {
    .tmc-mobile-menu,
    .tmc-mobile-menu-btn {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .header-language-switcher,
    .mobile-language-switcher,
    .tmc-desktop-nav {
        display: none !important;
    }

    .tmc-logo img {
        height: 40px !important;
        width: auto !important;
    }

    .tmc-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        background: #ffffff !important;
        border-bottom: 1px solid var(--tmc-border) !important;
    }

    .tmc-header-inner {
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }

    .tmc-mobile-menu-btn {
        top: 7px !important;
        right: 16px !important;
    }

    .tmc-mobile-menu {
        display: none !important;
    }

    /* Popover mobile : voir nav-redesign.css */

    .tmc-mobile-menu-lang {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .tmc-mobile-menu-btn {
        top: 7px !important;
        right: 14px !important;
    }
}

/* =========================
   MOBILE TOP CATEGORIES
========================= */

.mobile-top-explorer {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-top-explorer {
        display: block !important;
        margin: -6px 0 0 !important;
        padding: 2px 16px 4px !important;
        background: #ffffff !important;
    }

    .mobile-top-categories {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 4px 0 10px !important;
        border-bottom: 1px solid var(--tmc-border) !important;
    }

    .mobile-top-category {
        display: flex !important;
        flex: 1 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        padding: 4px 0 7px !important;
        text-decoration: none !important;
        color: #768184 !important;
        border-bottom: 2px solid transparent !important;
    }

    .mobile-top-category span {
        display: block !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }

    .mobile-top-category strong {
        display: block !important;
        font-size: 0.72rem !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        color: inherit !important;
    }

    .mobile-top-category.active {
        color: var(--tmc-primary) !important;
        border-bottom-color: var(--tmc-accent) !important;
    }
}

/* =========================
   HERO DESKTOP
========================= */

.home-mobile-first-hero {
    max-width: 1450px;
    margin: 40px auto 72px;
    padding: 0 24px;
}

.home-hero-image-card {
    min-height: 520px;
    border-radius: 38px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(15, 45, 58, 0.74) 0%,
            rgba(15, 45, 58, 0.48) 45%,
            rgba(15, 45, 58, 0.12) 100%
        ),
        url('/assets/images/home/hero-nature.jpg') center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.home-hero-content {
    max-width: 720px;
    padding: 70px 58px 110px;
    color: #ffffff;
}

.home-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(244, 166, 35, 0.16);
    border: 1px solid rgba(244, 166, 35, 0.24);
    color: var(--tmc-accent-2);
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.home-hero-content h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: #ffffff !important;
    font-size: clamp(3.8rem, 6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 900;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.home-hero-content p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 800;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

/* Hide hero image on mobile to focus on AI search */
@media screen and (max-width: 768px) {
    .home-mobile-first-hero {
        margin: 0 !important;
        padding: 0 !important;
    }

    .home-hero-image-card,
    .home-hero-content,
    .home-mobile-first-hero .home-hero-image-card {
        display: none !important;
    }
}

/* =========================
   AI MODULE
========================= */

.home-ai-module {
    max-width: 90%;       /* largeur limitée */
    margin: 40px auto;    /* centrage et espacement */
    padding: 16px 24px;   /* padding interne */
    border-radius: 16px;  /* coins arrondis */
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.home-ai-module-form {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: center;
    padding: 30px 34px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid var(--tmc-border);
    box-shadow:
        0 28px 70px rgba(15, 45, 58, 0.13),
        0 8px 24px rgba(244, 166, 35, 0.06);
}

.home-ai-module-text span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(244, 166, 35, 0.12);
    color: #9A6700;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-ai-module-text h2 {
    margin: 0 0 8px;
    color: var(--tmc-text);
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.home-ai-module-text p {
    max-width: 460px;
    margin: 0;
    color: var(--tmc-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 700;
}

.home-ai-module-action input {
    width: 100%;
    height: 62px;
    min-height: 62px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid var(--tmc-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--tmc-text);
    font-size: 0.96rem;
    font-weight: 700;
    outline: none;
}

.home-ai-module-action input:focus {
    border-color: var(--tmc-accent);
    box-shadow:
        0 0 0 4px rgba(244, 166, 35, 0.18),
        0 10px 28px rgba(15, 45, 58, 0.10);
}

.home-ai-module-action button {
    height: 62px;
    min-height: 62px;
    margin: 0;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tmc-primary) 0%, var(--tmc-primary-2) 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(15, 45, 58, 0.16);
    transition: all 0.22s ease;
}

.home-ai-module-action button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--tmc-accent) 0%, var(--tmc-accent-2) 100%);
    color: var(--tmc-text);
    box-shadow: 0 20px 42px rgba(244, 166, 35, 0.30);
}

.ai-search-trust,
.ai-mobile-suggestions {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .home-ai-module {
        margin: 8px 16px 24px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .home-ai-module-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 24px 20px !important;
        border-radius: 30px !important;
        background: linear-gradient(180deg, #ffffff 0%, #F7F8FA 100%) !important;
        border: 1px solid var(--tmc-border) !important;
        box-shadow: 0 16px 42px rgba(15, 45, 58, 0.08) !important;
    }

    .home-ai-module-text span {
        margin-bottom: 12px !important;
    }

    .home-ai-module-text h2 {
        font-size: 2rem !important;
        line-height: 1.02 !important;
        letter-spacing: -0.05em !important;
    }

    .home-ai-module-text p {
        margin-bottom: 18px !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100% !important;
        min-height: 62px !important;
        height: 62px !important;
        border-radius: 20px !important;
        font-size: 1rem !important;
    }

    .home-ai-module-action input {
        margin-bottom: 14px !important;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .home-ai-module {
        margin: -40px auto 40px !important;
        padding: 0 24px;
    }

    .home-ai-module-form {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Empile input et texte */
        gap: 24px !important;
        padding: 28px 24px !important;
        border-radius: 30px !important;
        background: #ffffff !important;
        border: 1px solid var(--tmc-border) !important;
        box-shadow: 0 16px 42px rgba(15, 45, 58, 0.08) !important;
    }

    .home-ai-module-text {
        text-align: center !important;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100% !important;
        border-radius: 20px !important;
    }

    .home-ai-module-action input {
        margin-bottom: 12px !important;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Conteneur du module */
    .home-ai-module {
        margin: -40px auto 40px !important;
        padding: 0 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Texte explicatif centré */
    .home-ai-module-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .home-ai-module-text h2 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .home-ai-module-text p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Formulaire (input + bouton) */


    .home-ai-module-action input {
        width: 100%;
        padding: 14px 22px;
        font-size: 0.95rem;
        min-height: 60px;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .home-ai-module-action button {
        width: 100%;
        padding: 14px 22px;
        font-size: 0.95rem;
        min-height: 60px;
        border-radius: 20px;
    }
}
/* =========================
   QUICK LINKS
========================= */

.home-quick-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 26px;
}

.home-quick-links a {
    min-width: 220px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 900;
    transition: 0.2s ease;
}

.home-quick-links a:first-child {
    background: linear-gradient(135deg, var(--tmc-primary) 0%, var(--tmc-primary-2) 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 45, 58, 0.18);
}

.home-quick-links a:last-child {
    background: #F3F6F8;
    color: var(--tmc-primary);
    border: 1px solid var(--tmc-border);
}

.home-quick-links a:hover {
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .home-quick-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin: 18px 24px 0 !important;
    }

    .home-quick-links a {
        min-width: auto !important;
        min-height: 54px !important;
        padding: 0 12px !important;
        border-radius: 18px !important;
        font-size: 0.76rem !important;
        text-align: center !important;
    }
}

/* =========================
   COMMUNITY TOPIC PREMIUM
========================= */

.home-community-topic {
    max-width: 1040px;
    margin: 72px auto;
    padding: 42px 46px;
    border-radius: 36px;
    background: #ffffff;
    border: 1px solid var(--tmc-border);
    box-shadow: var(--tmc-shadow-soft);
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 42px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-community-topic::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--tmc-primary) 0%, var(--tmc-accent) 100%);
}

.community-topic-left {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.community-topic-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: #FFF6E7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.community-topic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #F4F7F9;
    color: var(--tmc-primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-community-topic h2 {
    max-width: 540px;
    margin: 0 0 16px;
    color: var(--tmc-text);
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.home-community-topic p,
.community-topic-intro {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--tmc-muted);
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 700;
}

.community-topic-weekly {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 12px 18px;
    border-radius: 16px;
    background: #FFF6E7;
    color: #9A6700;
    font-size: 0.92rem;
    font-weight: 900;
}

.community-topic-question {
    max-width: 640px;
    color: var(--tmc-text);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.45;
}

.community-topic-btn {
    min-width: 270px;
    min-height: 66px;
    padding: 0 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tmc-primary) 0%, var(--tmc-primary-2) 100%);
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 34px rgba(15, 45, 58, 0.14);
    transition: all 0.25s ease;
}

.community-topic-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--tmc-accent) 0%, var(--tmc-accent-2) 100%);
    color: var(--tmc-text) !important;
    box-shadow: 0 22px 44px rgba(244, 166, 35, 0.30);
}

@media screen and (max-width: 768px) {
    .home-community-topic {
        margin: 42px 16px;
        padding: 28px 24px;
        border-radius: 30px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-community-topic h2 {
        font-size: 2.15rem;
        line-height: 1;
    }

    .home-community-topic p,
    .community-topic-intro {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .community-topic-weekly {
        font-size: 0.84rem;
        padding: 11px 14px;
    }

    .community-topic-question {
        font-size: 1rem;
    }

    .community-topic-btn {
        width: 100%;
        min-width: 100%;
        min-height: 58px;
    }
}

/* =========================
   SECTIONS
========================= */

.home-page .home-featured,
.home-page .recommended-section {
    width: 100%;
    max-width: 1320px !important;
    margin: 72px auto !important;
    padding: 0 42px !important;
}

.home-page .section-header {
    display: block;
    max-width: 760px;
    margin-bottom: 34px;
}

.home-page .section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--tmc-primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .section-header h2 {
    margin: 0 0 8px;
    color: var(--tmc-text);
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.home-page .section-header p {
    max-width: 520px;
    margin: 0;
    color: var(--tmc-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* =========================
   CAMPING CARDS HOME
========================= */

.home-page .recommended-section .campings-grid,
.home-page .recommended-section .home-campings-grid,
.home-page .home-featured .campings-grid,
.home-page .home-featured .home-campings-grid {
    /* Grille : voir assets/css/cards-list.css */
    align-items: start !important;
}

.home-page .recommended-section .camping-card,
.home-page .recommended-section .home-camping-card,
.home-page .home-featured .camping-card,
.home-page .home-featured .home-camping-card {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.home-page .recommended-section .camping-card-link,
.home-page .home-featured .camping-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
}

.home-page .recommended-section .camping-card-image-wrap,
.home-page .home-featured .camping-card-image-wrap {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin: 0 0 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #E7ECEF !important;
}

.home-page .recommended-section .camping-card-image-wrap img,
.home-page .recommended-section .camping-card-image,
.home-page .home-featured .camping-card-image-wrap img,
.home-page .home-featured .camping-card-image {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}

.home-page .recommended-section .camping-card-body,
.home-page .home-featured .camping-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 0 !important;
    background: transparent !important;
}

.home-page .recommended-section h3,
.home-page .home-featured h3 {
    margin: 0 0 6px !important;
    color: var(--tmc-text) !important;
    font-size: 1rem !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
}

.home-page .recommended-section .camping-location,
.home-page .recommended-section .camping-meta,
.home-page .home-featured .camping-location,
.home-page .home-featured .camping-meta {
    margin: 0 0 3px !important;
    color: var(--tmc-muted) !important;
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
}

.home-page .camping-smart-tags,
.home-page .camping-tags,
.home-page .camping-features,
.home-page .camping-amenities {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 7px 0 8px !important;
}

.home-page .camping-smart-tags span,
.home-page .camping-tags span,
.home-page .camping-features span,
.home-page .camping-amenities span {
    min-height: 26px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: #F3F6F8 !important;
    border: 1px solid var(--tmc-border) !important;
    color: var(--tmc-primary) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.home-page .recommended-section .camping-price,
.home-page .home-featured .camping-price {
    margin-top: auto !important;
    padding-top: 2px !important;
    color: var(--tmc-primary) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .home-page .recommended-section,
    .home-page .home-featured {
        max-width: 100% !important;
        padding: 0 28px !important;
    }

    /* Grille cartes : cards-list.css */

    .home-page .recommended-section .camping-card-image-wrap,
    .home-page .home-featured .camping-card-image-wrap {
        border-radius: 18px !important;
    }

    .home-page .camping-card h3,
    .home-page .home-camping-card h3 {
        font-size: 0.88rem !important;
    }

    .home-page .camping-location,
    .home-page .camping-meta {
        font-size: 0.74rem !important;
    }
}

@media screen and (max-width: 768px) {
    .home-page .recommended-section,
    .home-page .home-featured {
        max-width: 100% !important;
        margin: 46px auto !important;
        padding: 0 16px !important;
    }

    /* Grille cartes : cards-list.css */

    .home-page .recommended-section .camping-card-image-wrap,
    .home-page .home-featured .camping-card-image-wrap {
        border-radius: 18px !important;
    }

    .home-page .recommended-section h3,
    .home-page .home-featured h3 {
        font-size: 0.8rem !important;
        line-height: 1.18 !important;
    }

    .home-page .recommended-section .camping-location,
    .home-page .recommended-section .camping-meta,
    .home-page .home-featured .camping-location,
    .home-page .home-featured .camping-meta {
        font-size: 0.68rem !important;
        line-height: 1.28 !important;
    }

    .home-page .camping-smart-tags span,
    .home-page .camping-tags span,
    .home-page .camping-features span,
    .home-page .camping-amenities span {
        min-height: 20px !important;
        padding: 3px 7px !important;
        font-size: 0.58rem !important;
    }

    .home-page .camping-price {
        font-size: 0.7rem !important;
    }
}

@media screen and (max-width: 390px) {
    /* Grille cartes : cards-list.css */

    .home-page .camping-card h3,
    .home-page .home-camping-card h3 {
        font-size: 0.76rem !important;
    }

    .home-page .camping-location,
    .home-page .camping-meta,
    .home-page .camping-price {
        font-size: 0.64rem !important;
    }
}

/* =========================
   OLD ELEMENTS DISABLED
========================= */

.hero-home.hero-home-airbnb,
.hero-home.hero-home-minimal,
.floating-search-wrapper,
.desktop-ai-search,
.hero-main-actions,
.hero-secondary-actions,
.hero-ai-card,
.home-weekly-topic,
.home-weekly-badge {
    display: none !important;
}
/* =========================
   COMMUNITY SECTION FIX
========================= */

.home-community-topic {
    max-width: 980px !important;
    margin: 58px auto 72px !important;
    padding: 38px 42px !important;

    grid-template-columns: 1fr !important;
    gap: 0 !important;

    border-radius: 32px !important;
}

.community-topic-left {
    max-width: 700px !important;
}

.home-community-topic h2 {
    max-width: 620px !important;
    margin-bottom: 14px !important;

    font-size: clamp(2.25rem, 3.2vw, 3.4rem) !important;
    line-height: 0.98 !important;
}

.home-community-topic p {
    max-width: 560px !important;
    margin-bottom: 18px !important;
}

.community-topic-weekly {
    margin-bottom: 18px !important;
}

.community-topic-question {
    max-width: 620px !important;
    margin-bottom: 24px !important;
}

.community-topic-btn {
    margin-top: 6px !important;

    width: fit-content !important;
    min-width: 260px !important;
}

/* Bouton sous le contenu au lieu de flotter à droite */
.home-community-topic > .community-topic-btn {
    justify-self: start !important;
}

/* Mobile parfait */
@media screen and (max-width: 768px) {
    .home-community-topic {
        margin: 34px 16px 42px !important;
        padding: 24px 22px !important;
        border-radius: 28px !important;
    }

    .community-topic-icon {
        width: 46px !important;
        height: 46px !important;
        margin-bottom: 14px !important;
    }

    .home-community-topic h2 {
        font-size: 1.85rem !important;
        line-height: 1.02 !important;
        margin-bottom: 12px !important;
    }

    .home-community-topic p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }

    .community-topic-weekly {
        width: 100% !important;
        margin-bottom: 14px !important;
        padding: 11px 13px !important;
        font-size: 0.82rem !important;
    }

    .community-topic-question {
        font-size: 0.96rem !important;
        line-height: 1.35 !important;
        margin-bottom: 18px !important;
    }

    .community-topic-btn {
        width: 100% !important;
        min-width: 100% !important;
        min-height: 54px !important;
    }
}
/* COMMUNITY SECTION - VERSION COMPACTE FINALE */

.home-page .home-community-topic {
    width: calc(100% - 48px) !important;
    max-width: 760px !important;
    margin: 54px auto 64px !important;
    padding: 34px 36px !important;

    display: block !important;

    border-radius: 30px !important;
    background: #ffffff !important;
    border: 1px solid #E6EBEF !important;

    box-shadow: 0 22px 55px rgba(16,33,43,0.08) !important;

    position: relative !important;
    overflow: hidden !important;
}

.home-page .home-community-topic::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 6px !important;
    background: linear-gradient(180deg, #0F2D3A 0%, #FDBB3A 100%) !important;
}

.home-page .community-topic-left {
    max-width: 100% !important;
}

.home-page .community-topic-icon {
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 14px !important;
    border-radius: 16px !important;
}

.home-page .home-community-topic h2 {
    max-width: 520px !important;
    margin: 0 0 14px !important;
    font-size: clamp(2rem, 3vw, 2.7rem) !important;
    line-height: 1 !important;
}

.home-page .home-community-topic p {
    max-width: 520px !important;
    margin: 0 0 18px !important;
    font-size: 0.95rem !important;
}

.home-page .community-topic-weekly {
    margin: 0 0 18px !important;
}

.home-page .community-topic-question {
    max-width: 560px !important;
    margin: 0 0 22px !important;
}

.home-page .community-topic-btn {
    width: auto !important;
    min-width: 250px !important;
    min-height: 58px !important;
    margin-top: 0 !important;
}

@media screen and (max-width: 768px) {
    .home-page .home-community-topic {
        width: auto !important;
        max-width: none !important;
        margin: 34px 16px 44px !important;
        padding: 24px 22px !important;
    }

    .home-page .home-community-topic h2 {
        font-size: 1.9rem !important;
    }

    .home-page .community-topic-btn {
        width: 100% !important;
        min-width: 100% !important;
    }
}
/* SUJET ACTUEL */

.community-topic-current {
    margin: 18px 0 24px;
    padding: 20px 22px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(15,45,58,0.06) 0%,
            rgba(244,166,35,0.10) 100%
        );

    border: 1px solid rgba(15,45,58,0.08);
}

.community-topic-current-label {
    display: inline-flex;
    margin-bottom: 10px;

    color: #B7791F;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.community-topic-current h3 {
    margin: 0;

    color: #10212B;

    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.2;
    font-weight: 900;
}

@media screen and (max-width: 768px) {

    .community-topic-current {
        padding: 16px 16px;
        border-radius: 18px;
    }

    .community-topic-current h3 {
        font-size: 1.12rem;
        line-height: 1.3;
    }
}
/* Hero */
.home-page .hero-section { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.home-page .hero-image { position: relative; border-radius: 16px; overflow: hidden; }
.home-page .hero-image img { width: 100%; display: block; }
.home-page .hero-overlay { position: absolute; bottom: 20px; left: 20px; color: #fff; }
.home-page .hero-overlay .hero-tag { background: rgba(255,190,0,0.9); padding: 4px 12px; border-radius: 12px; font-size: 0.85rem; margin-bottom: 8px; display: inline-block; }
.home-page .hero-overlay h1 { font-size: 2rem; margin:0; }
.home-page .hero-overlay p { font-size: 1rem; margin-top: 4px; }



.home-page .search-bar input { flex:1; padding:12px 16px; border-radius:8px; border:1px solid #ddd; }
.home-page .btn-search { padding:12px 20px; background:#023047; color:#fff; border-radius:8px; }

.home-page .hero-features { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:16px; }
.home-page .hero-features .feature { flex:1 1 45%; display:flex; gap:8px; align-items:flex-start; }
.home-page .hero-features .feature span { font-size:1.5rem; }

/* Menu responsive */
.tmc-desktop-nav { display:flex; gap:16px; }
.tmc-mobile-menu-btn { display:none; background:none; border:none; font-size:1.5rem; }

@media(max-width:1024px){
    .home-page .hero-overlay h1 { font-size:1.6rem; }
    .home-page .hero-overlay p { font-size:0.9rem; }
    .home-page .hero-features .feature { flex:1 1 48%; }
}

@media(max-width:768px){
    .home-page .hero-overlay h1 { font-size:1.3rem; }
    .home-page .hero-overlay p { font-size:0.8rem; }
    
    .home-page .search-bar input { font-size:0.9rem; }
    .home-page .btn-search { font-size:0.9rem; }
    .home-page .hero-features .feature { flex:1 1 100%; }
}
/* Section recommandée */
.home-page .recommended-section {
    padding: 40px 16px;
}

.home-page .section-header {
    text-align: center;
    margin-bottom: 32px;
}

.home-page .campings-grid {
    /* Grille cartes : cards-list.css */
}

.home-page .camping-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background-color: #fff;
    transition: transform 0.2s;
}

.home-page .camping-card:hover {
    transform: translateY(-4px);
}

.home-page .camping-card-image-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.home-page .camping-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-page .camping-card-body {
    padding: 12px 16px;
}

.home-page .camping-smart-tags span {
    display: inline-block;
    background: #ffbc00;
    color: #111;
    border-radius: 8px;
    font-size: 0.75rem;
    padding: 2px 6px;
    margin-right: 4px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .home-page .campings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-page .section-header h2 {
        font-size: 1.5rem;
    }
    .home-page .section-header p {
        font-size: 0.9rem;
    }
}
/* Hero / recherche - tablette et mobile */
.home-page .hero-search {
    max-width: 900px; /* augmenter la largeur maximale */
    margin: -40px auto 0 auto; /* garde le module centré */
    padding: 24px 24px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.home-page .hero-search label {
    font-weight: 600;
    font-size: 0.95rem;
}

.home-page .search-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.home-page .search-bar input {
    flex: 1 1 70%; /* prend plus de place */
    min-width: 180px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.home-page .search-bar .btn-search {
    flex: 1 1 28%; /* bouton proportionnel à l’input */
    min-width: 120px;
    padding: 12px 16px;
    background-color: #023047;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

/* Texte explicatif sous le label */
.home-page .hero-search p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

/* Buttons sous la recherche */
.home-page .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.home-page .hero-buttons .btn {
    flex: 1 1 48%;
    min-width: 140px;
    text-align: center;
}

/* Media queries pour tablette */
@media (max-width: 1024px) {
    .home-page .hero-search {
        padding: 20px;
    }
    .home-page .search-bar input {
        flex: 1 1 100%;
    }
    .home-page .search-bar .btn-search {
        flex: 1 1 100%;
    }
    .home-page .hero-buttons .btn {
        flex: 1 1 48%;
    }
}

/* Media queries pour mobile */
@media (max-width: 768px) {
    .home-page .hero-search {
        padding: 16px;
        gap: 12px;
    }
    .home-page .hero-search label {
        font-size: 0.9rem;
    }
    .home-page .search-bar input,
    .home-page .search-bar .btn-search {
        flex: 1 1 100%;
    }
    .home-page .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .home-page .hero-buttons .btn {
        flex: 1 1 100%;
    }
}
/* Hero / recherche - largeur limitée et centrée */
.home-page .hero-search {
    max-width: 900px; /* augmenter la largeur maximale */
    margin: -40px auto 0 auto; /* garde le module centré */
    padding: 24px 24px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Barre de recherche */
.home-page .search-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

/* Input et bouton */
.home-page .search-bar input {
    flex: 1 1 70%; /* prend plus de place */
    min-width: 180px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.home-page .search-bar .btn-search {
    flex: 1 1 28%; /* bouton proportionnel à l’input */
    min-width: 120px;
    padding: 12px 16px;
    background-color: #023047;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
}

/* Boutons secondaires */
.home-page .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.home-page .hero-buttons .btn {
    flex: 1 1 48%;
    min-width: 140px;
    text-align: center;
}

/* Media queries pour tablette et mobile */
@media (max-width: 1024px) {
    .home-page .hero-search {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .home-page .hero-search {
        margin-top: -30px;
        padding: 16px;
    }
    .home-page .search-bar input,
    .home-page .search-bar .btn-search {
        flex: 1 1 100%;
    }
    .home-page .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .home-page .hero-buttons .btn {
        flex: 1 1 100%;
    }
}
/* =========================
   CORRECTIONS RESPONSIVE TABLETTE 601px-900px
========================= */
@media (min-width: 601px) and (max-width: 900px) {

    /* Hero / Recherche */
    .hero-home-airbnb {
        padding: 40px 30px;
    }
    .hero-home-airbnb h1 {
        font-size: 2.2rem;
    }
    .hero-home-airbnb .hero-text {
        font-size: 1rem;
        max-width: 600px;
        margin: 0 auto 20px;
    }
    .campings-ai-search-wrap {
        flex-direction: row;
        padding: 10px 16px;
        gap: 8px;
    }
    .campings-ai-search-wrap input {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
    .campings-ai-search-wrap button {
        min-width: 120px;
        padding: 12px 16px;
    }

    /* Grilles Campings — colonnes : cards-list.css */
    .home-campings-grid,
    .campings-grid {
        gap: inherit;
    }
    .home-camping-card img,
    .camping-card-image {
        height: 140px;
    }
    .home-camping-card-body,
    .camping-card-body {
        padding: 12px 8px;
    }
    .home-camping-card-title,
    .camping-card-body h3 {
        font-size: 0.95rem;
    }
    .home-camping-card-location,
    .camping-card-body p {
        font-size: 0.8rem;
    }

    /* Boutons / CTA */
    .btn-primary,
    .btn-secondary,
    .btn--primary,
    .btn--ghost,
    .camping-action-btn,
    .favorite-btn {
        min-height: 46px;
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    /* Sections / Cards spéciales */
    .home-feature-grid,
    .trip-grid,
    .similar-campings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .trip-card-image,
    .similar-camping-card img {
        height: 180px;
    }

    /* Formulaires / Host Flow */
    .host-step-inner {
        padding: 20px 16px;
    }
    .host-field-block {
        width: 48%;
        margin-bottom: 14px;
    }
    .host-field-block.full {
        width: 100%;
    }
    .photo-preview {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Bottom bar / Footer */
    .host-bottom-bar {
        grid-template-columns: 90px 1fr 130px;
        padding: 12px 20px;
        gap: 12px;
    }
}
/* ===== HERO / BLOC RECHERCHE TABLETTE ===== */
@media (min-width: 601px) and (max-width: 900px) {

    /* Conteneur Hero */
    .hero-home-airbnb {
        padding: 40px 24px; /* réduire padding horizontal pour tablette */
        border-radius: 24px;
    }

    /* Texte */
    .hero-home-airbnb h1 {
        font-size: 2.2rem; /* adapté tablette */
        line-height: 1.1;
    }
    .hero-home-airbnb .hero-text {
        font-size: 1rem;
        max-width: 600px;
        margin: 0 auto 20px;
        text-align: center;
    }

    /* Formulaire */
    .hero-search-box {
        flex-direction: row; /* input + bouton alignés horizontalement */
        gap: 10px;
        padding: 10px 12px;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-search-input {
        flex: 1;
        font-size: 0.95rem;
        padding: 14px 16px;
    }

    .hero-search-button {
        min-width: 120px;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    /* Bloc texte à gauche */
    .hero-search-form .hero-label-text {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
}
/* ===== HOME AI MODULE TABLETTE 601px-900px ===== */
@media (min-width: 601px) and (max-width: 900px) {

    .home-ai-module {
        flex-direction: column;
        padding: 20px 24px;
        max-width: 100%;
    }

    .home-ai-module-text {
        text-align: center;
        margin-bottom: 16px;
    }

    .home-ai-module-text h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .home-ai-module-text p {
        font-size: 1rem;
    }

    .home-ai-module-action input {
        flex: 1;
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .home-ai-module-action button {
        min-width: 120px;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}
@media (min-width: 601px) and (max-width: 900px) {

    .home-ai-module-action input {
        flex: 1 !important;
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
    }

    .home-ai-module-action button {
        min-width: 120px !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }

    .home-ai-module-text {
        text-align: center !important;
        margin-bottom: 16px !important;
    }

    .home-ai-module-text h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .home-ai-module-text p {
        font-size: 1rem !important;
    }
}
@media (min-width: 601px) and (max-width: 900px) {


    .home-ai-module-action input {
        flex: 1 !important;
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
    }

    .home-ai-module-action button {
        min-width: 120px !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }

    .home-ai-module-text {
        text-align: center !important;
        margin-bottom: 16px !important;
    }

    .home-ai-module-text h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .home-ai-module-text p {
        font-size: 1rem !important;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Conteneur module AI */
    .home-ai-module {
        margin: -40px auto 40px !important;
        padding: 0 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Texte centré */
    .home-ai-module-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .home-ai-module-text h2 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .home-ai-module-text p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Formulaire (input + bouton) */


    .home-ai-module-action input {
        width: 100%;
        padding: 14px 22px;
        font-size: 0.95rem;
        min-height: 60px;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .home-ai-module-action button {
        width: 100%;
        padding: 14px 22px;
        font-size: 0.95rem;
        min-height: 60px;
        border-radius: 20px;
    }
}
.home-ai-module-action input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 60px !important;
}
/* =========================
   CORRECTIONS CSS HERO / AI MODULE TABLETTE + MOBILE
========================= */

/* Tablet 601px - 1024px */
@media screen and (min-width: 601px) and (max-width: 1024px) {

    .home-ai-module {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 24px;
        max-width: 100%;
        margin: -40px auto 40px !important;
    }

    .home-ai-module-text {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .home-ai-module-text h2 {
        font-size: 1.9rem !important;
        line-height: 1.2 !important;
    }

    .home-ai-module-text p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-width: 480px;
        margin: 0 auto;
    }
    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100% !important;
        border-radius: 20px !important;
        padding: 14px 22px !important;
        font-size: 0.95rem !important;
        min-height: 60px !important;
        box-sizing: border-box;
        display: block !important;
    }
}

/* Mobile <= 768px */
@media screen and (max-width: 768px) {
    .home-ai-module {
        margin: 16px auto 24px !important;
        padding: 16px !important;
        background: #fff !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
    }

    .home-ai-module-text h2 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    .home-ai-module-text p {
        font-size: 0.95rem !important;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100% !important;
        min-height: 54px !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        border-radius: 16px !important;
    }
}
/* =========================
   HERO / RECHERCHE UNIFIÉ MOBILE + TABLETTE
========================= */
@media screen and (max-width: 1024px) {
    .home-page .hero-search {
        max-width: 90%;          /* largeur similaire à mobile */
        margin: -30px auto 0 auto; /* centré horizontalement */
        padding: 16px 20px;
        border-radius: 16px;
        background-color: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .home-page .hero-search label {
        font-size: 0.9rem;
    }

    .home-page .search-bar {
        display: flex;
        flex-direction: column; /* input et bouton empilés */
        gap: 12px;
        width: 100%;
    }

    .home-page .search-bar input,
    .home-page .search-bar .btn-search {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: 16px;
    }

    .home-page .hero-buttons {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
    }

    .home-page .hero-buttons .btn {
        flex: 1 1 100%;
        min-width: 140px;
        text-align: center;
    }
}
/* =========================
   HERO / RECHERCHE LARGE UNIFIÉ
========================= */

/* Appliqué pour toutes les tailles jusqu'à 1024px */
@media screen and (max-width: 1024px) {
    .home-page .hero-search {
        max-width: 90%; /* plus large que mobile mais centré */
        margin: -30px auto 0 auto; /* centré horizontalement */
        padding: 16px 20px;
        border-radius: 16px;
        background-color: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column; /* input et bouton empilés */
        gap: 12px;
    }

    .home-page .hero-search label {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .home-page .search-bar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .home-page .search-bar input,
    .home-page .search-bar .btn-search {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .home-page .hero-buttons {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        width: 100%;
    }

    .home-page .hero-buttons .btn {
        flex: 1 1 100%;
        min-width: 140px;
        text-align: center;
    }
}
/* =========================
   HERO / AI MODULE TABLETTE 769px-1024px
========================= */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Conteneur du module */
    .home-ai-module {
        max-width: 90%;           /* module large comme sur mobile */
        margin: -30px auto 40px;  /* centré horizontalement */
        padding: 16px 20px;
        border-radius: 16px;
        background-color: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;   /* empile input et bouton */
        gap: 12px;
    }

    /* Texte explicatif */
    .home-ai-module-text {
        text-align: center;
        margin-bottom: 16px;
    }

    .home-ai-module-text h2 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .home-ai-module-text p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Formulaire (input + bouton) */

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100%;
        min-height: 60px;
        padding: 14px 22px;
        border-radius: 20px;
        font-size: 0.95rem;
        box-sizing: border-box;
        display: block;
    }
}
/* =========================
   HERO / AI MODULE - SUPPRESSION SUPERPOSITION
========================= */

/* S'assurer qu'un seul module est visible et centré */
.home-ai-module {
    max-width: 90%;       /* largeur limitée */
    margin: 40px auto;    /* centrage et espacement */
    padding: 16px 24px;   /* padding interne */
    border-radius: 16px;  /* coins arrondis */
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

/* Formulaire du module */
.home-ai-module-form {
    position: relative; /* enlever absolute */
    margin: 0 auto;
    display: flex;      /* empile input + bouton si besoin */
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    z-index: 11; /* s'assurer que le formulaire est au-dessus du container */
}

/* Supprimer tout doublon d'affichage */

@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Conteneur du module */
    .home-ai-module {
        margin: 40px auto !important;  /* positif pour éviter superposition */
        padding: 16px 24px;
        max-width: 90%;                 /* plus large mais centré */
        border-radius: 16px;
        background-color: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        position: relative;             /* éviter absolute */
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 10;
    }

    /* Texte */
    .home-ai-module-text {
        text-align: center;
        margin-bottom: 16px;
    }

    .home-ai-module-text h2 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .home-ai-module-text p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Formulaire (input + bouton) */

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100%;
        min-height: 60px;
        padding: 14px 22px;
        border-radius: 20px;
        font-size: 0.95rem;
        box-sizing: border-box;
        display: block;
    }
}
/* =========================
   HERO / AI MODULE DESKTOP & TABLETTE
========================= */

.home-ai-module {
    max-width: 90%;       /* largeur limitée */
    margin: 40px auto;    /* centrage et espacement */
    padding: 16px 24px;   /* padding interne */
    border-radius: 16px;  /* coins arrondis */
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.home-ai-module-form {
    display: flex;                  /* flex pour desktop */
    flex-direction: row;            /* input + bouton sur la même ligne */
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.home-ai-module-action {
    display: flex;
    flex: 1;                        /* prend toute la largeur restante */
    gap: 12px;
}

.home-ai-module-action input {
    flex: 1;                        /* prend le maximum d’espace */
    min-width: 0;
    height: 62px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.home-ai-module-action button {
    height: 62px;
    min-width: 140px;               /* largeur minimale du bouton */
    padding: 0 30px;
    border-radius: 999px;
    font-size: 0.95rem;
}
.home-ai-module-action {
    display: flex;               /* flex pour aligner les éléments */
    flex-direction: row;         /* desktop: input + bouton côte à côte */
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 500px;            /* module limité à 500px */
    margin: 0 auto;              /* centré */
    min-width: 0;                /* éviter overflow */
}

@media screen and (max-width: 1024px) {
    .home-ai-module-action {
        flex-direction: column;  /* tablette et mobile: empiler input + bouton */
        width: 100%;
        gap: 12px;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100%;
        min-height: 60px;
        padding: 14px 22px;
        border-radius: 20px;
        box-sizing: border-box;
        display: block;
    }
}
/* =========================
   HERO / AI MODULE MOBILE FIX
========================= */
@media screen and (max-width: 768px) {
    /* Décaler le module vers le bas */
    .home-ai-module {
        margin-top: 100px !important; /* laisse de la place pour le header */
        margin-bottom: 16px;
        max-width: 95%;
        padding: 16px;
        position: relative;
        z-index: 1; /* inférieur au header pour que les icônes restent cliquables */
    }

    /* Formulaire et éléments empilés */
    .home-ai-module-form {
        flex-direction: column;
        gap: 12px;
    }

    .home-ai-module-action {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100%;
        min-height: 54px;
        padding: 12px 16px;
        border-radius: 16px;
        display: block;
    }
}
.home-ai-module + .home-ai-module {
    display: none !important;
}

/* =========================
   HERO SEARCH OVERLAP FINAL
========================= */
.home-mobile-first-hero {
    margin-bottom: 54px !important;
}

.home-ai-module {
    width: min(100% - 48px, 1180px) !important;
    max-width: 1180px !important;
    margin: -72px auto 28px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 20 !important;
}

.home-ai-module-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px) !important;
    align-items: center !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px 34px !important;
    border-radius: 34px !important;
    background: #ffffff !important;
    border: 1px solid var(--tmc-border) !important;
    box-shadow:
        0 28px 70px rgba(15, 45, 58, 0.16),
        0 8px 24px rgba(244, 166, 35, 0.08) !important;
}

.home-ai-module-action {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    gap: 12px !important;
}

.home-ai-module-action input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 62px !important;
    min-height: 62px !important;
    border-radius: 999px !important;
}

.home-ai-module-action button {
    flex: 0 0 auto !important;
    height: 62px !important;
    min-height: 62px !important;
    min-width: 230px !important;
    border-radius: 999px !important;
}

@media screen and (max-width: 1024px) {
    .home-mobile-first-hero {
        margin-bottom: 42px !important;
    }

    .home-ai-module {
        width: min(100% - 32px, 860px) !important;
        margin: -54px auto 24px !important;
    }

    .home-ai-module-form {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 24px !important;
        border-radius: 28px !important;
    }

    .home-ai-module-text {
        text-align: left !important;
        margin-bottom: 0 !important;
    }

    .home-ai-module-action {
        flex-direction: row !important;
    }

    .home-ai-module-action button {
        min-width: 190px !important;
    }
}

@media screen and (max-width: 768px) {
    .home-mobile-first-hero {
        margin-bottom: 0 !important;
    }

    .home-ai-module {
        width: calc(100% - 24px) !important;
        margin: 14px auto 18px !important;
    }

    .home-ai-module-form {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .home-ai-module-action {
        flex-direction: column !important;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100% !important;
        min-width: 0 !important;
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 16px !important;
    }
}

/* =========================
   HERO SEARCH RESPONSIVE FINAL
========================= */
.home-mobile-first-hero {
    position: relative !important;
    width: min(100% - 32px, 1450px) !important;
    margin: 40px auto 64px !important;
    padding: 0 !important;
}

.home-mobile-first-hero .home-hero-image-card {
    display: flex !important;
    min-height: clamp(380px, 44vw, 560px) !important;
    border-radius: clamp(22px, 3vw, 38px) !important;
}

.home-mobile-first-hero .home-hero-content {
    display: block !important;
    padding: clamp(42px, 6vw, 70px) clamp(24px, 5vw, 58px) clamp(96px, 12vw, 132px) !important;
}

.home-mobile-first-hero .home-hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 6rem) !important;
}

.home-ai-module {
    width: min(calc(100% - 96px), 900px) !important;
    margin: clamp(-72px, -5vw, -42px) auto 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 20 !important;
}

.home-ai-module-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    padding: 24px 30px !important;
    border-radius: 28px !important;
    background: #ffffff !important;
    border: 1px solid var(--tmc-border) !important;
    box-shadow: 0 28px 70px rgba(15, 45, 58, 0.16), 0 8px 24px rgba(244, 166, 35, 0.08) !important;
    box-sizing: border-box !important;
}

.home-ai-module-action {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
}

.home-ai-module-action input,
.home-ai-module-action button {
    width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
}

.home-ai-module-action button {
    min-width: 220px !important;
    padding-inline: 24px !important;
}

.home-quick-links {
    margin-top: 26px !important;
}

@media screen and (min-width: 901px) and (max-width: 1180px) {
    .home-mobile-first-hero {
        width: min(100% - 28px, 1100px) !important;
        margin-top: 28px !important;
    }

    .home-ai-module {
        width: min(calc(100% - 64px), 760px) !important;
        margin-top: -48px !important;
    }

    .home-ai-module-form {
        grid-template-columns: 1fr !important;
    }

    .home-ai-module-text {
        text-align: left !important;
        margin: 0 !important;
    }
}

@media screen and (min-width: 701px) and (max-width: 900px) {
    .home-mobile-first-hero {
        width: min(100% - 24px, 820px) !important;
        margin: 22px auto 46px !important;
    }

    .home-mobile-first-hero .home-hero-image-card {
        min-height: 420px !important;
        border-radius: 28px !important;
    }

    .home-mobile-first-hero .home-hero-content {
        padding: 40px 32px 118px !important;
    }

    .home-mobile-first-hero .home-hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }

    .home-ai-module {
        width: min(calc(100% - 48px), 680px) !important;
        margin: -48px auto 24px !important;
    }

    .home-ai-module-form {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }

    .home-ai-module-text {
        text-align: left !important;
        margin: 0 !important;
    }

    .home-ai-module-action {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        width: 100% !important;
        min-width: 0 !important;
        height: 58px !important;
        min-height: 58px !important;
        border-radius: 18px !important;
    }

    .home-ai-module-action button {
        justify-self: stretch !important;
    }
}

@media screen and (max-width: 700px) {
    .home-mobile-first-hero {
        width: 100% !important;
        margin: 0 auto 22px !important;
    }

    .home-mobile-first-hero .home-hero-image-card,
    .home-mobile-first-hero .home-hero-content {
        display: none !important;
    }

    .home-ai-module {
        width: calc(100% - 24px) !important;
        margin: 12px auto 18px !important;
    }

    .home-ai-module-form {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .home-ai-module-text {
        text-align: left !important;
        margin: 0 !important;
    }

    .home-ai-module-text h2 {
        font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
    }

    .home-ai-module-action {
        grid-template-columns: 1fr !important;
    }

    .home-ai-module-action input,
    .home-ai-module-action button {
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 16px !important;
    }

    .home-ai-module-action button {
        min-width: 0 !important;
    }
}

@media screen and (max-width: 380px) {
    .home-ai-module {
        width: calc(100% - 16px) !important;
    }

    .home-ai-module-form {
        padding: 14px !important;
    }
}

/* =========================
   AIRBNB-LIKE TYPE POLISH FINAL
========================= */
.home-page,
.home-page input,
.home-page button,
.home-page textarea,
.home-page select,
.tmc-header,
.mobile-bottom-nav {
    font-family: var(--tmc-font-main) !important;
}

.home-page h1,
.home-page h2,
.home-page h3,
.section-header h2,
.camping-card-body h3 {
    font-weight: 850 !important;
    letter-spacing: -0.025em !important;
}

.home-hero-content h1 {
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
}

.home-page p,
.camping-location,
.camping-meta,
.home-ai-module-text p {
    font-weight: 650 !important;
}

.hero-badge,
.home-ai-module-text span,
.section-kicker,
.roadtrip-tag,
.host-cta-tag,
.camping-smart-tags span {
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
}

.home-ai-module-action input {
    font-weight: 650 !important;
}

.home-ai-module-action button,
.home-quick-links a,
.roadtrip-btn,
.host-cta-btn {
    font-weight: 800 !important;
}

.camping-card-body h3 {
    line-height: 1.18 !important;
}

/* =========================
   AIRBNB-LIKE HOME CARDS FINAL
========================= */
.home-page .recommended-section,
.home-page .home-featured {
    width: min(100% - 48px, 1320px) !important;
    margin-inline: auto !important;
}

.home-page .recommended-section .campings-grid,
.home-page .recommended-section .home-campings-grid,
.home-page .home-featured .campings-grid,
.home-page .home-featured .home-campings-grid {
    /* Grille : voir assets/css/cards-list.css */
}

.home-page .recommended-section .camping-card,
.home-page .recommended-section .home-camping-card,
.home-page .home-featured .camping-card,
.home-page .home-featured .home-camping-card {
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.home-page .recommended-section .camping-card-link,
.home-page .home-featured .camping-card-link {
    display: block !important;
}

.home-page .recommended-section .camping-card-image-wrap,
.home-page .home-featured .camping-card-image-wrap {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 10px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #e9eef2 !important;
}

.home-page .recommended-section .camping-card-image,
.home-page .recommended-section .camping-card-image-wrap img,
.home-page .home-featured .camping-card-image,
.home-page .home-featured .camping-card-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .25s ease !important;
}

.home-page .recommended-section .camping-card-link:hover .camping-card-image,
.home-page .home-featured .camping-card-link:hover .camping-card-image {
    transform: scale(1.03) !important;
}

.home-card-favorite {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2 !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b7280 !important;
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid rgba(15,23,42,0.08) !important;
    border-radius: 999px !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.08) !important;
    outline: 0 !important;
    cursor: pointer !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

.home-card-favorite.is-favorite {
    color: #f59e0b !important;
    background: rgba(245,158,11,0.16) !important;
    border-color: rgba(245,158,11,0.25) !important;
}

.home-card-favorite:hover,
.home-card-favorite:focus,
.home-card-favorite:focus-visible {
    color: #f59e0b !important;
    background: rgba(245,158,11,0.12) !important;
    border-color: rgba(245,158,11,0.25) !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.08) !important;
    outline: 0 !important;
}

.home-page .recommended-section .camping-card-body,
.home-page .home-featured .camping-card-body {
    padding: 0 !important;
    background: transparent !important;
}

.home-page .recommended-section .camping-card-body h3,
.home-page .home-featured .camping-card-body h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.36em !important;
    margin: 0 0 3px !important;
    color: #10212B !important;
    font-size: .98rem !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
}

.home-page .recommended-section .camping-location,
.home-page .home-featured .camping-location {
    margin: 0 0 2px !important;
    color: #5F6B73 !important;
    font-size: .88rem !important;
    line-height: 1.25 !important;
}

.home-page .recommended-section .camping-meta,
.home-page .home-featured .camping-meta {
    margin: 0 0 3px !important;
    color: #5F6B73 !important;
    font-size: .84rem !important;
    line-height: 1.25 !important;
}

.home-page .recommended-section .camping-smart-tags,
.home-page .home-featured .camping-smart-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 6px 0 5px !important;
}
.home-page .recommended-section .camping-smart-tags span,
.home-page .home-featured .camping-smart-tags span {
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.home-page .recommended-section .camping-price,
.home-page .home-featured .camping-price {
    margin: 0 !important;
    color: #10212B !important;
    font-size: .86rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

@media screen and (min-width: 1181px) {
    /* Grille cartes : cards-list.css */
}

@media screen and (max-width: 980px) {
    .home-page .recommended-section,
    .home-page .home-featured {
        width: min(100% - 32px, 900px) !important;
    }

    /* Grille cartes : cards-list.css */

    .home-card-favorite {
        top: 8px !important;
        right: 8px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 18px !important;
    }

    .home-page .recommended-section .camping-card-body h3,
    .home-page .home-featured .camping-card-body h3 {
        font-size: .84rem !important;
    }

    .home-page .recommended-section .camping-location,
    .home-page .recommended-section .camping-meta,
    .home-page .recommended-section .camping-price,
    .home-page .home-featured .camping-location,
    .home-page .home-featured .camping-meta,
    .home-page .home-featured .camping-price {
        font-size: .74rem !important;
    }
}

/* HOME HERO V2 - visual polish (scoped, highest priority) */

.home-page .home-mobile-first-hero {
    margin: 32px auto 56px !important;
}

.home-page .home-mobile-first-hero .home-hero-image-card {
    display: flex !important;
    min-height: 420px !important;
    max-height: none !important;
    border-radius: 32px !important;
    background:
        linear-gradient(
            180deg,
            rgba(15, 45, 58, 0.28) 0%,
            rgba(15, 45, 58, 0.46) 50%,
            rgba(15, 45, 58, 0.58) 100%
        ),
        url('/assets/images/home/hero-nature.jpg') center center / cover no-repeat !important;
    align-items: flex-end !important;
}

.home-page .home-mobile-first-hero .home-hero-content {
    display: block !important;
    padding: 56px 48px 88px !important;
}

.home-page .home-mobile-first-hero .home-hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28) !important;
}

.home-page .home-mobile-first-hero .home-hero-content p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
}

.home-page .home-mobile-first-hero .home-ai-module {
    margin: -48px auto 24px !important;
}

.home-page .home-mobile-first-hero .home-ai-module-form {
    padding: 26px 30px !important;
    border-radius: 28px !important;
    box-shadow:
        0 14px 40px rgba(15, 45, 58, 0.10),
        0 4px 14px rgba(15, 45, 58, 0.05) !important;
}

.home-page .home-mobile-first-hero .home-ai-module-action button {
    box-shadow: 0 10px 24px rgba(15, 45, 58, 0.12) !important;
}

@media screen and (max-width: 1024px) {
    .home-page .home-mobile-first-hero .home-hero-image-card {
        min-height: 360px !important;
    }

    .home-page .home-mobile-first-hero .home-hero-content {
        padding: 44px 32px 72px !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module {
        margin: -40px auto 22px !important;
    }
}

@media screen and (max-width: 768px) {
    .home-page .home-mobile-first-hero {
        margin: 0 auto 12px !important;
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .home-page .home-mobile-first-hero .home-hero-image-card,
    .home-page .home-mobile-first-hero .home-hero-content {
        display: flex !important;
    }

    .home-page .home-mobile-first-hero .home-hero-content {
        display: block !important;
        width: 100% !important;
        padding: 14px 16px 16px !important;
    }

    .home-page .home-mobile-first-hero .home-hero-image-card {
        min-height: 180px !important;
        height: 180px !important;
        max-height: 180px !important;
        border-radius: 20px !important;
        background:
            linear-gradient(
                180deg,
                rgba(15, 45, 58, 0.18) 0%,
                rgba(15, 45, 58, 0.48) 100%
            ),
            url('/assets/images/home/hero-nature.jpg') center center / cover no-repeat !important;
    }

    .home-page .home-mobile-first-hero .home-hero-content .hero-badge {
        display: none !important;
    }

    .home-page .home-mobile-first-hero .home-hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.25rem) !important;
        line-height: 0.98 !important;
        margin-bottom: 6px !important;
    }

    .home-page .home-mobile-first-hero .home-hero-content p {
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module {
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 12px !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 20px 18px !important;
        border-radius: 20px !important;
        box-shadow: 0 8px 22px rgba(15, 45, 58, 0.07) !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-text h2 {
        font-size: clamp(1.45rem, 6vw, 1.8rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 6px !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-text p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 14px !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-action {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-action input,
    .home-page .home-mobile-first-hero .home-ai-module-action button {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        min-height: 52px !important;
        border-radius: 14px !important;
        font-size: 0.9rem !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-action input {
        margin-bottom: 0 !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-action button {
        min-width: 0 !important;
    }

    .home-page .home-mobile-first-hero .home-quick-links {
        margin: 16px 0 0 !important;
        padding-bottom: 90px !important;
        width: 100% !important;
    }

    .home-page .home-mobile-first-hero .home-quick-links a {
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 0 12px !important;
        font-size: 0.86rem !important;
    }
}

@media screen and (max-width: 700px) {
    .home-page .home-mobile-first-hero .home-hero-image-card,
    .home-page .home-mobile-first-hero .home-hero-content {
        display: flex !important;
    }

    .home-page .home-mobile-first-hero .home-hero-content {
        display: block !important;
    }
}

@media screen and (max-width: 480px) {
    .home-page .home-mobile-first-hero {
        padding: 0 12px !important;
    }

    .home-page .home-mobile-first-hero .home-hero-image-card {
        min-height: 170px !important;
        height: 170px !important;
        max-height: 170px !important;
    }

    .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 18px 16px !important;
    }
}

/* HOME HERO V2 MOBILE COMPACT - final override */

@media screen and (max-width: 768px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        display: flex !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        margin-bottom: 14px !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-content {
        display: block !important;
        padding: 12px 14px 14px !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-content .hero-badge {
        display: none !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-content h1 {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 0.95 !important;
        margin-bottom: 6px !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-content p {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 16px 16px !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 28px rgba(15, 45, 58, 0.10) !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text h2 {
        font-size: clamp(1.35rem, 6vw, 1.65rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 8px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text p {
        font-size: 0.84rem !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action {
        flex-direction: column !important;
        gap: 10px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action input,
    body .home-page .home-mobile-first-hero .home-ai-module-action button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        height: 48px !important;
        font-size: 0.86rem !important;
        border-radius: 14px !important;
        margin-bottom: 0 !important;
    }

    body .home-page .home-mobile-first-hero .home-quick-links {
        margin-top: 12px !important;
        padding-bottom: 96px !important;
    }

    body .home-page .home-mobile-first-hero .home-quick-links a {
        min-height: 44px !important;
        font-size: 0.84rem !important;
    }
}

@media screen and (max-width: 480px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        height: 145px !important;
        min-height: 145px !important;
        max-height: 145px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 15px 14px !important;
    }
}

/* HOME HERO V3 MOBILE SIMPLIFIED - image bg + carte IA focus */

@media screen and (max-width: 768px) {
    body .home-page .home-mobile-first-hero {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 auto 16px !important;
        padding: 22px 16px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        background:
            linear-gradient(
                180deg,
                rgba(15, 45, 58, 0.45) 0%,
                rgba(15, 45, 58, 0.58) 100%
            ),
            url('/assets/images/home/hero-nature.jpg') center center / cover no-repeat !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-image-card,
    body .home-page .home-mobile-first-hero .home-hero-content {
        display: none !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form {
        background: rgba(255, 255, 255, 0.97) !important;
        padding: 18px 16px !important;
        border-radius: 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.55) !important;
        box-shadow: 0 12px 32px rgba(15, 45, 58, 0.14) !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text h2 {
        font-size: clamp(1.35rem, 6vw, 1.65rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 6px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text p {
        font-size: 0.84rem !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action {
        flex-direction: column !important;
        gap: 10px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action input,
    body .home-page .home-mobile-first-hero .home-ai-module-action button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        height: 48px !important;
        font-size: 0.86rem !important;
        border-radius: 14px !important;
    }

    body .home-page .home-mobile-first-hero .home-quick-links {
        position: relative !important;
        z-index: 2 !important;
        margin: 0 !important;
        padding-bottom: 96px !important;
        width: 100% !important;
    }

    body .home-page .home-mobile-first-hero .home-quick-links a {
        min-height: 44px !important;
        font-size: 0.84rem !important;
    }
}

@media screen and (max-width: 480px) {
    body .home-page .home-mobile-first-hero {
        padding: 18px 12px 0 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 16px 14px !important;
    }
}


/* HOME HERO V5 MOBILE GLASS - final */

@media screen and (max-width: 768px) {
    body .home-page .home-mobile-first-hero {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 12px 16px 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        border-radius: 0 !important;
        background: none !important;
        isolation: auto !important;
    }

    body .home-page .home-mobile-first-hero::before,
    body .home-page .home-mobile-first-hero::after {
        content: none !important;
        display: none !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-image-card {
        position: relative !important;
        display: block !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        background: url('/assets/images/home/hero-nature.jpg') center center / cover no-repeat !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-image-card::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(
            180deg,
            rgba(8, 31, 39, 0.10) 0%,
            rgba(8, 31, 39, 0.34) 100%
        ) !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-content {
        display: none !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module {
        position: relative !important;
        z-index: 5 !important;
        width: auto !important;
        max-width: none !important;
        margin: -36px 14px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 14px 14px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.58) !important;
        box-shadow: 0 12px 28px rgba(7, 32, 42, 0.12) !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text span {
        font-size: 0.58rem !important;
        padding: 3px 8px !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.05em !important;
        opacity: 0.88 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.5rem) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: -0.03em !important;
        margin: 0 0 10px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-text p {
        display: none !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action input {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        min-width: 0 !important;
        border-radius: 14px !important;
        font-size: 0.84rem !important;
        font-weight: 500 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action input::placeholder {
        font-weight: 500 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-action button {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        min-width: 0 !important;
        border-radius: 14px !important;
        font-size: 0.9rem !important;
        font-weight: 650 !important;
        box-shadow: 0 4px 12px rgba(15, 45, 58, 0.10) !important;
    }

    body .home-page .home-mobile-first-hero .home-quick-links {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module {
        margin: -32px 12px 0 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form {
        padding: 12px 12px !important;
        background: rgba(255, 255, 255, 0.88) !important;
    }
}

@media screen and (max-width: 768px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        height: 175px !important;
        min-height: 175px !important;
        max-height: 175px !important;
        background-position: center 58% !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-image-card img {
        object-position: center 58% !important;
    }
}

@media screen and (max-width: 480px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
        background-position: center 58% !important;
    }

    body .home-page .home-mobile-first-hero .home-hero-image-card img {
        object-position: center 58% !important;
    }
}

/* HOME HERO MOBILE — texte recherche IA */

.home-ai-module-examples {
    display: none;
}

@media screen and (max-width: 768px) {
    body .home-page .home-mobile-first-hero .home-ai-module-text p {
        display: block !important;
        font-size: 0.84rem !important;
        line-height: 1.35 !important;
        margin: 0 0 10px !important;
        color: #6B7170 !important;
        font-weight: 500 !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-examples {
        display: none !important;
    }
}

@media screen and (max-width: 380px) {
    body .home-page .home-mobile-first-hero .home-ai-module-text p {
        font-size: 0.82rem !important;
    }
}

/* FONT — enforce Inter (hero mobile + nav) */
body,
button,
input,
textarea,
select {
    font-family: var(--tmc-font-main);
}

.home-page,
.home-page *,
.home-mobile-first-hero,
.home-mobile-first-hero *,
.home-ai-module,
.home-ai-module *,
.mobile-bottom-nav,
.mobile-bottom-nav * {
    font-family: var(--tmc-font-main) !important;
}

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
}

/* TABLET / petit desktop — aligner le sous-titre IA avec le titre */
@media screen and (min-width: 769px) and (max-width: 1180px) {
    .home-page .home-ai-module-form h2 + p,
    .home-page .home-ai-module-form p,
    .home-page .home-ai-module-text p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
        max-width: 560px;
    }
}

/* COMMUNITY — clarté UX accueil */
.home-page .home-community-topic {
    max-width: 760px !important;
    margin: 48px auto 56px !important;
    padding: 28px 30px !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 32px rgba(16, 33, 43, 0.06) !important;
}

.home-page .community-topic-badge {
    margin-bottom: 12px !important;
    padding: 7px 12px !important;
    font-size: 0.72rem !important;
}

.home-page .home-community-topic h2 {
    max-width: 100% !important;
    margin: 0 0 10px !important;
    font-size: clamp(1.45rem, 4vw, 1.85rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    font-weight: 700 !important;
}

.home-page .community-topic-intro {
    max-width: 100% !important;
    margin: 0 0 18px !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    color: var(--tmc-muted) !important;
}

.home-page .community-topic-current {
    margin: 0 0 20px !important;
    padding: 16px 18px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(244, 166, 35, 0.12) 0%, rgba(255, 246, 231, 0.92) 100%) !important;
    border: 1px solid rgba(244, 166, 35, 0.24) !important;
}

.home-page .community-topic-current-label {
    display: block !important;
    margin-bottom: 8px !important;
    color: #9A6700 !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
}

.home-page .community-topic-current h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem) !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

/* PRIMARY ACTION — alias accueil → .tmc-btn-primary (style.css) */
.home-page .tmc-btn-primary,
.home-page .home-primary-action {
    font-weight: 650 !important;
}

.home-page .home-ai-module-action .tmc-btn-primary,
.home-page .home-ai-module-action .home-primary-action {
    width: auto;
}

/* COMMUNITY CTA — même format que Lancer la recherche */
body .home-page .home-community-topic > .tmc-btn-primary,
body .home-page .home-community-topic > .home-primary-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 220px !important;
    min-height: 62px !important;
    height: 62px !important;
    margin-top: 4px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--tmc-primary) 0%, var(--tmc-primary-2) 100%) !important;
    color: #ffffff !important;
    font-family: var(--tmc-font-main) !important;
    font-size: 0.95rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(15, 45, 58, 0.16) !important;
    transition: all 0.22s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

body .home-page .home-community-topic > .tmc-btn-primary:hover,
body .home-page .home-community-topic > .home-primary-action:hover {
    transform: translateY(-2px) !important;
    background: linear-gradient(135deg, var(--tmc-accent) 0%, var(--tmc-accent-2) 100%) !important;
    color: var(--tmc-text) !important;
    box-shadow: 0 20px 42px rgba(244, 166, 35, 0.30) !important;
}

@media screen and (max-width: 768px) {
    body .home-page .home-community-topic > .tmc-btn-primary,
    body .home-page .home-community-topic > .home-primary-action {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        height: 46px !important;
        border-radius: 14px !important;
        font-size: 0.9rem !important;
        font-weight: 650 !important;
        padding: 0 24px !important;
        box-shadow: 0 4px 12px rgba(15, 45, 58, 0.10) !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* QUICK LINKS — compact mobile, propres tablette/desktop */
@media screen and (max-width: 768px) {
    body .home-page .home-quick-links,
    body .home-page .home-mobile-first-hero .home-quick-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 16px auto 0 !important;
        padding: 0 !important;
        width: 100% !important;
        position: relative !important;
        z-index: 4 !important;
        transform: translateY(14px) !important;
    }

    body .home-page .home-quick-links a,
    body .home-page .home-mobile-first-hero .home-quick-links a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: auto !important;
        min-width: 155px !important;
        max-width: 185px !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 14px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-radius: 14px !important;
        font-size: 0.82rem !important;
        font-weight: 650 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        box-shadow: none !important;
        text-decoration: none !important;
        vertical-align: middle !important;
        box-sizing: border-box !important;
        transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
    }

    body .home-page .home-quick-links a span,
    body .home-page .home-quick-links a strong,
    body .home-page .home-quick-links a em,
    body .home-page .home-mobile-first-hero .home-quick-links a span,
    body .home-page .home-mobile-first-hero .home-quick-links a strong,
    body .home-page .home-mobile-first-hero .home-quick-links a em {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .home-page .home-quick-links .tmc-btn-primary,
    body .home-page .home-quick-links a:first-child,
    body .home-page .home-mobile-first-hero .home-quick-links .tmc-btn-primary,
    body .home-page .home-mobile-first-hero .home-quick-links a:first-child {
        background: #0F3D4A !important;
        color: #ffffff !important;
        border: 0 !important;
    }

    body .home-page .home-quick-links .tmc-btn-secondary,
    body .home-page .home-quick-links a:last-child,
    body .home-page .home-mobile-first-hero .home-quick-links .tmc-btn-secondary,
    body .home-page .home-mobile-first-hero .home-quick-links a:last-child {
        background: rgba(255, 255, 255, 0.94) !important;
        color: #0F2D3A !important;
        border: 1px solid rgba(15, 45, 58, 0.16) !important;
    }

    body .home-page .home-quick-links a:hover,
    body .home-page .home-quick-links a:focus-visible,
    body .home-page .home-mobile-first-hero .home-quick-links a:hover,
    body .home-page .home-mobile-first-hero .home-quick-links a:focus-visible {
        background: linear-gradient(135deg, #FDBB3A, #F2AC22) !important;
        color: #0F2D3A !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 18px rgba(249, 168, 38, 0.18) !important;
        border-color: transparent !important;
    }
}

@media screen and (max-width: 390px) {
    body .home-page .home-quick-links,
    body .home-page .home-mobile-first-hero .home-quick-links {
        margin: 14px auto 0 !important;
        transform: translateY(12px) !important;
        gap: 8px !important;
    }

    body .home-page .home-quick-links a,
    body .home-page .home-mobile-first-hero .home-quick-links a {
        height: 38px !important;
        min-height: 38px !important;
        min-width: 145px !important;
        max-width: 165px !important;
        font-size: 0.78rem !important;
        padding: 0 10px !important;
        line-height: 1 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body .home-page .home-quick-links a span,
    body .home-page .home-quick-links a strong,
    body .home-page .home-quick-links a em,
    body .home-page .home-mobile-first-hero .home-quick-links a span,
    body .home-page .home-mobile-first-hero .home-quick-links a strong,
    body .home-page .home-mobile-first-hero .home-quick-links a em {
        line-height: 1 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media screen and (max-width: 340px) {
    body .home-page .home-quick-links,
    body .home-page .home-mobile-first-hero .home-quick-links {
        flex-direction: column !important;
    }

    body .home-page .home-quick-links a,
    body .home-page .home-mobile-first-hero .home-quick-links a {
        width: 100% !important;
        max-width: 260px !important;
    }
}

@media screen and (min-width: 769px) {
    body .home-page .home-quick-links {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 28px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    body .home-page .home-quick-links a {
        min-height: 54px !important;
        height: 54px !important;
        width: auto !important;
        min-width: 220px !important;
        max-width: 260px !important;
        padding: 0 28px !important;
        border-radius: 999px !important;
        font-size: 0.95rem !important;
        font-weight: 650 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    body .home-page .home-quick-links .tmc-btn-primary,
    body .home-page .home-quick-links a:first-child {
        background: linear-gradient(135deg, var(--tmc-primary) 0%, var(--tmc-primary-2) 100%) !important;
        color: #ffffff !important;
        border: 0 !important;
        box-shadow: 0 12px 28px rgba(15, 45, 58, 0.14) !important;
    }

    body .home-page .home-quick-links .tmc-btn-secondary,
    body .home-page .home-quick-links a:last-child {
        background: #F7FAF8 !important;
        color: var(--tmc-primary) !important;
        border: 1px solid rgba(15, 45, 58, 0.12) !important;
        box-shadow: none !important;
    }
}

/* TABLETTE / PETIT DESKTOP — boutons accueil 769-1199px */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    body .home-page .home-ai-module-action button,
    body .home-page .home-ai-module-action .tmc-btn-primary,
    body .home-page .home-ai-module-action .home-primary-action,
    body .home-page .home-community-topic > .tmc-btn-primary,
    body .home-page .home-community-topic > .home-primary-action {
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 14px !important;
        font-size: 0.92rem !important;
        font-weight: 650 !important;
        padding: 0 24px !important;
        background: linear-gradient(135deg, #0F2D3A, #17485A) !important;
        color: #fff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        box-shadow: 0 12px 28px rgba(15, 45, 58, 0.14) !important;
    }

    body .home-page .home-ai-module-action button:hover,
    body .home-page .home-ai-module-action .tmc-btn-primary:hover,
    body .home-page .home-ai-module-action .home-primary-action:hover,
    body .home-page .home-community-topic > .tmc-btn-primary:hover,
    body .home-page .home-community-topic > .home-primary-action:hover {
        background: linear-gradient(135deg, #FDBB3A, #F2AC22) !important;
        color: #0F2D3A !important;
        transform: translateY(-2px) !important;
    }

    body .home-page .home-quick-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
        margin: 24px auto 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    body .home-page .home-quick-links a {
        height: 46px !important;
        min-height: 46px !important;
        min-width: 190px !important;
        max-width: 230px !important;
        width: auto !important;
        border-radius: 14px !important;
        padding: 0 22px !important;
        font-size: 0.88rem !important;
        font-weight: 650 !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }

    body .home-page .home-quick-links a:first-child,
    body .home-page .home-quick-links .tmc-btn-primary {
        background: linear-gradient(135deg, #0F2D3A, #17485A) !important;
        color: #fff !important;
        border: 0 !important;
    }

    body .home-page .home-quick-links a:last-child,
    body .home-page .home-quick-links .tmc-btn-secondary {
        background: rgba(255, 255, 255, 0.94) !important;
        color: #0F2D3A !important;
        border: 1px solid rgba(15, 45, 58, 0.16) !important;
    }

    body .home-page .home-quick-links a:hover,
    body .home-page .home-quick-links a:focus-visible {
        background: linear-gradient(135deg, #FDBB3A, #F2AC22) !important;
        color: #0F2D3A !important;
        border-color: transparent !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 18px rgba(249, 168, 38, 0.18) !important;
    }
}

@media screen and (max-width: 768px) {
    .home-page .home-community-topic {
        width: calc(100% - 32px) !important;
        margin: 36px auto 44px !important;
        padding: 22px 20px !important;
    }
}

/* ACCUEIL — système boutons unifié ≥769px (cascade finale) */
@media screen and (min-width: 769px) {
    body .home-page .home-ai-module-action button,
    body .home-page .home-ai-module-action .tmc-btn-primary,
    body .home-page .home-ai-module-action .home-primary-action,
    body .home-page .home-community-topic > .tmc-btn-primary,
    body .home-page .home-community-topic > .home-primary-action {
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 14px !important;
        font-size: 0.92rem !important;
        font-weight: 650 !important;
        padding: 0 24px !important;
        background: linear-gradient(135deg, #0F2D3A, #17485A) !important;
        color: #fff !important;
        font-family: var(--tmc-font-main) !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        border: 0 !important;
        box-shadow: 0 12px 28px rgba(15, 45, 58, 0.14) !important;
    }

    body .home-page .home-ai-module-action button:hover,
    body .home-page .home-ai-module-action .tmc-btn-primary:hover,
    body .home-page .home-ai-module-action .home-primary-action:hover,
    body .home-page .home-community-topic > .tmc-btn-primary:hover,
    body .home-page .home-community-topic > .home-primary-action:hover {
        background: linear-gradient(135deg, #FDBB3A, #F2AC22) !important;
        color: #0F2D3A !important;
        transform: translateY(-2px) !important;
    }

    body .home-page .home-quick-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
        margin: 24px auto 0 !important;
        padding: 0 !important;
        transform: translateY(18px) !important;
        position: relative !important;
        z-index: 4 !important;
    }

    body .home-page .home-quick-links a {
        height: 46px !important;
        min-height: 46px !important;
        min-width: 190px !important;
        max-width: 230px !important;
        width: auto !important;
        border-radius: 14px !important;
        padding: 0 22px !important;
        font-size: 0.88rem !important;
        font-weight: 650 !important;
        font-family: var(--tmc-font-main) !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }

    body .home-page .home-quick-links a:first-child,
    body .home-page .home-quick-links .tmc-btn-primary {
        background: linear-gradient(135deg, #0F2D3A, #17485A) !important;
        color: #fff !important;
        border: 0 !important;
    }

    body .home-page .home-quick-links a:last-child,
    body .home-page .home-quick-links .tmc-btn-secondary {
        background: rgba(255, 255, 255, 0.94) !important;
        color: #0F2D3A !important;
        border: 1px solid rgba(15, 45, 58, 0.16) !important;
    }

    body .home-page .home-quick-links a:hover,
    body .home-page .home-quick-links a:focus-visible {
        background: linear-gradient(135deg, #FDBB3A, #F2AC22) !important;
        color: #0F2D3A !important;
        border-color: transparent !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 18px rgba(249, 168, 38, 0.18) !important;
    }
}

/* ACCUEIL — communauté alignée sur largeur carte IA ≥769px */
@media screen and (min-width: 769px) and (max-width: 900px) {
    body .home-page .home-community-topic {
        width: min(calc(100% - 48px), 680px) !important;
        max-width: 680px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media screen and (min-width: 901px) and (max-width: 1180px) {
    body .home-page .home-community-topic {
        width: min(calc(100% - 64px), 760px) !important;
        max-width: 760px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media screen and (min-width: 1181px) {
    body .home-page .home-community-topic {
        width: min(calc(100% - 96px), 900px) !important;
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media screen and (min-width: 1200px) {
    body .home-page .home-mobile-first-hero .home-ai-module,
    body .home-page .home-ai-module {
        width: min(1080px, calc(100% - 96px)) !important;
        max-width: 1080px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module-form,
    body .home-page .home-ai-module-form {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body .home-page .home-community-topic {
        width: min(1080px, calc(100% - 96px)) !important;
        max-width: 1080px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* QUICK LINKS — desktop plus imposants ≥901px */
@media screen and (min-width: 901px) {
    body .home-page .home-quick-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
        margin: 26px auto 30px !important;
        width: 100% !important;
        transform: translateY(18px) !important;
    }

    body .home-page .home-quick-links a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        min-width: 220px !important;
        max-width: none !important;
        width: auto !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 24px !important;
        border-radius: 14px !important;
        font-size: 0.92rem !important;
        font-weight: 650 !important;
        font-family: var(--tmc-font-main, var(--tmc-font-family), Inter, sans-serif) !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    body .home-page .home-quick-links a:first-child,
    body .home-page .home-quick-links .tmc-btn-primary {
        background: linear-gradient(135deg, #0F2D3A 0%, #17485A 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 10px 24px rgba(15, 45, 58, 0.14) !important;
    }

    body .home-page .home-quick-links a:first-child:hover,
    body .home-page .home-quick-links a:first-child:focus-visible {
        background: linear-gradient(135deg, #FDBB3A 0%, #F2AC22 100%) !important;
        color: #0F2D3A !important;
        transform: translateY(-2px) !important;
    }

    body .home-page .home-quick-links a:last-child,
    body .home-page .home-quick-links .tmc-btn-secondary {
        background: #f8fafb !important;
        color: #0F2D3A !important;
        border: 1px solid #d7e0e5 !important;
        box-shadow: none !important;
    }

    body .home-page .home-quick-links a:last-child:hover,
    body .home-page .home-quick-links a:last-child:focus-visible {
        background: linear-gradient(135deg, #FDBB3A 0%, #F2AC22 100%) !important;
        color: #0F2D3A !important;
        border-color: #FDBB3A !important;
        transform: translateY(-2px) !important;
    }
}

@media screen and (min-width: 1400px) {
    body .home-page .home-quick-links a {
        min-width: 230px !important;
        height: 50px !important;
        min-height: 50px !important;
        font-size: 0.95rem !important;
    }
}

/* ACCUEIL — champ recherche IA : radius aligné boutons (pas pill) */
body .home-page .home-ai-module-action input[type="text"],
body .home-page .home-ai-module-form input[type="text"],
body .home-page .home-ai-module-form input[type="search"] {
    border-radius: 14px !important;
}

/* ACCUEIL — section recommandée : Inter sur en-tête (pas les cartes) */
body .home-page .recommended-section .section-header,
body .home-page .recommended-section .tmc-section-heading,
body .home-page .recommended-section .section-header h2,
body .home-page .recommended-section .section-header p,
body .home-page .recommended-section .section-kicker,
body .home-page .recommended-section .tmc-section-kicker {
    font-family: var(--tmc-font-main) !important;
}

/* ACCUEIL — section recommandée : header aligné à gauche (axe grille) */
body .home-page .recommended-section .section-header,
body .home-page .recommended-section .tmc-section-heading {
    text-align: left !important;
    align-items: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}

body .home-page .recommended-section .section-header h2,
body .home-page .recommended-section .section-header p,
body .home-page .recommended-section .section-kicker,
body .home-page .recommended-section .tmc-section-kicker {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ACCUEIL — Destinations populaires : header aligné à gauche + Inter */
body .home-page .home-featured .section-header,
body .home-page .home-featured .tmc-section-heading,
body .home-page .home-featured .home-scroll-header {
    text-align: left !important;
    align-items: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}

body .home-page .home-featured .section-header h2,
body .home-page .home-featured .section-header p,
body .home-page .home-featured .tmc-section-heading h2,
body .home-page .home-featured .tmc-section-heading p,
body .home-page .home-featured .section-kicker,
body .home-page .home-featured .tmc-section-kicker {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-family: var(--tmc-font-main) !important;
}

/* ACCUEIL — cartes action Inspiration / Propriétaires */
body .home-page .home-action-cards {
    width: min(1080px, calc(100% - 96px)) !important;
    max-width: 1080px !important;
    margin: 56px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body .home-page .home-action-cards__grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.95fr !important;
    gap: 18px !important;
    align-items: stretch !important;
}

body .home-page .home-action-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    height: 100% !important;
    min-height: 228px !important;
    padding: 24px 28px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    font-family: var(--tmc-font-main) !important;
}

body .home-page .home-action-card--discover {
    padding: 20px 28px 22px !important;
    min-height: 220px !important;
}

body .home-page .home-action-card__badge {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    font-family: var(--tmc-font-main) !important;
}

body .home-page .home-action-card__title {
    margin: 0 !important;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    font-family: var(--tmc-font-main) !important;
}

body .home-page .home-action-card__text {
    margin: 0 0 4px !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    font-family: var(--tmc-font-main) !important;
}

body .home-page .home-action-card__btn,
body .home-page .home-action-card__btn.tmc-btn-primary,
body .home-page .home-action-card__btn.tmc-btn-secondary {
    margin-top: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 22px !important;
    border-radius: 14px !important;
    font-size: 0.88rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    font-family: var(--tmc-font-main) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

body .home-page .home-action-card--discover {
    background: linear-gradient(135deg, #0F2D3A 0%, #17485A 52%, #1B5E4A 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 18px 40px rgba(15, 45, 58, 0.18) !important;
}

body .home-page .home-action-card--discover .home-action-card__badge {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

body .home-page .home-action-card--discover .home-action-card__title,
body .home-page .home-action-card--discover .home-action-card__text {
    color: rgba(255, 255, 255, 0.96) !important;
}

body .home-page .home-action-card--discover .home-action-card__text {
    color: rgba(255, 255, 255, 0.82) !important;
}

body .home-page .home-action-card--discover .home-action-card__btn--light {
    background: #ffffff !important;
    color: #0F2D3A !important;
    border: 0 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12) !important;
}

body .home-page .home-action-card--discover .home-action-card__btn--light:hover {
    background: linear-gradient(135deg, #FDBB3A 0%, #F2AC22 100%) !important;
    color: #0F2D3A !important;
    transform: translateY(-2px) !important;
}

body .home-page .home-action-card--owners {
    background: #FAFAF7 !important;
    color: #0F2D3A !important;
    border: 1px solid rgba(15, 45, 58, 0.1) !important;
    box-shadow: 0 10px 28px rgba(15, 45, 58, 0.06) !important;
}

body .home-page .home-action-card--owners .home-action-card__badge {
    background: rgba(15, 45, 58, 0.06) !important;
    color: #0F2D3A !important;
}

body .home-page .home-action-card--owners .home-action-card__text {
    color: #5F6B73 !important;
}

@media screen and (max-width: 900px) {
    body .home-page .home-action-cards {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        margin: 40px auto 0 !important;
    }

    body .home-page .home-action-cards__grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body .home-page .home-action-card {
        min-height: 0 !important;
        padding: 22px 20px !important;
        gap: 10px !important;
    }

    body .home-page .home-action-card__btn {
        width: auto !important;
        align-self: flex-start !important;
    }
}

/* ACCUEIL — espace réduit entre action cards et footer */
@media screen and (min-width: 901px) {
    body .home-page {
        padding-bottom: 0 !important;
    }

    body main.container:has(.home-page) {
        padding-bottom: 24px !important;
    }

    body main.container:has(.home-page) + .footer {
        margin-top: 32px !important;
    }
}

@media screen and (max-width: 900px) {
    body .home-page {
        padding-bottom: 0 !important;
    }

    body main.container:has(.home-page) {
        padding-bottom: 16px !important;
    }

    body main.container:has(.home-page) + .footer {
        margin-top: 24px !important;
    }
}

/* ACCUEIL — Inter : footer / header / nav + exception icônes FA */
body:has(.home-page) .footer,
body:has(.home-page) .footer *,
body:has(.home-page) .tmc-header,
body:has(.home-page) .tmc-header *,
body:has(.home-page) .mobile-bottom-nav,
body:has(.home-page) .mobile-bottom-nav * {
    font-family: var(--tmc-font-main) !important;
}

body .home-page,
body .home-page h1,
body .home-page h2,
body .home-page h3,
body .home-page p,
body .home-page a,
body .home-page button,
body .home-page input,
body .home-page textarea,
body .home-page select,
body .home-page label,
body .home-page span {
    font-family: var(--tmc-font-main) !important;
}

body .home-page .fa,
body .home-page .fas,
body .home-page .far,
body .home-page .fab,
body .home-page .fa-solid,
body .home-page .fa-regular,
body .home-page .fa-brands,
body .home-page [class^="fa-"],
body .home-page [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
}

/* HOME HERO MOBILE — format campings (image haute + carte IA chevauchante) */
@media screen and (max-width: 768px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        min-height: 300px !important;
        height: 300px !important;
        max-height: none !important;
        border-radius: 28px !important;
        overflow: hidden !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module {
        margin-top: -44px !important;
        position: relative !important;
        z-index: 3 !important;
    }
}

@media screen and (max-width: 480px) {
    body .home-page .home-mobile-first-hero .home-hero-image-card {
        min-height: 285px !important;
        height: 285px !important;
    }

    body .home-page .home-mobile-first-hero .home-ai-module {
        margin-top: -42px !important;
    }
}

/* =========================================================
   HOME mobile — Suppression espace blanc avant footer
   Scope limité à .home-page / max-width 768px
   ========================================================= */
@media (max-width: 768px) {
    body main.container:has(.home-page) {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
    }

    body .home-page {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    body .home-page .tmc-card-section,
    body .home-page .home-featured,
    body .home-page .recommended-section,
    body .home-page .home-community-topic {
        margin-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        padding-bottom: 24px !important;
    }

    body .home-page .tmc-card-section-inner {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
    }

    body .home-page .home-action-cards {
        margin-bottom: 0 !important;
        padding-bottom: 16px !important;
    }

    body main.container:has(.home-page) + .footer {
        margin-top: 0 !important;
        padding-top: 24px !important;
        padding-bottom: 96px !important;
    }
}

/* ACCUEIL — validation assistant séjour */
body .home-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body .home-page .home-ai-module-validation {
    margin: 8px 0 0;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #B45309;
    line-height: 1.4;
}

body .home-page .home-ai-module-validation[hidden] {
    display: none !important;
}

/* ACCUEIL — CTA assistant séjour (legacy — section retirée) */
body .home-page .home-ai-module-ctas {
    display: none !important;
}
