@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Lato:wght@400;500;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Itim&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --bg:           #F0E6DA;
  --bg-light:     #F8F0E8;
  --white:        #FFFFFF;
  --terra:        #C4613A;
  --terra-d:      #A0472A;
  --terra-light:  #E8A898;
  --ink:          #3D2010;
  --ink-soft:     #7A5540;
  --line:         #E5D5C5;
  --rose-pale:    #F5DDD5;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Lato', sans-serif;
  --radius-card:  22px;
  --shadow:       0 8px 32px -10px rgba(61,32,16,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  /* motif floral discret + halos colorés : le motif défile avec la page,
     les halos restent fixes pour garder de la profondeur */
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22360%22%20height%3D%22360%22%20viewBox%3D%220%200%20360%20360%22%3E%3Cg%20fill%3D%22%23C4613A%22%20opacity%3D%220.14%22%3E%3Cg%20transform%3D%22translate%2848%2C44%29%20rotate%2812%29%20scale%280.66%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28228%2C74%29%20rotate%28-20%29%20scale%280.46%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28146%2C134%29%20rotate%2830%29%20scale%280.56%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28300%2C178%29%20rotate%288%29%20scale%280.62%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2874%2C214%29%20rotate%28-14%29%20scale%280.5%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28196%2C268%29%20rotate%2822%29%20scale%280.58%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28322%2C298%29%20rotate%28-6%29%20scale%280.44%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2820%2C312%29%20rotate%2818%29%20scale%280.52%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28262%2C206%29%20rotate%2840%29%20scale%280.36%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28120%2C318%29%20rotate%28-28%29%20scale%280.4%29%22%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%280%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%2872%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28144%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28216%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%22-16%22%20rx%3D%228%22%20ry%3D%2214%22%20transform%3D%22rotate%28288%29%22%2F%3E%3Ccircle%20r%3D%226%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23C4613A%22%20opacity%3D%220.13%22%3E%3Cpath%20transform%3D%22translate%28268%2C36%29%20scale%281.2%29%22%20d%3D%22M0%2C2%20C-3%2C-2%20-8%2C1%200%2C8%20C8%2C1%203%2C-2%200%2C2%22%2F%3E%3Cpath%20transform%3D%22translate%2836%2C140%29%20scale%281.0%29%22%20d%3D%22M0%2C2%20C-3%2C-2%20-8%2C1%200%2C8%20C8%2C1%203%2C-2%200%2C2%22%2F%3E%3Cpath%20transform%3D%22translate%28160%2C196%29%20scale%280.85%29%22%20d%3D%22M0%2C2%20C-3%2C-2%20-8%2C1%200%2C8%20C8%2C1%203%2C-2%200%2C2%22%2F%3E%3Cpath%20transform%3D%22translate%28330%2C140%29%20scale%281.1%29%22%20d%3D%22M0%2C2%20C-3%2C-2%20-8%2C1%200%2C8%20C8%2C1%203%2C-2%200%2C2%22%2F%3E%3Cpath%20transform%3D%22translate%28104%2C84%29%20scale%280.9%29%22%20d%3D%22M0%2C2%20C-3%2C-2%20-8%2C1%200%2C8%20C8%2C1%203%2C-2%200%2C2%22%2F%3E%3Cpath%20transform%3D%22translate%28214%2C318%29%20scale%281.0%29%22%20d%3D%22M0%2C2%20C-3%2C-2%20-8%2C1%200%2C8%20C8%2C1%203%2C-2%200%2C2%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23A9B394%22%20opacity%3D%220.16%22%3E%3Cellipse%20cx%3D%22174%22%20cy%3D%2248%22%20rx%3D%2213.0%22%20ry%3D%225.4%22%20transform%3D%22rotate%28-28%20174%2048%29%22%2F%3E%3Cellipse%20cx%3D%22192%22%20cy%3D%2258%22%20rx%3D%2213.0%22%20ry%3D%225.4%22%20transform%3D%22rotate%2824%20192%2058%29%22%2F%3E%3Cellipse%20cx%3D%2288%22%20cy%3D%22124%22%20rx%3D%2211.049999999999999%22%20ry%3D%224.59%22%20transform%3D%22rotate%2838%2088%20124%29%22%2F%3E%3Cellipse%20cx%3D%22272%22%20cy%3D%22124%22%20rx%3D%2213.0%22%20ry%3D%225.4%22%20transform%3D%22rotate%28-40%20272%20124%29%22%2F%3E%3Cellipse%20cx%3D%22288%22%20cy%3D%22134%22%20rx%3D%2210.4%22%20ry%3D%224.32%22%20transform%3D%22rotate%2818%20288%20134%29%22%2F%3E%3Cellipse%20cx%3D%2232%22%20cy%3D%22178%22%20rx%3D%2211.700000000000001%22%20ry%3D%224.86%22%20transform%3D%22rotate%28-22%2032%20178%29%22%2F%3E%3Cellipse%20cx%3D%22238%22%20cy%3D%22232%22%20rx%3D%2213.0%22%20ry%3D%225.4%22%20transform%3D%22rotate%2844%20238%20232%29%22%2F%3E%3Cellipse%20cx%3D%22126%22%20cy%3D%22244%22%20rx%3D%2211.049999999999999%22%20ry%3D%224.59%22%20transform%3D%22rotate%28-36%20126%20244%29%22%2F%3E%3Cellipse%20cx%3D%22340%22%20cy%3D%2260%22%20rx%3D%2210.4%22%20ry%3D%224.32%22%20transform%3D%22rotate%2826%20340%2060%29%22%2F%3E%3Cellipse%20cx%3D%2258%22%20cy%3D%22282%22%20rx%3D%2211.049999999999999%22%20ry%3D%224.59%22%20transform%3D%22rotate%2832%2058%20282%29%22%2F%3E%3Cellipse%20cx%3D%22208%22%20cy%3D%22150%22%20rx%3D%229.75%22%20ry%3D%224.050000000000001%22%20transform%3D%22rotate%28-50%20208%20150%29%22%2F%3E%3Cellipse%20cx%3D%22310%22%20cy%3D%22244%22%20rx%3D%2210.4%22%20ry%3D%224.32%22%20transform%3D%22rotate%2814%20310%20244%29%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23E8A898%22%20opacity%3D%220.20%22%3E%3Ccircle%20cx%3D%2296%22%20cy%3D%2272%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%22120%22%20r%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%22244%22%20r%3D%222.4%22%2F%3E%3Ccircle%20cx%3D%22180%22%20cy%3D%2288%22%20r%3D%222.0%22%2F%3E%3Ccircle%20cx%3D%22312%22%20cy%3D%2296%22%20r%3D%222.3%22%2F%3E%3Ccircle%20cx%3D%22152%22%20cy%3D%22166%22%20r%3D%221.9%22%2F%3E%3Ccircle%20cx%3D%22292%22%20cy%3D%22270%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%2264%22%20cy%3D%22164%22%20r%3D%222.1%22%2F%3E%3Ccircle%20cx%3D%22224%22%20cy%3D%22190%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%22132%22%20cy%3D%22282%22%20r%3D%222.2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),
    radial-gradient(ellipse at 0% 0%, rgba(232,168,152,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(196,97,58,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(232,168,152,0.12) 0%, transparent 60%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  /* 230px : au-delà, les fleurs du motif atteignaient la taille des bouquets
     dessinés et se confondaient avec eux */
  background-size: 230px 230px, auto, auto, auto;
  background-attachment: scroll, fixed, fixed, fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--ink-soft); max-width: 65ch; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ---- Petites fleurs décoratives ---- */
.deco-flower {
  position: absolute;
  width: 54px; height: 54px;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

/* ---- Header / Nav ---- */
header.site-header {
  background: rgba(240,230,218,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.nav-wrap {
  max-width: 1100px; margin: 0 auto; padding: 8px 28px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
  width: 52px; height: 52px;
  object-fit: contain;
  border: none;
}
@media (max-width: 860px) {
  .logo-img { width: 42px; height: 42px; }
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  font-size: 1.35rem;
  color: var(--terra-d);
  letter-spacing: 0.2px;
}
nav.tabs { display: flex; gap: 4px; align-items: center; }
nav.tabs a {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 8px 15px; border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}
nav.tabs a:hover { background: rgba(196,97,58,0.10); color: var(--terra-d); }
nav.tabs a.active {
  background: var(--terra); color: var(--white);
}
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 1.6rem; color: var(--ink); cursor: pointer;
}
@media (max-width: 860px) {
  nav.tabs {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 12px 28px 20px; border-bottom: 1px solid var(--line);
    display: none;
  }
  nav.tabs.open { display: flex; }
  .menu-toggle { display: block; }
  header.site-header { position: relative; }
}

/* ---- Hero ---- */
.hero {
  padding: 90px 28px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lead {
  font-size: 1.1rem; max-width: 580px;
  margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Boutons ---- */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 999px;
  border: 2px solid var(--terra);
  transition: all 0.2s ease; cursor: pointer;
}
.btn.primary { background: var(--terra); color: var(--white); }
.btn.primary:hover { background: var(--terra-d); border-color: var(--terra-d); }
.btn.ghost { background: transparent; color: var(--terra-d); }
/* bouton de retour en bas de fiche : on le sort du flux de texte pour qu'il
   garde toujours de l'air au-dessus et en dessous */
.aussi + .btn, .cloy-wrap + .btn { display: inline-block; margin: 8px 0 4px; }
.btn.ghost:hover { background: rgba(196,97,58,0.08); }

/* ---- Sections ---- */
.section { padding: 64px 28px; }
.section-title { text-align: center; margin-bottom: 10px; }
/* h1 et h2 sont rendus à l'identique : le h1 sert au référencement,
   il ne change rien à l'apparence */
.section-title h1, .section-title h2 {
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
}

/* ---- Badges rubriques ---- */
.rubrique-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin: 32px 0 48px;
}
.rubrique-badges a {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--white);
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 8px -4px rgba(61,32,16,0.12);
  transition: all 0.2s ease;
  text-decoration: none;
}
.rubrique-badges a:hover {
  border-color: var(--terra-light);
  color: var(--terra-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px rgba(196,97,58,0.25);
}

/* ---- Grid cartes ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px; margin-top: 16px;
}

/* ---- Cartes aperçu ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -14px rgba(61,32,16,0.22);
}
.card-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; }
.card .meta {
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--terra); margin-bottom: 8px;
}
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.92rem; margin-bottom: 16px; }

/* ---- Articles complets ---- */
article.post {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 44px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
@media (max-width: 600px) { article.post { padding: 26px 22px; } }
article.post .meta {
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--terra); margin-bottom: 10px;
}
article.post h2 { margin-bottom: 20px; }
article.post img {
  border-radius: 14px; margin: 22px 0;
  width: 100%; object-fit: cover;
}
article.post p { margin-bottom: 1em; max-width: 70ch; }

/* vidéo dans un article */
.video-wrap {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); margin: 22px 0;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---- Commentaires ---- */
.comments-box {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px; box-shadow: var(--shadow); margin-top: 16px;
}
.comments-box h2 { margin-bottom: 24px; }

/* ---- Page À propos ---- */
.apropos-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 680px; margin: 0 auto 28px;
}
.apropos-card img.logo-rond {
  width: 200px; height: 200px;
  border-radius: 50%; object-fit: cover;
  margin: 0 auto 24px;
  border: 3px solid var(--terra-light);
}
.apropos-card h3 { margin-bottom: 14px; font-size: 1.3rem; }
.apropos-card p { margin: 0 auto; text-align: center; }
/* le bouton de contact ne doit jamais dépasser de la carte : sinon il déborde
   à droite sur mobile et ne paraît plus centré */
.apropos-card .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .apropos-card { padding: 36px 20px; }
  .apropos-card img.logo-rond { width: 160px; height: 160px; }
  .apropos-card .btn { padding: 13px 18px; font-size: 0.88rem; }
}

/* ---- Footer ---- */
footer {
  text-align: center; padding: 24px 28px 32px;
  color: var(--ink-soft); font-size: 0.88rem;
}
footer .footer-logo { font-family: var(--font-display); font-weight: 800; font-style: italic; color: var(--terra-d); font-size: 1.2rem; margin-bottom: 8px; }

/* ============================================================
   CARTES STYLE "GRILLE BLOG" — mise à jour
   ============================================================ */

/* Reset des anciennes cartes */
.card { padding: 0; overflow: hidden; }
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 18px;
  margin: 10px;
  width: calc(100% - 20px);
}
.card-body { padding: 14px 20px 24px; }
.card .meta {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--terra); margin-bottom: 10px;
}
.card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.card .card-date { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 8px; }
.card p {
  font-size: 0.88rem; color: var(--ink-soft);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* grille 3 colonnes sur accueil, 2 dans rubriques */
.grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 16px;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.grid-rubrique {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 32px;
}
@media (max-width: 900px) {
  .grid-home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-home, .grid-rubrique { grid-template-columns: 1fr; }
}

/* Suppression des anciens articles pleine largeur dans les rubriques */
article.post { display: none; }

/* ============================================================
   ARTICLE DÉTAILLÉ — design "fiche série/film"
   ============================================================ */

.article-detail {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

/* déco florale en haut à droite */
.article-detail::before {
  content: '❀ ❀ ❀';
  position: absolute;
  top: 18px; right: 24px;
  font-size: 1.1rem;
  color: var(--terra-light);
  letter-spacing: 6px;
  opacity: 0.7;
}

.article-detail-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 640px) {
  .article-detail-top { grid-template-columns: 1fr; }
  .article-detail { padding: 26px 22px; }
}

.article-affiche {
  width: 200px;
  border-radius: 16px;
  box-shadow: 0 8px 24px -8px rgba(61,32,16,0.30);
  object-fit: cover;
}

.article-right { display: flex; flex-direction: column; gap: 14px; }

.article-titre-serie {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-soft);
  /* effet légèrement 3D comme sur la capture */
  text-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  line-height: 1.15;
}

