/* ============================================================
   MesAllocations.be — Design System v1
   Charte V5.1 + E-E-A-T renforcée
   Couleur primaire : teal #0d6b5f
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; height: auto; display: block; }

/* ---------- Variables (light theme) ---------- */
:root {
  --primary: #0d6b5f;
  --primary-light: #14a085;
  --primary-dark: #084a42;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 4px 12px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, .12);

  --container: 1120px;
  --header-h: 68px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --primary: #14a085;
  --primary-light: #1cc09b;
  --primary-dark: #0d6b5f;

  --bg: #0f172a;
  --bg-soft: #1e293b;
  --bg-muted: #334155;
  --border: #334155;
  --border-strong: #475569;

  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 4px 12px rgba(0, 0, 0, .35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .45);

  --accent-soft: rgba(245, 158, 11, .15);
}

/* ---------- Typography ---------- */
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 1rem; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 1.75rem 0 .75rem; }
h4 { font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 .5rem; }

p { margin-bottom: 1.1em; color: var(--text-soft); }
strong { color: var(--text); font-weight: 600; }

a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
[data-theme="dark"] a:hover { color: var(--primary-light); }

ul, ol { margin: 0 0 1.1em 1.4em; }
li { margin-bottom: .35em; color: var(--text-soft); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex; align-items: center;
}
[data-theme="dark"] .site-header { background: rgba(15, 23, 42, .92); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }

.logo {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1.15rem; color: var(--text);
  text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700;
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: var(--text-soft); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .15s ease;
}
.nav a:hover, .nav a.active { color: var(--primary); }

.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-soft);
  transition: all .15s ease;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-soft);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: 1rem; }
.hero p.lead { font-size: 1.15rem; color: var(--text-soft); }

.eyebrow {
  display: inline-block;
  font-size: .85rem; font-weight: 600;
  color: var(--primary);
  background: rgba(13, 107, 95, .1);
  padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 1rem;
}
[data-theme="dark"] .eyebrow { background: rgba(20, 160, 133, .15); }

/* ---------- Sections / Content ---------- */
section.content { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.prose { max-width: 760px; }
.prose p { font-size: 1.02rem; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Author byline ---------- */
.author-byline {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
  font-size: .9rem;
}
.author-byline .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-byline .meta { color: var(--text-muted); }
.author-byline .meta strong { color: var(--text); display: block; }
.author-byline a { color: var(--primary); }

/* ---------- Disclaimer / encarts ---------- */
.disclaimer {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: .95rem;
}
.disclaimer strong { color: var(--text); }
[data-theme="dark"] .disclaimer { background: rgba(245, 158, 11, .12); color: var(--text-soft); }

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.callout h4 { margin-top: 0; color: var(--primary); }

.sources-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.sources-box h3 { margin-top: 0; font-size: 1rem; color: var(--text); }
.sources-box ul { margin: .75rem 0 0 1.2rem; }
.sources-box li { font-size: .92rem; }
.sources-box a { color: var(--primary); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%; border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
}
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-soft); font-weight: 600; color: var(--text); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--text); font-size: .95rem; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .35rem; }
.footer-grid a { color: var(--text-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .85rem;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 540px; margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  z-index: 200;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner h4 { margin-top: 0; }
.cookie-banner p { font-size: .9rem; margin-bottom: 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem;
  border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  cursor: pointer; border: 1px solid transparent;
  transition: all .15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text-muted); border: none; }
.btn-ghost:hover { color: var(--text); }

/* Cookie modal granulaire */
.cookie-modal {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .6);
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.cookie-modal.visible { display: flex; }
.cookie-modal-inner {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 520px; width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.cookie-modal h3 { margin-top: 0; }
.cookie-option {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option .text { flex: 1; padding-right: 1rem; }
.cookie-option .text strong { display: block; margin-bottom: .25rem; }
.cookie-option .text span { font-size: .85rem; color: var(--text-muted); }

/* Toggle switch */
.switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border-strong);
  border-radius: 24px;
  transition: .2s;
}
.switch .slider::before {
  position: absolute; content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .2s;
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:disabled + .slider { opacity: .6; cursor: not-allowed; }

/* ---------- Ad slots (masqués V1, en attendant validation AdSense) ---------- */
.ad-slot { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1rem; gap: .75rem;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; }
  table { font-size: .88rem; }
  th, td { padding: .65rem .75rem; }
}

/* ---------- Simulator ---------- */
.simulator-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}
[data-theme="dark"] .simulator-card { background: var(--bg-soft); }

.simulator-card h2 { margin-top: 0; }
.simulator-card .form-intro { color: var(--text-muted); margin-bottom: 1.75rem; font-size: .95rem; }

.form-step { margin-bottom: 1.75rem; }
.form-step > .label { display: block; font-weight: 600; margin-bottom: .65rem; color: var(--text); }

.region-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.region-options label {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem .75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s ease;
  text-align: center;
}
.region-options input { display: none; }
.region-options label:hover { border-color: var(--primary-light); }
.region-options input:checked + .region-card {
  border-color: var(--primary);
  background: rgba(13, 107, 95, .06);
}
[data-theme="dark"] .region-options input:checked + .region-card { background: rgba(20, 160, 133, .12); }
.region-options label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(13, 107, 95, .06);
}
[data-theme="dark"] .region-options label:has(input:checked) {
  background: rgba(20, 160, 133, .12);
}
.region-options .region-name { font-weight: 600; font-size: .95rem; margin-top: .35rem; }
.region-options .region-org { font-size: .8rem; color: var(--text-muted); }

