:root {
  --forest: #5d7d57;
  --forest-deep: #3f5a3c;
  --forest-hover: #506e4b;
  --sage: #8aa583;
  --sage-soft: #c0d2ba;
  --mist: #e4ece0;
  --ink: #26352c;
  --ink-soft: #536058;
  --cream: #f4f3ec;
  --cream-2: #fbfaf5;
  --paper: #ffffff;
  --footer: #1f3a30;
  --footer-soft: #9db5a4;
  --gold: #d8a94f;
  --line: #e7e6dc;
  --shadow: 0 18px 50px -24px rgba(38, 53, 44, 0.28);
  --shadow-sm: 0 8px 26px -16px rgba(38, 53, 44, 0.3);
  --r: 22px;
  --hero-tint: #eef3e8;
  --hero-grad-end: #f1f4ec;
  --scene-sky: #cfe0e6;
  --scene-mid: #dfeae0;
  --scene-light: #eef3ec;
  --mtn-light: #b9cdc9;
  --mtn-dark: #cdddd6;
  --water-light: #dfeae6;
  --water-dark: #cfe0dc;
  --stone-1-light: #8a9690;
  --stone-1-dark: #5e6b64;
  --stone-2-light: #7f8b85;
  --stone-2-dark: #566159;
  --stone-3-light: #909b94;
  --stone-3-dark: #646f67;
  --stone-4-light: #9aa49d;
  --stone-4-dark: #6b766e;
  --phone-dark: #1f2a24;
  --petal: #f3dde6;
  --petal-stroke: #e7c3d2;
  --lotus-center: #f2c75b;
  --band-light: #dfeae2;
  --band-dark: #cdded6;
  
  --header-bg: rgba(245, 245, 245, 0.26);
  --header-border: rgba(212, 212, 212, 0.7);
  --btn-shadow: rgba(93, 125, 87, 0.85);
  --phone-shadow: rgba(31, 40, 36, 0.6);
  --badge-shadow: rgba(93, 125, 87, 0.8);
  --socials-bg: rgba(255, 255, 255, 0.08);
  --footer-line: rgba(255, 255, 255, 0.1);
  --font-body: "Nunito", sans-serif;
  --font-heading: "Fraunces", serif;

  --box-infos: #3b7dc8;
  --box-infos-light: rgba(59, 125, 200, 0.08);
  --box-danger: #c94040;
  --box-danger-light: rgba(201, 64, 64, 0.08);
  --box-attention: #d48a0a;
  --box-attention-light: rgba(212, 138, 10, 0.08);

}

/* ─── colour palettes ─── */
[data-color="bleu"] {
  --forest: #2d7fc4;
  --forest-deep: #1a5c96;
  --forest-hover: #2470b0;
  --sage: #60a8d8;
  --sage-soft: #a8cfe8;
  --mist: #dcedf7;
  --btn-shadow: rgba(45, 127, 196, 0.85);
  --badge-shadow: rgba(45, 127, 196, 0.8);
}
[data-color="ocre"] {
  --forest: #8b6333;
  --forest-deep: #6a4a22;
  --forest-hover: #7a5629;
  --sage: #c4936a;
  --sage-soft: #e0c4a8;
  --mist: #f5ede0;
  --btn-shadow: rgba(139, 99, 51, 0.85);
  --badge-shadow: rgba(139, 99, 51, 0.8);
}
[data-color="mauve"] {
  --forest: #7a5c8a;
  --forest-deep: #5b3f6e;
  --forest-hover: #6c4f7c;
  --sage: #a989be;
  --sage-soft: #d4b8e4;
  --mist: #f0e8f5;
  --btn-shadow: rgba(122, 92, 138, 0.85);
  --badge-shadow: rgba(122, 92, 138, 0.8);
}

