/* ==========================================================================
   TERANGAEXPLORER — PAGE D'ACCUEIL (V15)
   Hero immersif + moteur de recherche. Styles extraits des attributs inline
   de front-page.php pour un rendu premium, maintenable et cohérent.
   ========================================================================== */

/* Single-Level Header Fix for Desktop Homepage */
@media (min-width: 1025px) {
    .home .te-topbar {
        display: none !important;
    }
}

/* ==========================================================================
   1. HERO IMMERSIF
   ========================================================================== */
.te-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(600px, 92vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: 8rem 1.5rem 6rem;
}

.te-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--te-primary);
}

.te-hero__bg img,
.te-hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    animation: te-hero-kenburns 24s ease-out both;
}

@keyframes te-hero-kenburns {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

/* Voile multi-couches : lisibilité + halo ambre Teranga + vignette */
.te-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 80% at 50% 120%, rgba(229, 152, 56, 0.30) 0%, rgba(229, 152, 56, 0) 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(37, 43, 97, 0.42) 38%, rgba(9, 9, 11, 0.90) 100%);
}

.te-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.te-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--te-ds-radius-full);
    font-family: var(--te-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.te-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--te-accent);
    box-shadow: 0 0 0 0 rgba(229, 152, 56, 0.7);
    animation: te-hero-pulse 2.4s infinite;
}

@keyframes te-hero-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(229, 152, 56, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(229, 152, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 152, 56, 0); }
}

.te-hero__title {
    color: #fff;
    font-family: var(--te-font-heading);
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin: 0 0 1.4rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.te-hero__title .accent {
    background: linear-gradient(100deg, #FFD79A 0%, var(--te-accent) 45%, #FFB861 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.te-hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.65;
    max-width: 660px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.te-hero__cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

/* Boutons Hero avec contraste garanti 100% lisible au survol et au clic */
.te-hero .te-btn-primary,
.te-hero a.te-btn-primary {
    background: linear-gradient(135deg, var(--te-accent, #E59838) 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 20px rgba(229, 152, 56, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.te-hero .te-btn-primary:hover,
.te-hero .te-btn-primary:focus,
.te-hero .te-btn-primary:active,
.te-hero a.te-btn-primary:hover,
.te-hero a.te-btn-primary:focus,
.te-hero a.te-btn-primary:active {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(180, 83, 9, 0.5) !important;
}

.te-hero .te-btn-outline,
.te-hero a.te-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 800 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.te-hero .te-btn-outline:hover,
.te-hero .te-btn-outline:focus,
.te-hero .te-btn-outline:active,
.te-hero a.te-btn-outline:hover,
.te-hero a.te-btn-outline:focus,
.te-hero a.te-btn-outline:active {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0f172a !important; /* Couleur sombre contrastée - 100% lisible au clic et survol */
    text-shadow: none !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

/* Bandeau de réassurance */
.te-hero__trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.te-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.te-hero__trust svg {
    width: 18px;
    height: 18px;
    color: var(--te-accent);
    flex: none;
}

/* Invitation au scroll */
.te-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.te-hero__scroll .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    position: relative;
    display: block;
}

.te-hero__scroll .mouse::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 7px;
    margin-left: -2px;
    background: #fff;
    border-radius: 2px;
    animation: te-hero-scroll 1.8s infinite;
}

@keyframes te-hero-scroll {
    0%   { opacity: 0; transform: translateY(0); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ==========================================================================
   2. RECHERCHE — carte flottante chevauchant le hero
   ========================================================================== */
.te-search {
    position: relative;
    z-index: 20;
    margin-top: -56px;
    padding: 0 1rem;
}

.te-search__card {
    max-width: 1080px;
    margin: 0 auto;
    background: var(--te-surface);
    border-radius: var(--te-ds-radius-lg);
    padding: 1.75rem 2rem;
    border: 1px solid var(--te-ds-gray-200);
    box-shadow: var(--te-ds-shadow-modal);
}

.te-search__form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 160px;
    gap: 1rem;
    align-items: end;
}

.te-search__field label {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--te-primary);
    margin-bottom: 6px;
}

.te-search__field select,
.te-search__field input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--te-ds-gray-200);
    border-radius: var(--te-ds-radius-sm);
    padding: 0 12px;
    font-size: 0.95rem;
    font-family: var(--te-font-body);
    color: var(--te-ds-gray-900);
    background-color: var(--te-ds-gray-50);
    transition: var(--te-ds-transition);
}

.te-search__field select:focus,
.te-search__field input:focus {
    outline: none;
    border-color: var(--te-accent);
    background-color: #fff;
    box-shadow: var(--te-ds-focus-ring);
}

.te-search__submit {
    width: 100%;
    height: 48px;
}

.te-search__tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--te-ds-gray-100);
}

.te-search__tags > span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--te-ds-gray-500);
}

