/* ============================================================
   TROTANNONCES — Page d'accueil 2026 (mise en page)
   Tokens, typographie et primitifs : trot-design-system-2026.css
   Fidèle à la charte fournie (Accueil.html).
   ============================================================ */

/* ============================================================
   EMPLACEMENTS PUBLICITAIRES (milieu de page + footer)
   ============================================================ */
.home-ad-band { padding: 10px 0; }

.trot-ad-slot { max-width: 970px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--border, rgba(46,26,43,.1)); background: #fff; }
.trot-ad-slot-link { position: relative; display: flex; flex-direction: column; height: 100%; border: none; }
.trot-ad-slot-media { display: block; height: 200px; overflow: hidden; flex: none; }
/* Spécificité renforcée (0,3,0) pour battre `.elementor img { height:auto }` */
.trot-ad-slot .trot-ad-slot-media img { width: 100%; height: 200px; object-fit: cover; display: block; }
.trot-ad-slot-kicker { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(46,26,43,.84); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.trot-ad-slot-content { flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px 18px; background: #fff; text-align: left; }
.trot-ad-slot-title { display: block; width: 100%; color: var(--prune-ink, #2E1A2B); line-height: 1.25; }
/* Neutralise le max-width: 18ch de trot-core.css qui coupait le titre en 3 lignes */
.trot-ad-slot .trot-ad-slot-title { max-width: none; }
.trot-ad-slot-cta { display: block; width: 100%; text-align: left; color: var(--violine, #A0539B); font-weight: 600; margin-top: auto; }

/* Bandeau pub à 2 colonnes (entre les sections d'annonces) — cartes de hauteur égale */
/* Espacement symétrique : 88px au-dessus (la section premium n'a pas de padding-bas)
   et 0 en dessous (la section suivante apporte déjà 88px de padding-haut). */
.home-ad-band--duo { padding: 88px 0 0; }
.home-ad-band--duo .trot-home-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}
.home-ad-band--duo > .trot-home-wrap > .trot-ad-slot,
.home-ad-band--duo > .trot-home-wrap > .trot-ad-available {
    max-width: none;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.home-ad-band--duo .trot-ad-available { align-items: flex-start; text-align: left; }
/* Image bord à bord : on retire le padding latéral (0 20px) hérité de trot-core.css.
   Le texte garde son propre padding via .trot-ad-slot-content. */
.home-ad-band--duo .trot-ad-slot { padding: 0; }
.home-ad-band--after-plans { padding: 72px 0 88px; }
.home-ad-band--footer { padding: 40px 0 0; }
.home-ad-band--footer .trot-ad-slot,
.home-ad-band--footer .trot-ad-available { max-width: 970px; margin: 0 auto; }
/* Galerie « pied de page » : pleine largeur, carrés collés, collée au footer. */
.footer-ad-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    width: 100%;
}
.footer-ad-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-tint);
}
.footer-ad-item img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.footer-ad-item { aspect-ratio: auto; }
.footer-ad-item::before { content: ''; display: block; padding-bottom: 100%; }
.footer-ad-item:hover img { transform: scale(1.05); }
.footer-ad-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(46, 26, 43, 0.72);
    color: #fff;
    font-family: var(--font-cond);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .footer-ad-gallery { grid-template-columns: repeat(2, 1fr); }
}
.home-ad-band--after-plans .trot-ad-available {
    align-items: center;
    justify-content: center;
    text-align: center;
}
.home-ad-band--after-plans .trot-ad-slot-content,
.home-ad-band--after-plans .trot-ad-slot-cta {
    align-items: center;
    text-align: center;
}
@media (max-width: 768px) {
    .home-ad-band--duo .trot-home-wrap { grid-template-columns: 1fr; }
}

/* R3 — Bandeau « Créer une alerte » sur la recherche */
.trot-alert-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    margin: 0 0 24px; padding: 16px 22px;
    background: var(--violine-soft, rgba(160,83,155,.07));
    border: 1px solid var(--violine-border, rgba(160,83,155,.22));
    border-radius: 14px;
}
.trot-alert-banner-text { color: var(--prune-ink, #2E1A2B); font-size: 15px; }
.trot-alert-banner-text strong { color: var(--violine, #A0539B); }
.trot-alert-banner-text em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--ink-muted, #6b6b6b); }
.trot-alert-banner-btn { flex: none; }
.trot-alert-banner-link { color: var(--violine, #A0539B); font-weight: 600; }
.trot-alert-banner--ok { background: rgba(63,166,106,.10); border-color: rgba(63,166,106,.30); }
.trot-alert-banner--ok .trot-alert-banner-text { color: #1F7A47; }

.trot-ad-available {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
    text-align: center; min-height: 118px; padding: 24px;
    max-width: 970px; margin: 0 auto;
    border: 2px dashed var(--violine-border, rgba(160,83,155,.4));
    border-radius: 16px; background: var(--violine-soft, rgba(160,83,155,.05));
    transition: border-color .15s ease, background-color .15s ease;
}
.trot-ad-available:hover { border-color: var(--violine, #A0539B); background: rgba(160,83,155,.10); }
.trot-ad-available-tag { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--violine, #A0539B); font-weight: 600; }
.trot-ad-available-title { font-family: var(--font-cond, "Barlow Condensed", sans-serif); font-size: 20px; text-transform: uppercase; letter-spacing: .01em; color: var(--prune-ink, #2E1A2B); }
.trot-ad-available-cta { font-size: 13.5px; font-weight: 600; color: var(--violine, #A0539B); }

/* Footer : bandeau pub sur fond sombre */
.site-footer .foot-ad-band { margin-bottom: 34px; }
.site-footer .foot-ad-band .trot-ad-available { max-width: none; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.site-footer .foot-ad-band .trot-ad-available:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.09); }
.site-footer .foot-ad-band .trot-ad-available-tag { color: var(--trot-color-highlight, #C98BC4); }
.site-footer .foot-ad-band .trot-ad-available-title { color: #fff; }
.site-footer .foot-ad-band .trot-ad-available-cta { color: #fff; }

.trot-home-2026 {
    background: var(--bg);
    color: var(--ink);
}

/* ============================================================
   RESET ELEMENTOR — neutralise les conteneurs du builder
   pour laisser le header/home s'étendre proprement.
   ============================================================ */
.elementor-location-header,
.elementor-location-header > .elementor-element,
.elementor-page-207,
.elementor-page-207 > .elementor-element,
.elementor-page-207 .elementor-widget-shortcode,
.elementor-page-207 .elementor-widget-container,
.elementor-page-207 .elementor-shortcode,
.elementor-location-header .elementor-widget-shortcode,
.elementor-location-header .elementor-widget-container,
.elementor-location-header .elementor-shortcode {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Coller le bas de la home (galerie pied de page) au footer : supprimer le
   padding/marge bas des conteneurs Elementor qui enveloppent le contenu. */
.elementor-page-207 .e-con,
.elementor-page-207 .e-con-inner {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.trot-home-2026 { margin-bottom: 0; }
.home-ad-band--footer { margin-bottom: 0; }
/* La galerie pied de page colle au footer : on retire l'espace du footer sur l'accueil. */
.elementor-page-207 .site-footer { margin-top: 0 !important; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

/* 3 éléments répartis par space-between : nav à gauche, actions à droite, et
   le logo au milieu avec un espace RIGOUREUSEMENT ÉGAL de chaque côté
   (space-between distribue l'espace restant à parts égales entre les items). */
.site-header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 10px 32px;
    min-height: 96px;
}

.site-header .nav-left {
    flex: 0 1 auto;
}

.site-header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 1 auto;
}

.site-header .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* Aucun libellé du header ne doit passer à la ligne. */
.site-header nav a,
.site-header .header-actions .icon-link span,
.site-header .header-actions .btn-deposit span {
    white-space: nowrap;
}

.site-header .logo img {
    height: 62px;
    width: auto;
    display: block;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-header nav a {
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-muted);
    transition: color .18s ease, background-color .18s ease;
}

.site-header nav a:hover,
.site-header nav a.active {
    color: var(--prune);
    background: var(--bg-tint);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-muted);
    transition: color .18s ease, background-color .18s ease;
}

.header-actions .icon-link:hover {
    color: var(--prune);
    background: var(--bg-tint);
}

.header-actions .icon-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.header-actions .icon-link--icon-only {
    padding: 9px;
}

.btn-deposit {
    padding: 11px 22px;
    font-size: 15px;
}

/* ============================================================
   RYTHME DES SECTIONS
   ============================================================ */
.trot-home-section {
    padding: 88px 0 0;
}

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

.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    color: var(--prune);
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.section-cta:hover {
    border-color: var(--violine);
    color: var(--violine);
    background: var(--violine-soft);
}

.section-cta svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ---------- Hero immersif (photo plein cadre) ---------- */
.home-hero--immersive {
    background-color: var(--prune-ink);
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* Voile dégradé : assombrit la gauche pour la lisibilité du texte,
   teinte prune/violine pour rester dans la DA. */
.home-hero--immersive .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(20, 12, 19, 0.92) 28%, rgba(46, 26, 43, 0.55) 64%, rgba(91, 46, 87, 0.30) 100%),
        radial-gradient(120% 90% at 78% 18%, rgba(160, 83, 155, 0.38) 0%, rgba(46, 26, 43, 0) 55%);
}

.home-hero .trot-home-wrap {
    position: relative;
    z-index: 2;
    padding-top: 88px;
    padding-bottom: 92px;
}

.home-hero .hero-content {
    max-width: 880px;
    min-width: 0;
    margin: 0 auto;
    text-align: center;
}

/* Le titre garde ses 2 lignes (br) sans re-wrapper. */
.home-hero .hero-title {
    text-wrap: balance;
}

/* Lead et panneau de recherche recentrés sous le titre. */
.home-hero .hero-content .hero-lead {
    margin-left: auto;
    margin-right: auto;
}

.home-hero .hero-content .search-panel {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero .hero-content .hero-chips {
    justify-content: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: var(--trot-fw-semibold);
    letter-spacing: var(--trot-tracking-kicker);
    text-transform: uppercase;
    color: var(--trot-color-highlight);
}

.hero-kicker .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--trot-color-success);
}

.home-hero h1 {
    margin-top: 16px;
    font-size: var(--trot-fs-display);
    color: #fff;
}

.home-hero h1 em {
    font-style: normal;
    color: var(--trot-color-highlight);
}

.hero-lead {
    margin-top: 18px;
    max-width: 620px;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.82);
    text-wrap: balance;
}

.hero-media {
    position: relative;
}

.hero-media-card {
    width: 100%;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-tint);
    box-shadow: var(--shadow-pop);
}

.hero-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--font-cond);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--violine);
}

.hero-tag {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-pop);
}

.hero-tag .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--trot-color-success);
}

.hero-tag strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: var(--prune-ink);
}

.hero-tag span {
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---------- Panneau de recherche ---------- */
.search-panel {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1.25fr 1.15fr 1fr auto;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 16px;
    box-shadow: var(--shadow-pop);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-panel .field {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 16px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    transition: background-color .15s ease;
}

.search-panel .field:hover {
    background: #fff;
}

.search-panel .field + .field {
    border-left: none;
    border-radius: 11px;
}

.search-panel .field svg {
    width: 17px;
    height: 17px;
    color: var(--violine);
    flex: none;
}

.search-panel .field input,
.search-panel .field select {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 16.5px;
    color: var(--ink);
    appearance: none;
    cursor: pointer;
}

.search-panel .field input::placeholder {
    color: var(--ink-soft);
}

.search-panel .btn {
    border: none;
    box-shadow: none;
    border-radius: 12px;
    padding: 0 30px;
    font-size: 16.5px;
}

/* Retire le contour rose hérité du kit Elementor (.elementor-kit-NN button). */
.search-panel button.btn,
.search-panel button.btn:hover,
.search-panel button.btn:focus {
    border: none;
    outline: none;
}

.hero-chips {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hero-chips .lbl {
    margin-right: 4px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
}

/* Chips sur fond sombre : contour clair, lisibles sur la photo. */
.home-hero--immersive .hero-chips .chip {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.home-hero--immersive .hero-chips .chip:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* Surcharge des couleurs « scoped » (.trot-home-2026 .hero-title = 0,2,0)
   pour que le texte du hero immersif reste blanc sur la photo. */
.trot-home-2026 .home-hero--immersive .hero-title {
    color: #fff;
}

.trot-home-2026 .home-hero--immersive .hero-title em {
    color: var(--trot-color-highlight);
}

.trot-home-2026 .home-hero--immersive .hero-lead {
    color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.home-partners {
    /* Collé au hero : plus d'espace blanc entre l'image et les encarts sponsorisés. */
    margin-top: 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.home-partners .trot-home-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.partners-label {
    flex: none;
    max-width: 200px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--ink-soft);
}

.partners-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.partner-card {
    position: relative;
    display: block;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-tint);
}

/* ---------- Bandeau défilant (rotation de tous les partenaires) ---------- */
.partners-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: partners-scroll 45s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partners-track .partner-card {
    flex: 0 0 auto;
    width: 300px;
    height: 140px;
}

/* R9 — logo footer agrandi pour combler le vide à sa droite */
.site-footer .foot-brand img {
    width: 100%;
    max-width: 240px;
    height: auto;
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}

.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--font-cond);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--prune);
    background: #fff;
}

.partner-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(46, 26, 43, 0.84);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   GRILLES (annonces premium / récentes)
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.card-annonce {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-annonce:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-pop);
    border-color: var(--violine-border);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-tint);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 22px 14px 16px;
    text-align: center;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(160, 83, 155, 0.14) 0%, rgba(91, 46, 87, 0.05) 55%, rgba(91, 46, 87, 0) 100%),
        var(--bg-tint);
}

.card-media-fallback .cmf-icon {
    color: var(--violine);
    line-height: 0;
}

.card-media-fallback .cmf-icon svg {
    width: 58px;
    height: 58px;
    opacity: 0.9;
}

.card-media-fallback .cmf-icon img {
    width: 160px;
    max-width: 78%;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    opacity: 0.92;
}

.card-media-fallback .cmf-label {
    font-family: var(--font-cond);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 19px;
    line-height: 1.1;
    color: var(--prune);
}

.card-media-fallback .cmf-brand {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.card-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.card-cat {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--violine);
}

/* Titres d'annonces de longueur variable (données BDD) : 3 lignes max */
.trot-home-2026 .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.06em;
    text-wrap: pretty;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--ink-soft);
    min-height: 20px;
}

.card-meta svg {
    width: 14px;
    height: 14px;
}

.card-body > .card-meta {
    margin-top: auto;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}

.card-body > .card-meta + .card-foot {
    margin-top: 0;
}

.price {
    font-family: var(--font-cond);
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: var(--prune);
}

.price small {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink-soft);
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

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

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--violine-border);
}

.category-card-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--violine-soft);
    color: var(--violine);
    transition: background-color .2s ease, color .2s ease;
}

