/* ============================================================
   MESURE FACILE — style.css partagé
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #ffffff;
  --bg-soft:       #faf7f3;
  --bg-card:       #ffffff;
  --text:          #1a1207;
  --text-mid:      #5c4a35;
  --text-light:    #9c8570;
  --accent:        #d4385a;
  --accent-2:      #e8697f;
  --accent-soft:   #fdf0f2;
  --border:        #ede8e0;
  --shadow-sm:     0 1px 4px rgba(26,18,7,.07);
  --shadow-md:     0 4px 20px rgba(26,18,7,.10);
  --shadow-lg:     0 8px 40px rgba(26,18,7,.13);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --serif:         'DM Serif Display', Georgia, serif;
  --sans:          'DM Sans', system-ui, sans-serif;
  --max:           800px;
  /* Override par page pour la couleur du header calculateur */
  --page-color:    var(--accent);
  --page-color-2:  var(--accent-2);
  --page-soft:     var(--accent-soft);
}

html { font-size: 16px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.65; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.5rem; }
.container--wide { max-width: 960px; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 64px; gap: 2rem; }
.site-logo { font-family: var(--serif); font-size: 1.3rem; color: var(--text); text-decoration: none; flex-shrink: 0; }
.logo-dot { color: var(--accent); }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav-list > li { position: relative; }
.nav-list a, .nav-parent {
  font-size: .88rem; font-weight: 500; color: var(--text-mid); text-decoration: none;
  padding: .4rem .8rem; border-radius: var(--radius-sm); background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: .35rem; transition: background .15s, color .15s;
}
.nav-list a:hover, .nav-parent:hover, .nav-list a.active { background: var(--accent-soft); color: var(--accent); }
.nav-arrow { font-size: .65rem; opacity: .6; transition: transform .2s; }
.has-submenu.open .nav-arrow { transform: rotate(180deg); }
.submenu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); min-width: 190px; list-style: none; padding: .5rem; z-index: 200;
}
.has-submenu.open .submenu { display: block; }
.submenu a { display: block; padding: .45rem .75rem; border-radius: var(--radius-sm); font-size: .87rem; color: var(--text-mid); }
.submenu a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; margin-left: auto; padding: .5rem;
  z-index: 110;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO HOME ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fff8f0 0%, #fdf0f2 50%, #fff5eb 100%);
  padding: 4rem 0 3.5rem; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,56,90,.07) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(212,56,90,.15);
  padding: .3rem .8rem; border-radius: 99px; margin-bottom: 1.25rem;
}
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; color: var(--text); max-width: 580px; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 1.05rem; color: var(--text-mid); max-width: 500px; line-height: 1.7; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: .5rem; }
.hero-stat-num { font-family: var(--serif); font-size: 1.5rem; color: var(--text); }
.hero-stat-label { font-size: .82rem; color: var(--text-light); }

/* ── HERO PAGE ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #fff8f0 0%, var(--page-soft, #fdf0f2) 60%, #fff5eb 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2.25rem; position: relative; overflow: hidden;
}
.page-hero-icon {
  position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
  font-size: 7rem; opacity: .12; line-height: 1; pointer-events: none; user-select: none;
}
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--text-light); margin-bottom: .75rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .4; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.15rem); line-height: 1.2; color: var(--text); max-width: 640px; }
.page-hero .hero-desc { margin-top: .65rem; color: var(--text-mid); max-width: 560px; font-size: .97rem; }
.page-hero .hero-intro {
  margin-top: .85rem; color: var(--text-mid); max-width: 580px; font-size: .97rem; line-height: 1.7;
  background: rgba(255,255,255,.6); border-radius: var(--radius-sm); padding: .75rem 1rem;
  border-left: 3px solid var(--page-color, var(--accent));
}

/* ── SECTION INTRO (1er paragraphe au-dessus du calculateur) ── */
.section-intro { padding: 2rem 0 0; }
.section-intro-inner {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.section-intro-inner p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  margin: 0;
}

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 2.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section h2 { font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.55rem); color: var(--text); margin-bottom: 1rem; line-height: 1.3; }
.section h3 { font-size: .97rem; font-weight: 600; color: var(--text); margin: 1.35rem 0 .45rem; display: flex; align-items: center; gap: .4rem; }
.section p { margin-bottom: .85rem; color: var(--text-mid); }
.section p:last-child { margin-bottom: 0; }
.section ul, .section ol { padding-left: 1.3rem; color: var(--text-mid); }
.section li { margin-bottom: .4rem; }

.section-head { margin-bottom: 1.75rem; }
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem;
}
.section-head h2 { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.75rem); color: var(--text); margin: 0; }

