/* Wibzo — wibzo.ch */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0D0F0E;
  --bg-2: #151816;
  --line: #262a27;
  --lime: #C6FF3D;
  --lime-ink: #0D0F0E;
  --text: #F2F0EA;
  --muted: #9a9d97;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--lime-ink); padding: 10px 14px; font-weight: 700; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* Logo texte */
.logo {
  font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.04em;
  text-decoration: none; line-height: 1;
}
.logo--sm { font-size: 24px; }
.dot { color: var(--lime); }

/* Bouton */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 22px;
  background: var(--lime); color: var(--lime-ink);
  font: 700 17px/1.2 var(--body); text-decoration: none; text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, .45);
  transition: transform .2s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(198, 255, 61, .6); }
.btn:active { transform: translateY(0); }
.btn .wa { width: 22px; height: 22px; flex: none; }
.btn--xl { min-height: 64px; font-size: 18px; padding: 18px 28px; }
.btn--block { width: 100%; }

/* Header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.top__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.top__cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 500; font-size: 15px;
  transition: border-color .2s;
}
.top__cta:hover { border-color: var(--lime); }
.top__cta .wa { width: 18px; height: 18px; color: var(--lime); }

/* Hero */
.hero { padding: 104px 0 64px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px;
  margin-bottom: 22px;
}
.pin { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198,255,61,.15); }
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 12.5vw, 92px); line-height: .95; letter-spacing: -0.045em;
  max-width: 11ch;
}
.hero__title em { font-style: normal; color: var(--lime); }
.hero__sub { margin-top: 22px; font-size: 19px; max-width: 34ch; color: var(--text); }
.hero__actions { margin-top: 30px; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero__visual { display: none; position: relative; justify-self: end; }
.hero__visual .tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; }

/* Mot par mot */
.word { display: inline-block; }
.js .hero__title .word { opacity: 0; transform: translateY(.35em); animation: wordIn .5s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* Apparition au scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Sections communes */
section { padding: 72px 0; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 14px;
}
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 7.5vw, 52px); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 20ch;
}
.muted { color: var(--muted); }
.hl { color: var(--lime); }

/* Problème */
.problem { border-top: 1px solid var(--line); }
.problem__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 8vw, 64px); line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch;
}
.problem__grid { display: grid; gap: 10px; margin-top: 28px; font-size: 19px; max-width: 40ch; }
.problem__grid strong { font-weight: 700; }

/* Étapes */
.steps { background: var(--bg-2); }
.steps__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.04em;
  color: var(--lime);
}
.step h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.step p { margin-top: 6px; color: var(--muted); }
.step p strong { font-weight: 700; }

/* Contenu du site */
.features__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.feature { padding: 22px 0 22px 28px; border-top: 1px solid var(--line); position: relative; }
.feature::before {
  content: ""; position: absolute; left: 0; top: 31px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime);
}
.feature h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.feature p { margin-top: 4px; color: var(--muted); max-width: 46ch; }

/* Exemples */
.examples { background: var(--bg-2); padding-bottom: 80px; }
.examples__note { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.examples__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 40px var(--gutter) 12px; margin: 0 auto; max-width: var(--wrap);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.example { margin: 0; flex: 0 0 auto; scroll-snap-align: center; display: grid; gap: 16px; justify-items: center; }
.example figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.example figcaption b { color: var(--text); font-weight: 700; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--text); color: var(--bg); padding: 4px 9px; border-radius: 999px;
}

