/* ============================================================
   OYVIA — Landing page (style Pulse : clair, bleu, pilules)
   Préfixe .lp-  (landing page)
   ============================================================ */

.lp { background: var(--bg); overflow-x: clip; }

/* Bandeau d'annonce fin */
.lp-topbar { background: var(--bg-ink); color: #fff; text-align: center; font-size: var(--fs-sm); padding: var(--sp-2) var(--sp-4); display: flex; align-items: center; justify-content: center; gap: var(--sp-2); }
.lp-topbar strong { font-weight: var(--fw-semibold); }
.lp-topbar a { color: var(--blue-200); font-weight: var(--fw-semibold); }

/* ------------------------------------------------------------
   Navbar flottante en pilule  (signature du template)
   ------------------------------------------------------------ */
.lp-navwrap { position: sticky; top: 0; z-index: var(--z-header); padding: var(--sp-6) var(--sp-4) 0; }
.lp-nav { position: relative; max-width: var(--landing-max); margin-inline: auto; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 0 var(--sp-3) 0 var(--sp-5); background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px); border: 1px solid var(--c-border); border-radius: var(--r-full); box-shadow: var(--shadow-md); overflow: visible; }
.lp-brand { display: flex; align-items: center; gap: var(--sp-2); font-weight: var(--fw-bold); font-size: var(--fs-lg); letter-spacing: var(--tracking-tight); }
.lp-brand .brand-logo { height: 120px; }
.lp-brand__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-600); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.lp-brand__mark svg { width: 19px; height: 19px; }
.lp-navlinks { display: flex; align-items: center; gap: var(--sp-1); }
.lp-navlinks a { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-full); font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--c-text-soft); white-space: nowrap; transition: color var(--t-fast), background var(--t-fast); }
.lp-navlinks a:hover { color: var(--c-text); background: var(--c-nav-hover-bg); }
.lp-navlinks__mobile-only { display: none; }
.lp-navlinks__langs { display: none; }
.lp-navlinks__langs-label { display: block; font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--c-text-muted); padding: var(--sp-2) var(--sp-4) var(--sp-1); }
.lp-navlinks__langs-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0 var(--sp-4) var(--sp-2); }
.lp-navlinks__langs-row button { border: 1px solid var(--c-border); border-radius: var(--r-full); padding: 6px var(--sp-3); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-text-soft); }
.lp-navlinks__langs-row button.is-active { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-soft); font-weight: var(--fw-semibold); }
.lp-nav__cta { display: flex; align-items: center; gap: var(--sp-3); }
.lp-nav__cta .btn--sm { height: 48px; padding: 0 var(--sp-5); font-size: var(--fs-base); }
.lp-nav__cta .btn--icon.btn--sm { width: 48px; padding: 0; }
.lp-nav__cta .btn--sm svg { width: 19px; height: 19px; }
.lp-burger { display: none; }

/* Sélecteur de langue */
.lp-lang { position: relative; }
.lp-lang__btn { font-size: 18px; line-height: 1; }
.lp-lang__menu { position: absolute; top: calc(100% + var(--sp-2)); right: 0; min-width: 190px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--sp-2); display: none; flex-direction: column; gap: 2px; z-index: var(--z-header); }
.lp-lang__menu.is-open { display: flex; }
.lp-lang__item { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-text-soft); text-align: left; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.lp-lang__item span { font-size: var(--fs-md); line-height: 1; }
.lp-lang__item:hover { background: var(--c-nav-hover-bg); color: var(--c-text); }
.lp-lang__item.is-active { color: var(--c-accent); font-weight: var(--fw-semibold); background: var(--c-accent-soft); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.lp-hero { position: relative; text-align: center; padding: var(--sp-16) var(--sp-4) var(--sp-12); }
.lp-hero__glow { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lp-hero__glow::before { content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(ellipse at center, rgba(81,112,255,0.18), rgba(81,112,255,0.06) 45%, transparent 70%); }
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero__inner { max-width: 860px; margin-inline: auto; }
.lp-pill-tag { display: inline-flex; align-items: center; gap: var(--sp-2); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-full); padding: var(--sp-1) var(--sp-2) var(--sp-1) var(--sp-1); font-size: var(--fs-sm); font-weight: var(--fw-medium); box-shadow: var(--shadow-xs); margin-bottom: var(--sp-6); }
.lp-pill-tag .tag { background: var(--c-accent-soft); color: var(--c-accent-ink); font-weight: var(--fw-semibold); border-radius: var(--r-full); padding: 2px var(--sp-2); font-size: var(--fs-xs); }
.lp-hero h1 { font-size: clamp(2.4rem, 5.6vw, var(--fs-5xl)); line-height: 1.04; letter-spacing: var(--tracking-tighter); font-weight: var(--fw-bold); }
.lp-hero h1 .accent { color: var(--blue-600); }
.lp-hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--c-text-soft); max-width: 640px; margin: var(--sp-5) auto 0; line-height: var(--lh-snug); }
.lp-hero__cta { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-8); }
/* Bandeau de confiance : des engagements vérifiables du produit,
   et non une preuve sociale inventée (nombre d'utilisateurs, étoiles…). */
