/* ───────────────────────── Bases ───────────────────────── */
:root {
  --bg: #0A0F1A;
  --bg-2: #0D1422;
  --surface: #111827;
  --surface-2: #182133;
  --border: #1F2A3D;
  --text: #F3F6FB;
  --sec: #A3AEC2;
  --muted: #6B778C;
  --accent: #16C47F;
  --accent-2: #0E9F67;
  --accent-soft: rgba(22, 196, 127, .12);
  --down: #F0526B;
  --down-soft: rgba(240, 82, 107, .12);
  --gold: #F2B33D;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s, opacity .15s; }
a:hover { color: #3ee0a0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.num { font-variant-numeric: tabular-nums; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 10px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--sec); font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.text-accent { color: var(--accent); }
.muted { color: var(--sec); }

/* ───────────────────────── Boutons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, color .15s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #06110B; }
.btn--primary:hover { background: #2ad690; color: #06110B; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 11px; }

.store {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px;
  border-radius: 14px; background: #000; border: 1px solid #2B3448; color: #fff; transition: border-color .15s, transform .15s;
}
.store:hover { border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: .68rem; line-height: 1.1; color: #C9D1DE; letter-spacing: .02em; }
.store strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.store.is-soon { opacity: .8; cursor: default; }
.store.is-soon:hover { transform: none; border-color: #2B3448; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────────────────────── En-tête ───────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 26, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(10, 15, 26, .92); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--text); }
.brand img, .brand svg { width: 38px; height: 38px; border-radius: 10px; }
.brand b { color: var(--accent); font-weight: 800; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--sec); font-weight: 600; font-size: .96rem; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--text); background: var(--surface); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 22px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .admin-bar .main-nav { top: 108px; }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 14px; font-size: 1.05rem; }
}

/* ───────────────────────── Bandeau des cours ───────────────────────── */
.ticker { border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; height: 44px; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-track { display: flex; gap: 34px; white-space: nowrap; height: 44px; align-items: center; width: max-content; animation: ticker 70s linear infinite; padding-left: 22px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--sec); }
.ticker-item b { color: var(--text); font-weight: 700; }
.ticker-loading { color: var(--muted); font-size: .9rem; padding-left: 22px; line-height: 44px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.up { color: var(--accent) !important; }
.down { color: var(--down) !important; }
.flat { color: var(--sec) !important; }

/* ───────────────────────── Héro ───────────────────────── */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 196, 127, .20), transparent 62%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; }
.hero h1 b { color: var(--accent); font-weight: 800; }
.hero .lead { font-size: 1.22rem; color: var(--sec); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; color: var(--sec); font-size: .95rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--accent); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { width: min(340px, 78vw); filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .55)); position: relative; z-index: 2; }
.hero-visual .phone--back { position: absolute; width: min(270px, 60vw); right: -4%; top: 12%; z-index: 1; opacity: .55; transform: rotate(6deg); }
.float-card {
  position: absolute; z-index: 3; background: rgba(17, 24, 39, .92); border: 1px solid var(--border); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); backdrop-filter: blur(10px); font-size: .9rem;
}
.float-card small { display: block; color: var(--muted); font-size: .75rem; }
.float-card strong { font-size: 1.05rem; }
.float-card--a { left: -2%; top: 18%; }
.float-card--b { right: 2%; bottom: 14%; }
@media (max-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual .phone--back { display: none; }
  .float-card--a { left: 0; }
}

/* ───────────────────────── Cartes de fonctionnalités ───────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(22, 196, 127, .45); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature p { color: var(--sec); margin: 0; font-size: 1rem; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ───────────────────────── Bloc marché en direct ───────────────────────── */
.market { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.market-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.market-head h3 { margin: 0; font-size: 1.3rem; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--sec); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 196, 127, 0); } }
.indices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.index-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.index-card small { color: var(--sec); font-weight: 600; font-size: .85rem; }
.index-card .val { font-size: 1.45rem; font-weight: 800; margin: 4px 0 2px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; padding: 3px 9px; border-radius: 8px; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.badge.up { background: var(--accent-soft); }
.badge.down { background: var(--down-soft); }
.badge.flat { background: var(--surface-2); }
.movers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.movers h4 { font-size: .95rem; color: var(--sec); margin: 0 0 8px; font-weight: 700; }
.row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.row:last-child { border-bottom: 0; }
.row .sym { font-weight: 800; }
.row .name { color: var(--sec); font-size: .88rem; display: block; line-height: 1.3; }
.row .right { text-align: right; display: flex; align-items: center; gap: 12px; }
.market-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .indices { grid-template-columns: 1fr 1fr; } .movers { grid-template-columns: 1fr; } }

