/* ============================================================
   AAA CONSULTING · Landing « Le harnais » (landing.aaa-consulting.fr)
   Reprend la DA v2 « Mobbin-like » du site en ligne
   (public/assets/css/styles.css) : mêmes tokens, mêmes boutons
   pilules, panneaux arrondis, fond à points, apparitions au scroll.
   Mécanique inspirée de la landing Click My Site : en-tête réduit,
   formulaire à étapes dans le hero, puis agenda cal.com.
   ============================================================ */

:root {
  /* Palette : tokens du site en ligne */
  --bg:          #FFFFFF;
  --bg-soft:     #F6F6F4;
  --bg-softer:   #FAFAF9;
  --ink:         #0D0D0C;
  --ink-panel:   #111110;
  --gray:        #6F6F6C;
  --gray-light:  #9C9C98;   /* décor seulement : contraste insuffisant pour du texte */
  --line:        #E8E8E5;
  --accent:      #B87D4B;   /* cuivre */
  --violet:      #6B6FAE;
  --violet-deep: #4E5288;
  --error:       #C0353A;   /* rouge d'erreur assombri pour le contraste AA (le site utilise #E5484D) */

  /* Typo */
  --font-d: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;

  /* Géométrie & animation */
  --r-pill: 999px;
  --r-xl:   32px;
  --r-lg:   24px;
  --r-md:   16px;
  --r-sm:   12px;
  --ease:   cubic-bezier(.16, 1, .3, 1);
  --wrap:   1200px;
  --shadow-card: 0 1px 2px rgba(13, 13, 12, .04), 0 8px 24px rgba(13, 13, 12, .05);
  --shadow-pop:  0 2px 6px rgba(13, 13, 12, .06), 0 20px 48px rgba(13, 13, 12, .10);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--violet-deep);
}

/* ============ BASE ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  font-size: 16px;
}

html, body { overflow-x: hidden; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--ink); color: var(--bg); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Focus visible partout (clavier) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-sm);
}

.btn-p:focus-visible,
.btn-s:focus-visible,
.btn-nav:focus-visible,
.btn-next:focus-visible,
.btn-prev:focus-visible { border-radius: var(--r-pill); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5000;
  padding: .7rem 1.2rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: top .2s;
}

.skip-link:focus { top: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.link-u { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }

/* ============ REVEAL AU SCROLL (identique au site) ============ */

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(.985);
  filter: blur(6px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease),
    filter .9s var(--ease);
  will-change: opacity, transform, filter;
}

.reveal.in { opacity: 1; transform: none; filter: none; }

.no-js .reveal { opacity: 1; transform: none; filter: none; }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ EN-TÊTE RÉDUIT ============ */
/* Barre fixe transparente comme le site ; voile blanc flouté au scroll. */

.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: .8rem max(clamp(1.2rem, 4vw, 3rem), calc((100% - 1280px) / 2));
}

.lp-header::before {
  content: '';
  position: absolute;
  inset: 0 0 -24px 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .94), rgba(255, 255, 255, 0) 78%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.lp-header.scrolled::before { opacity: 1; }

.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-header__logo { display: block; line-height: 0; }

.lp-header__logo img {
  height: 48px;
  width: auto;
  transition: height .4s var(--ease), transform .3s var(--ease);
}

.lp-header.scrolled .lp-header__logo img { height: 40px; }
.lp-header__logo:hover img { transform: scale(1.04); }

.lp-header__right {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.6rem);
}

.lp-header__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color .25s;
}

.lp-header__phone svg { width: 17px; height: 17px; }
.lp-header__phone:hover { color: var(--violet-deep); }

/* CTA d'en-tête : contour à reflet métallique, comme le site */
.btn-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .62rem 1.35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.btn-nav:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 13, 12, .22);
}

.btn-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background-image: linear-gradient(100deg,
    #0D0D0C 0%, #4A4A47 12%, #8C8C88 22%, #DEDED9 30%, #8C8C88 38%,
    #4A4A47 50%, #0D0D0C 62%, #8C8C88 82%, #4A4A47 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: btn-reflet 5s linear infinite;
}