/* ─── dark theme ─── */
[data-theme="dark"] {
  --cream-2: #161e1b;
  --cream: #1c2720;
  --paper: #1f2d26;
  --ink: #ddeee5;
  --ink-soft: #8aaa98;
  --line: #2a3830;
  --hero-tint: #1a2520;
  --hero-grad-end: #161e1b;
  --band-light: #1c2a24;
  --band-dark: #192520;
  --header-bg: rgba(22, 30, 27, 0.92);
  --header-border: rgba(42, 56, 48, 0.7);
  --footer: #0e1a14;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 26px -16px rgba(0, 0, 0, 0.4);
  --socials-bg: rgba(255, 255, 255, 0.06);
  --footer-line: rgba(255, 255, 255, 0.08);
  --phone-dark: #0d1610;
  --phone-shadow: rgba(0, 0, 0, 0.5);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--cream-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.serif-it {
  font-style: italic;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Mulish";
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 40px;
  padding: 15px 30px;
  cursor: pointer;
  border: none;
  transition: 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 14px 30px -14px var(--btn-shadow);
}
.btn-primary:hover {
  background: var(--forest-hover);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--sage-soft);
}
.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
  transform: translateY(-2px);
}
.play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--forest);
  display: grid;
  place-items: center;
  flex: none;
}
.play svg {
  width: 11px;
  height: 11px;
  fill: var(--paper);
  margin-left: 2px;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
}
section[id] {
  scroll-margin-top: 78px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .name {
  font-family: "Fraunces";
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 600;
}
.brand .sub {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}
.enso {
  width: 42px;
  height: 42px;
  flex: none;
}
header nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
header nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
header nav a:hover,
header nav a.active {
  color: var(--forest);
}
header nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-btn svg {
  stroke: var(--ink);
}

/* top hero (bandeau d'accueil) — section plafonnée à 1920x1080, texte à gauche */
.top-hero {
  position: relative;
  width: 100%;
  /* 100% de l'écran, header sticky (78px) déduit pour que la section
     tienne toujours pile dans la fenêtre, quelle que soit la résolution */
  height: calc(100vh - 78px);
  overflow: hidden;
  margin: 0 auto;
  /* background: #f5efe5; */
    background: #eee3d2;
  /* //var(--cream-2); */
}
/* l'image (993x813) est calée en bas à droite et redimensionnée selon
   la résolution de l'écran (proportions conservées, jamais rognée).
   "left" réserve la colonne de texte (.top-hero-text, 520px + le padding
   du .wrap) : la zone de l'image ne commence qu'après, donc elle ne peut
   jamais empiéter dessus — elle rétrécit avec l'écran jusqu'à disparaître. */
.top-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 588px;
  right: 0;
  z-index: 1;
  background:
    /* linear-gradient(
      90deg,
      color-mix(in srgb, var(--cream-2) 96%, transparent) 0%,
      color-mix(in srgb, var(--cream-2) 84%, transparent) 34%,
      color-mix(in srgb, var(--cream-2) 25%, transparent) 62%,
      transparent 80%
    ), */
    url("../img/fond-zen4-r.png") bottom right/contain no-repeat;
}
.top-hero .wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  overflow-y: auto;
  /* background: linear-gradient(90deg, var(--cream-2) 0%, transparent 100%); */
  /* border: 2px solid black; */
  /* background-color: rgba(255, 0, 0, 0.377)  ; */
}
.top-hero-text {
  max-width: 520px;
  text-align: left;
}
.top-hero-kicker {
  font-family: "Mulish", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 420px;
  margin-bottom: 10px;
}
.top-hero-title {
  font-size: 5.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}
.top-hero-title .g {
  color: var(--forest);
}
.top-hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.top-hero-subtitle .g {
  color: var(--forest);
}
.top-hero-lead {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  max-width: 420px;
  padding-bottom: 20px;
}
.top-hero-cols {
  display: flex;
  /* gap: 24px; */
  margin-top: 34px;
  justify-content: flex-start;
  /* background-color: red; */
  width: 300px;
  
}
.top-hero-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  flex: 1;
}
.top-hero-col:not(:last-child) {
  border-right: 1px solid #c5b899 ;
}
.top-hero-col img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.top-hero-col span {
  font-family: "Mulish", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  color : #c5b899;
}
@media (max-width: 900px) {
  .top-hero-title {
    font-size: 2.1rem;
  }
}
@media (max-width: 700px) {
  /* l'image continue de rétrécir avec la largeur (background-size: contain
     hérité de la règle de base) — on ajoute juste un voile plus doux */
  .top-hero::before {
    background:
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--cream-2) 30%, transparent) 0%,
        color-mix(in srgb, var(--cream-2) 96%, transparent) 46%,
        var(--cream-2) 62%
      ),
      url("../img/fond-zen4-r.png") bottom right/contain no-repeat;
  }
  .top-hero-text {
    max-width: 100%;
  }
  .top-hero-kicker {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .top-hero-title {
    font-size: 1.9rem;
    margin-bottom: 0;
  }
  .top-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .top-hero-lead {
    font-size: 0.98rem;
    max-width: 100%;
    padding-bottom: 12px;
  }
  .top-hero-cols {
    flex-wrap: wrap;
    margin-top: 16px;
    gap: 12px;
  }
  .top-hero-col img {
    width: 32px;
    height: 32px;
  }
  .top-hero-col span {
    font-size: 0.7rem;
  }
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 30%, var(--hero-tint) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--hero-grad-end) 100%);
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 22px 60px;
}
.hero h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}
.hero h1 .g {
  color: var(--forest);
}
.hero .lead {
  margin: 24px 0 30px;
  font-size: 1.12rem;
  max-width: 430px;
  color: var(--ink-soft);
}
.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}
.ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  flex: none;
}
.ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* zen scene */
.scene {
  position: relative;
  height: 560px;
}
.scene .ring {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 78%;
  height: 78%;
  opacity: 0.5;
}
.scene .ring path {
  stroke: var(--sage);
}
.scene .photo {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--scene-sky) 0%, var(--scene-mid) 45%, var(--scene-light) 100%);
  box-shadow: var(--shadow);
}
.mtn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36%;
  height: 42%;
  background: linear-gradient(180deg, var(--mtn-light), var(--mtn-dark));
  clip-path: polygon(
    0 60%,
    18% 30%,
    34% 55%,
    52% 20%,
    70% 48%,
    86% 25%,
    100% 50%,
    100% 100%,
    0 100%
  );
  opacity: 0.7;
}
.water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, var(--water-light) 0%, var(--water-dark) 100%);
}
.stones {
  position: absolute;
  right: 13%;
  bottom: 30%;
  width: 120px;
}
.stone {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--stone-1-light), var(--stone-1-dark));
  border-radius: 50%;
}
.s1 {
  width: 96px;
  height: 34px;
  bottom: 0;
}
.s2 {
  width: 78px;
  height: 30px;
  bottom: 30px;
  background: linear-gradient(180deg, var(--stone-2-light), var(--stone-2-dark));
}
.s3 {
  width: 58px;
  height: 25px;
  bottom: 56px;
  background: linear-gradient(180deg, var(--stone-3-light), var(--stone-3-dark));
}
.s4 {
  width: 38px;
  height: 18px;
  bottom: 78px;
  background: linear-gradient(180deg, var(--stone-4-light), var(--stone-4-dark));
}
.lotus {
  position: absolute;
  left: 16%;
  bottom: 20%;
  width: 90px;
  height: 90px;
}

