/* =========================================================
   ECH CONSEIL – Landing page Google Ads « Facturation électronique »
   Complète css/style.css (variables et composants partagés)
   ========================================================= */

/* ---------- En-tête épuré (pas de navigation : un seul objectif) ---------- */
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.lp-header__side { display: flex; align-items: center; gap: 22px; }
.lp-header__tag { font-size: 0.86rem; color: var(--muted); }
.lp-header__tag strong { color: var(--navy); }

/* ---------- Hero avec formulaire ---------- */
.lp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 90% -10%, rgba(200,164,82,0.20), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, #fff 100%);
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
}
.lp-hero__inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-hero h1 { font-size: clamp(2rem, 3.9vw, 3.15rem); margin-bottom: 0.5em; }
.lp-hero h1 em { font-style: italic; color: var(--gold-dark); }
.lp-hero__text { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.lp-hero__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.lp-hero__points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.lp-hero__points li::before {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5C97A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 8'/%3E%3C/svg%3E") center/13px no-repeat;
}
.lp-hero__visual { margin-top: 34px; max-width: 520px; }
.lp-hero__visual img { border-radius: 24px; box-shadow: 0 24px 50px rgba(11,37,69,0.18); }
.lp-hero__actions { display: none; }

/* ---------- Carte formulaire ---------- */
.lp-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px rgba(11,37,69,0.16);
  position: sticky; top: calc(var(--header-h) + 20px);
}
.lp-form-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.lp-form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.lp-form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.lp-form-card .form-grid { gap: 14px 16px; }
.lp-form-card .field input, .lp-form-card .field select { padding: 12px 14px; }
.lp-form-card .field select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat;
}
.lp-form-card .btn { width: 100%; margin-top: 18px; }
.lp-form__note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.lp-form__note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: var(--success); }

/* ---------- Calendrier de la réforme ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: -1px; height: 2px; background: var(--line); }
.tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.tl-item::before {
  content: ""; position: absolute; left: 26px; top: -13px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); border: 5px solid var(--ivory); box-shadow: 0 0 0 2px var(--line);
}
.tl-item--now::before { background: var(--gold); }
.tl-item__status { display: inline-block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--ivory); color: var(--muted); margin-bottom: 14px; }
.tl-item--done .tl-item__status { background: #E7F4EE; color: var(--success); }
.tl-item--now .tl-item__status { background: #FBF3DF; color: var(--gold-dark); }
.tl-item__date { font-family: var(--font-serif); font-size: 1.55rem; color: var(--navy); line-height: 1.1; margin-bottom: 8px; }
.tl-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Bloc alerte sanctions ---------- */
.lp-alert {
  margin-top: 32px; display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 20px 24px;
}
.lp-alert svg { width: 28px; height: 28px; flex: 0 0 28px; color: var(--gold-dark); margin-top: 2px; }
.lp-alert p { margin: 0; color: var(--text); font-size: 0.97rem; }

/* ---------- Grille de changements ---------- */
.lp-card .card__icon { background: var(--navy); color: var(--gold-light); }

/* ---------- Section « pourquoi nous » avec chiffres ---------- */
.lp-why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lp-why__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-figure { background: var(--ivory); border-radius: var(--radius); padding: 26px 24px; }
.lp-figure strong { display: block; font-family: var(--font-serif); font-size: 2.2rem; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.lp-figure span { font-size: 0.92rem; color: var(--muted); }
.lp-quote { margin: 28px 0 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--ivory); border-radius: 0 14px 14px 0; font-family: var(--font-serif); font-style: italic; color: var(--navy); font-size: 1.05rem; }
.lp-quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-sans); font-size: 0.86rem; color: var(--muted); }

/* ---------- Pied de page réduit ---------- */
.lp-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 40px 0 26px; font-size: 0.9rem; }
.lp-footer a { color: rgba(255,255,255,0.85); }
.lp-footer a:hover { color: var(--gold-light); }
.lp-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.lp-footer__top img { height: 44px; width: auto; }
.lp-footer__coords { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.lp-footer__bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.lp-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Page validation ---------- */
.thanks {
  min-height: calc(100vh - var(--header-h)); display: grid; align-items: center;
  background:
    radial-gradient(900px 520px at 90% -10%, rgba(200,164,82,0.20), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, #fff 100%);
  padding: clamp(48px, 7vw, 96px) 0;
}
.thanks__card { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow); text-align: center; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: #E7F4EE; color: var(--success); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks__icon svg { width: 42px; height: 42px; }
.thanks__card h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.thanks__card .lead { max-width: 560px; margin-inline: auto; }
.thanks__steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; counter-reset: ts; }
.thanks__steps li { background: var(--ivory); border-radius: 14px; padding: 18px 18px 18px 20px; font-size: 0.93rem; color: var(--text); }
.thanks__steps li::before { counter-increment: ts; content: counter(ts); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--font-serif); font-weight: 700; margin-bottom: 10px; }
.thanks__steps strong { display: block; color: var(--navy); margin-bottom: 4px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lp-header__tag { display: none; }
  .lp-hero__inner { grid-template-columns: 1fr; }
  .lp-hero__visual { display: none; }
  .lp-form-card { position: relative; top: auto; margin-top: 30px; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { left: 12px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-item { margin-left: 26px; }
  .tl-item::before { top: 26px; left: -27px; }
  .lp-why { grid-template-columns: 1fr; }
  .thanks__steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-header__side .btn { padding: 10px 16px; font-size: 0.88rem; white-space: nowrap; }
  .brand img { height: 38px; }
  .lp-hero__actions .btn { width: 100%; }
  .lp-why__figures { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-figure { padding: 20px 16px; }
  .lp-figure strong { font-size: 1.8rem; }
  .lp-footer__top { flex-direction: column; align-items: flex-start; }
  .lp-footer__bottom { flex-direction: column; }
  .tl-item { margin-left: 22px; padding: 22px 20px; }
  .tl-item::before { left: -23px; }
  .timeline::before { left: 10px; }
}
