/* =========================================================
   Contacto — Landing (clair, premium, contenu riche)
   ========================================================= */

body.lp-page {
  background-image: none !important;
  background-color: #f3f7f9;
  color: #0b1f2a;
}

.lp-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px 0 0;
}

.lp-wrap {
  width: min(1360px, calc(100% - 3rem));
  margin: 0 auto;
}

.lp-wrap--wide {
  width: min(1480px, calc(100% - 2.5rem));
}

/* ---------- HERO ---------- */
.lp-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #0b1f2a;
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--lp-hero-img);
  background-size: min(520px, 40vw) auto;
  background-position: right 8% center;
  background-repeat: no-repeat;
  animation: lp-softzoom 22s ease-out forwards;
}

.lp-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      105deg,
      rgba(243, 247, 249, 0.98) 0%,
      rgba(243, 247, 249, 0.94) 40%,
      rgba(243, 247, 249, 0.6) 65%,
      rgba(243, 247, 249, 0.15) 85%,
      transparent 100%
    );
}

.lp-hero__content {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
  max-width: 34rem;
  justify-self: start;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
}

@media (min-width: 768px) {
  .lp-hero__content {
    padding: 4rem 0 5rem;
    max-width: 38rem;
  }
}

.lp-brand {
  margin: 0 0 1.1rem;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #006289;
  animation: lp-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-hero h1 {
  margin: 0 0 1rem;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #04131a;
  animation: lp-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.lp-hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.55;
  color: #3d5260;
  animation: lp-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: lp-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-cta:active { transform: scale(0.98); }
.lp-cta svg { width: 1.1rem; height: 1.1rem; }

.lp-cta--pink {
  background: #e71d72;
  color: #fff;
  box-shadow: 0 14px 34px rgba(231, 29, 114, 0.28);
}
.lp-cta--pink:hover {
  background: #c5165d;
  color: #fff;
}

.lp-cta--line {
  background: rgba(255, 255, 255, 0.72);
  color: #006289;
  border: 1.5px solid rgba(0, 98, 137, 0.35);
  backdrop-filter: blur(8px);
}
.lp-cta--line:hover {
  background: #fff;
  border-color: #006289;
  color: #006289;
}

.lp-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #50a8cb;
  text-decoration: none;
  animation: lp-bob 2.4s ease-in-out infinite;
}

/* ---------- MANIFESTO (DB text) ---------- */
/* ---------- MANIFESTO (texte DB) ---------- */
.lp-manifesto {
  position: relative;
  background: #fff;
  padding: 3.75rem 0 4rem;
  border-top: 1px solid rgba(0, 98, 137, 0.08);
}

.lp-manifesto__panel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.lp-manifesto__eyebrow {
  margin: 0 0 1rem;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #e71d72;
}

.lp-manifesto__title {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #04131a;
}

.lp-manifesto__title em {
  font-style: normal;
  color: #e71d72;
}

.lp-manifesto__body {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: #2a3f4c;
  text-align: left;
  max-width: none;
  width: 100%;
}

.lp-manifesto__lead {
  margin: 0 0 1em;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: #04131a;
}

.lp-manifesto__body > p {
  margin: 0 0 1em;
  max-width: none;
}

.lp-manifesto__punch {
  margin: 1.35rem 0 0 !important;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 98, 137, 0.12);
}

.lp-manifesto__punch strong {
  display: block;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #006289 0%, #50a8cb 45%, #e71d72 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-manifesto__body a {
  color: #e71d72;
  font-weight: 600;
}

/* ---------- PILLARS (après comment ça marche) ---------- */
.lp-pillars {
  background:
    linear-gradient(165deg, rgba(0, 98, 137, 0.06) 0%, transparent 42%),
    linear-gradient(180deg, #f3f7f9 0%, #eaf2f6 100%);
  padding: 4.25rem 0 4.75rem;
  border-top: 1px solid rgba(0, 98, 137, 0.08);
}

.lp-pillars__head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.lp-pillars__eyebrow {
  margin: 0 0 0.65rem;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #e71d72;
}

.lp-pillars__head h2 {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #04131a;
}

.lp-pillars__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(0, 98, 137, 0.14);
}

