/* glaneur.css — landing theglaneur.com
   Statique, zéro dépendance. Tokens + base + composants.
   Réf : design/glaneur-landing-page-brief/project/Glaneur Specs.dc.html */

/* ============================================================ 01 — Tokens */
:root {
  /* Couleurs — fond / surface */
  --gl-night:       #0C1A2E;  /* fond principal */
  --gl-night-2:     #081320;  /* footer, creux */
  --gl-surface:     #142844;  /* cartes */
  --gl-cream:       #FAF7F0;  /* texte sur sombre */
  --gl-cream-2:     #E7E2D6;  /* bordures sur clair */
  --gl-wheat:       #F6ECCF;  /* bande Glaneur+ */
  --gl-wheat-ink:   #3A2F12;  /* texte sur blé */
  /* Accents or */
  --gl-gold:        #C89B3C;  /* CTA, points */
  --gl-gold-deep:   #A37C22;  /* liens, kicker sur clair */
  --gl-gold-light:  #D4A948;  /* kicker sur sombre, lueur */
  --gl-gold-rss:    #E0B65A;  /* libellé bouton RSS */
  /* Texte */
  --gl-text:        #FAF7F0;
  --gl-text-2:      #B4AFA1;
  --gl-text-3:      #8D897C;
  --gl-text-soft:   #A8A497;  /* corps secondaire sur sombre */
  --gl-ink:         #1D2129;
  --gl-ink-2:       #4A4638;
  --gl-ink-3:       #6F6957;
  --gl-btn-ink:     #15181E;  /* texte sur bouton or */
  --gl-online:      #5FB87A;
  /* Bordures (alpha sur sombre) */
  --gl-line:        rgba(250, 247, 240, .08);
  --gl-line-strong: rgba(250, 247, 240, .14);
  /* Typo */
  --gl-font-head: 'Space Grotesk', system-ui, sans-serif;
  --gl-font-body: 'Hanken Grotesk', system-ui, sans-serif;
  /* Rayons */
  --gl-r-sm: 9px; --gl-r: 12px; --gl-r-lg: 18px; --gl-r-pill: 100px;
  /* Espacement (échelle 4px) */
  --gl-s-1: 8px; --gl-s-2: 14px; --gl-s-3: 22px;
  --gl-s-4: 40px; --gl-s-5: 64px; --gl-s-6: 96px;
  /* Largeur de contenu */
  --gl-maxw: 1180px;
}

/* ============================================================ Base */
* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--gl-night);
  color: var(--gl-text);
  font-family: var(--gl-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--gl-font-head); letter-spacing: -0.02em; }

a { color: var(--gl-gold-deep); }

img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--gl-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.gl-container {
  max-width: var(--gl-maxw);
  margin: 0 auto;
  padding-left: var(--gl-s-4);
  padding-right: var(--gl-s-4);
}

.section { padding: var(--gl-s-6) var(--gl-s-4); }

.divider {
  height: 1px;
  max-width: var(--gl-maxw);
  margin: 0 auto;
  background: var(--gl-line);
}

/* ============================================================ 04 — Kicker / badge */
.gl-badge {
  display: inline-block;
  font-family: var(--gl-font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gl-gold-light);
  border: 1px solid rgba(200, 155, 60, .32);
  background: rgba(200, 155, 60, .06);
  padding: 7px 14px;
  border-radius: var(--gl-r-pill);
}
.gl-badge--light {
  color: var(--gl-gold-deep);
  border-color: rgba(163, 124, 34, .32);
  background: rgba(163, 124, 34, .06);
}

/* ============================================================ 04 — Bouton primaire (CTA) */
.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 22px;
  border: none;
  border-radius: 11px;
  background: var(--gl-gold);
  color: var(--gl-btn-ink);
  font-family: var(--gl-font-body);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s;
}
.gl-btn:hover { filter: brightness(1.08); }

/* ============================================================ 06 — Formulaire e-mail */
.gl-form-wrap { width: 100%; max-width: 540px; font-family: var(--gl-font-body); }

.gl-form {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}
.gl-input {
  flex: 1 1 220px;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid var(--gl-line-strong);
  background: rgba(250, 247, 240, .05);
  color: var(--gl-cream);
  font-size: 16px;
  font-family: inherit;
  outline: none;
}
.gl-input::placeholder { color: rgba(250, 247, 240, .40); }
.gl-input:focus { border-color: var(--gl-gold); }

.gl-form .gl-btn { flex: 0 0 auto; }

.gl-micro {
  margin: 13px 2px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gl-text-3);
}

