/* ──────────────────────────────────────────────────────────────────
 * pronote-landing.css — Pages d'atterrissage de la campagne PRONOTE
 * (newsletter Index Éducation : enseignants + chefs d'établissement)
 *
 * S'appuie sur les tokens de colors_and_type.css — aucune couleur en dur
 * hors des dégradés décoratifs.
 * ────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--scv-font-body);
  color: var(--scv-ink);
  background: var(--scv-paper);
  font-size: var(--scv-size-16);
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--scv-indigo-300); color: var(--scv-ink); }

.lp-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ════════ Header ════════ */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--scv-line-soft);
}
.lp-header-in {
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand img { width: 48px; height: 48px; object-fit: contain; display: block; }
.lp-brand span {
  font-family: var(--scv-font-display); font-weight: 700; font-size: 19px;
  line-height: 1; color: var(--scv-ink);
}
.lp-header-nav { display: flex; align-items: center; gap: 22px; }
.lp-header-nav a.lp-navlink {
  font-family: var(--scv-font-ui); font-weight: 600; font-size: 15px;
  color: var(--scv-ink-mute); text-decoration: none;
}
.lp-header-nav a.lp-navlink:hover { color: var(--scv-indigo-600); }

/* ════════ Boutons (ombre dure — signature du site) ════════ */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--scv-font-ui); font-weight: 700; letter-spacing: var(--scv-track-button);
  text-decoration: none; border: 0; cursor: pointer;
  font-size: 17px; padding: 14px 26px; border-radius: 10px;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
