/*
Theme Name: TerangaExplorer Premium
Theme URI: https://www.terangaexplorer.com
Author: Antigravity Team
Description: Thème e-tourisme premium, immersif et ultra-rapide (SEO-first) pour la destination Sénégal.
Version: 14.5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: terangaexplorer
Domain Path: /languages
*/

:root {
    /* ==========================================================================
       TERANGAEXPLORER GLOBAL DESIGN SYSTEM TOKENS (V14.1.0)
       Harmonisation intégrale sous un seul système visuel
       ========================================================================== */
    --te-primary: #252B61;
    --te-accent: #E59838; /* Ambre Teranga / Or Solaire / Dunes du Sénégal */
    --te-background: #F8FAFC;
    --te-surface: #FFFFFF;
    --te-text: #0F172A;
    --te-muted: #64748B;
    --te-border: #E2E8F0;
    --te-success: #10B981;
    --te-warning: #F59E0B;
    --te-danger: #EF4444;

    /* Rétrocompatibilité & Synchronisation globale */
    --te-color-primary: var(--te-primary);
    --te-color-secondary: #475569;
    --te-color-accent: var(--te-accent);
    --te-color-accent-dark: #C87A22;
    --te-color-light: var(--te-background);
    --te-color-white: var(--te-surface);
    --te-color-dark: var(--te-text);
    --te-text-main: var(--te-text);
    --te-text-muted: var(--te-muted);

    /* Aliases Design System v15 */
    --te-ds-primary: var(--te-primary);
    --te-ds-accent: var(--te-accent);
    --te-ds-surface: var(--te-surface);
    --te-ds-background: var(--te-background);
    --te-ds-text: var(--te-text);
    --te-ds-muted: var(--te-muted);
    --te-ds-border: var(--te-border);
    --te-ds-radius-lg: var(--te-radius-lg);
    --te-ds-radius-xl: var(--te-radius-xl);
    --te-ds-radius-full: 9999px;
    --te-ds-accent-light: var(--te-accent-light);
    --te-ds-shadow-card: var(--te-shadow-md);
    --te-ds-gray-200: var(--te-border);

    /* Typographie */
    --te-font-heading: 'Outfit', sans-serif;
    /* Élégance, appel à l'aventure */
    --te-font-body: 'Inter', sans-serif;
    /* Lisibilité maximale */
    --te-font-base: var(--te-font-body);
    /* Alias global (mega-menu & composants) */

    /* ==========================================================================
       5. GRILLE D'ESPACEMENTS COHÉRENTE (4, 8, 12, 16, 24, 32, 48, 64, 80)
       ========================================================================== */
    --te-space-4: 4px;
    --te-space-8: 8px;
    --te-space-12: 12px;
    --te-space-16: 16px;
    --te-space-24: 24px;
    --te-space-32: 32px;
    --te-space-48: 48px;
    --te-space-64: 64px;
    --te-space-80: 80px;

    /* Dimensions & Marges globales harmonisées */
    --te-max-width: 1280px;
    --te-spacing-xs: var(--te-space-8);
    --te-spacing-sm: var(--te-space-16);
    --te-spacing-md: var(--te-space-32);
    --te-spacing-lg: var(--te-space-64);
    --te-spacing-xl: var(--te-space-80);

    /* UI Elements */
    --te-radius-sm: 4px;
    --te-radius-md: 8px;
    --te-radius-lg: 16px;
    --te-radius-xl: 24px;

    --te-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --te-shadow-md: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px -4px rgba(15, 23, 42, 0.08);
    --te-shadow-lg: 0 2px 6px rgba(15, 23, 42, 0.06), 0 18px 38px -10px rgba(15, 23, 42, 0.16);
    --te-shadow-hover: 0 2px 6px rgba(15, 23, 42, 0.06), 0 26px 50px -12px rgba(15, 23, 42, 0.22);

    /* Teintes d'accent dérivées (surfaces douces, halo) */
    --te-accent-light: #F2B45F;
    --te-accent-soft: rgba(229, 152, 56, 0.12);
    --te-primary-soft: rgba(37, 43, 97, 0.08);

    /* Anneau de focus accessible */
    --te-focus-ring: 0 0 0 3px rgba(229, 152, 56, 0.40);

    --te-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- DARK MODE OVERRIDES --- */
[data-theme="dark"] {
    --te-background: #0f172a;
    --te-surface: #1e293b;
    --te-text: #f8fafc;
    --te-muted: #cbd5e1;
    --te-border: #334155;

    --te-ds-background: #0f172a;
    --te-ds-surface: #1e293b;
    --te-ds-text: #f8fafc;
    --te-ds-muted: #cbd5e1;
    --te-ds-border: #334155;

    --te-color-light: #0f172a;
    --te-color-white: #1e293b;
    --te-color-dark: #f8fafc;
    --te-text-main: #f1f5f9;
    --te-text-muted: #cbd5e1;
    --te-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --te-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --te-shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5);
    --te-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] body { background: #0f172a !important; color: #f1f5f9 !important; }
[data-theme="dark"] .site-header { background: rgba(15, 23, 42, 0.95) !important; }
[data-theme="dark"] .main-navigation a { color: #f1f5f9 !important; }
[data-theme="dark"] .main-navigation a:hover { color: var(--te-color-accent) !important; }
[data-theme="dark"] .site-title a { color: #f1f5f9 !important; }
[data-theme="dark"] .btn-partner { background-color: #f1f5f9 !important; color: #0f172a !important; }
[data-theme="dark"] footer { background: #020617 !important; }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: #1e293b !important; color: #f1f5f9 !important; border-color: #334155 !important; }
[data-theme="dark"] .te-card, [data-theme="dark"] .card { background: #1e293b !important; border-color: #334155 !important; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: #f8fafc !important; }
[data-theme="dark"] p { color: #cbd5e1; }
[data-theme="dark"] a { color: var(--te-color-accent); }

/* Overrides pour conteneurs avec inline background:#fff */
[data-theme="dark"] #te-carnet-ui,
[data-theme="dark"] #te-carnet-ui > div,
[data-theme="dark"] #te-chat-box,
[data-theme="dark"] #te-chat-messages,
[data-theme="dark"] .te-b2b-auth-wrap,
[data-theme="dark"] .te-b2b-submission,
[data-theme="dark"] .te-trip-planner,
[data-theme="dark"] .te-flight-widget,
[data-theme="dark"] .te-widget {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}
[data-theme="dark"] #te-carnet-items > div {
    background: #0f172a !important;
    border-left-color: var(--te-color-primary) !important;
}

/* --- RESET BASIQUE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--te-font-body);
    color: var(--te-text-main);
    background-color: var(--te-color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHIE --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--te-font-heading);
    color: var(--te-color-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--te-spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    color: var(--te-color-primary);
    text-decoration: none;
    transition: var(--te-transition);
}

a:hover {
    color: var(--te-color-secondary);
}

/* Accessibilité : anneau de focus clavier cohérent sur tous les éléments interactifs.
   Le box-shadow épouse le border-radius natif de chaque composant (pas d'écrasement). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--te-focus-ring);
}

p {
    margin-bottom: var(--te-spacing-sm);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES & LAYOUT --- */
.container {
    width: 100%;
    max-width: var(--te-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--te-spacing-xl) 0;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--te-radius-md);
    font-family: var(--te-font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--te-transition);
    border: none;
}

.btn-primary {
    background-color: var(--te-color-primary);
    color: var(--te-color-white);
}

.btn-primary:hover {
    background-color: var(--te-color-dark);
    color: var(--te-color-white);
    transform: translateY(-2px);
    box-shadow: var(--te-shadow-md);
}

.btn-accent {
    background-color: var(--te-color-accent);
    color: var(--te-color-dark);
}

.btn-accent:hover {
    background-color: var(--te-color-accent-dark);
    color: var(--te-color-dark);
}

/* --- ANIMATIONS PRÊTES À L'EMPLOI --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
/* Utilitaires de Grille Responsive (V11.1) */
.te-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; }
.te-grid-25-1 { display: grid; grid-template-columns: 2.5fr 1fr; }
.te-grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; }

@media (max-width: 991px) {
    .te-grid-2-1, .te-grid-25-1, .te-grid-1-1 {
        grid-template-columns: 1fr !important;
    }
}

/* === 3. HEADER & NAVIGATION === */
@media (min-width: 1321px) {
    .main-navigation li.mega-menu {
        position: static;
    }
    .main-navigation li.mega-menu > ul.sub-menu {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        display: none;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
        padding: 30px;
        background: #fff;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }
    .main-navigation li.mega-menu:hover > ul.sub-menu {
        display: grid !important;
    }
}

/* --- 6. BADGE PREMIUM (Upsell) --- */
.badge-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* --- V4.1: UNIFIED HOMEPAGE SECTIONS --- */

.te-stats-bar { background: linear-gradient(135deg, #0f172a, #1e293b); padding: 4rem 0; color: #f1f5f9; }
.te-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.te-stat-number { font-size: 2.8rem; font-weight: 900; color: #f59e0b; font-family: var(--te-font-heading); }
.te-stat-number--green { color: #22c55e; }
.te-stat-label { font-size: 0.95rem; color: #94a3b8; margin-top: 4px; }

.te-testimonial-card { background: var(--te-color-white); padding: 2rem; border-radius: var(--te-radius-lg); box-shadow: var(--te-shadow-sm); transition: var(--te-transition); }
.te-testimonial-card:hover { box-shadow: var(--te-shadow-hover); transform: translateY(-4px); }

.te-guarantee-card { text-align: center; padding: 2.5rem 2rem; border-radius: var(--te-radius-lg); border: 2px solid #e2e8f0; transition: var(--te-transition); background: var(--te-color-white); }
.te-guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--te-shadow-md); }
.te-guarantee-badge { margin-top: 1rem; padding: 6px 14px; border-radius: 50px; display: inline-block; font-size: 0.8rem; font-weight: 600; }
.te-guarantee-badge--green { background: #f0fdf4; color: #15803d; }
.te-guarantee-badge--yellow { background: #fefce8; color: #a16207; }
.te-guarantee-badge--blue { background: #eff6ff; color: #1d4ed8; }

.te-guide-section { background: linear-gradient(135deg, #1B4965, #0f172a); padding: 5rem 0; color: #f1f5f9; position: relative; overflow: hidden; }
.te-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
@media (max-width: 768px) { .te-guide-grid { grid-template-columns: 1fr; } }
.te-guide-preview { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--te-radius-lg); padding: 3rem 2rem; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); text-align: center; }

.te-partner-box { background: linear-gradient(135deg, var(--te-color-white), #f0f9ff); border-radius: var(--te-radius-xl); padding: 4rem 3rem; box-shadow: var(--te-shadow-lg); border: 1px solid #e0f2fe; text-align: center; position: relative; overflow: hidden; }

.te-btn-primary { background: linear-gradient(135deg, var(--te-color-primary), #2563eb); color: #fff !important; padding: 14px 32px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 6px 20px rgba(27,73,101,0.3); transition: var(--te-transition); border: none; cursor: pointer; }
.te-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(27,73,101,0.4); }
.te-btn-accent { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff !important; padding: 14px 32px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(245,158,11,0.4); transition: var(--te-transition); border: none; cursor: pointer; }
.te-btn-accent:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(245,158,11,0.5); }

.te-trust-verified { margin-top: 1.5rem; padding: 1rem; background: #f0fdf4; border-radius: var(--te-radius-md); border: 1px solid #bbf7d0; }
.te-trust-zero-commission { margin-top: 0.8rem; padding: 10px 14px; background: #fefce8; border-radius: var(--te-radius-md); border: 1px solid #fef08a; display: flex; align-items: center; gap: 8px; }

/* --- V4.1: DARK MODE — NEW SECTIONS --- */
[data-theme="dark"] .te-stats-bar { background: linear-gradient(135deg, #020617, #0f172a); }
[data-theme="dark"] .te-testimonial-card { background: #1e293b; }
[data-theme="dark"] .te-guarantee-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .te-guarantee-badge--green { background: rgba(34,197,94,0.15); }
[data-theme="dark"] .te-guarantee-badge--yellow { background: rgba(245,158,11,0.15); }
[data-theme="dark"] .te-guarantee-badge--blue { background: rgba(59,130,246,0.15); }
[data-theme="dark"] .te-partner-box { background: linear-gradient(135deg, #1e293b, #0f172a); border-color: #334155; }
[data-theme="dark"] .te-trust-verified { background: rgba(34,197,94,0.1); border-color: #166534; }
[data-theme="dark"] .te-trust-zero-commission { background: rgba(245,158,11,0.1); border-color: #a16207; }
[data-theme="dark"] .te-guide-section { background: linear-gradient(135deg, #020617, #0f172a); }

/* --- ACCESSIBILITY: FOCUS VISIBLE --- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--te-color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- FOOTER TRUST BAR --- */
.te-footer-trust { display: flex; justify-content: center; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; flex-wrap: wrap; }
.te-footer-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #94a3b8; font-weight: 600; }

/* --- RESPONSIVE REFINEMENTS --- */
@media (max-width: 992px) {
    /* Auto-collapse inline grids that were set to 2 columns (2fr 1fr) */
    .container > div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    /* Disable sticky sidebar on mobile */
    .sidebar {
        position: static !important;
        margin-top: 2rem !important;
    }
    .te-auto-grid {
        grid-template-columns: 1fr !important;
    }
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-padding { padding: 4rem 0; }
    .te-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .te-partner-box { padding: 2.5rem 1.5rem; }
}

/* --- V12 RGPD COOKIE BANNER --- */
.te-cookie-banner { position: fixed; bottom: -200px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 20px 25px; z-index: 99999; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); transition: bottom 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: #f8fafc; }
.te-cookie-banner.show { bottom: 25px; }
.te-cookie-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.te-cookie-text { flex: 1; font-size: 0.85rem; line-height: 1.5; color: #cbd5e1; }
.te-cookie-text strong { color: #fff; font-size: 1rem; display: block; margin-bottom: 5px; }
.te-cookie-btn { background: var(--te-color-primary, #f59e0b); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background 0.3s ease; white-space: nowrap; }
.te-cookie-btn:hover { background: #d97706; }
@media (max-width: 768px) { .te-cookie-banner { border-radius: 12px 12px 0 0; width: 100%; bottom: -250px; } .te-cookie-banner.show { bottom: 0; } .te-cookie-banner-inner { flex-direction: column; text-align: center; } .te-cookie-btn { width: 100%; } }

/* --- V10 CARROUSEL HORIZONTAL MOBILE (SWIPE TINDER/INSTAGRAM) --- */
.te-swipe-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 15px;
}
.te-swipe-gallery::-webkit-scrollbar { display: none; }
.te-swipe-gallery > * {
    scroll-snap-align: start;
    flex: 0 0 80%; /* 80% du slide pour inviter au scroll */
}

/* =====================================================
   V11.1 — CORRECTIONS MOBILES GLOBALES
   ===================================================== */

/* --- Barre de recherche Hero --- */
.search-bar {
    flex-wrap: wrap !important;
    border-radius: 16px !important;
}

@media (max-width: 768px) {
    /* Barre de recherche : empiler verticalement */
    .search-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 20px !important;
        padding: 12px !important;
        gap: 10px;
    }
    .search-bar input[type="search"] {
        padding: 14px 16px !important;
        font-size: 1rem !important;
        width: 100% !important;
    }
    .search-bar button {
        width: 100% !important;
        border-radius: 12px !important;
        margin-left: 0 !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }
    .search-bar svg {
        display: none; /* cacher l'icône loupe sur mobile */
    }

    /* Hero : réduire hauteur sur mobile */
    .hero-section {
        height: 100svh !important;
        min-height: 550px;
    }
    .hero-section h1 {
        font-size: 2.2rem !important;
    }
    .hero-section p {
        font-size: 1rem !important;
    }

    /* Header Partner Button : raccourcir sur mobile */
    .btn-partner {
        font-size: 0.65rem !important;
        padding: 7px 10px !important;
        letter-spacing: 0 !important;
    }
    
    /* Masquer le bouton partenaire sur très petit écran si nécessaire */
    @media (max-width: 400px) {
        .btn-partner {
            display: none !important;
        }
    }

    /* Sections générales */
    .section-padding {
        padding: 3rem 0 !important;
    }

    /* Sidebar sticky sur mobile → pas de sticky */
    .sidebar {
        position: static !important;
    }
    
    /* Single templates : sidebar passe en bas */
    .te-grid-2-1,
    .te-grid-25-1 {
        gap: 2rem !important;
    }

    /* Galerie : forcer 1 seul item visible */
    .te-gallery-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: 280px !important;
    }
    .te-gallery-item:not(.te-gallery-item-1) {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Hero encore plus petit */
    .hero-section h1 {
        font-size: 1.9rem !important;
    }

    /* Topbar : masquer email sur 480px */
    .te-topbar .topbar-email {
        display: none !important;
    }

    /* Personas swipe : prendre 90% de la largeur */
    .te-swipe-gallery > * {
        flex: 0 0 90% !important;
    }
}

/* --- Tablette (entre 769px et 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3rem !important;
    }
    .te-grid-2-1,
    .te-grid-25-1 {
        grid-template-columns: 3fr 2fr !important;
        gap: 2.5rem !important;
    }
}


/* =====================================================
   MASTER OPTIMIZATION v1.0 - Harmonisation Globale
   ===================================================== */

/* 1. Anti-overflow global - empêche le scroll horizontal sur mobile */
html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ==========================================================================
   HIÉRARCHIE TYPOGRAPHIQUE GLOBALE UNIFIÉE (H1, H2, H3, H4, Body, Small, Caption)
   Appliquée rigoureusement à TOUTES les pages et TOUS les templates
   ========================================================================== */
:root {
    --te-type-h1: clamp(2.1rem, 4.2vw, 3.25rem);
    --te-type-h2: clamp(1.65rem, 3.2vw, 2.35rem);
    --te-type-h3: clamp(1.25rem, 2.2vw, 1.65rem);
    --te-type-h4: clamp(1.05rem, 1.6vw, 1.25rem);
    --te-type-body: 1rem;
    --te-type-small: 0.875rem;
    --te-type-caption: 0.75rem;

    /* Rétrocompatibilité */
    --te-fs-h1: var(--te-type-h1);
    --te-fs-h2: var(--te-type-h2);
    --te-fs-h3: var(--te-type-h3);
    --te-fs-h4: var(--te-type-h4);
    --te-fs-body: var(--te-type-body);
    --te-fs-small: var(--te-type-small);
    --te-fs-caption: var(--te-type-caption);
}

/* H1 : Grand titre de page / Hero */
h1, .te-h1, .page-title {
    font-family: var(--te-font-heading);
    font-size: var(--te-type-h1) !important;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--te-text);
    margin-top: 0;
    margin-bottom: 1rem;
}

/* H2 : Titre de section majeure / Grands blocs */
h2, .te-h2, .section-title {
    font-family: var(--te-font-heading);
    font-size: var(--te-type-h2) !important;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--te-text);
    margin-top: 0;
    margin-bottom: 0.85rem;
}

/* H3 : Titre de carte, composant, sous-section */
h3, .te-h3, .card-title {
    font-family: var(--te-font-heading);
    font-size: var(--te-type-h3) !important;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--te-text);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* H4 : Titre de sidebar, widget, filtre, modal */
h4, .te-h4, .widget-title {
    font-family: var(--te-font-heading);
    font-size: var(--te-type-h4) !important;
    font-weight: 600;
    line-height: 1.4;
    color: var(--te-text);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Body : Texte courant, paragraphes, listes */
body, p, .te-body, ul, ol, td, label {
    font-family: var(--te-font-body);
    font-size: var(--te-type-body);
    font-weight: 400;
    line-height: 1.68;
    color: var(--te-text);
}

/* Small : Métadonnées secondaires, résumés courts, avis */
small, .te-small, .text-small, .te-meta-secondary {
    font-family: var(--te-font-body);
    font-size: var(--te-type-small) !important;
    font-weight: 500;
    line-height: 1.5;
    color: var(--te-muted);
}

/* Caption : Badges, puces, mentions légales, copyright, labels */
caption, figcaption, .caption, .te-caption, .badge, .te-filter-chip, .te-card-unified-badge {
    font-family: var(--te-font-body);
    font-size: var(--te-type-caption);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.025em;
}

/* 3. Container harmonisé avec padding fluide */
.container {
    max-width: var(--te-max-width, 1280px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    width: 100%;
    box-sizing: border-box;
}

/* 4. Section padding fluide */
.section-padding {
    padding: clamp(3rem, 7vw, 7rem) 0;
}

/* 5. Micro-animations harmonisées */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth focus ring pour accessibilité */
*:focus-visible {
    outline: 3px solid var(--te-color-primary);
    outline-offset: 3px;
    border-radius: var(--te-radius-sm);
    transition: outline 0.15s ease;
}

/* 6. Cards harmonisées - hover uniforme sur tous les CPT */
.te-card,
.te-hotel-card,
.te-experience-card,
.te-restaurant-card,
.te-circuit-card,
.te-destination-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
    border-radius: var(--te-radius-lg);
    overflow: hidden;
}

.te-card:hover,
.te-hotel-card:hover,
.te-experience-card:hover,
.te-restaurant-card:hover,
.te-circuit-card:hover,
.te-destination-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--te-shadow-hover);
}

/* 7. Boutons harmonisés */
.te-btn,
.btn,
button[class*="te-btn"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.6rem, 1.5vw, 0.85rem) clamp(1.2rem, 2.5vw, 1.8rem);
    border-radius: var(--te-radius-md);
    font-weight: 600;
    font-size: var(--te-fs-small);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    font-family: var(--te-font-body);
}

.te-btn:hover {
    transform: translateY(-2px);
}

/* 8. Grilles responsives harmonisées */
.te-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
}

.te-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.te-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .te-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .te-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .te-grid-4,
    .te-grid-3 { grid-template-columns: 1fr; }
}

/* 9. Hero section fluide */
.hero-section {
    min-height: clamp(500px, 80vh, 900px);
}

.hero-section h1 {
    font-size: var(--te-fs-h1) !important;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* 10. Images lazy-load avec fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img.lazyloaded {
    opacity: 1;
}

/* 11. Skeleton loader pour les chargements AJAX */
.te-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: te-shimmer 1.5s infinite;
    border-radius: var(--te-radius-md);
}

[data-theme="dark"] .te-skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

@keyframes te-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 12. Auto-linker styling (SEO Maillage) */
.te-auto-link {
    color: var(--te-color-primary);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
    font-weight: 500;
}

.te-auto-link:hover {
    text-decoration-color: var(--te-color-primary);
}

/* 13. Live Data (Météo shortcode) */
.te-live-data {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(27, 73, 101, 0.08);
    border: 1px solid rgba(27, 73, 101, 0.15);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--te-color-primary);
    font-feature-settings: 'tnum';
}

[data-theme="dark"] .te-live-data {
    background: rgba(27, 73, 101, 0.2);
    border-color: rgba(27, 73, 101, 0.4);
    color: #7dd3fc;
}

/* 14. FAQ Schema accordeon (si HTML genere par l'IA) */
.te-faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 1rem 0;
}

.te-faq-question {
    font-weight: 600;
    font-size: var(--te-fs-body);
    color: var(--te-color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.te-faq-answer {
    margin-top: 0.75rem;
    color: var(--te-text-muted);
    line-height: 1.7;
    font-size: var(--te-fs-small);
}

/* 15. Page Transition (Swup compatible) */
html.is-animating .swup-transition-main {
    opacity: 0;
    transform: translateY(8px);
}

.swup-transition-main {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 16. Print styles - propre pour l'impression d'itineraires */
@media print {
    .site-header,
    .site-footer,
    .te-topbar,
    .te-cookie-banner,
    #te-chatbot-widget,
    .te-wishlist-btn,
    .no-print { display: none !important; }
    
    body { font-size: 12pt; color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
    h1, h2, h3 { page-break-after: avoid; }
    img { max-width: 100% !important; }
}

/* 17. Admin style pour les outils IA (meilleure UX dans le Dashboard WP) */
#te-ai-generator-wrap,
#te-ai-translator-wrap,
.te-meta-box-ai {
    font-family: var(--te-font-body, 'Inter', sans-serif);
}

/* Button Espace Pro */
.btn-partner {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.btn-partner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
    color: white !important;
}

/* =========================================================
   HARMONISATION DES MARGES & GRILLES (V14.1)
   Résout les espacements excessifs et calibre la sidebar
   ========================================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Marges verticales équilibrées (supprime le grand vide blanc) */
.section-padding {
    padding: 2.5rem 0 !important;
}

.tour-header {
    padding: 3rem 0 2rem 0 !important;
}

/* Grille 2 colonnes parfaite : Contenu large + Sidebar 370px */
.te-grid-2-1,
.te-grid-25-1 {
    display: grid !important;
    grid-template-columns: 1fr 370px !important;
    gap: 3rem !important;
    align-items: start !important;
}

@media (max-width: 1024px) {
    .te-grid-2-1,
    .te-grid-25-1 {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    aside.sidebar {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
    }
}

/* Typographie & Marges du contenu des fiches CPT */
.tour-body .content-area {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #334155;
}

.tour-body .content-area p {
    margin-bottom: 1.5rem;
}

.tour-body .content-area h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.tour-body .content-area h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

/* Sidebar élégante avec ombre douce */
aside.sidebar > div {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07) !important;
    padding: 2.2rem !important;
}


/* --- TYPOGRAPHIE LUXE POUR LES FICHES D'ÉTABLISSEMENTS --- */
.te-hotel-description p {
    margin-bottom: 1.6rem;
    line-height: 1.85;
    color: #334155;
    font-size: 1.12rem;
}

.te-hotel-description p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #0f172a;
    font-weight: 500;
    border-left: 4px solid #f59e0b;
    padding-left: 1.25rem;
    margin-bottom: 2rem;
}

.te-hotel-description h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.te-hotel-description h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    padding: 8px 14px;
    border-radius: 0 8px 8px 0;
}

.te-hotel-description ul,
.te-hotel-description ol {
    padding-left: 1.5rem;
    margin-bottom: 1.8rem;
    line-height: 1.85;
    color: #334155;
}

.te-hotel-description li {
    margin-bottom: 0.6rem;
}



/* Fix Robustesse Mobile 320px & Titres Sans Espace */
body, .te-card, .tour-body, .te-article-body, .page-title, h1, h2, h3, h4, h5, h6, p, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* ==========================================================================
   TERANGAEXPLORER UNIFIED DESIGN SYSTEM (V14.0.0 - PRODUCTION SYSTEM)
   Standardise l'ensemble des pages sous une seule charte produit cohérente.
   ========================================================================== */

:root {
    /* Palette Principale unifiée */
    --te-ds-primary: var(--te-primary);
    --te-ds-primary-dark: #1a1e45;
    --te-ds-primary-light: #353d85;
    --te-ds-primary-soft: rgba(37, 43, 97, 0.08);
    --te-ds-secondary: #475569;
    --te-ds-accent: var(--te-accent);
    --te-ds-accent-dark: #C87A22;
    --te-ds-accent-light: #F2B45F;
    --te-ds-accent-soft: rgba(229, 152, 56, 0.12);
    --te-ds-accent-glow: rgba(229, 152, 56, 0.28);

    /* Neutres & Surfaces */
    --te-ds-dark: #0f172a;
    --te-ds-dark-pure: #09090b;
    --te-ds-gray-50: #f8fafc;
    --te-ds-gray-100: #f1f5f9;
    --te-ds-gray-200: #e2e8f0;
    --te-ds-gray-300: #cbd5e1;
    --te-ds-gray-400: #94a3b8;
    --te-ds-gray-500: #64748b;
    --te-ds-gray-700: #334155;
    --te-ds-gray-900: #0f172a;
    --te-ds-surface: #ffffff;
    --te-ds-surface-raised: #ffffff;

    /* Couleurs Sémantiques */
    --te-ds-wa: #25D366;
    --te-ds-wa-hover: #20bd5a;
    --te-ds-success: #10b981;
    --te-ds-danger: #ef4444;

    /* Rayons de Courbure Unifiés */
    --te-ds-radius-xs: 4px;
    --te-ds-radius-sm: 8px;
    --te-ds-radius-md: 14px;
    --te-ds-radius-lg: 20px;
    --te-ds-radius-xl: 28px;
    --te-ds-radius-full: 9999px;

    /* Ombres en couches (ambient + key light) pour une profondeur premium */
    --te-ds-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --te-ds-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px -4px rgba(15, 23, 42, 0.08);
    --te-ds-shadow-card-hover: 0 2px 6px rgba(15, 23, 42, 0.06), 0 22px 44px -12px rgba(15, 23, 42, 0.20);
    --te-ds-shadow-modal: 0 10px 20px -6px rgba(15, 23, 42, 0.18), 0 32px 64px -16px rgba(15, 23, 42, 0.30);
    --te-ds-shadow-gold: 0 2px 6px rgba(245, 158, 11, 0.20), 0 10px 26px -6px rgba(229, 152, 56, 0.45);

    /* Anneau de focus accessible et cohérent */
    --te-ds-focus-ring: 0 0 0 3px rgba(229, 152, 56, 0.40);

    /* Transitions Standardisées */
    --te-ds-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --te-ds-transition-slow: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --te-ds-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. COMPOSANT CARTE TOURISTIQUE UNIFIÉE (.te-card-unified) */
.te-card-unified {
    background: var(--te-ds-surface);
    border-radius: var(--te-ds-radius-md);
    border: 1px solid var(--te-ds-gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--te-ds-shadow-card);
    transition: var(--te-ds-transition);
    position: relative;
    height: 100%;
}

.te-card-unified:hover {
    transform: translateY(-5px);
    box-shadow: var(--te-ds-shadow-card-hover);
    border-color: #cbd5e1;
}

.te-card-unified-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--te-ds-gray-100);
    display: block;
}

/* Voile dégradé subtil en bas de l'image : détache le badge/contenu, look premium */
.te-card-unified-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0) 45%);
    opacity: 0;
    transition: opacity 0.4s var(--te-ds-ease);
    pointer-events: none;
    z-index: 1;
}

.te-card-unified:hover .te-card-unified-media::after {
    opacity: 1;
}

.te-card-unified-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.te-card-unified:hover .te-card-unified-media img {
    transform: scale(1.05);
}

.te-card-unified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--te-ds-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.te-card-unified-body {
    padding: 1.25rem 1.4rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.te-card-unified-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}

.te-card-unified-region {
    color: var(--te-ds-gray-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.te-card-unified-rating {
    background: #fffbeb;
    color: #b45309;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--te-ds-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
}

.te-card-unified-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--te-ds-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
    font-family: var(--te-font-heading);
}

.te-card-unified-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.te-card-unified-title a:hover {
    color: var(--te-ds-primary);
}

.te-card-unified-excerpt {
    color: var(--te-ds-gray-500);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.te-card-unified-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--te-ds-gray-100);
    margin-top: auto;
    gap: 10px;
}

.te-card-unified-price {
    display: flex;
    flex-direction: column;
}

.te-card-unified-price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--te-ds-gray-400);
    font-weight: 600;
}

.te-card-unified-price-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--te-ds-dark);
}

.te-card-unified-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--te-ds-gray-50);
    border: 1px solid var(--te-ds-gray-200);
    color: var(--te-ds-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: var(--te-ds-radius-sm);
    text-decoration: none;
    transition: var(--te-ds-transition);
}

.te-card-unified-cta:hover {
    background: var(--te-ds-primary);
    color: #ffffff;
    border-color: var(--te-ds-primary);
    transform: translateY(-1px);
    box-shadow: var(--te-ds-shadow-xs);
}

.te-card-unified-cta:focus-visible {
    outline: none;
    box-shadow: var(--te-ds-focus-ring);
}

/* ==========================================================================
   6. SYSTÈME DE BOUTONS GLOBAL
   Tous les boutons partagent : même hauteur (48px / 38px small), même radius (50px),
   même typographie (700 / Inter), mêmes états et mêmes animations.
   ========================================================================== */
.te-btn-primary,
.te-btn-secondary,
.te-btn-outline,
.te-btn-whatsapp,
.te-btn-contact,
.te-btn-small,
.te-btn-sm,
.te-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--te-ds-radius-full, 50px);
    font-family: var(--te-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.te-btn-primary:hover,
.te-btn-secondary:hover,
.te-btn-outline:hover,
.te-btn-whatsapp:hover,
.te-btn-contact:hover,
.te-btn-small:hover,
.te-btn-sm:hover,
.te-btn:hover {
    transform: translateY(-2px);
}

.te-btn-primary:active,
.te-btn-secondary:active,
.te-btn-outline:active,
.te-btn-whatsapp:active,
.te-btn-contact:active,
.te-btn-small:active,
.te-btn-sm:active,
.te-btn:active {
    transform: translateY(0);
}

.te-btn-primary:focus-visible,
.te-btn-secondary:focus-visible,
.te-btn-outline:focus-visible,
.te-btn-whatsapp:focus-visible,
.te-btn-contact:focus-visible,
.te-btn-small:focus-visible,
.te-btn-sm:focus-visible,
.te-btn:focus-visible {
    outline: 2px solid var(--te-accent);
    outline-offset: 3px;
}

/* Primary : Planifier mon voyage */
.te-btn-primary {
    background: linear-gradient(135deg, var(--te-accent), var(--te-ds-accent-dark));
    color: #ffffff !important;
    box-shadow: var(--te-ds-shadow-gold);
}

.te-btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 10px rgba(229, 152, 56, 0.28), 0 16px 34px -8px rgba(229, 152, 56, 0.55);
}

/* Secondary : Explorer */
.te-btn-secondary {
    background: var(--te-primary);
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(37, 43, 97, 0.18), 0 8px 20px -6px rgba(37, 43, 97, 0.35);
}

.te-btn-secondary:hover {
    background: var(--te-ds-primary-dark, #1a1e45);
    box-shadow: 0 2px 6px rgba(37, 43, 97, 0.22), 0 16px 32px -8px rgba(37, 43, 97, 0.45);
}

/* Outline : En savoir plus */
.te-btn-outline {
    background: transparent;
    border: 2px solid var(--te-primary);
    color: var(--te-primary) !important;
}

.te-btn-outline:hover {
    background: var(--te-primary);
    color: #ffffff !important;
}

/* Contact : Contacter sur WhatsApp */
.te-btn-whatsapp,
.te-btn-contact {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.te-btn-whatsapp:hover,
.te-btn-contact:hover {
    background: #20bd5a;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* Small : Voir la fiche (Même radius, même typographie, hauteur 38px) */
.te-btn-small,
.te-btn-sm {
    height: 38px;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.85rem;
    background: var(--te-background);
    border: 1px solid var(--te-border);
    color: var(--te-primary) !important;
}

.te-btn-small:hover,
.te-btn-sm:hover {
    background: var(--te-primary);
    color: #ffffff !important;
    border-color: var(--te-primary);
}

/* ==========================================================================
   7. COMPOSANTS CARTES RÉUTILISABLES (MÊME LANGAGE VISUEL)
   Types : destination, hotel, restaurant, activity, vehicle, article, offer
   ========================================================================== */
.te-card-destination,
.te-card-hotel,
.te-card-restaurant,
.te-card-activity,
.te-card-vehicle,
.te-card-article,
.te-card-offer {
    background: var(--te-surface);
    border-radius: var(--te-ds-radius-md, 14px);
    border: 1px solid var(--te-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--te-ds-shadow-card);
    transition: var(--te-ds-transition);
    position: relative;
    height: 100%;
}

.te-card-destination:hover,
.te-card-hotel:hover,
.te-card-restaurant:hover,
.te-card-activity:hover,
.te-card-vehicle:hover,
.te-card-article:hover,
.te-card-offer:hover {
    transform: translateY(-5px);
    box-shadow: var(--te-ds-shadow-card-hover);
    border-color: #cbd5e1;
}

/* Nuances subtiles de badge par type de carte */
.te-card-destination .te-card-unified-badge { background: rgba(15, 23, 42, 0.85); color: #fff; }
.te-card-hotel .te-card-unified-badge { background: rgba(37, 43, 97, 0.88); color: #facc15; }
.te-card-restaurant .te-card-unified-badge { background: rgba(180, 83, 9, 0.88); color: #fff; }
.te-card-activity .te-card-unified-badge { background: rgba(16, 185, 129, 0.88); color: #fff; }
.te-card-vehicle .te-card-unified-badge { background: rgba(2, 132, 199, 0.88); color: #fff; }
.te-card-article .te-card-unified-badge { background: rgba(100, 116, 139, 0.88); color: #fff; }
.te-card-offer .te-card-unified-badge { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; font-weight: 800; }

/* 3. BARRE DE FILTRES PAR RÉGION (.te-filter-bar) */
.te-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0 16px 0;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.te-filter-bar::-webkit-scrollbar {
    display: none;
}

.te-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--te-ds-surface);
    border: 1px solid var(--te-ds-gray-200);
    color: var(--te-ds-gray-700);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--te-ds-radius-full);
    text-decoration: none !important;
    white-space: nowrap;
    transition: var(--te-ds-transition);
    box-shadow: var(--te-ds-shadow-xs);
}

.te-filter-chip:hover,
.te-filter-chip.active {
    background: var(--te-ds-dark);
    color: #ffffff;
    border-color: var(--te-ds-dark);
    transform: translateY(-1px);
}

/* 4. BLOC DE CROSS-SELLING RÉGIONAL (.te-cross-sell-section) */
.te-cross-sell-section {
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--te-ds-gray-200);
}

.te-cross-sell-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 12px;
}

.te-cross-sell-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--te-ds-dark);
    margin: 0;
    font-family: var(--te-font-heading);
}

.te-cross-sell-subtitle {
    color: var(--te-ds-gray-500);
    font-size: 0.95rem;
    margin: 4px 0 0 0;
}

/* 5. TABLEAUX RESPONSIVE DU DESIGN SYSTEM */
.te-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: var(--te-ds-radius-md);
    border: 1px solid var(--te-ds-gray-200);
    background: var(--te-ds-surface);
    box-shadow: var(--te-ds-shadow-xs);
}

.te-table-responsive table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.te-table-responsive th {
    background: var(--te-ds-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border: none;
    text-align: left;
    white-space: nowrap;
}

.te-table-responsive td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--te-ds-gray-100);
    color: var(--te-ds-gray-700);
    font-size: 0.94rem;
    line-height: 1.5;
}

.te-table-responsive tr:last-child td {
    border-bottom: none;
}

.te-table-responsive tr:nth-child(even) td {
    background: var(--te-ds-gray-50);
}

.te-table-responsive tr:hover td {
    background: #eff6ff;
}

/* 6. HERO BANNER STANDARDISÉ (.te-hero-banner) */
.te-hero-banner {
    background: linear-gradient(135deg, var(--te-ds-dark-pure) 0%, var(--te-ds-primary) 100%);
    color: #ffffff;
    padding: 5rem 1rem 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.te-hero-banner-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.te-hero-banner-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: var(--te-accent, #E59838);
    border: 1px solid rgba(229, 152, 56, 0.4);
    padding: 4px 14px;
    border-radius: var(--te-ds-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.te-hero-banner-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-family: var(--te-font-heading);
}

.te-hero-banner-desc {
    font-size: 1.1rem;
    color: var(--te-ds-gray-300);
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

/* 7. ENCART PAIEMENTS ET RÉASSURANCE CONCIERGERIE */
.te-trust-payments-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--te-ds-gray-50);
    border: 1px solid var(--te-ds-gray-200);
    border-radius: var(--te-ds-radius-sm);
    margin: 1.25rem 0;
}

.te-trust-payments-label {
    font-size: 0.78rem;
    color: var(--te-ds-gray-500);
    font-weight: 600;
}

.te-trust-payment-badge {
    height: 22px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}


/* =========================================================
   8. BREAKPOINTS RESPONSIVE STANDARDISÉS (MODULE 32)
   Breakpoints : 320px, 375px, 390px, 414px, 768px, 1024px, 1280px, 1440px
   ========================================================= */

/* Desktop Large (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1380px;
    }
}

/* Desktop Standard (1280px - 1439px) */
@media (max-width: 1439px) and (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablette Paysage / Petit Laptop (1024px) */
@media (max-width: 1024px) {
    .te-article-container,
    .te-single-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .te-article-sidebar,
    .te-single-sidebar {
        position: static !important;
        top: 0 !important;
    }
}

/* Tablette Portrait (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .section-padding {
        padding: var(--te-spacing-lg, 48px) 0;
    }
    .te-hero-gallery-bento {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
    }
    .te-card-unified-media img {
        height: 190px !important;
    }
}

/* Mobiles Standards (414px, 390px, 375px) */
@media (max-width: 414px) {
    h1, .page-title, .te-hero-banner-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    .te-btn,
    .btn,
    button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Mobiles Étroits (375px & 320px) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px !important;
    }
    h1 {
        font-size: 1.65rem !important;
    }
    .te-card-unified {
        border-radius: 10px !important;
    }
    .te-card-unified-body {
        padding: 1rem !important;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 0.95rem;
    }
    .te-trust-payments-row {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   9. ACCESSIBILITÉ & FOCUS WCAG AA (MODULE 33)
   ========================================================= */

/* Cibles tactiles minimales recommandées 44x44px */
.te-btn,
.btn,
.te-btn-primary,
.te-btn-secondary,
.te-btn-outline,
.te-btn-whatsapp,
.te-filter-chip,
.te-track-pill,
.te-wolof-cat-btn,
button,
a.te-btn-small {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

/* Indicateur de Focus Clavier Accessible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--te-accent, #E59838) !important;
    outline-offset: 2px !important;
}

/* Respect des préférences utilisateur (Animations réduites) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   10. MODULE 37 : BARRE DE NAVIGATION MOBILE INFÉRIEURE
   ========================================================= */
.te-mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Éviter le masquage du contenu en bas de page */
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 10px)) !important;
    }

    .te-mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(56px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #ffffff;
        border-top: 1px solid var(--te-border, #e2e8f0);
        box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.06);
        z-index: 9997;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .te-mbn-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: var(--te-muted, #64748b);
        text-decoration: none;
        background: none;
        border: none;
        padding: 4px 0;
        font-size: 0.72rem;
        font-weight: 600;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .te-mbn-item.active,
    .te-mbn-item:active {
        color: var(--te-primary, #252B61);
    }

    .te-mbn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2px;
    }

    /* Repositionner le bouton carnet flottant pour ne pas masquer la barre */
    #te-carnet-trigger {
        bottom: calc(70px + env(safe-area-inset-bottom, 10px)) !important;
    }
}

/* =========================================================
   11. MODULE 40 : RÈGLE ABSOLUE SUR LES IMAGES (ZERO DISTORTION)
   ========================================================= */
img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.te-card-unified-media img,
.te-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.te-hero-gallery-bento img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* =========================================================
   12. MODULE 38 : CTA WHATSAPP CONTEXTUEL & DISCRET
   ========================================================= */
.te-btn-contextual-wa {
    background: #25D366;
    color: #ffffff !important;
    border: none;
    border-radius: var(--te-radius-md, 12px);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.te-btn-contextual-wa:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}


/* ==========================================================================
   MODULE AVIS & COMMENTAIRES LUXURY (RESPONSIVE MULTI-SUPPORTS)
   ========================================================================== */
#respond,
.te-reviews-container,
.comments-area {
    background: #ffffff;
    border: 1px solid var(--te-border, #e2e8f0);
    border-radius: var(--te-radius-lg, 16px);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    margin: 3.5rem auto 2.5rem auto;
    max-width: 900px;
    box-sizing: border-box;
}

#reply-title,
.comments-title {
    font-family: var(--te-font-heading, inherit);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--te-primary, #252B61);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-notes {
    color: var(--te-muted, #64748b);
    font-size: 0.92rem;
    margin: 0 0 1.75rem 0;
    line-height: 1.5;
}

/* Grille des champs Auteur / Email / URL */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comment-form p,
.comment-form .te-comment-field {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.comment-form label {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1e293b;
    margin-bottom: 6px;
    display: block;
}

.comment-form label .required {
    color: var(--te-accent, #E59838);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 13px 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--te-primary, #252B61) !important;
    box-shadow: 0 0 0 3px rgba(37, 43, 97, 0.12) !important;
    outline: none !important;
}

.comment-form textarea {
    min-height: 130px !important;
    resize: vertical;
}

/* Checkbox Cookies Consent */
.comment-form-cookies-consent,
.te-field-cookies {
    margin-top: 0.25rem;
}

.comment-form-cookies-consent label,
.te-checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    color: #64748b !important;
    cursor: pointer;
    line-height: 1.4;
}

.comment-form-cookies-consent input[type="checkbox"],
.te-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--te-primary, #252B61);
    cursor: pointer;
    flex-shrink: 0;
}

/* Sélecteur d'étoiles interactif */
.te-review-rating-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0.5rem 0;
}

.te-rating-header {
    display: flex;
    flex-direction: column;
}

.te-rating-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.te-rating-hint {
    font-size: 0.82rem;
    color: #64748b;
}

.te-stars {
    display: inline-flex;
    gap: 8px;
    user-select: none;
}

.te-stars span {
    font-size: 32px;
    line-height: 1;
    color: #cbd5e1;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
}

.te-stars span:hover {
    transform: scale(1.2);
}

/* Bouton de Soumission */
.form-submit,
.te-form-submit-wrap {
    margin-top: 1rem;
    display: flex;
}

.te-btn-submit-review {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: var(--te-primary, #252B61) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    padding: 14px 36px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    width: auto !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(37, 43, 97, 0.25) !important;
}

.te-btn-submit-review:hover {
    background: #191d44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 43, 97, 0.35) !important;
}

/* ==========================================================================
   ANTI-COLLISION MULTI-SUPPORTS POUR WIDGETS FLOTTANTS (MOBILE / TABLET / DESKTOP)
   ========================================================================== */

/* 1. Desktop & Grand écran */
#te-carnet-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    transition: transform 0.3s ease;
}

#te-wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9991;
}

#te-chatbot-widget {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 9992;
}

/* 2. Écrans Mobiles & Tablettes (<= 768px) */
@media (max-width: 1024px) {
    /* Le Carnet est directement accessible dans la barre mobile inférieure, on masque le bouton flottant gauche pour éviter la collision */
    #te-carnet-trigger {
        display: none !important;
    }

    /* Masquer les badges de texte flottants sur mobile pour ne pas encombrer l'écran */
    #te-chat-badge,
    #te-wa-widget div[style*="position:absolute"][style*="right:70px"],
    #te-wa-widget div[style*="position: absolute"][style*="right: 70px"],
    #te-wa-widget span {
        display: none !important;
    }

    /* Positionnement étagé propre au-dessus de la barre de navigation mobile */
    #te-wa-widget {
        position: fixed !important;
        bottom: 76px !important;
        right: 16px !important;
        z-index: 9991 !important;
    }
    #te-wa-widget a {
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
    }

    #te-chatbot-widget {
        position: fixed !important;
        bottom: 136px !important;
        right: 16px !important;
        z-index: 9992 !important;
    }
    #te-chat-toggle {
        width: 48px !important;
        height: 48px !important;
    }
    #te-chat-toggle svg {
        width: 22px !important;
        height: 22px !important;
    }
}
    /* Formulaire d'avis adapté au mobile */
    #respond,
    .comments-area {
        padding: 1.5rem 1.25rem !important;
        border-radius: 12px !important;
        margin-top: 2rem !important;
    }

    .te-review-rating-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .form-submit,
    .te-form-submit-wrap,
    .te-btn-submit-review {
        width: 100% !important;
        padding: 15px 20px !important;
    }
}


/* ==========================================================================
   TERANGAEXPLORER LUXURY GUTENBERG BLOCK SYSTEM & EMPTY STATES (V14.2)
   Harmonisation des blocs natifs WordPress 6.x et des pages standards
   ========================================================================== */

/* 1. Typographie & Contenu Rich-Text */
.te-entry-rich-text h2,
.entry-content h2 {
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    font-weight: 800;
    color: var(--te-primary, #252B61);
    margin: 2.5rem 0 1rem 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.te-entry-rich-text h3,
.entry-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--te-text, #0f172a);
    margin: 2rem 0 0.85rem 0;
    line-height: 1.3;
}

.te-entry-rich-text p,
.entry-content p {
    margin: 0 0 1.5rem 0;
    line-height: 1.8;
}

.te-entry-rich-text a:not(.te-btn),
.entry-content a:not(.te-btn):not(.button) {
    color: var(--te-accent, #E59838);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.te-entry-rich-text a:hover,
.entry-content a:hover {
    color: var(--te-primary, #252B61);
}

/* 2. Blocs Citations (Blockquotes) */
.wp-block-quote,
blockquote {
    background: #fdfaf6;
    border-left: 4px solid var(--te-accent, #E59838);
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e293b;
    position: relative;
}

.wp-block-quote p,
blockquote p {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.wp-block-quote cite,
blockquote cite {
    display: block;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 700;
    color: var(--te-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3. Blocs Tableaux (Tables Responsives) */
.wp-block-table {
    margin: 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--te-border, #e2e8f0);
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.wp-block-table th {
    background: var(--te-primary, #252B61);
    color: #ffffff;
    padding: 14px 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.wp-block-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.wp-block-table tr:nth-child(even) td {
    background: #f8fafc;
}

.wp-block-table tr:hover td {
    background: #f1f5f9;
}

/* 4. Blocs Listes */
.te-entry-rich-text ul,
.entry-content ul {
    margin: 1.5rem 0 2rem 1.5rem;
    padding: 0;
    list-style-type: disc;
}

.te-entry-rich-text li,
.entry-content li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

/* 5. Pagination Moderne */
.navigation.pagination {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.navigation.pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.navigation.pagination a,
.navigation.pagination span.current,
.navigation.pagination span.dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--te-border, #e2e8f0);
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
}

.navigation.pagination a:hover {
    background: var(--te-primary, #252B61);
    color: #ffffff;
    border-color: var(--te-primary, #252B61);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 43, 97, 0.15);
}

.navigation.pagination span.current {
    background: var(--te-accent, #E59838);
    color: #ffffff;
    border-color: var(--te-accent, #E59838);
    box-shadow: 0 4px 12px rgba(229, 152, 56, 0.3);
}

/* 6. Composant Empty State Universel */
.te-empty-state-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--te-border, #e2e8f0);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 650px;
    margin: 3rem auto;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
}

.te-empty-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
}


/* ==========================================================================
   SYSTÈME RESPONSIVE UNIVERSEL MULTI-SUPPORTS (MOBILE, TABLETTE, DESKTOP)
   ========================================================================== */

/* 1. Reset Anti-Débordement Universel */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* 2. Layouts 2 Colonnes avec Sidebar (Singles & Pages) */
.te-single-grid-layout,
.te-has-sidebar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .te-single-grid-layout,
    .te-has-sidebar-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

@media (max-width: 640px) {
    .te-single-grid-layout,
    .te-has-sidebar-grid {
        gap: 1.75rem !important;
    }
}

/* 3. Moteur de Recherche Rapide (Hero Search) */
.te-hero-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 160px;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 860px) {
    .te-hero-search-form {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    }
    .te-hero-search-form > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .te-hero-search-form {
        grid-template-columns: 1fr !important;
    }
    .te-search-section {
        margin-top: -25px !important;
        padding: 0 0.75rem !important;
    }
    .te-search-section > .container > div {
        padding: 1.25rem !important;
    }
}

/* 4. Grille Bento des Destinations */
@media (max-width: 768px) {
    .te-dest-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .te-card-destination {
        height: 320px !important;
    }
}

@media (max-width: 480px) {
    .te-card-destination {
        height: 300px !important;
    }
}

/* 5. Cartes Éditoriales & Hébergements */
@media (max-width: 480px) {
    .te-card-hotel .te-card-img-wrap,
    .te-card-hotel div[style*="height: 230px"],
    .te-card-activity div[style*="height: 230px"],
    .te-card-article div[style*="height: 210px"] {
        height: 200px !important;
    }
}

/* 6. Piliers Stratégiques (JOJ 2026, Pass Privilège, Teranga Pay, B2B) */
@media (max-width: 768px) {
    .te-special-edition-section,
    .te-pay-section,
    .te-b2b-partner-section,
    .te-final-cta-section {
        padding: 3.5rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .te-special-edition-section,
    .te-pay-section,
    .te-b2b-partner-section,
    .te-final-cta-section {
        padding: 2.75rem 0.75rem !important;
    }
    .te-pay-section > .container > div {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }
}

/* 7. Boutons & Cibles Tactiles Mobile */
@media (max-width: 480px) {
    .te-btn-primary,
    .te-btn-secondary,
    .te-btn-outline,
    .te-btn-whatsapp {
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 20px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
}

/* 8. Tableaux Responsives & Défilement Tactile */
.wp-block-table,
.te-table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}

/* 9. Barre de Filtres Horizontale (Archives & Régions) */
.te-dest-sticky-nav,
.te-regional-filters-wrapper {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.te-dest-sticky-nav::-webkit-scrollbar,
.te-regional-filters-wrapper::-webkit-scrollbar {
    display: none;
}

/* 10. Chatbot Mobile Responsive */
@media (max-width: 480px) {
    #te-ai-chatbot-window {
        width: calc(100vw - 24px) !important;
        right: 12px !important;
        left: 12px !important;
        bottom: 80px !important;
        max-height: 80vh !important;
    }
}

/* ==========================================================================
   11. MASTER LUXURY DESIGN SYSTEM : SANS CASSURES & POLISSAGE 5 ÉTOILES
   Architecture visuelle immersive continue, transitions organiques & cartes haute-couture
   ========================================================================== */

/* A. Diviseurs de Courbes Organiques (Suppression des ruptures de section) */
.te-curve-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 10;
}

.te-curve-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 48px;
}

@media (min-width: 768px) {
    .te-curve-divider svg {
        height: 72px;
    }
}

@media (min-width: 1200px) {
    .te-curve-divider svg {
        height: 90px;
    }
}

.te-curve-top {
    margin-top: -1px;
}

.te-curve-bottom {
    margin-bottom: -1px;
    transform: rotate(180deg);
}

/* B. Master Luxury Card Elevation & Micro-interactions */
.te-card,
.te-card-hotel,
.te-card-activity,
.te-card-article,
.te-card-destination,
.te-feature-card {
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
    overflow: hidden !important;
}

.te-card:hover,
.te-card-hotel:hover,
.te-card-activity:hover,
.te-card-article:hover,
.te-card-destination:hover,
.te-feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 45px -12px rgba(37, 43, 97, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.04), 0 0 0 1.5px rgba(229, 152, 56, 0.38) !important;
    border-color: rgba(229, 152, 56, 0.38) !important;
}

/* Zoom Progressif & Cinématique de l'Image */
.te-card img,
.te-card-hotel img,
.te-card-activity img,
.te-card-article img,
.te-card-destination img,
.te-feature-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.te-card:hover img,
.te-card-hotel:hover img,
.te-card-activity:hover img,
.te-card-article:hover img,
.te-card-destination:hover img,
.te-feature-card:hover img {
    transform: scale(1.06) !important;
}

/* C. Moteur de Recherche Flottant Ultra-Luxe */
.te-search-section > .container > div {
    border-radius: 24px !important;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.te-hero-search-form select:focus,
.te-hero-search-form input:focus {
    border-color: var(--te-accent, #E59838) !important;
    box-shadow: 0 0 0 3px rgba(229, 152, 56, 0.18) !important;
    background-color: #ffffff !important;
}

/* D. Badges et Pilules Glassmorphism */
.te-badge-pill,
.te-glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* E. Boutons avec Halo Lumineux Teranga */
.te-btn-primary {
    background: linear-gradient(135deg, #E59838 0%, #D48727 100%) !important;
    box-shadow: 0 4px 16px rgba(229, 152, 56, 0.35) !important;
}

.te-btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #c97a1f 100%) !important;
    box-shadow: 0 8px 25px rgba(229, 152, 56, 0.48) !important;
    transform: translateY(-2px) !important;
}

.te-btn-secondary {
    background: linear-gradient(135deg, var(--te-primary, #252B61) 0%, #1A1F47 100%) !important;
    box-shadow: 0 4px 16px rgba(37, 43, 97, 0.28) !important;
}

.te-btn-secondary:hover {
    background: linear-gradient(135deg, #1A1F47 0%, #0F132F 100%) !important;
    box-shadow: 0 8px 24px rgba(37, 43, 97, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   F. LUXURY REVIEWS & COMMENT FORM DESIGN SYSTEM (V14.3.0)
   ========================================================================== */
.te-reviews-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin-top: 3rem;
}

#review_form_wrapper,
.comment-respond {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2.5rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.04);
}

.comment-reply-title {
    font-family: var(--te-font-heading, inherit);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-notes {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.8rem;
}

.te-comment-field {
    margin-bottom: 1.4rem;
}

.te-comment-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.te-comment-field input[type="text"],
.te-comment-field input[type="email"],
.te-comment-field input[type="url"],
.te-comment-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.te-comment-field input:focus,
.te-comment-field textarea:focus {
    outline: none;
    border-color: var(--te-accent, #E59838);
    box-shadow: 0 0 0 4px rgba(229, 152, 56, 0.15);
    background-color: #ffffff;
}

.te-comment-field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.te-review-rating-wrapper {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.2rem 1.6rem;
    margin-bottom: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.te-rating-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.te-rating-label {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.98rem;
    margin: 0;
}

.te-rating-hint {
    font-size: 0.82rem;
    color: #64748b;
}

.te-stars {
    display: flex;
    gap: 6px;
    font-size: 1.8rem;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.te-stars span {
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.te-stars span:hover {
    transform: scale(1.2);
    color: var(--te-accent, #E59838);
}

.te-form-submit-wrap {
    margin-top: 1.5rem;
}

.te-btn-submit-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--te-primary, #252B61) 0%, #1e1b4b 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(37, 43, 97, 0.3) !important;
    transition: all 0.3s ease !important;
}

.te-btn-submit-review:hover {
    background: linear-gradient(135deg, var(--te-accent, #E59838) 0%, #d97706 100%) !important;
    box-shadow: 0 8px 25px rgba(229, 152, 56, 0.45) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
    .te-reviews-container,
    #review_form_wrapper,
    .comment-respond {
        padding: 1.5rem;
        border-radius: 16px;
    }
    .te-review-rating-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .te-stars {
        font-size: 2rem;
    }
    .te-btn-submit-review {
        width: 100%;
    }
}




/* ==========================================================================
   DESIGN POLISH V14.4 — BOUTONS, CHAMPS, SELECTS & BARRES DE RECHERCHE
   Corrections visuelles & UX : selects custom, focus amber, CTA engageant,
   filter chips doux, fix mobile width, consolidation te-btn-primary.
   ========================================================================== */

/* A. SELECTS CUSTOM UNIFIÉS */
.te-flt-input,
.te-hero-search-form select,
select.te-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23E59838' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    padding-right: 36px !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* B. FOCUS COHERENT — ANNEAU AMBER */
.te-flt-input:focus,
.te-hero-search-form select:focus,
.te-hero-search-form input:focus,
.te-hero-search-form input[type="search"]:focus,
.te-hotel-filter-bar select:focus,
select.te-select:focus,
input.te-input:focus,
textarea.te-textarea:focus {
    border-color: var(--te-accent, #E59838) !important;
    box-shadow: 0 0 0 3px rgba(229, 152, 56, 0.18) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

.te-flt-input:hover,
.te-hero-search-form select:hover,
.te-hotel-filter-bar select:hover {
    border-color: var(--te-accent, #E59838) !important;
    background-color: #fffef9 !important;
}

/* C. CTA CARTE — PLUS ENGAGEANT */
.te-card-unified-cta {
    background: var(--te-primary, #252B61) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(37, 43, 97, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.te-card-unified-cta:hover {
    background: linear-gradient(135deg, var(--te-accent, #E59838), #C87A22) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(229, 152, 56, 0.38) !important;
    transform: translateY(-2px) !important;
}

.te-card-unified-cta svg,
.te-card-unified-cta .te-cta-arrow {
    transition: transform 0.2s ease;
}

.te-card-unified-cta:hover svg,
.te-card-unified-cta:hover .te-cta-arrow {
    transform: translateX(3px);
}

/* D. FILTER CHIPS — HOVER BLEU MARINE */
.te-filter-chip {
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.te-filter-chip:hover {
    background: var(--te-primary, #252B61) !important;
    color: #ffffff !important;
    border-color: var(--te-primary, #252B61) !important;
    box-shadow: 0 4px 14px rgba(37, 43, 97, 0.22) !important;
    transform: translateY(-2px) !important;
}

.te-filter-chip.active {
    background: linear-gradient(135deg, var(--te-primary, #252B61), #1a1e45) !important;
    color: #ffffff !important;
    border-color: var(--te-primary, #252B61) !important;
    box-shadow: 0 4px 14px rgba(37, 43, 97, 0.3), inset 0 0 0 1.5px rgba(229,152,56,0.45) !important;
}

.te-filter-chip:focus-visible {
    outline: 2px solid var(--te-accent, #E59838) !important;
    outline-offset: 2px !important;
}

/* E. FIX BOUTONS MOBILES — PLUS DE width:100% GLOBAL */
@media (max-width: 480px) {
    .te-btn-primary,
    .te-btn-secondary,
    .te-btn-outline,
    .te-btn-whatsapp,
    .te-btn-contact {
        width: auto !important;
        min-width: 0 !important;
    }

    .te-btn-row-single .te-btn-primary,
    .te-btn-row-single .te-btn-secondary,
    .te-btn-row-single .te-btn-outline,
    .te-cta-full-width .te-btn-primary,
    .te-cta-full-width .te-btn-secondary,
    .te-form-submit-wrap .te-btn-primary,
    .form-submit .submit,
    .te-hero-search-form button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* F. BARRE FILTRES HOTELS — SELECTS CUSTOM */
.te-hotel-filter-bar .te-flt-input,
.te-hotel-filter-bar select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23E59838' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 32px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
    cursor: pointer;
}

.te-hotel-filter-bar .te-flt-input:focus,
.te-hotel-filter-bar select:focus {
    border-color: var(--te-accent, #E59838) !important;
    box-shadow: 0 0 0 3px rgba(229, 152, 56, 0.15) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* G. CONSOLIDATION .te-btn-primary */
.te-btn-primary {
    background: linear-gradient(135deg, #E59838 0%, #C87A22 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(229, 152, 56, 0.35) !important;
    border: none !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.te-btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 8px 28px rgba(229, 152, 56, 0.52) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.te-btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 12px rgba(229, 152, 56, 0.3) !important;
}

/* H. CONSOLIDATION .te-btn-secondary */
.te-btn-secondary {
    background: linear-gradient(135deg, var(--te-primary, #252B61) 0%, #1A1F47 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(37, 43, 97, 0.28) !important;
    border: none !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.te-btn-secondary:hover {
    background: linear-gradient(135deg, #1A1F47 0%, #0F132F 100%) !important;
    box-shadow: 0 8px 26px rgba(37, 43, 97, 0.42) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* I. BOUTON OUTLINE */
.te-btn-outline {
    background: transparent !important;
    border: 2px solid var(--te-primary, #252B61) !important;
    color: var(--te-primary, #252B61) !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 26px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

.te-btn-outline:hover {
    background: var(--te-primary, #252B61) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 43, 97, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Outline sur fond sombre (Hero) */
.te-hero-block .te-btn-outline {
    border-color: rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
}

.te-hero-block .te-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: #ffffff !important;
    backdrop-filter: blur(4px) !important;
}

/* J. BARRE DE RECHERCHE GLOBALE WP (.search-bar) */
.search-bar {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
}

.search-bar input[type="search"],
.search-bar input[type="text"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    flex: 1;
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    font-family: var(--te-font-body, 'Inter', sans-serif) !important;
}

.search-bar input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.search-bar button[type="submit"],
.search-bar input[type="submit"] {
    background: linear-gradient(135deg, #E59838, #C87A22) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 22px !important;
    border-radius: 10px !important;
    margin: 5px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.search-bar button[type="submit"]:hover,
.search-bar input[type="submit"]:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 4px 14px rgba(229, 152, 56, 0.38) !important;
    transform: translateY(-1px) !important;
}

/* K. PAGINATION PREMIUM */
.navigation.pagination span.current {
    background: linear-gradient(135deg, var(--te-accent, #E59838), #C87A22) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(229, 152, 56, 0.32) !important;
}

/* L. DARK MODE — SELECTS & INPUTS */
[data-theme="dark"] .te-flt-input,
[data-theme="dark"] .te-hero-search-form select,
[data-theme="dark"] .te-hotel-filter-bar select,
[data-theme="dark"] select.te-select {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .te-flt-input:focus,
[data-theme="dark"] .te-hero-search-form select:focus,
[data-theme="dark"] .te-hotel-filter-bar select:focus {
    background-color: #0f172a !important;
    border-color: var(--te-accent, #E59838) !important;
}

[data-theme="dark"] .te-card-unified-cta {
    background: #334155 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .te-card-unified-cta:hover {
    background: linear-gradient(135deg, var(--te-accent, #E59838), #C87A22) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .te-filter-chip {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .te-filter-chip:hover,
[data-theme="dark"] .te-filter-chip.active {
    background: var(--te-accent, #E59838) !important;
    color: #0f172a !important;
    border-color: var(--te-accent, #E59838) !important;
}

/* M. RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .te-hotel-filter-bar {
        padding: 1rem 0.75rem !important;
    }

    .te-filter-bar {
        padding-bottom: 10px !important;
        gap: 6px !important;
    }

    .te-filter-chip {
        font-size: 0.82rem !important;
        padding: 7px 13px !important;
    }
}

@media (max-width: 480px) {
    .te-filter-chip {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
}

/* N. HOVER GLOW SUR LE FORMULAIRE HERO */
.te-search-section > .container > div:hover {
    box-shadow: 0 20px 55px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(229, 152, 56, 0.12) !important;
    transition: box-shadow 0.3s ease !important;
}

/* O. TOPBAR SVG SIZING SAFEGUARD */
.te-topbar-social svg,
.te-topbar-text svg,
.te-topbar svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* P. GLOBAL RESPONSIVE & ADMIN BAR HARMONIZATION (V14.5.0) */
body.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
@media screen and (max-width: 1320px) {
    body.admin-bar .main-navigation.active {
        top: calc(100% + 32px);
    }
}
@media screen and (max-width: 782px) {
    body.admin-bar .main-navigation.active {
        top: calc(100% + 46px);
    }
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.site-main,
.site-content,
.container,
.te-page-content,
.entry-content,
.te-form-card,
.te-card-unified {
    max-width: 100%;
    box-sizing: border-box;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .te-form-card {
        padding: 1.25rem 1rem !important;
        border-radius: 14px !important;
    }
}

/* Q. ULTRA-POLISHED MOBILE EXPERIENCE (SMARTPHONE PERFECTION 320px-640px) */
@media (max-width: 768px) {
    /* Preventing iOS Safari auto-zoom on form inputs */
    input,
    select,
    textarea,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="date"] {
        font-size: 16px !important;
        touch-action: manipulation;
    }
}

@media (max-width: 640px) {
    /* Touch Targets & Button Usability */
    a.te-btn-primary,
    a.te-btn-secondary,
    a.te-btn-outline,
    a.te-btn-whatsapp,
    button.te-btn-primary,
    button.te-btn-secondary,
    button.te-btn-outline,
    .te-btn-small,
    .te-filter-chip,
    .te-flt-pill,
    .te-track-pill {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Full-width Grids on Mobile */
    .te-listing-grid,
    .te-duo-grid,
    .te-craft-duo-grid,
    .te-pillar-grid,
    .te-testi-grid,
    .te-dest-grid-cards,
    .te-need-grid,
    .te-card-grid,
    .te-field-grid-2,
    .te-dest-dynamic-listings,
    #te-dest-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    /* Smooth Horizontal Swiping for Nav Anchors & Filter Pills */
    .te-dest-sticky-nav__inner,
    .te-filter-pills-wrapper,
    .te-track-pills-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
        scrollbar-width: none !important;
    }
    .te-dest-sticky-nav__inner::-webkit-scrollbar,
    .te-filter-pills-wrapper::-webkit-scrollbar,
    .te-track-pills-row::-webkit-scrollbar {
        display: none !important;
    }

    /* Mobile Header & Hamburger Fine-Tuning */
    .te-hamburger {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .site-branding img.custom-logo {
        max-height: 46px !important;
    }

    /* Mobile Hero Typography */
    .te-page-hero-title,
    .te-dest-hero__title,
    .te-final-cta__title {
        font-size: clamp(1.65rem, 6.5vw, 2.2rem) !important;
        line-height: 1.2 !important;
    }

    .te-page-hero-desc,
    .te-dest-hero__tagline {
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
    }

    /* Floating / Sticky Mobile Adjustments */
    .te-dest-sidebar,
    .te-cpt-aside {
        position: static !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Small Smartphone Layout (320px-480px) */
    .container {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    .te-form-card,
    .te-panel,
    .te-dest-side-card {
        padding: 1.15rem 0.9rem !important;
        border-radius: 14px !important;
    }

    .te-header-actions .te-btn-outline,
    .te-header-actions .te-map-link-btn {
        padding: 0 8px !important;
        font-size: 0.78rem !important;
    }
}

/* R. GLOBAL FONT UNIFORMIZATION (OUTFIT & INTER HARMONY) */
:root {
    --te-font-heading: 'Outfit', 'Inter', sans-serif;
    --te-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.te-hero__title,
.te-arc-hero__title,
.te-page-hero-title,
.te-section-title,
.te-dest-hero__title,
.te-dest-sub-title,
.te-cpt-title,
.te-panel__title,
.te-listing-card__title,
.te-art-card__title,
.te-glass-card__title,
.te-b2b-card__title,
.te-final-cta__title,
.te-pay-panel__title,
.te-circuit-card__title,
.te-resto-card h3,
.te-mega-title {
    font-family: var(--te-font-heading, 'Outfit', sans-serif) !important;
}

body, p, span, a, label, input, select, textarea, button, li, td, th {
    font-family: var(--te-font-body, 'Inter', sans-serif);
}

/* === FIN DESIGN POLISH V14.5.0 === */