.info-box {
  background: var(--page-soft, var(--accent-soft));
  border-left: 3px solid var(--page-color, var(--accent));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1.15rem; margin: 1rem 0; font-size: .95rem; color: var(--text);
}

.in-text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.in-text-link:hover { text-decoration: none; }

/* ── TABLE ───────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .9rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table thead tr { background: var(--text); }
.data-table th { color: #fff; padding: .7rem 1rem; text-align: left; font-weight: 600; font-size: .83rem; letter-spacing: .03em; }
.data-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.data-table tr:nth-child(even) td { background: var(--bg-soft); }
.data-table tr:last-child td { border-bottom: none; }
.data-table .highlight td { color: var(--accent); font-weight: 600; }

/* ── CALCULATEUR ─────────────────────────────────────────── */
.calc-section { padding: 2.5rem 0; }
.calc-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.calc-card-head {
  background: linear-gradient(135deg, var(--page-color, var(--accent)) 0%, var(--page-color-2, var(--accent-2)) 100%);
  padding: 1.4rem 1.75rem; display: flex; align-items: center; gap: .9rem;
}
.calc-head-icon {
  font-size: 1.75rem; width: 52px; height: 52px;
  background: rgba(255,255,255,.2); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.calc-card-head h3 { font-family: var(--serif); font-size: 1.25rem; color: #fff; line-height: 1.25; }
.calc-card-head p { font-size: .83rem; color: rgba(255,255,255,.75); margin-top: .2rem; }

.calc-body { padding: 1.75rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.calc-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.calc-field label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: .4rem;
}
.calc-field input, .calc-field select {
  width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--sans); font-size: 1.05rem; font-weight: 600;
  color: var(--text); background: var(--bg-soft); transition: border-color .15s, background .15s, box-shadow .15s;
  -moz-appearance: textfield;
}
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-field input:focus, .calc-field select:focus {
  outline: none; border-color: var(--page-color, var(--accent));
  background: #fff; box-shadow: 0 0 0 3px rgba(212,56,90,.1);
}
.calc-hint { font-size: .75rem; color: var(--text-light); margin-top: .35rem; }

.calc-result {
  background: linear-gradient(135deg, var(--page-soft, #fff5f7) 0%, #fff8f0 100%);
  border: 1.5px solid rgba(212,56,90,.2); border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.calc-result-label { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-light); margin-bottom: .3rem; }
.calc-result-value { font-family: var(--serif); font-size: 2.8rem; color: var(--page-color, var(--accent)); line-height: 1; }
.calc-result-sub { font-size: .8rem; color: var(--text-light); margin-top: .3rem; }
.calc-result-breakdown { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; }
.breakdown-item { display: flex; align-items: center; gap: .5rem; }
.breakdown-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--page-color, var(--accent)); opacity: .4; flex-shrink: 0; }
.breakdown-text { font-size: .8rem; color: var(--text-light); }
.breakdown-val { font-size: .8rem; font-weight: 600; color: var(--text-mid); }

/* Simple result (cuisine) */
.calc-result-simple {
  background: linear-gradient(135deg, var(--page-soft, #fff5f7) 0%, #fff8f0 100%);
  border: 1.5px solid rgba(212,56,90,.2); border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem;
}
.calc-result-simple .calc-result-label { margin: 0; white-space: nowrap; }
.calc-result-simple .calc-result-value { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }

/* Multi calc (cuisine — plusieurs sur une page) */
.calc-multi { display: flex; flex-direction: column; gap: 1.5rem; }
.calc-mini {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.calc-mini-head {
  background: linear-gradient(135deg, var(--page-color, var(--accent)) 0%, var(--page-color-2, var(--accent-2)) 100%);
  padding: .9rem 1.25rem; display: flex; align-items: center; gap: .7rem;
}
.calc-mini-head-icon { font-size: 1.3rem; opacity: .9; }
.calc-mini-head h3 { font-family: var(--serif); font-size: 1rem; color: #fff; margin: 0; }
.calc-mini-body { padding: 1.25rem; display: flex; align-items: stretch; gap: 1rem; flex-wrap: wrap; }
.calc-mini-body .calc-field { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.calc-mini-body .calc-field input { flex: none; }
.calc-mini-body .calc-result-simple { flex: 1; min-width: 160px; }

/* ── APPAREILS GRID (catégorie) ───────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .85rem; }
.card-link {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 1.1rem 1rem;
  text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s; position: relative; overflow: hidden;
}
.card-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.card-link:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-link:hover::after { transform: scaleX(1); }
.card-icon { font-size: 1.6rem; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.card-label { font-size: .92rem; font-weight: 600; color: var(--text); }
.card-hint { font-size: .78rem; color: var(--text-light); margin-top: .1rem; }

/* ── VOIR AUSSI ──────────────────────────────────────────── */
.voir-aussi { padding: 2.5rem 0; background: var(--bg-soft); border-top: 1px solid var(--border); }
.voir-aussi h2 { font-family: var(--serif); font-size: 1.35rem; color: var(--text); margin-bottom: 1.25rem; }
.voir-aussi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .85rem; }
.voir-aussi-card {
  display: flex; flex-direction: column; gap: .5rem; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1rem;
  text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.voir-aussi-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.voir-aussi-icon { font-size: 1.5rem; }
.voir-aussi-label { font-size: .9rem; font-weight: 600; color: var(--text); }
.voir-aussi-desc { font-size: .78rem; color: var(--text-light); }

/* ── BOX TYPES (comparaisons) ────────────────────────────── */
.types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.type-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.1rem; }
.type-card.best { border-color: rgba(212,56,90,.3); background: var(--accent-soft); }
.type-name { font-weight: 600; color: var(--text); font-size: .92rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .4rem; }
.type-card.best .type-name { color: var(--accent); }
.type-card p { font-size: .84rem; color: var(--text-light); margin: 0; }

/* ── BLOG ────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.blog-card {
  display: flex; flex-direction: column; gap: .75rem;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 1.4rem; text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.blog-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: .2rem .6rem; border-radius: 99px; }
.blog-title { font-family: var(--serif); font-size: 1.05rem; color: var(--text); line-height: 1.35; }
.blog-excerpt { font-size: .85rem; color: var(--text-light); line-height: 1.6; }
.blog-read { font-size: .82rem; font-weight: 600; color: var(--accent); margin-top: auto; }

/* Blog card thumbnail */
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-sm); }

/* Article blog */
.article-content { max-width: 680px; }
.article-content h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--text); margin: 2rem 0 .75rem; }
.article-content p { color: var(--text-mid); margin-bottom: 1rem; }
.article-content ul, .article-content ol { padding-left: 1.4rem; color: var(--text-mid); margin-bottom: 1rem; }
.article-content li { margin-bottom: .5rem; }
.article-content strong { color: var(--text); }
.article-meta { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--text-light); margin-top: .75rem; flex-wrap: wrap; }
.article-meta-item { white-space: nowrap; }
.article-meta-sep { opacity: .4; }