.lp-hero__trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--c-text-muted); list-style: none; padding: 0; }
.lp-hero__trust li { display: flex; align-items: center; gap: var(--sp-2); }
.lp-hero__trust svg { width: 16px; height: 16px; color: var(--c-positive); flex-shrink: 0; }

/* Fenêtre produit (mockup calendrier unifié) */
.lp-window { max-width: 1000px; margin: var(--sp-12) auto 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-window__bar { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-border); background: var(--c-surface-alt); }
.lp-window__dots { display: flex; gap: 6px; }
.lp-window__dots i { width: 11px; height: 11px; border-radius: var(--r-full); background: var(--ink-300); }
.lp-window__title { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-text-muted); margin-inline: auto; }
.lp-window__body { padding: var(--sp-5); }

/* Mini calendrier du hero */
.hcal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); flex-wrap: wrap; gap: var(--sp-3); }
.hcal__legend { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hcal__legend span { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-text-soft); }
.hcal__legend i { width: 10px; height: 10px; border-radius: 3px; }
.hcal__hint { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); color: var(--c-text-soft); text-align: left; }
.hcal { border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.hcal__row { display: grid; grid-template-columns: 150px repeat(12, 1fr); border-bottom: 1px solid var(--c-border); height: 42px; }
.hcal__row:last-child { border-bottom: 0; }
.hcal__row--head { background: var(--c-surface-alt); height: 34px; }
.hcal__cell { border-right: 1px solid var(--c-border); display: flex; align-items: center; padding: 0 6px; position: relative; font-size: var(--fs-xs); color: var(--c-text-muted); }
.hcal__cell--name { font-size: var(--fs-sm); color: var(--c-text); font-weight: var(--fw-medium); }
.hcal__bar { position: absolute; height: 26px; border-radius: var(--r-sm); display: flex; align-items: center; padding: 0 8px; font-size: var(--fs-xs); color: #fff; font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; left: 4px; right: 4px; box-shadow: var(--shadow-xs); }
.hcal__bar--airbnb  { background: var(--ch-airbnb); }
.hcal__bar--booking { background: var(--ch-booking); }
.hcal__bar--direct  { background: var(--ch-direct); }
.hcal__bar--bloque  { background: repeating-linear-gradient(45deg, var(--ch-bloque), var(--ch-bloque) 6px, #a7b1c0 6px, #a7b1c0 12px); }

/* ------------------------------------------------------------
   Sections génériques
   ------------------------------------------------------------ */
.lp-section { padding: var(--sp-20) var(--sp-4); }
.lp-section--tint { background: var(--bg-subtle); }
.lp-shell { max-width: var(--landing-max); margin-inline: auto; }
.lp-head { max-width: 680px; margin: 0 auto var(--sp-12); text-align: center; }
.lp-head .eyebrow { margin-bottom: var(--sp-3); display: inline-block; }
.lp-head h2 { font-size: clamp(1.9rem, 4vw, var(--fs-3xl)); letter-spacing: var(--tracking-tighter); }
.lp-head p { color: var(--c-text-soft); font-size: var(--fs-md); margin-top: var(--sp-3); line-height: var(--lh-snug); }

/* Bandeau logos de confiance */
.lp-logos { text-align: center; padding: var(--sp-10) var(--sp-4); border-block: 1px solid var(--c-border); }
.lp-logos__label { font-size: var(--fs-sm); color: var(--c-text-muted); font-weight: var(--fw-medium); margin-bottom: var(--sp-6); }
.lp-logos__row { display: flex; align-items: center; justify-content: center; gap: var(--sp-10); flex-wrap: wrap; }
.lp-logo { font-weight: var(--fw-bold); font-size: var(--fs-lg); color: var(--ink-400); letter-spacing: var(--tracking-tight); display: inline-flex; align-items: center; gap: var(--sp-2); filter: grayscale(1); opacity: 0.8; transition: opacity var(--t), filter var(--t); }
.lp-logo:hover { opacity: 1; filter: grayscale(0); }
.lp-logo svg { width: 22px; height: 22px; }

/* Problèmes (grille de 4) */
.lp-problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.lp-problem { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: var(--sp-5); }
.lp-problem__ic { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--red-100); color: var(--red-600); margin-bottom: var(--sp-4); }
.lp-problem__ic svg { width: 20px; height: 20px; }
.lp-problem h3 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.lp-problem p { font-size: var(--fs-sm); color: var(--c-text-soft); margin-top: var(--sp-2); line-height: var(--lh-snug); }

/* Fonctionnalités (grille de 6) */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.lp-feature { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-feature__ic { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--c-accent-soft); color: var(--c-accent); margin-bottom: var(--sp-4); }
.lp-feature__ic svg { width: 23px; height: 23px; }
.lp-feature h3 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-tight); }
.lp-feature p { font-size: var(--fs-base); color: var(--c-text-soft); margin-top: var(--sp-2); line-height: var(--lh-snug); }

/* Comment ça marche (3 étapes) */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); position: relative; }
.lp-step { text-align: center; }
.lp-step__num { width: 52px; height: 52px; margin: 0 auto var(--sp-4); border-radius: var(--r-full); background: var(--blue-600); color: #fff; display: grid; place-items: center; font-size: var(--fs-lg); font-weight: var(--fw-bold); box-shadow: var(--shadow-blue); }
.lp-step h3 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
.lp-step p { font-size: var(--fs-base); color: var(--c-text-soft); margin-top: var(--sp-2); line-height: var(--lh-snug); max-width: 300px; margin-inline: auto; }

/* Bénéfices (3 cartes larges) */
.lp-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.lp-benefit { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: var(--sp-6); background: var(--c-surface); }
.lp-benefit__stat { font-size: var(--fs-3xl); font-weight: var(--fw-bold); color: var(--blue-600); letter-spacing: var(--tracking-tight); }
.lp-benefit h3 { font-size: var(--fs-md); font-weight: var(--fw-semibold); margin-top: var(--sp-2); }
.lp-benefit p { font-size: var(--fs-sm); color: var(--c-text-soft); margin-top: var(--sp-2); line-height: var(--lh-snug); }

/* Intégrations */
.lp-integrations { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; max-width: 760px; margin: 0 auto; }
.lp-integration { display: inline-flex; align-items: center; gap: var(--sp-2); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-full); padding: var(--sp-3) var(--sp-5); font-weight: var(--fw-medium); box-shadow: var(--shadow-xs); }
.lp-integration i { width: 10px; height: 10px; border-radius: var(--r-full); }

