/* Kalaolab — maquette D : blanche et typographique, esprit Notion / Framer.
   Fond blanc, très grands titres noirs, presque pas de couleur (le jaune du bec en touche), beaucoup d'espace. */
:root {
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --text: #0b0b0c;
  --soft: #9a9a9f;
  --muted: #5f5f66;
  --line: #ececea;
  --line-2: #dededb;
  --beak: #f5b400;
  --green: #18a058;
  --radius: 16px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", var(--font);
  /* le logo est dessiné avec --ink et --paper */
  --ink: #0b0b0c;
  --paper: #ffffff;
  --casque: #e4572e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
p { margin: 0; }
small, .small { font-size: 0.85em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
::selection { background: #ffe58a; }
.soft { color: var(--soft); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px;
  font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid var(--line-2); background: #fff; color: var(--text); transition: background .15s, transform .15s; }
.btn:hover { background: var(--bg-2); }
.btn--dark { background: var(--text); color: #fff; border-color: var(--text); }
.btn--dark:hover { background: #2a2a2d; }
.btn--light { background: #fff; }
.btn--small { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; background: var(--text); color: #fff; border-color: var(--text); }
.btn--small:hover { background: #2a2a2d; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.logo__word { font: 600 19px/1 var(--display); letter-spacing: -0.04em; }
.nav { display: none; gap: 30px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
@media (min-width: 860px) { .nav { display: flex; } }

/* Accroche */
.hero { padding: 64px 0 24px; }
.hero__in { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); margin-bottom: 28px; max-width: 100%; }
.dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24, 160, 88, 0.14); }
.hero h1 { font-size: clamp(48px, 10.5vw, 112px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.98; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 31em; margin: 28px auto 34px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Scène : le site et la conversation WhatsApp */
.stage { position: relative; margin-top: 64px; padding-bottom: 40px; }
@media (min-width: 760px) { .stage { padding-bottom: 120px; } }
.browser { max-width: 900px; margin: 0 auto; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 60px -24px rgba(0, 0, 0, 0.18); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fafaf9; }
.browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e2e2df; }
.browser__url { margin: 0 auto; transform: translateX(-18px); font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 5px 16px; border-radius: 7px; }
.browser__page { padding: 18px; display: grid; gap: 16px; }
.pg__nav { display: flex; align-items: center; gap: 12px; }
.pg__nav b { font: 600 15px/1 var(--display); margin-right: auto; letter-spacing: -0.02em; }
.pg__nav i { width: 44px; height: 7px; border-radius: 4px; background: var(--line); }
.pg__hero { display: grid; gap: 16px; }
.pg__photo { min-height: 150px; border-radius: 12px; background:
  radial-gradient(circle at 30% 40%, #f6c453 0 14%, transparent 15%),
  radial-gradient(circle at 62% 55%, #d9572b 0 18%, transparent 19%),
  radial-gradient(circle at 45% 70%, #8a9a3b 0 10%, transparent 11%),
  linear-gradient(135deg, #f3e6cf, #e9d3ae); }
.pg__txt { display: grid; gap: 8px; align-content: center; }
.pg__txt strong { font: 600 22px/1.1 var(--display); letter-spacing: -0.03em; }
.pg__txt span { font-size: 14px; color: var(--muted); }
.pg__txt em { justify-self: start; font-style: normal; font-size: 13px; font-weight: 500; color: #fff; background: #1faa59; padding: 9px 13px; border-radius: 999px; margin-top: 4px; }
.pg__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pg__row div { height: 54px; border-radius: 10px; background: var(--bg-2); }
.chat { width: min(300px, 86%); margin: -36px 0 0 auto; position: relative; border-radius: 18px; background: #efeae2; border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.25); overflow: hidden; font-size: 13px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); }
.chat__head strong { display: block; font-size: 14px; }
.chat__head span { font-size: 11px; color: var(--green); }
.chat__body { padding: 12px; display: grid; gap: 7px; }
.msg { max-width: 85%; padding: 8px 11px; border-radius: 10px; line-height: 1.4; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }
.msg--client { justify-self: end; background: #d9fdd3; border-top-right-radius: 3px; }
.msg--kalaolab { justify-self: start; background: #fff; border-top-left-radius: 3px; }
.voice { display: inline-flex; align-items: center; gap: 3px; }
.voice i { width: 3px; border-radius: 2px; background: #5b8f63; height: 10px; }
.voice i:nth-child(2n) { height: 18px; } .voice i:nth-child(3n) { height: 6px; } .voice i:nth-child(5n) { height: 14px; }
.voice small { margin-left: 8px; color: var(--muted); font-size: 11px; }
@media (min-width: 760px) {
  .hero { padding-top: 104px; }
  .pg__hero { grid-template-columns: 1.1fr 1fr; }
  .pg__photo { min-height: 220px; }
  .browser__page { padding: 26px; }
  .chat { position: absolute; right: max(0px, calc(50% - 560px)); bottom: 0; margin: 0; }
}

/* Sections */
.section { padding: 104px 0 0; }
.xl { font-size: clamp(36px, 6.2vw, 68px); max-width: 15em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 34em; }
.statement { padding-top: 120px; }

.pillars { display: grid; gap: 36px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.pillar h3 { font-size: 26px; margin-bottom: 10px; letter-spacing: -0.035em; }
.pillar p { color: var(--muted); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.how { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 0; }
.how li { display: grid; gap: 6px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.how li:last-child { border-bottom: 1px solid var(--line); }
.how__n { font: 500 14px/1.6 var(--font); color: var(--soft); }
.how h3 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.035em; }
.how p { color: var(--muted); }
@media (min-width: 760px) { .how li { grid-template-columns: 60px 1fr 1fr; align-items: baseline; } }

.feats { display: grid; margin-top: 56px; border-top: 1px solid var(--line); }
.feat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.feat h3 { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 16px; }
@media (min-width: 760px) {
  .feats { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .feat { padding: 32px 32px 32px 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .feat:nth-child(n+4) { border-bottom: 1px solid var(--line); }
}

/* Tarifs */
.plans { display: grid; gap: 16px; margin-top: 48px; }
.plan { padding: 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.plan--featured { background: var(--bg-2); border-color: var(--text); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 22px; letter-spacing: -0.03em; }
.tag { font-size: 12px; font-weight: 500; background: var(--beak); color: var(--text); padding: 4px 9px; border-radius: 999px; }
.plan__for { color: var(--muted); font-size: 15px; margin: 6px 0 26px; min-height: 2.8em; }
.plan__price { font: 600 46px/1 var(--display); letter-spacing: -0.05em; margin-bottom: 24px; white-space: nowrap; }
.plan__price small { font: 500 16px/1 var(--font); letter-spacing: 0; color: var(--muted); }
.plan .btn { width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 22px; display: grid; gap: 11px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 1.8px solid var(--text); border-bottom: 1.8px solid var(--text); transform: rotate(-45deg); }
.plan__pay { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.extras { display: grid; gap: 40px; margin-top: 64px; }
.extras h3 { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 12px; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 400; }
.rows strong { text-align: right; font-weight: 500; white-space: nowrap; }
@media (min-width: 860px) { .extras { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Villes */
.cities { list-style: none; padding: 0; margin: 48px 0 0; display: grid; border-top: 1px solid var(--line); }
.cities li { display: flex; align-items: baseline; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cities strong { font: 600 clamp(26px, 3.6vw, 40px)/1 var(--display); letter-spacing: -0.04em; color: var(--soft); }
.cities span { color: var(--soft); font-size: 15px; }
.cities em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--soft); }
.cities li.is-live strong { color: var(--text); }
.cities li.is-live span { color: var(--muted); }
.cities li.is-live em { color: var(--green); font-weight: 500; }
.cities li.is-live em::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
@media (min-width: 860px) { .cities { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* Questions */
.faq-grid { display: grid; gap: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 500; font-size: 18px; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--soft); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 38em; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.75fr 1.25fr; gap: 64px; } }

/* Appel final */
.final { padding-bottom: 120px; }
.giant { font-size: clamp(56px, 13vw, 150px); letter-spacing: -0.06em; line-height: 0.95; }
.final__grid { display: grid; gap: 40px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.final__grid .sub a { color: var(--text); }
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: var(--text); }
.field input::placeholder { color: #b5b5b9; }
.field input:focus, .field select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06); }
@media (min-width: 860px) { .final__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Pages de texte */
.prose h2 { font-size: 22px; margin: 32px 0 8px; letter-spacing: -0.02em; }
.prose p { margin-bottom: 12px; color: var(--muted); }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 14px; color: var(--muted); }
.site-footer__in { display: grid; gap: 28px; }
.site-footer__brand p { margin-top: 14px; }
.logo--light { color: var(--text); }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { color: var(--text); }
.social { display: flex; gap: 14px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
@media (min-width: 760px) { .site-footer__in { grid-template-columns: 2fr 1fr 1fr; } }

.wa-float { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); z-index: 30; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Trois niveaux d'offre */
.levels { display: grid; margin-top: 56px; border-top: 1px solid var(--line); }
.level { padding: 32px 0; border-bottom: 1px solid var(--line); }
.level__n { display: block; font-size: 14px; color: var(--soft); margin-bottom: 14px; }
.level h3 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.045em; margin-bottom: 10px; }
.level__s { font-weight: 500; margin-bottom: 6px; }
.level p:last-child { color: var(--muted); }
@media (min-width: 860px) {
  .levels { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .level { padding: 36px 36px 36px 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .level + .level { padding-left: 36px; border-left: 1px solid var(--line); }
}

/* Tarifs : sur devis */
.plans__label { margin-top: 48px; font-size: 14px; font-weight: 500; color: var(--muted); }
.plans__label + .plans { margin-top: 14px; }
.custom { display: grid; gap: 16px; margin-top: 16px; }
.custom__item { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.custom__item h3 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 6px; }
.custom__item p { color: var(--muted); font-size: 15px; max-width: 34em; }
.custom__side { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.custom__side strong { font: 600 22px/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
@media (min-width: 900px) { .custom { grid-template-columns: 1fr 1fr; } .custom__item { grid-template-rows: 1fr auto; } }

/* Réalisations */
.refs { display: grid; gap: 24px; margin-top: 48px; }
.ref { text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ref img { width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.ref__meta { padding: 18px 20px 0; }
.ref__meta strong { display: block; font: 600 20px/1.2 var(--display); letter-spacing: -0.03em; }
.ref__meta span { font-size: 14px; color: var(--muted); }
.ref blockquote { margin: 14px 20px 20px; color: var(--muted); font-size: 15px; }
.ref cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--soft); }
@media (min-width: 860px) { .refs { grid-template-columns: repeat(3, 1fr); } }

/* Pour qui */
.aud { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.aud li { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 16px; }

/* Icônes */
.ico { display: block; width: 26px; height: 26px; color: var(--text); margin-bottom: 18px; }
.feat .ico { width: 24px; height: 24px; margin-bottom: 14px; color: var(--muted); }

/* Niveaux cliquables */
a.level { display: block; text-decoration: none; color: inherit; transition: background .2s; }
a.level .ico { width: 30px; height: 30px; }
a.level:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.more { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 500; }
.more span { display: inline-block; transition: transform .2s; }
a.level:hover .more span { transform: translateX(4px); }

/* Pages de services */
.hero--page { padding-bottom: 8px; }
.prose-l { margin-top: 32px; max-width: 40em; display: grid; gap: 16px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.promise { display: grid; gap: 40px; margin-top: 48px; }
.promise h3 { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 16px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.crosses li { color: var(--muted); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 3px; top: 12px; width: 13px; height: 2px; background: var(--soft); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.note { margin-top: 16px; font-size: 14px; color: var(--soft); }
@media (min-width: 860px) { .promise { grid-template-columns: 1fr 1fr; gap: 64px; } }
.custom--one { grid-template-columns: 1fr !important; max-width: 760px; margin-top: 40px; }
.rows--wide { margin-top: 40px; max-width: 760px; }
.actions--left { justify-content: flex-start; margin-top: 40px; }

/* Animations : apparition douce au défilement (activée par le script, jamais sans lui) */
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* Conversation WhatsApp qui s'écrit toute seule */
.js-motion .chat .msg { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s ease, transform .35s ease; }
.js-motion .chat .msg.is-in { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px !important; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa39c; animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; } }
@media (min-width: 760px) {
  .feats--2 { grid-template-columns: repeat(2, 1fr); }
  .feats--2 .feat:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .feats--2 .feat:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .feats--2 .feat:nth-child(-n+2) { border-bottom: 0; }
}

/* Démonstrations */
.demos-d { display: grid; gap: 20px; margin-top: 44px; }
.demo-d { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.demo-d:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); }
.demo-d img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.demo-d__meta { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px 4px; }
.demo-d__meta strong { font-size: 18px; } .demo-d__meta span { color: var(--muted); font-size: 14px; }
.demo-d__go { padding: 6px 20px 18px; font-weight: 600; font-size: 14px; }
.demos-d__note { margin-top: 18px; color: var(--soft); font-size: 13px; }
@media (min-width: 760px) { .demos-d { grid-template-columns: 1fr 1fr; } }