/* Blog hero image */
.blog-hero-img { width: 100%; max-width: 800px; margin: 1.5rem auto 0; display: block; border-radius: var(--radius-md); aspect-ratio: 16/9; object-fit: cover; }

/* Blog content image */
.blog-content-figure { margin: 2rem 0; text-align: center; }
.blog-content-figure img { width: 100%; max-width: 720px; border-radius: var(--radius-md); aspect-ratio: 16/9; object-fit: cover; }
.blog-content-figure figcaption { font-size: .82rem; color: var(--text-light); margin-top: .5rem; font-style: italic; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--text); color: rgba(255,255,255,.5); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--serif); font-size: 1.1rem; color: #fff; text-decoration: none; }
.footer-copy { font-size: .82rem; }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { font-size: .82rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
.footer-nav a:hover { color: #fff; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 700px) {
  /* ── Menu mobile style Yaute Ramonage ── */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 2px solid var(--accent);
    padding: 0;
    overflow-y: auto;
    z-index: 200;
  }
  .site-nav.open { display: block; }
  .nav-list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .75rem 0;
  }
  .nav-list > li { width: 100%; }
  .nav-list > li > a, .nav-parent {
    display: flex; width: 100%;
    padding: .9rem 1.5rem;
    font-size: 1rem; font-weight: 600; color: var(--text);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-list > li > a:hover, .nav-parent:hover {
    background: var(--accent-soft); color: var(--accent);
  }
  .submenu {
    position: static; border: none; box-shadow: none; border-radius: 0;
    padding: 0; min-width: 0; background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
  }
  .submenu a {
    display: block; padding: .75rem 1.5rem .75rem 2.5rem;
    font-size: .92rem; border-radius: 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
  }
  .submenu a:last-child { border-bottom: none; }
  .header-inner { position: relative; }

  /* ── Hero mobile ── */
  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: 1.8rem; }
  .page-hero-icon { display: none; }
  .hero-stats { gap: 1.25rem; }

  /* ── Calculateurs mobile ── */
  .calc-grid, .calc-grid-3 { grid-template-columns: 1fr; }
  .calc-result { flex-direction: column; align-items: flex-start; }
  .calc-result-breakdown { align-items: flex-start; }
  .calc-mini-body {
    flex-direction: column; align-items: stretch;
    padding: 1rem;
  }
  .calc-mini-body .calc-field { min-width: 0; width: 100%; }
  .calc-mini-body .calc-field input { font-size: 1.1rem; padding: .8rem 1rem; }
  .calc-mini-body .calc-result-simple {
    min-width: 0; width: 100%;
    justify-content: center; text-align: center;
    padding: .85rem 1rem;
    flex-direction: column; gap: .3rem;
  }
  .calc-mini-body .calc-result-simple .calc-result-label { font-size: .7rem; }
  .calc-mini-body .calc-result-simple .calc-result-value { font-size: 1.15rem; }
  .calc-mini-head { padding: .75rem 1rem; }
  .calc-mini-head h3 { font-size: .88rem; }

  /* ── Divers mobile ── */
  .types-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 500px) {
  .cards-grid, .voir-aussi-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .quick-ref-grid { grid-template-columns: 1fr; }
}

