/* ── Layout principal ── */
.home-page { display: flex; flex-direction: column; align-items: center; padding: 20px 16px 60px; }

/* ── Footer home ── */
.home-footer { margin-top: 40px; font-size: .8em; color: #4b5563; text-align: center; }
.home-footer a { color: #6b7280; }
.home-footer a:hover { color: #10b981; }
.home-footer__sep { margin: 0 8px; }

/* ── Header ── */
.site-header { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; }
.site-logo { height: 80px; width: auto; object-fit: contain; }
h1 { font-size: 2.5em; color: #10b981; margin-bottom: 8px; text-align: center; }
.subtitle { color: #9ca3af; margin-bottom: 32px; text-align: center; font-style: italic; }

/* ── Recherche ── */
.search-box { position: relative; width: 100%; max-width: 480px; }
input { width: 100%; padding: 16px; border-radius: 10px; border: none; font-size: 18px; background-color: #1f2937; color: #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.3); outline: none; }
input:focus { box-shadow: 0 0 0 3px #10b981; }
.suggestions { position: absolute; left: 0; right: 0; background: #f3f4f6; color: #1f2937; border-radius: 0 0 10px 10px; max-height: 220px; overflow-y: auto; z-index: 1000; display: none; }
.suggestion-item { padding: 13px 16px; cursor: pointer; border-bottom: 1px solid #e5e7eb; font-weight: bold; }
.suggestion-item:hover { background-color: #10b981; color: white; }

/* ── Carte météo ── */
.weather-map-section { width: 100%; max-width: 900px; margin-top: 48px; }
.map-title { font-size: 1.3em; color: #10b981; text-align: center; margin-bottom: 16px; }
#france-map { width: 100%; height: 480px; border-radius: 16px; border: 2px solid #1f2937; box-shadow: 0 8px 32px rgba(0,0,0,0.5); overflow: hidden; }

/* ── Marqueurs carte ── */
.map-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
    transition: transform 0.15s;
}
.map-marker:hover { transform: scale(1.15); }
.marker-svg { width: 44px; height: 44px; flex-shrink: 0; }
.marker-svg svg { width: 100%; height: 100%; }
.marker-temp {
    background: rgba(16,185,129,0.92);
    color: #fff;
    font-size: 0.82em;
    font-weight: 700;
    border-radius: 6px;
    padding: 1px 5px;
    margin-top: 1px;
    white-space: nowrap;
}
.marker-name {
    color: #f3f4f6;
    font-size: 0.72em;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    margin-top: 2px;
    white-space: nowrap;
}

/* ── Bulletin météo humoristique ── */
.weather-bulletin {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 680px;
    margin-top: 28px;
    padding: 20px 24px;
    border-radius: 14px;
    background: #1f2937;
    border-left: 4px solid #10b981;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.weather-bulletin--rainy  { border-left-color: #60a5fa; }
.weather-bulletin--storm  { border-left-color: #a78bfa; }
.weather-bulletin--snow   { border-left-color: #e0f2fe; }
.weather-bulletin--sunny  { border-left-color: #fbbf24; }
.weather-bulletin--cloudy { border-left-color: #9ca3af; }
.weather-bulletin--mixed  { border-left-color: #34d399; }

.bulletin-emoji { font-size: 2.4em; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.bulletin-body  { display: flex; flex-direction: column; gap: 6px; }
.bulletin-title { font-size: 1.05em; color: #f9fafb; font-weight: 700; }
.bulletin-text  { font-size: 0.9em; color: #d1d5db; line-height: 1.6; margin: 0; font-style: italic; }
.seo-links { margin-top: 48px; text-align: center; max-width: 600px; }
.seo-links h2 { font-size: 1.1em; color: #9ca3af; margin-bottom: 15px; }
.city-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.city-tag { background: #374151; color: #d1d5db; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-size: 0.9em; transition: 0.2s; }
.city-tag:hover { background: #10b981; color: #fff; }