.lp-btn:active { transform: translateY(2px); }
.lp-btn-green  { background: var(--scv-green-600);  color: #fff; box-shadow: 0 4px 0 0 var(--scv-green-700); }
.lp-btn-green:active  { box-shadow: 0 2px 0 0 var(--scv-green-700); }
.lp-btn-indigo { background: var(--scv-indigo-500); color: #fff; box-shadow: 0 4px 0 0 var(--scv-indigo-700); }
.lp-btn-indigo:active { box-shadow: 0 2px 0 0 var(--scv-indigo-700); }
.lp-btn-outline { background: transparent; color: var(--scv-ink); outline: 1.5px solid var(--scv-ink); outline-offset: -1.5px; }
.lp-btn-sm { font-size: 15px; padding: 11px 20px; border-radius: 8px; }
.lp-btn-white { background: #fff; color: var(--scv-ink); box-shadow: 0 4px 0 0 rgba(0,0,0,0.18); }

.lp-link {
  color: var(--scv-coral-600); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════ Éléments de titrage ════════ */
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--scv-indigo-300); color: var(--scv-indigo-700);
  font-family: var(--scv-font-ui); font-weight: 700; font-size: 12px;
  letter-spacing: var(--scv-track-eyebrow); text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--scv-radius-pill);
}
.lp-h1 {
  font-family: var(--scv-font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.04;
  margin: 20px 0 0; color: var(--scv-ink); letter-spacing: var(--scv-track-tight);
}
.lp-h1 em { font-style: normal; color: var(--scv-indigo-500); display: block; }
.lp-h2 {
  font-family: var(--scv-font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin: 0 0 12px;
}
.lp-h3 {
  font-family: var(--scv-font-body); font-weight: 700;
  font-size: var(--scv-size-20); line-height: 1.25; margin: 0 0 8px;
}
.lp-lead { font-size: var(--scv-size-18); line-height: 1.6; color: var(--scv-ink-soft); max-width: 62ch; }
.lp-sub  { font-size: var(--scv-size-16); color: var(--scv-ink-mute); max-width: 70ch; margin: 0 0 32px; }

.lp-section { padding: 72px 0; }
.lp-section-tight { padding: 48px 0; }
.lp-section-alt { background: var(--scv-surface-1); }

/* ════════ Hero ════════ */
.lp-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.lp-hero-blob {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  background: var(--scv-indigo-300);
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--scv-shadow-poster);
}
.lp-hero-blob img { width: 72%; height: auto; display: block; }

/* Variante photo : portrait détouré inscrit dans la bulle, rogné par la forme. */
.lp-hero-blob.lp-hero-photo { align-items: flex-end; overflow: hidden; }
.lp-hero-blob.lp-hero-photo picture { display: contents; }
.lp-hero-blob.lp-hero-photo img { width: auto; height: 94%; max-width: 88%; object-fit: contain; }
/* Photo au format paysage : elle remplit le bas de la bulle. */
.lp-hero-blob.lp-hero-photo-wide img { width: 100%; height: auto; max-width: none; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ════════ Logos partenaires ════════
   Fournis par Index Éducation (kit de communication). Hauteur normalisée
   plutôt que largeur : les deux marques n'ont pas le même rapport. */
.lp-logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.lp-logos-label {
  font-family: var(--scv-font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: var(--scv-track-eyebrow); text-transform: uppercase;
  color: var(--scv-ink-faint);
}
.lp-logos img { width: auto; display: block; }
.lp-logo-pronote { height: 38px; }   /* ratio 1.66 →  63 px de large */
.lp-logo-index   { height: 20px; }   /* ratio 7.8  → 156 px de large */
.lp-logo-pronote-primaire { height: 26px; }  /* ratio 7.36 → 191 px de large */
.lp-partner-logo { width: auto; display: block; margin-bottom: 14px; }

/* Bandeau de logos en tête d'une carte partenaire : hauteur de zone fixe,
   logos alignés sur leur base optique — les marques n'ont ni le même
   rapport ni la même densité. */
.lp-partner-logos { display: flex; align-items: center; gap: 20px; min-height: 48px; margin-bottom: 14px; flex-wrap: wrap; }
.lp-partner-logos img { width: auto; display: block; }
.lp-logo-cr { height: 46px; }   /* ratio 1.57 →  72 px de large */
.lp-logo-gn { height: 28px; }   /* ratio 3.82 → 107 px de large */

/* ════════ Bandeau de repères ════════ */
.lp-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--scv-line); border-bottom: 1px solid var(--scv-line);
}
.lp-fact { padding: 22px 24px; border-right: 1px solid var(--scv-line); }
.lp-fact:last-child { border-right: 0; }
.lp-fact b {
  display: block; font-family: var(--scv-font-display); font-weight: 800;
  font-size: var(--scv-size-20); color: var(--scv-indigo-500); margin-bottom: 2px;
}
.lp-fact span { font-size: var(--scv-size-14); color: var(--scv-ink-mute); }

/* ════════ Cartes ════════ */
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lp-cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-card {
  background: #fff; border: 3px solid var(--scv-line-soft);
  border-radius: var(--scv-radius-lg); padding: 28px 26px;
  box-shadow: var(--scv-shadow-card);
}
.lp-card-indigo { border-color: var(--scv-indigo-300); }
.lp-card-mint   { border-color: var(--scv-mint-500); }
.lp-card-coral  { border-color: #FFC8C7; }
.lp-card-yellow { border-color: var(--scv-yellow-500); }
.lp-card p { margin: 0; color: var(--scv-ink-soft); }
.lp-card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--scv-radius-pill);
  background: var(--scv-indigo-500); color: #fff;
  font-family: var(--scv-font-ui); font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.lp-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  background: var(--scv-indigo-300); color: var(--scv-indigo-700);
}
.lp-icon-mint  { background: #C7F3E5; color: var(--scv-mint-ink); }
.lp-icon-coral { background: #FFC8C7; color: var(--scv-coral-700); }
.lp-icon-yellow{ background: var(--scv-yellow-500); color: var(--scv-yellow-ink); }
.lp-icon .material-symbols-outlined { font-size: 26px; }

.lp-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--scv-indigo-300); color: var(--scv-indigo-700);
  font-family: var(--scv-font-ui); font-weight: 700; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--scv-radius-pill); margin-bottom: 12px;
}
.lp-tag-mint  { background: #C7F3E5; color: var(--scv-mint-ink); }
.lp-tag-coral { background: #FFC8C7; color: var(--scv-coral-700); }

/* ════════ Listes ════════ */
.lp-list { list-style: none; margin: 0; padding: 0; }
.lp-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--scv-ink-soft);
}
.lp-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 4px; background: var(--scv-mint-600);
}