.category-card:hover .category-card-icon {
    background: var(--violine);
    color: #fff;
}

.category-card-icon svg {
    width: 22px;
    height: 22px;
}

.category-card > span {
    min-width: 0;
}

.category-card-name {
    font-family: var(--font-cond);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 17px;
    line-height: 1.15;
    color: var(--prune-ink);
}

.category-card-sub {
    margin-top: 3px;
    font-size: 13px;
    color: var(--ink-soft);
}

.category-card-arrow {
    margin-left: auto;
    color: var(--ink-soft);
    transition: color .2s ease, transform .2s ease;
}

.category-card:hover .category-card-arrow {
    color: var(--violine);
    transform: translateX(3px);
}

.category-card-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* ============================================================
   ABONNEMENTS
   ============================================================ */
.plans-section {
    margin-top: 88px;
    padding: 88px 0;
    background: var(--prune-ink);
}

.plans-section .section-label {
    color: var(--trot-color-highlight);
}

.plans-section .section-label::before {
    background: var(--trot-color-highlight);
}

.plans-section .section-title {
    color: #fff;
}

.plans-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* R12 — 4 offres */
.plans-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
@media (max-width: 1100px) {
    .plans-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .plans-grid--four { grid-template-columns: 1fr; }
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.plan-card.featured {
    background: #fff;
    color: var(--prune-ink);
    border-color: #fff;
    box-shadow: var(--shadow-pop);
}

.plan-name {
    font-family: var(--font-cond);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 18px;
    color: var(--trot-color-highlight);
}

.plan-card.featured .plan-name {
    color: var(--violine);
}

.plan-price {
    margin-top: 14px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.plan-price small {
    display: inline-block;
    margin-left: 4px;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.6;
}

.plan-desc {
    margin-top: 6px;
    font-size: 14.5px;
    line-height: 1.55;
    opacity: 0.65;
}

.plan-features {
    flex: 1;
    margin: 26px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.92;
}

.plan-features li svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
    color: var(--trot-color-highlight);
}

/* Avantage mis en avant (ex : accès aux fiches LeTrot) — plus gros et plus fort. */
.plan-features li.plan-feature--big {
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.35;
    opacity: 1;
}

.plan-features li.plan-feature--big svg {
    width: 19px;
    height: 19px;
    color: var(--trot-color-highlight);
}

.plan-card.featured .plan-features li svg {
    color: var(--violine);
}

/* Avantage NON inclus (croix) — grisé, pour bien distinguer des inclus. */
.plan-features li.plan-feature--no {
    opacity: 0.6;
}

.plan-features li.plan-feature--no svg,
.plan-card.featured .plan-features li.plan-feature--no svg {
    color: #E06A6A;
}

.plan-card .btn {
    width: 100%;
    white-space: nowrap;
    font-size: 14.5px;
    padding-left: 16px;
    padding-right: 16px;
}

.plan-note {
    margin-top: 28px;
    max-width: 640px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.plan-note strong {
    color: var(--trot-color-highlight);
    font-weight: 600;
}

/* ============================================================
   ESPACES PRO
   ============================================================ */
.pros-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pro-card {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.pro-card:hover {
    border-color: var(--violine-border);
    box-shadow: var(--shadow-card);
}

.pro-card-media {
    flex: none;
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
}

.pro-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-card-type {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violine);
}

.pro-card .pro-title {
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-card p {
    margin-top: 6px;
    font-size: 14.5px;
    color: var(--ink-muted);
}

.pro-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--prune);
}

.pro-card-link svg {
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}

.pro-card:hover .pro-card-link svg {
    transform: translateX(3px);
}

/* ============================================================
   REGIONS
   ============================================================ */
.regions-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    /* Bandeau pleine largeur : on neutralise la largeur de contenu (1140px)
       imposée par Elementor au conteneur du shortcode. Le contenu interne
       (.foot-wrap) reste centré à 1240px. */
    width: 100% !important;
    max-width: none !important;
    margin-top: 96px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: var(--prune-ink);
    color: rgba(255, 255, 255, 0.85);
}