.article-mon-avis {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.65;
  text-align: center;
}

.article-texte {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 100%;
  text-align: justify;
}
.article-texte .personnage {
  color: var(--terra);
  font-weight: 600;
}

/* Acteurs en rond */
.acteurs {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.acteur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.acteur img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  box-shadow: 0 4px 14px -6px rgba(61,32,16,0.20);
}
.acteur span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Note en bas à gauche */
.note-badge {
  position: absolute;
  bottom: 28px; left: 36px;
  background: #EEE8DE;
  border-radius: 16px;
  padding: 12px 18px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
}
.note-badge .note-label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
}
.note-badge .note-val {
  font-size: 1.1rem;
  color: var(--ink);
}

/* décoration feuille bas droite */
.deco-leaf {
  position: absolute;
  bottom: 24px; right: 36px;
  font-size: 1.6rem;
  color: #A0A878;
  opacity: 0.5;
}

/* ============================================================
   ARTICLE DÉTAILLÉ — design "The Heirs" (affiche à droite)
   ============================================================ */

.article-heirs {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 44px 100px 44px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) { .article-heirs { padding: 26px 22px 90px; } }

/* Fond beige arrondi en haut à gauche (effet blob) */
.article-heirs::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 280px; height: 220px;
  background: #E8DDD0;
  border-radius: 50% 60% 70% 40% / 50% 40% 60% 50%;
  z-index: 0;
}

