/* ==========================================================================
   Bravico Pilotage — Homepage v3 "La conversation"
   A guided scroll story. Warm sand, deep ink, terracotta. Editorial, airy,
   human — zero technical texture. Mobile-first. Self-contained.
   ========================================================================== */

:root {
  --sand: #f6efe3;        /* page ground */
  --sand-2: #efe6d4;      /* deeper band */
  --ink: #182b45;         /* deep navy-indigo (logo family) */
  --ink-soft: #33475f;
  --muted: #6d7787;
  --terra: #c75c3a;       /* the accent */
  --terra-deep: #a84a2e;
  --wa: #21b358;          /* WhatsApp moments only */
  --wa-deep: #178f43;     /* same family, legible on sand */
  --wa-bubble: #e2f4d5;   /* outgoing bubble */
  --white: #fffdf9;
  --line: rgba(24, 43, 69, 0.13);
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.home {
  margin: 0;
  font-family: var(--font);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }
em { font-style: normal; }

:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--terra); color: var(--sand); }

.scroll-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 220;
  width: var(--scroll, 0%); height: 2.5px;
  background: var(--terra);
  pointer-events: none;
}

.skip {
  position: absolute; left: 12px; top: 10px; z-index: 300;
  transform: translateY(-200%);
  background: var(--ink); color: var(--sand);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { transform: none; }

/* ---- shared bits ---- */
.kicker {
  color: var(--terra);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker--sand { color: #e0b489; }

.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), scale 0.15s var(--ease);
}
.btn:hover { transform: translate3d(var(--mx), calc(var(--my) - 2px), 0); }
.btn:active { scale: 0.97; }
.btn--terra {
  background: var(--terra); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 30px -12px rgba(199, 92, 58, 0.65);
}
.btn--terra:hover { background: var(--terra-deep); }
.btn--line { border: 1.5px solid var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: rgba(255, 253, 249, 0.6); }
.btn--ink { background: var(--ink); color: var(--sand); min-height: 44px; padding: 10px 20px; font-size: 0.9rem; }
.btn--ink:hover { background: #22385a; }
.btn--sand { background: var(--sand); color: var(--terra-deep); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.35); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-solid {
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--nav-h);
  width: min(1120px, 100% - 40px); margin: 0 auto;
}
.nav__logo img { height: 28px; width: auto; }
.nav__cta { display: inline-flex; }

@media (max-width: 480px) {
  .nav__cta { min-height: 40px; padding: 8px 16px; font-size: 0.85rem; }
}

/* ==========================================================================
   1 · HERO — air
   ========================================================================== */
.hero {
  position: relative;
  display: flex; align-items: flex-start;
  padding: calc(var(--nav-h) + clamp(32px, 9vh, 64px)) 20px clamp(56px, 10vw, 88px);
}
.hero__art { margin-top: 8px; }
.hero__in {
  width: 100%; max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  text-align: center;
}
.hero__text { display: flex; flex-direction: column; align-items: center; }
.hero__art { width: 100%; }
.hero__art img { width: 60%; display: block; margin-inline: auto; }

@media (min-width: 900px) {
  .hero { align-items: center; min-height: 100svh; }
  .hero__art { margin-top: 0; }
  .hero__in {
    display: grid; grid-template-columns: 1.02fr 0.98fr;
    align-items: center; gap: clamp(24px, 5vw, 64px); text-align: left;
  }
  .hero__text { align-items: flex-start; }
  .hero__art { justify-self: end; margin: 0; display: flex; justify-content: center; }
  .hero__art img { width: 90%; }
  .hero__name { font-size: clamp(2.8rem, 4.4vw, 4.3rem); }
  .hero__cta { justify-content: flex-start; }
}
.hero__name {
  font-size: clamp(2.6rem, 10vw, 4rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.04em;
  margin-top: 22px;
}
.hero__line {
  font-size: clamp(1.25rem, 4.6vw, 2rem);
  font-weight: 600; line-height: 1.35; letter-spacing: -0.015em;
  color: var(--ink-soft);
}
.hero__name + .hero__line { margin-top: 40px; }
.hero__line--2 { color: var(--terra); margin-top: 4px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted);
  transition: color 0.25s var(--ease);
}
.hero__scroll:hover { color: var(--ink); }
.hero__scroll-line {
  display: block; width: 2px; height: 44px; border-radius: 2px;
  background: var(--line); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: var(--terra); border-radius: 2px;
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { 0% { top: -40%; } 100% { top: 110%; } }
@keyframes floatHero {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ==========================================================================
   2 · WHO — one breath
   ========================================================================== */
.who {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; text-align: center; padding: clamp(96px, 16vh, 180px) 24px;
}
.who__txt {
  max-width: 20ch;
  font-size: clamp(1.5rem, 5.2vw, 2.5rem);
  font-weight: 500; line-height: 1.4; letter-spacing: -0.015em;
  text-wrap: balance;
}
.who__txt em { color: var(--terra); font-weight: 700; position: relative; }
.who__txt em::after {
  content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: -0.08em;
  height: 0.09em; border-radius: 99px;
  background: currentColor; opacity: 0.45;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease) 0.5s;
}
.who__txt.is-in em::after { transform: scaleX(1); }

/* ==========================================================================
   3 · BRIDGE
   ========================================================================== */
.bridge {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; text-align: center;
  padding: clamp(90px, 14vw, 150px) 24px;
  background: var(--sand-2);
}
.bridge__in {
  width: 100%; max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.bridge__text { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.bridge__t {
  font-size: clamp(1.7rem, 6vw, 2.9rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em;
}
.bridge__chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 640px; }
.chip {
  padding: 12px 20px; border-radius: 4px 18px 18px 18px;
  background: var(--white); color: var(--ink-soft);
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 8px 24px -12px rgba(24, 43, 69, 0.22);
  opacity: 0; transform: translateY(14px) scale(0.95);
}
.chips-in .chip { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.chips-in .chip:nth-child(2) { transition-delay: 0.18s; }
.chips-in .chip:nth-child(3) { transition-delay: 0.36s; }

.bridge__sub { max-width: 34ch; font-size: clamp(1.05rem, 3.6vw, 1.3rem); color: var(--muted); font-weight: 500; }

.bridge__fig { width: 100%; max-width: 480px; }
.bridge__fig img { display: block; width: 50%; margin-inline: auto; }

@media (min-width: 900px) {
  .bridge__in {
    flex-direction: row; align-items: center;
    gap: clamp(36px, 5vw, 76px); text-align: left;
  }
  .bridge__text { align-items: flex-start; flex: 1 1 auto; }
  .bridge__chips { justify-content: flex-start; }
  .bridge__fig { flex: 0 0 42%; max-width: 440px; margin: 0; }
  .bridge__fig img { width: 100%; }
}

.bridge__turn {
  margin-top: clamp(28px, 6vw, 64px);
  font-size: clamp(1.6rem, 6vw, 2.7rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  color: var(--terra);
  max-width: 18ch;
  text-wrap: balance;
}

/* ==========================================================================
   4 · THE CHAT
   ========================================================================== */
.essai {
  display: flex; flex-direction: column; align-items: center;
  gap: 26px; text-align: center;
  padding: clamp(90px, 14vw, 150px) 16px clamp(44px, 7vw, 72px);
}
.essai__t {
  font-size: clamp(2rem, 7.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
}
.essai__t em { color: var(--wa-deep); }

.phone {
  position: relative;
  width: min(430px, 100%);
  margin-top: 14px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 40px 90px -35px rgba(24, 43, 69, 0.45), 0 0 0 1px var(--line);
  overflow: hidden;
  text-align: left;
}
.phone__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--ink); color: var(--sand);
}
.phone__avatar {
  position: relative;
  display: grid; place-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terra); color: var(--white);
  font-weight: 700; font-size: 1.05rem;
}
.phone__avatar::after {
  content: ""; position: absolute; right: 1px; bottom: 1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--wa); border: 2px solid var(--ink);
}
.motion .phone__avatar::after { animation: onlinePulse 1.9s ease-in-out infinite; }
@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33, 179, 88, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(33, 179, 88, 0); }
}
.phone__id { display: flex; flex-direction: column; gap: 1px; }
.phone__id strong { font-size: 0.98rem; letter-spacing: -0.01em; }
.phone__id small {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; color: #9fd8ae; font-weight: 600;
}
.phone__demo {
  margin-left: auto; align-self: center; white-space: nowrap;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sand); background: rgba(246, 239, 227, 0.16);
  padding: 3px 9px; border-radius: 999px;
}
.wa { width: 13px; height: 13px; }

