/* ==========================================================================
   CBIZA.PRO — Feuille de style des LANDING PAGES (/lp/...)
   Chargee uniquement sur les pages d'atterrissage par cbiza-canvas.php.
   NE PAS MODIFIER sans prevenir : elle met en forme les 3 pages de vente.
   ========================================================================== */

:root {
  --lp-navy: #091a2b;
  --lp-navy-2: #12283f;
  --lp-green: #1e824c;
  --lp-green-2: #27ae60;
  --lp-blue: #0c5adb;
  --lp-orange: #e67e22;
  --lp-gray: #5b6b7c;
  --lp-line: #e2e8f0;
  --lp-bg: #f7f9fc;
  --lp-radius: 14px;
  --lp-shadow: 0 10px 30px rgba(9, 26, 43, .10);
  --lp-font-t: 'Outfit', 'Inter', system-ui, sans-serif;
  --lp-font-b: 'Inter', system-ui, sans-serif;
}

.lp * { box-sizing: border-box; }
.lp { font-family: var(--lp-font-b); color: #22303f; line-height: 1.6; }
.lp h1, .lp h2, .lp h3, .lp h4 { font-family: var(--lp-font-t); color: var(--lp-navy); line-height: 1.2; margin: 0 0 12px; }
.lp p { margin: 0 0 14px; }
.lp section { padding: 44px 0; }
.lp .wrap { width: 92%; max-width: 1120px; margin: 0 auto; }
.lp .center { text-align: center; }

/* ---------- Boutons ---------- */
.lp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border: none; border-radius: 10px; cursor: pointer;
  font-family: var(--lp-font-t); font-weight: 700; font-size: 16px;
  text-decoration: none; transition: transform .15s ease, filter .15s ease;
}
.lp .btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.lp .btn-primary { background: var(--lp-green); color: #fff; }
.lp .btn-orange  { background: var(--lp-orange); color: #fff; }
.lp .btn-ghost   { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.lp .btn-block   { width: 100%; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; background: linear-gradient(135deg, #0b2036 0%, #14304d 100%); color: #fff; padding: 34px 0 46px; }
.lp-hero h1, .lp-hero h2, .lp-hero h3 { color: #fff; }
.lp-hero .hl { color: #4ade80; }
.lp-hero-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.lp-hero h1 { font-size: 30px; font-weight: 800; }
.lp-hero .lead { font-size: 16px; color: #d6e2ee; }
.lp-price-tag {
  display: inline-flex; align-items: baseline; gap: 8px; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22); padding: 10px 16px; border-radius: 999px; margin-bottom: 16px;
}
.lp-price-tag b { font-family: var(--lp-font-t); font-size: 22px; color: #4ade80; }
.lp-price-tag span { font-size: 13px; color: #cfe0ef; }
.lp-hero ul { list-style: none; padding: 0; margin: 18px 0 0; }
.lp-hero ul li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; color: #e7eff7; }
.lp-hero ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #4ade80; font-weight: 800; }

/* ---------- Formulaire ---------- */
.lp-form-card { background: #fff; border-radius: var(--lp-radius); padding: 22px; box-shadow: var(--lp-shadow); }
.lp-form-card h2 { font-size: 20px; margin-bottom: 4px; }
.lp-form-card .sub { font-size: 13.5px; color: var(--lp-gray); margin-bottom: 16px; }
.lp-field { margin-bottom: 12px; }
.lp-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--lp-navy); margin-bottom: 5px; }
.lp-field input, .lp-field select, .lp-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--lp-line); border-radius: 9px;
  font-size: 15px; font-family: inherit; background: #fff; color: #22303f;
}
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: 2px solid var(--lp-green-2); outline-offset: 1px; border-color: transparent; }
.lp-field textarea { min-height: 84px; resize: vertical; }
.lp-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lp-hp { position: absolute; left: -9999px; }
.lp-legal { font-size: 11.5px; color: var(--lp-gray); margin: 12px 0 0; }
.lp-legal a { color: var(--lp-gray); text-decoration: underline; }

/* ---------- Cartes / grilles ---------- */
.lp-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px; }
.lp-card .ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: #e8f5e9; color: var(--lp-green); margin-bottom: 12px; }
.lp-card h3 { font-size: 17px; }
.lp-card p { font-size: 14px; color: var(--lp-gray); margin: 0; }
.lp-alt { background: var(--lp-bg); }

/* ---------- Titres de section ---------- */
.lp-head { text-align: center; margin-bottom: 28px; }
.lp-head .eyebrow { display: inline-block; font-family: var(--lp-font-t); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-green); margin-bottom: 8px; }
.lp-head h2 { font-size: 25px; }
.lp-head p { font-size: 15px; color: var(--lp-gray); max-width: 680px; margin: 0 auto; }

/* ---------- Tarifs ---------- */
.lp-price-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-price {
  background: #fff; border: 2px solid var(--lp-line); border-radius: var(--lp-radius);
  padding: 24px; text-align: center; position: relative;
}
.lp-price.featured { border-color: var(--lp-green); box-shadow: var(--lp-shadow); }
.lp-price .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--lp-green); color: #fff; font-family: var(--lp-font-t); font-weight: 700;
  font-size: 11.5px; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.lp-price h3 { font-size: 17px; margin-bottom: 6px; }
.lp-price .amount { font-family: var(--lp-font-t); font-size: 34px; font-weight: 800; color: var(--lp-navy); line-height: 1.1; }
.lp-price .unit { font-size: 13px; color: var(--lp-gray); display: block; margin-bottom: 12px; }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.lp-price ul li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 13.5px; color: #33465a; }
.lp-price ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--lp-green-2); font-weight: 800; }
.lp-note { font-size: 12.5px; color: var(--lp-gray); text-align: center; margin-top: 18px; }