.article-heirs-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .article-heirs-top { grid-template-columns: 1fr; }
  .article-heirs-affiche { margin: 0 auto; }
}

/* Titre style "The Heirs" — police grasse et stylisée */
.article-heirs-titre {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #6B5A4A;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.06);
  line-height: 1.1;
  margin-bottom: 18px;
}

.article-heirs-affiche {
  width: 180px;
  border-radius: 14px;
  box-shadow: 0 8px 24px -8px rgba(61,32,16,0.30);
  object-fit: cover;
  flex-shrink: 0;
}

/* Spirale et déco SVG */
.deco-spirale {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.25;
  z-index: 1;
}
.deco-branche {
  position: absolute;
  top: 120px; right: 210px;
  opacity: 0.35;
  z-index: 1;
}
.deco-etoile-filante {
  position: absolute;
  bottom: 56px; right: 110px;
  opacity: 0.45;
  z-index: 1;
}

/* Note bas droite style "The Heirs" */
.note-badge-heirs {
  position: absolute;
  bottom: 24px; right: 36px;
  background: #DDD5C8;
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  z-index: 2;
}
.note-badge-heirs .note-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.note-badge-heirs .note-val {
  font-size: 1.1rem;
  color: var(--ink);
}

/* ============================================================
   MENU AVEC SOUS-CATÉGORIES DÉROULANTES
   ============================================================ */

nav.tabs { position: relative; }

.nav-item { position: relative; }

.nav-item > a { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 32px -8px rgba(61,32,16,0.18);
  border: 1px solid var(--line);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }

/* Pont invisible entre le bouton et le dropdown pour éviter qu'il se ferme */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 12px;
}

.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown a:hover { background: rgba(196,97,58,0.08); color: var(--terra-d); }

.dropdown .dropdown-section {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra);
  padding: 10px 20px 4px;
  pointer-events: none;
  display: block;
}
.dropdown hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 6px 14px;
}

/* petite flèche sur les items qui ont un sous-menu */
.has-dropdown::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* ============================================================
   ARTICLE CRASH LANDING ON YOU — design bleu ardoise
   ============================================================ */

.article-cloy {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 40px 36px 36px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
@media (max-width: 640px) { .article-cloy { padding: 24px 20px; } }

/* Blob bleu-ardoise haut gauche */
.article-cloy::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 220px; height: 200px;
  background: var(--terra-light);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.55;
  z-index: 0;
}
/* Blob bleu-ardoise bas droite */
.article-cloy::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 180px; height: 160px;
  background: var(--terra-light);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  opacity: 0.45;
  z-index: 0;
}

.article-cloy-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 620px) {
  .article-cloy-inner { grid-template-columns: 1fr; }
}

.article-cloy-affiche {
  width: 160px;
  border-radius: 14px;
  box-shadow: 0 8px 24px -8px rgba(61,32,16,0.25);
  object-fit: cover;
  flex-shrink: 0;
}

.article-cloy-titre {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--ink);
}
/* "ON YOU" en bleu ardoise comme sur la capture */
.article-cloy-titre .titre-accent { color: var(--terra); }

.article-cloy-acteurs {
  display: flex;
  position: relative;
  z-index: 1;
  margin-top: 24px;
  gap: 0;
}
/* Acteur gauche (bas gauche) */
.cloy-acteur-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-right: 48px;
}
/* Acteur droit (bas droite, décalé vers le bas) */
.cloy-acteur-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-top: 20px;
}
.cloy-acteur-left img,
.cloy-acteur-right img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--terra-light);
  box-shadow: 0 4px 14px -6px rgba(61,32,16,0.18);
}
.cloy-acteur-left span,
.cloy-acteur-right span {
  font-size: 0.85rem;
  color: var(--terra);
  font-style: italic;
}

/* Note bas gauche style CLOY */
.note-badge-cloy {
  position: absolute;
  bottom: 24px; left: 32px;
  background: var(--terra-light);
  border-radius: 16px;
  padding: 10px 16px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  z-index: 2;
  opacity: 0.9;
}
.note-badge-cloy .note-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  display: block;
}
.note-badge-cloy .note-val {
  font-size: 1rem;
  color: var(--white);
}

/* ---- Cartes : liens sans soulignement (remplace les styles inline) ---- */
a.card { text-decoration: none; color: inherit; }

/* ==================================================================
   Drapeaux (remplacent les emojis, invisibles sous Windows)
   ================================================================== */
img.flag {
  width: 19px;
  height: auto;
  display: inline-block;
  vertical-align: -2px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(61,32,16,0.15);
}

