@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300&display=swap');

/* =============================================
   DESIGN SYSTEM — TECKEL.FR
   Palette : terracotta chaud, crème, brun profond
   ============================================= */

:root {
  --primary:       #C0603A;
  --primary-light: #D4835F;
  --primary-pale:  #F5E8DF;
  --dark:          #3A2415;
  --dark-deeper:   #231409;
  --text:          #2E1B0E;
  --text-light:    #7A5C45;
  --bg:            #FDFAF6;
  --bg-alt:        #F7F0E8;
  --border:        rgba(58,36,21,0.12);
  --shadow:        rgba(58,36,21,0.10);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;

  --radius: 8px;
  --max-width: 1140px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--dark); }

/* ---- Utilitaires ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo span {
  color: var(--primary-light);
}

.site-nav > ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--primary);
  color: #fff;
}

/* Sous-menu dropdown */
.nav-item { position: relative; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-deeper, #1a1008);
  border-radius: 0 0 10px 10px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 200;
}

.nav-dropdown li { list-style: none; }

.nav-dropdown a {
  display: block;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.83rem;
  white-space: nowrap;
}

.nav-dropdown .nav-dropdown-sep {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 6px 8px;
}

@media (hover: hover) and (min-width: 641px) {
  .nav-item:hover .nav-dropdown { display: block; }
}
.nav-item.open .nav-dropdown { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* =============================================
   BANDEAU PAGES INTERIEURES
   ============================================= */
.bandeau-teckel {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bandeau-fond {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.bandeau-teckel:hover .bandeau-fond { transform: scale(1.0); }

.bandeau-degrade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(35,20,9,0.88) 0%,
    rgba(35,20,9,0.45) 55%,
    rgba(35,20,9,0.1) 100%
  );
}

.bandeau-texte {
  position: relative;
  z-index: 2;
  padding-bottom: 44px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.bandeau-surtitre {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.bandeau-texte h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 14px;
}

.bandeau-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  line-height: 1.7;
}

/* =============================================
   BANDEAU ACCUEIL
   ============================================= */
.bandeau-accueil {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-deeper);
}

.bandeau-accueil-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}

.bandeau-accueil-contenu {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.bandeau-accueil-contenu h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}

.bandeau-accueil-contenu h1 em {
  font-style: italic;
  color: var(--primary-light);
}

.bandeau-accueil-contenu p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.btn-brun {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}

.btn-brun:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   CARDS ACCUEIL
   ============================================= */
.accueil-sujets {
  padding: 72px 0;
}

.tck-titre {
  text-align: center;
  margin-bottom: 48px;
}

.tck-titre h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 10px;
}

.tck-titre p {
  color: var(--text-light);
  font-size: 1rem;
}

.sujets-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.sujet-fiche {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.sujet-fiche:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(58,36,21,0.16);
  color: var(--text);
}

.sujet-img {
  height: 200px;
  background: var(--bg-alt);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.sujet-contenu {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sujet-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.sujet-contenu h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--dark);
}

.sujet-contenu p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.sujet-fleche {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* =============================================
   ARTICLE LAYOUT (page + colonne-tck)
   ============================================= */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--dark);
  margin: 2.4em 0 0.7em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid var(--primary-pale);
  line-height: 1.25;
}

.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
  margin: 1.8em 0 0.5em;
}

.article-body p { margin-bottom: 1.2em; }

.article-body ul, .article-body ol {
  margin: 0.8em 0 1.2em 1.4em;
}

.article-body li { margin-bottom: 0.4em; }

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(192,96,58,0.35);
}

.article-body a:hover {
  text-decoration-color: var(--primary);
}

/* Info-box */
.encadre-note {
  background: var(--primary-pale);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 2em 0;
}

.encadre-note h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
  font-family: var(--font-body);
}

.encadre-note p { margin: 0; font-size: 0.95rem; }

/* Highlight box */
.encadre-cle {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 2.5em 0;
}

.encadre-cle h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.encadre-cle p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.95rem; }

/* Tableau */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92rem;
}

.article-body th {
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
}

.article-body td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.article-body tr:nth-child(even) td { background: var(--bg-alt); }

/* =============================================
   SIDEBAR
   ============================================= */
