/* ==========================================================================
   Rapport — « Ton année » : rappel, encart d'offre, chapitre annuel.
   Extrait iso-fonctionnel de l'ancien public/premium.css (S2-01) : mêmes règles,
   même ordre de chargement (voir rapport.html).
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* « Ton année » (lot L7) : rappel, encart d'offre, chapitre annuel.   */
/* Reprend les jetons du thème (clair / sombre) : css/tokens.css.      */
/* ------------------------------------------------------------------ */
.annual-reminder { margin: 14px 0 0; font-family: "Geist", sans-serif; font-size: 0.92rem; }
.annual-reminder a { color: var(--accent-ink); text-decoration: none; border-bottom: 1px dotted var(--accent); }
.annual-reminder a:hover { border-bottom-style: solid; }

/* Encart d'offre */
.annual-offer {
  margin: 48px 0 24px;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  scroll-margin-top: 16px;
}
.annual-kicker {
  font-family: "Noto Serif KR", serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent-ink);
  margin: 0 0 8px;
}
.annual-offer h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 10px;
}
.annual-lead { font-family: "Geist", sans-serif; color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; margin: 0 0 14px; }
.annual-intro { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; line-height: 1.6; font-style: italic; margin: 0 0 18px; }
.yr-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; margin-bottom: 22px; }
.yr-teaser-month {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: var(--surface);
  overflow: hidden;
}
.yr-teaser-head { font-family: "Geist", sans-serif; font-size: 0.86rem; color: var(--ink-2); margin: 0 0 6px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.yr-teaser-head strong { color: var(--ink); }
.yr-teaser-head .yr-card-glyph { margin-left: auto; font-size: 1.1rem; }
.yr-teaser-text { font-family: "Cormorant Garamond", serif; font-size: 1.05rem; line-height: 1.5; margin: 0 0 6px; }
.yr-teaser-blur {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
  filter: blur(4px);
  user-select: none;
  opacity: 0.7;
}
.yr-teaser-more {
  position: absolute;
  right: 10px;
  bottom: -12px;
  font-family: "Geist", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-fill);
  color: var(--ink-on-accent);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.annual-buy { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 520px; }
.annual-btn {
  border: 0;
  border-radius: var(--r-pill);
  background: var(--accent-fill);
  color: var(--ink-on-accent);
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  cursor: pointer;
  transition: background var(--t-fast) ease;
}
.annual-btn[aria-disabled="true"] { opacity: 0.55; }
.annual-btn:hover { filter: brightness(1.06); }
.annual-small { font-family: "Geist", sans-serif; font-size: 0.78rem; color: var(--ink-3); margin: 0; }
.annual-error { font-family: "Geist", sans-serif; font-size: 0.86rem; color: var(--accent-ink); margin: 0; min-height: 1em; }
.report-notice { font-family: "Geist", sans-serif; font-size: 0.86rem; color: var(--ink-2); margin: 0 0 4px; }

/* Chapitre achete */
.annual-chapter { scroll-margin-top: 16px; }
.yr-period { font-family: "Geist", sans-serif; font-size: 0.86rem; color: var(--ink-2); margin: -6px 0 18px; }
.yr-subtitle { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.35rem; margin: 26px 0 12px; }
.yr-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
}
.yr-cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px 2px 7px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.yr-cell.yr-porteur { border-top: 3px solid var(--wood); }
.yr-cell.yr-neutre { border-top: 3px solid var(--line-strong); }
.yr-cell.yr-exigeant { border-top: 3px solid var(--fire); }
.yr-cell.yr-highlight { box-shadow: 0 0 0 1px var(--accent) inset; }
.yr-month { font-family: "Geist", sans-serif; font-size: 0.7rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.04em; }
.yr-glyph { font-family: "Noto Serif KR", serif; font-size: 1rem; line-height: 1.1; }
.yr-tone { font-family: "Geist", sans-serif; font-size: 0.62rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-flag { font-family: "Geist", sans-serif; font-size: 0.6rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-flag-hl { color: var(--accent-ink); }
.yr-flag .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.yr-flag-vg { color: var(--ink-2); }
.yr-legend { font-family: "Geist", sans-serif; font-size: 0.74rem; color: var(--ink-3); margin: 8px 0 0; }
.yr-peaks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.yr-peaks {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 14px 16px;
}
.yr-peaks-hl { border-left: 3px solid var(--accent); }
.yr-peaks-vg { border-left: 3px solid var(--line-strong); }
.yr-peaks h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.15rem; margin: 0 0 8px; }
.yr-peaks ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.yr-peaks li { font-family: "Cormorant Garamond", serif; font-size: 1.02rem; line-height: 1.45; }
.yr-peaks li strong { font-family: "Geist", sans-serif; font-size: 0.86rem; }
.yr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yr-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 16px 18px;
}
.yr-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; margin-bottom: 6px; }
.yr-card-head h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.35rem; margin: 0; }
.yr-range { font-family: "Geist", sans-serif; font-size: 0.76rem; color: var(--ink-3); margin: 2px 0 0; }
.yr-card-glyph { font-family: "Noto Serif KR", serif; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.yr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.yr-pill {
  font-family: "Geist", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.yr-pill-porteur { border-color: var(--wood); }
.yr-pill-exigeant { border-color: var(--fire); }
.yr-pill-hl { border-color: var(--accent); color: var(--accent-ink); }
.yr-energy { font-family: "Cormorant Garamond", serif; font-size: 1.12rem; line-height: 1.55; margin: 0 0 10px; }
.yr-facts { margin: 0 0 10px; }
.yr-facts dt { font-family: "Geist", sans-serif; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-top: 6px; }
.yr-facts dd { margin: 2px 0 0; font-family: "Cormorant Garamond", serif; font-size: 1.04rem; line-height: 1.45; }
.yr-advice { list-style: none; margin: 0 0 10px; padding: 10px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px; }
.yr-advice li { font-family: "Cormorant Garamond", serif; font-size: 1.02rem; line-height: 1.45; }
.yr-advice li span {
  display: inline-block;
  min-width: 64px;
  font-family: "Geist", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-right: 6px;
}
.yr-cycle { font-family: "Geist", sans-serif; font-size: 0.78rem; color: var(--ink-3); margin: 0; font-style: italic; }
.yr-closing { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); margin: 22px 0 0; text-align: center; }

@media (max-width: 720px) {
  .yr-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .yr-grid, .yr-peaks-grid, .yr-teaser { grid-template-columns: minmax(0, 1fr); }
  .annual-offer { padding: 24px 16px 20px; }
}

/* Case « accès immédiat » (renonciation) de l'offre « Ton année » */
.waiver-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); font-size: 0.86rem; color: var(--ink-2); line-height: 1.45; }
.waiver-check input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--accent-fill); }
.waiver-check a { color: inherit; }
.waiver-check:has(input:checked) { border-color: var(--success); }
.waiver-check.is-required { border-color: var(--accent); animation: waiver-shake 360ms ease; }
@keyframes waiver-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .waiver-check.is-required { animation: none; } }