/* ==================================================================
   Mise en page des articles (fiche type "Crash Landing on You")
   ================================================================== */
  .cloy-wrap {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 32px;
  }

  /* ── Bandeau titre ── */
  .cloy-header {
    position: relative;
    padding: 38px 44px 30px;
    background: var(--white);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .cloy-blob-left {
    position: absolute; top: -30px; left: -30px;
    width: 200px; height: 180px;
    background: var(--terra-light);
    border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
    opacity: 0.50; z-index: 0;
  }
  .cloy-blob-right {
    position: absolute; top: -20px; right: -20px;
    width: 170px; height: 155px;
    background: var(--terra-light);
    border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
    opacity: 0.38; z-index: 0;
  }
  .cloy-lignes {
    position: absolute; top: 12px; left: 12px;
    width: 78px; height: auto;
    z-index: 1; opacity: 0.5;
  }
  .cloy-fleurs {
    position: absolute; top: 10px; right: 14px;
    width: 140px; height: auto;
    z-index: 1; opacity: 0.6;
  }
  @media (max-width: 640px) {
    .cloy-lignes { display: none; }
    .cloy-fleurs { width: 96px; opacity: 0.4; }
  }
  h1.cloy-titre, .cloy-titre {
    margin: 0;
    font-family: 'Itim', cursive;
    font-weight: 400;
    font-size: clamp(2.0rem, 5.2vw, 3.0rem);
    text-transform: none;
    letter-spacing: 1px;
    color: var(--ink);
    position: relative; z-index: 2;
    text-align: center; line-height: 1.15;
    padding: 0 24px;
  }
  .cloy-divider {
    display: flex; justify-content: center;
    margin-top: 14px;
    position: relative; z-index: 2;
  }
  @media (max-width: 640px) {
    .cloy-divider svg { width: 260px; height: auto; }
  }
  .cloy-titre .titre-accent { color: var(--terra); }
  .cloy-sous-titre {
    text-align: center; margin-top: 10px;
    font-size: 0.72rem; font-weight: 800;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--ink-soft); opacity: 0.55;
    position: relative; z-index: 2;
  }

  /* ── Infos fiche ── */
  .cloy-fiche {
    background: var(--rose-pale);
    padding: 16px 44px;
    display: flex; gap: 32px; flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    align-items: center;
  }
  .cloy-fiche-item {
    display: flex; flex-direction: column; gap: 2px;
  }
  .cloy-fiche-label {
    font-size: 0.68rem; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--terra);
  }
  .cloy-fiche-value {
    font-size: 0.92rem; font-weight: 600;
    color: var(--ink);
  }
  .cloy-fiche-value a {
    color: var(--terra); text-decoration: underline;
    text-decoration-style: dotted;
  }

  /* ── Corps : affiche + synopsis + avis ── */
  .cloy-body {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 36px;
    padding: 36px 44px;
    align-items: start;
  }
  @media (max-width: 640px) {
    .cloy-body { grid-template-columns: 1fr; padding: 24px 22px; }
    .cloy-header { padding: 28px 22px 22px; }
    .cloy-fiche { padding: 14px 22px; gap: 20px; }
  }

  .cloy-affiche {
    width: 210px; border-radius: 14px;
    box-shadow: 0 8px 24px -8px rgba(61,32,16,0.28);
    object-fit: cover;
  }

  .cloy-right { display: flex; flex-direction: column; gap: 22px; }

  /* Synopsis */
  .cloy-synopsis-label {
    font-size: 0.7rem; font-weight: 800;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--terra); margin-bottom: 8px;
  }
  .cloy-synopsis {
    font-family: 'Lora', serif;
    background: var(--rose-pale);
    border-left: 3px solid var(--terra-light);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    font-size: 0.97rem;
    color: var(--ink-soft);
    line-height: 1.7;
    font-style: italic;
  }

  /* Avis */
  .cloy-avis-label {
    font-size: 0.7rem; font-weight: 800;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--terra); margin-bottom: 8px;
  }
  .cloy-texte {
    font-family: 'Lora', serif;
    font-size: 1.0rem; line-height: 1.85;
    color: var(--ink); text-align: justify;
  }
  .cloy-texte .personnage { color: var(--terra); font-weight: 600; }

  /* ── Acteurs ── */
  .cloy-acteurs-section {
    padding: 0 44px 32px;
    display: flex; gap: 40px; flex-wrap: wrap;
  }
  @media (max-width: 640px) {
    /* écart resserré : trois portraits tiennent sur une seule ligne */
    .cloy-acteurs-section { padding: 0 18px 24px; gap: 18px; justify-content: center; }
    .cloy-acteur img { width: 82px; height: 82px; }
    .cloy-acteur span { font-size: 0.78rem; }
  }

  .cloy-acteur {
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
  }
  .cloy-acteur img {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; object-position: top;
    border: 3px solid var(--terra-light);
    box-shadow: 0 4px 14px -6px rgba(61,32,16,0.18);
  }
  .cloy-acteur span { font-family: 'Lora', serif; font-size: 0.88rem; color: var(--terra); font-style: italic; }

  /* ── Pied note ── */
  .cloy-footer {
    background: var(--rose-pale);
    padding: 20px 44px;
    display: flex; align-items: center; gap: 18px;
  }
  .cloy-note {
    background: var(--terra); border-radius: 10px;
    padding: 7px 16px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700; color: white; font-size: 1.05rem;
    letter-spacing: 1px;
  }
  .cloy-note-label {
    font-size: 0.72rem; color: var(--terra);
    font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase;
  }

/* ---- Logo en vedette sur la page d'accueil ---- */
.hero-logo {
  display: block;
  width: min(440px, 78vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 12px 32px rgba(61,32,16,0.16));
}
/* titre gardé pour le référencement et les lecteurs d'écran,
   masqué visuellement car le logo affiche déjà le nom du blog */
.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;
}

/* ---- Bouquets décoratifs de l'accueil ---- */
.deco-bouquet {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
}
/* bouquets semés le long de la page : ils vivent dans les marges extérieures.
   En dessous de 1240px ces marges disparaissent, ils passeraient sur le texte. */
@media (max-width: 1240px) {
  .deco-cote { display: none; }
}
@media (max-width: 700px) {
  .deco-bouquet { display: none; }  /* on garde l'accueil aéré sur mobile */
}

/* ---- Fleur du pied de page (cosmos orange du logo) ---- */
.flower-inline {
  width: 19px; height: 19px;
  display: inline-block;
  vertical-align: -4px;
}

/* ---- Sommaire latéral des pages de rubrique ---- */
.rubrique-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  align-items: start;
  /* élargit l'ensemble (sommaire + articles) : ~56px des bords,
     plafonné à 1500px et recentré sur les très grands écrans */
  width: min(1500px, calc(100vw - 112px));
  margin-left: calc(50% - min(750px, 50vw - 56px));
}
/* colonne de droite : outils de recherche, grille d'articles, message vide.
   Sans ce regroupement, chaque bloc occupait une case de la grille à 2 colonnes
   et les cartes se retrouvaient tassées dans la colonne du sommaire. */
.rubrique-contenu { min-width: 0; }
.rubrique-contenu .grid-rubrique { margin-top: 0; }
.rubrique-contenu .grid-rubrique { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.sommaire {
  position: sticky;
  top: 140px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  /* le sommaire tient dans l'écran et défile à l'intérieur si besoin */
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--terra-light) transparent;
}
.sommaire::-webkit-scrollbar { width: 6px; }
.sommaire::-webkit-scrollbar-thumb { background: var(--terra-light); border-radius: 999px; }
.sommaire::-webkit-scrollbar-track { background: transparent; }
.sommaire h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--terra);
}
.sommaire ul { list-style: none; margin: 0; padding: 0; }
.sommaire li { margin-bottom: 4px; }
.sommaire a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.35;
  transition: background .15s, color .15s;
}
.sommaire a:hover {
  background: var(--rose-pale);
  color: var(--terra-d);
}
@media (max-width: 860px) {
  /* on annule l'élargissement/recentrage prévu pour les grands écrans,
     sinon la grille reste étroite et décalée, et les cartes débordent à droite */
  .rubrique-layout { grid-template-columns: 1fr; width: auto; margin-left: 0; }
  .rubrique-contenu .grid-rubrique { grid-template-columns: 1fr; }
  .sommaire { position: static; margin-bottom: 8px; margin-left: 0; }
}

