/* Fiches « Calories de… », index des aliments et repas de Noël (30/11/2026) */
.cl h2 { margin: 2rem 0 0.7rem; font-size: 1.2rem; }
.cl-tete { display: flex; align-items: center; gap: 1rem; margin-top: 0.8rem; }
.cl-tete > div { flex: 1; min-width: 0; }
.cl h1 { margin: 0; font-family: var(--round); font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.12; letter-spacing: -0.02em; }
.cl h1 em { font-style: normal; color: var(--accent); }
.cl-img { flex: none; width: clamp(96px, 28vw, 170px); height: auto; filter: drop-shadow(0 14px 16px rgba(60, 40, 10, 0.16)); }
.cl-big { margin: 0.9rem 0 0; font-size: 1.05rem; font-weight: 700; }
.cl-big b { font-family: var(--round); font-size: clamp(2.6rem, 9vw, 3.4rem); letter-spacing: -0.03em; color: var(--accent-ink); }
.cl-big span { color: var(--muted); font-weight: 600; }
.cl-p1 { margin: 0.15rem 0 0; color: var(--muted); }
.cl-p1 b { color: var(--ink); }
.cl-src { margin: 0.8rem 0 0; font-size: 0.78rem; color: var(--muted); }

.cl-calc { margin-top: 1.3rem; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid rgba(77, 154, 60, 0.35); box-shadow: inset 4px 0 0 var(--accent); }
.cl-calc label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.cl-calc-l { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cl-calc input { width: 6.5rem; padding: 0.6rem 0.7rem; font: inherit; font-size: 1.1rem; font-weight: 700; border-radius: 12px; border: 1px solid rgba(17, 18, 24, 0.15); background: #fbf8f2; }
.cl-calc-l > span { font-weight: 700; color: var(--muted); }
.cl-calc output { margin-left: auto; font-size: 1rem; font-weight: 700; }
.cl-calc output b { font-family: var(--round); font-size: 1.7rem; }
.cl-calc-m { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--muted); }
.cl-calc-m b { color: var(--ink); }

.cl-table-w { overflow-x: auto; }
.cl-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; border-radius: 16px; overflow: hidden; }
.cl-table th, .cl-table td { padding: 0.65rem 0.7rem; text-align: left; border-bottom: 1px solid rgba(17, 18, 24, 0.06); white-space: nowrap; }
.cl-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: #f6f1e7; }
.cl-table tbody th { font-weight: 650; white-space: normal; }
.cl-table tbody th small { display: block; font-weight: 500; color: var(--muted); }
.cl-mini { margin: 0.5rem 0 0; font-size: 0.78rem; color: var(--muted); }

