/* Young Tea Studio — typographies et couleurs reprises du logo */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --mint: #55cb9b;
  --teal: #2fb0a6;
  --teal-dark: #1f8c84;
  --ink: #26343c;
  --ink-soft: #55656e;
  --line: #e1ece8;
  --tint: #f3faf7;
  --white: #ffffff;
  --grad: linear-gradient(100deg, var(--mint), var(--teal));
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --label: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--display); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid rgba(47, 176, 166, .45); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-family: var(--label); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 60ch; }

/* Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px;
  font-family: var(--label); font-weight: 600; font-size: 15px; text-decoration: none; color: #fff; background: var(--grad);
  background-size: 160% 100%; background-position: 0 0; border: 0; cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(47, 176, 166, .7);
  transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(47, 176, 166, .8); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-dark); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 62px; width: auto; mix-blend-mode: multiply; }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; font-family: var(--label); font-weight: 600; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Accueil */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 11vw, 140px) 0 clamp(70px, 10vw, 120px); }
.hero::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(closest-side, rgba(85, 203, 155, .16), transparent); pointer-events: none; }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.traces path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) forwards; }
.traces path:nth-child(2) { animation-delay: .2s; } .traces path:nth-child(3) { animation-delay: .35s; }
.traces path:nth-child(4) { animation-delay: .5s; } .traces path:nth-child(5) { animation-delay: .65s; }
.traces path:nth-child(6) { animation-delay: .8s; } .traces path:nth-child(7) { animation-delay: .95s; }
.nodes circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) forwards, pulse 3.2s ease-in-out 2.6s infinite; }
.nodes circle:nth-child(1) { animation-delay: 1.4s, 2.6s; } .nodes circle:nth-child(2) { animation-delay: 1.6s, 3.1s; }
.nodes circle:nth-child(3) { animation-delay: 1.7s, 2.9s; } .nodes circle:nth-child(4) { animation-delay: 1.9s, 3.6s; }
.nodes circle:nth-child(5) { animation-delay: 2s, 3.3s; } .nodes circle:nth-child(6) { animation-delay: 2.1s, 4s; } .nodes circle:nth-child(7) { animation-delay: 2.2s, 3.8s; }
.pixels rect { transform-box: fill-box; animation: float 6s ease-in-out infinite; }
.pixels rect:nth-child(odd) { animation-duration: 7.5s; animation-delay: -2s; }
.pixels rect:nth-child(3n) { animation-duration: 9s; animation-delay: -4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); opacity: .9; } 50% { transform: translateY(-14px) rotate(20deg); opacity: .45; } }

.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 82px); max-width: 15ch; margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.proofs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; padding: 0; margin: 40px 0 0; font-family: var(--label); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.proofs li { display: flex; align-items: center; gap: 8px; }
.proofs li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(85, 203, 155, .15); }