.te-search__tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--te-primary);
    background: var(--te-ds-gray-100);
    padding: 6px 14px;
    border-radius: var(--te-ds-radius-full);
    text-decoration: none;
    transition: var(--te-ds-transition);
}

.te-search__tag:hover {
    background: var(--te-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   3. RESPONSIVE & ACCESSIBILITÉ
   ========================================================================== */
@media (max-width: 720px) {
    .te-search__form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .te-hero {
        padding: 6.5rem 1.25rem 5rem;
        min-height: 88vh;
    }
    .te-hero__trust {
        gap: 1rem;
        font-size: 0.82rem;
    }
    .te-hero__scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .te-hero__bg img,
    .te-hero__bg video,
    .te-hero__dot,
    .te-hero__scroll .mouse::after {
        animation: none;
    }
}

/* ==========================================================================
   4. EN-TÊTE DE SECTION PARTAGÉ (eyebrow + titre + sous-titre)
   Modificateurs : --center (centré) | --split (titre à gauche, CTA à droite)
   ========================================================================== */
.te-section {
    padding: 5rem 1rem;
}

.te-section__container {
    max-width: var(--te-max-width);
    margin: 0 auto;
}

.te-section__head {
    margin-bottom: 2.75rem;
}

.te-section__head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.te-section__head--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.te-section__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--te-accent);
    margin-bottom: 8px;
}

.te-section__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--te-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.te-section__sub {
    color: var(--te-ds-gray-500);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 10px 0 0 0;
}

/* ==========================================================================
   5. GRILLE BENTO DES DESTINATIONS
   4 colonnes : 1 vedette 2x2, 2 larges 2x1, 2 courtes 1x1, 2 larges 2x1
   ========================================================================== */
.te-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 1.5rem;
}

.te-dest-card {
    position: relative;
    border-radius: var(--te-ds-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--te-ds-shadow-card);
    transition: transform 0.35s var(--te-ds-ease), box-shadow 0.35s var(--te-ds-ease);
    isolation: isolate;
}

.te-dest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--te-ds-shadow-card-hover);
}

/* Tailles bento */
.te-dest-card--lg   { grid-column: span 2; grid-row: span 2; }
.te-dest-card--wide { grid-column: span 2; }
.te-dest-card--sm   { grid-column: span 1; }

.te-dest-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.7s var(--te-ds-ease);
}

.te-dest-card:hover .te-dest-card__img {
    transform: scale(1.06);
}

.te-dest-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(9, 9, 11, 0.94) 100%);
}

.te-dest-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--te-accent);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: var(--te-ds-radius-full);
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.te-dest-card__body {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
    color: #fff;
}

.te-dest-card__season {
    display: block;
    font-size: 0.8rem;
    color: var(--te-ds-gray-300);
    font-weight: 600;
    margin-bottom: 5px;
}

.te-dest-card__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 6px 0;
}

.te-dest-card--lg .te-dest-card__title {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
}

.te-dest-card__desc {
    color: var(--te-ds-gray-200);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
}

/* Masque la description sur les petites tuiles pour éviter le surchargement */
.te-dest-card--sm .te-dest-card__desc {
    display: none;
}

.te-dest-card__cta {
    background: #fff;
    color: var(--te-primary) !important;
}

.te-dest-card__cta:hover {
    background: var(--te-accent);
    border-color: var(--te-accent);
    color: #fff !important;
}

/* ==========================================================================
   6. RESPONSIVE BENTO
   ========================================================================== */
@media (max-width: 1024px) {
    .te-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    .te-dest-card--lg   { grid-column: span 2; grid-row: span 2; }
    .te-dest-card--wide { grid-column: span 2; }
    .te-dest-card--sm   { grid-column: span 1; }
    .te-dest-card--sm .te-dest-card__desc { display: block; }
}

@media (max-width: 640px) {
    .te-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    .te-dest-card--lg,
    .te-dest-card--wide,
    .te-dest-card--sm {
        grid-column: span 1;
        grid-row: span 1;
    }
    .te-dest-card--sm .te-dest-card__desc { display: block; }
}