/* ── HOMEPAGE EXTRAS ─────────────────────────────────────── */
.home-section { padding: 3rem 0; }
.section-intro { color: var(--text-mid); font-size: 1rem; margin-top: .5rem; max-width: 600px; }
.home-cat-title { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--text); margin: 2rem 0 .85rem; }
.home-cta-band { text-align: center; margin-top: 2.5rem; }
.btn-outline {
  display: inline-block; padding: .65rem 1.5rem; font-size: .9rem; font-weight: 600;
  color: var(--accent); border: 2px solid var(--accent); border-radius: 99px;
  text-decoration: none; transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Quick ref grid */
.home-quick-ref {
  margin-top: 2.5rem; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.home-quick-ref h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--text); margin-bottom: 1.25rem; }
.quick-ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .85rem; }
.quick-ref-item {
  display: flex; flex-direction: column; gap: .2rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: .9rem 1rem;
}
.qr-icon { font-size: 1.3rem; }
.qr-text { font-size: .88rem; color: var(--text); }
.qr-vals { font-size: .78rem; color: var(--text-light); }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: .75rem; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  border-color: var(--page-color, var(--accent));
  box-shadow: 0 2px 12px rgba(212,56,90,.08);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; font-size: .95rem;
  color: var(--text); background: #fff; list-style: none;
  transition: background .15s, color .15s;
}
.faq-q:hover { background: var(--page-soft, var(--accent-soft)); color: var(--page-color, var(--accent)); }
.faq-q::after {
  content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--page-color, var(--accent));
  flex-shrink: 0; margin-left: 1rem;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: var(--page-soft, var(--accent-soft)); border-radius: 50%;
  transition: background .15s, transform .2s;
}
.faq-item[open] .faq-q::after { content: '\2212'; transform: rotate(180deg); background: var(--page-color, var(--accent)); color: #fff; }
.faq-q::-webkit-details-marker { display: none; }
.faq-a {
  padding: 1rem 1.25rem; font-size: .92rem; color: var(--text-mid); line-height: 1.7;
  border-top: 1.5px solid var(--border); background: var(--bg-soft);
}
.faq-a p { margin-bottom: .6rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ── CONTENT ARTICLE (pages internes) ────────────────────── */
.content-body h2 {
  font-family: var(--serif); font-size: 1.4rem; color: var(--text);
  margin: 2.25rem 0 .85rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.content-body h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 .5rem; }
.content-body p { color: var(--text-mid); margin-bottom: .9rem; line-height: 1.7; }
.content-body p:last-child { margin-bottom: 0; }
.content-body strong { color: var(--text); }
.content-body a { color: var(--accent); font-weight: 500; }
.content-body a:hover { text-decoration: none; }
.content-body ul, .content-body ol { padding-left: 1.4rem; color: var(--text-mid); margin-bottom: 1rem; }
.content-body li { margin-bottom: .5rem; line-height: 1.6; }
.content-body li strong { color: var(--text); }

/* Tip callout */
.content-body blockquote, .tip-box {
  background: var(--page-soft, var(--accent-soft));
  border-left: 3px solid var(--page-color, var(--accent));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1.15rem; margin: 1.25rem 0; font-size: .93rem; color: var(--text);
}

/* Data table in content */
.content-body table {
  width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .88rem;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.content-body thead tr { background: var(--text); }
.content-body th { color: #fff; padding: .65rem .9rem; text-align: left; font-weight: 600; font-size: .82rem; }
.content-body td { padding: .6rem .9rem; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.content-body tr:nth-child(even) td { background: var(--bg-soft); }
.content-body tr:last-child td { border-bottom: none; }
