/* ═══════════════════════════════════════════════════════════
   LANDING — GUIDE PRÉVENTION CAMBRIOLAGE (lead magnet)
   Repose sur tokens.css + styles.css
   ═══════════════════════════════════════════════════════════ */

/* ─── SECTIONS (mêmes définitions que les pages ville) ─── */
.od-section          { padding: 84px 0; }
.od-section--white   { background: var(--od-white); }
.od-section--cream   { background: var(--od-amber-050); }
.od-section--dark    { background: var(--od-navy-900); }
.od-section__inner   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.od-section__head    { text-align: center; margin-bottom: 52px; }
.od-section__head .od-lead { margin: 16px auto 0; max-width: 700px; }
.od-eyebrow--amber   { color: var(--od-amber-500); }

/* ─── HERO ─── */
.gc-hero {
  background: linear-gradient(160deg, var(--od-navy-900) 0%, #0d1b30 60%, #101a33 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
.gc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 78% 12%, rgba(242,182,0,.09), transparent 62%);
  pointer-events: none;
}
.gc-hero__inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 430px; gap: 56px;
  align-items: start;
}

.gc-badge {
  display: inline-block;
  background: rgba(242,182,0,.14);
  border: 1px solid rgba(242,182,0,.4);
  color: var(--od-amber-500);
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.gc-hero__title {
  font-family: var(--od-font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.gc-hl { color: var(--od-amber-500); }
.gc-hero__lead {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,.76);
  max-width: 620px;
  margin: 0 0 30px;
}

.gc-points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 13px; }
.gc-points li { display: flex; gap: 13px; align-items: flex-start; }
.gc-points li > span { font-size: 19px; flex-shrink: 0; line-height: 1.35; }
.gc-points li div { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.72); }
.gc-points li strong { color: #fff; font-weight: 600; }

.gc-hero__note {
  font-size: 13.5px; line-height: 1.7;
  color: rgba(255,255,255,.5);
  border-left: 2px solid rgba(242,182,0,.45);
  padding-left: 14px;
  margin: 0 0 26px; max-width: 560px;
}

/* Bandeau de réassurance — répond aux objections juste avant le formulaire */
.gc-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.gc-trust span {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* ─── FORMULAIRE ─── */
.gc-form {
  background: #fff;
  border-radius: 14px;
  padding: 34px 32px 28px;
  box-shadow: 0 26px 70px rgba(0,0,0,.4), 0 0 0 1px rgba(242,182,0,.2);
  position: relative;
}
.gc-hp { position: absolute; left: -9999px; }

.gc-form__head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--od-ink-100); }
.gc-form__head h2 {
  font-family: var(--od-font-display);
  font-size: 22px; font-weight: 700;
  color: var(--od-navy-900);
  margin: 0 0 6px;
}
.gc-form__head p { font-size: 13.5px; color: var(--od-fg-muted); margin: 0; line-height: 1.5; }

.gc-form__error {
  display: none;
  margin: 0 0 16px; padding: 12px 14px;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
  color: #b91c1c; font-size: 13.5px; line-height: 1.5;
}

.gc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.gc-form__field { margin-bottom: 13px; }

/* Intitulés des champs uniquement. Ne pas cibler ".gc-form label" en général :
   le consentement RGPD est lui aussi un <label>, mais il contient une phrase
   et non un intitulé — il héritait des majuscules, du gras et du rouge de
   l'astérisque, et perdait son display:flex (case à cocher désalignée). */