@keyframes btn-reflet { to { background-position: -200% 0; } }

@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .btn-nav::before { display: none; }
  .btn-nav { border: 1.5px solid var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-nav::before { animation: none; }
}

/* ============ BOUTONS (identiques au site) ============ */

.btn-p,
.btn-s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  font-size: .98rem;
  font-weight: 600;
  border-radius: var(--r-pill);
}

.btn-p {
  background: var(--violet);
  color: #fff;
  border: 1px solid var(--ink);
  transition: transform .3s var(--ease), background .25s, box-shadow .3s var(--ease);
}

.btn-p:hover {
  background: var(--violet-deep);
  transform: scale(1.035);
  box-shadow: 0 10px 28px rgba(13, 13, 12, .18);
}

.btn-s {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .25s, background .25s;
}

.btn-s:hover { border-color: var(--ink); transform: scale(1.035); }

.btn-p svg,
.btn-s svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.btn-p:hover svg { transform: translateX(3px); }

/* Variantes sur panneau sombre */
.btn-p--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-p--light:hover { background: var(--bg-soft); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.btn-s--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-s--ghost:hover { border-color: #fff; }

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 8.5rem 0 5rem;
  background: var(--bg);
  overflow: hidden;
}

/* Fond animé : grille de points (canvas piloté par landing.js), estompée derrière le titre */
.hero-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 34% at 50% 22%, transparent 10%, rgba(0, 0, 0, .55) 50%, #000 82%);
  mask-image: radial-gradient(ellipse 60% 34% at 50% 22%, transparent 10%, rgba(0, 0, 0, .55) 50%, #000 82%);
}

.hero .wrap { position: relative; z-index: 1; }

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: none;             filter: none; }
}

.hero-eyebrow,
.hero-h1,
.hero-sub,
.hero-tools,
.hero-btns,
.hero-note,
.book {
  opacity: 0;
  animation: heroUp .9s var(--ease) forwards;
}