.site-footer .foot-wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

.site-footer .foot-tagline {
    padding: 56px 0 0;
    max-width: 720px;
    font-family: var(--font-cond);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.05;
    color: #fff;
}

.site-footer .foot-tagline em {
    font-style: normal;
    color: var(--trot-color-highlight);
}

.site-footer .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}

.site-footer .foot-brand img {
    height: 78px;
    width: auto;
}

.site-footer .foot-brand p {
    margin-top: 18px;
    max-width: 320px;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer h4 {
    margin-bottom: 18px;
    font-family: var(--font-cond);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer .foot-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.site-footer .foot-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: color .18s ease;
}

.site-footer .foot-links a:hover {
    color: #d9a3d5;
}

.site-footer .foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
}

.foot-socials {
    display: flex;
    gap: 10px;
}

.foot-socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.75);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.foot-socials a:hover {
    border-color: var(--violine);
    background: rgba(160, 83, 155, 0.25);
    color: #fff;
}

.foot-socials svg {
    width: 17px;
    height: 17px;
    display: block;
}

/* ============================================================
   DURCISSEMENT FACE AU KIT GLOBAL ELEMENTOR
   Le kit (.elementor-kit-NN h1..h4 / p / a — spécificité 0,1,1)
   est chargé APRÈS nos feuilles et écrase les couleurs de texte.
   On ré-affirme nos couleurs via le scope (spécificité 0,2,x),
   y compris les états :hover et les contextes sombres.
   ============================================================ */
