/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
 50% { background-position: 100% 50%; } }
 33% { transform: translate(6vw,4vh) scale(1.12); opacity:.9; } 66% { transform: translate(-4vw,8vh) scale(.9); opacity:.6; } }
 33% { transform: translate(-8vw,-5vh) scale(.88); opacity:.8; } 66% { transform: translate(5vw,-3vh) scale(1.15); opacity:.5; } }
 50% { transform: translate(7vw,-6vh) scale(1.2); opacity:.8; } }
body::before { content:''; position:fixed; width:55vw; height:55vw; top:-20vw; left:-15vw; background:radial-gradient(circle, rgba(13,47,110,.22) 0%, transparent 70%); border-radius:50%;  z-index:-1; pointer-events:none; }
body::after  { content:''; position:fixed; width:45vw; height:45vw; bottom:-15vw; right:-10vw; background:radial-gradient(circle, rgba(241,168,47,.13) 0%, transparent 70%); border-radius:50%;  z-index:-1; pointer-events:none; }
body { background: linear-gradient(135deg, #eef2ff, #dde6ff, #eef2ff, #e6eeff); color: #1a1e35; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; min-height: 100vh; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-drag: none; }
a { color: #103983; text-decoration: none; }
a:hover { color: #821717; }

/* ── Header ── */
header { background: #0d2f6e; border-bottom: 3px solid #f1a82f; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(13,47,110,.4); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { font-family: Georgia, serif; font-size: 18px; font-weight: bold; color: #f1a82f; white-space: nowrap; flex-shrink: 0; }

/* ── Nav desktop ── */
nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
nav > a, .dropdown > a { color: rgba(255,255,255,.85); padding: 7px 11px; border-radius: 6px; font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; display: block; transition: .15s; }
nav > a:hover, .dropdown > a:hover { background: rgba(255,255,255,.15); color: #f1a82f; }

/* ── Dropdown ── */
.dropdown { position: relative; }
.dropdown:hover::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 10px; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid rgba(16,57,131,.15); border-radius: 10px; min-width: 200px; padding: 6px; z-index: 200; box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.dropdown:hover .dropdown-menu { display: flex; flex-direction: column; }
.dropdown-menu a { color: #1a1e35; padding: 8px 12px; border-radius: 6px; font-size: 13.5px; display: block; }
.dropdown-menu a:hover { background: rgba(16,57,131,.08); color: #103983; }

/* ── Hamburger ── */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav ── */
.nav-mobile { display: none; background: #0a2456; border-top: 1px solid rgba(255,255,255,.1); }
.nav-mobile a { display: block; padding: 13px 20px; color: rgba(255,255,255,.9); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-mobile a:hover { background: rgba(255,255,255,.1); color: #f1a82f; }
.nav-mobile.open { display: block; }

/* ── Orbe central ── */
main::before { content:''; position:fixed; width:35vw; height:35vw; top:30vh; left:50%; transform:translateX(-50%); background:radial-gradient(circle, rgba(130,23,23,.08) 0%, transparent 70%); border-radius:50%; z-index:-1; pointer-events:none; }

/* ── Main ── */
main { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

/* ── Typography ── */
h1 { font-family: Georgia, serif; font-size: clamp(1.5rem, 4vw, 2.2rem); color: #f1a82f; margin-bottom: 20px; border-bottom: 2px solid #f1a82f; padding-bottom: 12px; }
h2 { font-family: Georgia, serif; font-size: clamp(1.1rem, 3vw, 1.45rem); color: #f1a82f; margin: 30px 0 12px; }
h3 { font-size: clamp(1rem, 2.5vw, 1.1rem); color: #f1a82f; margin: 18px 0 8px; font-weight: 600; }
p { line-height: 1.8; margin-bottom: 14px; color: #2d3458; }
ul { margin: 8px 0 14px 22px; }
li { margin-bottom: 7px; line-height: 1.7; color: #2d3458; }
strong { color: #103983; }

/* ── Cards ── */
.card { background: #fff; border: 1px solid rgba(16,57,131,.12); border-radius: 12px; padding: 20px; margin-bottom: 18px; box-shadow: 0 2px 8px rgba(16,57,131,.07); transition: transform .28s cubic-bezier(.34,1.2,.64,1), box-shadow .28s ease, border-color .28s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(16,57,131,.14); border-color: rgba(16,57,131,.28); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
@keyframes cardIn { from { opacity:0; transform:translateY(20px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
.card-grid > * { animation: cardIn .45s ease both; }
.card-grid > *:nth-child(1) { animation-delay:.04s; }
.card-grid > *:nth-child(2) { animation-delay:.1s; }
.card-grid > *:nth-child(3) { animation-delay:.16s; }
.card-grid > *:nth-child(4) { animation-delay:.22s; }
.card-grid > *:nth-child(5) { animation-delay:.28s; }
.card-grid > *:nth-child(6) { animation-delay:.34s; }
.dignitary-card { background: #fff; border: 1px solid rgba(130,23,23,.18); border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .28s cubic-bezier(.34,1.2,.64,1), box-shadow .28s ease; }
.dignitary-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(130,23,23,.13); }
.dignitary-card h3 { color: #103983; margin-bottom: 8px; font-size: .95rem; }
.dignitary-card p { font-size: 13px; color: #6b7280; margin: 0; }
.dignitary-emoji { font-size: 2.2rem; margin-bottom: 10px; }

/* ── Badge & Article ── */
.badge { display: inline-block; background: rgba(16,57,131,.08); border: 1px solid rgba(16,57,131,.2); color: #103983; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.article { border-left: 3px solid #821717; padding: 10px 0 10px 14px; margin: 14px 0; background: rgba(130,23,23,.04); border-radius: 0 6px 6px 0; }
.article strong { color: #821717; display: block; margin-bottom: 4px; }

/* ── Tables ── */
.minister-table { width: 100%; border-collapse: collapse; }
.minister-table tr { border-bottom: 1px solid rgba(16,57,131,.08); }
.minister-table tr:last-child { border-bottom: none; }
.minister-table td { padding: 12px 14px; font-size: 14px; }
.minister-table td:first-child { color: #6b7280; }
.minister-table td:last-child { font-weight: 600; color: #1a1e35; text-align: right; }

/* ── Speech ── */
.speech { background: #fff; border: 1px solid rgba(16,57,131,.1); border-left: 4px solid #f1a82f; border-radius: 0 12px 12px 0; padding: 24px; margin: 24px 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.speech-date { color: #821717; font-size: 12px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.speech h3 { color: #1a1e35; font-size: .95rem; margin-bottom: 14px; font-style: italic; }
.speech p { font-size: 14px; color: #374151; }
.speech-signature { color: #103983; font-style: italic; margin-top: 18px; font-weight: 600; border-top: 1px solid rgba(16,57,131,.12); padding-top: 14px; }

/* ── Lists ── */
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(16,57,131,.08); align-items: flex-start; flex-wrap: wrap; }
.event-list li:last-child { border-bottom: none; }
.event-date { color: #821717; font-weight: 700; font-size: 12px; min-width: 80px; padding-top: 2px; flex-shrink: 0; }
.nation-list { list-style: none; padding: 0; margin: 0; }
.nation-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(16,57,131,.08); flex-wrap: wrap; gap: 8px; }
.nation-list li:last-child { border-bottom: none; }
.court-list { list-style: none; padding: 0; margin: 0; }
.court-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(16,57,131,.08); flex-wrap: wrap; gap: 6px; }
.court-list li:last-child { border-bottom: none; }
.court-role { color: #6b7280; font-size: 13px; }
.court-name { font-weight: 600; color: #1a1e35; }
.distinction-list { list-style: none; padding: 0; }
.distinction-list li { padding: 9px 0; border-bottom: 1px solid rgba(16,57,131,.08); color: #2d3458; }
.distinction-list li::before { content: "🏅 "; }

/* ── Status ── */
.status-badge { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #059669; font-weight: 600; }
.status-badge.neutral { background: rgba(241,168,47,.1); border-color: rgba(241,168,47,.3); color: #b45309; }
.status-badge.danger { background: rgba(220,38,38,.1); border-color: rgba(220,38,38,.3); color: #dc2626; }

/* ── Policy ── */
.policy-section { background: #fff; border: 1px solid rgba(16,57,131,.1); border-radius: 12px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .28s cubic-bezier(.34,1.2,.64,1), box-shadow .28s ease, border-color .28s; }
.policy-section:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(16,57,131,.1); border-color: rgba(16,57,131,.22); }
.policy-section h2 { margin-top: 0; margin-bottom: 10px; font-size: 1.1rem; }

/* ── Artwork ── */
.artwork-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 18px 0; }
.artwork-card { background: #fff; border: 1px solid rgba(16,57,131,.1); border-radius: 10px; padding: 16px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .28s cubic-bezier(.34,1.2,.64,1), box-shadow .28s ease; }
.artwork-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 8px 22px rgba(16,57,131,.12); }
.artwork-card .artwork-icon { font-size: 2.5rem; margin-bottom: 10px; }
.artwork-card p { font-size: 12px; color: #6b7280; margin: 0; font-style: italic; }

/* ── Hero ── */
.hero { text-align: center; padding: clamp(40px,8vw,72px) 0 clamp(32px,6vw,56px); }
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); border: none; padding: 0; margin-bottom: 14px; color: #f1a82f; }
.hero-desc { font-size: clamp(.95rem, 2.5vw, 1.05rem); max-width: 680px; margin: 0 auto 32px; line-height: 1.9; color: #4b5563; }
.crown-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(130,23,23,.08); border: 1px solid rgba(130,23,23,.25); color: #821717; padding: 7px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: .3px; }
.divider { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, #821717, transparent); margin: 0 auto 36px; }

/* ── Page Banner ── */
.page-banner { width: 100%; line-height: 0; }
.page-banner img { width: 100%; height: 50vh; object-fit: cover; object-position: center center; display: block; border-bottom: 3px solid #f1a82f; }




/* ── Footer ── */
@keyframes footerIn { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes brandIn  { from { opacity:0; transform:translateX(-18px); } to { opacity:1; transform:translateX(0); } }
@keyframes iconIn   { from { opacity:0; transform:scale(.6); } to { opacity:1; transform:scale(1); } }
@keyframes dividerShimmer { 0%,100% { opacity:.25; } 50% { opacity:.6; } }

footer { background: #0d2f6e; border-top: 3px solid #f1a82f; margin-top: 60px; padding: 0; animation: footerIn .7s .1s ease both; }
.footer-social { display: flex; justify-content: center; gap: 40px; padding: 32px 20px 24px; }
.footer-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); color: white; transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s, border-color .25s, box-shadow .35s; animation: iconIn .5s ease both; }
.footer-social a:nth-child(1) { animation-delay: .2s; }
.footer-social a:nth-child(2) { animation-delay: .3s; }
.footer-social a:nth-child(3) { animation-delay: .4s; }
.footer-social a:nth-child(4) { animation-delay: .5s; }
.footer-icon:hover { transform: scale(1.25) translateY(-5px); background: rgba(255,255,255,.15); border-color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.35); color: white; }
.footer-icon svg { transition: transform .3s ease; display: block; }
.footer-icon:hover svg { transform: scale(1.08); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.22); margin: 0 36px; animation: dividerShimmer 3s 1s ease infinite; }
.footer-brand { display: flex; align-items: center; gap: 18px; padding: 20px 40px 26px; animation: brandIn .7s .35s ease both; }
.footer-logo { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .3s; }
.footer-logo:hover { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 4px 14px rgba(0,0,0,.55)); }
.footer-name { font-family: Georgia, serif; font-size: 18px; font-weight: bold; color: #fff; letter-spacing: .4px; }
.footer-subtitle { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 3px; }
.footer-bottom { text-align:center; padding:0 20px 20px; font-size:12px; color:rgba(255,255,255,.3); line-height:2; }
.footer-bottom a { color:rgba(255,255,255,.42); transition:color .2s; }
.footer-bottom a:hover { color:rgba(255,255,255,.8); }
.footer-sep { margin:0 10px; opacity:.35; }

/* ── Onglets ── */
.tabs-wrap { margin: 24px 0; }
.tabs-nav { display: flex; gap: 4px; border-bottom: 2px solid #f1a82f; margin-bottom: 20px; flex-wrap: wrap; padding-bottom: 0; }
.tab-btn { background: rgba(16,57,131,.06); border: 1px solid rgba(16,57,131,.18); border-bottom: none; color: #6b7280; padding: 9px 20px; cursor: pointer; font-size: 14px; border-radius: 10px 10px 0 0; margin-bottom: -2px; font-family: Georgia, serif; transition: .2s; }
.tab-btn.active { background: #0d2f6e; color: #f1a82f; border-color: #0d2f6e; font-weight: 600; }
.tab-btn:hover:not(.active) { background: rgba(16,57,131,.14); color: #103983; border-color: rgba(16,57,131,.3); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-inner { height: 54px; }
  nav { display: none; }
  .burger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .artwork-grid { grid-template-columns: repeat(2, 1fr); }
  .minister-table td { padding: 9px 8px; font-size: 13px; }
  .minister-table td:last-child { text-align: left; }
  main { padding: 24px 16px; }
  .speech { padding: 18px 16px; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: transparent; padding: 0 0 0 12px; }
}
@media (max-width: 480px) {
  .logo { font-size: 15px; }
  .hero h1 { font-size: 1.5rem; }
  .tabs-nav { gap: 0; }
  .tab-btn { padding: 8px 10px; font-size: 13px; }
  .nation-list li, .court-list li { flex-direction: column; }
  .event-list li { flex-direction: column; gap: 4px; }
}

/* ── Classes Quill (éditeur → site) ── */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-indent-1 { padding-left: 2em; }
.ql-indent-2 { padding-left: 4em; }
.ql-indent-3 { padding-left: 6em; }
.ql-indent-4 { padding-left: 8em; }
.ql-size-small { font-size: .8em; }
.ql-size-large { font-size: 1.3em; }
.ql-size-huge { font-size: 1.8em; }
.ql-font-serif { font-family: Georgia, serif; }
.ql-font-monospace { font-family: monospace; }
.ql-syntax { background: #1a1e35; color: #e8e0d0; border-radius: 8px; padding: 16px; font-size: 13px; font-family: monospace; overflow-x: auto; }
ol, ul { padding-left: 1.5em; }
blockquote { border-left: 3px solid #821717; padding-left: 14px; background: rgba(130,23,23,.04); margin: 14px 0; border-radius: 0 6px 6px 0; }
