/* ================================================
   FONTS
================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ================================================
   RESET & BASE
================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #fff;
  color: #111827;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ================================================
   VARIABLES
================================================ */
:root {
  --green:      #1B4332;
  --green-mid:  #2D6A4F;
  --green-lt:   #D8F3DC;
  --green-bg:   #F0FDF4;
  --green-bdr:  #BBF7D0;
  --text:       #111827;
  --muted:      #6B7280;
  --subtle:     #9CA3AF;
  --border:     #E5E7EB;
  --bg-soft:    #F9FAFB;
  --warn-bg:    #FFFBF0;
  --warn-bdr:   #E8C84A;
  --radius:     12px;
  --radius-lg:  18px;
  --shadow:     0 4px 6px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.08);
  --max:        680px;
  --t:          0.18s ease;
}

/* ================================================
   ANIMATIONS
================================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(27,67,50,0); }
  50%      { box-shadow: 0 0 0 8px rgba(27,67,50,0.12); }
}

.anim-down  { animation: fadeDown 0.5s ease both; }
.anim-up    { animation: fadeUp  0.5s ease both; }
.anim-up-1  { animation: fadeUp  0.5s 0.06s ease both; }
.anim-up-2  { animation: fadeUp  0.5s 0.12s ease both; }
.anim-up-3  { animation: fadeUp  0.5s 0.18s ease both; }
.anim-up-4  { animation: fadeUp  0.5s 0.24s ease both; }
.anim-up-5  { animation: fadeUp  0.5s 0.30s ease both; }
.anim-up-6  { animation: fadeUp  0.5s 0.36s ease both; }

/* ================================================
   NAV  — identique homepage
================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  white-space: nowrap;
  transition: background var(--t) !important;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--green-mid) !important; }

@media (max-width: 520px) {
  .nav-links .hide-mobile { display: none; }
}

/* ================================================
   HOMEPAGE — HERO
================================================ */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-lt);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.eyebrow::before { content: '●'; font-size: 0.45rem; }

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.hero h1 em { font-style: italic; color: var(--green-mid); }

.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 480px;
}

.stats-bloc {
  background: var(--green-bg);
  border: 1px solid var(--green-bdr);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 28px;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
  animation: countUp 0.7s 0.3s ease both;
}

.stat-lbl { font-size: 0.68rem; color: var(--muted); font-weight: 500; }

.stat-sep { width: 1px; height: 36px; background: var(--green-bdr); }

/* ================================================
   HOMEPAGE — ENTONNOIR
================================================ */
.funnel-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 28px;
}

.funnel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.f-over {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--subtle);
  margin-bottom: 4px;
}

.f-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.f-progress { display: flex; gap: 5px; margin-bottom: 16px; }

.f-progress span {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.4s;
}
.f-progress span.on { background: var(--green); }

.f-question { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 11px; }

.f-opts { display: flex; flex-direction: column; gap: 8px; }

.f-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color var(--t), background var(--t), box-shadow var(--t), transform 0.1s;
}
.f-opt:hover {
  border-color: var(--green);
  background: var(--green-lt);
  box-shadow: 0 2px 8px rgba(27,67,50,0.08);
}
.f-opt:active { transform: scale(0.98); }
.f-opt .em { font-size: 1.05rem; flex-shrink: 0; }

.f-back {
  background: none;
  border: none;
  color: var(--subtle);
  font-size: 0.78rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  padding: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t);
}
.f-back:hover { color: var(--text); }

.f-result { display: none; }
.f-result.show { display: block; animation: fadeUp 0.4s ease both; }

.res-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.res-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.15;
}

.res-pitch {
  font-size: 0.84rem;
  color: #374151;
  line-height: 1.55;
  padding: 11px 13px;
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-bdr);
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}

.res-gains-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subtle);
  margin-bottom: 8px;
}

.res-gains { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.res-gain {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #374151;
  line-height: 1.4;
}
.res-gain::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.76rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.res-cta {
  display: block;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
  transition: background var(--t), transform var(--t);
  animation: pulse 2.5s 1s ease infinite;
}
.res-cta:hover {
  background: var(--green-mid);
  color: #fff;
  transform: translateY(-1px);
  animation: none;
}

.res-parcours-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subtle);
  margin-bottom: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.res-steps { display: flex; flex-direction: column; gap: 8px; }