.hero-eyebrow { animation-delay: .05s; }
.hero-h1      { animation-delay: .15s; }
.hero-sub     { animation-delay: .28s; }
.hero-tools   { animation-delay: .34s; }
.hero-btns    { animation-delay: .40s; }
.hero-note    { animation-delay: .46s; }
.book         { animation-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-h1, .hero-sub, .hero-tools, .hero-btns, .hero-note, .book { opacity: 1; animation: none; }
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

/* Surlignage cuivre translucide derrière les mots clés, comme le site */
.ul {
  position: relative;
  z-index: 0;
}

.hero-h1 .ul { white-space: nowrap; }

.ul::after {
  content: '';
  position: absolute;
  left: -.1em;
  right: -.1em;
  top: .04em;
  bottom: -.02em;
  z-index: -1;
  background: var(--accent);
  opacity: .22;
  border-radius: .12em;
  transform: scaleX(0);
  transform-origin: left;
  animation: ulIn .8s var(--ease) 1s forwards;
}

@keyframes ulIn { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .ul::after { animation: none; transform: none; }
}

.hero-sub {
  max-width: 580px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 1.6rem;
}

.hero-sub strong { color: var(--ink); font-weight: 600; }

/* Rangée des outils auxquels le harnais se branche : discrète, fondu sur les bords */
.hero-tools {
  width: 100%;
  max-width: 560px;
  margin-bottom: 1.8rem;
}

.hero-tools__label {
  margin-bottom: .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero-tools__fade {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.hero-tools__fade::-webkit-scrollbar { display: none; }

.hero-tools__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  padding: .3rem 2.4rem;
  list-style: none;
}

.tool-logo {
  display: block;
  width: 26px;
  height: 26px;
  background-color: var(--ink);
  opacity: .38;
  transition: opacity .25s var(--ease);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

.tool-logo:hover { opacity: .85; }

.tool-logo--gmail         { --logo: url('../img/outils/gmail.svg'); }
.tool-logo--google-agenda { --logo: url('../img/outils/google-agenda.svg'); }
.tool-logo--google-drive  { --logo: url('../img/outils/google-drive.svg'); }
.tool-logo--google-sheets { --logo: url('../img/outils/google-sheets.svg'); }
.tool-logo--whatsapp      { --logo: url('../img/outils/whatsapp.svg'); }
.tool-logo--notion        { --logo: url('../img/outils/notion.svg'); }

@media (max-width: 600px) {
  .hero-tools__list { gap: 1.5rem; padding: .3rem 1.6rem; }
  .tool-logo { width: 24px; height: 24px; }
}

.hero-btns {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--gray);
}

/* ============ RÉSERVATION À ÉTAPES ============ */
/* Panneau gris arrondi comme le simulateur du site, carte blanche dedans. */

.book {
  margin: 3.6rem auto 0;
  max-width: 1040px;
  padding: clamp(2rem, 4.5vw, 3.6rem) clamp(1rem, 4vw, 3.6rem);
  background: var(--bg-soft);
  border-radius: var(--r-xl);
}

.book__head { text-align: center; margin-bottom: 1.8rem; }

.book__title {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: .55rem;
  text-wrap: balance;
}

.book__sub { font-size: .98rem; color: var(--gray); }

.book__card {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.2rem 2.4rem 2.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: max-width .5s var(--ease);
}

/* À l'étape 3, la carte s'élargit pour l'agenda */
.book__card.is-cal { max-width: 960px; }

/* Indicateur 1 · 2 · 3 */
.book-steps {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  counter-reset: none;
}

.book-steps li {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
}

.book-steps li + li::before {
  content: '';
  flex: 0 0 18px;
  height: 1px;
  background: var(--line);
  margin-right: .1rem;
}

.book-steps__n {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  font-family: var(--font-d);
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .3s, color .3s, border-color .3s;
}

.book-steps li.is-active { color: var(--ink); }
.book-steps li.is-active .book-steps__n { background: var(--violet); border-color: var(--ink); color: #fff; }
.book-steps li.is-done .book-steps__n { background: var(--ink); border-color: var(--ink); color: #fff; }

.book-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.book-progress__bar {
  height: 100%;
  width: 33.34%;
  background: var(--violet);
  border-radius: var(--r-pill);
  transition: width .5s var(--ease);
}

.book-progress__bar.is-2 { width: 66.67%; }
.book-progress__bar.is-3 { width: 100%; }

.book-progress__label {
  margin: .55rem 0 1.7rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray);
}

.book-step:not([hidden]) { display: block; animation: stepIn .5s var(--ease); }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .book-step:not([hidden]) { animation: none; }
}

.book-step__title {
  display: block;
  width: 100%;
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.3rem;
  outline: none;
}

.book-step__lead {
  font-size: .95rem;
  color: var(--gray);
  margin: -.6rem 0 1.3rem;
}

/* Champs (repris des formulaires du site) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.field { margin-bottom: 1.1rem; }

.field > label,
.field--group > legend {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
}

.field--group > legend { float: left; width: 100%; }
.field--group > legend + * { clear: both; }

.field__opt { font-weight: 400; color: var(--gray); }

.field__hint {
  clear: both;
  font-size: .8rem;
  color: var(--gray);
  margin: -.1rem 0 .55rem;
}

.input {
  width: 100%;
  padding: .82rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}

.input::placeholder { color: var(--gray); }

.input:focus {
  background: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(107, 111, 174, .25);
}

.field.is-error .input { border-color: var(--error); background: #FDF5F5; }

.field__error {
  margin-top: .4rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--error);
}

/* Choix (taille, besoins) : cartes comme les options du simulateur */
.choices {
  display: grid;
  gap: .6rem;
}

.choices--4 { grid-template-columns: repeat(4, 1fr); }
.choices--2 { grid-template-columns: repeat(2, 1fr); }

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease);
}

