/* Concept : une histoire qui se suit au défilement. Blocs francs, rouge plein, angles nets ; le téléphone et le CRM sont les seuls objets arrondis. */
:root {
  --font: "Geist";
  --display: "Geist";
  --ok: #1d7a46;
  --ph-s: 1;
}
html { scroll-padding-top: 24px; }
body { overflow-x: clip; }
h1, h2, h3 { font-family: var(--display), var(--font), system-ui, sans-serif; font-weight: 600; letter-spacing: -.03em; }
h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.4; color: var(--muted); }

/* Boutons : aplat rouge, angles nets */
.cta { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .3s var(--spring), transform .4s var(--spring); }
.cta:hover { background: #b80023; }
.cta:active { transform: scale(.98); }
.cta.small { padding: 5px 5px 5px 16px; font-size: 14px; }
.cta i { display: grid; place-items: center; width: 28px; height: 28px; margin-left: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-style: normal; font-weight: 400; transition: transform .4s var(--spring); }
.cta:not(.small) { padding: 7px 7px 7px 22px; }
.cta:not(.small) i { width: 34px; height: 34px; margin-left: 12px; }
.cta:hover i { transform: translate(2px, -2px); }
/* Bouton des démos reprises */
.btn { gap: 0; padding: 10px 14px; border-radius: 999px; background: var(--red); }
.btn b { display: none; }
.btn.small { padding: 8px 12px; }

/* Barre du haut : une bulle centrée, cachée pendant la lecture, qui revient quand la souris monte */
.topbar { position: fixed; z-index: 30; top: calc(26px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); max-width: calc(100vw - 24px); border-radius: 999px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: 0 0 0 1px rgba(17, 17, 17, .07), 0 14px 34px -16px rgba(17, 17, 17, .3); transition: transform .55s var(--spring), opacity .4s var(--spring); }
.topbar.is-hidden { transform: translate(-50%, calc(-100% - 28px)); opacity: 0; }
.topbar:focus-within { transform: translateX(-50%); opacity: 1; }
.topbar-in { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); padding: 7px 7px 7px 22px; white-space: nowrap; }
.topbar .logo { font-family: var(--display); font-size: 20px; }
.topbar-links { display: flex; align-items: center; align-self: stretch; gap: clamp(14px, 1.8vw, 24px); font-size: 14px; font-weight: 500; line-height: 1; }
.topbar-links a { display: flex; align-items: center; height: 100%; text-decoration: none; transform-origin: center center; transition: transform .22s cubic-bezier(.2, .8, .2, 1), color .25s; will-change: transform; }
.topbar-links a:hover { color: var(--red); }