/* ---- Tableau récapitulatif des notes ---- */
.notes-table-wrap {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 12px 8px;
  overflow-x: auto;
}
.notes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.notes-table th {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--terra);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--rose-pale);
}
.notes-table th:last-child, .notes-table td:last-child { text-align: right; }
.notes-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.notes-table tbody tr:last-child td { border-bottom: none; }
.notes-table tbody tr:hover { background: var(--bg-light); }
.notes-table td a { color: var(--ink); font-weight: 600; }
.notes-table td a:hover { color: var(--terra); }
.note-badge-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 58px;
  text-align: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.note-haute   { background: var(--terra);       color: #fff; }
.note-moyenne { background: var(--terra-light); color: var(--terra-d); }
.note-basse   { background: var(--line);        color: var(--ink-soft); }

/* les deux extrêmes du classement se démarquent :
   le 10/10 par un terracotta profond cerclé de rose, le 1/10 par l'encre foncée */
.note-parfaite {
  background: #8C3B1E;
  color: #fff;
  box-shadow: 0 0 0 2.5px var(--terra-light);
}
.note-nulle {
  background: var(--ink);
  color: var(--bg);
}

/* ================================================
   PAGE « TOUTES MES NOTES » + FILTRES DE RUBRIQUE
   ================================================ */
.outils {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.champ-recherche {
  flex: 1 1 260px; max-width: 420px;
  position: relative;
}
.champ-recherche input {
  width: 100%;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink);
  padding: 12px 16px 12px 42px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  outline: none;
}
.champ-recherche input:focus { border-color: var(--terra-light); }
.champ-recherche input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.champ-recherche::before {
  content: "🔍";
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem; opacity: 0.55;
  pointer-events: none;
}
.outils select {
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink);
  padding: 11px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  outline: none; cursor: pointer;
}
.outils select:focus { border-color: var(--terra-light); }
.compteur {
  width: 100%; text-align: center;
  font-size: 0.85rem; color: var(--ink-soft);
  margin-top: 4px;
}
.aucun-resultat {
  text-align: center; color: var(--ink-soft);
  padding: 40px 20px;
}
.notes-table td .rub-mini {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.86rem;
}
.notes-table td .rub-mini img { width: 17px; height: auto; border-radius: 2px; }
@media (max-width: 640px) {
  .notes-table { font-size: 0.86rem; }
  .notes-table th, .notes-table td { padding: 10px 9px; }
  .notes-table .col-annee { display: none; }
  .outils select, .champ-recherche { flex: 1 1 100%; max-width: none; }
}

/* ================================================
   À LIRE AUSSI
   ================================================ */
/* 28 px en bas : sans cette marge, le bouton « Retour » venait se coller
   au bas des vignettes et paraissait les chevaucher */
.aussi { margin: 44px 0 28px; }
.aussi h2 {
  font-size: 1.25rem; text-align: center;
  margin-bottom: 20px; color: var(--terra);
}
.aussi-liste {
  display: grid; gap: 16px;
  /* 230px : en dessous, « Séries européennes · 10 / 10 » passait sur deux lignes */
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.aussi-item {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.aussi-item:hover { transform: translateY(-3px); }
.aussi-item > img { width: 100%; height: 150px; object-fit: cover; object-position: center 22%; }
.aussi-corps { padding: 12px 14px 14px; }
.aussi-corps strong {
  display: block; font-size: 0.95rem;
  color: var(--ink); line-height: 1.3; margin-bottom: 5px;
}
.aussi-item:hover .aussi-corps strong { color: var(--terra); }
.aussi-corps span { font-size: 0.8rem; color: var(--ink-soft); }
/* drapeaux discrets sous les vignettes : ils écrasaient la ligne de texte */
.aussi-corps span img.flag {
  width: 14px;
  height: auto;
  vertical-align: -1px;
  margin-right: 3px;
  box-shadow: 0 0 0 1px rgba(61,32,16,0.12);
}

/* ================================================
   ICÔNES DE RUBRIQUE (remplacent les emojis)
   ================================================ */
img.ico {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.22em;
  flex-shrink: 0;
}
/* étoile claire posée sur le badge terracotta */
img.ico-note { width: 1em; height: 1em; vertical-align: -0.13em; }
h1 img.ico, h2 img.ico { width: 0.9em; height: 0.9em; vertical-align: -0.08em; }
.card .meta img.ico { width: 1.35em; height: 1.35em; vertical-align: -0.35em; }
.rub-mini img.ico { width: 1.25em; height: 1.25em; vertical-align: -0.28em; }
.aussi-corps span img.ico { width: 1.25em; height: 1.25em; vertical-align: -0.28em; }

/* ================================================
   FICHES PAR SAISON (blocs dépliables)
   ================================================ */
.saisons { margin-top: 40px; }
.saisons > h2 {
  font-size: 1.35rem; text-align: center;
  color: var(--terra); margin-bottom: 6px;
}
.saisons > p.intro {
  text-align: center; margin: 0 auto 22px;
  font-size: 0.92rem; color: var(--ink-soft); max-width: 520px;
}
.saison {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.saison > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink);
}
.saison > summary::-webkit-details-marker { display: none; }
.saison > summary:hover { background: var(--bg-light); }
.saison > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 1.3rem; font-weight: 700;
  color: var(--terra);
  transition: transform .2s ease;
}
.saison[open] > summary::after { content: "–"; }
.saison-num {
  flex-shrink: 0;
  min-width: 46px; text-align: center;
  background: var(--rose-pale); color: var(--terra-d);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 1px;
}
.saison-annee {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600;
  color: var(--ink-soft); opacity: .8;
}
.saison-corps { padding: 4px 22px 22px; }
.saison-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px;
}
.saison-meta span {
  background: var(--bg-light);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem; color: var(--ink-soft);
}
.saison-corps p { font-size: 0.95rem; margin-bottom: 10px; }
.saison-corps p:last-child { margin-bottom: 0; }
.saison-corps .avis-label {
  display: block;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--terra); margin: 14px 0 4px;
}
@media (max-width: 640px) {
  .saison > summary { padding: 14px 16px; gap: 9px; font-size: 0.98rem; }
  .saison-annee { display: none; }
  .saison-corps { padding: 4px 16px 18px; }
}

/* ================================================
   « EN CE MOMENT JE REGARDE » (accueil)
   ================================================ */
.encours {
  margin-top: 34px;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 30px 32px 34px;
  position: relative;
}
.encours h2 {
  font-size: 1.3rem; text-align: center;
  margin-bottom: 4px;
}
.encours .encours-intro {
  text-align: center; margin: 0 auto 22px;
  font-size: 0.9rem; color: var(--ink-soft);
  max-width: 460px;
}
.encours-liste {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.encours-item { text-align: center; }
.encours-item img {
  height: 200px; width: auto; max-width: 100%;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: block;
}
.encours-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem; color: var(--ink);
  line-height: 1.25;
}
.encours-item span {
  display: block;
  font-size: 0.8rem; color: var(--ink-soft);
  margin-top: 3px;
}
@media (max-width: 640px) {
  .encours { padding: 26px 20px 28px; }
  .encours-item img { height: 128px; }
}

/* ================================================
   BANDEAU NEWSLETTER (avant le pied de page)
   ================================================ */