/* phone */
.phone {
  position: absolute;
  right: -6px;
  bottom: 6px;
  width: 208px;
  height: 418px;
  border-radius: 38px;
  background: var(--phone-dark);
  padding: 8px;
  box-shadow: 0 40px 70px -28px var(--phone-shadow);
  z-index: 5;
}
.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 7px;
  background: var(--phone-dark);
  border-radius: 6px;
  z-index: 3;
}
.ph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px 8px;
}
.ph-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ph-brand .name {
  font-family: "Fraunces";
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 600;
}
.ph-burg {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ph-burg span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.ph-body {
  padding: 6px 14px;
}
.ph-body h4 {
  font-size: 1.05rem;
  line-height: 1.1;
}
.ph-body h4 .g {
  color: var(--forest);
  font-style: italic;
}
.ph-body p {
  font-size: 0.6rem;
  margin: 8px 0 12px;
  color: var(--ink-soft);
}
.ph-li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.ph-li .d {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  flex: none;
}
.ph-li .d svg {
  width: 9px;
  height: 9px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 2;
}
.ph-btn {
  margin-top: 8px;
  background: var(--forest);
  color: var(--paper);
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 9px;
  border-radius: 20px;
}
.ph-btn.o {
  background: transparent;
  border: 1px solid var(--sage-soft);
  color: var(--ink);
  margin-top: 6px;
}
.ph-img {
  margin-top: 10px;
  height: 80px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--scene-sky), var(--scene-mid));
}

/* section base */
section {
  padding: 50px 0;
}
.sec-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 20px;
}

/* why */
.why {
  background: var(--cream-2);
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.features.is-carousel {
  display: block;
  position: relative;
}
.features.is-carousel .feat {
  display: none;
  opacity: 0;
  transform: translateX(10px) scale(0.985);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.features.is-carousel .feat.active {
  display: block;
  opacity: 1;
  transform: translateX(0) scale(1);
}
.feat {
  text-align: center;
}
.feat .circ {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  transition: 0.3s;
}
.feat:hover .circ {
  transform: translateY(-6px);
  background: var(--sage-soft);
}
.feat .circ svg {
  width: 34px;
  height: 34px;
  stroke: var(--forest-deep);
  fill: none;
  stroke-width: 1.6;
}
.feat h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.feat p {
  font-size: 0.92rem;
}

/* testimonials */
.testi {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.quote-mark {
  position: absolute;
  font-family: "Fraunces";
  font-size: 13rem;
  color: var(--sage-soft);
  opacity: 0.45;
  line-height: 1;
  top: 60px;
  left: 30px;
  pointer-events: none;
}
.quote-mark.r {
  left: auto;
  right: 30px;
  top: auto;
  bottom: 30px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 2;
}
.card {
  background: var(--paper);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--sage), var(--forest-deep));
}
.person b {
  color: var(--ink);
  font-size: 0.92rem;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 38px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage-soft);
  border: none;
  cursor: pointer;
  transition: 0.25s;
}
.dot.active {
  background: var(--forest);
  width: 26px;
  border-radius: 6px;
}