/* ------------------------------------------------------------
   Tarifs
   ------------------------------------------------------------ */
/* Les 3 offres (Gratuit · Smart · Business) */
/* Les cartes suivent le simulateur : la marge est au-dessus, et assez ample
   pour dégager le badge « Votre sélection » qui déborde en haut des cartes. */
.lp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); align-items: stretch; margin-top: var(--sp-16); }
/* Quatre colonnes tiennent sur un écran large, deux suffisent au-delà :
   à trois, la dernière carte se retrouverait seule sur sa ligne. */
@media (max-width: 1180px) { .lp-plans { grid-template-columns: repeat(2, 1fr); } }
.lp-plan { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-2xl); padding: var(--sp-6); box-shadow: var(--shadow-sm); text-align: left; }
/* L'offre la plus choisie ressort sans casser l'alignement de la grille */
.lp-plan.is-popular { border-color: var(--blue-600); box-shadow: var(--shadow-blue), var(--shadow-md); }
.lp-plan--free { background: var(--bg-subtle); }
.lp-plan__flag { position: absolute; top: calc(-1 * var(--sp-3)); left: var(--sp-6); background: var(--blue-600); color: #fff; font-size: var(--fs-xs); font-weight: var(--fw-semibold); padding: 4px var(--sp-3); border-radius: var(--r-full); box-shadow: var(--shadow-sm); }
.lp-plan__name { font-size: var(--fs-xl); font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); }
.lp-plan__tag { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: 2px; }
.lp-plan__price { margin-top: var(--sp-4); }
.lp-plan__price b { display: block; font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: var(--blue-600); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.lp-plan--free .lp-plan__price b { color: var(--green-600); }
.lp-plan__price span { font-size: var(--fs-xs); color: var(--c-text-muted); }
/* Le montant réel pour le parc saisi dans le simulateur */
.lp-plan__total { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-text-soft); background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--r-full); padding: 4px var(--sp-3); display: inline-block; }
.lp-plan__total b { color: var(--c-text); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
/* Offre hors périmètre pour ce parc : lisible mais visiblement inerte.
   On grise sans masquer — le visiteur doit voir ce qu'il quitte en
   basculant sur Entreprise, sinon la carte disparaîtrait sans explication. */
.lp-plan.is-locked { opacity: 0.5; background: var(--bg-subtle); }
.lp-plan.is-locked .lp-plan__price b { color: var(--c-text-muted); }
.btn.is-disabled { pointer-events: none; opacity: .7; background: var(--bg-muted); color: var(--c-text-muted);
  border-color: var(--c-border); box-shadow: none; }
.lp-plan__resume { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-soft); }
.lp-plan__feats { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.lp-plan__feat { display: flex; gap: var(--sp-2); font-size: var(--fs-sm); }
.lp-plan__feat svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; margin-top: 3px; }
.lp-plan__feat b { font-weight: var(--fw-medium); color: var(--c-text); }
.lp-plan__feat em { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: 2px; }
.lp-plan__feat--herite b { font-weight: var(--fw-semibold); }
/* Intertitre de groupe (« Inclus », « Vivi IA Avancée »…) : sans lui, les dix
   lignes de Business formeraient un bloc indigeste */