@media (min-width: 768px) {
  .lp-pillars__list {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-pillar {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  margin: 0;
  padding: 1.25rem 0.15rem 1.3rem 0;
  border-bottom: 1px solid rgba(0, 98, 137, 0.14);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
  .lp-pillar {
    padding: 1.35rem 1.25rem 1.4rem 0.35rem;
  }

  .lp-pillar:nth-child(odd) {
    border-right: 1px solid rgba(0, 98, 137, 0.1);
    padding-right: 1.5rem;
  }

  .lp-pillar:nth-child(even) {
    padding-left: 1.5rem;
  }
}

.lp-pillar:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(0, 98, 137, 0.14);
  box-shadow: none;
}

.lp-pillar__mark {
  display: block;
  width: auto;
  height: auto;
  margin: 0.15rem 0 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #e71d72;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.lp-pillar__body {
  min-width: 0;
}

.lp-pillar h3 {
  margin: 0 0 0.35rem;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #006289;
}

.lp-pillar p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4a5d69;
}

/* ---------- FLOW ---------- */
.lp-flow {
  background: #fff;
  padding: 4.25rem 0 4.5rem;
  border-top: 1px solid rgba(0, 98, 137, 0.08);
}

.lp-flow__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.lp-flow__eyebrow {
  margin: 0 0 0.65rem;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #50a8cb;
}

.lp-flow__head h2 {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  color: #04131a;
}

.lp-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: lpstep;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 900px) {
  .lp-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lp-node {
  position: relative;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(0, 98, 137, 0.12);
  counter-increment: lpstep;
}

@media (min-width: 900px) {
  .lp-node {
    padding: 0 1.4rem 0 0;
    border-top: 0;
  }
  .lp-node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.3rem;
    left: 2.65rem;
    right: 0.4rem;
    height: 2px;
    background: linear-gradient(90deg, #50a8cb, rgba(231, 29, 114, 0.5));
    opacity: 0.5;
  }
}

.lp-node__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 2px solid #006289;
  background: #fff;
  color: #006289;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.lp-node__index::before { content: counter(lpstep, decimal-leading-zero); }

.lp-node__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 0.85rem;
}
.lp-node__icon img {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
}

.lp-node p {
  margin: 0;
  max-width: 17rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #3d5260;
}

/* ---------- CLOSING CTA ---------- */
.lp-close {
  background: #fff;
  color: #04131a;
  padding: 4rem 0 4.25rem;
  text-align: center;
  border-top: 1px solid rgba(0, 98, 137, 0.1);
}

.lp-close h2 {
  margin: 0 0 0.75rem;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: #04131a;
}

.lp-close p {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: #5b6b75;
  font-size: 1.02rem;
  line-height: 1.5;
}

.lp-close .lp-cta--line {
  background: #fff;
  color: #006289;
  border-color: rgba(0, 98, 137, 0.35);
}
.lp-close .lp-cta--line:hover {
  background: #f3f7f9;
  border-color: #006289;
  color: #006289;
}

.lp-close .lp-meta {
  margin: 2.75rem auto 0;
  color: #8a9aa3;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.lp-meta {
  margin-top: 1.75rem;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #8a9aa3;
}

/* ---------- PWA strip ---------- */
.lp-strip {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 98, 137, 0.14);
  backdrop-filter: blur(10px);
  max-width: 28rem;
}
.lp-strip h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #04131a;
}
.lp-strip p {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: #5b6b75;
}

/* ---------- AUTH HOME (hub connecté) ---------- */
body.lp-page.lp-page--auth {
  background-color: #e8f0f4;
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(80, 168, 203, 0.18), transparent 45%),
    radial-gradient(ellipse at 100% 20%, rgba(231, 29, 114, 0.08), transparent 40%) !important;
  background-repeat: no-repeat;
}

.lp-home {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  min-height: calc(100svh - 72px - 5rem);
}

