/* =============================================================
   THEOLOGIA REFORMATA — Carte interactive des déplacements de Jésus
   v2 : projection Mercator simple, recadrage serré, tétrarchies hérodiennes
   ============================================================= */

.carte-jesus-conteneur {
    background: linear-gradient(135deg, #fdf6e3 0%, #f4ead4 100%);
    border: 2px solid #d4c5b0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(155, 28, 28, 0.08);
    font-family: Georgia, 'EB Garamond', serif;
}

.carte-jesus-titre {
    font-size: 1.3rem;
    color: #5a2828;
    margin: 0 0 1rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.carte-jesus-svg {
    width: 100%;
    height: auto;
    max-height: 700px;
    display: block;
    background: linear-gradient(180deg, #e8f1f5 0%, #d4e1e8 100%);
    border: 1px solid #b0a080;
    border-radius: 8px;
}

.evangile-onglets {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #d4c5b0;
    flex-wrap: wrap;
}
.evangile-onglet {
    background: #fdf6e3;
    border: 2px solid #d4c5b0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    color: #5a2828;
    transition: all 0.2s ease;
    font-weight: 500;
    margin-bottom: -2px;
}
.evangile-onglet:hover { background: #f4ead4; }
.evangile-onglet.actif { background: #9b1c1c; color: #fdf6e3; border-color: #9b1c1c; }
.evangile-onglet[data-evangile="Mc"].actif { background: #2e7d4f; border-color: #2e7d4f; }
.evangile-onglet[data-evangile="Lc"].actif { background: #1e5a8a; border-color: #1e5a8a; }
.evangile-onglet[data-evangile="Jn"].actif { background: #6b3a8c; border-color: #6b3a8c; }

.sequence-controles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.5rem 0;
    justify-content: center;
}
.sequence-bouton {
    background: #fdf6e3;
    border: 1.5px solid #d4c5b0;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    color: #5a2828;
    transition: all 0.2s ease;
}
.sequence-bouton:hover { background: #f4ead4; border-color: #e8a532; }
.sequence-bouton.actif { background: #5a2828; color: #fdf6e3; border-color: #5a2828; }

.jesus-trace {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.4s ease;
    stroke-dasharray: 8 4;
}
.jesus-trace.actif { opacity: 0.9; stroke-dasharray: none; }
.jesus-trace[data-evangile="Mt"] { stroke: #9b1c1c; }
.jesus-trace[data-evangile="Mc"] { stroke: #2e7d4f; }
.jesus-trace[data-evangile="Lc"] { stroke: #1e5a8a; }
.jesus-trace[data-evangile="Jn"] { stroke: #6b3a8c; }

.tetrarchie {
    fill-opacity: 0.18;
    stroke: rgba(74, 50, 30, 0.4);
    stroke-width: 1;
    stroke-dasharray: 3 2;
}
.tetrarchie-galilee { fill: #c9a55a; }
.tetrarchie-iturée { fill: #6f9b8c; }
.tetrarchie-judee { fill: #b08070; }
.tetrarchie-decapole { fill: #8a7ba0; }
.tetrarchie-phenicie { fill: #5a8aa0; }
.tetrarchie-label {
    font-family: Georgia, serif;
    font-size: 11px;
    fill: #5a4030;
    font-weight: bold;
    font-style: italic;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lieu-point {
    fill: #5a2828;
    stroke: #fdf6e3;
    stroke-width: 1.5;
    cursor: pointer;
    transition: r 0.2s ease, fill 0.2s ease;
}
.lieu-point:hover { fill: #e8a532; r: 8; }
.lieu-point.actif { fill: #9b1c1c; }
.lieu-label {
    font-family: Georgia, serif;
    font-size: 11px;
    fill: #2c1810;
    pointer-events: none;
    font-weight: 500;
}
.lieu-label-majeur { font-size: 13px; font-weight: bold; fill: #5a2828; }

.region-label {
    font-family: Georgia, serif;
    font-style: italic;
    fill: #7a6a50;
    pointer-events: none;
}

.personnage-jesus { transition: opacity 0.3s ease; }
.personnage-jesus-cercle {
    fill: #e8a532;
    stroke: #fdf6e3;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px rgba(232, 165, 50, 0.7));
}
.personnage-jesus-icone {
    fill: #5a2828;
    pointer-events: none;
    font-weight: bold;
}

.jesus-controles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem;
    align-items: center;
    justify-content: center;
}
.jesus-bouton {
    background: #fdf6e3;
    border: 2px solid #d4c5b0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
    color: #5a2828;
    transition: all 0.2s ease;
    font-weight: 500;
}
.jesus-bouton:hover { background: #f4ead4; border-color: #e8a532; }
.jesus-vitesse {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5a2828;
    font-size: 0.9rem;
}
.jesus-vitesse input[type="range"] { width: 100px; cursor: pointer; }

.jesus-info-lieu {
    background: rgba(253, 246, 227, 0.95);
    border-left: 4px solid #9b1c1c;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    min-height: 80px;
    font-size: 0.92rem;
    color: #2c1810;
    transition: all 0.3s ease;
}
.jesus-info-lieu-titre { font-weight: bold; color: #5a2828; margin: 0 0 0.3rem; font-size: 1.05rem; }
.jesus-info-lieu-meta { font-style: italic; color: #7a5a3a; font-size: 0.85rem; margin: 0 0 0.3rem; }
.jesus-info-lieu-evt { margin: 0; line-height: 1.5; }
.jesus-info-lieu-ref { font-size: 0.85rem; color: #9b1c1c; margin-top: 0.4rem; font-style: italic; }

.tetrarchies-legende {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: #5a4030;
}
.tetrarchies-legende-item { display: flex; align-items: center; gap: 0.3rem; }
.tetrarchies-legende-couleur {
    width: 16px;
    height: 12px;
    border: 1px solid rgba(74, 50, 30, 0.4);
    border-radius: 2px;
}

.zone-mer { fill: #c8d8e0; opacity: 0.6; }
.zone-lac {
    fill: #a8c8d8;
    opacity: 0.7;
    stroke: #5a7888;
    stroke-width: 0.5;
}
.zone-jourdain {
    fill: none;
    stroke: #5a7888;
    stroke-width: 1.8;
    opacity: 0.7;
}

@media (max-width: 700px) {
    .carte-jesus-conteneur { padding: 1rem; }
    .evangile-onglet { font-size: 0.85rem; padding: 0.4rem 0.6rem; }
    .sequence-bouton { font-size: 0.78rem; padding: 0.3rem 0.6rem; }
    .lieu-label { font-size: 9px; }
    .lieu-label-majeur { font-size: 11px; }
    .region-label { font-size: 11px; }
    .tetrarchie-label { font-size: 9px; }
}