.gl-confirm {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 20px;
  border-radius: 13px;
  background: rgba(200, 155, 60, .12);
  border: 1px solid rgba(200, 155, 60, .45);
}
.gl-confirm[hidden] { display: none; }
.gl-confirm-check {
  flex: 0 0 auto;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--gl-online);
  color: var(--gl-night-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  margin-top: 1px;
}
.gl-confirm-title { font-weight: 600; color: #E6D4A6; font-size: 16px; }
.gl-confirm-body { font-size: 14px; color: #E6D4A6; opacity: .82; margin-top: 3px; line-height: 1.45; }

/* Variante claire (bande Glaneur+) */
.gl-form-wrap--light .gl-input {
  background: #fff;
  border-color: #D8D2C2;
  color: var(--gl-ink);
}
.gl-form-wrap--light .gl-input::placeholder { color: #9B9586; }
.gl-form-wrap--light .gl-btn { background: var(--gl-ink); color: var(--gl-cream); }
.gl-form-wrap--light .gl-micro { color: var(--gl-ink-3); }
.gl-form-wrap--light .gl-confirm {
  background: rgba(163, 124, 34, .10);
  border-color: rgba(163, 124, 34, .40);
}
.gl-form-wrap--light .gl-confirm-title,
.gl-form-wrap--light .gl-confirm-body { color: #7A5E18; }

/* ============================================================ Statut « en ligne » */
.gl-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #CDB785;
}
.gl-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gl-online);
  box-shadow: 0 0 0 3px rgba(95, 184, 122, .18);
}

/* ============================================================ Hero (Hero B) */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gl-night);
}
.hero-glow {
  position: absolute;
  left: 50%; bottom: -52%;
  transform: translateX(-50%);
  width: 1300px; height: 1300px; max-width: 160%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,166,70,.30) 0%, rgba(200,155,60,.10) 34%, rgba(200,155,60,0) 60%);
  pointer-events: none; z-index: 1;
}
.hero-rule {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, rgba(200,155,60,0) 0%, rgba(214,166,70,.5) 50%, rgba(200,155,60,0) 100%);
}
.hero-topbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
}
.wordmark {
  font-family: var(--gl-font-head);
  font-weight: 600;
  font-size: 21px;
  color: var(--gl-cream);
  letter-spacing: -0.01em;
}
.hero-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.hero-nav a { color: #C7C2B4; text-decoration: none; transition: color .15s; }
.hero-nav a:hover { color: var(--gl-cream); }

.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--gl-maxw); margin: 0 auto;
  padding: 64px 48px 96px;
  display: flex; align-items: center; gap: 64px;
}
.hero-left { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.hero-h1 {
  margin: 0;
  font-family: var(--gl-font-head);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  color: var(--gl-cream);
  text-wrap: balance;
}
.hero-pitch { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--gl-text-2); }
.hero-link {
  color: #A39E91; font-size: 14.5px; text-decoration: none;
  border-bottom: 1px solid rgba(163,158,145,.32); padding-bottom: 2px; transition: color .15s;
}
.hero-link:hover { color: var(--gl-cream); }

.hero-art { flex: 0 0 388px; width: 388px; position: relative; }
.hero-art-back {
  position: absolute; top: -22px; right: -30px; width: 182px;
  border-radius: var(--gl-r-lg); transform: rotate(6deg);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  border: 1px solid var(--gl-line); z-index: 1;
}
.hero-art-main {
  position: relative; z-index: 2;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 36px 70px rgba(0,0,0,.55);
  border: 1px solid rgba(250,247,240,.10);
}
.hero-art-main img { width: 100%; }
.hero-art-play {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 13px; padding: 18px;
  background: linear-gradient(0deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,0) 100%);
}
.hero-art-play .play {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gl-cream); color: var(--gl-btn-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; padding-left: 3px;
}
.hero-art-play .meta-title { font-family: var(--gl-font-head); font-weight: 600; font-size: 15px; color: var(--gl-cream); }
.hero-art-play .meta-sub { font-size: 13px; color: #BDB8AA; margin-top: 1px; }
.hero-art-note {
  position: relative; z-index: 2; margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: #9A9587;
}
.hero-art-note .gl-dot { box-shadow: none; background: var(--gl-gold); width: 6px; height: 6px; }

/* ============================================================ En 3 points */
.points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: var(--gl-maxw); margin: 0 auto;
}
.point { display: flex; flex-direction: column; gap: 11px; }
.point-num { font-family: var(--gl-font-head); font-size: 14px; font-weight: 600; color: var(--gl-gold-light); letter-spacing: 0.04em; }
.point h3 { margin: 0; font-size: 21px; font-weight: 600; color: var(--gl-cream); letter-spacing: -0.01em; }
.point p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--gl-text-soft); }

/* ============================================================ 07 — Canaux */
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { margin: 0; font-size: 38px; font-weight: 600; line-height: 1.1; color: var(--gl-cream); text-wrap: balance; }
.section-head p { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--gl-text-soft); }

