/* ══════════════════════════════════════════════════════════
   Aurore Énergies · Accueil (index.php, $page_css = ['accueil'])
   Sorti de style.css le 2026-10-06 : ces règles ne servent qu'à l'accueil
   (environ 11 Kio bruts de moins sur chaque page intérieure). Chargée APRÈS
   style.css : mêmes règles, même ordre relatif qu'avant. La coche ronde
   (.tick) reste dans style.css (hero des pages A).
   Mobile-first : base mobile, puis paliers 768, 1024 et 1200 px.
   ══════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────── */
/* Grille à une colonne (texte puis visuel), deux colonnes dès 1024 px.
   Haut de section à 12 px partout ; le bas suit le rythme vertical (--py). */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap);
  align-items: center;
  padding-top: 12px;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero__eyebrow-more { display: none; }
.hero .lead { max-width: 540px; text-wrap: wrap; }   /* sans « pretty » (handoff) */
.hero__actions { display: flex; flex-direction: column; gap: 10px; }
.hero__acc { display: none; }

.hero__reassurance {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 1.2; color: var(--muted);
}

/* Visuel : photo 3:2 dans le flux, 640 px au plus ; disque, anneau et
   pastilles se placent sur le conteneur (padding 24 / 20 / 40 / 0). */
.hero__media {
  position: relative; justify-self: center;
  width: 100%; max-width: 640px;
  padding: 24px 20px 40px 0;
}
.hero__disc {
  position: absolute; right: -16px; top: 0;
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow);
}
.hero__ring {
  position: absolute; left: -14px; bottom: 80px;
  width: 72px; height: 72px; border-radius: 50%;
  border: 9px solid var(--ink);
}
.hero__photo {
  position: relative;
  width: 100%; height: auto; aspect-ratio: 640 / 427;
  object-fit: cover; border-radius: 28px;
}
.hero__badge {
  position: absolute; left: 12px; bottom: 0;
  width: 360px; max-width: calc(100% - 48px);
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--white); border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.hero__badge-value {
  flex: none; white-space: nowrap;
  font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.03em;
}
.hero__badge-text { font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero__badge2 { display: none; }

/* ── Deux activités ─────────────────────────────────────── */
.activites { display: flex; flex-direction: column; gap: 32px; }
.activites__head { display: flex; flex-direction: column; gap: 12px; }
.activites__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

/* Cartes : rayon 32 px et padding --cardpad à toutes les largeurs. */
.offer {
  display: flex; flex-direction: column; gap: 20px;
  padding: var(--cardpad);
  border-radius: 32px;
}
.offer--ink { background: var(--ink); color: var(--white); }
.offer--yellow { background: var(--yellow); color: var(--ink); }

.offer__label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 700; line-height: 1.2;
}
.offer--ink .offer__label { color: var(--yellow); }
.offer__mark { flex: none; width: 40px; height: 40px; border-radius: 50%; }
.offer--ink .offer__mark { border: 3px solid var(--yellow); }
.offer--yellow .offer__mark { background: var(--ink); }

/* Puces : 1 colonne, 2 dès 1200 px (à 1024 la demi-colonne ne ferait que
   145 px ; même palier dans le handoff). */
.offer__points {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 24px;
  font-size: 16px; line-height: 1.4;
}
/* Puce en trait dessiné (pas de glyphe dans le texte). */
.offer__points li { display: flex; gap: 10px; }
.offer__points li::before {
  content: ''; flex: none;
  width: 16px; height: 1.5px; margin-top: .72em;
  background: currentColor;
}
.offer--ink .offer__points { color: var(--on-dark-2); }
.offer--ink .offer__points li::before { background: var(--yellow); }
.offer--yellow .offer__points { color: var(--ink-soft); }

.offer__link { margin-top: auto; font-size: 16px; font-weight: 700; line-height: 1.2; }
.offer--ink .offer__link { color: var(--yellow); }
.offer--ink .offer__link:hover { color: var(--white); }
.offer--yellow .offer__link:hover { color: var(--ink-soft); }

/* ── Le concept ─────────────────────────────────────────── */
.concept { display: flex; flex-direction: column; gap: 32px; }
.concept__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.concept__intro { display: flex; flex-direction: column; gap: 12px; }
.concept__figure { width: 100%; max-width: 520px; min-width: 0; margin-inline: auto; }

