/* =========================================================
   Le Réveil français – feuille de style
   Couleurs reprises de la couverture Fayard
   ========================================================= */
:root {
  --rouge: #ed1639;        /* rouge de la couverture */
  --rouge-fonce: #c80f2e;
  --noir: #161414;         /* noir du titre */
  --gris: #494748;         /* fond gris du portrait */
  --blanc: #ffffff;
  --papier: #f5efe6;       /* ton papier, plus chaleureux que le blanc */
  --papier-fonce: #ebe2d4;
  --texte: #2a2727;
  --texte-doux: #4f4a45;     /* contraste 7,7:1 sur fond papier (WCAG AA et AAA) */

  --font-titre: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-texte: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;

  --largeur: 1140px;
  --rayon: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge); }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; }

.container { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: 2px solid var(--rouge);
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); transform: translateY(-1px); }
.btn--ghost-light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn--small { font-size: 1rem; padding: 8px 16px; }
.btn--full { width: 100%; text-align: center; }

/* ---------- Petits titres au-dessus des titres ---------- */
.eyebrow {
  margin: 0 0 10px;
  font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rouge);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: currentColor; }
.eyebrow--light { color: var(--blanc); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 20px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(6px);
}
.nav__logo {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
}
.nav__links { display: flex; gap: 24px; }
.nav__links a {
  color: var(--noir); text-decoration: none; font-weight: 500;
  text-transform: uppercase; letter-spacing: .05em; font-size: .95rem;
}
.nav__links a:hover { color: var(--rouge); }

/* ---------- 1. En-tête (fond sombre, la couverture ressort) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 96px;
  color: var(--blanc);
  background:
    radial-gradient(ellipse 60% 70% at 85% 45%, rgba(237,22,57,.45), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(237,22,57,.18), transparent 70%),
    var(--noir);
}
.hero__inner {
  position: relative;
  max-width: var(--largeur); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
}
.hero__title { font-weight: 400; margin: 0 0 24px; }
.hero__book {
  display: block;
  font-family: var(--font-texte); font-weight: 700;
  font-size: 1rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 14px;
}
.hero__hook {
  display: block;
  font-family: var(--font-titre); text-transform: uppercase;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem); line-height: 1;
}
.hero__hook em { font-style: normal; color: var(--rouge); }
.hero__teaser { font-size: 1.3rem; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 34em; margin: 0 0 22px; }
.hero__meta { color: rgba(255,255,255,.7); margin: 0 0 30px; font-size: 1.05rem; }
.hero__meta strong { color: var(--blanc); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cover img {
  width: 100%; max-width: 400px; margin-left: auto;
  box-shadow: 0 40px 70px -20px rgba(0,0,0,.8);
  transform: rotate(3deg);
}

/* ---------- Sections génériques ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--papier); }
.section--dark { background: var(--noir); color: #e9e6e6; }
.section--red { background: var(--rouge); color: var(--blanc); }
.section__title {
  font-family: var(--font-titre); font-weight: 400;
  text-transform: uppercase; color: var(--noir);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}
.section__title--light { color: var(--blanc); }
.section__intro { margin: -8px 0 48px; color: var(--texte-doux); font-size: 1.25rem; }
.section__intro--light { color: rgba(255,255,255,.92); }
.muted { color: var(--texte-doux); }

/* ---------- 2. Vidéo ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--gris); border-radius: var(--rayon); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--blanc); text-align: center;
}
.video__placeholder span { font-family: var(--font-titre); font-size: 2rem; text-transform: uppercase; }
.video__placeholder small { color: rgba(255,255,255,.7); font-size: 1rem; }

/* ---------- 3. Le récit ---------- */
.book { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.summary p { margin: 0 0 16px; }
.summary .lead { font-family: var(--font-titre); font-size: 1.7rem; text-transform: uppercase; color: var(--rouge); line-height: 1.2; }
.summary__toggle { display: none; }
.book__sheet {
  background: var(--blanc); border-top: 6px solid var(--rouge);
  padding: 28px; position: sticky; top: 96px;
  box-shadow: 0 18px 40px -24px rgba(60,40,20,.35);
}
.book__sheet h3 { font-family: var(--font-titre); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 16px; }
.book__sheet dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 24px; }
.book__sheet dt { color: var(--texte-doux); }
.book__sheet dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- 4. Périodes et dates ---------- */
.period { margin-bottom: 56px; }
.period__head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  border-bottom: 3px solid var(--noir); padding-bottom: 10px; margin-bottom: 24px;
}
.period__years { font-family: var(--font-titre); font-size: 1.6rem; color: var(--rouge); }
.period__head h3 { font-family: var(--font-titre); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; color: var(--noir); }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.date-card {
  position: relative; overflow: hidden;
  background: var(--papier); padding: 28px 26px 30px; border-left: 5px solid var(--rouge);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
/* Grande année en filigrane */
.date-card::after {
  content: attr(data-year);
  position: absolute; right: -8px; bottom: -28px;
  font-family: var(--font-titre); font-size: 7.5rem; line-height: 1;
  color: var(--rouge); opacity: .08; pointer-events: none;
}
.date-card > * { position: relative; z-index: 1; }
.date-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(60,40,20,.4); }
.date-card time { font-family: var(--font-titre); font-size: 1.7rem; color: var(--rouge); text-transform: uppercase; line-height: 1; }
.date-card h4 { font-size: 1.3rem; font-weight: 700; color: var(--noir); }
.date-card p { margin: 0; color: var(--texte-doux); font-size: 1.05rem; }
.date-card__tag {
  align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blanc); background: var(--noir); padding: 2px 8px;
}
.dates__more {
  text-align: center; margin: 8px 0 0;
  font-family: var(--font-titre); font-size: 1.6rem; text-transform: uppercase; color: var(--noir);
}

