/* ════════════════════════════════════════════════════════════════════
   PRIZAA — Hub page styles (shared by /carburant /forfait /box /banques /fonctionnalites)
   Hero · Breadcrumb · Badges · Sections · SEO block · Guide cards · FAQ · Bottom CTA
   Depends on: prizaa-core.css (tokens)
   ════════════════════════════════════════════════════════════════════ */

/* ── HUB HERO ─────────────────────────────────────────────── */
.hub-hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 50%, #000 30%, transparent 80%);
  z-index: -2;
}
.hub-hero::after {
  content: '';
  position: absolute;
  left: 20%; top: 60%;
  width: 700px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(24,181,90,.14), transparent 60%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .04em;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  white-space: nowrap;
}
.breadcrumb a { color: var(--text-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--text-4); }
.breadcrumb .curr { color: var(--text-2); }

.hub-h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .96;
  margin-bottom: 28px;
  max-width: 18ch;
}
.hub-h1 .grn { color: var(--green); }

.hub-sub {
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.5;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.hub-sub strong { color: var(--text); font-weight: 600; }

.hub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  padding: 7px 13px;
  border-radius: 100px;
}
.hub-badge.is-green {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(24,181,90,.28);
}
.hub-badge.is-soon {
  color: #e8c060;
  background: rgba(232,192,96,.08);
  border-color: rgba(232,192,96,.28);
}
.hub-badge svg { flex-shrink: 0; }

@media (max-width: 720px) {
  .hub-hero { padding: 56px 0 64px; }
}

/* ── SECTIONS ──────────────────────────────────────────────── */
section.s {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.s-head { margin-bottom: 48px; }
.s-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin-top: 14px;
  max-width: 24ch;
  text-wrap: balance;
}
.s-head h2 .grn { color: var(--green); }
.s-head p {
  font-size: 16px;
  color: var(--text-3);
  max-width: 580px;
  line-height: 1.55;
  margin-top: 18px;
  text-wrap: pretty;
}

/* ── SEO BLOCK ─────────────────────────────────────────────── */
.seo-block {
  margin-top: 64px;
  max-width: 760px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.seo-block h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 22ch;
  text-wrap: balance;
}
.seo-block p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.seo-block p:last-child { margin-bottom: 0; }
.seo-block strong { color: var(--text); font-weight: 600; }

/* ── GUIDE CARDS (blog tiles) ──────────────────────────────── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.guide {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, background .2s;
}
.guide:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.guide-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.guide-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.guide h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  line-height: 1.2;
  flex: 1;
  text-wrap: pretty;
}
.guide-arrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.guide-arrow .read {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}
.guide:hover .guide-arrow .read { color: var(--green); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  letter-spacing: -.015em;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-3);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: transform .2s, color .2s;
}
.faq-item[open] summary { color: var(--green); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--green); }
.faq-item p {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 720px;
  text-wrap: pretty;
}

/* ── OFFER GRID (operator cards / box cards) ───────────────── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.offer {
  background: var(--bg);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .15s;
}
.offer:hover { background: var(--bg-2); }
.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.offer-net {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 4px 8px;
  background: var(--bg-3);
  border-radius: 5px;
  border: 1px solid var(--line);
}
.offer-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.1;
}
.offer-data {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.offer-data-main {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  line-height: 1;
}
.offer-data-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .02em;
}
.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.offer-price-val {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--green);
}
.offer-price-val .unit {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 2px;
}
.offer-price-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-4);
}

.offer-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: .02em;
}

/* ── BOTTOM CTA ────────────────────────────────────────────── */
.hub-cta {
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hub-cta::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(24,181,90,.14), transparent 55%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.hub-cta h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .96;
  margin-bottom: 24px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.hub-cta h2 .grn { color: var(--green); }
.hub-cta p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hub-cta-meta {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .04em;
}