/* pricing */
.pricing {
  background: var(--cream-2);
}
.plans {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  height: 482px;
}
.plan {
  position: absolute;
  top: 30px;
  width: calc((100% - 48px) / 3);
  background: var(--paper);
  border-radius: 24px;
  padding: 38px 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.45s ease,
              border-color 0.3s,
              box-shadow 0.3s;
}
.plan.pop {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding-top: 38px;
}
.plans .badge { display: none; }
.plan--center {
  border: 2px solid var(--forest) !important;
  box-shadow: var(--shadow) !important;
}
.plan--center.pop { padding-top: 58px; }
.plan--center .badge { display: flex; }
.plan--center .choose {
  background: var(--forest) !important;
  color: var(--paper) !important;
  border-color: var(--forest) !important;
}
.plan--center .choose:hover {
  background: var(--forest-hover) !important;
}
.badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--sage), var(--forest));
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px var(--badge-shadow);
}
.badge svg path {
  fill: var(--paper);
}
.plan .ptitle {
  font-family: "Mulish";
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--forest);
  margin-bottom: 18px;
}
.price {
  font-family: "Fraunces";
  font-size: 3.2rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
}
.price small {
  font-family: "Mulish";
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.plan ul {
  list-style: none;
  text-align: left;
  margin: 26px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.plan li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.plan li svg {
  width: 16px;
  height: 16px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 2.4;
  flex: none;
}
.plan .btn {
  width: 100%;
  justify-content: center;
}
.plan .choose {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--sage-soft);
}
.plan .choose:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.plan.pop .choose {
  background: var(--forest);
  color: var(--paper);
}
.plan.pop .choose:hover {
  background: var(--forest-hover);
}
.fineprint {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ─── services ─── */
.services {
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.services-img {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 515 / 419;
}
.services-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.services-img:hover img {
  transform: scale(1.03);
}
.services-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.services-tag {
  display: inline-block;
  font-family: "Mulish", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--forest);
  background: var(--mist);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 0;
}
.services-content h2 {
  font-size: 2.4rem;
  margin-bottom: 0;
  line-height: 1.18;
}
.services-content h2 .g {
  color: var(--forest);
}
.services-lead {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 0;
  max-width: 440px;
}
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sl-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s, transform 0.3s;
}
.services-list li:hover .sl-ic {
  background: var(--sage-soft);
  transform: translateY(-3px);
}
.sl-ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--forest-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services-list li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}
.services-list li strong {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body);
}
.services-list li span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ─── cards band ─── */
.cards-band {
  padding: 48px 0;
  background: var(--cream);
}
.cards-grid {
  display: flex;
  gap: 20px;
}
.card-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.card-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card-item h3 {
  padding: 16px 16px 12px;
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--ink);
  flex: 1;
}
.card-item .btn {
  margin: 0 16px 20px;
  font-size: 0.85rem;
  padding: 8px 18px;
}
@media (max-width: 700px) {
  .cards-grid { flex-wrap: wrap; }
  .card-item { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 400px) {
  .card-item { flex: 1 1 100%; }
}

/* ─── bento sections ─── */
.bento {
  padding: 0;
  background: var(--paper);
}
.bento.bento-alt {
  background: var(--cream-2);
}
.bento .wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.bento-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  align-items: stretch;
}
.bento-row--rev {
  direction: rtl;
}
.bento-row--rev > * {
  direction: ltr;
}
.bento-vis {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  border-radius: var(--r);
  margin: 40px 0 40px 0;
}
.bento-row--rev .bento-vis {
  margin: 40px 0 40px 40px;
}
.bento-row:not(.bento-row--rev) .bento-vis {
  margin: 40px 40px 40px 0;
}
/* colour variants */
.bvis-sage  { background: linear-gradient(145deg, var(--mist) 0%, var(--sage-soft) 100%); }
.bvis-forest { background: linear-gradient(145deg, var(--forest) 0%, var(--forest-deep) 100%); }
.bvis-mist  { background: linear-gradient(145deg, var(--cream) 0%, var(--mist) 100%); }
.bvis-deep  { background: linear-gradient(145deg, var(--forest-deep) 0%, #1c2e22 100%); }
/* decorative ring */
.bvis-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.bvis-forest .bvis-ring,
.bvis-deep .bvis-ring {
  border-color: rgba(255,255,255,0.14);
}
/* decorative filled circle */
.bvis-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.bvis-sage .bvis-circle   { background: rgba(255,255,255,0.25); }
.bvis-mist .bvis-circle   { background: rgba(255,255,255,0.35); }
.bvis-forest .bvis-circle { background: rgba(255,255,255,0.08); }
.bvis-deep .bvis-circle   { background: rgba(255,255,255,0.06); }
.bento-vis img {
  position: relative;
  z-index: 2;
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.18));
  transition: transform 0.5s ease;
}
.bvis-forest img,
.bvis-deep img {
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.35)) brightness(1.1);
}
.bento-vis:hover img {
  transform: translateY(-6px) scale(1.04);
}
.bento-txt {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.bento-tag {
  display: inline-block;
  font-family: "Mulish", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--forest);
  background: var(--mist);
  padding: 5px 14px;
  border-radius: 20px;
  width: fit-content;
}
.bento-txt h2 {
  font-size: 2.2rem;
  line-height: 1.18;
}
.bento-txt h2 .g {
  color: var(--forest);
}
.bento-txt > p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 420px;
}
.bento-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.bento-list svg {
  width: 16px;
  height: 16px;
  stroke: var(--forest);
  flex: none;
  margin-top: 2px;
}
/* bento photo cell — full-bleed image */
.bvis-photo {
  padding: 0;
  background: var(--mist);
  background-size: cover;
  background-position: center;
}
.bvis-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: none;
  transition: transform 0.5s ease;
}
.bvis-photo:hover img {
  transform: scale(1.04);
}
/* bento photo — background images par section */
.bvis-img--zen3   { background-image: url('../img/logozen.png'); }
.bvis-img--verifs { background-image: url('../img/bouddah-verifs1.png'); }
.bvis-img--form   { background-image: url('../img/bouddah-bordereau.png'); }
.bvis-img--faq    { background-image: url('../img/bouddah-faq2.png'); 
-webkit-transform: scaleX(-1);
  transform: scaleX(-1);}