/* ==========================================================================
   7. SECTION TEINTÉE + CARTES « EXPLORER PAR BESOIN »
   ========================================================================== */
.te-section--tint {
    background: var(--te-ds-gray-50);
}

.te-need-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.te-need-card {
    background: var(--te-ds-surface);
    border: 1px solid var(--te-ds-gray-200);
    border-radius: var(--te-ds-radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: var(--te-ds-shadow-xs);
    transition: transform 0.3s var(--te-ds-ease), box-shadow 0.3s var(--te-ds-ease), border-color 0.3s var(--te-ds-ease);
}

.te-need-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--te-ds-shadow-card-hover);
    border-color: var(--te-ds-gray-300);
}

.te-need-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--te-ds-radius-md);
    background: var(--te-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 1.25rem;
    transition: transform 0.3s var(--te-ds-ease), background-color 0.3s var(--te-ds-ease);
}

.te-need-card:hover .te-need-card__icon {
    transform: scale(1.06) rotate(-4deg);
    background: var(--te-accent-glow);
}

.te-need-card__title {
    color: var(--te-primary);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 8px 0;
}

.te-need-card__desc {
    color: var(--te-ds-gray-500);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.te-need-card__link {
    color: var(--te-accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.te-need-card:hover .te-need-card__link {
    color: var(--te-ds-accent-dark);
}

/* ==========================================================================
   8. CARTES LISTING (hôtels, sélections) — médias + badges + pied prix/CTA
   ========================================================================== */
.te-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.te-listing-card {
    background: var(--te-ds-surface);
    border: 1px solid var(--te-ds-gray-200);
    border-radius: var(--te-ds-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--te-ds-shadow-card);
    transition: transform 0.3s var(--te-ds-ease), box-shadow 0.3s var(--te-ds-ease);
}

.te-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--te-ds-shadow-card-hover);
}

.te-listing-card__media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--te-ds-gray-200);
    display: block;
}

.te-listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--te-ds-ease);
}

.te-listing-card:hover .te-listing-card__media img {
    transform: scale(1.05);
}

.te-listing-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.te-listing-card__badge--green,
.te-listing-card__badge--accent {
    top: auto;
    bottom: 12px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 0.74rem;
}

.te-listing-card__badge--green {
    background: var(--te-ds-success);
}

.te-listing-card__badge--accent {
    background: var(--te-ds-accent);
}

.te-listing-card__cat {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--te-ds-success);
    margin: 0 0 6px 0;
}

.te-listing-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.te-listing-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 8px 0;
}

.te-listing-card__title a {
    color: var(--te-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.te-listing-card__title a:hover {
    color: var(--te-ds-accent-dark);
}

.te-listing-card__excerpt {
    color: var(--te-ds-gray-500);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.te-listing-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--te-ds-gray-100);
    padding-top: 1rem;
}

.te-listing-card__price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--te-ds-gray-400);
}

.te-listing-card__price {
    color: var(--te-primary);
    font-size: 1rem;
    font-weight: 800;
}

/* =========================================================
   §9 — ÉDITION SPÉCIALE JOJ 2026 (fond sombre + cartes verre)
   ========================================================= */