/* ════════ Encadrés ════════ */
.lp-callout {
  background: var(--scv-indigo-300); border-radius: var(--scv-radius-lg);
  padding: 32px 34px; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap;
}
.lp-callout-mint  { background: #C7F3E5; }
.lp-callout-paper { background: #fff; border: 3px solid var(--scv-indigo-300); }
.lp-callout h3 { margin-top: 0; }
.lp-note {
  border-left: 4px solid var(--scv-coral-500); background: var(--scv-surface-1);
  padding: 16px 20px; border-radius: 0 var(--scv-radius-md) var(--scv-radius-md) 0;
  color: var(--scv-ink-soft); font-size: var(--scv-size-15, 15px);
}
.lp-path {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--scv-font-ui); font-weight: 700; font-size: 15px;
  background: #fff; border: 1.5px solid var(--scv-indigo-500); color: var(--scv-indigo-700);
  padding: 8px 14px; border-radius: var(--scv-radius-sm);
}

/* ════════ Bandeau CTA final ════════ */
.lp-final {
  background: var(--scv-indigo-500); color: #fff;
  border-radius: var(--scv-radius-xl); padding: 56px 48px; text-align: center;
}
.lp-final h2 { color: #fff; }
.lp-final p { color: rgba(255,255,255,0.92); margin: 0 auto 28px; max-width: 58ch; }

/* ════════ Partenaires ════════ */
.lp-partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lp-partners-3 { grid-template-columns: repeat(3, 1fr); }
.lp-partner {
  background: #fff; border: var(--scv-border-thin); border-radius: var(--scv-radius-lg);
  padding: 26px 28px;
}
.lp-partner b { display: block; font-size: var(--scv-size-18); margin-bottom: 6px; }
.lp-partner p { margin: 0; color: var(--scv-ink-mute); font-size: var(--scv-size-15, 15px); }

/* ════════ FAQ ════════ */
.lp-faq details {
  border-bottom: 1px solid var(--scv-line); padding: 18px 0;
}
.lp-faq summary {
  cursor: pointer; font-family: var(--scv-font-body); font-weight: 700;
  font-size: var(--scv-size-18); list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--scv-indigo-500); font-weight: 800; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { color: var(--scv-ink-soft); margin: 12px 0 0; max-width: 78ch; }

/* ════════ Footer ════════ */
.lp-footer { background: var(--scv-indigo-500); color: #fff; margin-top: 72px; padding: 48px 0 28px; }
.lp-footer a { color: #fff; }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.lp-footer-title { font-weight: 700; font-size: var(--scv-size-18); margin-bottom: 10px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer li { margin-bottom: 8px; font-size: var(--scv-size-14); opacity: 0.92; }
.lp-footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: var(--scv-size-12); opacity: 0.8; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ════════ Responsive ════════ */
@media (max-width: 1024px) {
  .lp-cards, .lp-cards-4, .lp-partners-3 { grid-template-columns: repeat(2, 1fr); }
  .lp-facts { grid-template-columns: repeat(2, 1fr); }
  .lp-fact:nth-child(2) { border-right: 0; }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-blob { max-width: 380px; margin: 0 auto; }
  /* Sur tablette, les liens de menu se serrent contre le logo : seul le
     bouton reste — le sommaire de la page suffit à la navigation. */
  .lp-header-nav a.lp-navlink { display: none; }
}
@media (max-width: 767px) {
  .lp-wrap { padding: 0 16px; }
  .lp-header-in { height: 60px; }
  .lp-brand img { width: 36px; height: 36px; }
  .lp-header-nav a.lp-navlink { display: none; }
  .lp-section { padding: 48px 0; }
  .lp-cards, .lp-cards-2, .lp-cards-4, .lp-partners, .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-facts { grid-template-columns: 1fr; }
  .lp-fact { border-right: 0; border-bottom: 1px solid var(--scv-line); }
  .lp-fact:last-child { border-bottom: 0; }
  .lp-final { padding: 40px 22px; border-radius: var(--scv-radius-lg); }
  .lp-callout { padding: 24px 20px; }
  .lp-btn { width: 100%; }
  /* ...sauf celui du header, qui doit rester à côté du logo. */
  .lp-header-nav .lp-btn { width: auto; font-size: 13px; padding: 9px 13px; white-space: nowrap; }
  .lp-brand span { font-size: 15px; }
}