.colonne-tck {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.colonne-bloc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.colonne-bloc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.colonne-sommaire {
  list-style: none;
  padding: 0;
}

.colonne-sommaire li { margin-bottom: 6px; }

.colonne-sommaire a {
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s;
}

.colonne-sommaire a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

.colonne-sommaire a:hover { color: var(--primary); }

.colonne-liens {
  list-style: none;
  padding: 0;
}

.colonne-liens li { margin-bottom: 8px; }

.colonne-liens a {
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.colonne-liens a::before { content: '→'; font-size: 0.8rem; }
.colonne-liens a:hover { color: var(--dark); }

.colonne-appel {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
}

.colonne-appel h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.colonne-appel p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
  line-height: 1.6;
}

.colonne-appel a {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}

.colonne-appel a:hover { background: var(--primary-light); color: #fff; }

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  background: var(--bg-alt);
  padding: 72px 0;
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer { max-height: 800px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark-deeper);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand .site-logo {
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   404
   ============================================= */
.error-404 {
  padding: 80px 20px;
  text-align: center;
}

.error-404-inner { max-width: 560px; margin: 0 auto; }

.error-code {
  display: block;
  font-size: 6rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404 h1 { font-size: 1.8rem; margin-bottom: 12px; font-family: var(--font-display); }
.error-404 > div > p { color: var(--text-light); margin-bottom: 32px; }

.btn-home {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 48px;
  transition: background 0.2s;
}

.btn-home:hover { background: var(--dark); color: #fff; }

.error-suggestions h2 { font-size: 1rem; color: var(--text-light); margin-bottom: 12px; }
.error-suggestions ul { list-style: none; padding: 0; }
.error-suggestions li { margin-bottom: 8px; }
.error-suggestions a { color: var(--primary); text-decoration: underline; }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .colonne-tck { position: static; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }

  .sujets-grille {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  html { font-size: 17px; }

  .site-nav { display: none; }
  .site-nav.open {
    display: block;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--dark-deeper);
    padding: 12px 16px 20px;
    z-index: 200;
    border-bottom: 2px solid var(--primary);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-nav.open > ul { flex-direction: column; gap: 2px; }
  .nav-toggle { display: block; }

  /* Liens plus larges sur mobile pour faciliter le tap */
  .site-nav.open .nav-item > a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .nav-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    margin: 4px 0 8px 12px;
    padding: 4px;
    min-width: 0;
  }
  .nav-dropdown a { padding: 10px 14px; }
  .nav-item.open .nav-dropdown { display: block; }

  .bandeau-accueil { min-height: 420px; }

  .bandeau-teckel { height: 280px; }

  .sujets-grille { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   NOUVEAUX COMPOSANTS VISUELS
   ============================================= */

/* Étapes numérotées */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
  counter-reset: step-counter;
}
.steps-list > li {
  counter-increment: step-counter;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.steps-list > li:last-child { border-bottom: none; padding-bottom: 0; }
.steps-list > li::before {
  content: counter(step-counter);
  min-width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(192,96,58,0.35);
}
.steps-list > li strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

/* Bande de statistiques */
.chiffres-bande {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 2em 0;
}
.chiffre-bloc {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.chiffre-bloc .chiffre-valeur {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  font-weight: 700;
  color: var(--primary-light);
  display: block;
  line-height: 1.1;
  margin-bottom: 5px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.chiffre-bloc .chiffre-etiquette {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.4;
}

/* Boîte avertissement */
.encadre-alerte {
  background: #FDF6E3;
  border-left: 4px solid #C8901A;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 2em 0;
}
.encadre-alerte h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #7A5500;
  margin: 0 0 8px;
  font-family: var(--font-body);
}
.encadre-alerte p { margin: 0; font-size: 0.95rem; color: #5C4000; }

/* Boîte succès */
.encadre-ok {
  background: #F0FAF1;
  border-left: 4px solid #3D9A50;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 2em 0;
}
.encadre-ok h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1F6B2E;
  margin: 0 0 8px;
  font-family: var(--font-body);
}
.encadre-ok p { margin: 0; font-size: 0.95rem; color: #2E7D32; }

/* Grille d'articles liés */
.connexe-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 2em 0;
}
.connexe-fiche {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.connexe-fiche:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow);
  color: var(--text);
  text-decoration: none;
}
.connexe-fiche .rc-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.connexe-fiche .rc-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.35;
}

/* Comparatif visuel (2 colonnes) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2em 0;
}
.compare-col {
  border-radius: var(--radius);
  padding: 20px 22px;
}
.compare-col.col-no {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}
.compare-col.col-yes {
  background: #F0FAF1;
  border: 1px solid #A7D7B0;
}
.compare-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.compare-col.col-no h3 { color: #B91C1C; }
.compare-col.col-yes h3 { color: #166534; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.5;
}
.compare-col li:last-child { border-bottom: none; }
.compare-col.col-no li::before { content: '✗'; color: #B91C1C; font-weight: 700; flex-shrink: 0; }
.compare-col.col-yes li::before { content: '✓'; color: #166534; font-weight: 700; flex-shrink: 0; }

/* Niveau de difficulté */
.level-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}
.level-dots {
  display: flex;
  gap: 5px;
}
.level-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  display: block;
}
.level-dots span.filled { background: var(--primary); }
.level-label { font-size: 0.82rem; color: var(--text-light); }

/* Tag de catégorie inline */
.tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* Tip inline (petite note) */
.tip-inline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 1em 0;
  font-size: 0.9rem;
}
.tip-inline::before {
  content: '💡';
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .chiffres-bande { flex-direction: column; }
  .compare-grid { grid-template-columns: 1fr; }
  .connexe-grille { grid-template-columns: 1fr 1fr; }
}