.te-section--dark {
    background: linear-gradient(135deg, #1e1b4b 0%, var(--te-ds-primary) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1rem 4rem 1rem;
}

.te-section--dark::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 152, 56, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.te-section--dark .te-section__container {
    position: relative;
    z-index: 2;
}

.te-section--dark .te-section__head--center {
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.te-section__pill {
    display: inline-block;
    background: rgba(229, 152, 56, 0.2);
    color: var(--te-ds-accent-light, #E59838);
    border: 1px solid rgba(229, 152, 56, 0.4);
    padding: 6px 18px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.te-section--dark .te-section__title {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.te-section--dark .te-section__sub {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.te-duo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    align-items: stretch;
}

.te-glass-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--te-ds-radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    position: relative;
}

.te-glass-card--gold {
    border-color: rgba(229, 152, 56, 0.3);
}

.te-glass-card__flag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--te-ds-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--te-ds-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.te-glass-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 4px 12px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.te-glass-card__tag--gold {
    background: rgba(229, 152, 56, 0.2);
    color: var(--te-ds-accent-light, #E59838);
    border-color: rgba(229, 152, 56, 0.3);
}

.te-glass-card__title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.te-glass-card__desc {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.te-glass-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    color: #cbd5e1;
    font-size: 0.92rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.te-glass-card .te-btn-primary,
.te-glass-card .te-btn-gold,
.te-glass-card .te-btn-secondary,
.te-glass-card > a {
    margin-top: auto;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
}

/* Bouton doré (surcharge du secondary qui utilise !important) */
.te-btn-gold {
    background: linear-gradient(135deg, var(--te-ds-accent) 0%, var(--te-ds-accent-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: var(--te-ds-shadow-gold) !important;
}

.te-btn-gold:hover {
    background: linear-gradient(135deg, var(--te-ds-accent-dark) 0%, #a8641a 100%) !important;
    box-shadow: 0 8px 26px rgba(229, 152, 56, 0.42) !important;
}

/* =========================================================
   §10 — MAGAZINE / ARTICLES
   ========================================================= */
.te-article-card {
    background: var(--te-ds-surface);
    border: 1px solid var(--te-ds-gray-200);
    border-radius: var(--te-ds-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--te-ds-shadow-card);
    transition: transform 0.3s var(--te-ds-ease), box-shadow 0.3s var(--te-ds-ease);
}

.te-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--te-ds-shadow-card-hover);
}

.te-article-card__media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--te-ds-gray-200);
    display: block;
}

.te-article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--te-ds-ease);
}

.te-article-card:hover .te-article-card__media img {
    transform: scale(1.05);
}

.te-article-card__readtime {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.74rem;
    font-weight: 700;
}

.te-article-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.te-article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.te-article-card__cat {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--te-ds-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.te-article-card__date {
    font-size: 0.75rem;
    color: var(--te-ds-gray-400);
}

.te-article-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.te-article-card__title a {
    color: var(--te-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.te-article-card__title a:hover {
    color: var(--te-ds-accent-dark);
}

.te-article-card__excerpt {
    color: var(--te-ds-gray-500);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.te-article-card .te-btn-small {
    align-self: flex-start;
}

/* =========================================================
   §11 — TERANGA PAY (panneau vert sécurisant)
   ========================================================= */
.te-pay-panel {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    border-radius: var(--te-ds-radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(4, 120, 87, 0.2);
}

.te-pay-panel__pill {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.te-pay-panel__title {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.te-pay-panel__desc {
    color: #d1fae5;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 2rem 0;
}

.te-pay-panel__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.te-btn-on-green {
    background: #ffffff !important;
    color: #047857 !important;
    font-weight: 800;
}

.te-btn-outline--on-green {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.te-pay-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.te-pay-feature {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--te-ds-radius-lg, 16px);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.te-pay-feature__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.te-pay-feature__title {
    color: #ffffff;
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.te-pay-feature__desc {
    color: #d1fae5;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================================
   §12 — CARNET DE VOYAGE (fond navy + étapes numérotées)
   ========================================================= */
.te-section--navy {
    background: linear-gradient(135deg, var(--te-ds-primary) 0%, #0f172a 100%);
}

.te-section--navy::before {
    display: none;
}

.te-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.te-btn-outline--on-dark {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.te-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.te-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.te-step__num {
    background: var(--te-ds-accent);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.te-step__title {
    color: #ffffff;
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.te-step__desc {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================================
   §13 — B2B (carte blanche centrée)
   ========================================================= */
.te-b2b-card {
    background: var(--te-ds-surface);
    border-radius: var(--te-ds-radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.te-b2b-card__pill {
    background: rgba(37, 43, 97, 0.08);
    color: var(--te-ds-primary);
    padding: 6px 18px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.te-b2b-card__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: var(--te-ds-primary);
    margin: 0 0 1rem 0;
    font-weight: 800;
    max-width: 800px;
}

.te-b2b-card__desc {
    color: var(--te-ds-gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 auto 2.5rem auto;
    max-width: 720px;
}

.te-b2b-card .te-cta-row {
    justify-content: center;
}

/* =========================================================
   §14 — GARANTIE & TÉMOIGNAGES
   ========================================================= */
.te-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.te-pillar-card {
    background: var(--te-ds-gray-50, #f8fafc);
    border-radius: var(--te-ds-radius-xl);
    padding: 2rem;
    border: 1px solid var(--te-ds-gray-200);
    text-align: center;
}

.te-pillar-card__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.te-pillar-card__title {
    color: var(--te-ds-primary);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.te-pillar-card__desc {
    color: var(--te-ds-gray-500);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.te-testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
}

.te-testi-card {
    background: var(--te-ds-surface);
    border: 1px solid var(--te-ds-gray-200);
    border-radius: var(--te-ds-radius-xl);
    padding: 2rem;
    box-shadow: var(--te-ds-shadow-card);
}

.te-testi-card__stars {
    color: var(--te-ds-accent);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.te-testi-card__quote {
    font-style: italic;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.te-testi-card__author {
    color: var(--te-ds-primary);
    font-size: 0.9rem;
    display: block;
}

.te-testi-card__meta {
    font-size: 0.8rem;
    color: var(--te-ds-gray-400);
}

/* =========================================================
   §15 — CTA FINAL
   ========================================================= */
.te-final-cta {
    background: linear-gradient(135deg, var(--te-ds-primary) 0%, #0f172a 100%);
    padding: 5rem 1.5rem 6.5rem 1.5rem;
    text-align: center;
    color: #ffffff;
}

.te-final-cta__container {
    max-width: 800px;
    margin: 0 auto;
}

.te-final-cta__pill {
    display: inline-block;
    background: rgba(229, 152, 56, 0.25);
    color: var(--te-ds-accent-light, #E59838);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: var(--te-ds-radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(229, 152, 56, 0.4);
}

.te-final-cta__title {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin: 0 0 1.25rem 0;
    line-height: 1.2;
}

.te-final-cta__desc {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 auto 2.5rem auto;
    max-width: 650px;
}

.te-final-cta .te-cta-row {
    justify-content: center;
}

.te-final-cta__note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}

/* =========================================================
   §16 — SÉPARATEURS DE VAGUES & BOUTONS HOMEPAGE
   ========================================================= */
.te-curve-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}
.te-curve-divider svg {
    display: block;
    width: 100%;
    height: 48px;
}
.te-curve-top {
    margin-bottom: -1px;
}
.te-curve-bottom {
    margin-top: -1px;
    transform: rotate(180deg);
}

.te-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: var(--te-ds-radius-full, 50px);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.te-btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* =========================================================
   §17 — MODE SOMBRE (DARK THEME) HOMEPAGE
   ========================================================= */
[data-theme="dark"] .te-section--tint {
    background: #0b1120;
}
[data-theme="dark"] .te-section__title {
    color: #f8fafc;
}
[data-theme="dark"] .te-section__sub {
    color: #94a3b8;
}
[data-theme="dark"] .te-search__card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .te-search__field label {
    color: #f1f5f9;
}
[data-theme="dark"] .te-search__field select,
[data-theme="dark"] .te-search__field input {
    background-color: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}
[data-theme="dark"] .te-search__tags {
    border-top-color: #334155;
}
[data-theme="dark"] .te-search__tags > span {
    color: #94a3b8;
}
[data-theme="dark"] .te-search__tag {
    background: #334155;
    color: #93c5fd;
}
[data-theme="dark"] .te-search__tag:hover {
    background: var(--te-accent);
    color: #ffffff;
}
[data-theme="dark"] .te-need-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .te-need-card__title {
    color: #f8fafc;
}
[data-theme="dark"] .te-need-card__desc {
    color: #94a3b8;
}
[data-theme="dark"] .te-listing-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .te-listing-card__title a {
    color: #f8fafc;
}
[data-theme="dark"] .te-listing-card__title a:hover {
    color: var(--te-accent);
}
[data-theme="dark"] .te-listing-card__excerpt {
    color: #94a3b8;
}
[data-theme="dark"] .te-listing-card__footer {
    border-top-color: #334155;
}
[data-theme="dark"] .te-listing-card__price {
    color: #f8fafc;
}
[data-theme="dark"] .te-article-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .te-article-card__title a {
    color: #f8fafc;
}
[data-theme="dark"] .te-article-card__title a:hover {
    color: var(--te-accent);
}
[data-theme="dark"] .te-article-card__excerpt {
    color: #94a3b8;
}
[data-theme="dark"] .te-b2b-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .te-b2b-card__pill {
    background: rgba(229, 152, 56, 0.15);
    color: var(--te-accent);
}
[data-theme="dark"] .te-b2b-card__title {
    color: #f8fafc;
}
[data-theme="dark"] .te-b2b-card__desc {
    color: #94a3b8;
}
[data-theme="dark"] .te-pillar-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .te-pillar-card__title {
    color: #f8fafc;
}
[data-theme="dark"] .te-pillar-card__desc {
    color: #94a3b8;
}
[data-theme="dark"] .te-testi-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .te-testi-card__quote {
    color: #cbd5e1;
}
[data-theme="dark"] .te-testi-card__author {
    color: #f8fafc;
}
[data-theme="dark"] .te-curve-divider svg path {
    fill: #0f172a !important;
}