/* ---------- Etapes ---------- */
.lp-steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: lpstep; }
.lp-step { position: relative; padding-left: 60px; }
.lp-step::before {
  counter-increment: lpstep; content: counter(lpstep);
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--lp-navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--lp-font-t); font-weight: 800; font-size: 17px;
}
.lp-step h3 { font-size: 16px; margin-bottom: 4px; }
.lp-step p { font-size: 14px; color: var(--lp-gray); margin: 0; }

/* ---------- Zone ---------- */
.lp-pills { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.lp-pill { background: #fff; border: 1px solid var(--lp-line); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; color: #33465a; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 820px; margin: 0 auto; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 11px; margin-bottom: 10px; }
.lp-faq summary {
  cursor: pointer; padding: 16px 18px; font-family: var(--lp-font-t); font-weight: 700;
  font-size: 15px; color: var(--lp-navy); list-style: none; display: flex; justify-content: space-between; gap: 14px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 20px; color: var(--lp-green); line-height: 1; }
.lp-faq details[open] summary::after { content: "\2013"; }
.lp-faq .answer { padding: 0 18px 16px; font-size: 14.5px; color: var(--lp-gray); }

/* ---------- CTA final ---------- */
.lp-cta { background: linear-gradient(135deg, #0b2036 0%, #14304d 100%); color: #fff; text-align: center; }
.lp-cta h2 { color: #fff; font-size: 26px; }
.lp-cta p { color: #d6e2ee; max-width: 620px; margin: 0 auto 22px; }
.lp-cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lp-cta-btns .btn { width: 100%; max-width: 340px; }

/* ---------- Footer LP ---------- */
.lp-foot { background: var(--lp-navy); color: #9fb3c8; padding: 30px 0; font-size: 13px; text-align: center; }
.lp-foot a { color: #cfe0ef; text-decoration: none; }
.lp-foot a:hover { text-decoration: underline; }
.lp-foot .links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }

/* ---------- Barre d'appel collante (mobile) ---------- */
.lp-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; gap: 8px; padding: 9px 10px;
  background: rgba(9, 26, 43, .97); box-shadow: 0 -4px 18px rgba(0,0,0,.22);
}
.lp-callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border-radius: 9px; font-family: var(--lp-font-t);
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.lp-callbar .call { background: var(--lp-green); color: #fff; }
.lp-callbar .quote { background: #fff; color: var(--lp-navy); }
body.cbiza-lp { padding-bottom: 74px; }

/* ---------- En-tete minimal LP ---------- */
.lp-header {
  position: sticky; top: 0; z-index: 900; background: #fff;
  border-bottom: 1px solid var(--lp-line); box-shadow: 0 1px 6px rgba(9,26,43,.06);
}
.lp-header .inner { width: 92%; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.lp-header img { height: 38px; width: auto; display: block; }
.lp-header .tel { display: inline-flex; align-items: center; gap: 9px; font-family: var(--lp-font-t); font-weight: 800; font-size: 16px; color: var(--lp-navy); text-decoration: none; }
.lp-header .tel i { color: var(--lp-green); }

/* ---------- Retours de confiance ---------- */
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 20px; }
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #d6e2ee; }
.lp-trust i { color: #4ade80; }

/* ==========================================================================
   TABLETTE (>= 720px)
   ========================================================================== */
@media (min-width: 720px) {
  .lp section { padding: 60px 0; }
  .lp-hero { padding: 46px 0 60px; }
  .lp-hero h1 { font-size: 40px; }
  .lp-row { grid-template-columns: 1fr 1fr; }
  .lp-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-price-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-head h2 { font-size: 30px; }
  .lp-cta-btns { flex-direction: row; justify-content: center; }
  .lp-cta-btns .btn { width: auto; }
  .lp-callbar { display: none; }
  body.cbiza-lp { padding-bottom: 0; }
}

/* ==========================================================================
   DESKTOP (>= 1000px)
   ========================================================================== */
@media (min-width: 1000px) {
  .lp-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
  .lp-hero h1 { font-size: 46px; }
  .lp-form-card { padding: 26px; }
}

/* ==========================================================================
   CORRECTIF BOUTONS — pages de vente
   La feuille globale (cbiza-global.css) applique a tous les .btn du site :
     - white-space: nowrap          -> le libelle ne peut jamais revenir a la ligne
     - un chevron en ::after (17px) -> une 2e icone alors que le bouton en a deja une
   Sur les pages de vente, cela faisait deborder l'icone hors du bouton sur
   les ecrans etroits. On neutralise ces deux regles ici uniquement.
   ========================================================================== */

.lp .btn::after,
.lp .btn:hover::after,
.lp-callbar a::after,
.lp-callbar a:hover::after,
.lp .seo-cta-btn::after,
.lp .hero-cta::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
}

.lp .btn,
.lp-callbar a {
  white-space: normal !important;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  text-align: center;
  line-height: 1.3;
  overflow-wrap: break-word;
}

/* L'icone garde toujours sa place et ne se comprime jamais. */
.lp .btn > i,
.lp-callbar a > i {
  flex: 0 0 auto;
  font-size: 15px;
}

/* Ecrans etroits : le bouton prend toute la largeur, le padding se resserre. */
@media (max-width: 480px) {
  .lp .btn {
    width: 100%;
    padding: 15px 16px;
    font-size: 15px;
    gap: 8px;
  }
  .lp .lp-price .btn,
  .lp .btn-block { width: 100%; }
  .lp-callbar a { padding: 12px 8px; font-size: 14px; gap: 7px; }
}

@media (max-width: 360px) {
  .lp .btn { padding: 14px 12px; font-size: 14.5px; }
  .lp .btn > i { font-size: 14px; }
}