.bvis-img--zen    { background-image: url('../img/bouddah-synthese.png'); }

/* footer brand row */
.foot-brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* modal contact — première section sans bordure */
.pref-section--intro {
  border-top: none;
  padding-top: 10px;
}

/* icône SVG cible remplie dans "Pourquoi ?" */
.circ-filled {
  fill: var(--forest-deep);
  stroke: none;
}

/* bento flush — no gap, no radius */
.bento--flush {
  padding: 0;
}
.bento--flush .wrap {
  padding: 0;
}
.bento--flush .bento-row {
  gap: 0;
  min-height: 440px;
}
.bento--flush .bento-vis {
  border-radius: 0;
  margin: 0 !important;
  padding: 50px 40px;
}
.bento--flush .bento-vis img {
  max-width: 180px;
  max-height: 180px;
}
.bento--flush .bento-txt {
  padding: 56px 52px;
}

/* responsive bento */
@media (max-width: 900px) {
  .bento-row,
  .bento-row--rev {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: unset;
  }
  .bento-vis {
    min-height: 260px;
    margin: 0 !important;
    border-radius: var(--r) var(--r) 0 0;
  }
  .bento--flush .bento-vis {
    border-radius: 0;
  }
  .bento--flush .wrap {
    padding: 0;
  }
  .bento-txt {
    padding: 40px 28px 48px;
    gap: 16px;
  }
  .bento-txt h2 {
    font-size: 1.75rem;
  }
  .bento-txt > p {
    max-width: 100%;
  }
  .bento-row--rev .bento-vis {
    order: -1;
  }
}
@media (max-width: 560px) {
  .bento-vis {
    min-height: 2600x;
    padding: 40px;
  }
  .bento-vis img {
    max-width: 120px;
    max-height: 120px;
  }
  .bento-txt {
    padding: 32px 20px 40px;
  }
  .bento-txt h2 {
    font-size: 1.5rem;
  }
}

/* cta band */
.band {
  padding: 0 0 90px;
}
.band .inner {
  background: linear-gradient(120deg, var(--band-light) 0%, var(--band-dark) 100%);
  border-radius: 28px;
  padding: 48px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.band .badge-ic {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--forest);
  display: grid;
  place-items: center;
  flex: none;
}
.band .badge-ic svg {
  width: 32px;
  height: 32px;
  stroke: var(--paper);
  fill: none;
  stroke-width: 1.8;
}
.band .txt {
  flex: 1;
  min-width: 260px;
}
.band h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.band p {
  color: var(--ink-soft);
}
.band .left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 300px;
}
/* ─── NOTE ─── */
.syn-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border-left: 3px solid var(--box-infos);
  border-radius: 0 6px 6px 0;
  background: var(--box-infos-light);
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
/* footer */
footer {
  background: var(--footer);
  color: var(--footer-soft);
  padding: 64px 0 26px;
  position: relative;
  overflow: hidden;
}
.foot-lotus {
  position: absolute;
  right: 40px;
  bottom: 30px;
  width: 170px;
  height: 170px;
  opacity: 0.16;
  stroke: var(--footer-soft);
}
/* desktop : brand + 4 colonnes sur une seule ligne (foot-cols / foot-col-group
   sont "transparents" et laissent leurs .foot-col rejoindre directement la grille) */
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.foot-cols {
  display: contents;
}
.foot-col-group {
  display: contents;
}
.foot-brand .name {
  font-family: "Fraunces";
  font-size: 1.5rem;
  color: var(--paper);
  font-weight: 600;
}
.foot-brand svg path {
  stroke: var(--footer-soft);
}
.foot-brand .sub {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--footer-soft);
}
.foot-qrcode {
  display: block;
  width: 120px;
  height: 120px;
  margin: 18px auto 0;
  border-radius: 8px;
  background: var(--paper);
  padding: 6px;
}
.foot-col h5 {
  color: var(--paper);
  font-family: "Mulish";
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.foot-col a {
  font-size: 0.9rem;
  color: var(--footer-soft);
}
.foot-col a:hover {
  color: var(--paper);
}
.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--socials-bg);
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.socials a:hover {
  background: var(--forest);
}
.socials svg {
  width: 17px;
  height: 17px;
  fill: var(--paper);
}
.rating {
  font-weight: 800;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}
