/* Composants repris de la page Meta Ads (duo, prose-liste, jours) et du guide
   (tableau) : même rendu, pas de scène animée dans le hero. */
/* ---------- les trois conditions, puis les trois limites ----------
   Même composant que la cartographie : trois faces sur le bandeau graphite.
   Ici deux sections l'emploient, l'une avec titre de face, l'autre sans. */
.duo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;
  background:var(--deep-line);border:1px solid var(--deep-line)}
.duo--trois{grid-template-columns:repeat(3,minmax(0,1fr))}
.face{background:var(--deep);padding:clamp(24px,3vw,34px)}
.face .k{font-family:var(--mono);font-size:11px;letter-spacing:.18em;
  text-transform:uppercase;color:var(--accent-2);font-weight:700}
.face strong{display:block;margin:12px 0 14px;font-size:clamp(18px,2.1vw,22px);
  font-weight:700;letter-spacing:-.026em;line-height:1.18}
.face .quoi{font-size:14.5px;color:var(--deep-mut);line-height:1.66}
.face .quoi b{color:var(--on-deep)}
/* sur graphite, le vert d'accent du corps de texte n'a pas assez de contraste :
   c'est l'accent clair qui sert de couleur de lien, ici et dans le paragraphe
   de bascule. */
.face .quoi a,.apres a{color:var(--accent-2);text-decoration:underline;
  text-underline-offset:2px}

.apres{margin-top:clamp(24px,3vw,34px);font-size:clamp(15.5px,1.5vw,17px);
  color:var(--deep-mut);max-width:74ch;line-height:1.66}
.apres b{color:var(--on-deep)}

/* ---------- ce que contient la gestion ---------- */
.prose-liste{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:11px}
.prose-liste li{position:relative;padding-left:19px;
  font-size:15px;color:var(--muted);line-height:1.6}
.prose-liste li::before{content:"";position:absolute;left:0;top:9px;
  width:6px;height:6px;background:var(--accent)}
.prose-liste li b{color:var(--ink);font-weight:700}
/* deux colonnes, pas trois : les entrées commencent par un intitulé en gras
   suivi d'une phrase entière, et à trois colonnes chaque ligne ne tient plus
   que quatre ou cinq mots. */
.prose-liste--deux{grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px clamp(24px,4vw,56px)}
@media (max-width:760px){
  .prose-liste--deux{grid-template-columns:minmax(0,1fr)}
}

/* ---------- les quatre premières semaines ---------- */
.jours{margin:0;display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.jours .j{background:var(--surface);padding:18px 22px;
  display:grid;grid-template-columns:minmax(0,92px) minmax(0,1fr);gap:22px;align-items:start}
.jours .d{font-family:var(--mono);font-size:11.5px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--accent-txt);padding-top:3px}
.jours div{font-size:14.5px;color:var(--muted);line-height:1.66}
.jours b{color:var(--ink);font-weight:700}

.jours a{color:var(--accent-txt);text-decoration:underline;text-underline-offset:2px}

.offres-note{margin-top:clamp(20px,2.4vw,28px);font-size:14px;color:var(--muted);
  line-height:1.65;max-width:74ch}
.offres-note b{color:var(--ink);font-weight:700}

.es-reference{margin-top:clamp(24px,3vw,34px);font-size:15px;color:var(--muted);
  line-height:1.65;max-width:74ch}
.es-reference b{color:var(--ink);font-weight:700}
.es-reference a{color:var(--accent-txt);text-decoration:underline;text-underline-offset:2px}

/* ---------- le comparatif des plateformes ---------- */
.tab-wrap{overflow-x:auto;margin:0;border:1px solid var(--line)}
.tab{border-collapse:collapse;width:100%;background:var(--surface)}
.tab th,.tab td{text-align:left;padding:15px 16px;border-bottom:1px solid var(--line);
  font-size:14px;line-height:1.55;vertical-align:top}
.tab th{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);font-weight:600;background:var(--bg);white-space:nowrap}
.tab td{color:var(--muted)}
.tab td b{color:var(--ink);font-weight:700}
.tab td:first-child{color:var(--ink);font-weight:700}
.tab tr:last-child td{border-bottom:none}

/* ---------- responsive ---------- */
@media (max-width:1020px){
  .duo,.duo--trois{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .jours .j{grid-template-columns:minmax(0,1fr);gap:8px}
}
/* sur téléphone, une carte par plateforme : quatre colonnes de phrases entières
   feraient défiler le tableau de côté */
@media (max-width:760px){
  .tab-wrap{overflow:visible;border:0}
  .es-tab thead{display:none}
  .es-tab,.es-tab tbody,.es-tab tr,.es-tab td{display:block;width:100%}
  .es-tab{background:transparent}
  .es-tab tr{background:var(--surface);border:1px solid var(--line);margin-bottom:14px}
  .es-tab tr:last-child{margin-bottom:0}
  .es-tab td{border-bottom:1px solid var(--line-soft);padding:13px 16px}
  .es-tab tr:last-child td{border-bottom:1px solid var(--line-soft)}
  .es-tab tr td:last-child,.es-tab tr:last-child td:last-child{border-bottom:none}
  .es-tab td:first-child{font-size:18px;letter-spacing:-.02em}
  .es-tab td[data-l]::before{content:attr(data-l);display:block;margin-bottom:5px;
    font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
    color:var(--accent-txt);font-weight:700}
}