.lp-plan__group { font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--c-text-muted); margin-top: var(--sp-3); }
.lp-plan__feats > .lp-plan__group:first-child { margin-top: 0; }
/* À qui l'offre s'adresse, juste au-dessus du bouton */
.lp-plan__ideal { font-size: var(--fs-xs); color: var(--c-text-soft); margin-bottom: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--c-border); }
.lp-plan__ideal b { color: var(--c-text); font-weight: var(--fw-semibold); }
/* Le bouton reste collé en bas, quelle que soit la hauteur de la liste */
.lp-plan__foot { margin-top: auto; padding-top: var(--sp-6); }

/* Simulateur */
.lp-sim { max-width: 640px; margin: 0 auto; background: linear-gradient(180deg, var(--c-surface), var(--bg-subtle)); border: 1px solid var(--c-border); border-radius: var(--r-2xl); padding: var(--sp-8); box-shadow: var(--shadow-md); text-align: center; }
.lp-sim__head { display: flex; align-items: center; gap: var(--sp-3); text-align: left; }
.lp-sim__ic { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; flex-shrink: 0; }
.lp-sim__ic svg { width: 22px; height: 22px; }
.lp-sim__head h3 { font-size: var(--fs-xl); font-weight: var(--fw-bold); }
.lp-sim__head p { margin-top: 2px; }
.lp-sim__row { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-6); gap: var(--sp-4); }
.lp-sim__count { display: flex; align-items: baseline; gap: var(--sp-2); }
.lp-sim__input { font-size: var(--fs-2xl); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; width: 96px; padding: 6px var(--sp-2); text-align: center; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-text); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.lp-sim__input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.lp-sim__count .u { font-size: var(--fs-sm); color: var(--c-text-muted); font-weight: var(--fw-medium); }
.lp-sim__result { text-align: right; }
.lp-sim__total { font-size: var(--fs-3xl); font-weight: var(--fw-bold); color: var(--blue-600); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.lp-sim__sub { font-size: var(--fs-sm); color: var(--c-text-muted); }
.lp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--r-full); background: var(--ink-200); margin-top: var(--sp-6); outline: none; }
.lp-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: var(--r-full); background: var(--blue-600); border: 4px solid #fff; box-shadow: var(--shadow-blue); cursor: pointer; }
.lp-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: var(--r-full); background: var(--blue-600); border: 4px solid #fff; box-shadow: var(--shadow-blue); cursor: pointer; }
.lp-sim__plan { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-soft); }
.lp-sim__plan b { color: var(--blue-600); }
.lp-sim__trial { display: inline-block; margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--c-text-muted); }