/* Cadre téléphone */
.phone {
  width: 236px; aspect-ratio: 9 / 18.5; padding: 9px;
  background: #1d201e; border: 1px solid #333833; border-radius: 34px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone__screen { height: 100%; border-radius: 26px; overflow: hidden; position: relative; }
.phone--hero { width: 290px; transform: rotate(3deg); }

/* Mini-sites (maquettes fictives) */
.m { height: 100%; display: flex; flex-direction: column; font-size: 11px; line-height: 1.35; }
.m__bar { display: flex; justify-content: space-between; align-items: center; padding: 26px 14px 10px; font-weight: 700; font-size: 12px; }
.m__bar i { font-style: normal; opacity: .7; }
.m__hero { padding: 18px 14px 20px; display: grid; gap: 8px; }
.m__hero small { text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 700; opacity: .7; }
.m__hero b { font-size: 21px; line-height: 1.05; letter-spacing: -0.02em; }
.m__btn { justify-self: start; margin-top: 6px; padding: 8px 12px; font-weight: 700; font-size: 11px; border-radius: 6px; }
.m__rows, .m__menu { padding: 4px 14px; display: grid; gap: 0; }
.m__rows p, .m__menu p { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid currentColor; border-color: rgba(0,0,0,.12); }
.m__tiles { padding: 4px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m__tiles span { aspect-ratio: 1.3; display: flex; align-items: flex-end; padding: 8px; font-weight: 700; border-radius: 4px; }
.m__call { margin: auto 14px 16px; text-align: center; padding: 10px; font-weight: 700; border-radius: 8px; }

.m--salon { background: #f6ede6; color: #2b1d1a; font-family: Georgia, "Times New Roman", serif; }
.m--salon .m__hero { background: #e8cfc2; margin: 0 10px; border-radius: 14px; }
.m--salon .m__hero b { font-style: italic; font-weight: 400; font-size: 23px; }
.m--salon .m__btn { background: #2b1d1a; color: #f6ede6; font-family: var(--body); }
.m--salon .m__rows { font-family: var(--body); margin-top: 8px; }
.m--salon .m__call { background: #2b1d1a; color: #f6ede6; font-family: var(--body); }

.m--bois { background: #1f2a22; color: #efe6d6; font-family: var(--body); }
.m--bois .m__hero b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; }
.m--bois .m__btn { background: #d9a35b; color: #1f2a22; }
.m--bois .m__tiles span { background: #2d3b30; border-left: 3px solid #d9a35b; }
.m--bois .m__call { background: #d9a35b; color: #1f2a22; }

.m--tilleul { background: #fbf8ef; color: #23331f; font-family: var(--body); }
.m--tilleul .m__bar { border-bottom: 2px solid #23331f; margin: 0 14px; padding-left: 0; padding-right: 0; font-family: Georgia, serif; font-size: 14px; }
.m--tilleul .m__hero b { font-family: Georgia, serif; font-weight: 400; font-size: 22px; }
.m--tilleul .m__btn { background: #5b7a3a; color: #fbf8ef; border-radius: 999px; }
.m--tilleul .m__menu { background: #eef0dc; margin: 0 14px; border-radius: 6px; padding: 8px 12px; }
.m--tilleul .m__menu em { font-family: Georgia, serif; font-size: 13px; }
.m--tilleul .m__call { border: 2px solid #23331f; }

/* Qui suis-je */
.about__grid { display: grid; gap: 4px; }
.about__text { margin-top: 18px; font-size: 19px; max-width: 46ch; }
.about__text + .about__text { color: var(--muted); font-size: 17px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__list { margin-top: 36px; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; min-height: 44px; font-size: 19px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; font-weight: 500; font-size: 20px; color: var(--lime);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); max-width: 60ch; }

/* Appel final */
.final { background: var(--lime); color: var(--lime-ink); padding: 80px 0; }
.final__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 10vw, 80px); line-height: .98; letter-spacing: -0.045em; max-width: 14ch;
}
.final .dot { color: var(--lime-ink); }
.final__sub { margin-top: 18px; font-size: 19px; font-weight: 500; }
.final .btn { margin-top: 30px; background: var(--bg); color: var(--text); }
.final .btn .wa { color: var(--lime); }
.final .btn:hover { box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.final__tel { margin-top: 16px; font-size: 16px; }
.final__tel a { font-weight: 700; }

/* Pied de page */
.foot { padding: 40px 0 120px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot .logo { color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-underline-offset: 3px; }
.foot nav a, .foot p a { display: inline-block; padding: 6px 0; }

/* Barre fixe mobile */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 15, 14, .92); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky.is-on { transform: none; }
.sticky .btn { min-height: 52px; }

/* Tablette + */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  section { padding: 104px 0; }
  .problem__grid { grid-template-columns: 1fr 1fr; max-width: 760px; gap: 32px; }
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
  .step__n { font-size: 64px; }
  .features__list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .examples__track { justify-content: center; gap: 36px; }
  .about__grid { grid-template-columns: 1fr 2fr; gap: 32px; }
  .foot { padding-bottom: 40px; }
}

/* Desktop */
@media (min-width: 960px) {
  .hero { padding: 140px 0 96px; min-height: min(92vh, 860px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.25fr 1fr; width: 100%; }
  .hero__visual { display: block; }
  .sticky { display: none; }
  .phone { width: 250px; }
  .phone--hero { width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__title .word { opacity: 1 !important; transform: none !important; }
}

/* Pages légales */
.top--static { position: static; border-bottom: 1px solid var(--line); }
.legal__body { padding-top: 48px; padding-bottom: 72px; max-width: 760px; }
.legal__body h2 { font-size: 20px; font-weight: 700; margin: 36px 0 8px; }
.legal__body p { color: var(--muted); max-width: 64ch; }
.legal__body p + p { margin-top: 10px; }
.legal__body a { color: var(--text); text-underline-offset: 3px; }
.legal__body strong { color: var(--text); }
.legal__date { margin-top: 40px; font-size: 14px; }
.legal .foot { padding-bottom: 40px; }

/* ===== V2 : scène 3D, bande métiers, étapes en flux ===== */
@property --fy { syntax: "<length>"; inherits: true; initial-value: 0px; }

.hero__visual.stage { display: block; }
.stage {
  position: relative; height: 380px; margin: 8px calc(var(--gutter) * -1) 0;
  --rx: 0deg; --ry: 0deg; --s: 0;
}
.stage__scale { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.62); perspective: 1100px; perspective-origin: 50% 40%; }
.stage__inner {
  position: relative; width: 236px; aspect-ratio: 9 / 18.5;
  transform-style: preserve-3d;
  transform: translateY(var(--fy)) rotateX(calc(var(--rx) + var(--s) * 18deg)) rotateY(var(--ry));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { --fy: -6px; } 50% { --fy: 8px; } }
.p3d { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.p3d .phone { width: 100%; height: 100%; }
.p3d--c { transform: translateZ(60px); }
.p3d--l { transform: translateX(calc(-72% - var(--s) * 40%)) translateZ(-90px) rotateY(32deg); }
.p3d--r { transform: translateX(calc(72% + var(--s) * 40%)) translateZ(-90px) rotateY(-32deg); }
.p3d--l .phone, .p3d--r .phone { filter: brightness(.72); }
.p3d .phone { box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.05); }
.p3d .phone__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 38%);
  transform: translateX(calc(var(--ry) * 2));
}
.stage__glow {
  position: absolute; left: 50%; bottom: 6%; width: 70%; height: 40px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(198,255,61,.28), transparent); filter: blur(8px);
}
.stage__tag { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; }
/* Entrée : les téléphones se déploient */
.js .stage .p3d--l, .js .stage .p3d--r { transform: translateX(0) translateZ(-90px) rotateY(0deg); }
.js .stage.is-in .p3d--l { transform: translateX(calc(-72% - var(--s) * 40%)) translateZ(-90px) rotateY(32deg); }
.js .stage.is-in .p3d--r { transform: translateX(calc(72% + var(--s) * 40%)) translateZ(-90px) rotateY(-32deg); }
.stage.is-live .p3d { transition: none; }

/* Bande métiers */
.band { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--bg); }
.band__track {
  display: flex; gap: 28px; align-items: center; width: max-content; white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 7vw, 56px); letter-spacing: -0.035em;
  transform: translateX(var(--bx, 0px)); will-change: transform;
}
.band__track i { font-style: normal; color: var(--lime); font-size: .4em; }
.band__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

/* Étapes : ligne qui se remplit */
.steps__list { position: relative; --p: 0; }
.steps__line { position: absolute; left: 21px; top: 46px; bottom: 46px; width: 2px; background: var(--line); list-style: none; }
.steps__line span { position: absolute; inset: 0; background: var(--lime); transform-origin: top; transform: scaleY(var(--p)); }
.step { border-top: 0 !important; border-bottom: 0 !important; grid-template-columns: 44px 1fr; padding: 22px 0; position: relative; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px !important; letter-spacing: 0; border: 2px solid var(--line); background: var(--bg-2); color: var(--muted);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  position: relative; z-index: 1;
}
.step.is-on .step__n { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: scale(1.08); box-shadow: 0 0 0 6px rgba(198,255,61,.12); }
.step h3, .step p { transition: opacity .4s; }
.js .step:not(.is-on) h3 { opacity: .55; }

@media (min-width: 720px) {
  .stage { height: 460px; }
  .stage__scale { transform: translate(-50%, -50%) scale(.82); }
  .steps__line { left: 22px; right: calc((100% - 64px) / 3 - 22px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps__line span { transform-origin: left; transform: scaleX(var(--p)); }
  .step { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 960px) {
  .stage { height: 600px; margin: 0; width: 100%; }
  .stage__scale { transform: translate(-50%, -50%) scale(1.05); }
  .hero__grid { grid-template-columns: 1.1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .stage__inner { animation: none; }
  .js .stage .p3d--l { transform: translateX(-72%) translateZ(-90px) rotateY(32deg) !important; }
  .js .stage .p3d--r { transform: translateX(72%) translateZ(-90px) rotateY(-32deg) !important; }
  .band__track { transform: none !important; }
}
.hero__visual.stage { justify-self: stretch; }

/* ===== V3 : plus de visuels, moins de texte ===== */

/* Problème : fausse recherche Google */
.problem__layout { display: grid; gap: 40px; align-items: center; }
.problem__lead { margin-top: 24px; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 5vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.serp {
  background: #fff; color: #202124; border-radius: 18px; padding: 16px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); max-width: 440px; width: 100%;
  font-family: var(--body); transform: rotate(-1.5deg);
}
.serp__bar {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px;
  border: 1px solid #dfe1e5; font-size: 16px; box-shadow: 0 1px 6px rgba(32,33,36,.18);
}
.serp__bar svg { width: 18px; height: 18px; fill: none; stroke: #5f6368; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.serp__res { position: relative; margin-top: 14px; padding: 14px; border-radius: 12px; display: grid; gap: 6px; }
.serp__res--win { border: 2px solid #1a73e8; background: #f4f8ff; }
.serp__res--lose { border: 2px dashed #dadce0; opacity: .75; filter: grayscale(1); }
.serp__site { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4d5156; }
.serp__fav { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #1a73e8; color: #fff; font-size: 11px; font-weight: 700; }
.serp__res--lose .serp__fav { background: #9aa0a6; }
.serp__res b { font-size: 18px; color: #1a0dab; font-weight: 500; line-height: 1.25; }
.serp__res--lose b { color: #70757a; }
.serp__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.serp__btns span { font-size: 13px; padding: 5px 12px; border: 1px solid #dadce0; border-radius: 999px; color: #1a73e8; background: #fff; }
.serp__res--lose .serp__btns span { color: #9aa0a6; }
.serp__flag {
  position: absolute; right: -8px; top: -12px; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: #3c4043; color: #fff; transform: rotate(3deg);
}
.serp__flag--win { background: var(--lime); color: var(--lime-ink); }

/* Chiffres clés */
.stats { padding: 0; border-top: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px 8px; display: grid; gap: 6px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 9vw, 72px); line-height: 1; letter-spacing: -0.04em; color: var(--lime); white-space: nowrap; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.3; }

/* Étapes + conversation WhatsApp */
.steps__layout { display: grid; gap: 48px; align-items: center; }
.chat {
  margin: 0; position: relative; width: 100%; max-width: 360px; justify-self: center;
  border-radius: 22px; overflow: hidden; background: #0b141a;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px #262a27;
  font-size: 14.5px; line-height: 1.35;
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #202c33; }
.chat__head b { display: block; font-size: 15px; }
.chat__head small { color: #8696a0; font-size: 12px; }
.chat__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-family: var(--display); font-weight: 800; font-size: 18px; }
.chat__body {
  padding: 16px 12px 44px; display: flex; flex-direction: column; gap: 8px;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 14px 14px;
}
.msg {
  max-width: 82%; align-self: flex-start; padding: 7px 10px 6px; border-radius: 10px; border-top-left-radius: 2px;
  background: #202c33; color: #e9edef;
}
.msg--me { align-self: flex-end; background: #005c4b; border-radius: 10px; border-top-right-radius: 2px; }
.msg time { display: block; text-align: right; font-size: 11px; color: rgba(233,237,239,.6); margin-top: 2px; }
.msg--card { padding: 4px; }
.msg--card p { padding: 6px 6px 2px; }
.chat__preview {
  background: #f6ede6; color: #2b1d1a; border-radius: 8px; padding: 14px 14px 16px; display: grid; gap: 6px;
  font-family: Georgia, "Times New Roman", serif;
}
.chat__preview small { font: 700 9px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.chat__preview b { font-style: italic; font-weight: 400; font-size: 21px; line-height: 1.05; }
.chat__preview span { justify-self: start; margin-top: 4px; padding: 6px 10px; border-radius: 6px; background: #2b1d1a; color: #f6ede6; font: 700 11px/1 var(--body); }
.chat__tag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; }
/* Les messages apparaissent un par un */
.js .chat .msg { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .chat.is-in .msg { opacity: 1; transform: none; }
.js .chat.is-in .msg:nth-child(2) { transition-delay: .6s; }
.js .chat.is-in .msg:nth-child(3) { transition-delay: 1.3s; }
.js .chat.is-in .msg:nth-child(4) { transition-delay: 2.1s; }

/* Les étapes restent en colonne (la conversation est à côté) */
@media (min-width: 720px) {
  .steps__list { grid-template-columns: 1fr; gap: 0; }
  .steps__line { left: 22px; right: auto; top: 46px; bottom: 46px; width: 2px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--p)); }
  .step { grid-template-columns: 44px 1fr; gap: 18px; }
  .step__n { font-size: 20px !important; }
}

/* Fonctionnalités en cartes avec icônes */
.features__list--cards { grid-template-columns: 1fr 1fr; gap: 12px !important; }
.feature--card {
  padding: 20px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.feature--card::before { display: none; }
.feature--card:hover { border-color: var(--lime); transform: translateY(-3px); }
.feature__ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(198,255,61,.12); margin-bottom: 16px;
}
.feature__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature--card h3 { font-size: 17px; line-height: 1.25; }
.feature--card p { font-size: 15px; }

/* Qui suis-je */
.about__id { display: flex; align-items: center; gap: 16px; }
.about__av {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink); font-family: var(--display); font-weight: 800; font-size: 30px;
}
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 15px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }

@media (min-width: 720px) {
  .stat { padding: 48px 16px; }
  .stat span { font-size: 16px; }
  .features__list--cards { grid-template-columns: repeat(4, 1fr); gap: 16px !important; }
  .feature--card { padding: 26px 22px; }
}
@media (min-width: 960px) {
  .problem__layout { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .serp { justify-self: end; }
  .steps__layout { grid-template-columns: 1fr 1fr; gap: 64px; }
  .steps__layout .steps__list { margin-top: 0; }
  .steps .h2 { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .chat .msg { opacity: 1 !important; transform: none !important; }
}
/* Rien ne dépasse sur les côtés (téléphones 3D, exemples) */
.hero, .examples { overflow-x: clip; }

/* ===== V3 : démos interactives (réservation, devis, carte) ===== */
.demos { background: var(--bg-2); }
.demos__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
.dtab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  padding: 14px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.dtab:hover { border-color: #3a4038; }
.dtab[aria-selected="true"] { border-color: var(--lime); background: rgba(198,255,61,.07); }
.dtab b { display: block; font-size: 14px; line-height: 1.2; }
.dtab small { display: none; color: var(--muted); font-size: 13px; margin-top: 2px; }
.dtab__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(198,255,61,.12); flex: none; }
.dtab__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dtab[aria-selected="true"] .dtab__ic { background: var(--lime); }
.dtab[aria-selected="true"] .dtab__ic svg { stroke: var(--lime-ink); }

.demos__stage { margin-top: 36px; }
.dpanel { display: grid; gap: 32px; justify-items: center; animation: panelIn .45s var(--ease); }
.dpanel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.demos__note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 14px; }

/* Téléphone de démo */
.dphone {
  width: min(330px, 100%); height: 640px; padding: 10px; display: flex; flex-direction: column;
  background: #1d201e; border: 1px solid #333833; border-radius: 46px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.dphone__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 26px 4px; background: #fff; color: #111; font: 600 13px/1 var(--body);
  border-radius: 36px 36px 0 0;
}
.dphone__sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.dphone__sig i { width: 3px; background: #111; border-radius: 1px; }
.dphone__sig i:nth-child(1) { height: 4px; } .dphone__sig i:nth-child(2) { height: 6px; }
.dphone__sig i:nth-child(3) { height: 8px; } .dphone__sig i:nth-child(4) { height: 11px; }
.dphone__url {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: #fff; color: #333; padding: 6px 14px 9px; font: 500 12px/1 var(--body);
}
.dphone__url svg { width: 11px; height: 11px; fill: none; stroke: #555; stroke-width: 2.4; }
.site {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  font-family: var(--body); font-size: 14px; line-height: 1.4;
}
.site::-webkit-scrollbar { display: none; }
.dphone__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px 14px; border-radius: 0 0 36px 36px; }
.dphone__bar span { text-align: center; padding: 11px 0; border-radius: 12px; font: 700 13px/1 var(--body); }

/* Éléments communs des mini-sites */
.site button { font: inherit; color: inherit; cursor: pointer; }
.s-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 15px; }
.s-hero { position: relative; padding: 26px 18px 30px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.s-hero > * { position: relative; }
.s-hero small { font: 700 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.s-hero h3 { font-size: 28px; line-height: 1.02; letter-spacing: -0.02em; max-width: 12ch; }
.s-card { margin: 0 12px; padding: 16px; border-radius: 18px; }
.s-cta { display: block; width: 100%; margin-top: 16px; padding: 14px; border: 0; border-radius: 12px; font-weight: 700 !important; font-size: 14px; transition: opacity .2s, transform .15s; }
.s-cta:active:not(:disabled) { transform: scale(.98); }
.s-cta:disabled { opacity: .4; cursor: not-allowed !important; }
.s-foot { padding: 24px 18px 18px; text-align: center; font-size: 11px; opacity: .5; }

/* --- Salon (réservation) --- */
.site--salon { background: #f6ede6; color: #2b1d1a; }
.site--salon .s-nav b { font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.site--salon .s-hero h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; }
.site--salon .s-hero h3 em { font-style: italic; color: #a05d48; }
.salon-art { position: absolute !important; right: -14px; top: 8px; width: 150px; height: 170px; }
.salon-art i { position: absolute; bottom: 0; border-radius: 999px 999px 0 0; }
.salon-art i:nth-child(1) { right: 70px; width: 64px; height: 120px; background: #e8cfc2; }
.salon-art i:nth-child(2) { right: 26px; width: 74px; height: 165px; background: #d9a99a; }
.salon-art i:nth-child(3) { right: 0; width: 46px; height: 92px; background: #2b1d1a; }
.site--salon .s-card, .site--salon .s-done { background: #fff; box-shadow: 0 10px 30px -18px rgba(43,29,26,.5); }
.s-step { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.s-step:first-child { margin-top: 0; }
.s-step span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #2b1d1a; color: #f6ede6; font-size: 11px; letter-spacing: 0; }
.svc { display: grid; gap: 6px; }
.svc button {
  display: grid; grid-template-columns: 1fr auto; column-gap: 8px; text-align: left; align-items: center;
  padding: 10px 12px; border: 1px solid #eadbd2; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s;
}
.svc b { font-size: 14px; }
.svc small { grid-row: 2; font-size: 12px; color: #8a7670; }
.svc span { grid-column: 2; grid-row: 1 / 3; font-weight: 700; font-size: 14px; }
.svc button[aria-checked="true"] { border-color: #2b1d1a; background: #f6ede6; box-shadow: inset 0 0 0 1px #2b1d1a; }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.days::-webkit-scrollbar { display: none; }
.days button { flex: none; width: 50px; padding: 8px 0; border: 1px solid #eadbd2; border-radius: 12px; background: #fff; display: grid; gap: 2px; justify-items: center; }
.days small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #8a7670; }
.days b { font-size: 18px; line-height: 1; }
.days button[aria-checked="true"] { background: #2b1d1a; border-color: #2b1d1a; color: #f6ede6; }
.days button[aria-checked="true"] small { color: #e8cfc2; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots button { padding: 9px 0; border: 1px solid #eadbd2; border-radius: 10px; background: #fff; font-weight: 600 !important; font-size: 13px; }
.slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.slots button[aria-checked="true"] { background: #2b1d1a; border-color: #2b1d1a; color: #f6ede6; }
.slots__empty { grid-column: 1 / -1; font-size: 12px; color: #8a7670; padding: 6px 0; }
.site--salon .s-cta { background: #2b1d1a; color: #f6ede6; }
.s-done { margin: 0 12px; padding: 28px 18px; border-radius: 18px; text-align: center; display: grid; gap: 8px; justify-items: center; animation: pop .45s var(--ease); }
.s-done__check { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #3d8b5a; color: #fff; font-size: 28px; font-weight: 700; }
.s-done h4 { font-family: Georgia, serif; font-weight: 400; font-size: 24px; margin: 4px 0 0; }
.s-done p { font-weight: 600; }
.s-done small { color: #8a7670; font-size: 12px; }
.s-link { margin-top: 8px; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 13px !important; padding: 8px; }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.site--salon + .dphone__bar { background: #f6ede6; }
.site--salon + .dphone__bar span:first-child { background: #2b1d1a; color: #f6ede6; }
.site--salon + .dphone__bar span:last-child { background: #e8cfc2; color: #2b1d1a; }

/* --- Menuiserie (devis) --- */
.site--bois { background: #1f2a22; color: #efe6d6; }
.site--bois .s-nav b { font-family: var(--display); font-weight: 800; letter-spacing: .02em; font-size: 15px; }
.site--bois .s-hero { min-height: 220px; }
.wood {
  position: absolute !important; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,42,34,.1) 0%, rgba(31,42,34,.55) 55%, #1f2a22 100%),
    repeating-radial-gradient(ellipse 170% 34% at 25% 125%, #a8743f 0 6px, #b98450 6px 9px, #93602f 9px 15px, #c2905a 15px 18px, #a06a38 18px 24px);
}
.site--bois .s-hero h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 27px; line-height: .98; letter-spacing: -0.01em; }
.site--bois .s-card { background: #263329; border: 1px solid #34453a; }
.s-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; color: #d9a35b; }
.s-label { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 8px; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.s-label output { color: #d9a35b; font-size: 13px; letter-spacing: 0; text-transform: none; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; }
.chips2 button { padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(239,230,214,.25); background: transparent; font-size: 13px !important; font-weight: 600 !important; transition: background .15s, border-color .15s; }
.chips2 button[aria-checked="true"] { background: #d9a35b; border-color: #d9a35b; color: #1f2a22; }
.site--bois input[type="range"] { width: 100%; accent-color: #d9a35b; margin: 0; height: 28px; }
.tick { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; cursor: pointer; }
.tick input { width: 18px; height: 18px; accent-color: #d9a35b; margin: 0; }
.price { margin-top: 18px; padding: 16px 12px; border-radius: 12px; background: #141c16; border: 1px dashed #d9a35b; text-align: center; display: grid; gap: 4px; }
.price small { font: 700 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.price b { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1.05; color: #d9a35b; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price span { font-size: 11px; opacity: .55; }
.site--bois .s-cta { background: #d9a35b; color: #1f2a22; }
.site--bois + .dphone__bar { background: #1f2a22; }
.site--bois + .dphone__bar span:first-child { background: #d9a35b; color: #1f2a22; }
.site--bois + .dphone__bar span:last-child { background: #2d3b30; color: #efe6d6; }

/* --- Restaurant (carte) --- */
.site--tilleul { background: #fbf8ef; color: #23331f; }
.site--tilleul .s-nav { margin: 0 14px; padding: 14px 0; border-bottom: 2px solid #23331f; }
.site--tilleul .s-nav b { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; }
.leaves { position: absolute !important; right: -16px; top: 6px; width: 210px; color: #5b7a3a; opacity: .6; }
.site--tilleul .s-hero h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 28px; }
.mdj { margin: 0 14px; padding: 16px; border-radius: 16px; background: #23331f; color: #fbf8ef; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: end; }
.mdj small { grid-column: 1 / -1; font: 700 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #c9dc8f; }
.mdj p { font-family: Georgia, serif; font-size: 15px; line-height: 1.5; }
.mdj b { font-family: var(--display); font-weight: 800; font-size: 24px; color: #c9dc8f; }
.mtabs { display: flex; gap: 2px; margin: 20px 14px 0; border-bottom: 2px solid #23331f; }
.mtabs button { flex: 1; padding: 10px 0; border: 0; background: none; border-radius: 8px 8px 0 0; font-size: 12.5px !important; font-weight: 700 !important; opacity: .55; transition: background .15s, opacity .15s; }
.mtabs button[aria-selected="true"] { background: #23331f; color: #fbf8ef; opacity: 1; }
.menu { list-style: none; margin: 0; padding: 0 14px; }
.menu li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 0; border-bottom: 1px dotted rgba(35,51,31,.35); animation: panelIn .35s var(--ease) both; }
.menu li:nth-child(2) { animation-delay: .05s; } .menu li:nth-child(3) { animation-delay: .1s; } .menu li:nth-child(4) { animation-delay: .15s; }
.menu b { font-family: Georgia, serif; font-weight: 400; font-size: 16px; }
.menu p { grid-column: 1; font-size: 12px; opacity: .7; }
.menu span { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 14px; }
.menu em { font-style: normal; font-size: 10px; font-weight: 700; color: #5b7a3a; background: #e6ecd2; padding: 2px 6px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.site--tilleul > .s-cta { width: auto; margin: 18px 14px 0; background: #5b7a3a; color: #fbf8ef; border-radius: 999px; }
.site--tilleul + .dphone__bar { background: #fbf8ef; }
.site--tilleul + .dphone__bar span:first-child { background: #23331f; color: #fbf8ef; }
.site--tilleul + .dphone__bar span:last-child { border: 2px solid #23331f; color: #23331f; padding: 9px 0; }

/* Texte à côté du téléphone */
.dside { max-width: 400px; width: 100%; }
.dside h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 6vw, 38px); line-height: 1.02; letter-spacing: -0.03em; }
.dside__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.dside__list li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; }
.dside__list li::before { content: "✓"; color: var(--lime-ink); background: var(--lime); width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; transform: translateY(2px); }
.dside__hint { margin-top: 22px; color: var(--muted); font-size: 15px; }

@media (min-width: 720px) {
  .dtab { flex-direction: row; align-items: center; padding: 14px 16px; gap: 12px; }
  .dtab b { font-size: 16px; }
  .dtab small { display: block; }
}
@media (min-width: 960px) {
  .dpanel { grid-template-columns: auto minmax(0, 400px); justify-content: center; align-items: center; gap: 80px; }
  .dpanel .dphone { order: 0; }
  .dphone { height: 680px; }
}
@media (max-width: 719px) {
  .dpanel .dside { order: -1; text-align: left; }
  .dside__hint { margin-top: 14px; }
}
/* Mobile : la colonne des démos ne dépasse jamais l’écran */
@media (max-width: 959px) { .dpanel { grid-template-columns: minmax(0, 1fr); } .dside { min-width: 0; } }