.choice:hover { border-color: #C9C9C5; transform: translateY(-1px); }

/* L'input reste dans l'arbre d'accessibilité et au clavier, visuellement remplacé par la pastille */
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.choice__mark {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.5px solid #BDBDB8;
  border-radius: 50%;
  transition: border-color .25s, background .25s;
}

.choice--box .choice__mark { border-radius: 6px; }

.choice__text {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg-softer);
  box-shadow: 0 0 0 1px var(--ink);
}

.choice input:checked + .choice__mark {
  background: var(--violet);
  border-color: var(--ink);
}

.choice input:checked + .choice__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}

.choice:has(input:focus-visible) { box-shadow: var(--focus); border-color: var(--ink); }

.field--group.is-error .choice { border-color: #E9B5B7; }

/* Consentement */
.field--consent { margin-top: .4rem; }

.field > .consent-label,
.consent-label {
  font-weight: 400;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: .15rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--violet-deep);
}

.consent-label input[type="checkbox"]:focus-visible { outline: 2px solid var(--violet-deep); outline-offset: 2px; }

.consent-label span {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--gray);
}

.consent-label a { color: var(--ink); text-decoration: underline; }

/* Pot de miel : hors écran */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: .8rem;
  padding: .8rem 1rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--error);
  background: #FDF5F5;
  border: 1px solid #F1CFD0;
  border-radius: var(--r-sm);
}

.form-error a { text-decoration: underline; font-weight: 600; }

/* Navigation entre étapes */
.book-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-top: 1.6rem;
}

.book-nav--end { justify-content: flex-end; }

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .88rem 1.6rem;
  background: var(--violet);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s, opacity .25s, box-shadow .3s var(--ease);
}

.btn-next:hover { background: var(--violet-deep); transform: scale(1.03); box-shadow: 0 10px 28px rgba(13, 13, 12, .16); }
.btn-next svg { transition: transform .3s var(--ease); }
.btn-next:hover svg { transform: translateX(3px); }

.btn-next[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }

.btn-next[aria-busy="true"] svg { animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.btn-prev {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .88rem 1.25rem;
  background: none;
  color: var(--gray);
  font-size: .92rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: color .25s, border-color .25s;
}

.btn-prev:hover { color: var(--ink); border-color: var(--ink); }

/* Agenda cal.com */
.cal-box {
  min-height: 420px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-softer);
}

.cal-box.is-ready { background: transparent; min-height: 0; }

.cal-box__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 420px;
  font-size: .9rem;
  color: var(--gray);
}

.cal-box__loading::before {
  content: '';
  width: 32px;
  height: 32px;
  border: 3px solid var(--line);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.cal-fallback {
  margin-top: 1rem;
  font-size: .86rem;
  color: var(--gray);
  text-align: center;
}

.cal-fallback a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Repli : l'agenda n'a pas pu se charger */
.cal-fallback.is-alert {
  padding: 1.1rem 1.2rem;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.cal-box.is-failed { display: none; }

/* ============ BANDE DE RÉASSURANCE ============ */

.trust-band { padding: .5rem 0 1.5rem; }

.trust-band__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}

.trust-band__list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.15rem;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.trust-band__list li::before,
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0C' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
  border: 1px solid var(--line);
}

/* ============ TÊTES DE SECTION (identiques au site) ============ */

.sec-head { max-width: 720px; margin-bottom: 3rem; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-eye {
  display: inline-flex;
  align-items: center;
  padding: .35rem .9rem;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gray);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

.sec-h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.sec-h2 em {
  position: relative;
  font-style: normal;
  z-index: 0;
}

.sec-h2 em::after {
  content: '';
  position: absolute;
  left: -.1em;
  right: -.1em;
  top: .04em;
  bottom: -.02em;
  z-index: -1;
  background: var(--accent);
  opacity: .22;
  border-radius: .12em;
}

.sec-sub {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ============ DÉMONSTRATION ============ */

.demo { padding: 5.5rem 0; }

.demo__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.demo__copy .sec-sub { margin-bottom: 1.6rem; max-width: 48ch; }

.check-list { margin-bottom: 2rem; }

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: .75rem;
}

.check-list li::before { position: absolute; left: 0; top: .15em; }
.check-list strong { color: var(--ink); font-weight: 600; }

.demo__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
}