/* ---------- 5. Auteur ---------- */
.author { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.author__photo img { box-shadow: 0 24px 50px -24px rgba(60,40,20,.5); }
.author__photo small { display: block; margin-top: 8px; color: var(--texte-doux); font-size: .85rem; }
.author__links { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--papier-fonce); }
.author__links-label { margin: 0 0 8px; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.pills { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.pills a {
  display: inline-block; padding: 4px 14px; border: 1.5px solid var(--noir); border-radius: 999px;
  color: var(--noir); text-decoration: none; font-weight: 500; font-size: 1rem;
}
.pills a:hover { background: var(--noir); color: var(--blanc); }

/* ---------- 6. Où l'acheter ---------- */
.stores {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.stores a {
  display: flex; flex-direction: column; justify-content: center; min-height: 92px;
  background: var(--blanc); color: var(--noir); text-decoration: none;
  font-family: var(--font-titre); font-size: 1.5rem; text-transform: uppercase;
  padding: 18px 22px; border-radius: var(--rayon);
  transition: transform .2s, background .2s;
}
.stores a:hover { transform: translateY(-3px); background: var(--noir); color: var(--blanc); }
.stores small { font-family: var(--font-texte); font-size: .9rem; text-transform: none; color: var(--texte-doux); }
.stores a:hover small { color: rgba(255,255,255,.7); }

/* ---------- 7. Extrait offert ---------- */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.signup__text p { font-size: 1.3rem; margin: 0 0 16px; }
.signup__text .signup__hook {
  font-family: var(--font-titre); text-transform: uppercase; color: var(--rouge);
  font-size: 1.7rem; line-height: 1.2; margin-bottom: 24px;
}
.badge {
  display: inline-block; margin-bottom: 16px;
  background: var(--rouge); color: var(--blanc);
  font-family: var(--font-titre); font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 14px; transform: rotate(-2deg);
}
.signup__form { background: var(--blanc); color: var(--texte); padding: 32px; border-top: 6px solid var(--rouge); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.field input {
  width: 100%; padding: 12px 14px; font: inherit;
  border: 2px solid #d9d5d5; border-radius: var(--rayon);
}
.field input:focus { outline: none; border-color: var(--rouge); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-bottom: 20px; line-height: 1.4; }
.consent input { margin-top: 4px; accent-color: var(--rouge); width: 18px; height: 18px; flex-shrink: 0; }
.form-message { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form-message.is-error { color: var(--rouge); }
.form-message.is-success { color: #1e7a3a; }
.btn--download { margin-top: 8px; background: var(--noir); border-color: var(--noir); }
.btn--download:hover { background: #000; border-color: #000; }
.btn--download[hidden] { display: none; }

/* ---------- 8. Questions et réponses ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--papier-fonce); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.3rem; color: var(--noir);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-titre); font-size: 1.8rem; color: var(--rouge);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; }

/* ---------- 9. Presse ---------- */
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.press__col { border-top: 3px solid var(--noir); padding-top: 18px; }
.press__col h3 { font-family: var(--font-titre); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; margin-bottom: 12px; }
.press__links { list-style: none; padding: 0; margin: 0; }
.press__links li { margin-bottom: 8px; }
.press__links a { font-weight: 700; }

/* ---------- Pied de page ---------- */
.footer { background: var(--noir); color: rgba(255,255,255,.75); padding: 32px 0; font-size: 1rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--blanc); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero__inner, .book, .author, .signup { grid-template-columns: 1fr; gap: 40px; }
  .hero__cover img { max-width: 260px; margin: 0 auto; }
  .hero__text { text-align: center; }
  .hero__teaser { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .book__sheet { position: static; }
  .author__photo img { max-width: 360px; }
  .press { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  /* « Lire la suite » sur mobile : seuls les 2 premiers paragraphes */
  .summary:not(.is-open) p:nth-child(n+3) { display: none; }
  .summary__toggle {
    display: inline-block; background: none; border: 0; padding: 0;
    font: inherit; font-weight: 700; color: var(--rouge); text-decoration: underline; cursor: pointer;
  }
}
@media (max-width: 480px) {
  .container, .hero__inner { padding: 0 16px; }
  .nav { padding: 10px 16px; }
  .nav__logo { font-size: 1.15rem; }
  .btn { width: 100%; text-align: center; }
  .btn--small { width: auto; }
  .signup__form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .br-desk { display: none; }   /* sur petit écran, le texte coule naturellement (une espace précède toujours le <br>) */
  .timeline { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Fayard en premier, mis en avant sur toute la largeur */
.stores__main { grid-column: 1 / -1; }
.stores__main a { background: var(--noir); color: var(--blanc); min-height: 110px; font-size: 1.9rem; }
.stores__main a small { color: rgba(255,255,255,.75); }
.stores__main a:hover { background: var(--blanc); color: var(--noir); }
.stores__main a:hover small { color: var(--texte-doux); }

/* ---------- Ajouts : retours client du 15 novembre ---------- */

/* Accroche de la section « Le récit » */
.book__hook {
  font-family: var(--font-titre); text-transform: uppercase; color: var(--rouge);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2;
  margin: -6px 0 28px; padding-left: 18px; border-left: 5px solid var(--rouge);
}

/* Cartes citations dans la frise : fond noir, pour se distinguer des cartes dates */
.quote-card {
  position: relative; overflow: hidden;
  background: var(--noir); color: var(--blanc);
  padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: -18px; left: 14px;
  font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: var(--rouge); opacity: .55;
}
.quote-card blockquote {
  position: relative; margin: 0;
  font-family: var(--font-titre); text-transform: uppercase; font-size: 1.55rem; line-height: 1.2;
}
.quote-card cite { position: relative; font-style: normal; font-size: .95rem; color: rgba(255,255,255,.75); }
.quote-card--wide { grid-column: span 2; }
.quote-card--wide blockquote { font-size: 1.9rem; }

/* Formulaire : mention facultatif et texte RGPD */
.optional { font-weight: 400; color: var(--texte-doux); }
.rgpd { margin: 18px 0 0; font-size: .85rem; line-height: 1.45; color: var(--texte-doux); }
.rgpd a { color: var(--texte); }

/* Presse : citation de la préface */
.press { grid-template-columns: 2fr 1fr; }
.press__quote { margin: 0; border-top: 3px solid var(--rouge); padding-top: 18px; }
.press__quote blockquote {
  margin: 0 0 12px; font-family: var(--font-titre); text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; color: var(--noir);
}
.press__quote blockquote::before { content: "« "; color: var(--rouge); }
.press__quote blockquote::after { content: " »"; color: var(--rouge); }
.press__quote figcaption { font-weight: 700; color: var(--texte-doux); }

/* Bandeau de partage */
.share { background: var(--papier); border-top: 1px solid var(--papier-fonce); padding: 40px 0; }
.share__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.share__title { margin: 0; font-family: var(--font-titre); font-size: 1.8rem; text-transform: uppercase; color: var(--noir); }
.share__buttons { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.share__btn {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  color: var(--blanc); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: transform .2s, opacity .2s;
}
.share__btn:hover { transform: translateY(-2px); opacity: .9; }
.share__btn--whatsapp { background: #1a7f45; }   /* vert foncé : contraste suffisant avec le texte blanc */
.share__btn--x { background: #000; }
.share__btn--facebook { background: #1b5bc4; }

/* Pages légales */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-family: var(--font-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--noir); margin-bottom: 8px; }
.legal h2 { font-family: var(--font-titre); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; color: var(--noir); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--texte); }
.legal .todo { background: #fff3c4; padding: 0 4px; }
.legal__back { display: inline-block; margin-bottom: 24px; font-weight: 700; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .quote-card--wide { grid-column: auto; }
  .press { grid-template-columns: 1fr; }
}

/* ---------- Ajouts : décisions client du 15 novembre (2) ---------- */
.quote-card--full { grid-column: 1 / -1; min-height: 160px; }
.quote-card--full blockquote { font-size: 2rem; max-width: 30em; }

/* Revendeurs : listes dépliables sous les grandes enseignes */
.stores__more { margin-top: 24px; display: grid; gap: 12px; }
.stores__list { background: rgba(0,0,0,.14); border-radius: var(--rayon); }
.stores__list summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-titre); font-size: 1.4rem; text-transform: uppercase; color: var(--blanc);
}
.stores__list summary::-webkit-details-marker { display: none; }
.stores__list summary span {
  display: block; font-family: var(--font-texte); font-size: 1rem; text-transform: none; color: rgba(255,255,255,.88);
}
.stores__list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-titre); font-size: 2rem; color: var(--blanc);
}
.stores__list[open] summary::after { content: "–"; }
.stores__links {
  list-style: none; margin: 0; padding: 0 22px 22px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px;
}
.stores__links a {
  display: block; padding: 10px 14px; border-radius: var(--rayon);
  background: var(--blanc); color: var(--noir); text-decoration: none; font-weight: 700;
  transition: background .2s, color .2s;
}
.stores__links a:hover { background: var(--noir); color: var(--blanc); }

/* Période avec deux cartes : elles se partagent la ligne */
.timeline--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .timeline--2 { grid-template-columns: 1fr; } }