.children-controls {
  display: flex; gap: .5rem; align-items: center;
  margin-bottom: 1rem;
}
.children-controls button {
  padding: .4rem .85rem; font-size: .85rem;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; color: var(--text);
}
.children-controls button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.children-controls button:disabled { opacity: .4; cursor: not-allowed; }

.child-row {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.child-header { font-weight: 600; margin-bottom: .65rem; color: var(--primary); font-size: .95rem; }
.child-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.child-fields label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.child-fields label > span { color: var(--text-soft); font-size: .85rem; }
.child-fields select {
  padding: .55rem .65rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg); color: var(--text);
  font-family: inherit; font-size: .95rem;
}
.child-fields select:focus { border-color: var(--primary); outline: none; }
.child-fields .checkbox-label {
  flex-direction: row; align-items: center; gap: .5rem;
  grid-column: 1 / -1; font-size: .9rem;
}
.child-fields .checkbox-label input { width: auto; }

.income-options, .mono-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.income-options label, .mono-options label {
  flex: 1; min-width: 130px;
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  background: var(--bg);
  text-align: center;
}
.income-options input, .mono-options input { display: none; }
.income-options label:has(input:checked),
.mono-options label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(13, 107, 95, .06);
  color: var(--primary);
  font-weight: 600;
}
[data-theme="dark"] .income-options label:has(input:checked),
[data-theme="dark"] .mono-options label:has(input:checked) {
  background: rgba(20, 160, 133, .12);
}

.simulator-submit {
  width: 100%;
  padding: .9rem;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Résultats */
.simulator-results {
  display: none;
  margin-top: 2rem;
  background: var(--bg);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
[data-theme="dark"] .simulator-results { background: var(--bg-soft); }
.simulator-results.visible { display: block; }

.result-header {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.result-region { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.result-total {
  font-size: 2rem; font-weight: 700; color: var(--primary);
  line-height: 1;
}
.result-total span { font-size: .9rem; font-weight: 500; color: var(--text-muted); margin-left: .35rem; }

.result-breakdown h4 { margin: 0 0 1rem; font-size: 1rem; }

.result-child {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
[data-theme="dark"] .result-child { background: var(--bg-muted); }

.result-child-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .5rem;
  font-size: .95rem;
}
.result-child-head .muted { color: var(--text-muted); font-size: .85rem; }
.result-child-body > div { font-size: .92rem; color: var(--text-soft); margin-bottom: .35rem; }
.result-child-body ul { margin: .5rem 0 .75rem 1.2rem; }
.result-child-body li { font-size: .9rem; color: var(--text-soft); margin-bottom: .25rem; }
.result-child-body li.muted { color: var(--text-muted); font-style: italic; }
.result-child-total {
  border-top: 1px dashed var(--border-strong);
  padding-top: .5rem; margin-top: .5rem;
  font-weight: 600; color: var(--text);
}

.result-disclaimer {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  font-size: .9rem;
}
[data-theme="dark"] .result-disclaimer { background: rgba(245, 158, 11, .1); }

/* ---------- Cartes régionales (page d'accueil) ---------- */
.region-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin: 2rem 0;
}
.region-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all .2s ease;
  display: flex; flex-direction: column;
}
.region-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--text);
}
.region-card .card-eyebrow {
  font-size: .8rem; font-weight: 600;
  color: var(--primary); margin-bottom: .35rem;
}
.region-card h3 { margin: 0 0 .65rem; font-size: 1.15rem; }
.region-card p { font-size: .92rem; margin-bottom: 1rem; flex: 1; }
.region-card .card-amount {
  font-size: 1.4rem; font-weight: 700; color: var(--primary);
  margin-bottom: .25rem;
}
.region-card .card-amount-label { font-size: .8rem; color: var(--text-muted); }
.region-card .card-link {
  margin-top: 1rem;
  font-weight: 600; font-size: .9rem;
  color: var(--primary);
}

/* ---------- FAQ inline (home) ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: .5rem 0;
  list-style: none; position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--primary); font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: .75rem 0 .5rem; font-size: .95rem; }

/* ---------- Responsive simulator ---------- */
@media (max-width: 640px) {
  .region-options { grid-template-columns: 1fr; }
  .region-cards { grid-template-columns: 1fr; }
  .child-fields { grid-template-columns: 1fr; }
  .result-total { font-size: 1.5rem; }
  .simulator-card { padding: 1.5rem 1.25rem; }
}

/* ---------- Accessibilité ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* ============================================================
   Encadré partenaire (lien d'affiliation)
   ============================================================ */
.partner-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  margin: 2rem 0;
  overflow: hidden;
}
[data-theme="dark"] .partner-card { background: var(--bg-soft); }

.partner-tag {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: .5rem 1.25rem;
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .01em;
}
[data-theme="dark"] .partner-tag { background: var(--bg-muted); }

.partner-inner {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.partner-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex; align-items: center; justify-content: center;
}

.partner-content { flex: 1; min-width: 0; }
.partner-content h3 {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.partner-content p {
  font-size: .92rem;
  margin-bottom: .75rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.partner-fineprint {
  font-size: .82rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}
.partner-fineprint a { color: var(--text-muted); text-decoration: underline; }
.partner-fineprint a:hover { color: var(--primary); }

.partner-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  background: var(--primary);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none !important;
  margin-top: .5rem;
  transition: background .15s ease, transform .15s ease;
}
.partner-cta:hover {
  background: var(--primary-dark);
  color: white !important;
  transform: translateX(2px);
}
[data-theme="dark"] .partner-cta:hover { background: var(--primary-light); }

@media (max-width: 540px) {
  .partner-inner { flex-direction: column; gap: 1rem; padding: 1.1rem 1.25rem; }
  .partner-icon { width: 42px; height: 42px; }
  .partner-content h3 { font-size: 1rem; }
}
