/* ============================================================
   GONFLEUR PNEUS — Neo Energie
   Charge en plus de tokens.css + lp-pac-v2.css + home.css + lp-pros.css.
   Ne contient que les composants sans équivalent dans le DS.
   Tous les valeurs passent par var(--…) de tokens.css.
   ============================================================ */

/* ---------- Hero : override em inline (le DS met display:block) ---------- */
.gonf-hero .hero-title em {
  display: inline;
}

/* ---------- Section "Ce que ça rapporte" — 4 cards avec pastille kw ---------- */
.gonf-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.gonf-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--t-med) var(--ease-out);
}
.gonf-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
}
.gonf-card-kw {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neo-blue-night);
  background: var(--neo-lime);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.gonf-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.gonf-card p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
  margin: 0;
}

/* ---------- Bandeau photo 21/9 ---------- */
.gonf-photo-band {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-photo);
  margin-top: 48px;
}
.gonf-photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Section "L'offre" — 2 colonnes blanches sur fond light ---------- */
.gonf-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.gonf-offer-col {
  background: var(--neo-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-lg);
  padding: 40px 32px;
}
.gonf-offer-col--pay {
  border: 2px solid var(--neo-lime);
}
.gonf-offer-col h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--neo-blue-marine);
}
.gonf-offer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.gonf-offer-col ul li {
  padding-left: 28px;
  position: relative;
  color: #2a2a2a;
  text-wrap: pretty;
  font-size: 16px;
  line-height: 1.5;
}
.gonf-offer-col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neo-blue-night);
  box-shadow: inset 0 0 0 4px var(--neo-lime);
}
.gonf-offer-rows {
  display: grid;
  margin: 0;
}
.gonf-offer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(8, 26, 45, 0.12);
}
.gonf-offer-row:last-child { border-bottom: none; }
.gonf-offer-row dt {
  color: #444;
  font-size: 16px;
  margin: 0;
}
.gonf-offer-row dd {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  text-align: right;
  color: var(--neo-blue-night);
  margin: 0;
}
.gonf-offer-row dd.is-hi {
  color: var(--neo-blue-night);
  background: var(--neo-lime);
  padding: 4px 12px;
  border-radius: var(--r-sm);
}
.gonf-offer-row dd.is-small {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 260px;
  color: #1a1a1a;
}

/* ---------- Section "Éligibilité" — 3 pictogrammes ---------- */
.gonf-picts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.gonf-pict {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.gonf-pict-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neo-lime);
  color: var(--neo-blue-night);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.gonf-pict p {
  text-wrap: pretty;
  padding-top: 14px;
  font-size: 17px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Section "En 3 étapes" ---------- */
.gonf-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.gonf-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}
.gonf-step-n {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neo-blue-night);
  border: 2px solid var(--neo-lime);
  color: var(--neo-lime);
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 20px;
}
.gonf-step p {
  color: var(--fg);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
  margin: 0;
}

/* ---------- Section "Matériel" — packshot + spec table ---------- */
.gonf-mat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.gonf-packshot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.gonf-packshot img {
  width: 100%;
  max-width: 420px;
  height: auto;
  mix-blend-mode: multiply;
  display: block;
}
.gonf-spec {
  display: grid;
  background: var(--neo-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-lg);
  padding: 8px 32px;
  margin: 0;
}
.gonf-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(8, 26, 45, 0.12);
}
.gonf-spec-row:last-child { border-bottom: none; }
.gonf-spec-row dt {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  font-weight: 700;
  margin: 0;
}
.gonf-spec-row dd {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
  max-width: 60%;
  color: #1a1a1a;
  margin: 0;
}

/* ---------- Section "Qui paie ?" ---------- */
.gonf-who {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}
.gonf-who h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--fg);
  text-transform: none;
  letter-spacing: 0;
}
.gonf-who h3 em {
  font-style: normal;
  color: var(--neo-lime);
}
.gonf-who p {
  color: var(--fg-muted);
  text-wrap: pretty;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.gonf-who-ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease-out);
}
.gonf-who-ext:hover { color: var(--neo-lime); }
.gonf-who-ext svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Section formulaire ---------- */
.gonf-form-head {
  text-align: center;
  margin-bottom: 32px;
}
.gonf-form-head .section-title { text-align: center; margin-inline: auto; }
.gonf-form-head .section-subtitle { margin: 0 auto; }
.gonf-form-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(13, 58, 102, 0.4) 0%, rgba(8, 26, 45, 0.6) 100%);
  border: 2px solid var(--neo-lime);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  box-shadow: 0 24px 80px rgba(204, 244, 7, 0.08);
}
.gonf-field { margin-bottom: 20px; }
.gonf-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.gonf-field label .gonf-opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--fg-faint);
}
.gonf-field input[type="text"],
.gonf-field input[type="tel"],
.gonf-field input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg);
  outline: none;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.gonf-field input:focus {
  border-color: var(--neo-lime);
  background: rgba(204, 244, 7, 0.04);
}
.gonf-field input::placeholder { color: var(--fg-faint); }
.gonf-grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
.gonf-radios {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}
.gonf-radios legend {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
  padding: 0;
}
.gonf-radio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gonf-radio {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.gonf-radio:hover {
  border-color: var(--neo-lime);
  background: rgba(204, 244, 7, 0.06);
}
.gonf-radio:has(input:checked) {
  background: rgba(204, 244, 7, 0.10);
  border-color: var(--neo-lime);
}
.gonf-radio input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--neo-lime);
}
.gonf-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--fg);
  margin: 0 0 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  line-height: 1.4;
}
.gonf-consent:hover {
  border-color: var(--neo-lime);
  background: rgba(204, 244, 7, 0.06);
}
.gonf-consent:has(input:checked) {
  background: rgba(204, 244, 7, 0.10);
  border-color: var(--neo-lime);
}
.gonf-consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--neo-lime);
}
.gonf-form-msg {
  margin-top: 16px;
  font-size: 15px;
  color: #ffb4b4;
  display: none;
}
.gonf-form-msg.is-visible { display: block; }
.gonf-form-ok {
  text-align: center;
  padding: 40px 20px;
}
.gonf-form-ok h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--fg);
}
.gonf-form-wrap .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.gonf-form-wrap .btn:disabled:hover {
  background: var(--neo-lime);
  color: var(--neo-blue-night);
}
.gonf-form-submit {
  width: 100%;
  justify-content: center;
}

/* ---------- Bloc légal ---------- */
.gonf-legal {
  padding: 40px 24px 96px;
}
.gonf-legal p {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ---------- Sticky CTA mobile ---------- */
.gonf-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(8, 26, 45, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--hairline);
  transition: transform var(--t-med) var(--ease-out);
}
.gonf-sticky-cta.is-hidden {
  transform: translateY(110%);
}
.gonf-sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 700px) {
  .gonf-cards { grid-template-columns: repeat(2, 1fr); }
  .gonf-steps { grid-template-columns: repeat(3, 1fr); }
  .gonf-picts { grid-template-columns: repeat(3, 1fr); }
  .gonf-pict { flex-direction: column; gap: 16px; }
  .gonf-pict p { padding-top: 0; }
  .gonf-grid2 { grid-template-columns: 1fr 1fr; }
  .gonf-form-wrap { padding: 56px 56px 48px; }
  .gonf-who { padding: 48px; }
}

@media (min-width: 981px) {
  .gonf-cards { grid-template-columns: repeat(4, 1fr); }
  .gonf-offer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gonf-mat-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .gonf-legal { padding: 40px 32px 64px; }
  .gonf-sticky-cta { display: none; }
}