.res-step { display: flex; align-items: center; gap: 10px; }

.step-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-lt);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-dot.on { background: var(--green); color: #fff; }

.step-txt { font-size: 0.84rem; color: #374151; }
.step-txt.on { font-weight: 600; color: var(--text); }
.step-lnk {
  font-size: 0.84rem;
  color: var(--green-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--green-lt);
  transition: text-decoration-color var(--t);
}
.step-lnk:hover { text-decoration-color: var(--green-mid); }

.res-restart {
  background: none;
  border: none;
  color: var(--subtle);
  font-size: 0.74rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-top: 14px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
}
.res-restart:hover { color: var(--muted); }

.f-step { display: none; }
.f-step.show { display: block; animation: fadeUp 0.3s ease both; }

/* ================================================
   HOMEPAGE — SECTIONS COMMUNES
================================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px;
}

.divider {
  max-width: var(--max);
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

.sec-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 4px;
}

.sec-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* ================================================
   HOMEPAGE — CATEGORIES
================================================ */
.cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 520px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
}

.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: border-color var(--t), background var(--t), transform var(--t), box-shadow var(--t);
}
.cat-card:hover {
  border-color: var(--green);
  background: var(--green-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,67,50,0.10);
}

.cat-icon { font-size: 1.3rem; margin-bottom: 6px; display: block; }
.cat-name { font-size: 0.78rem; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.3; }

.cat-badge {
  background: var(--green-lt);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
}

/* ================================================
   HOMEPAGE — LISTE CALCULATEURS
================================================ */
.filter-bar {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pill {
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--t);
}
.pill:hover { border-color: #9CA3AF; }
.pill.on { background: var(--green); border-color: var(--green); color: #fff; }

.calcs-list { display: flex; flex-direction: column; gap: 8px; }

.calc-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.calc-row:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
  border-color: #D1D5DB;
}
.calc-row[hidden] { display: none; }

.calc-left { display: flex; flex-direction: column; gap: 3px; }

.calc-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
}

.calc-name { font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.3; }

.calc-arrow { font-size: 1rem; color: var(--green); font-weight: 700; flex-shrink: 0; }

.calc-row:nth-child(1)  { animation: fadeUp 0.4s 0.00s ease both; }
.calc-row:nth-child(2)  { animation: fadeUp 0.4s 0.04s ease both; }
.calc-row:nth-child(3)  { animation: fadeUp 0.4s 0.08s ease both; }
.calc-row:nth-child(4)  { animation: fadeUp 0.4s 0.12s ease both; }
.calc-row:nth-child(5)  { animation: fadeUp 0.4s 0.16s ease both; }
.calc-row:nth-child(6)  { animation: fadeUp 0.4s 0.20s ease both; }
.calc-row:nth-child(7)  { animation: fadeUp 0.4s 0.24s ease both; }
.calc-row:nth-child(8)  { animation: fadeUp 0.4s 0.28s ease both; }
.calc-row:nth-child(9)  { animation: fadeUp 0.4s 0.32s ease both; }
.calc-row:nth-child(10) { animation: fadeUp 0.4s 0.36s ease both; }

/* ================================================
   HOMEPAGE — TRUST BAR
================================================ */
.trust-bar {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--subtle);
  font-weight: 500;
}

/* ================================================
   PAGES CALCULATEURS — LAYOUT
================================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.page-hero {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--green); transition: opacity var(--t); }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb-sep { color: var(--subtle); }

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.page-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--subtle);
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ================================================
   PAGES CALCULATEURS — WIDGET CALCULATEUR
================================================ */
.cpanel { display: none; }
.cpanel.active { display: block; animation: fadeUp 0.4s ease both; }

.ccard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
}

.chdr {
  padding: 20px 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ctitle {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sbadge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--green-lt);
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  vertical-align: middle;
}

.cdesc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.cbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 560px) {
  .cbody { grid-template-columns: 1fr; }
}