.newsletter {
  position: relative;
  margin-top: 0;
  padding: 22px 24px 18px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232,168,152,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 60%, rgba(245,221,213,0.5) 0%, transparent 55%),
    linear-gradient(180deg, var(--rose-pale) 0%, #F6E4DC 45%, #F2DFD5 72%, var(--bg) 100%);
  overflow: hidden;
}
/* le pied de page prolonge le crème vers lequel la bannière fond : plus de rupture */
.newsletter + footer { background: var(--bg); }
/* vague qui raccorde la bannière au fond crème de la page */
.nl-vague {
  position: absolute; top: -1px; left: 0; right: 0;
  line-height: 0; pointer-events: none;
}
.nl-vague svg { width: 100%; height: 26px; display: block; }
.newsletter-inner {
  max-width: 560px; margin: 0 auto;
  text-align: center; position: relative; z-index: 2;
}
.nl-logo {
  width: 32px; height: 32px;
  margin: 0 auto 5px;
  filter: drop-shadow(0 4px 12px rgba(61,32,16,0.14));
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  margin-bottom: 5px; color: var(--ink);
}
.newsletter p {
  color: var(--ink-soft);
  margin: 0 auto 11px; max-width: 430px;
  font-size: 0.86rem;
}
.newsletter-form {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  max-width: 430px; margin: 0 auto;
}
.nl-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; width: 100%;
  background: rgba(255,255,255,0.55);
  padding: 6px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(196,97,58,0.12);
}
.newsletter-form input[type="email"] {
  flex: 1 1 220px;
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--ink);
  padding: 10px 18px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 999px;
  outline: none;
}
.newsletter-form input[type="email"]:focus { border-color: var(--terra-light); }
.newsletter-form input[type="email"]::placeholder { color: var(--ink-soft); opacity: .6; }
.newsletter-form button {
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  padding: 10px 22px; border-radius: 999px;
  border: none;
  background: var(--terra); color: var(--white);
  cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--terra-d); transform: translateY(-1px); }
.newsletter-note {
  font-size: 0.74rem; color: var(--ink-soft);
  margin: 9px auto 0; opacity: .75;
}
.newsletter .nl-fleur { position: absolute; pointer-events: none; z-index: 1; opacity: .4 !important; width: 24px !important; }
@media (max-width: 700px) {
  .newsletter { padding: 26px 20px 20px; }
  .newsletter .nl-fleur { display: none; }
  .nl-row { background: transparent; padding: 0; box-shadow: none; }
  .newsletter-form input[type="email"] { flex: 1 1 100%; }
  .newsletter-form button { flex: 1 1 100%; }
}


/* Case de consentement newsletter (Brevo) */
.nl-consent {
  display: flex; align-items: center; gap: 9px;
  justify-content: center; text-align: left;
  max-width: 400px; margin: 0 auto;
  font-size: 0.76rem; line-height: 1.35; color: var(--ink-soft);
  cursor: pointer;
}
.nl-consent input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: none; margin: 0;
  border: 1.5px solid var(--terra-light);
  border-radius: 6px; background: var(--white);
  cursor: pointer; position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.nl-consent input:hover { border-color: var(--terra); }