/* ── Trois enjeux ───────────────────────────────────────── */
.enjeux { display: flex; flex-direction: column; gap: 28px; }
/* Filet encre de 2 px au-dessus de chaque enjeu, à tous les paliers (handoff v2). */
.enjeu {
  display: flex; gap: 16px;
  padding: 22px 0;
  border-top: 2px solid var(--ink);
}
.enjeu__icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.enjeu__icon--solid { background: var(--yellow); color: var(--ink); }
.enjeu__icon--ink { background: var(--ink); color: var(--yellow); }
.enjeu__icon--outline { border: 2px solid var(--ink); color: var(--ink); }
.enjeu__title { font-size: 20px; font-weight: 700; line-height: 1.2; }
.enjeu__text { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ── Bande fournisseurs ─────────────────────────────────── */
.fournisseurs { display: flex; flex-direction: column; gap: 28px; }
.fournisseurs__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.fournisseurs__number { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.fournisseurs__label { font-size: 20px; font-weight: 700; }

/* ── Producteurs + derniers guides ──────────────────────── */
.producteurs { padding-bottom: 0; }
.guides-accueil__card {
  display: flex; flex-direction: column; gap: 28px;
  padding: var(--cardpad);
  background: var(--white); border-radius: 32px;
}
.guides-accueil__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
}
.guides-accueil__title { display: flex; flex-direction: column; gap: 12px; }
.guides-accueil__head .lien-plus { align-self: auto; }

/* ── Citation + FAQ ─────────────────────────────────────── */
.trust { display: flex; flex-direction: column; gap: 40px; padding-top: 0; }

/* Grille : le portrait et la légende forment un groupe (colonne 1, à la
   largeur du disque, légende centrée dessous) ; la citation passe en
   dessous sur toute la largeur. Le DOM garde <figcaption> en dernier enfant
   de <figure> (HTML valide) : seule la grille le remonte sous le portrait.
   Centré sous 768 px, aligné à gauche au-delà (handoff). */
.founder {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 0;
  justify-items: center; text-align: center;
}
.founder__photo {
  grid-row: 1;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--yellow); overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.founder__photo img { width: 84%; height: auto; }
.founder__id { grid-row: 2; display: flex; flex-direction: column; }
.founder__quote { grid-row: 3; }
.founder__name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.founder__role { font-size: 14px; line-height: 1.4; color: var(--muted); }
.founder__quote p {
  font-size: var(--quote); line-height: 1.28; font-weight: 600;
  letter-spacing: -.015em; text-wrap: pretty;
}

.faq { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
/* Plus spécifique que « .is-home .h2 » (déclarée plus haut). */
.faq .faq__title { font-size: var(--h2-s); line-height: 1.06; letter-spacing: -.02em; }

/* ══════════════════════════════════════════════════════════
   Tablette : ≥ 768 px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  /* Les deux boutons passent à la ligne quand la colonne de texte est trop
     étroite (de 1024 à ~1165 px, il faut ~485 px) : la maquette, elle, les
     laisse déborder sous la pastille du visuel. */
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__phone { display: none; }
  .hero__acc { display: inline-flex; padding: 0 28px; }

  .activites__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .enjeux__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }

  .fournisseurs__number { font-size: 56px; }

  .founder { grid-template-columns: max-content minmax(0, 1fr); justify-items: start; text-align: left; }
  .founder__photo { grid-column: 1; width: 200px; height: 200px; }
  .founder__id { grid-column: 1; justify-self: center; }
  .founder__quote { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════════
   Desktop : ≥ 1024 px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* ── Hero ── */
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .hero__eyebrow-more { display: inline; }
  .hero__badge2 {
    display: flex; flex-direction: column;
    position: absolute; right: 0; top: 46%;
    padding: 16px 20px;
    background: var(--ink); color: var(--white);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
  }
  .hero__badge2-value { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--yellow); }
  .hero__badge2-text { margin-top: 4px; font-size: 14px; line-height: 1.2; color: var(--on-dark-2); }

  /* ── Le concept ── */
  .concept {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px var(--gap); align-items: center;
  }
  .concept__figure { margin-inline: 0; justify-self: center; }

  /* ── Trois enjeux : titre 1/3, liste 2/3 (handoff v2) ── */
  .enjeux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px var(--gap); }
  .enjeux__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
  .enjeu { flex-direction: column; }

  /* ── Bande fournisseurs ── */
  .fournisseurs__number { font-size: 64px; }

  /* ── Citation + FAQ ── */
  .trust {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px var(--gap); align-items: start;
  }
}

@media (min-width: 1200px) {
  .offer__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