/* Bandeau défilant */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--tint); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--grad); transform: rotate(45deg); margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 56px; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .45s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(31, 140, 132, .45); }
.card:hover::before { opacity: 1; }
.icon { width: 48px; height: 48px; margin-bottom: 22px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon * { stroke-dasharray: 160; stroke-dashoffset: 0; }
.card:hover .icon * { animation: redraw 1.1s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin-bottom: 18px; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.card li { display: flex; gap: 10px; align-items: baseline; }
.card li::before { content: ""; flex: none; width: 14px; height: 2px; border-radius: 2px; background: var(--grad); transform: translateY(-4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 32px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.benefits li { display: flex; gap: 20px; padding: 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.benefits li:hover { transform: translateX(6px); }
.num { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--teal); padding-top: 3px; }
.benefits h3 { font-size: 18px; margin-bottom: 4px; }
.benefits p { color: var(--ink-soft); font-size: 15.5px; }

.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.in::after { transform: scaleX(1); }
.steps li { position: relative; counter-increment: step; }
.dot { position: relative; z-index: 1; display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--teal); margin-bottom: 26px; }
.steps h3::before { content: "0" counter(step) " "; font-family: var(--label); font-size: 13px; letter-spacing: .1em; color: var(--teal); display: block; margin-bottom: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 15.5px; }

.refs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.refs > .ref { grid-column: span 2; }
.refs > .ref:nth-child(-n+2) { grid-column: span 3; }
.refs > .ref:nth-child(-n+2) h3 { font-size: 20px; }
.ref { display: flex; flex-direction: column; padding: 14px 14px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ref:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(31, 140, 132, .45); }
.ref-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 12px; margin-bottom: 18px; overflow: hidden; background: linear-gradient(135deg, #e9f8f1, #dff3f1); }
.ref-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-100%); transition: transform .9s var(--ease); }
.ref:hover .ref-screen::after { transform: translateX(100%); }
.ref-screen strong { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .45s var(--ease); }
.ref:hover .ref-screen strong { transform: scale(1.06); }
.ref-bar { position: absolute; top: 10px; left: 12px; display: flex; gap: 5px; }
.ref-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(38, 52, 60, .15); }
.ref h3 { font-size: 18px; padding: 0 6px; margin-bottom: 4px; }
.ref p { padding: 0 6px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; flex: 1; }
.ref-link { padding: 14px 6px 0; font-family: var(--label); font-size: 13px; font-weight: 600; color: var(--teal-dark); }
.ref-link span { display: inline-block; transition: transform .3s var(--ease); }
.ref:hover .ref-link span { transform: translate(3px, -3px); }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact h2 { margin-bottom: 20px; }
.contact .lead { margin-bottom: 32px; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.contact-card { font-style: normal; display: grid; gap: 4px; padding: 14px; border-radius: 24px; background: var(--tint); border: 1px solid var(--line); }
.contact-card div { padding: 18px 20px; border-radius: 14px; background: var(--white); line-height: 1.5; }
.contact-card span { display: block; font-family: var(--label); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.contact-card a { font-weight: 800; text-decoration: none; color: var(--ink); word-break: break-word; }
.contact-card a:hover { color: var(--teal-dark); }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 44px 0 34px; font-size: 14px; color: var(--ink-soft); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 36px; align-items: center; }
.footer img { height: 46px; width: auto; mix-blend-mode: multiply; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer nav a:hover { color: var(--teal-dark); }
.copy { grid-column: 1 / -1; font-size: 13px; }

/* Pages légales */
.legal { padding: 70px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; }
.legal dt { font-weight: 800; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
.back { display: inline-block; margin-bottom: 30px; font-family: var(--label); font-weight: 600; font-size: 14px; text-decoration: none; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .traces path { stroke-dashoffset: 0; }
  .nodes circle { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .steps::after { transform: scaleX(1); }
  html { scroll-behavior: auto; }
}

@media (max-width: 1000px) {
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refs > .ref, .refs > .ref:nth-child(-n+2) { grid-column: auto; }
  .refs > .ref:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .refs > .ref:last-child:nth-child(odd) .ref-screen { aspect-ratio: 21 / 9; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav ul { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; background: #fff; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .15); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav ul.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav li .btn { margin-top: 16px; justify-content: center; width: 100%; }
  .services, .split, .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand img { height: 44px; }
  .card { padding: 26px 22px; }
  .refs, .steps { grid-template-columns: 1fr; }
  .refs > .ref:last-child:nth-child(odd) .ref-screen { aspect-ratio: 16 / 10; }
  .cta .btn { width: 100%; justify-content: center; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 8px; }
}

/* ===== Hero : motion design renforcé ===== */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .32; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #8fe0bd; left: -120px; top: -160px; }
.aurora i:nth-child(2) { background: #7fd3cb; right: -140px; top: 60px; animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { background: #c9f1e1; left: 35%; bottom: -320px; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { to { transform: translate(90px, 60px) scale(1.15); } }
.parallax { will-change: translate; transition: translate .8s var(--ease); }
.pulse-dot { fill: #2fb0a6; filter: drop-shadow(0 0 6px rgba(47, 176, 166, .9)); }

.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); animation: word-in .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .09s); }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
.shine { background: linear-gradient(100deg, #55cb9b 0%, #2fb0a6 35%, #9be8c8 50%, #2fb0a6 65%, #55cb9b 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word-in .9s var(--ease) forwards, shine 5s linear 1.4s infinite; }
@keyframes shine { to { background-position: -250% 0; } }
.hero h1 .underline { position: relative; }
.hero h1 .underline svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .underline path { fill: none; stroke: url(#ug); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s var(--ease) 1.3s forwards; }

.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(225, 236, 232, .9); box-shadow: 0 20px 40px -22px rgba(31, 140, 132, .55);
  font-family: var(--label); font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0; animation: card-in .9s var(--ease) forwards; }
.float-card small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 11.5px; }
.float-card .bubble { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 16px; }
.float-card .inner { animation: bob 6s ease-in-out infinite; display: flex; align-items: center; gap: 12px; }
.fc-1 { left: 3%; top: 26%; animation-delay: 1.6s; }
.fc-2 { right: 3%; top: 18%; animation-delay: 1.9s; }
.fc-3 { right: 6%; bottom: 16%; animation-delay: 2.2s; }
.fc-4 { left: 6%; bottom: 14%; animation-delay: 2.5s; }
.fc-2 .inner { animation-delay: -2s; } .fc-3 .inner { animation-delay: -4s; } .fc-4 .inner { animation-delay: -1s; }
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.mini-bars b { width: 6px; border-radius: 2px; background: var(--grad); transform-origin: bottom; animation: grow 1.2s var(--ease) both, breathe 3s ease-in-out 3s infinite; }
.mini-bars b:nth-child(1) { height: 30%; animation-delay: 2s, 3s; } .mini-bars b:nth-child(2) { height: 55%; animation-delay: 2.1s, 3.3s; }
.mini-bars b:nth-child(3) { height: 45%; animation-delay: 2.2s, 3.6s; } .mini-bars b:nth-child(4) { height: 80%; animation-delay: 2.3s, 3.9s; } .mini-bars b:nth-child(5) { height: 100%; animation-delay: 2.4s, 4.2s; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes breathe { 50% { transform: scaleY(.75); } }
.live { width: 8px; height: 8px; border-radius: 50%; background: #2fd18a; box-shadow: 0 0 0 0 rgba(47, 209, 138, .6); animation: live 1.8s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 10px rgba(47, 209, 138, 0); } }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(38, 52, 60, .25); border-radius: 14px; opacity: 0; animation: fade-up .8s var(--ease) 2.8s forwards; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.btn-magnet { transition: transform .25s var(--ease), background-position .5s var(--ease), box-shadow .25s var(--ease); }
@media (max-width: 1180px) { .float-card { display: none; } }

/* ===== Vidéo ===== */
.video-wrap { position: relative; border-radius: 22px; overflow: hidden; background: #eef7f3; box-shadow: 0 40px 80px -40px rgba(31, 140, 132, .5); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-section .section-head { text-align: center; margin-inline: auto; }
.video-section .lead { margin-inline: auto; }

/* ===== Démo CRM ===== */
.crm { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(31, 140, 132, .55); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f4f7f6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe6e3; }
.browser-bar span { margin-left: 12px; font-family: var(--label); font-size: 12px; color: var(--ink-soft); }
.shots { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.shots img.on { opacity: 1; transform: none; }
.tabs { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.tab { font-family: var(--label); font-weight: 600; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; position: relative; overflow: hidden; }
.tab.on { border-color: var(--teal); color: var(--teal-dark); }
.tab.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: left; animation: progress 5s linear forwards; }
@keyframes progress { from { transform: scaleX(0); } }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.feature-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(85, 203, 155, .16); color: var(--teal-dark); font-weight: 800; font-size: 13px; }
.feature-list strong { color: var(--ink); }
.caption { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

/* ===== Références avec captures ===== */
.ref-screen.has-img { display: block; background: #e9f3ef; }
.ref-screen.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.ref:hover .ref-screen.has-img img { transform: scale(1.06); }
.ref .soon { position: absolute; right: 10px; top: 10px; font-family: var(--label); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(38, 52, 60, .78); color: #fff; z-index: 2; }
div.ref { cursor: default; }

/* ===== Tarifs ===== */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(31, 140, 132, .5); }
.plan.featured { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.plan .tag { position: absolute; top: -13px; left: 30px; font-family: var(--label); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--ink-soft); font-size: 15px; margin: 6px 0 20px; }
.price { font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.price small { font-family: var(--label); font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; display: block; margin-bottom: 6px; }
.price-note { font-size: 12.5px; color: var(--ink-soft); margin: 8px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.plan .btn { justify-content: center; }
.pricing-foot { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ink-soft); }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 20px 40px -30px rgba(31, 140, 132, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--teal-dark); font-weight: 900; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* ===== Pages services ===== */
.crumbs { font-family: var(--label); font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal-dark); }
.page-hero { padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 64px); max-width: 18ch; margin-bottom: 20px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 16px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 20px; }
.service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.service-links a { display: block; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; transition: border-color .3s, transform .3s var(--ease); }
.service-links a:hover { border-color: var(--teal); transform: translateY(-3px); }
.service-links span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--teal-dark); }
.card .more { display: inline-block; margin-top: 18px; font-family: var(--label); font-weight: 600; font-size: 14px; text-decoration: none; }

@media (max-width: 1000px) {
  .crm, .pricing { grid-template-columns: 1fr; }
  .service-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w, .shine, .float-card { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero h1 .underline path { stroke-dashoffset: 0; }
  .scroll-hint { opacity: 1; }
}

/* ===== Zones d'intervention ===== */
.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.zone { padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, #fff, var(--tint)); }
.zone h3 { font-size: 24px; margin-bottom: 6px; }
.zone p { color: var(--ink-soft); }
.villes { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.villes li { font-family: var(--label); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.zone-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.zone-links a { font-family: var(--label); font-weight: 600; font-size: 14px; text-decoration: none; }
.zone-links a::after { content: " →"; }
@media (max-width: 860px) { .zones { grid-template-columns: 1fr; } }

/* ===== Blog ===== */
.post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(31, 140, 132, .45); border-color: #cfe7df; }
.post-card h3 { font-size: 20px; }
.post-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.post-card .more { margin-top: 4px; }
.post-meta { font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.post-byline { margin-top: 18px; font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); }
.article-body { font-size: 17.5px; }
.article-body > p:first-child { font-size: 19px; color: var(--ink); }
.article-body h2 { scroll-margin-top: 90px; }
.article-body blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--teal); background: var(--tint); border-radius: 0 14px 14px 0; color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.article-body th, .article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article-body th { font-family: var(--label); font-size: 13px; color: var(--ink); background: var(--tint); }
.cta-box { margin-top: 60px; padding: 34px; border-radius: 24px; background: linear-gradient(140deg, #f3faf7, #e6f6f1); border: 1px solid var(--line); }
.cta-box h2 { margin: 0 0 10px !important; font-size: 26px; }
.cta-box p { margin-bottom: 20px; }
@media (max-width: 1000px) { .post-cards { grid-template-columns: 1fr; } }
.post-card .more { font-family: var(--label); font-weight: 600; font-size: 14px; color: var(--teal-dark); }