.rating .s {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}
.rating-lab {
  font-size: 0.8rem;
  color: var(--footer-soft);
  margin-top: 4px;
}
.copyright {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
  font-size: 0.82rem;
  color: var(--footer-soft);
  position: relative;
  z-index: 2;
}

/* ─── preferences modal ─── */
.pref-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26, 35, 30, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pref-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.pref-modal {
  background: var(--paper);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.28);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.28s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.pref-overlay.open .pref-modal {
  transform: none;
}
.pref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  box-shadow: 0 1px 0 var(--line);
}
.pref-title {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
}
.pref-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--mist);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
  flex: none;
}
.pref-close:hover {
  background: var(--sage-soft);
}
.pref-close:focus { outline: none; }
.pref-close svg {
  stroke: var(--ink-soft);
}
.pref-body {
  padding: 16px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pref-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  z-index: 2;
}
.pref-section {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.pref-section:first-child {
  border-top: none;
  padding-top: 14px;
}
.pref-section-title {
  font-family: "Mulish", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
/* radio — fonts */
.pref-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pref-radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  transition: 0.18s;
}
.pref-radio-item:hover {
  border-color: var(--sage);
  background: var(--mist);
}
.pref-radio-item:has(input:checked) {
  border-color: var(--forest);
  background: var(--mist);
}
.pref-radio-item input {
  display: none;
}
.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex: none;
  display: grid;
  place-items: center;
  transition: 0.18s;
}
.pref-radio-item:has(input:checked) .radio-dot {
  background: var(--forest);
  border-color: var(--forest);
}
.radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0;
  transition: 0.18s;
}
.pref-radio-item:has(input:checked) .radio-dot::after {
  opacity: 1;
}
.radio-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.radio-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.radio-desc {
  font-size: 0.72rem;
  color: var(--ink-soft);
}
/* colour swatches */
.pref-colors {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  outline: 2.5px solid transparent;
  outline-offset: 2px;
  cursor: pointer;
  transition: 0.2s;
  display: grid;
  place-items: center;
}
.color-swatch::after {
  content: "✓";
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: 0.18s;
}
.color-swatch.active {
  outline-color: var(--ink);
  transform: scale(1.1);
}
.color-swatch.active::after {
  opacity: 1;
}
.color-swatch[data-color="vert"]  { background: #5d7d57; }
.color-swatch[data-color="bleu"]  { background: #2d7fc4; }
.color-swatch[data-color="ocre"]  { background: #8b6333; }
.color-swatch[data-color="mauve"] { background: #7a5c8a; }
/* theme toggle */
.pref-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.theme-opt {
  cursor: pointer;
}
.theme-opt input {
  display: none;
}
.theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: 0.18s;
}
.theme-card svg {
  stroke: currentColor;
}
.theme-opt:hover .theme-card {
  border-color: var(--sage);
  color: var(--ink);
  background: var(--mist);
}
.theme-opt input:checked + .theme-card {
  border-color: var(--forest);
  background: var(--mist);
  color: var(--ink);
}
@media (max-width: 560px) {
  .pref-overlay {
    padding: 12px;
  }
  .pref-modal {
    max-width: 100%;
    max-height: 92vh;
  }
  .pref-body {
    padding: 12px 14px 16px;
  }
}
@media (max-width: 380px) {
  .pref-footer {
    flex-direction: column;
    gap: 8px;
  }
  .pref-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── pref font size slider ─── */
.pref-size-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pref-size-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1;
  flex: none;
}
.pref-size-label.lg { font-size: 1.15rem; }
.pref-size-slider {
  flex: 1;
  accent-color: var(--forest);
  cursor: pointer;
}
.pref-size-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  min-width: 36px;
  text-align: right;
}
.pref-icon {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.55;
  transition: opacity 0.18s;
}
a:hover .pref-icon { opacity: 0.9; }
[data-theme="dark"] .pref-icon { filter: invert(1); }

/* ─── contact modal ─── */
.contact-modal { max-width: 480px; }
.contact-intro {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.req { color: var(--forest); }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  resize: none;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-soft); opacity: 0.5; }
.field input:focus,
.field textarea:focus { border-color: var(--forest); background: var(--paper); }
.field input.err,
.field textarea.err { border-color: #d95c5c; }
.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mist);
  border-radius: 10px;
  padding: 11px 14px;
}
.captcha-wrap svg { stroke: var(--ink-soft); flex: none; }
.captcha-q {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.captcha-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  width: 64px;
  text-align: center;
  outline: none;
  transition: border-color 0.18s;
  /* -moz-appearance: textfield; */
}
.captcha-input::-webkit-inner-spin-button,
.captcha-input::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; }
.captcha-input:focus { border-color: var(--forest); }
.captcha-input.err { border-color: #d95c5c; }
.contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 28px 16px 12px;
}
.contact-success[hidden] { display: none; }
.contact-success svg { stroke: var(--forest); }
.contact-success p { font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.contact-close-success { margin-top: 4px; }
.contact-send-error {
  font-size: 0.82rem;
  color: #d95c5c;
  text-align: center;
}
.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ─── auth modal ─── */
.auth-modal { max-width: 440px; }
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--mist);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 9px 0;
  border-radius: 9px;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.auth-tab.active {
  background: var(--paper);
  color: var(--forest);
  box-shadow: 0 2px 8px -2px var(--btn-shadow);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.auth-form[hidden] {
  display: none;
}
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.auth-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 6px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.social-btn:hover {
  background: var(--cream-2);
  border-color: var(--forest);
}
.social-btn svg { flex: none; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
@media (max-width: 400px) {
  .social-btn span { display: none; }
}

/* ─── side drawer ─── */
.drw-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 35, 30, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drw-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.drw {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  z-index: 90;
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
    border-radius: 0px 10px 10px 0px;
}
.drw.open {
  transform: translateX(0);
}
.drw-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--mist);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.2s;
  flex-shrink: 0;
}
.drw-close:hover {
  background: var(--sage-soft);
}
.drw-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 26px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  text-align: center;
}
.drw-title {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 10px;
}
.drw-sub {
  font-family: "Mulish", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-top: 4px;
}
.drw-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding: 16px 0;
}
.drw-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  font-family: "Mulish", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.drw-link:hover,
.drw-link--active {
  color: var(--forest);
  background: var(--mist);
  border-left-color: var(--forest);
}
.drw-qrcode {
  display: block;
  width: 92px;
  height: 92px;
  margin: 18px auto 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 6px;
}
.drw-footer {
  flex: none;
  text-align: center;
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line);
  font-family: "Mulish", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.drw-footer .drw-link {
  display: inline;
  padding: 0;
  border-left: none;
  font: inherit;
  font-weight: 700;
  color: var(--forest);
}
.drw-footer .drw-link:hover {
  background: none;
  color: var(--forest-hover);
  text-decoration: underline;
}