.nl-consent input:checked { background: var(--terra); border-color: var(--terra); }
.nl-consent input:checked::after {
  content: ""; position: absolute;
  left: 5.5px; top: 2px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* Réseaux sociaux (footer) */
.footer-social { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; }
.footer-social-label { font-size:0.9rem; color:var(--ink-soft); }
.social-btn { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:var(--terra); transition:background .2s ease, transform .2s ease; box-shadow:0 2px 6px rgba(196,97,58,.25); }
.social-btn:hover { background:var(--terra-d); transform:translateY(-2px); }
.social-ico { width:22px; height:22px; display:block; }


/* Formulaire de suggestions */
.suggestion-form { max-width:560px; margin:0 auto; display:flex; flex-direction:column; gap:20px; background:var(--white); border:1px solid #EADFD5; border-radius:var(--radius-card); padding:32px 30px; box-shadow:var(--shadow); }
.contact-form { display:flex; flex-direction:column; gap:18px; text-align:left; max-width:520px; margin:0 auto; }
.suggestion-form .champ, .contact-form .champ { display:flex; flex-direction:column; gap:7px; }
.suggestion-form .champ > span, .contact-form .champ > span { font-weight:600; color:var(--ink); font-size:0.95rem; }
.suggestion-form .champ em { color:var(--ink-soft); font-style:italic; font-weight:400; }
.suggestion-form input, .suggestion-form select, .suggestion-form textarea,
.contact-form input, .contact-form textarea { font-family:inherit; font-size:1rem; color:var(--ink); border:1.5px solid #E5D5C5; border-radius:14px; padding:12px 14px; background:#FDFAF7; transition:border-color .15s ease; }
.suggestion-form input:focus, .suggestion-form select:focus, .suggestion-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:var(--terra); }
.suggestion-form textarea, .contact-form textarea { resize:vertical; }
.suggestion-form .btn, .contact-form .btn { align-self:center; margin-top:6px; cursor:pointer; border:none; }
.contact-form .btn[disabled] { opacity:.65; cursor:wait; transform:none; }

/* ============================================================
   NOTE DES LECTEURS — étoiles cliquables au bas des fiches
   ============================================================ */
.cloy-footer { flex-wrap: wrap; }
.vote-lecteurs {
  margin-left: auto;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
}
.vote-tete { display: flex; align-items: center; gap: 14px; }
.vote-moyenne { min-width: 88px; text-align: center; }
.vote-bas { display: flex; align-items: center; gap: 8px; }
.vote-aide { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
.vote-etoiles { display: flex; gap: 4px; flex-wrap: wrap; }
.vote-etoiles button {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid #E0CDBB;
  border-radius: 50%; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  color: var(--ink-soft); line-height: 1; padding: 0;
  transition: all .12s ease;
}
.vote-etoiles button:hover {
  border-color: var(--terra); color: var(--terra);
  transform: translateY(-2px);
}
.vote-etoiles button.active {
  background: var(--terra); border-color: var(--terra);
  color: var(--white);
}
.vote-info { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
/* groupe « Ma note » (label + badge) : inline sur ordinateur */
.cloy-note-ligne { display: inline-flex; align-items: center; gap: 14px; }
@media (max-width: 640px) {
  /* Bandeau des notes rangé proprement : chaque note sur sa propre ligne,
     label à gauche et badge aligné à droite, puis le vote en dessous. */
  .cloy-footer { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; }
  .cloy-note-ligne { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; }
  .vote-lecteurs { margin: 0; width: 100%; align-items: stretch; gap: 12px; }
  .vote-tete { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; width: 100%; gap: 12px; }
  .vote-tete .vote-info { display: none; }           /* « Soyez le premier… » encombre la ligne */
  .vote-moyenne { min-width: 0; }
  .vote-bas { flex-direction: column; align-items: stretch; gap: 8px; }
  .vote-aide { text-align: left; }
  .vote-etoiles { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 4px; }
  .vote-etoiles button { width: 28px; height: 28px; flex: 0 0 auto; font-size: 0.78rem; box-sizing: border-box; }
}

/* Retour visuel du bouton de suggestion */
.btn:active { transform: translateY(1px) scale(.98); }
.suggestion-form .btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ============================================================
   RÉACTIONS DES LECTEURS — bandeau de smileys au-dessus des notes
   ============================================================ */
.reactions {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px 32px 24px;
  margin: 0 0 32px;
  text-align: center;
}
.reactions-titre {
  display: block; margin-bottom: 10px;
  font-size: 0.72rem; color: var(--terra);
  font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.reactions-liste { display: flex; flex-wrap: nowrap; gap: 10px; justify-content: center; }
.reaction {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 4px 8px; border-radius: 16px; white-space: nowrap; overflow: hidden;
  border: 1.5px solid var(--line); background: var(--bg-light);
  cursor: pointer; font-family: var(--font-body);
  font-size: 0.78rem; color: var(--ink-soft);
  transition: all .15s ease;
}
.reaction:hover { border-color: var(--terra); transform: translateY(-2px); }
.reaction.active {
  background: var(--rose-pale); border-color: var(--terra);
  color: var(--terra-d);
}
.r-emoji { font-size: 1.5rem; line-height: 1.1; }
.r-nb { font-weight: 800; color: var(--ink); font-size: 0.95rem; line-height: 1.2; }
.reaction.active .r-nb { color: var(--terra-d); }
@media (max-width: 640px) {
  .reactions { padding: 16px 14px 18px; }
  .reactions-liste { gap: 6px; }
  /* le libellé peut passer sur deux lignes : « Je n'aime pas » n'est plus coupé */
  .reaction { padding: 9px 3px 8px; font-size: 0.64rem; white-space: normal; overflow: visible; }
  .r-emoji { font-size: 1.3rem; }
  .r-lib { display: block; line-height: 1.12; }
}
@media (max-width: 400px) {
  .reactions-liste { gap: 5px; }
  .reaction { padding: 8px 2px; gap: 3px; }
}


/* ============================================================
   COMMENTAIRES MAISON
   ============================================================ */
.com-liste { display: flex; flex-direction: column; gap: 24px; margin: 20px 0 8px; }
.com { background: var(--bg-light); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.com-tete { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.com-tete strong { color: var(--terra-d); }
.com-tete span { font-size: 0.78rem; color: var(--ink-soft); }
.com p { margin: 0; white-space: pre-wrap; color: var(--ink); }
.com-vide { color: var(--ink-soft); text-align: center; margin: 16px 0 6px; }
.com-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.com-form input[type="text"], .com-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #E5D5C5; border-radius: 14px;
  padding: 11px 14px; background: #FDFAF7;
  transition: border-color .15s ease; width: 100%;
}
.com-form input:focus, .com-form textarea:focus { outline: none; border-color: var(--terra); }
.com-form textarea { resize: vertical; }
.com-ligne { max-width: 260px; }
.com-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.com-note { font-size: 0.8rem; color: var(--ink-soft); }
.com-form .btn { cursor: pointer; border: none; }
.com-form .btn[disabled] { opacity: .65; cursor: wait; }
.com-erreur { color: #A32D2D; font-size: 0.85rem; margin: 0; }


/* Réponses de Rélie sous les commentaires */
.com-reponse {
  margin-top: 12px; padding: 12px 16px;
  background: var(--rose-pale);
  border-left: 3px solid var(--terra);
  border-radius: 12px;
}
.badge-relie { color: var(--terra-d); }
.com-reponse p { margin: 4px 0 0; }


/* Fils de réponses des visiteurs */
.com-reponse-visiteur {
  background: var(--bg-light);
  border-left-color: var(--line);
}
.com-reponse-visiteur .com-tete strong { color: var(--ink); }
.com-actions { margin-top: 10px; }
.com-repondre {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  color: var(--terra);
}
.com-repondre:hover { color: var(--terra-d); text-decoration: underline; }
.com-rep-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.com-rep-form input[type="text"] {
  max-width: 240px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  border: 1.5px solid #E5D5C5; border-radius: 12px;
  padding: 9px 12px; background: #FDFAF7;
}
.com-rep-form textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  border: 1.5px solid #E5D5C5; border-radius: 12px;
  padding: 9px 12px; background: #FDFAF7; resize: vertical;
}
.com-rep-form input:focus, .com-rep-form textarea:focus { outline: none; border-color: var(--terra); }
.com-rep-form .btn { align-self: flex-start; cursor: pointer; border: none; padding: 8px 20px; font-size: 0.85rem; }


/* Liste publique des suggestions validées */
.sug-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.sug-form-colonne { position: sticky; top: 92px; }
.sug-publiques { margin: 0; }
.sug-publiques-titre {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--ink); margin-bottom: 6px;
}
.sug-publiques-intro { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 20px; }
@media (max-width: 780px) {
  .sug-layout { grid-template-columns: 1fr; gap: 8px; }
  .sug-form-colonne { position: static; order: -1; }
  .sug-publiques { margin-top: 30px; }
  .sug-publiques-titre, .sug-publiques-intro { text-align: center; }
}
.sug-liste { display: flex; flex-direction: column; gap: 14px; }
.sug-carte {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 4px 18px -12px rgba(61,32,16,0.25);
}
.sug-carte strong { color: var(--terra-d); font-size: 1.02rem; }
.sug-cat {
  display: inline-block; background: var(--rose-pale); color: var(--terra-d);
  font-size: 0.68rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; margin-right: 10px; vertical-align: 2px;
}
.sug-msg { margin: 8px 0 0; color: var(--ink); font-style: italic; }
.sug-qui { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--ink-soft); }

/* ============================================================
   RECHERCHE GLOBALE
   ============================================================ */
.recherche-btn {
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 8px; margin-left: auto;
  border-radius: 50%; display: flex; align-items: center;
  transition: color .15s ease, background .15s ease;
}
.recherche-btn:hover { color: var(--terra); background: var(--rose-pale); }
.nav-wrap .menu-toggle { margin-left: 0; }
.recherche-voile[hidden] { display: none; }
.recherche-voile {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(61, 32, 16, 0.35);
  backdrop-filter: blur(2px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 90px 18px 30px;
}
.recherche-panneau {
  width: 100%; max-width: 560px;
  background: var(--bg-light);
  border-radius: 20px; padding: 18px;
  box-shadow: 0 20px 60px -20px rgba(61,32,16,.5);
}
.recherche-ligne { display: flex; gap: 10px; align-items: center; }
.recherche-ligne input {
  flex: 1; font-family: var(--font-body); font-size: 1.05rem;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 12px 20px;
}
.recherche-ligne input:focus { outline: none; border-color: var(--terra); }
.recherche-fermer {
  background: none; border: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: var(--ink-soft); padding: 0 4px;
}
.recherche-fermer:hover { color: var(--terra); }
.recherche-resultats { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; max-height: 55vh; overflow-y: auto; }
.recherche-resultat {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 16px;
  text-decoration: none; transition: border-color .12s ease, transform .12s ease;
}
.recherche-resultat:hover { border-color: var(--terra); transform: translateX(3px); }
.recherche-resultat strong { color: var(--ink); font-size: 0.98rem; }
.recherche-resultat:hover strong { color: var(--terra); }
.recherche-resultat span { font-size: 0.78rem; color: var(--ink-soft); }
.recherche-rien { color: var(--ink-soft); text-align: center; padding: 14px 0 6px; font-size: 0.92rem; }

/* ===== Visionneuse : clic pour agrandir (galeries + affiches) ===== */
.ng-galerie img, .roxy-galerie img, .cloy-affiche, .classement-item img { cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease; }
.ng-galerie img:hover, .roxy-galerie img:hover, .cloy-affiche:hover, .classement-item img:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(61,32,16,0.38); }
.lightbox { position: fixed; inset: 0; background: rgba(61,32,16,0.90); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,0.55); }
.lightbox-close { position: absolute; top: 14px; right: 24px; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; background: none; border: none; font-family: system-ui, sans-serif; }

/* ===== Sélecteur de langue (Google Traduction) ===== */
.lang-switch {
  position: fixed; top: 84px; right: 16px; z-index: 200;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(248,240,232,0.96); border: 1px solid var(--peach);
  border-radius: 999px; padding: 4px 9px 4px 11px;
  box-shadow: 0 6px 18px -8px rgba(61,32,16,0.35);
}
.lang-switch .lang-ico { font-size: 1rem; line-height: 1; opacity: .85; }
#google_translate_element { display: inline-block; line-height: 1; }
.goog-te-gadget { font-size: 0 !important; color: transparent !important; }
.goog-te-gadget .goog-te-combo {
  font-family: 'Lato', system-ui, sans-serif; font-size: 0.82rem; color: var(--ink);
  background: var(--bg-light); border: 1px solid var(--peach);
  border-radius: 999px; padding: 4px 10px; margin: 0; cursor: pointer; max-width: 150px;
}
.goog-te-gadget .goog-te-combo:hover { border-color: var(--terra); }
.goog-logo-link, .goog-te-gadget > span { display: none !important; }
/* masquer la bannière Google en haut de page */
.goog-te-banner-frame, .skiptranslate > iframe { display: none !important; visibility: hidden !important; }
body { top: 0 !important; }
@media (max-width: 860px) {
  /* Sur téléphone, le sélecteur de langue flotte en bas à droite :
     toujours visible, et dégagé du menu du haut (plus de superposition). */
  .lang-switch {
    top: auto; bottom: 16px; right: 12px; z-index: 300;
    padding: 5px 11px 5px 12px;
    box-shadow: 0 8px 22px -8px rgba(61,32,16,0.45);
  }
  .goog-te-gadget .goog-te-combo { max-width: 150px; font-size: 0.82rem; }
}

/* ===== Encart "En duel" (renvoi vers une page face-à-face) ===== */
.duel-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--rose-pale); border: 1px solid var(--peach);
  border-radius: 16px; padding: 18px 22px; margin: 34px 0 0;
}
.duel-cta-tag {
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 2px;
  color: #fff; background: var(--terra-d); border-radius: 999px; padding: 5px 12px; flex: none;
}
.duel-cta-txt { flex: 1 1 260px; }
.duel-cta-txt strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; }
.duel-cta-txt span { color: var(--ink-soft); font-size: 0.95rem; }
.duel-cta .btn.ghost { flex: none; margin: 0; }
@media (max-width: 560px){ .duel-cta { justify-content: center; text-align: center; } }