.lp-home__banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem 1.2rem;
  margin-bottom: 0.9rem;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(4, 19, 26, 0.88) 0%, rgba(0, 98, 137, 0.78) 55%, rgba(231, 29, 114, 0.45) 100%),
    var(--lp-hero-img) right center / cover no-repeat;
  box-shadow: 0 12px 28px rgba(4, 19, 26, 0.14);
}

.lp-home__banner h1 {
  margin: 0 0 0.2rem;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.lp-home__banner h1 em {
  font-style: normal;
  color: #9fd6ec;
}

.lp-home__banner p {
  margin: 0;
  max-width: 32rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

.lp-home__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.85rem;
  max-width: 27rem;
}

.lp-stat {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(0, 98, 137, 0.1);
  border-top: 3px solid #E71D72;
  box-shadow: 0 6px 16px rgba(4, 19, 26, 0.07);
  color: #04131a;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.lp-stat:hover {
  background: #ffffff;
  border-color: rgba(231, 29, 114, 0.35);
  border-top-color: #E71D72;
  box-shadow: 0 10px 22px rgba(231, 29, 114, 0.18);
  transform: translateY(-2px);
}
a.lp-stat:focus-visible {
  outline: 2px solid #E71D72;
  outline-offset: 2px;
}

.lp-stat strong {
  display: block;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.05;
  color: #04131a;
}

.lp-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E71D72;
  font-weight: 700;
  margin-top: 0.2rem;
  display: block;
}

.lp-home__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .lp-home__grid {
    grid-template-columns: 1fr 1fr;
  }
  .lp-home__grid > .lp-action--wide {
    grid-column: 1 / -1;
  }
}

.lp-action {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 98, 137, 0.1);
  box-shadow: 0 8px 20px rgba(4, 19, 26, 0.05);
  min-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

a.lp-action {
  cursor: pointer;
}

a.lp-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(4, 19, 26, 0.08);
}

a.lp-action:hover .lp-action__cta {
  filter: brightness(1.05);
}

@media (min-width: 640px) {
  .lp-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lp-action h2,
.lp-action h3 {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #04131a;
  line-height: 1.25;
}

.lp-action__unread {
  display: inline;
  font-weight: 600;
  font-size: 0.92em;
  color: #e71d72;
  white-space: nowrap;
}

.lp-action__count,
a.lp-action .lp-action__count,
.lp-action h2 .lp-action__count,
.lp-action h3 .lp-action__count {
  display: inline;
  font-weight: 700;
  color: #e71d72 !important;
}

.lp-action p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #5b6b75;
  line-height: 1.35;
}

.lp-action__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
  min-height: 1.95rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #e71d72;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .lp-action__cta {
    align-self: center;
  }
}