/* ---- Titres display : Barlow Condensed, MAJUSCULES ---- */
.trot-home-2026 .display-title,
.trot-home-2026 .hero-title,
.trot-home-2026 .section-title,
.trot-home-2026 .pro-title,
.site-footer .foot-grid h4 {
    font-family: var(--font-cond);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--prune-ink);
}

.trot-home-2026 .hero-title {
    font-size: var(--trot-fs-display);
    letter-spacing: var(--trot-tracking-display);
    line-height: var(--trot-lh-display);
}

.trot-home-2026 .section-title {
    font-size: var(--trot-fs-section-title);
    letter-spacing: var(--trot-tracking-display);
    line-height: var(--trot-lh-display);
}

.trot-home-2026 .pro-title {
    font-size: var(--trot-fs-pro-title);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* ---- Titre de carte annonce : Barlow, casse normale ---- */
.trot-home-2026 .card-title {
    font-family: var(--font);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    line-height: var(--trot-lh-card);
    font-size: var(--trot-fs-card-title);
    color: var(--prune-ink);
}

/* ---- Paragraphes & textes secondaires : police de marque ---- */
.trot-home-2026 .hero-lead {
    font-family: var(--font);
    font-size: 19px;
    line-height: var(--trot-lh-copy);
    color: var(--ink-muted);
}

.trot-home-2026 .section-subtitle {
    font-family: var(--font);
    font-size: 17px;
    line-height: var(--trot-lh-copy);
    color: var(--ink-muted);
}

.trot-home-2026 .pro-card p {
    font-family: var(--font);
    font-size: 14.5px;
    line-height: var(--trot-lh-copy);
    color: var(--ink-muted);
}

/* ---- Liens stylés ---- */
.trot-home-2026 .section-cta,
.trot-home-2026 .chip,
.site-header nav a,
.site-header .icon-link,
.site-footer .foot-links a,
.site-footer .foot-bottom {
    font-family: var(--font);
}

.trot-home-2026 .section-cta {
    color: var(--prune);
}

.trot-home-2026 .section-cta:hover {
    color: var(--violine);
}

.trot-home-2026 .chip {
    color: var(--ink-muted);
}

.trot-home-2026 .chip:hover {
    color: var(--violine);
}

/* ---- Contexte sombre : section abonnements ---- */
.trot-home-2026 .plans-section .section-title {
    color: #fff;
}

.trot-home-2026 .plans-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.trot-home-2026 .plans-section .plan-card .plan-desc {
    font-family: var(--font);
    font-size: 14.5px;
    line-height: 1.55;
    color: #fff;
}

/* Carte mise en avant (fond blanc) : texte sombre, sinon blanc sur blanc. */
.trot-home-2026 .plans-section .plan-card.featured .plan-desc {
    color: var(--prune-ink);
}

.trot-home-2026 .plans-section .plan-note {
    font-family: var(--font);
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

/* ---- Footer (fond sombre) ---- */
.site-footer .foot-grid h4 {
    font-size: 15px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer .foot-brand p {
    font-family: var(--font);
    color: rgba(255, 255, 255, 0.55);
}

.site-footer .foot-bottom {
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .site-header nav {
        display: none;
    }

    .site-header .bar {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 14px;
        padding: 0 24px;
        min-height: 72px;
    }

    .site-header .logo {
        flex: 0 0 auto;
    }

    .site-header .logo img {
        height: 56px;
    }

    .header-actions .icon-link span {
        display: none;
    }

    .home-hero .trot-home-wrap {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .home-hero--immersive {
        background-position: 72% 30%;
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .search-panel .field + .field {
        border-left: none;
    }

    .home-partners .trot-home-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .partners-grid,
    .cards-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plans-grid,
    .pros-grid,
    .site-footer .foot-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .foot-grid {
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .trot-home-section {
        padding-top: 64px;
    }

    .plans-section {
        margin-top: 64px;
        padding: 64px 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .partners-grid,
    .cards-grid,
    .category-grid,
    .search-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Sur mobile : header épuré — logo + CTA de dépôt (les liens
       Rechercher / Mon compte sont accessibles via le hero et le footer). */
    .header-actions .icon-link {
        display: none;
    }

    .search-panel .btn {
        width: 100%;
    }

    .hero-media-card {
        height: 300px;
    }

    .card-body {
        padding: 18px;
    }

    .trot-home-2026 .card-title {
        min-height: auto;
    }

    .plan-card {
        padding: 24px 22px;
    }

    .plan-price {
        font-size: 38px;
    }

    .plan-features {
        margin: 24px 0 28px;
    }

    .pro-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header .logo img {
        height: 50px;
    }

    .btn-deposit {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 14px;
    }

    .site-footer {
        margin-top: 64px;
    }

    .site-footer .foot-tagline {
        padding-top: 52px;
    }

    .site-footer .foot-grid {
        gap: 32px;
        padding: 40px 0 36px;
    }

    .site-footer .foot-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 0 24px;
    }
}

/* Sélecteur Mensuel / Annuel du bloc des offres (retour Pierre 24/09) */
.plans-billing-toggle {
    display: flex;
    width: fit-content;
    gap: 4px;
    margin: 0 0 28px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.plans-billing-btn {
    padding: 9px 22px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.plans-billing-btn.is-active {
    background: #fff;
    color: var(--prune-ink);
}

.plans-billing-btn:focus-visible {
    outline: 2px solid var(--trot-color-highlight);
    outline-offset: 2px;
}

.plans-grid.plans-grid--hidden {
    display: none;
}

.plan-price.plan-price--pending small {
    font-size: 14px;
    opacity: 0.75;
}

/* Badge « Sponsorisé » discret (retour Pierre 24/09) : la pub reste identifiable
   sans masquer le visuel de l'annonceur — petite étiquette claire en bas à droite. */
.partner-card .partner-badge,
.footer-ad-item .footer-ad-badge,
.trot-ad-slot .trot-ad-slot-kicker {
    top: auto;
    left: auto;
    right: 6px;
    bottom: 6px;
    min-height: 0;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.78);
    color: rgba(46, 26, 43, 0.78);
    font-family: inherit;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: none;
    pointer-events: none;
}

/* Le thème stylise tous les <button> : on verrouille l'apparence du sélecteur Mensuel / Annuel. */
.plans-section .plans-billing-toggle button.plans-billing-btn,
.plans-section .plans-billing-toggle button.plans-billing-btn:hover,
.plans-section .plans-billing-toggle button.plans-billing-btn:focus {
    margin: 0;
    padding: 9px 22px;
    border: none;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.plans-section .plans-billing-toggle button.plans-billing-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.plans-section .plans-billing-toggle button.plans-billing-btn.is-active,
.plans-section .plans-billing-toggle button.plans-billing-btn.is-active:hover,
.plans-section .plans-billing-toggle button.plans-billing-btn.is-active:focus {
    background: #fff;
    color: var(--prune-ink);
}