/* ============================================================
   AFFICHAGE MOBILE — refonte menu, sélecteur de langue,
   gouttières et tableau des notes (ajout 2026-10-05)
   ============================================================ */
@media (max-width: 860px) {
  /* Gouttières : on supprime le double rembourrage .section + .container
     qui ne laissait qu'environ 278 px de contenu sur un écran de 390 px */
  .section { padding-left: 16px; padding-right: 16px; }
  .section > .container { padding-left: 0; padding-right: 0; }

  /* En-tête compact */
  .nav-wrap { padding: 8px 16px; min-height: 60px; gap: 10px; }
  .logo-img { width: 40px; height: 40px; }
  .logo-text { font-size: 1.12rem; line-height: 1.14; }

  /* Menu : véritable panneau pleine largeur sous l'en-tête
     (corrige le « position: relative » hérité qui le tassait à droite
     et coupait les mots) */
  nav.tabs {
    position: absolute !important;
    top: 100%; left: 0; right: 0; width: 100%;
    box-sizing: border-box;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    padding: 8px 12px 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px -14px rgba(61,32,16,0.28);
    max-height: calc(100vh - 60px); overflow-y: auto;
    display: none; z-index: 150;
  }
  nav.tabs.open { display: flex; }

  nav.tabs > a,
  nav.tabs .nav-item > a {
    display: flex; align-items: center; gap: 11px;
    width: 100%; box-sizing: border-box;
    padding: 14px 12px; border-radius: 12px;
    font-size: 1rem; white-space: nowrap;
    border-bottom: 1px solid rgba(196,97,58,0.10);
  }
  nav.tabs > a:last-child { border-bottom: none; }
  nav.tabs .ico { width: 20px; height: 20px; flex: none; }
  nav.tabs .flag { flex: none; }

  /* Sous-menu « Séries & Films » : liste indentée dans le flux,
     plus de calque superposé */
  .nav-item { position: static; width: 100%; border-bottom: 1px solid rgba(196,97,58,0.10); }
  .nav-item > a { border-bottom: none; }
  .nav-item::after { display: none; }
  .dropdown {
    position: static; transform: none; left: auto; top: auto;
    width: 100%; min-width: 0; box-sizing: border-box;
    background: rgba(245,221,213,0.4); border: none; border-radius: 10px;
    box-shadow: none; padding: 4px 0; margin: 0 0 6px;
  }
  .dropdown a { padding: 11px 12px 11px 42px; font-size: 0.95rem; white-space: nowrap; }
  .dropdown hr { display: none; }

}

/* Tableau des notes : tient dans l'écran, plus de colonne coupée */
@media (max-width: 640px) {
  .notes-table-wrap { padding: 10px 6px; }
  .notes-table { font-size: 0.82rem; }
  .notes-table th, .notes-table td { padding: 9px 7px; }
  .notes-table td .rub-mini { font-size: 0.78rem; }
  .notes-table td .rub-mini img { width: 15px; }
  .note-badge-table { min-width: 44px; font-size: 0.78rem; padding: 4px 7px; }
}

/* ===== Partage de l'article ===== */
.partage {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px;
  margin: 0 0 32px;
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.partage-titre {
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.92rem; color: var(--terra-d);
}
.partage-liens { display: flex; gap: 10px; flex-wrap: wrap; }
.partage-btn {
  width: 42px; height: 42px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg-light);
  color: var(--terra); text-decoration: none;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.partage-btn svg { width: 20px; height: 20px; display: block; }
.partage-btn:hover { transform: translateY(-2px); background: var(--terra); color: #fff; border-color: var(--terra); }
.partage-btn.copie { background: var(--terra); color: #fff; border-color: var(--terra); }
@media (max-width: 640px) {
  .partage { gap: 10px; padding: 16px; }
  .partage-titre { width: 100%; text-align: center; }
  .partage-liens { justify-content: center; }
}

/* ===== Récapitulatif des notes en fin d'article ===== */
.sommaire-notes-article { margin: 46px 0 0; }
.sommaire-notes-titre {
  font-family: var(--font-display);
  font-size: 1.4rem; text-align: center; color: var(--terra);
  margin: 0 0 18px;
}
.notes-table tbody tr.ligne-actuelle { background: var(--rose-pale); }
.notes-table tbody tr.ligne-actuelle td:first-child { font-weight: 700; color: var(--ink); }