.lp-action--match { border-top: 3px solid #e71d72; }
.lp-action--match .lp-action__icon { background: #fdf2f8; color: #e71d72; }

.lp-action--msg { border-top: 3px solid #0284c7; }
.lp-action--msg .lp-action__icon { background: #e0f2fe; color: #0284c7; }

.lp-action--ann { border-top: 3px solid #8b5cf6; }
.lp-action--ann .lp-action__icon { background: #f5f3ff; color: #8b5cf6; }

.lp-action--ok { border-top: 3px solid #22c55e; }
.lp-action--ok .lp-action__icon { background: #f0fdf4; color: #16a34a; }

.lp-action--feed { border-top: 3px solid #f59e0b; }
.lp-action--feed .lp-action__icon { background: #fef3c7; color: #d97706; }

.lp-action--scan { border-top: 3px solid #006289; }
.lp-action--scan .lp-action__icon { background: #e8f4f9; color: #006289; }

.lp-action--pp { border-top: 3px solid #4f46e5; }
.lp-action--pp .lp-action__icon { background: #eef2ff; color: #4f46e5; }

.lp-action--evt {
  border-top: 3px solid #22c55e;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.88rem;
  min-height: 0;
}

.lp-action__media {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lp-action__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: #e8f4f9;
  color: #006289;
}

.lp-action__icon svg { width: 1.35rem; height: 1.35rem; }

/* Bloc éditorial accueil connecté */
.lp-home-copy {
  position: relative;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 0;
  margin-top: 1.15rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(232, 244, 249, 0.95) 100%);
  border: 1px solid rgba(0, 98, 137, 0.12);
  box-shadow: 0 12px 30px rgba(4, 19, 26, 0.05);
}

.lp-home-copy__rail {
  background: linear-gradient(180deg, #006289 0%, #50a8cb 55%, #e71d72 100%);
}

.lp-home-copy__content {
  padding: 1.4rem 1.4rem 1.5rem 1.25rem;
}

.lp-home-copy__eyebrow {
  margin: 0 0 0.85rem;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #50a8cb;
}

.lp-home-copy__body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #2a3f4c;
}

.lp-home-copy__lead {
  margin: 0 0 0.95em;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #04131a;
}

.lp-home-copy__body > p {
  margin: 0 0 0.95em;
}

.lp-home-copy__punch {
  margin: 1.15rem 0 0 !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 98, 137, 0.12);
}

.lp-home-copy__punch strong {
  display: block;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #006289 0%, #50a8cb 45%, #e71d72 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-home-copy__body a {
  color: #e71d72;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-home .lp-strip {
  margin: 0 0 1rem;
  max-width: none;
}

.lp-home .lp-meta {
  margin-top: 1.5rem;
  color: #8a9aa3;
}

.lp-home__hello h1 {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #04131a;
}

.lp-home__hello h1 em {
  font-style: normal;
  color: #006289;
}


@keyframes lp-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lp-softzoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
@keyframes lp-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
  50% { transform: translate(-50%, 5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-brand, .lp-hero h1, .lp-hero__lead, .lp-hero__actions,
  .lp-hero__media, .lp-scroll {
    animation: none !important;
  }
  .lp-hero__media { transform: none; }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  .lp-main {
    padding-top: 64px;
  }

  .lp-wrap {
    width: calc(100% - 1.5rem);
  }

  /* Hero mobile — contenu centré, équilibré et texture d'ambiance douce */
  .lp-hero {
    min-height: calc(100svh - 64px);
    min-height: calc(100dvh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
  }

  .lp-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: right 30% center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.16;
    transform: none;
    animation: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .lp-hero__shade {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      180deg,
      rgba(243, 247, 249, 0.5) 0%,
      rgba(243, 247, 249, 0.85) 60%,
      #f3f7f9 100%
    );
  }

  .lp-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 1.25rem;
    box-sizing: border-box;
    display: block;
    background: transparent;
  }

  .lp-brand {
    font-size: clamp(2.5rem, 13vw, 3.25rem);
    margin: 0 0 0.5rem;
    text-shadow: none;
  }

  .lp-hero h1 {
    font-size: clamp(1.25rem, 5.2vw, 1.55rem);
    margin: 0 0 0.5rem;
    max-width: 16ch;
  }

  .lp-hero__lead {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 1.1rem;
    max-width: 34ch;
    color: #3d5260;
  }

  .lp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin: 0;
  }

  .lp-cta {
    width: 100%;
    min-height: 3rem;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .lp-cta--line {
    background: #fff;
  }

  .lp-scroll {
    display: none;
  }

  .lp-hero .lp-strip {
    display: none;
  }

  /* Sections landing */
  .lp-manifesto {
    padding: 2.5rem 0 2.75rem;
  }

  .lp-manifesto__body {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .lp-manifesto__lead {
    font-size: 1.08rem;
  }

  .lp-manifesto__punch {
    margin-top: 1.1rem !important;
    padding-top: 0.95rem;
  }

  .lp-manifesto__punch strong {
    font-size: 1.15rem;
  }

  .lp-pillars,
  .lp-flow,
  .lp-close {
    padding: 2.75rem 0 2.85rem;
  }

  .lp-pillars__head,
  .lp-flow__head {
    margin-bottom: 1.5rem;
  }

  .lp-pillar {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.65rem 0.75rem;
    padding: 1.05rem 0 1.1rem;
  }

  .lp-pillar h3 {
    font-size: 0.98rem;
  }

  .lp-pillar p {
    font-size: 0.88rem;
  }

  .lp-node {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    align-items: center;
    padding: 1rem 0;
  }

  .lp-node__index {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .lp-node__icon {
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0;
  }

  .lp-node__icon img {
    width: 1.85rem;
    height: 1.85rem;
  }

  .lp-node p {
    max-width: none;
    font-size: 0.9rem;
    grid-column: 2;
  }

  .lp-close .lp-hero__actions {
    width: 100%;
  }

  /* Hub connecté */
  .lp-home {
    width: calc(100% - 1rem);
    padding: 0.85rem 0 1.75rem;
    min-height: 0;
  }

  .lp-home__banner {
    border-radius: 1.15rem;
    padding: 1.25rem 1.1rem 1.15rem;
    margin-bottom: 0.9rem;
    background:
      linear-gradient(160deg, rgba(4, 19, 26, 0.92) 0%, rgba(0, 98, 137, 0.86) 58%, rgba(231, 29, 114, 0.55) 100%),
      var(--lp-hero-img) 78% center / cover no-repeat;
  }

  .lp-home__banner h1 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .lp-home__banner p {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .lp-home__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-top: 1rem;
    max-width: none;
  }

  .lp-stat {
    padding: 0.6rem 0.45rem;
    border-radius: 0.75rem;
    text-align: center;
  }

  .lp-stat strong {
    font-size: 1.15rem;
  }

  .lp-stat span {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    display: block;
    line-height: 1.2;
  }

  .lp-home__grid {
    gap: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 98, 137, 0.1);
    box-shadow: 0 8px 22px rgba(4, 19, 26, 0.05);
  }

  .lp-action {
    min-height: 0;
    gap: 0.65rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 98, 137, 0.08);
    border-top: 0 !important;
    border-left: 3px solid transparent;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: transparent;
  }

  .lp-action:last-of-type {
    border-bottom: 0;
  }

  a.lp-action:hover {
    transform: none;
    box-shadow: none;
    background: rgba(0, 98, 137, 0.04);
  }

  .lp-action--match { border-left-color: #e71d72 !important; }
  .lp-action--msg { border-left-color: #0284c7 !important; }
  .lp-action--ann { border-left-color: #8b5cf6 !important; }
  .lp-action--ok { border-left-color: #22c55e !important; }
  .lp-action--feed { border-left-color: #f59e0b !important; }
  .lp-action--scan { border-left-color: #006289 !important; }
  .lp-action--pp { border-left-color: #4f46e5 !important; }

  .lp-action__media {
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    flex: 1;
  }

  .lp-action__icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.65rem;
  }

  .lp-action__icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .lp-action h2,
  .lp-action h3 {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .lp-action h3 .lp-action__count {
    color: #e71d72 !important;
  }

  .lp-action p {
    display: none;
  }

  .lp-action__cta {
    width: 1.7rem;
    height: 1.7rem;
    min-height: 0;
    padding: 0;
    border-radius: 999px;
    background: #edf3f5;
    color: #006289;
    font-size: 0;
    position: relative;
  }

  .lp-action__cta::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, 1px);
  }

  .lp-action--evt {
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-top: 3px solid #22c55e !important;
    border-left-color: transparent !important;
    background: #f0fdf4;
    box-shadow: none;
  }

  .lp-home-copy {
    margin-top: 0.9rem;
    border-radius: 1rem;
  }

  .lp-home-copy__content {
    padding: 1.1rem 1rem 1.2rem 0.95rem;
  }

  .lp-home-copy__body {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .lp-home-copy__lead {
    font-size: 1.02rem;
  }

  .lp-home-copy__punch {
    margin-top: 0.95rem !important;
    padding-top: 0.85rem;
  }

  .lp-home-copy__punch strong {
    font-size: 1.1rem;
  }

  .lp-home .lp-strip {
    margin-bottom: 0.75rem;
  }

  .lp-home .lp-meta {
    margin-top: 1.1rem;
    font-size: 0.6rem;
  }
}

@media (max-width: 380px) {
  .lp-home__stats {
    grid-template-columns: 1fr 1fr;
  }

  .lp-home__stats .lp-stat:last-child {
    grid-column: 1 / -1;
  }

  .lp-brand {
    font-size: 2rem;
  }
}
