/* =============================================================================
   ColdIQ / End of Summer : micro landing de conversion newsletter.
   Charte reprise de coldiq.com (tokens verifies en live, voir memoire
   coldiq-brand-tokens) : radius 0 partout, orange #FA8F14, encre noire sur
   l'orange, filets verticaux du conteneur, eyebrow mono a crochets.
   Dark only, comme le site.
   ========================================================================== */

@font-face {
  font-family: "Season Mix";
  src: url("/fonts/SeasonMix-TRIAL-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --warm-black: #1c1b18;
  --warm-dark: #252420;
  --warm-elevated: #201f1c;
  --card-border: #343230;
  --muted: #6c6a64;
  --muted-light: #adaba4;
  --off-white: #fffef9;
  --cta: #fa8f14;
  --cta-hover: #e18112;
  --on-accent: #1c1b18;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--warm-black);
  color: var(--off-white);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Le conteneur du site : 1200 px avec un filet vertical de chaque cote. */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
}

a { color: inherit; }

/* ---------- Bandeau de l'offre ---------- */
.promo {
  background: var(--cta);
  color: var(--on-accent);
}
.promo .wrap {
  border-color: rgba(28, 27, 24, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}
.promo b {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.promo span {
  font-size: 13px;
  font-weight: 500;
  /* Chiffres a chasse fixe : sans ca, un decompte a la seconde fait tressauter
     toute la phrase a chaque tic, puisqu'elle est centree. */
  font-variant-numeric: tabular-nums;
}

/* ---------- En-tete ---------- */
.top { border-bottom: 1px solid var(--card-border); }
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.top img { display: block; height: 22px; width: auto; }
.top a.signin {
  font-size: 13px;
  color: var(--muted-light);
  text-decoration: none;
}
.top a.signin:hover { color: var(--off-white); }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--card-border); }
.hero .wrap {
  padding-top: 64px;
  padding-bottom: 48px;
  text-align: center;
}
.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cta);
  margin: 0 0 20px;
}
h1 {
  font-family: "Season Mix", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 auto;
  /* Cale sur la headline la plus longue que l'horloge puisse produire, pour
     qu'elle tienne sur deux lignes et pas trois. */
  max-width: 20ch;
}
h1 .o { color: var(--cta); }
.sub {
  margin: 22px auto 0;
  max-width: 60ch;
  color: var(--muted-light);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Bascule mensuel / annuel ---------- */
.cadence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--card-border);
  background: var(--warm-elevated);
}
.switch button {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted-light);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.switch button[aria-pressed="true"] {
  background: var(--off-white);
  color: var(--warm-black);
}
.switch .badge {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 5px;
  border: 1px solid currentColor;
  opacity: 0.75;
}

/* ---------- Grille des plans ---------- */
.plans .wrap { padding-top: 48px; padding-bottom: 56px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
}

.plan {
  background: var(--warm-black);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
}
.plan.featured { background: var(--warm-dark); }

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
}
.plan-name {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.tag {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--cta);
  padding: 3px 7px;
}

.price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .now {
  font-family: "Season Mix", Georgia, serif;
  font-size: 44px;
  line-height: 1;
  color: var(--off-white);
}
.price .per { font-size: 14px; color: var(--muted-light); }

/* Le plein tarif, barre, a DROITE du prix qu'on paie et plus petit que lui
   (Jules, 2026-08-31), separe par un slash. Le slash n'est pas barre : c'est
   lui qui tient les deux chiffres ensemble. */
.price .sep {
  font-family: "Season Mix", Georgia, serif;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.price .was {
  font-family: "Season Mix", Georgia, serif;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* LE TOTAL ET LA NOTE FORMENT UN SEUL BLOC de deux lignes (Jules, 2026-08-31) :
   un simple saut de ligne les separe, et c'est l'espace SOUS le bloc qui le
   detache des credits. Les <p> ne sont pas remis a zero dans cette page, d'ou
   les marges ecrites en toutes lettres : sans elles, la marge par defaut du
   navigateur (1em) rouvrait un trou entre les deux lignes. */
.total {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted-light);
}

.note {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 19px;
}

/* Plus de trait de separation dans la carte (Jules, 2026-08-31) : c'est
   l'espace qui separe, pas un filet. */
.credits {
  /* Le "padding en dessous" du bloc prix (Jules, 2026-08-31) : c'est lui qui
     separe maintenant, puisque le filet a saute et que les deux lignes du
     dessus se touchent. */
  margin-top: 34px;
  font-size: 15px;
  font-weight: 500;
}
.credits small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

ul.feats {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-light);
}
ul.feats li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
}
ul.feats li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 7px;
  margin-left: 4px;
  background: var(--cta);
}

.select {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  background: var(--off-white);
  color: var(--warm-black);
  transition: background 120ms ease, color 120ms ease;
}
.plan.featured .select { background: var(--cta); color: var(--on-accent); }
.select:hover { background: var(--cta); color: var(--on-accent); }
.plan.featured .select:hover { background: var(--cta-hover); }

/* ---------- La sortie "on en parle" ---------- */
/* Bouton fantome : le poids visuel reste aux trois Select. Radius 0, charte
   ColdIQ. Il s'allume a l'orange au survol, comme tout ce qui est cliquable
   sur cette page. */
.talk .wrap {
  padding-top: 0;
  /* Dernier bloc de la page depuis que le pied a saute (Jules, 2026-08-31) :
     il porte tout l'air du bas a lui seul. */
  padding-bottom: 110px;
  display: flex;
  justify-content: center;
}
/* Meme bouton que les "Select" de la grille (Jules, 2026-08-31) : blanc plein,
   orange au survol. Il ne se distingue d'eux que par sa largeur, qui suit son
   texte au lieu de remplir la colonne. */
.talk a {
  display: inline-block;
  padding: 13px 26px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: var(--off-white);
  color: var(--warm-black);
  transition: background 120ms ease, color 120ms ease;
}
.talk a:hover {
  background: var(--cta);
  color: var(--on-accent);
}

/* ---------- Petit ecran : le trafic newsletter est majoritairement mobile ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }

  /* Trois paliers au lieu de deux : la bascule doit tenir sur 390 px sans
     que le pourcentage, qui EST l'argument, parte a la ligne. */
  .switch { width: 100%; }
  .switch button { flex: 1; justify-content: center; padding: 9px 8px; font-size: 12px; gap: 5px; }
  .switch .badge { font-size: 9px; padding: 2px 3px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 36px; }
  h1 { max-width: 100%; }
  .plan { padding: 26px 22px 28px; }
}