.demo__note { font-size: .84rem; color: var(--gray); }

.demo__visual {
  position: relative;
  padding: 0 0 2.5rem;
}

/* Fenêtre navigateur autour de la capture (repris de la page Démos du site) */
.browser-frame {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.browser-frame:hover { transform: translateY(-6px); }

.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem .9rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.bf-dot { width: 9px; height: 9px; border-radius: 50%; background: #DDDDD8; }

.bf-url {
  margin-left: .6rem;
  padding: .22rem .8rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-frame img { width: 100%; height: auto; }

/* Téléphone posé en avant de la fenêtre */
.phone-frame {
  position: absolute;
  right: -1.2rem;
  bottom: 0;
  width: 27%;
  max-width: 190px;
  padding: 6px;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow-pop), 0 30px 60px -20px rgba(13, 13, 12, .45);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 22px;
}

/* ============ BRIQUES ============ */

.bricks { padding: 5.5rem 0; }

.bricks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.brick {
  padding: 1.9rem 1.8rem 2rem;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
}

.brick:hover {
  background: var(--bg);
  border-color: var(--line);
  transform: translateY(-5px);
  box-shadow: var(--shadow-pop);
}

.brick__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .4s var(--ease);
}

.brick:hover .brick__ico { transform: scale(1.06) rotate(-3deg); }
.brick__ico svg { width: 24px; height: 24px; }

.brick__title {
  font-family: var(--font-d);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: .5rem;
}

.brick__desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--gray);
}

.bricks__soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.4rem;
  font-size: .9rem;
  color: var(--gray);
}

.bricks__soon svg { width: 18px; height: 18px; }

/* Offres d'entrée */
.offers { margin-top: 4.5rem; }

.offers__head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }

.offers__title {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: .6rem;
}

.offers__sub { font-size: .98rem; line-height: 1.6; color: var(--gray); }

.offers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  max-width: 960px;
  margin: 0 auto;
}