.phone__chat {
  height: 250px;
  transition: height 0.7s var(--ease);
  overflow-y: auto;
  padding: 18px 14px 10px;
  background:
    radial-gradient(rgba(24, 43, 69, 0.045) 1px, transparent 1px) 0 0 / 22px 22px,
    #f2ead9;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.phone__chat.is-live { height: 430px; }
.phone__chat { scrollbar-width: thin; scrollbar-color: rgba(24, 43, 69, 0.22) transparent; }
.phone__chat::-webkit-scrollbar { width: 6px; }
.phone__chat::-webkit-scrollbar-thumb { background: rgba(24, 43, 69, 0.16); border-radius: 999px; }
.phone__chat::-webkit-scrollbar-track { background: transparent; }
.daychip {
  width: fit-content; margin: 0 auto 12px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(24, 43, 69, 0.08);
  font-size: 0.68rem; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.msg {
  max-width: 84%;
  width: fit-content;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.92rem; line-height: 1.45;
  box-shadow: 0 2px 6px -2px rgba(24, 43, 69, 0.15);
  animation: pop 0.4s var(--ease) both;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.msg--out {
  margin-left: auto;
  background: var(--wa-bubble);
  border-radius: 18px 4px 18px 18px;
  font-weight: 600;
}
.msg--in {
  background: var(--white);
  border-radius: 4px 18px 18px 18px;
}
.msg--in strong { font-weight: 700; }
.msg--in .accent { color: var(--terra); font-weight: 700; }

.msg__meta {
  display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  margin-top: 3px;
  font-size: 0.62rem; color: var(--muted);
}
.ticks { font-weight: 700; letter-spacing: -0.14em; color: #a9b4ae; transition: color 0.3s; }
.ticks.is-read { color: #34b7f1; }

.msg--typing {
  display: inline-flex; gap: 5px; align-items: center;
  padding: 14px 16px;
  background: var(--white); border-radius: 4px 18px 18px 18px;
}
.msg--typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  opacity: 0.45; animation: bounce 1.1s infinite;
}
.msg--typing i:nth-child(2) { animation-delay: 0.16s; }
.msg--typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes bounce { 0%,100% { transform: none; opacity: 0.4; } 45% { transform: translateY(-4px); opacity: 1; } }
.phone.is-thinking .phone__head { box-shadow: inset 0 -1px 0 rgba(33, 179, 88, 0.22); }

.msg .mini { margin: 10px 0 4px; width: 200px; height: 64px; }

.dossier {
  margin-top: 8px;
  border-left: 3px solid var(--terra);
  padding: 8px 12px;
  background: rgba(199, 92, 58, 0.06);
  border-radius: 8px;
  font-size: 0.88rem;
}
.dossier li { padding: 2px 0; }

/* prepared-document chip — a ready report the product hands over */
.doc {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 4px;
  padding: 9px 11px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.doc__ico {
  flex: none; display: grid; place-content: center;
  width: 34px; height: 40px; border-radius: 7px;
  background: rgba(199, 92, 58, 0.12); color: var(--terra);
}
.doc__ico svg { width: 20px; height: 20px; }
.doc__txt { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; text-align: left; }
.doc__txt strong { font-size: 0.9rem; font-weight: 700; }
.doc__txt small { font-size: 0.72rem; color: var(--muted); font-weight: 600; }

/* source chips — the answer shows what it consulted */
.srcs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 11px; }
.srcs__ico { width: 15px; height: 15px; color: var(--muted); flex: none; }
.src {
  font-size: 0.68rem; font-weight: 600; color: var(--ink-soft);
  background: rgba(24, 43, 69, 0.06);
  padding: 3px 9px; border-radius: 999px;
}

/* quick-reply hints — the manager keeps control */
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.act {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 6px 13px;
  cursor: default;
}

/* the traveling signal dot — question sent, answer delivered */
.fly {
  position: absolute; left: 0; top: 0;
  border-radius: 50%;
  background: var(--wa);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.msg--cta {
  background: var(--ink); color: var(--sand);
  font-weight: 600;
}
.msg--cta a {
  display: inline-flex; margin-top: 10px;
  background: var(--terra); color: var(--white);
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
}

/* input bar */
.phone__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.phone__input {
  flex: 1;
  min-height: 44px;
  display: flex; align-items: center;
  padding: 10px 16px;
  background: #f3eee2;
  border-radius: 999px;
  font-size: 0.93rem; font-weight: 600; color: var(--ink);
  overflow: hidden; white-space: nowrap;
  cursor: pointer;
}
.caret {
  width: 2px; height: 1.1em; margin-left: 2px;
  background: var(--terra);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.phone__send {
  --mx: 0px; --my: 0px;
  flex: none;
  display: grid; place-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--wa); color: #fff;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.2s var(--ease), background 0.2s, scale 0.15s var(--ease);
  position: relative;
}
.phone__send svg { width: 22px; height: 22px; margin-left: 2px; }
.phone__send:hover { transform: translate3d(var(--mx), var(--my), 0) scale(1.06); }
.phone__send:active { scale: 0.88; }
.phone__send:disabled { background: #b8c4bd; cursor: default; transform: none; }
.phone__send.is-hot::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid var(--wa);
  animation: ring 1.6s var(--ease) infinite;
}
.phone__send.is-hot::after {
  content: "Envoyer";
  position: absolute; right: 50%; bottom: calc(100% + 12px);
  transform: translateX(50%);
  background: var(--ink); color: var(--sand);
  padding: 6px 11px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  box-shadow: 0 10px 22px -14px rgba(24, 43, 69, 0.45);
  pointer-events: none;
  animation: hintBob 1.6s ease-in-out infinite;
}
@keyframes hintBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
@keyframes ring {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.essai__dots { display: flex; gap: 9px; justify-content: center; margin-top: 6px; }
.essai__dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(24, 43, 69, 0.16);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.essai__dots .is-done { background: var(--ink-soft); }
.essai__dots .is-now { background: var(--terra); transform: scale(1.3); }
.essai__replay {
  display: none;
  align-items: center; gap: 8px;
  margin-top: 2px;
  padding: 9px 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; color: var(--ink-soft);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.essai__replay.is-on { display: inline-flex; animation: pop 0.4s var(--ease) both; }
.essai__replay:hover { color: var(--terra); border-color: var(--terra); background: rgba(255, 253, 249, 0.7); }
.essai__replay svg { width: 15px; height: 15px; }

.essai__note {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   5 · PERKS — the advantages, cascading in
   ========================================================================== */
.perks { padding: clamp(48px, 7vw, 80px) 24px clamp(72px, 11vw, 120px); text-align: center; }
.perks__head {
  max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.perks__t {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}
.perks__grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.perk {
  --d: 0s;
  text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), translate 0.25s var(--ease);
}
.motion .perk.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s var(--ease) var(--d), transform 0.55s var(--ease) var(--d),
              box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), translate 0.25s var(--ease);
}
.motion .perk.reveal.is-in { opacity: 1; transform: none; }
.perk:hover { box-shadow: 0 18px 40px -22px rgba(24, 43, 69, 0.4); border-color: rgba(24, 43, 69, 0.22); translate: 0 -4px; }
.perk__ico {
  display: grid; place-content: center;
  width: 52px; height: 52px; border-radius: 15px;
  background: rgba(199, 92, 58, 0.12); color: var(--terra);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.perk:hover .perk__ico { background: var(--terra); color: var(--white); transform: scale(1.05) rotate(-4deg); }
.perk__ico svg { width: 27px; height: 27px; }
.perk__ico--wa { background: rgba(33, 179, 88, 0.14); color: var(--wa); }
.perk:hover .perk__ico--wa { background: var(--wa); }
.perk h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.perk p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

@media (min-width: 620px) { .perks__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 940px) { .perks__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.perk:nth-child(2) { --d: 0.06s; }
.perk:nth-child(3) { --d: 0.12s; }
.perk:nth-child(4) { --d: 0.06s; }
.perk:nth-child(5) { --d: 0.12s; }
.perk:nth-child(6) { --d: 0.18s; }

/* ==========================================================================
   6 · TRUST — ink
   ========================================================================== */
.trust {
  background: var(--ink);
  color: var(--sand);
  display: flex; flex-direction: column; align-items: center;
  gap: 30px; text-align: center;
  padding: clamp(100px, 15vw, 160px) 24px;
}
.trust__t {
  font-size: clamp(1.8rem, 6.4vw, 3rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  max-width: 16ch;
}

/* two main pillars — the security core */
.trust__pillars {
  width: 100%; max-width: 880px; margin-top: 8px;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.tpillar {
  text-align: left;
  background: rgba(246, 239, 227, 0.05);
  border: 1px solid rgba(246, 239, 227, 0.14);
  border-radius: 18px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), translate 0.3s var(--ease);
}
.tpillar:hover {
  border-color: rgba(246, 239, 227, 0.3);
  background: rgba(246, 239, 227, 0.08);
  translate: 0 -3px;
}
.tpillar__ico {
  display: grid; place-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(199, 92, 58, 0.18); color: var(--terra);
}
.tpillar__ico svg { width: 26px; height: 26px; }
.tpillar h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; color: var(--sand); }
.tpillar p { font-size: 1rem; line-height: 1.5; color: rgba(246, 239, 227, 0.78); }
@media (min-width: 760px) { .trust__pillars { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* supporting reassurances */
.trust__list {
  width: 100%; max-width: 540px; margin-top: 4px;
  display: grid; grid-template-columns: 1fr; gap: 14px; text-align: left;
}
.trust__list li {
  font-size: 1rem; font-weight: 500; color: rgba(246, 239, 227, 0.82);
  display: flex; align-items: center; gap: 12px;
}
.trust__list li::before {
  content: "\2713"; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(199, 92, 58, 0.18); color: var(--terra);
  display: grid; place-content: center;
  font-size: 0.68rem; font-weight: 700;
}
.motion .trust__list li:nth-child(2) { transition-delay: 0.12s; }
.motion .trust__list li:nth-child(3) { transition-delay: 0.24s; }

/* ==========================================================================
   7 · EFACTURE
   ========================================================================== */
.efe { padding: clamp(90px, 14vw, 150px) 24px; background: var(--sand-2); }
.efe__in {
  width: min(1020px, 100%); margin: 0 auto;
  display: grid; gap: 40px; align-items: center;
}
.efe__t {
  font-size: clamp(1.7rem, 6vw, 2.7rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin-top: 14px;
}
.efe__sub { margin-top: 18px; color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.efe__sub strong { color: var(--ink); }
.efe__badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px; padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 253, 249, 0.7); border: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
}
.efe__badge svg { width: 17px; height: 17px; color: var(--terra); flex: none; }
.efe__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-weight: 700; color: var(--terra);
}
.efe__link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.efe__link:hover::after { transform: scaleX(1); transform-origin: left; }
.efe__link span { transition: transform 0.25s var(--ease); }
.efe__link:hover span { transform: translateX(5px); }
.efe__fig { position: relative; width: fit-content; margin-inline: auto; }
.efe__fig img { display: block; }

/* the check validates, quietly — a ripple pinned to the illustration's tick,
   sized as a fraction of the image so it tracks every viewport */
.efe__pulse {
  position: absolute; left: 82.45%; top: 70.65%;
  width: 8.2%; aspect-ratio: 1;
  margin: -4.1% 0 0 -4.1%;
  pointer-events: none;
}
.efe__pulse::before,
.efe__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(92, 128, 98, 0.75);
  opacity: 0; transform: scale(0.9);
}
.motion .efe__pulse::before { animation: validate 3.4s ease-out infinite; }
.motion .efe__pulse::after { animation: validate 3.4s ease-out 0.45s infinite; }
/* ride the same float as the image so the ripple stays on the tick */
.motion .efe__fig[data-float] .efe__pulse { animation: floatSoft 7.5s ease-in-out infinite; animation-delay: 0.8s; }
@keyframes validate {
  0% { transform: scale(0.9); opacity: 0; }
  14% { opacity: 0.75; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (min-width: 860px) {
  .efe__in { grid-template-columns: 0.9fr 1.1fr; }
}

/* ==========================================================================
   8 · CLOSE — terracotta warmth
   ========================================================================== */
.close {
  background: linear-gradient(160deg, #cd6440, var(--terra-deep));
  background-size: 160% 160%;
  color: var(--sand);
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; text-align: center;
  padding: clamp(110px, 16vw, 170px) 24px;
}
.close__t {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  color: var(--white);
}
.close__sub { max-width: 34ch; font-size: 1.08rem; color: rgba(246, 239, 227, 0.9); }
.close__cta { margin-top: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--ink); color: rgba(246, 239, 227, 0.75); padding: 64px 24px 34px; }
.foot__in {
  width: min(1120px, 100%); margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
.foot__top {
  display: flex; flex-direction: column; gap: 34px;
  justify-content: space-between; align-items: flex-start;
}
.foot__brand img { height: 30px; width: auto; }
.foot__brand p { margin-top: 18px; font-size: 0.94rem; line-height: 1.7; }
.foot__contact {
  display: grid; gap: 5px;
  font-size: 0.94rem;
}
.foot__contact h2 {
  margin: 0 0 2px;
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.2;
}
.foot__contact a,
.foot__links a {
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.foot__contact a:hover,
.foot__links a:hover { color: var(--terra); }
.foot__links {
  border-top: 1px solid rgba(246, 239, 227, 0.17);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-weight: 600; font-size: 0.9rem;
}
.foot__bottom {
  border-top: 1px solid rgba(246, 239, 227, 0.12);
  padding-top: 24px;
  text-align: center;
  color: rgba(246, 239, 227, 0.58);
  font-size: 0.88rem;
}
@media (min-width: 720px) {
  .foot__top { flex-direction: row; align-items: flex-start; }
  .foot__contact { min-width: 210px; }
  .foot__links { justify-content: center; }
}

.wa-float {
  --mx: 0px; --my: 0px;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 180;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 18px 0 15px;
  border-radius: 999px;
  background: #1fae57; color: #fff;
  font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 18px 44px -18px rgba(24, 43, 69, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease), scale 0.15s var(--ease);
}
.wa-float:active { scale: 0.94; }
.wa-float:hover {
  background: var(--wa);
  transform: translate3d(var(--mx), calc(var(--my) - 2px), 0);
  box-shadow: 0 22px 54px -18px rgba(24, 43, 69, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}
.wa-float svg { width: 23px; height: 23px; flex: none; }
.wa-float__pulse {
  position: absolute; inset: -7px;
  border: 2px solid rgba(33, 179, 88, 0.42);
  border-radius: inherit;
  pointer-events: none;
}
@media (max-width: 520px) {
  .wa-float {
    width: 56px; height: 56px; min-height: 56px;
    justify-content: center; padding: 0;
  }
  .wa-float span:not(.wa-float__pulse) { display: none; }
}

/* ==========================================================================
   MOTION — reveals (JS opt-in via .motion)
   ========================================================================== */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.motion .reveal.is-in { opacity: 1; transform: none; }

.motion .phone.reveal:not(.is-in) { transform: translateY(32px) scale(0.965); }

.motion .stage { opacity: 0; transform: translateY(22px); filter: blur(7px); }
.motion.hero-go .stage { opacity: 1; transform: none; filter: blur(0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.motion.hero-go .stage:nth-child(1) { transition-delay: 0.05s; }
.motion.hero-go .stage:nth-child(2) { transition-delay: 0.2s; }
.motion.hero-go .stage:nth-child(3) { transition-delay: 0.65s; }
.motion.hero-go .stage:nth-child(4) { transition-delay: 1.05s; }
.motion.hero-go .stage:nth-child(5) { transition-delay: 1.7s; }
.motion.hero-go .stage:nth-child(6) { transition-delay: 2s; }
.motion .hero__scroll { opacity: 0; transition: opacity 0.8s var(--ease) 2.5s; }
.motion.hero-go .hero__scroll { opacity: 1; }
.motion [data-float] img { animation: floatSoft 7.5s ease-in-out infinite; }
.motion .hero__art[data-float] img { animation-name: floatHero; animation-duration: 6.8s; }
.motion .efe__fig[data-float] img { animation-delay: 0.8s; }
.motion .close { animation: warmShift 9s ease-in-out infinite alternate; }
.motion .wa-float { animation: waEnter 0.65s var(--ease) 1.1s backwards; }
.motion .wa-float__pulse { animation: waPulse 2.4s var(--ease) 2s infinite; }
@keyframes warmShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes waEnter {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.92); }
}
@keyframes waPulse {
  0% { transform: scale(0.82); opacity: 0.82; }
  100% { transform: scale(1.22); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