.gc-form__row label,
.gc-form__field label {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--od-navy-900);
  margin-bottom: 6px;
}
.gc-form__row label span,
.gc-form__field label span { color: #dc2626; margin-left: 2px; }

.gc-form input[type="text"],
.gc-form input[type="email"] {
  width: 100%;
  font-family: inherit; font-size: 15px;
  color: var(--od-navy-900);
  background: #fafaf7;
  border: 1.5px solid var(--od-ink-100);
  border-radius: 8px;
  padding: 12px 14px;
  box-sizing: border-box;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.gc-form input[type="text"]:focus,
.gc-form input[type="email"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--od-amber-500);
  box-shadow: 0 0 0 3px rgba(242,182,0,.2);
}
.gc-form input.is-invalid { border-color: #dc2626; background: #fff5f5; }

.gc-form__rgpd {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.6;
  color: var(--od-fg-muted);
  text-transform: none; letter-spacing: 0; font-weight: 400;
  background: #fafaf7;
  border: 1px solid var(--od-ink-100);
  border-radius: 8px;
  padding: 14px 15px;
  margin: 4px 0 18px;
  cursor: pointer;
}
.gc-form__rgpd:hover { border-color: rgba(242,182,0,.45); }
.gc-form__rgpd input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--od-amber-500); }
.gc-form__rgpd a { color: var(--od-amber-600, #d49b00); text-decoration: underline; }

.gc-form__submit {
  width: 100%;
  background: var(--od-amber-500);
  color: var(--od-navy-900);
  border: none; border-radius: 8px;
  padding: 15px 20px;
  font-family: var(--od-font-body);
  font-size: 15.5px; font-weight: 700;
  cursor: pointer;
  transition: background .18s, transform .18s, opacity .18s;
}
.gc-form__submit:hover:not(:disabled) { background: var(--od-amber-400, #ffc93c); transform: translateY(-1px); }
.gc-form__submit:disabled { opacity: .65; cursor: default; }

.gc-form__legal { font-size: 11.5px; color: var(--od-fg-subtle, #8a8a9a); text-align: center; margin: 14px 0 0; line-height: 1.5; }

/* ─── SUCCÈS ─── */
.gc-success {
  display: none;
  background: #fff;
  border-radius: 14px;
  padding: 44px 34px;
  text-align: center;
  box-shadow: 0 26px 70px rgba(0,0,0,.4), 0 0 0 1px rgba(22,163,74,.25);
}
.gc-success__icon { font-size: 42px; line-height: 1; margin-bottom: 14px; }
.gc-success h2 {
  font-family: var(--od-font-display);
  font-size: 23px; font-weight: 700;
  color: var(--od-navy-900);
  margin: 0 0 10px;
}
.gc-success p { font-size: 14.5px; color: var(--od-fg-muted); line-height: 1.7; margin: 0 0 10px; }
.gc-success__more { font-size: 13.5px !important; }
.gc-success__more a { color: var(--od-amber-600, #d49b00); font-weight: 600; }

/* ─── SOMMAIRE ─── */
.gc-sommaire { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gc-chap {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--od-white);
  border: 1px solid var(--od-ink-100);
  border-radius: 14px;
  padding: 22px 24px;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.gc-chap:hover { box-shadow: var(--od-shadow-md); transform: translateY(-2px); border-color: var(--od-ink-200); }
.gc-chap__num {
  font-family: var(--od-font-display);
  font-size: 26px; font-weight: 800;
  color: var(--od-amber-500);
  opacity: .4; line-height: 1;
  flex-shrink: 0; min-width: 38px;
}
.gc-chap h3 { font-size: 15.5px; font-weight: 700; color: var(--od-navy-900); margin: 0 0 6px; }
.gc-chap p { font-size: 13.5px; color: var(--od-fg-muted); line-height: 1.7; margin: 0; }

.gc-cta-mid { text-align: center; margin-top: 44px; }

/* ─── CRÉDIBILITÉ ─── */
.gc-cred { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.gc-cred__item {
  background: var(--od-white);
  border: 1px solid var(--od-ink-100);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
}
.gc-cred__item strong {
  display: block;
  font-family: var(--od-font-display);
  font-size: 28px; font-weight: 800;
  color: var(--od-navy-900);
  line-height: 1; margin-bottom: 7px;
}
.gc-cred__item span { font-size: 12.5px; color: var(--od-fg-muted); line-height: 1.5; }
.gc-cred__note { text-align: center; font-size: 13px; color: var(--od-fg-muted); margin: 32px auto 0; max-width: 640px; line-height: 1.7; }

/* ─── CTA FINAL ─── */
.od-cta-section {
  background: var(--od-navy-900);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.od-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(242,182,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.od-cta-section__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 0 24px; }
.od-cta-mention { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.45); }
.od-btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .gc-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .gc-hero__right { max-width: 520px; }
  .gc-cred        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .od-section     { padding: 60px 0; }
  .gc-hero        { padding: 52px 0 60px; }
  .gc-sommaire    { grid-template-columns: 1fr; }
  .gc-form        { padding: 28px 22px 24px; }
  .gc-form__row   { grid-template-columns: 1fr; }
  .od-btn-row     { flex-direction: column; align-items: stretch; }
  .od-nav,
  .od-btn.od-btn--sm:not(.od-btn--mobile-visible) { display: none; }
  .od-burger      { display: flex; }
}

@media (max-width: 480px) {
  .gc-cred        { grid-template-columns: 1fr; }
}
