/* Fichier: style.css */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slow-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.animate-slow-zoom {
    animation: slow-zoom 20s infinite alternate ease-in-out;
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.nav-scrolled .nav-link { color: #0f172a !important; }
.nav-scrolled .nav-logo { color: #0f172a !important; }

.search-suggestion:hover { background-color: #f1f5f9; }

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f1f5f9; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.5); cursor: pointer; }

.flag-icon {
    width: 24px; height: auto; border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.continent-badge {
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.1em; padding: 2px 8px; border-radius: 99px;
    background: #e2e8f0; color: #475569;
}
/* --- AJOUT DANS style.css --- */

/* Cacher la scrollbar tout en gardant le scroll fonctionnel */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Empêcher la sélection de texte quand on glisse la souris */
.no-select {
    user-select: none;
    -webkit-user-select: none;
}
/* --- STYLE DES ARTICLES DE BLOG / VILLES --- */

/* Hero Article */
.article-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-attachment: fixed; /* Effet Parallaxe */
    background-position: center;
    background-size: cover;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9));
}

/* Mise en page Contenu + Sidebar */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .article-grid {
        grid-template-columns: 2fr 1fr; /* 2/3 texte, 1/3 sidebar */
    }
}

/* Typographie Article */
.article-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.875rem; /* 30px */
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.article-content h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2563eb; /* Bleu marque */
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* TABLEAU DATA (SEO FRIENDLY & VISUEL) */
.data-table-container {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
}

.seo-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.seo-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.seo-table tr:last-child td {
    border-bottom: none;
}

.data-label {
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 0.25rem;
}

.data-value {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.1rem;
}

.data-detail {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Sidebar Sticky */
.sticky-sidebar {
    position: sticky;
    top: 100px; /* Espace par rapport au haut lors du scroll */
}

.info-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-box-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