/* ─── back to top ─── */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border-radius: 30%;
  border: 3px solid #fff;
  background: var(--forest);
  color: var(--paper);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -8px var(--btn-shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-top:hover {
  background: var(--forest-hover);
  transform: translateY(-2px);
}

/* pref-btn, account-btn et user-btn forment un groupe de 3 boutons ronds
   orange, regroupés dans une capsule blanche empilée juste au-dessus du
   bouton "retour en haut" (bottom/right alignés sur .back-top), qui
   grandit vers le haut à l'ouverture pour ne jamais le recouvrir. Sur
   ordinateur, les 3 boutons restent visibles en permanence (légère
   transparence au repos). Sur mobile, seul le 1er bouton (compact) reste
   visible ; le toucher déplie les 3 boutons, qui se replient tout seuls
   après quelques secondes, au tap ailleurs ou au scroll (cf. is-touched,
   contact.js). */
.side-actions {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 10px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: none;
  opacity: 0.55;
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}
.side-actions:hover,
.side-actions:focus-within,
.side-actions:active,
.side-actions.is-touched {
  opacity: 1;
  box-shadow: 0 12px 32px -8px var(--btn-shadow);
}

/* mobile : capsule repliée sur le seul bouton pref-btn, dépliée au tap */
@media (max-width: 900px) {
  .side-actions,
  .side-actions:hover,
  .side-actions:active {
    opacity: 0.55;
    gap: 0;
    padding: 6px;
    box-shadow: 0 8px 20px -8px var(--btn-shadow);
    transition: padding 0.3s ease, gap 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  }
  .side-actions .account-btn,
  .side-actions .user-btn {
    max-height: 0;
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.3s ease;
  }
  .side-actions.is-touched,
  .side-actions:focus-within {
    opacity: 1;
    padding: 16px 10px;
    gap: 14px;
  }
  .side-actions.is-touched .account-btn,
  .side-actions.is-touched .user-btn,
  .side-actions:focus-within .account-btn,
  .side-actions:focus-within .user-btn {
    max-height: 60px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
.pref-btn,
.user-btn,
.account-btn {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ff8a1f;
  color: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(255, 122, 0, 0.55);
  transition: background 0.2s, transform 0.2s;
}
.pref-btn svg,
.user-btn svg,
.account-btn svg {
  width: 20px;
  height: 20px;
}
.pref-btn:hover,
.user-btn:hover,
.account-btn:hover {
  background: #e6720a;
  transform: scale(1.06);
}

/* entrance animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.8s ease forwards;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.d1 {
  animation-delay: 0.05s;
}
.d2 {
  animation-delay: 0.15s;
}
.d3 {
  animation-delay: 0.25s;
}
.d4 {
  animation-delay: 0.35s;
}
.d5 {
  animation-delay: 0.45s;
}
.d6 {
  animation-delay: 0.55s;
}

/* ─── scroll reveal ─── */
.sr {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sr--visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 900px) {
  header nav ul,
  header .brand .sub {
    display: none;
  }
  .features {
    gap: 24px;
  }
  .features.is-carousel .feat {
    max-width: 560px;
    margin: 0 auto;
  }
  .menu-btn {
    display: block;
  }
  .hero .grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 48px 22px 60px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .scene {
    height: 440px;
    margin-top: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-content h2 {
    font-size: 1.9rem;
  }
  .services-lead {
    max-width: 100%;
  }
  .features,
  .cards {
    grid-template-columns: 1fr;
  }
  .plan {
    width: calc(100% - 48px);
  }
  .cards .card:nth-child(n + 2) {
    display: none;
  }
  .features {
    gap: 40px;
  }
  /* mobile : le titre reste sur sa propre ligne, puis 2 colonnes
     (navigation+zenconseils / partenaires+suivez-nous) */
  .foot-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .foot-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .foot-col-group {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .sec-title {
    font-size: 1.9rem;
  }
  .band .inner {
    padding: 36px 28px;
  }
}
@media (max-width: 560px) {
  .services-img {
    border-radius: 16px;
  }
  .services-content h2 {
    font-size: 1.65rem;
  }
  .band .inner {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
  }
  .band .left {
    min-width: 0;
  }
  .band .txt {
    min-width: 0;
  }
  .band .inner > .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .phone {
    width: 170px;
    height: 340px;
    right: 0;
  }
  .scene {
    height: 400px;
  }
  .foot-grid {
    padding-inline: 8px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   TOGGLE-REVEAL — composant partagé (Vérifications / Questions / Bordereau)
   .vrf-toggle    : contrôle segmenté (onglets)
   .vrf-action    : cadre qui affiche le texte associé à l'onglet actif
   .vrf-confirm*  : modale de confirmation générique (ex. "Ouvrir le PDF ?")
   ══════════════════════════════════════════════════════════════════ */

/* ─── ACTION BAR ─── */
.vrf-action {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 18px;
}
.vrf-action .syn-note1 {
  min-width: 0;
}

/* ─── TOGGLE (segmented control, style "pilule", texte seul) ─── */
.vrf-toggle {
  display: flex;
  width: fit-content;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--paper);
  margin: 0 auto 18px;

  border: 1px solid var(--line);
  border-radius: 8px;
}
.vrf-toggle-btn {
  cursor: pointer;
}
.vrf-toggle-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.vrf-toggle-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.vrf-toggle-btn input:checked + span {
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 4px 14px -4px var(--btn-shadow);
}
.vrf-toggle-btn:hover input:not(:checked) + span {
  background: var(--mist);
}

/* mobile : capsule pleine largeur, segments égaux, texte sur 2 lignes au besoin */
@media (max-width: 700px) {
  .vrf-toggle {
    display: flex;
    width: 100%;
  }
  .vrf-toggle-btn {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }
  .vrf-toggle-btn span {
    width: 100%;
    padding: 9px 8px;
    font-size: 0.83rem;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .vrf-toggle-btn span {
    font-size: 0.76rem;
    padding: 8px 4px;
  }
}
@media (max-width: 560px) {
  .vrf-action {
    padding: 14px 16px;
    gap: 12px;
  }
}

/* ─── CONFIRM (modale générique oui/non) ─── */
.vrf-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,35,30,0.55);
  backdrop-filter: blur(4px);
  z-index: 920;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vrf-confirm-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.vrf-confirm {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.25s ease;
  width: min(90vw, 360px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.28);
  z-index: 921;
  padding: 28px 24px 24px;
  text-align: center;
}
.vrf-confirm.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.vrf-confirm p {
  margin: 0 0 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.vrf-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.vrf-confirm-actions .btn {
  padding: 11px 26px;
  font-size: 0.9rem;
}