.channels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: var(--gl-maxw); margin: 0 auto;
}
.card {
  display: flex; flex-direction: column;
  background: var(--gl-surface);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-r-lg);
  overflow: hidden;
}
.card-cover { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 15px; flex: 1; }
.card-body h3 { margin: 0; font-size: 20px; font-weight: 600; color: var(--gl-cream); letter-spacing: -0.01em; }
.card-desc { margin: 5px 0 0; font-size: 14px; line-height: 1.45; color: #9A9587; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.abo {
  display: inline-flex; align-items: center;
  height: 33px; padding: 0 12px;
  border-radius: var(--gl-r-sm);
  border: 1px solid var(--gl-line-strong);
  background: transparent;
  color: #CFC9BA;
  font-size: 12.5px; font-weight: 500;
  text-decoration: none; font-family: inherit;
  transition: filter .15s;
}
.abo:hover { filter: brightness(1.35); }
.abo-rss {
  gap: 6px; padding: 0 13px;
  border-color: rgba(200, 155, 60, .5);
  background: rgba(200, 155, 60, .07);
  color: var(--gl-gold-rss);
  font-weight: 600;
  cursor: pointer;
}
.abo-rss:hover { filter: brightness(1.15); }

/* ============================================================ Glaneur+ (bande blé) */
.plus {
  position: relative;
  background: var(--gl-wheat);
  color: var(--gl-wheat-ink);
  overflow: hidden;
}
.plus-glow {
  position: absolute; left: 50%; top: -30%; transform: translateX(-50%);
  width: 1100px; height: 900px; max-width: 140%; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,168,58,.40) 0%, rgba(214,166,70,0) 62%);
  pointer-events: none;
}
.plus-inner {
  position: relative; max-width: 760px; margin: 0 auto;
  padding: var(--gl-s-6) var(--gl-s-4);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.plus-h2 { margin: 0; font-size: 42px; font-weight: 600; line-height: 1.05; color: var(--gl-ink); }
.plus-lead { margin: 0; max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--gl-ink-2); }
.plus-lead strong { color: var(--gl-ink); font-weight: 600; }
.plus-price { margin: 2px 0 0; font-size: 15px; line-height: 1.55; color: var(--gl-ink-3); }
.plus-price strong { color: var(--gl-gold-deep); font-weight: 600; }
.plus-form { width: 100%; max-width: 540px; margin-top: 14px; display: flex; justify-content: center; }

/* ============================================================ Pourquoi Glaneur */
.why-head { margin: 0 0 40px; font-size: 38px; font-weight: 600; line-height: 1.1; color: var(--gl-cream); }
.why {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
  max-width: 1080px; margin: 0 auto;
}
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  border-top: 1px solid rgba(250,247,240,.10); padding-top: 22px;
}
.why-item .gl-dot { flex: 0 0 auto; width: 8px; height: 8px; background: var(--gl-gold); box-shadow: none; margin-top: 9px; }
.why-item h3 { margin: 0 0 5px; font-size: 18px; font-weight: 600; color: var(--gl-cream); }
.why-item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gl-text-soft); }

/* ============================================================ Footer */
.footer { background: var(--gl-night-2); border-top: 1px solid rgba(250,247,240,.07); }
.footer-inner {
  max-width: var(--gl-maxw); margin: 0 auto;
  padding: 44px var(--gl-s-4);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-tag { margin: 6px 0 0; font-size: 14px; color: var(--gl-text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; }
.footer-links a { color: #BDB8AA; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--gl-cream); }

/* ============================================================ 05 — Breakpoints */
@media (max-width: 980px) {
  .section { padding: var(--gl-s-5) var(--gl-s-3); }
  .points { grid-template-columns: 1fr; gap: 14px; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .section-head h2, .why-head { font-size: 32px; }
  .plus-h2 { font-size: 34px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
}

@media (max-width: 860px) {
  .hero-topbar { padding: 18px 20px; }
  .hero-nav { display: none; }
  .hero-inner { flex-direction: column; padding: 48px 20px 72px; gap: 40px; }
  .hero-h1 { font-size: 40px; }
  .hero-left { text-align: center; align-items: center; }
  .hero-art { order: -1; width: 100%; max-width: 340px; }
}

@media (max-width: 680px) {
  .gl-form { justify-content: center; }
  .gl-input { flex: 1 1 100%; text-align: center; }
  .gl-form .gl-btn { flex: 0 0 auto; margin: 0 auto; }
  .gl-micro { text-align: center; }
}

@media (max-width: 620px) {
  .channels { grid-template-columns: 1fr; }
  .section { padding: 52px 18px; }
}