/* Écran d'arrivée : le « t » se trace, « angle » se déroule, le point rouge tombe et rebondit */
.intro { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: var(--bg); cursor: pointer; animation: introOut .7s cubic-bezier(.7, 0, .3, 1) 3.4s forwards; }
.intro.out { animation: introOut .65s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes introOut { to { opacity: 0; transform: translateY(-3%); visibility: hidden; } }
.intro-mark { display: flex; align-items: baseline; font: 600 clamp(72px, 13vw, 176px)/1 var(--display), var(--font), system-ui, sans-serif; letter-spacing: -.045em; color: var(--ink); }
.intro-t { width: .44em; height: .74em; margin-right: .01em; overflow: visible; }
.intro-t path { fill: none; stroke: var(--ink); stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 1; }
.t-stem { animation: draw .55s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
.t-bar { animation: draw .35s cubic-bezier(.65, 0, .35, 1) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-angle { display: inline-block; overflow: hidden; max-width: 0; padding-bottom: .22em; margin-bottom: -.22em; animation: unroll .75s cubic-bezier(.65, 0, .35, 1) .95s forwards; }
.intro-angle span { display: inline-block; white-space: nowrap; transform: translateX(-30%); opacity: 0; animation: slideIn .75s cubic-bezier(.2, .7, .2, 1) .95s forwards; }
@keyframes unroll { to { max-width: 3em; } }
@keyframes slideIn { to { transform: none; opacity: 1; } }
.intro-dot { display: inline-block; width: .19em; height: .19em; margin-left: .04em; border-radius: 50%; background: var(--red); opacity: 0; transform: translateY(-2.2em); animation: dotDrop 1s 1.55s forwards; }
@keyframes dotDrop {
  0% { opacity: 1; transform: translateY(-2.2em); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  45% { transform: translateY(0) scale(1.18, .82); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  65% { transform: translateY(-.32em) scale(.95, 1.05); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  82% { transform: translateY(0) scale(1.06, .94); }
  100% { opacity: 1; transform: none; }
}
.intro-wait .intro, .intro-wait .intro * { animation-play-state: paused !important; }
/* L'accueil attend la fin de l'intro pour jouer sa propre apparition */
.intro-on .hero-pb, .intro-on .hero-answer, .intro-on .hero-down { animation-play-state: paused; }
.intro-on .topbar { opacity: 0; }

/* 1. Arrivée : tout est centré, le texte apparaît en deux temps */
.hero { display: grid; place-items: center; min-height: 100dvh; text-align: center; }
.hero-in { display: grid; justify-items: center; gap: clamp(24px, 3vw, 36px); max-width: 1320px; padding-block: 88px 40px; }
.hero h1 { font-size: clamp(36px, min(5.8vw, 9.4vh), 92px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; max-width: 21ch; }
.hero-pb, .hero-answer { display: block; }
.hero-answer { margin-top: .42em; color: var(--red); }
.hero-pb, .hero-answer, .hero-down { animation: heroIn 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-answer { animation-delay: .45s; }
.hero-down { animation-delay: .85s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Décor de l'accueil : des nuages en haut, une crête des Alpes et un soleil rouge en bas, pour que l'écran ne paraisse pas vide */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: clamp(90px, 14vh, 170px); }
.hero-sky, .alps { position: absolute; z-index: -1; pointer-events: none; animation: heroIn 1.4s cubic-bezier(.2, .7, .2, 1) 1.1s both; }
.hero-sky { inset: 0 0 auto; height: 40%; }
.cloud { position: absolute; fill: #f1efed; animation: drift 14s ease-in-out infinite alternate; }
.cloud-a { left: 6%; top: calc(110px + env(safe-area-inset-top, 0px)); width: clamp(90px, 12vw, 180px); }
.cloud-b { right: 9%; top: calc(150px + env(safe-area-inset-top, 0px)); width: clamp(70px, 8vw, 130px); animation-duration: 18s; animation-direction: alternate-reverse; }
.cloud-c { left: 38%; top: calc(36px + env(safe-area-inset-top, 0px)); width: clamp(50px, 5vw, 80px); opacity: .7; animation-duration: 22s; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(18px); } }
.alps { left: 0; bottom: 0; width: 100%; height: clamp(150px, 26vh, 280px); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.alps * { transform-box: fill-box; transform-origin: center; }
.alps-sun { fill: var(--red); }
.alps-halo { fill: var(--red); opacity: 0; animation: halo 3.6s ease-out 3.2s infinite; }
.alps-rise { animation: sunrise 1.8s cubic-bezier(.2, .7, .2, 1) 1.2s both; }
.alps-bob { animation: bob 7s ease-in-out infinite alternate; }
.alps-back { fill: #f3f1ef; }
.alps-snow { fill: #fff; }
.alps-front { fill: #e9e6e3; }
.alps-cable { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-opacity: .55; }
.alps-cabin { fill: var(--red); stroke: var(--red); stroke-width: 1.5; }
.alps-cabin .win { fill: #fff; stroke: none; }
/* Le petit train à crémaillère traverse la montagne de gauche à droite */
.alps-rail { fill: none; stroke: #c9c5c1; stroke-width: 2; }
.alps-ties { fill: none; stroke: #c9c5c1; stroke-width: 6; stroke-dasharray: 1.5 7; }
.alps-train { fill: var(--red); }
.alps-train .win { fill: #fff; }
.alps-train .wheel { fill: var(--ink); }
.alps-pole { stroke: var(--ink); stroke-width: 2; }
.alps-flag { fill: var(--red); transform-origin: left center; animation: wave-flag 1.6s ease-in-out infinite alternate; }
@keyframes sunrise { from { transform: translateY(46px); } to { transform: none; } }
@keyframes bob { from { transform: translateY(14px); } to { transform: translateY(-4px); } }
@keyframes halo { from { opacity: .35; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
@keyframes wave-flag { from { transform: skewY(-6deg) scaleX(.9); } to { transform: skewY(5deg) scaleX(1.05); } }
.intro-on .hero-sky, .intro-on .alps, .intro-on .alps * { animation-play-state: paused; }
.intro-on .cloud { animation-play-state: paused; }
/* Bas de page : la même crête, au coucher, avec un drapeau rouge sur le sommet */
.book { position: relative; isolation: isolate; overflow: hidden; padding-bottom: calc(clamp(72px, 11vw, 140px) + clamp(120px, 20vh, 220px)); }
.book-sky .cloud-a { top: 40px; }
.book-sky .cloud-b { top: 90px; }
.book-alps { animation: none; }
.hero-down { font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* 2. Agent vocal */
.voice { position: relative; }
.voice-pin { display: grid; align-items: center; min-height: 100dvh; padding-block: 150px 70px; }
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); max-width: 1220px; }
/* Sur ordinateur, le téléphone et ses logos gardent de l'air jusqu'au bord de la fenêtre */
@media (min-width: 1081px) {
  .voice-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .voice-stage { margin-right: clamp(60px, 9vw, 150px); }
}
.voice-copy { display: grid; gap: 18px; min-width: 0; }
.voice-copy h2 { font-size: clamp(36px, 4.2vw, 64px); }
.pulse { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--red); }
.pulse i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
.call-try { display: grid; gap: 8px; }
.call-try b { font-weight: 600; font-size: 15px; }
.call-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.call-buttons button { appearance: none; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; padding: 8px 12px; cursor: pointer; transition: background .25s, color .25s; }
.call-buttons button:hover, .call-buttons button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ic-phone { display: inline-block; width: 20px; height: 20px; border-radius: 5px; background: #2fb84f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.100.4 2.300.6 3.600.6.600 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.500c.6 0 1 .4 1 1 0 1.300.2 2.500.6 3.600.1.300 0 .7-.2 1z'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* L'iPhone : un empilement de tranches donne une vraie épaisseur aux coins arrondis */
.voice-stage { justify-self: center; position: relative; display: flex; align-items: flex-end; justify-content: center; isolation: isolate; }
.voice-stage::before { content: ""; position: absolute; z-index: -1; left: var(--dcx, 50%); top: var(--dcy, 50%); width: var(--disc, 600px); aspect-ratio: 1; border-radius: 50%; background: var(--tray); transform: translate(-50%, -50%); }
.orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.orb { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: var(--os, 80px); height: var(--os, 80px); border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 17, .06), 0 18px 34px -18px rgba(17, 17, 17, .4); }
.orb img, .orb svg { display: block; width: 50%; height: 50%; object-fit: contain; }
.orb.wide img { width: 68%; }
.orb-phone { background: linear-gradient(#5ee272, #27b545); }
.phone-scene { position: relative; z-index: 1; width: calc(340px * var(--ph-s)); height: calc(700px * var(--ph-s)); perspective: 1500px; }
.phone3d { position: relative; width: 340px; height: 700px; zoom: var(--ph-s); transform-style: preserve-3d; transform-origin: 50% 100%; transform: translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)); }
/* Au repos, plus aucune transformation : le téléphone est rendu net, sans flou */
.phone3d.rest { transform: none; transform-style: flat; }
.phone3d.rest .ph-slices { display: none; }
.phone3d.rest .ph-front { transform: none; }
.ph-slices { position: absolute; inset: 0; transform-style: preserve-3d; opacity: var(--sl, 1); }
.ph-slices i { position: absolute; inset: 0; border-radius: var(--r, 56px); background: linear-gradient(100deg, #8b8e93, #54565a 18%, #7c7f84 50%, #4b4d50 82%, #96999e); transform: translateZ(calc(var(--z) * var(--zk, 1) * 1px)); }
.ph-btn { opacity: var(--ui, 1); position: absolute; left: 0; width: 5px; border-radius: 3px 0 0 3px; background: #3a3b3e; transform: translate3d(-3px, 0, 0); }
.ph-btn-a { top: 120px; height: 30px; }
.ph-btn-b { top: 172px; height: 58px; }
.ph-btn-c { top: 244px; height: 58px; }
.ph-front { position: absolute; inset: 0; padding: var(--pad, 9px); border-radius: var(--r, 56px); background: #0b0b0c; transform: translateZ(var(--fz, 11px)); box-shadow: var(--sh, inset 0 0 0 1.5px #5d6064); }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: var(--sr, 47px); overflow: hidden; background: var(--red); color: #fff; font-size: 14px; line-height: 1.3; font-family: -apple-system, BlinkMacSystemFont, var(--font), system-ui, sans-serif; }
.ph-island { opacity: var(--ui, 1); position: absolute; left: 50%; top: 20px; width: 96px; height: 28px; margin-left: -48px; border-radius: 16px; background: #000; pointer-events: none; }
.ph-home { opacity: var(--ui, 1); position: absolute; left: 50%; bottom: 17px; width: 128px; height: 16px; margin-left: -64px; padding: 0; border: 0; background: none; cursor: pointer; }
.ph-home::after { content: ""; display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: currentColor; color: rgba(255, 255, 255, .85); }
.ph-home.dark::after { color: rgba(0, 0, 0, .75); }

.scr { position: absolute; inset: 0; display: flex; flex-direction: column; animation: scrIn .35s var(--spring) both; }
@keyframes scrIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.scr-status { display: flex; justify-content: space-between; padding: 19px 28px 0; font-size: 14px; font-weight: 600; flex: none; height: 54px; }
.scr-status span:last-child { font-size: 11px; letter-spacing: .02em; }
.scr-light { background: #fff; color: #111; }
.scr-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 8px 16px 34px; display: flex; flex-direction: column; gap: 10px; }
.scr-title { display: flex; align-items: center; gap: 8px; padding: 2px 16px 10px; font-weight: 600; font-size: 17px; flex: none; border-bottom: 1px solid #eee; }
.scr-title img { width: 24px; height: 24px; }
.scr-title small { display: block; font-size: 11px; font-weight: 400; color: #666; }

.crm-stage { position: relative; z-index: 1; margin-bottom: 60px; min-width: 0; }
.orbit-crm { inset: auto 0 100% 0; }

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Le chemin du dossier, du téléphone au CRM */
main { position: relative; overflow-x: clip; }
.transit { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; overflow: visible; }
.transit path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tr-base { display: none; }
.tr-live { stroke: var(--red); stroke-opacity: .28; stroke-width: 3; transition: opacity .25s; }
.transit-gap { height: 34vh; }
.transit-ball { position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; transition: opacity .25s; will-change: transform; }
.transit-ball.on { opacity: 1; }
.transit-ball i { position: absolute; left: -24px; top: -24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(228, 0, 43, .14), 0 12px 24px -8px rgba(17, 17, 17, .45); transform: scale(var(--sc, 1)); }
.transit-ball svg { display: block; width: 28px; height: 28px; fill: #fff; transform: rotate(var(--ang, 180deg)); }
.transit-ball span { position: absolute; left: 36px; top: -15px; padding: 5px 10px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.transit-ball.flip span { left: auto; right: 36px; }
.crm-got { display: none; padding: 3px 9px; border-radius: 4px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; animation: pop .5s var(--spring) both; }
.crm-app.got .crm-got { display: inline-block; }

/* Accueil du téléphone */
.home { background: var(--red); }
.home-widget { padding: 14px; border-radius: 20px; background: #fff; color: #111; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; margin: 6px 0 14px; }
.home-widget b { display: block; font-size: 15px; }
.home-widget small { display: block; color: #555; font-size: 12px; line-height: 1.3; }
.home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.app { appearance: none; border: 0; background: none; color: #fff; font: inherit; font-size: 11px; display: grid; justify-items: center; gap: 5px; padding: 0; cursor: pointer; transition: transform .25s var(--spring); }
.app:hover { transform: translateY(-3px) scale(1.04); }
.app > span { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: #fff; }
.app img { width: 36px; height: 36px; }
.app .tile-phone { background: linear-gradient(#5ee272, #27b545); }
.app .tile-phone svg { width: 36px; height: 36px; fill: #fff; }
.app .tile-sms { background: linear-gradient(#67e87f, #2ec24e); }
.app .tile-sms svg { width: 36px; height: 36px; fill: #fff; }
.app .tile-t { background: #111; color: #fff; font: 700 28px var(--display); }
.app .tile-t i { color: var(--red); font-style: normal; }
.badge { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: #111; color: #fff; font-size: 12px; line-height: 21px; text-align: center; font-weight: 600; box-shadow: 0 0 0 2px var(--red); }
.home-dock { margin-top: auto; padding: 12px; border-radius: 28px; background: rgba(255, 255, 255, .22); display: flex; justify-content: space-around; }
.home-dock .app em { display: none; }

/* Appel */
.incall { background: #17181a; }
.incall-top { display: grid; justify-items: center; gap: 4px; padding: 14px 16px 10px; text-align: center; flex: none; }
.incall-top .face { margin-bottom: 6px; }
.incall-top h3 { font: 600 26px var(--font); letter-spacing: -.01em; }
.incall-top p { color: #b9bbbf; font-size: 14px; }
.ph-wave { display: flex; align-items: center; justify-content: center; gap: 2px; height: 30px; flex: none; }
.ph-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--red); animation: wave 900ms ease-in-out infinite alternate; animation-delay: var(--d); }
.ph-lines { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 10px 14px; display: flex; flex-direction: column; gap: 7px; }
.bub { max-width: 86%; padding: 8px 11px; border-radius: 15px; font-size: 13.5px; animation: pop .4s var(--spring) both; }
.bub.in { align-self: flex-start; background: #2c2d30; }
.bub.out { align-self: flex-end; background: var(--red); }
.call-actions { display: flex; justify-content: center; gap: 44px; padding: 10px 0 40px; flex: none; }
.round { appearance: none; border: 0; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; transition: transform .3s var(--spring); }
.round:hover { transform: scale(1.07); }
.round svg { width: 32px; height: 32px; fill: currentColor; }
.round.go { background: #2fb84f; animation: ring 1.1s infinite; }
.round.stop { background: #e5342f; }
.round.stop svg { transform: rotate(135deg); }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 184, 79, .6); } 70% { box-shadow: 0 0 0 16px rgba(47, 184, 79, 0); } }
.round-wrap { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: #d8d9db; }
.incoming-pick { display: grid; gap: 6px; padding: 0 22px; margin-top: auto; margin-bottom: 22px; }
.incoming-pick p { font-size: 13px; color: #b9bbbf; text-align: center; }
.after { display: grid; gap: 8px; padding: 10px 14px 36px; flex: none; }
.after-sum { padding: 10px 12px; border-radius: 14px; background: #2c2d30; font-size: 13px; }
.after-sum small { display: block; color: #b9bbbf; font-size: 11px; margin-bottom: 2px; }
.after-link { appearance: none; border: 0; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 14px; background: #fff; color: #111; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.after-link img { width: 22px; height: 22px; flex: none; }
.after-link em { margin-left: auto; font-style: normal; color: var(--red); font-weight: 600; white-space: nowrap; }

/* Notification */
.notif { position: absolute; z-index: 5; left: 10px; right: 10px; top: 54px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .97); color: #111; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); border: 0; font: inherit; text-align: left; cursor: pointer; animation: notif .6s var(--spring) both; }
.notif img { width: 32px; height: 32px; flex: none; }
.notif b { display: block; font-size: 13px; }
.notif span { display: block; font-size: 12px; line-height: 1.25; color: #333; }
@keyframes notif { from { transform: translateY(-120%); opacity: 0; } to { transform: none; opacity: 1; } }

/* WhatsApp */
.wa-scr { background: #efeae2; color: #111; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 4px 14px 10px; background: #075e54; color: #fff; flex: none; margin-top: -54px; padding-top: 58px; }
.wa-head b { display: block; font-size: 15px; }
.wa-head small { font-size: 11px; opacity: .85; }
.wa-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 7px; padding: 12px 12px 40px; }
.wa-b { max-width: 88%; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 13px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); animation: pop .4s var(--spring) both; }
.wa-b small { display: block; margin-top: 3px; text-align: right; font-size: 10px; color: #777; }
.wa-b b { display: block; }
.wa-b.me { align-self: flex-end; background: #d9fdd3; }
.wa-b.new { box-shadow: 0 0 0 2px var(--red); }

/* Agenda */
.ag-list { display: grid; gap: 8px; padding: 12px 14px 40px; align-content: start; overflow-y: auto; flex: 1; min-height: 0; }
.ag-day { font-size: 12px; font-weight: 600; color: #666; }
.ag-ev { display: grid; gap: 1px; padding: 9px 12px; border-radius: 8px; background: #e8f0fe; border-left: 4px solid #4285f4; font-size: 13px; animation: pop .4s var(--spring) both; }
.ag-ev b { font-weight: 600; }
.ag-ev small { color: #555; }
.ag-ev.new { background: #fde8ec; border-left-color: var(--red); }

/* Liste d'appels et SMS */
.rec { appearance: none; border: 0; border-bottom: 1px solid #eee; background: none; color: #111; font: inherit; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 11px 16px; text-align: left; cursor: pointer; width: 100%; }
.rec:hover { background: #f6f5f4; }
.rec b { font-weight: 600; font-size: 15px; }
.rec small { grid-column: 1; color: #666; font-size: 12px; }
.rec time { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--red); font-weight: 600; font-size: 13px; }
.sms-list { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px 40px; flex: 1; min-height: 0; overflow-y: auto; }
.sms-b { align-self: flex-start; max-width: 86%; padding: 8px 12px; border-radius: 16px; background: #e9e9eb; font-size: 13.5px; animation: pop .4s var(--spring) both; }

/* Mascottes */
.mascot { margin: 0; position: relative; display: grid; justify-items: center; min-width: 0; }
.mascot img { display: block; width: 100%; height: auto; max-height: 82dvh; object-fit: contain; object-position: bottom; }
.mascot figcaption { display: grid; justify-items: center; font-size: 13px; color: var(--muted); text-align: center; }
.mascot strong { font: 600 26px/1.1 var(--display), var(--font); letter-spacing: -.02em; color: var(--ink); }
.mascot-voice { z-index: 0; width: calc(330px * var(--ph-s)); margin-right: calc(-125px * var(--ph-s)); transform: translateX(calc(var(--mx, 0) * 1px)); opacity: var(--mo, 1); }
.mascot-voice figcaption { margin-right: calc(125px * var(--ph-s)); }

/* Visages découpés dans les images en pied */
.face { position: relative; display: block; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: var(--tray); flex: none; }
.face img { position: absolute; left: var(--x, -130%); top: -2%; width: 360%; max-width: none; height: auto; }
.face-sm { width: 46px; height: 46px; }
.face-lg { width: 96px; height: 96px; }

/* 3. CRM */
.crm-sec { padding-block: 0 clamp(48px, 6vw, 80px); }
.crm-sec .wrap { max-width: 1400px; }
.crm-intro { display: grid; gap: 16px; max-width: 600px; margin-bottom: 200px; }
.crm-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 17vw, 250px); align-items: end; }
.mascot-crm { z-index: 0; margin-left: -70px; margin-bottom: 60px; isolation: isolate; }
.mascot-crm::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: 110%; aspect-ratio: 1; border-radius: 50%; background: var(--tray); transform: translateX(-46%); }
.crm-app { display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px var(--ink), 10px 10px 0 var(--red); min-height: 620px; }
.crm-top { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 14px; padding: 12px 16px; background: var(--ink); color: #fff; }
.crm-top b { font-weight: 600; font-size: 15px; }
.crm-demo { font-size: 12px; color: #c6c4c2; margin-left: auto; }
.crm-app .compose { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.crm-app .compose b { font-size: 14px; }
.tool { display: inline-block; width: 18px; height: 18px; flex: none; object-fit: contain; vertical-align: -3px; }
.timeline .tool { margin-right: 6px; width: 15px; height: 15px; }
.used { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.used b { font-weight: 600; color: var(--ink); }
.todo-ic { display: grid; place-items: center; grid-row: 1 / span 2; }
.todo button:disabled { cursor: default; }
.todo button:disabled:hover { background: none; }
.mailcard { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; animation: pop .4s var(--spring) both; }
.bills { display: grid; }
.bill { display: grid; grid-template-columns: minmax(0, 1fr) 112px 92px 118px; gap: 10px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.bill b { display: block; font-weight: 600; }
.bill small { display: block; color: var(--muted); font-size: 13px; }
.bill.fresh { background: #fdecef; animation: pop .4s var(--spring) both; }
.amt { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; white-space: nowrap; }
.bill-act { display: flex; justify-content: flex-end; }
.primary.mini, .ghosty.mini { padding: 6px 10px; font-size: 13px; white-space: nowrap; }
.pay-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pay-kpis .kpi b { font-size: clamp(22px, 2.2vw, 30px); }
.kpi.late b { color: var(--red); }
.reminds { display: grid; gap: 10px; }
.remind { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.remind header { display: flex; justify-content: space-between; gap: 12px; }
.remind header b { display: block; font-weight: 600; }
.remind header small { color: var(--muted); font-size: 13px; }
.remind > p:not(.used) { color: #3d3c3a; }
.remind-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.chan { display: inline-flex; gap: 4px; }
.chan-b { appearance: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.chan-b[aria-pressed="true"] { border-color: var(--ink); font-weight: 500; }
.crm-side { display: grid; align-content: start; gap: 2px; padding: 10px; background: var(--tray); border-right: 1px solid var(--line); }
.crm-side small { padding: 12px 10px 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.nav-it { appearance: none; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 6px; text-align: left; cursor: pointer; white-space: nowrap; position: relative; }
.nav-it img { width: 18px; height: 18px; flex: none; }
.nav-it:hover { background: #ecebe9; }
.nav-it[aria-current="true"] { background: var(--ink); color: #fff; font-weight: 500; }
.nav-it em { margin-left: auto; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-style: normal; line-height: 19px; text-align: center; }
.crm-view { min-width: 0; padding: 18px; display: grid; gap: 14px; align-content: start; }
.crm-view h4 { margin: 0; font: 600 22px/1.15 var(--display); letter-spacing: -.02em; }
.todo { display: grid; }
.todo button { appearance: none; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 13px 4px; text-align: left; cursor: pointer; width: 100%; }
.todo button:hover { background: var(--tray); }
.todo i { width: 12px; height: 12px; border: 2px solid var(--red); border-radius: 3px; justify-self: center; }
.todo .done-i { background: var(--ok); border-color: var(--ok); }
.todo b { font-weight: 600; }
.todo small { grid-column: 2; color: var(--muted); font-size: 13px; }
.todo em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; font-weight: 600; font-size: 13px; color: var(--red); white-space: nowrap; }
.from-marg { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--tray); font-size: 14px; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.flow span { padding: 4px 9px; border-radius: 6px; background: var(--tray); color: var(--muted); }
.flow span.on { background: var(--ink); color: #fff; }
.primary { appearance: none; border: 0; justify-self: start; padding: 11px 16px; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s; }
.primary:hover { background: #b80023; }
.ghosty { appearance: none; justify-self: start; border: 1.5px solid var(--ink); padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; font-size: 14px; cursor: pointer; }
.ghosty:hover { background: var(--ink); color: #fff; }

/* Boîte façon Gmail */
.gm { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gm-head { display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: #f6f8fc; font-size: 15px; font-weight: 500; }
.gm-head img { width: 22px; height: auto; }
.gm-row { appearance: none; border: 0; border-top: 1px solid var(--line); background: #fff; color: inherit; font: inherit; font-size: 14px; display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; text-align: left; cursor: pointer; width: 100%; }
.gm-row:hover { background: #f6f8fc; }
.gm-row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-row time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.gm-row.fresh { background: #fdecef; animation: pop .4s var(--spring) both; }
.gm-open { display: grid; gap: 10px; padding: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.gm-open h5 { margin: 0; font: 600 18px/1.2 var(--font); }
.gm-open .who { color: var(--muted); font-size: 13px; }
.pdf { display: inline-grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; align-items: center; justify-self: start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; }
.pdf i { grid-row: 1 / span 2; display: grid; place-items: center; height: 34px; border-radius: 4px; background: var(--red); color: #fff; font: 700 10px var(--font); }
.pdf b { font-weight: 600; font-size: 13px; }
.pdf small { color: var(--muted); font-size: 12px; }

/* WhatsApp et agenda dans le CRM */
.wa-mini { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 8px; background: #efeae2; min-height: 240px; }
.pics { display: grid; grid-template-columns: repeat(3, 72px); gap: 4px; margin-top: 4px; }
.pics i { height: 58px; border-radius: 4px; background: linear-gradient(135deg, #d9d6d0, #a9b5bb); }
.pics i:nth-child(2) { background: linear-gradient(135deg, #c7cfd3, #e8e5df); }
.pics i:nth-child(3) { background: linear-gradient(135deg, #b5bcc0, #d8d2c6); }
.ag-week { display: grid; gap: 6px; }

/* Google Sheets */
.sheet-wrap { overflow-x: auto; border: 1px solid #d6d6d6; border-radius: 4px; }
.sheet-top { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; }
.sheet-top img { width: 18px; height: 24px; }
.sheet { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: 6px 9px; border: 1px solid #e2e3e3; text-align: left; white-space: nowrap; }
.sheet th { background: #f3f4f4; font-weight: 500; color: #555; }
.sheet td:last-child, .sheet th:last-child { text-align: right; }
.sheet .chg { background: #e6f4ea; box-shadow: inset 0 0 0 2px #0f9d58; }

/* 4. À propos */
.about { display: grid; grid-template-columns: clamp(220px, 28vw, 380px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; max-width: 1320px; padding-block: clamp(72px, 9vw, 130px) clamp(32px, 4vw, 56px); }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); max-width: 100%; }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.about-text { display: grid; gap: 18px; min-width: 0; }
.about .bio { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.38; max-width: 34em; }
.about .sign { font-size: 15px; color: var(--muted); }
.about .sign strong { display: block; color: var(--ink); font-weight: 600; font-size: 18px; }

/* Équipe */
.crew { max-width: 1320px; padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 110px); }
.crew h2 { font-size: clamp(30px, 3.6vw, 48px); }
.bubbles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.mate { color: inherit; text-decoration: none; display: grid; justify-items: center; align-content: start; gap: 3px; min-width: 0; padding: 8px 4px; text-align: center; transition: transform .6s var(--spring); }
.mate:hover { transform: translateY(-6px); }
.mate .face { width: clamp(112px, 13vw, 170px); height: clamp(112px, 13vw, 170px); margin-bottom: 10px; transition: box-shadow .4s var(--spring); }
.mate:hover .face { box-shadow: 0 0 0 3px var(--red); }
.mate strong { font: 600 20px/1.15 var(--display); letter-spacing: -.02em; }
.mate small { font-size: 13px; font-weight: 500; line-height: 1.3; }
.more-faces { display: flex; align-items: center; justify-content: center; height: clamp(112px, 13vw, 170px); margin-bottom: 10px; }
.mate .more-faces .face { width: clamp(64px, 6.6vw, 92px); height: clamp(64px, 6.6vw, 92px); margin: 0 0 0 -14px; box-shadow: 0 0 0 3px #fff; }
.mate .more-faces .face:first-child { margin-left: 0; }
.mate:hover .more-faces .face { box-shadow: 0 0 0 3px #fff; }
.more-faces img { filter: grayscale(1) blur(4px); opacity: .7; }
.more-plus { display: grid; place-items: center; background: var(--red); color: #fff; font-size: 30px; font-weight: 500; line-height: 1; }
.mate .spec { font-size: 14px; line-height: 1.3; color: var(--muted); max-width: 22ch; }

/* 5. Méthode et réservation */
.steps { max-width: 1160px; padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.steps h2 { font-size: clamp(34px, 4.8vw, 56px); }
.steps .stepper { margin-top: clamp(28px, 4vw, 48px); }
.step-card { border-radius: 10px; }
.book { border-top: 1px solid var(--line); }
.book-sky { animation: none; }
.booking { display: grid; justify-items: start; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 10px; background: var(--tray); }
.booking h3 { font-size: clamp(24px, 2.6vw, 32px); }
.book .booking p { margin: 0; }

/* 6. Bas de page */
.foot { padding: 0; border-top: 1px solid var(--line); overflow: hidden; }
.foot .foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); padding-block: 40px 28px; }
.foot-col { display: grid; align-content: start; justify-items: start; gap: 10px; font-size: 16px; color: var(--ink); }
.foot-col h2 { margin-bottom: 6px; font: 600 15px/1.3 var(--font); letter-spacing: 0; color: var(--muted); }
.foot-col a { text-decoration: none; transition: color .3s var(--spring); }
.foot-col a:hover { color: var(--red); }
.foot .wrap.foot-note { display: block; font-size: 12px; color: var(--muted); padding-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}
@media (max-width: 1080px) {
  .topbar-links { display: none; }
  .voice-pin { min-height: 0; padding-block: 64px; }
  .voice-stage { margin-top: 110px; }
  .voice-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .voice-copy { justify-self: stretch; }
  .crm-intro { margin-bottom: 40px; }
  .crm-layout { grid-template-columns: minmax(0, 1fr); }
  .mascot-crm { margin: 0 0 140px; order: -1; grid-template-columns: 90px auto; justify-content: start; justify-items: start; align-items: center; gap: 12px; }
  .mascot-crm img { width: 90px; }
  .mascot-crm figcaption { justify-items: start; text-align: left; }
  .mascot-crm::before { display: none; }
}
@media (max-width: 820px) {
  .transit-gap { height: 50vh; }
  .transit-ball span, .transit-ball.flip span { right: auto; top: -48px; }
  .crm-app { grid-template-columns: minmax(0, 1fr); min-height: 0; box-shadow: 0 0 0 1.5px var(--ink), 5px 5px 0 var(--red); margin-right: 5px; }
  .crm-side { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .crm-side small { display: none; }
  .crm-view { padding: 12px; }
  .bill { grid-template-columns: minmax(0, 1fr) auto; }
  .bill .pill { grid-column: 1; }
  .bill-act { grid-column: 2; }
  .pay-kpis { grid-template-columns: minmax(0, 1fr); }
}
/* Tablette : le téléphone et Margaux gardent leurs proportions, la bio et l'équipe restent sur plusieurs colonnes */
@media (min-width: 601px) and (max-width: 1080px) {
  .voice-pin { padding-block: 120px 64px; }
  .voice-copy { max-width: 640px; justify-self: center; text-align: center; justify-items: center; }
  .call-buttons { justify-content: center; }
  .crm-intro { max-width: 640px; }
  .mascot-crm { grid-template-columns: 120px auto; }
  .mascot-crm img { width: 120px; }
  .mascot-crm strong { font-size: 30px; }
}
@media (max-width: 600px) {
  .mascot-voice { width: 150px; margin-right: -62px; }
  .mascot-voice figcaption { margin-right: 62px; }
  .mascot-voice strong { font-size: 20px; }
  /* CRM au téléphone : les modules et les écrans en colonnes, tout reste visible sans défiler de côté */
  .crm-app .switches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
  .crm-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 8px; }
  .nav-it { justify-content: flex-start; padding: 10px 12px; border: 1px solid var(--line); background: #fff; }
  .crm-top { padding: 12px; }
  .crm-demo { margin-left: 0; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 260px; }
  .bubbles { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mate { grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; justify-items: start; align-items: center; padding: 6px 0; text-align: left; }
  .mate .face { grid-row: 1 / span 3; width: 92px; height: 92px; margin: 0; }
  .mate-more { grid-template-columns: minmax(0, 1fr); }
  .more-faces { height: auto; margin: 0 0 8px; justify-content: flex-start; }
  .mate .more-faces .face { grid-row: auto; width: 64px; height: 64px; margin: 0 0 0 -14px; }
  .mate .more-faces .face:first-child { margin-left: 0; }
  .mate .spec { max-width: none; }
  .foot .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