.cl-sports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.cl-sport { display: flex; flex-direction: column; align-items: center; padding: 0.8rem 0.4rem; border-radius: 16px; background: #fff; text-align: center; }
.cl-sport img { width: 54px; height: 54px; object-fit: contain; }
.cl-sport b { margin-top: 0.3rem; font-family: var(--round); font-size: 1.35rem; }
.cl-sport small { font-size: 0.78rem; color: var(--muted); }

.cl-barre { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #eee6d8; }
.cl-b-p, .cl-d-p { background: #e0734f; }
.cl-b-g, .cl-d-g { background: #e0a52c; }
.cl-b-l, .cl-d-l { background: #4d9a3c; }
.cl-b-a, .cl-d-a { background: #8b6fc6; }
.cl-leg { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0.5rem 0 0.8rem; font-size: 0.82rem; color: var(--muted); }
.cl-leg span { display: inline-flex; align-items: center; gap: 0.35rem; }
.cl-d { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.cl-macros { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 0.94rem; }
.cl-macros th, .cl-macros td { padding: 0.6rem 0.9rem; border-bottom: 1px solid rgba(17, 18, 24, 0.06); text-align: left; }
.cl-macros td { text-align: right; font-weight: 700; }
.cl-macros tr.cl-sous th { padding-left: 1.8rem; font-weight: 500; color: var(--muted); }
.cl-txt { margin: 1rem 0 0; line-height: 1.65; }
.cl-note { margin: 0.8rem 0 0; padding: 0.8rem 1rem; border-radius: 14px; background: var(--tint); font-weight: 600; line-height: 1.5; }
.cl-noel {
  display: flex; flex-direction: column; gap: 0.15rem; margin-top: 1.2rem; padding: 0.9rem 1.1rem; border-radius: 18px;
  background: linear-gradient(135deg, #fff4e3, #f9e6d2); border: 1px solid rgba(201, 120, 60, 0.3); color: var(--ink); text-decoration: none;
}
.cl-noel b { font-size: 1rem; }
.cl-noel span, .cl-noel small { font-size: 0.86rem; color: #9a5a2a; font-weight: 650; }
.cl-noel-grand { flex-direction: row; align-items: center; gap: 0.9rem; margin: 0.5rem 0 0.5rem; }
.cl-noel-grand img { width: 70px; height: 70px; object-fit: contain; flex: none; }
.cl-noel-grand span { display: flex; flex-direction: column; gap: 0.2rem; color: var(--ink); }

.cl-comp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
.cl-comp a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.7rem; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.cl-comp img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.cl-comp span { display: flex; flex-direction: column; min-width: 0; }
.cl-comp b { font-size: 0.92rem; }
.cl-comp small { font-size: 0.78rem; color: var(--muted); }

/* index */
.cl-cherche { max-width: 460px; margin: 1.3rem auto 0; }
.cl-cherche input { width: 100%; padding: 0.85rem 1.1rem; font: inherit; font-size: 1rem; border-radius: 999px; border: 1px solid rgba(17, 18, 24, 0.12); background: #fff; }
.cl-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }
.cl-carte { display: flex; flex-direction: column; align-items: center; padding: 0.9rem 0.6rem; border-radius: 18px; background: #fff; border: 1px solid rgba(17, 18, 24, 0.06); color: var(--ink); text-decoration: none; text-align: center; transition: transform 0.15s, border-color 0.15s; }
.cl-carte:hover { transform: translateY(-2px); border-color: rgba(77, 154, 60, 0.45); }
.cl-carte img { width: 72px; height: 72px; object-fit: contain; }
.cl-carte b { margin-top: 0.4rem; font-size: 0.95rem; }
.cl-carte small { font-size: 0.8rem; color: var(--accent-ink); font-weight: 700; }
.cl-vide { margin-top: 1.5rem; text-align: center; color: var(--muted); }

/* repas de Noël */
.nl h1 { margin-top: 0.9rem; }
.nl-intro { margin: 0.7rem 0 0; color: var(--muted); }
.nl-total {
  position: sticky; top: 84px; z-index: 5; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 20px; color: #1f2a18;
  background: #d9f0c9; border: 1.5px solid rgba(77, 154, 60, 0.45);
  box-shadow: 0 18px 36px -22px rgba(50, 110, 30, 0.5);
}
.nl-total-t { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #3f5a33; }
.nl-total-k { margin: 0.1rem 0 0; font-size: 1.1rem; font-weight: 700; }
.nl-total-k b { font-family: var(--round); font-size: 2.6rem; letter-spacing: -0.03em; }
.nl-total-m { display: flex; align-items: center; gap: 0.35rem; margin: 0; color: #3f5a33; }
.nl-total-m img { width: 30px; height: 30px; object-fit: contain; }
.nl-part { position: absolute; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.8rem; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.nl-part svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nl-liste { display: grid; gap: 0.5rem; margin-top: 1rem; }
.nl-l { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem; border-radius: 16px; background: #fff; border: 1px solid rgba(17, 18, 24, 0.07); cursor: pointer; }
.nl-l:has(input:checked) { border-color: rgba(77, 154, 60, 0.55); background: #f6fbf2; }
.nl-l input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.nl-l img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.nl-l > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nl-l b { font-size: 0.95rem; }
.nl-l small a { font-size: 0.78rem; color: var(--muted); }
.nl-l em { font-style: normal; font-weight: 750; white-space: nowrap; }

@media (max-width: 560px) {
  .nl-total { top: 76px; }
  .nl-part span { display: none; }
}
@media (max-width: 560px) {
  .cl-table { font-size: 0.8rem; }
  .cl-table th, .cl-table td { padding: 0.55rem 0.35rem; white-space: normal; }
  .cl-table thead th { font-size: 0.66rem; letter-spacing: 0.02em; }
  .cl-table tbody th { width: 34%; }
}
@media (max-width: 560px) {
  .cl-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