/* Choix du niveau d'assistant IA — c'est lui qui détermine l'offre :
   « Sans IA » = Smart, « IA Avancée (Vivi) » = Business. */
.lp-simia { margin-top: var(--sp-6); }
.lp-simia__label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); margin-bottom: var(--sp-3); }
.lp-simseg { display: inline-flex; gap: 2px; padding: 3px; background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--r-full); }
.lp-simseg button { padding: var(--sp-2) var(--sp-4); border: 0; border-radius: var(--r-full); background: transparent; font-family: inherit; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-text-soft); cursor: pointer; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.lp-simseg button:hover:not(:disabled):not(.is-active) { color: var(--c-text); }
.lp-simseg button.is-active { background: var(--c-surface); color: var(--blue-600); font-weight: var(--fw-semibold); box-shadow: var(--shadow-xs); }
.lp-simseg button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Appel à l'action du simulateur */
.lp-sim__cta { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--c-border); text-align: center; }
.lp-sim__cta-note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-text-muted); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.lp-faq { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--sp-3); }
.lp-faq details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--t); }
.lp-faq details[open] { box-shadow: var(--shadow-sm); }
.lp-faq summary { list-style: none; cursor: pointer; padding: var(--sp-5) var(--sp-6); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); font-weight: var(--fw-semibold); font-size: var(--fs-md); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .plus { width: 24px; height: 24px; flex-shrink: 0; position: relative; transition: transform var(--t); color: var(--c-accent); }
.lp-faq details[open] summary .plus { transform: rotate(45deg); }
.lp-faq__answer { padding: 0 var(--sp-6) var(--sp-5); color: var(--c-text-soft); font-size: var(--fs-base); line-height: var(--lh-base); }

/* ------------------------------------------------------------
   Blog
   ------------------------------------------------------------ */
.lp-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.lp-blog__post { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.lp-blog__post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-blog__tag { align-self: flex-start; font-size: var(--fs-xs); font-weight: var(--fw-semibold); border-radius: var(--r-full); padding: 4px var(--sp-3); margin-bottom: var(--sp-4); }
.lp-blog__tag--reglementation { background: var(--c-accent-soft); color: var(--c-accent-ink); }
.lp-blog__tag--organisation { background: var(--amber-100); color: var(--amber-700); }
.lp-blog__tag--productivite { background: var(--green-100); color: var(--green-700); }
.lp-blog__post h3 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-tight); line-height: var(--lh-snug); }
.lp-blog__post p { font-size: var(--fs-sm); color: var(--c-text-soft); margin-top: var(--sp-3); line-height: var(--lh-snug); flex: 1; }
.lp-blog__meta { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--sp-5); }

/* ------------------------------------------------------------
   CTA final
   ------------------------------------------------------------ */