.stock-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 12px; }
.stock-tools input, .stock-tools select {
  height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text);
  font-family: inherit; font-size: .95rem; min-width: 0;
}
.stock-tools input { flex: 1 1 240px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table.stocks { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.stocks th { text-align: left; padding: 12px 14px; background: var(--bg-2); color: var(--sec); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; white-space: nowrap; user-select: none; }
table.stocks td { padding: 12px 14px; border-top: 1px solid var(--border); white-space: nowrap; }
table.stocks td.r, table.stocks th.r { text-align: right; }
table.stocks tbody tr:hover { background: rgba(255, 255, 255, .02); }

/* ───────────────────────── Sections illustrées ───────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split-visual { order: -1; }
.split-visual { display: flex; justify-content: center; }
.split-visual img { width: min(320px, 80vw); filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .5)); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--sec); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316C47F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.checks li strong { color: var(--text); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; text-align: center; } .split--rev .split-visual { order: 0; } .checks { text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ───────────────────────── Étapes ───────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #06110B; font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--sec); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ───────────────────────── Galerie ───────────────────────── */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; justify-content: center; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.gallery img { width: 240px; filter: drop-shadow(0 22px 50px rgba(0, 0, 0, .5)); }
.gallery figcaption { margin-top: 14px; color: var(--sec); font-weight: 600; font-size: .95rem; }
@media (max-width: 1100px) { .gallery { justify-content: flex-start; } }

/* ───────────────────────── FAQ ───────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--sec); padding-bottom: 20px; margin: 0; }

/* ───────────────────────── Appel à l'action ───────────────────────── */
.cta {
  background: linear-gradient(135deg, #0F3D2B 0%, #0D1B2E 55%, #111827 100%); border: 1px solid rgba(22, 196, 127, .3);
  border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 196, 127, .25), transparent 65%); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: #C9D1DE; font-size: 1.1rem; }
.cta-visual { display: flex; justify-content: center; position: relative; z-index: 1; }
.cta-visual img { width: 150px; border-radius: 34px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 26px; text-align: center; } .cta .stores { justify-content: center; } .cta-visual { order: -1; } }

/* ───────────────────────── Pages et articles ───────────────────────── */
.page-hero { padding: 72px 0 44px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at top right, rgba(22, 196, 127, .12), transparent 55%); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: var(--sec); font-size: 1.12rem; max-width: 720px; margin: 0; }
.content { padding: 56px 0 96px; }
.entry { max-width: 820px; margin: 0 auto; }
.entry--wide { max-width: var(--max); }
.entry h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry h3 { font-size: 1.25rem; margin-top: 1.6em; }
.entry p, .entry li { color: var(--sec); }
.entry strong { color: var(--text); }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .45em; }
.entry blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0; color: var(--text); }
.entry img { border-radius: 16px; }
.entry hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.entry th, .entry td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.entry .wp-block-button__link { background: var(--accent); color: #06110B; border-radius: 12px; font-weight: 700; padding: 14px 24px; }
.entry .wp-block-columns { gap: 18px; }
.entry .wp-block-column { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.entry .wp-block-column h3 { margin-top: 0; }
.updated-date { color: var(--muted); font-size: .92rem; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(22, 196, 127, .45); transform: translateY(-3px); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb--empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0F3D2B, #111827); }
.post-card .thumb--empty svg { width: 54px; height: 54px; opacity: .9; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { color: var(--muted); font-size: .84rem; margin-bottom: 8px; }
.post-card h3 { font-size: 1.15rem; margin: 0 0 10px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--sec); font-size: .96rem; margin: 0; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--sec); }
.pagination .current { background: var(--accent); color: #06110B; border-color: var(--accent); font-weight: 700; }
.single-meta { color: var(--muted); margin-top: 6px; }
.single-thumb { max-width: 980px; margin: -10px auto 36px; }
.single-thumb img { border-radius: 22px; width: 100%; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--sec); }

/* ───────────────────────── Formulaire de contact ───────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info .card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; margin-bottom: 14px; }
.contact-info .card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-info .card p { margin: 0; color: var(--sec); font-size: .98rem; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text);
  font-family: inherit; font-size: 1rem; transition: border-color .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .hp { position: absolute; left: -9999px; }
.form .note { color: var(--muted); font-size: .84rem; margin: 12px 0 0; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.notice--ok { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(22, 196, 127, .35); }
.notice--err { background: var(--down-soft); color: var(--down); border: 1px solid rgba(240, 82, 107, .35); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

/* ───────────────────────── Pied de page ───────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-grid h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sec); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--sec); }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--sec); font-size: .96rem; margin: 14px 0 18px; max-width: 360px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--muted); font-size: .86rem; }
.disclaimer { color: var(--muted); font-size: .82rem; max-width: 760px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ───────────────────────── 404 ───────────────────────── */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.05em; }

/* Alignements WordPress */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { color: var(--muted); font-size: .88rem; text-align: center; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Compléments du site statique */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: .75rem; font-weight: 700; color: var(--sec); background: var(--surface-2); border-radius: 6px; padding: 2px 7px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.posts .empty-state { grid-column: 1 / -1; }
.form [disabled] { opacity: .55; cursor: not-allowed; }
.notice[hidden] { display: none; }