.offer {
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.offer--dark {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
  color: #fff;
}

.offer__tag {
  display: inline-block;
  padding: .3rem .8rem;
  margin-bottom: 1.1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

.offer--dark .offer__tag { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }

.offer__name {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: .6rem;
}

.offer__desc {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.offer--dark .offer__desc { color: rgba(255, 255, 255, .82); }

.offer__bricks {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.offer--dark .offer__bricks { border-top-color: rgba(255, 255, 255, .18); }

.offer__bricks li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  font-weight: 600;
}

.offer__bricks svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.offer--dark .offer__bricks svg { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }

/* ============ COMMENT ÇA SE PASSE ============ */

.how { padding: 5.5rem 0; }

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.how__step {
  position: relative;
  padding: 2rem 1.9rem 2.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.how__num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.3rem;
  font-family: var(--font-d);
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.how__step:first-child .how__num { background: var(--violet); border-color: var(--ink); color: #fff; }

.how__title {
  font-family: var(--font-d);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: .5rem;
}

.how__desc { font-size: .93rem; line-height: 1.6; color: var(--gray); }

/* ============ FAQ ============ */

.faq { padding: 5.5rem 0; }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq__grid .sec-head { margin-bottom: 0; }

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__item summary {
  position: relative;
  display: block;
  padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '';
  position: absolute;
  right: .2rem;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), background-color .25s;
}

.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover::after { background-color: var(--bg); }

.faq__item p {
  padding: 0 3rem 1.4rem 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ============ CTA FINAL ============ */

.cta-final { padding: 2rem 0 6rem; }

.cta-panel {
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
  text-align: center;
  background: var(--violet-deep);
  border-radius: var(--r-xl);
}

.cta-h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-sub {
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}

.cta-btns {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ PIED DE PAGE ============ */

.lp-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}

.lp-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.lp-footer__logo { line-height: 0; }
.lp-footer__logo img { height: 40px; width: auto; }

.lp-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
}

.lp-footer__contact a {
  font-size: .92rem;
  color: var(--gray);
  transition: color .25s;
}

.lp-footer__contact a:hover { color: var(--ink); }

.lp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.footer-copy,
.lp-footer__links {
  font-size: .8rem;
  color: var(--gray);
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
}

.lp-footer__links a:hover { color: var(--ink); }

.lp-footer__links a.footer-credit { color: #8F5E33; font-weight: 500; }
.lp-footer__links a.footer-credit:hover { text-decoration: underline; }

/* ============ BANDEAU COOKIES (identique au site) ============ */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 4000;
  width: min(680px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  transform: translate(-50%, calc(100% + 2rem));
  visibility: hidden;
  transition: transform .6s var(--ease), visibility .6s;
}

.cookie-banner.visible { transform: translate(-50%, 0); visibility: visible; }

.cookie-text {
  flex: 1;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--gray);
}

.cookie-text a { color: var(--ink); text-decoration: underline; }

.cookie-btns {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-accept,
.cookie-refuse {
  padding: .6rem 1.2rem;
  font-size: .84rem;
  border-radius: var(--r-pill);
}

.cookie-accept {
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: background .25s, transform .25s var(--ease);
}

.cookie-accept:hover { background: var(--violet-deep); transform: scale(1.03); }

.cookie-refuse {
  background: none;
  color: var(--gray);
  font-weight: 500;
  border: 1px solid var(--line);
  transition: color .25s, border-color .25s;
}

.cookie-refuse:hover { color: var(--ink); border-color: var(--ink); }

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .trust-band__list { grid-template-columns: repeat(2, 1fr); }
  .bricks__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .demo__grid { grid-template-columns: 1fr; }
  .demo__visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .phone-frame { right: -.4rem; }
  .faq__grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero { padding: 7rem 0 3.5rem; }
  .book { margin-top: 2.8rem; }
  .book__card { padding: 1.6rem 1.25rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .choices--4 { grid-template-columns: repeat(2, 1fr); }
  .offers__grid { grid-template-columns: 1fr; }
  .demo, .bricks, .how, .faq { padding: 4rem 0; }
  .lp-footer__top { flex-direction: column; align-items: flex-start; }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .lp-header__phone span { display: none; }
  .lp-header__phone {
    width: 40px;
    height: 40px;
    justify-content: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .lp-header__logo img { height: 40px; }
  .lp-header.scrolled .lp-header__logo img { height: 36px; }
  .btn-nav { font-size: .68rem; padding: .55rem .95rem; letter-spacing: .08em; }

  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-p,
  .hero-btns .btn-s { width: 100%; }
  .hero-h1 .ul { white-space: normal; }

  .book-steps__l { display: none; }
  .book-steps li.is-active .book-steps__l { display: inline; white-space: nowrap; }
  .book-steps li { flex: 0 0 auto; }
  .book-steps li.is-active { flex: 1; }

  .choices--2 { grid-template-columns: 1fr; }
  .book { padding-left: .75rem; padding-right: .75rem; }
  .book__card.is-cal { padding-left: .6rem; padding-right: .6rem; }
  .book__card.is-cal .book-steps,
  .book__card.is-cal .book-progress,
  .book__card.is-cal .book-progress__label,
  .book__card.is-cal .book-step__title,
  .book__card.is-cal .book-step__lead,
  .book__card.is-cal .form-error,
  .book__card.is-cal .book-nav { margin-left: .6rem; margin-right: .6rem; }
  .trust-band__list { grid-template-columns: 1fr; }
  .bricks__grid { grid-template-columns: 1fr; }

  .book-nav { flex-wrap: wrap-reverse; }
  .book-nav .btn-next { flex: 1 1 auto; justify-content: center; }

  .faq__item summary { font-size: 1.02rem; }
  .faq__item p { padding-right: 0; }

  .cta-btns .btn-p,
  .cta-btns .btn-s { width: 100%; }
}