.lp-cta { position: relative; text-align: center; margin: var(--sp-16) auto; max-width: var(--landing-max); background: var(--bg-ink); color: #fff; border-radius: var(--r-2xl); padding: var(--sp-16) var(--sp-6); overflow: hidden; }
.lp-cta__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(81,112,255,0.5), transparent 60%); }
.lp-cta > * { position: relative; z-index: 1; }
.lp-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, var(--fs-3xl)); letter-spacing: var(--tracking-tighter); max-width: 620px; margin-inline: auto; }
.lp-cta p { color: var(--blue-200); margin-top: var(--sp-4); font-size: var(--fs-md); }
.lp-cta__btns { display: flex; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-8); flex-wrap: wrap; }
.lp-cta .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.lp-cta .btn--secondary:hover { background: rgba(255,255,255,0.08); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.lp-footer { border-top: 1px solid var(--c-border); padding: var(--sp-16) var(--sp-4) var(--sp-8); }
.lp-footer__grid { max-width: var(--landing-max); margin-inline: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8); }
.lp-footer__brand p { color: var(--c-text-soft); font-size: var(--fs-sm); margin-top: var(--sp-4); max-width: 280px; line-height: var(--lh-snug); }
.lp-footer h4 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--c-text-muted); margin-bottom: var(--sp-4); }
.lp-footer ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.lp-footer ul a { font-size: var(--fs-sm); color: var(--c-text-soft); transition: color var(--t-fast); }
.lp-footer ul a:hover { color: var(--c-accent); }
.lp-footer__bottom { max-width: var(--landing-max); margin: var(--sp-12) auto 0; padding-top: var(--sp-6); border-top: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--c-text-muted); }
.lp-footer__social { display: flex; gap: var(--sp-2); }
.lp-footer__social a { width: 36px; height: 36px; border-radius: var(--r-full); border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-text-soft); transition: all var(--t-fast); }
.lp-footer__social a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.lp-footer__social svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 980px) {
  .lp-problems { grid-template-columns: repeat(2, 1fr); }
  .lp-features, .lp-steps, .lp-benefits, .lp-blog { grid-template-columns: repeat(2, 1fr); }
  .lp-footer__grid { grid-template-columns: 1fr 1fr; }
  /* 4 offres côte à côte deviennent illisibles : on passe en 2 × 2 */
}
/* Nav : bascule en menu déroulant avant que ça se serre */
@media (max-width: 900px) {
  .lp-navlinks { display: none; position: absolute; top: calc(100% + var(--sp-3)); left: 0; right: 0; z-index: var(--z-header); flex-direction: column; align-items: stretch; gap: 2px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); padding: var(--sp-3); }
  .lp-navlinks.is-open { display: flex; }
  .lp-navlinks a { border-radius: var(--r-lg); padding: var(--sp-3) var(--sp-4); }
  .lp-burger { display: grid; }
  /* Le logo déborde volontairement de la pilule sur desktop : sur mobile, on le remet dans son gabarit pour ne pas déborder à l'écran */
  .lp-brand .brand-logo { height: 64px; }
  .lp-brand { flex-shrink: 0; }
  /* Le sélecteur de langue passe de la barre (trop étroite) au menu déroulant */
  .lp-lang { display: none; }
  .lp-navlinks__langs { display: block; }
}
@media (max-width: 640px) {
  .lp-nav__cta .btn--ghost { display: none; }
  .lp-navlinks__mobile-only { display: block; border-top: 1px solid var(--c-border); margin-top: 4px; padding-top: 6px; }
  .lp-section { padding: var(--sp-16) var(--sp-4); }
  .lp-problems, .lp-features, .lp-steps, .lp-benefits, .lp-blog { grid-template-columns: 1fr; }
  .lp-hero { padding-top: var(--sp-12); }
  .lp-hero__cta { flex-direction: column; align-items: stretch; }
  /* Les libellés longs (« Commencer gratuitement — 15 jours offerts ») ne
     tiennent pas sur une ligne : on autorise le retour à la ligne plutôt
     que de laisser le bouton déborder de l'écran. */
  .lp-hero__cta .btn,
  .lp-sim__cta .btn { width: 100%; white-space: normal; height: auto; min-height: 52px; padding-block: var(--sp-3); line-height: 1.25; }
  .hcal__row { grid-template-columns: 96px repeat(12, 1fr); height: 38px; }
  .hcal__cell--name { font-size: var(--fs-xs); }
  .lp-footer__grid { grid-template-columns: 1fr 1fr; }
  .lp-window__body { padding: var(--sp-3); }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-sim__row { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .lp-sim__result { text-align: left; }
  /* Trois libellés côte à côte ne tiennent pas sur 375 px : on empile. */
  .lp-simseg { display: flex; flex-direction: column; width: 100%; border-radius: var(--r-lg); }
  .lp-simseg button { width: 100%; border-radius: var(--r-md); padding: var(--sp-3); }
}

/* ============================================================
   Barre de réglage des tarifs (devise · parc · périodicité)
   Inspirée des comparateurs SaaS : tous les leviers sur une ligne,
   au-dessus des offres qu'ils recalculent.
   ============================================================ */
.lp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5) var(--sp-6);
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-full);
  padding: var(--sp-4) var(--sp-6); box-shadow: var(--shadow-sm); margin-bottom: var(--sp-5); }
