/* The home page (/ and /en/), on top of landing.css: a calm light page where the interface is the star. Each section is
   a short benefit and one concrete scenario drawn as a small product window (HTML, not a screenshot).
   Swapping the identity: colours are the tokens below and in landing.css's :root, the logo is assets/marque.svg
   (one file for every page), and the name appears only in the header, the footer and the share texts. */

:root {
  --ok: #2c6a5a;            /* paid, matched: in the verdigris family */
  --ok-pale: #dcece6;
  --alerte: #8f3f07;        /* late, missing */
  --alerte-pale: #fcebd8;
  --ombre: color-mix(in srgb, var(--prune) 32%, transparent);
}

.page-accueil { background: var(--neige); }

/* Header on the light page */
.page-accueil .entete { color: var(--prune); }
.page-accueil .entete-liens .connexion { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--prune) 40%, transparent); }
.page-accueil .entete-liens .connexion:hover { box-shadow: inset 0 0 0 1.5px var(--prune); }
.entete-liens .lien-section { display: none; }

/* Hero */
.une {
  display: grid;
  gap: 44px;
  padding-block: 28px 72px;
}
.une .titre-1 { color: var(--prune); }
.surtitre {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lilas);
  color: var(--prune);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}
.une .chapeau { max-width: 34rem; }
.une .appel { margin-top: 28px; }
.une .note-beta { color: var(--ardoise); }

/* « Ajouter à ChatGPT / Claude »: shown, not active yet */
.ajouts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.ajouts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--trait);
  background: var(--blanc);
  color: var(--ardoise);
  font-size: 0.9375rem;
  font-weight: 700;
}
.bientot {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lilas);
  color: var(--prune);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Sections */
.volet {
  padding-block: 72px;
  border-top: 1px solid var(--trait);
}
.volet-grille {
  display: grid;
  gap: 36px;
  align-items: start;
}
.etiquette {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lilas);
  color: var(--prune);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}
.titre-volet {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--prune);
  max-width: 18ch;
  text-wrap: balance;
}
.volet-texte {
  margin-top: 16px;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ardoise);
}
.volet-texte + .volet-texte { margin-top: 10px; }
.volet-detail { margin-top: 14px; font-size: 0.9375rem; color: var(--ardoise); }

/* The product windows (vignettes) */
.fenetre {
  min-width: 0;
  border-radius: var(--r-md);
  background: var(--blanc);
  box-shadow: 0 0 0 1px var(--trait), 0 36px 70px -46px var(--ombre);
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.fenetre-tete {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--trait);
  color: var(--encre);
  font-size: 0.875rem;
  font-weight: 700;
}
.fenetre-tete::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trait);
  box-shadow: 13px 0 0 var(--trait), 26px 0 0 var(--trait);
  margin-right: 30px;
}
.fenetre-tete .fictif {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ardoise);
  white-space: nowrap;
}
.fenetre-corps {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.fenetre .bulle { max-width: 100%; font-size: 0.9375rem; }
.fenetre .bulle--moi { justify-self: end; max-width: 88%; }
.fenetre .bulle--mb { justify-self: start; }
.fenetre .bulle p + p,
.fenetre .bulle p + .cites { margin-top: 10px; }

.carte {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--neige);
  box-shadow: inset 0 0 0 1px var(--trait);
}
.carte-titre { font-weight: 700; color: var(--encre); }
.carte-sous { font-size: 0.8125rem; color: var(--ardoise); }

.lignes { display: grid; margin-top: 8px; }
.ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding-block: 7px;
  border-top: 1px solid var(--trait);
}
.ligne:first-child { border-top: 0; }
.ligne > :last-child { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ligne--total { font-weight: 700; color: var(--encre); }
.ligne small { display: block; font-size: 0.8125rem; color: var(--ardoise); }

.tableau { width: 100%; margin-top: 4px; border-collapse: collapse; font-size: 0.875rem; }
.tableau th,
.tableau td { padding: 6px 0 6px 10px; border-top: 1px solid var(--trait); text-align: right; font-variant-numeric: tabular-nums; }
.tableau td { white-space: nowrap; }
.tableau th:first-child,
.tableau td:first-child { padding-left: 0; text-align: left; }
.tableau thead th { border-top: 0; font-size: 0.8125rem; color: var(--ardoise); font-weight: 700; }
.tableau tbody th { font-weight: 400; color: var(--ardoise); }
.tableau tfoot th,
.tableau tfoot td { font-weight: 700; color: var(--encre); }

.etat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.etat--ok { background: var(--ok-pale); color: var(--ok); }
.etat--alerte { background: var(--alerte-pale); color: var(--alerte); }
.etat--neutre { background: var(--lilas); color: var(--prune); }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fb {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--trait);
  background: var(--blanc);
  color: var(--prune);
  font-size: 0.8125rem;
  font-weight: 700;
}
.fb--plein { background: var(--prune); color: var(--sur-sombre); box-shadow: none; }

.relie {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ardoise);
}
.relie::before,
.relie::after { content: ""; flex: 1; height: 1px; background: var(--trait); }

.cites { display: flex; flex-wrap: wrap; gap: 6px; }
.cites span {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--lilas);
  color: var(--prune);
  font-size: 0.8125rem;
  font-weight: 700;
}
.note-fictive { font-size: 0.8125rem; color: var(--ardoise); }

/* « Ce que vous contrôlez » */
.garanties {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.garanties li {
  display: grid;
  gap: 2px;
  padding-block: 14px;
  border-top: 1px solid var(--trait);
  color: var(--ardoise);
}
.garanties strong { color: var(--encre); font-size: 1.0625rem; }

/* Québec */
.page-accueil .trio { margin-top: 40px; }

/* Closing band with the waitlist */
.fin .titre-volet { color: var(--sur-sombre); }
.fin .volet-texte { color: var(--sur-sombre-doux); }
.fin .note-beta { color: var(--sur-sombre-doux); }

@media (min-width: 720px) {
  .volet { padding-block: 104px; }
  .entete-liens .lien-section { display: inline-flex; }
}

@media (min-width: 1000px) {
  .une {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
    padding-block: 48px 104px;
  }
  .volet-grille {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
  }
  .volet-grille > :first-child { position: sticky; top: 32px; }
  .fenetre { font-size: 1rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .une .fenetre .bulle--mb { animation: bulle 0.5s 0.6s ease-out both; }
}