.cinps {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 560px) {
  .cinps { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Groupe input */
.ig { display: flex; flex-direction: column; gap: 5px; }

.iglbl {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
}

.igf {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--t);
}
.igf:focus-within { border-color: var(--green); }

.igf input[type="number"],
.igf select {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 9px 10px;
  outline: none;
  min-width: 0;
}

.igf select { cursor: pointer; }

.igu {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--subtle);
  padding: 0 10px;
  background: var(--border);
  align-self: stretch;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Slider */
.igr { padding: 2px 0; }

.igr input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--green-lt);
  outline: none;
  cursor: pointer;
}
.igr input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(27,67,50,0.3);
  transition: transform 0.12s;
}
.igr input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.igr input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
}

.igh {
  font-size: 0.71rem;
  color: var(--subtle);
  line-height: 1.45;
}

/* Bouton calculer */
.cbtn {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  margin-top: 4px;
}
.cbtn:hover { background: var(--green-mid); transform: translateY(-1px); }
.cbtn:active { transform: scale(0.98); }

/* Zone résultats */
.cres {
  padding: 18px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rempty {
  text-align: center;
  padding: 20px 0;
}
.rempty-icon {
  font-size: 1.6rem;
  color: var(--border);
  margin-bottom: 8px;
}
.rempty p {
  font-size: 0.8rem;
  color: var(--subtle);
  line-height: 1.5;
}

/* Résultat générique (injecté par calculators.js) */
.rout { animation: fadeUp 0.35s ease both; }

.rval {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.rlbl {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
  margin-bottom: 16px;
}

.rblock {
  background: var(--green-bg);
  border: 1px solid var(--green-bdr);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.rblock-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  margin-bottom: 2px;
}

.rblock-val {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--text);
}

.rline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.rline:last-child { border-bottom: none; }
.rline strong { color: var(--text); font-weight: 600; }

.rwarn {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-bdr);
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: #92400E;
  line-height: 1.5;
  margin-top: 10px;
}

/* ================================================
   PAGES CALCULATEURS — CONTENU SEO
================================================ */
.seo-content {
  margin: 2.5rem 0 0;
}

.seo-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 2rem 0 .75rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.seo-content h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
  color: var(--text);
}

.seo-content p,
.seo-content li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #374151;
}

.seo-content ul {
  padding-left: 0;
  margin: .5rem 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seo-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}
.seo-content ul li::before {
  content: '→';
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.info-box {
  background: var(--green-bg);
  border-left: 3px solid var(--green);
  padding: .9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: .86rem;
}
.seo-table th {
  background: var(--bg-soft);
  text-align: left;
  padding: .55rem .75rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}
.seo-table td {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--border);
  color: #374151;
}
.seo-table tr:last-child td { border-bottom: none; }
.seo-table tr:hover td { background: var(--bg-soft); }

.disclaimer {
  font-size: .78rem;
  color: var(--subtle);
  font-style: italic;
  margin: .5rem 0;
  line-height: 1.5;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  font-size: 1rem;
  color: var(--green);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item p {
  font-size: .86rem;
  line-height: 1.7;
  color: #374151;
  margin: .6rem 0 0;
  padding: .5rem .5rem 0;
}

/* Sources */
.sources-block {
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sources-block h2 {
  font-size: .88rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle) !important;
  margin: 0 0 .6rem !important;
}
.sources-block ul {
  padding-left: 1.1rem;
  margin: 0;
  flex-direction: column;
  gap: 2px;
}
.sources-block ul li { font-size: .8rem; color: var(--muted); }
.sources-block ul li::before { display: none; }
.sources-block a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.sources-block a:hover { color: var(--green-mid); }

/* ================================================
   PAGES CALCULATEURS — PANEL LIÉS
================================================ */
.related-panel {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--subtle);
  margin-bottom: 12px;
}

.related-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.lcard:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.lico { font-size: 1.2rem; flex-shrink: 0; }

.ltxt { flex: 1; min-width: 0; }

.lnm {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.lsb {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.larr {
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ================================================
   FOOTER  — identique homepage
================================================ */
footer {
  background: var(--green);
  padding: 32px 20px 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-bottom: 6px;
}

.footer-sources {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
  transition: color var(--t);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}