.lp-bar__champ { display: flex; align-items: center; gap: var(--sp-3); }
.lp-bar__label { font-size: var(--fs-sm); color: var(--c-text-soft); white-space: nowrap; }

/* Segments (devise, périodicité) : la pilule active est pleine */
.lp-seg { display: inline-flex; align-items: center; gap: 2px; background: var(--bg-ink); border-radius: var(--r-full); padding: 4px; }
.lp-seg button { border-radius: var(--r-full); padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm);
  font-weight: var(--fw-semibold); color: rgba(255,255,255,.72); white-space: nowrap;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  transition: background var(--t-fast), color var(--t-fast); }
.lp-seg button:hover { color: #fff; }
.lp-seg button.is-active { background: #fff; color: var(--bg-ink); }
.lp-seg__promo { background: var(--amber-400, #FFD84D); color: var(--bg-ink); border-radius: var(--r-full);
  padding: 2px var(--sp-2); font-size: 11px; font-weight: var(--fw-bold); line-height: 1.4; }

/* Compteur : − et + toujours visibles, champ large et saisissable */
.lp-nb { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-ink); border-radius: var(--r-full); padding: 4px; }
.lp-nb__btn { width: 34px; height: 34px; border-radius: var(--r-full); color: rgba(255,255,255,.8);
  font-size: var(--fs-lg); line-height: 1; display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
.lp-nb__btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.lp-nb__input { width: 86px; height: 34px; border: 0; background: #fff; border-radius: var(--r-full);
  text-align: center; font-family: inherit; font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--bg-ink); }
.lp-nb__input:focus { outline: 2px solid var(--blue-600); outline-offset: 2px; }

.lp-devis { text-align: center; font-size: var(--fs-sm); color: var(--c-text-soft); margin-bottom: var(--sp-5); }
.lp-devis a { color: var(--blue-600); font-weight: var(--fw-semibold); text-decoration: underline; }

/* Cartes : le prix passe avant la liste, le CTA juste après */
.lp-plan__avant { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); margin-bottom: 2px; }
.lp-plan__avant s { color: var(--c-text-muted); font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
.lp-plan__promo { background: var(--c-warning-soft); color: var(--c-warning-ink); border-radius: var(--r-full);
  padding: 1px var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-bold); }
.lp-plan__foot--haut { margin: var(--sp-4) 0 var(--sp-5); }

@media (max-width: 860px) {
  .lp-bar { border-radius: var(--r-2xl); flex-direction: column; align-items: stretch; gap: var(--sp-4); }
  .lp-bar__champ { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
  .lp-bar__label { text-align: center; }
  .lp-seg, .lp-nb { justify-content: center; }
  .lp-seg button { flex: 1; }
  .lp-nb__input { flex: 1; }
}
