/* Studio Nova — site vitrine premium + assistant animé */
:root {
  --primaire: #5B3DF5; --primaire-fonce: #4428D6; --primaire-clair: #B9AEFF;
  --accent: #FF6B4A; --accent-fonce: #E8522F;
  --fond: #F8F7F4; --surface: #FFFFFF; --encre: #15121F; --muet: #6B6778; --ligne: #E6E2DA;
  --profond: #0E0B1F; --profond-2: #17132E; --ok: #17A673;
  --f-titre: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: var(--f-texte);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --doux: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--f-texte); background: var(--fond); color: var(--encre); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.conteneur { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Typo */
.eyebrow { font-family: var(--f-texte); font-size: .95rem; font-weight: 600; color: var(--primaire); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-clair { color: var(--primaire-clair); }
.mono { font-family: var(--f-texte); font-size: .8rem; font-weight: 500; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.titre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; margin-top: 14px; max-width: 16ch; }
.titre .serif { font-size: 1.12em; }
.titre-moyen { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
.accent { color: var(--primaire); }
.accent-clair { color: var(--primaire-clair); }
.gradient-texte { background: linear-gradient(120deg, var(--primaire), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sous { color: var(--muet); margin-top: 14px; max-width: 34em; }

/* Boutons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font-weight: 600; border-radius: 0; padding: 15px 26px; transition: transform .35s var(--ressort), box-shadow .35s, background .3s; }
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ressort); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-primaire { background: var(--primaire); color: #fff; box-shadow: 0 12px 30px -8px rgba(91, 61, 245, .55); }
.btn-primaire:hover { background: var(--primaire-fonce); box-shadow: 0 18px 40px -10px rgba(91, 61, 245, .7); }
.btn-verre { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-verre:hover { background: rgba(255, 255, 255, .18); }
.btn-petit { padding: 10px 18px; font-size: .9rem; }
.magnetique::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--doux); }
.magnetique:hover::after { transform: translateX(120%); }
.magnetique:hover { transform: translateY(-2px) scale(1.03); }
.magnetique:active { transform: scale(.97); }

.point-vivant { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; animation: anneau 2s infinite; }
@keyframes anneau { 0% { box-shadow: 0 0 0 0 rgba(23, 166, 115, .6); } 70% { box-shadow: 0 0 0 10px rgba(23, 166, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 166, 115, 0); } }

/* Navigation pilule */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(1180px, calc(100% - 32px)); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 20px; border-radius: 0; color: #fff; transition: background .4s, box-shadow .4s, color .4s, border-color .4s; border: 1px solid transparent; }
.nav.verre { background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); color: var(--encre); border-color: rgba(230, 226, 218, .8); box-shadow: 0 10px 40px -12px rgba(21, 18, 31, .18); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.logo-mark { font-family: var(--f-titre); font-size: 1.05rem; color: #fff; width: 32px; height: 32px; border-radius: 0; display: grid; place-items: center; background: var(--primaire); }
.logo-mark svg { width: 18px; height: 18px; fill: #fff; stroke: none; transition: transform .6s var(--ressort); }
.logo:hover .logo-mark svg { transform: rotate(90deg) scale(1.1); }
.nav-liens { display: flex; gap: 4px; margin-left: auto; }
.nav-liens a { padding: 8px 14px; border-radius: 0; font-size: .92rem; font-weight: 500; opacity: .85; transition: opacity .2s, background .2s, transform .25s; }
.nav-liens a:hover { opacity: 1; background: rgba(127, 127, 127, .12); transform: translateY(-1px); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(127, 127, 127, .15); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 0; transition: transform .35s var(--doux); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-mobile { position: fixed; inset: 0; z-index: 55; background: rgba(14, 11, 31, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 32px; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a { font-family: var(--f-titre); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; padding: 6px 0; }
.menu-mobile .btn { margin-top: 24px; align-self: flex-start; }

/* Hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 140px 0 96px; background: var(--profond); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 31, .55) 0%, rgba(14, 11, 31, .25) 35%, rgba(14, 11, 31, .92) 100%), linear-gradient(90deg, rgba(14, 11, 31, .85) 0%, rgba(14, 11, 31, .1) 70%), radial-gradient(60% 60% at 85% 20%, rgba(91, 61, 245, .45), transparent 70%); }
.hero-particules span { position: absolute; left: var(--x); top: var(--y); color: #fff; font-size: calc(26px * var(--s)); opacity: .0; animation: flotte 7s ease-in-out var(--d) infinite; text-shadow: 0 0 18px rgba(185, 174, 255, .9); }
.hero-particules span:nth-child(odd) { color: var(--primaire-clair); }
.hero-particules span:nth-child(4) { color: var(--accent); }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(0); opacity: .25; } 50% { transform: translateY(-18px) rotate(20deg); opacity: .95; } }
.hero-contenu { position: relative; width: 100%; }
.hero h1 { font-family: var(--f-titre); font-weight: 800; letter-spacing: -.055em; line-height: .92; margin: 22px 0 26px; }
.hero-l1 { display: block; font-size: clamp(3rem, 1.2rem + 7.5vw, 7.6rem); }
.hero-l2 { display: block; font-size: clamp(3.4rem, 1.4rem + 8.4vw, 8.6rem); color: var(--primaire-clair); line-height: .95; padding-bottom: .06em; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 8px 14px; border-radius: 0; backdrop-filter: blur(10px); }
.hero-texte { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); max-width: 36em; color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-preuves { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero-preuves b { color: #fff; font-family: var(--f-titre); font-size: 1.15rem; margin-right: 6px; }
.hero-scroll { position: absolute; right: 32px; bottom: 36px; width: 28px; height: 46px; border-radius: 0; border: 1.5px solid rgba(255, 255, 255, .4); }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 0; background: #fff; animation: molette 1.8s var(--doux) infinite; }
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-serree { padding: 20px 0 40px; }
.sombre { background: var(--profond); color: #fff; }
.grille-fond { background-image: linear-gradient(rgba(21, 18, 31, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 18, 31, .05) 1px, transparent 1px); background-size: 56px 56px; }
.carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.feature { padding: 22px 22px 28px; transition: transform .5s var(--doux), box-shadow .5s; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(21, 18, 31, .3); }
.feature h3 { font-family: var(--f-titre); font-size: 1.35rem; letter-spacing: -.02em; margin-top: 22px; }
.feature p { color: var(--muet); margin-top: 6px; font-size: .97rem; }

.pile { position: relative; height: 176px; border-radius: 0; background: linear-gradient(160deg, #F1EEFF, #FFF2EE); overflow: hidden; }
.pile-carte { position: absolute; left: 16px; right: 16px; top: 40px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 0; padding: 14px; box-shadow: 0 10px 24px -12px rgba(21, 18, 31, .25); transition: transform .7s var(--ressort), opacity .7s, z-index 0s .35s; font-size: .86rem; }
.pile-carte small { display: block; color: var(--muet); }
.pile-ico { flex: none; width: 34px; height: 34px; border-radius: 0; display: grid; place-items: center; background: var(--primaire); color: #fff; font-family: var(--f-mono); font-weight: 600; }
.pile-carte[data-pos="0"] { transform: translateY(0) scale(1); z-index: 3; opacity: 1; }
.pile-carte[data-pos="1"] { transform: translateY(-16px) scale(.94); z-index: 2; opacity: .75; }
.pile-carte[data-pos="2"] { transform: translateY(-30px) scale(.88); z-index: 1; opacity: .45; }

/* Signature : notifications qui tombent dans le fil */
.signature { position: relative; height: 176px; border-radius: 0; overflow: hidden; background: linear-gradient(165deg, #2A1C8F 0%, #5B3DF5 55%, #FF8A6B 130%); color: #fff; }
.signature .blob { position: absolute; border-radius: 50%; filter: blur(28px); background: rgba(255, 255, 255, .35); }
.signature .b1 { width: 120px; height: 120px; left: -30px; top: -40px; }
.signature .b2 { width: 90px; height: 90px; right: -20px; bottom: 10px; background: rgba(255, 107, 74, .6); }
.sig-tete, .sig-pied { position: absolute; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; z-index: 2; }
.sig-tete { top: 12px; opacity: .85; }
.sig-pied { bottom: 10px; justify-content: flex-start; font-size: .7rem; }
.sig-pied .mono { animation: apparait .5s var(--doux); }
.sig-pluie span { position: absolute; top: 18px; width: 26px; height: 26px; border-radius: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--primaire); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35); animation: tombe 2.6s cubic-bezier(.55, 0, .7, .4) infinite; opacity: 0; }
.sig-pluie span svg { width: 14px; height: 14px; }
.sig-pluie span.coeur { color: var(--accent); }
.sig-pluie span.coeur svg { fill: currentColor; stroke: none; }
@keyframes tombe { 0% { transform: translate(-50%, -10px) rotate(-12deg) scale(.7); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%, 102px) rotate(10deg) scale(1); opacity: 0; } }
.sig-surface { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; height: 22px; }
.sig-surface path { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .55); stroke-width: 1.2; }
.sig-ondes i { position: absolute; left: var(--x); bottom: 38px; width: 16px; height: 6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); animation: onde 2.4s ease-out infinite; }
@keyframes onde { 0% { transform: translateX(-50%) scale(.4); opacity: .9; } 80%, 100% { transform: translateX(-50%) scale(3.5); opacity: 0; } }
@keyframes apparait { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Calendrier + curseur */
.calendrier { position: relative; height: 176px; border-radius: 0; background: linear-gradient(160deg, #F5F3EE, #ECE9FF); padding: 14px; overflow: hidden; }
.cal-tete { display: flex; justify-content: space-between; color: var(--muet); }
.cal-etat { color: var(--primaire); transition: color .3s; }
.cal-etat.ok { color: var(--ok); }
.cal-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.cal-grille span { font-family: var(--f-mono); font-size: .76rem; text-align: center; padding: 8px 0; border-radius: 0; background: #fff; border: 1px solid var(--ligne); transition: all .4s var(--ressort); }
.cal-grille .cal-pris { background: transparent; color: #B9B5C2; text-decoration: line-through; border-style: dashed; }
.cal-grille .cal-cible.survol { border-color: var(--primaire); box-shadow: 0 0 0 3px rgba(91, 61, 245, .18); }
.cal-grille .cal-cible.reserve { background: var(--primaire); color: #fff; border-color: var(--primaire); transform: scale(1.08); }
.curseur { position: absolute; width: 22px; height: 22px; left: 85%; top: 85%; fill: var(--encre); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); transition: left 1.1s var(--doux), top 1.1s var(--doux), transform .15s; }
.curseur.clic { transform: scale(.8); }

/* Piliers */
.piliers-section { padding: 70px 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pilier { position: relative; padding: 10px 6px; }
.pilier-nb { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.balayage { display: block; position: relative; height: 1px; background: var(--ligne); margin: 18px 0 14px; overflow: hidden; }
.balayage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--primaire), transparent); animation: balaye 3s ease-in-out infinite; }
@keyframes balaye { 0% { transform: translateX(-100%); } 50%, 100% { transform: translateX(100%); } }
.pilier p { color: var(--muet); max-width: 22em; }

/* Protocole (pile collante) */
.protocole { margin-top: 56px; display: grid; gap: 28px; }
.etape { position: sticky; top: 104px; display: grid; grid-template-columns: 1fr 1.1fr; min-height: min(68vh, 560px); background: var(--surface); border: 1px solid var(--ligne); border-radius: 0; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(21, 18, 31, .35); transform-origin: center top; }
.etape:nth-child(2) { top: 124px; } .etape:nth-child(3) { top: 144px; }
.etape-texte { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; }
.etape-num { font-size: .85rem; color: var(--primaire); }
.etape h3 { font-family: var(--f-titre); font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); letter-spacing: -.04em; line-height: 1.05; margin: 14px 0; }
.etape p { color: var(--muet); max-width: 28em; }
.etape img { width: 100%; height: 100%; object-fit: cover; }

/* Tuiles expertises */
.tuiles { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 0; overflow: hidden; }
.tuile { position: relative; background: var(--profond); padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 8px; min-height: 250px; transition: background .4s; overflow: hidden; }
.tuile::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 61, 245, .45), transparent 70%); opacity: 0; transition: opacity .5s, transform .6s var(--doux); transform: scale(.6); }
.tuile:hover { background: var(--profond-2); }
.tuile:hover::before { opacity: 1; transform: scale(1); }
.tuile svg { width: 30px; height: 30px; color: var(--primaire-clair); margin-bottom: 18px; transition: transform .5s var(--ressort), color .3s; }
.tuile:hover svg { transform: translateY(-4px) rotate(-8deg); color: var(--accent); }
.tuile h3 { font-family: var(--f-titre); font-size: 1.3rem; letter-spacing: -.02em; }
.tuile p { color: rgba(255, 255, 255, .62); font-size: .95rem; }
.tuile .mono { margin-top: auto; padding-top: 18px; color: var(--primaire-clair); }

/* Cartes rendez-vous */
.grille-rdv { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.presta { background: var(--surface); border: 1px solid var(--ligne); border-radius: 0; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--doux), box-shadow .5s, border-color .3s; }
.presta:hover { transform: translateY(-6px); border-color: var(--primaire-clair); box-shadow: 0 26px 50px -28px rgba(91, 61, 245, .55); }
.presta h3 { font-family: var(--f-titre); font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.presta p { color: var(--muet); font-size: .93rem; }
.presta-num { font-family: var(--f-mono); font-size: .72rem; color: var(--primaire); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--f-mono); font-size: .7rem; background: #EFECFF; color: var(--primaire-fonce); border-radius: 0; padding: 4px 10px; }
.presta .btn { margin-top: auto; padding: 12px 18px; background: var(--encre); color: #fff; }
.presta .btn:hover { background: var(--primaire); }

/* Badges */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.badge { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 0; background: linear-gradient(160deg, #fff, #F4F2FF); border: 1px solid var(--ligne); }
.badge svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 0; background: var(--primaire); color: #fff; }
.badge b { display: block; font-family: var(--f-titre); }
.badge small { color: var(--muet); }

/* FAQ */
.faq-grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.faq-grille .btn { margin-top: 28px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--ligne); border-radius: 0; padding: 0 22px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--primaire-clair); box-shadow: 0 16px 40px -28px rgba(91, 61, 245, .6); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--f-titre); font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.3rem; line-height: 1; color: var(--primaire); transition: transform .4s var(--ressort); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muet); padding-bottom: 20px; animation: apparait .4s var(--doux); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: clamp(28px, 5vw, 60px); position: relative; overflow: hidden; background: linear-gradient(150deg, #fff 40%, #F1EEFF); }
.contact ul { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.contact li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ligne); }
.contact li .mono { color: var(--muet); padding-top: 3px; }
.contact-chat { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.mini-bulle { max-width: 82%; padding: 12px 16px; border-radius: 0; font-size: .93rem; box-shadow: 0 10px 24px -16px rgba(21, 18, 31, .4); }
.mini-bulle.bot { background: #fff; border: 1px solid var(--ligne); border-bottom-left-radius: 0; align-self: flex-start; }
.mini-bulle.moi { background: var(--primaire); color: #fff; border-bottom-right-radius: 0; align-self: flex-end; }
.mini-bulle.ok { background: #E3F6EE; color: #0C6B49; font-weight: 600; align-self: stretch; text-align: center; border: 1px solid #B6E3CF; }
.contact-btn { grid-column: 1 / -1; justify-self: start; }

/* Pied de page */
.pied { padding: 80px 0 30px; }
.pied-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.pied-grille a, .pied-grille button { display: block; color: rgba(255, 255, 255, .7); padding: 4px 0; background: none; border: 0; cursor: pointer; text-align: left; transition: color .2s, transform .2s; }
.pied-grille a:hover, .pied-grille button:hover { color: #fff; transform: translateX(3px); }
.pied-grille .logo { color: #fff; display: inline-flex; }
.pied-titre { color: rgba(255, 255, 255, .45); margin-bottom: 10px; }
.pied-texte { color: rgba(255, 255, 255, .6); margin-top: 16px; max-width: 26em; font-size: .93rem; }
.statut { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: rgba(255, 255, 255, .75); }
.pied-bas { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .45); }

/* Révélations au scroll (si GSAP absent, tout reste visible) */
.js-anime .revele { opacity: 0; transform: translateY(36px); }

/* ============ ASSISTANT ============ */
.orbe { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(from 0deg, var(--primaire), var(--accent), #FFC46B, var(--primaire-clair), var(--primaire)); animation: tourne 6s linear infinite; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.orbe::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, rgba(255, 255, 255, .5) 13%, transparent 45%), linear-gradient(140deg, #6E52FF, #2A1C8F); animation: respire 3s ease-in-out infinite; }
.orbe-petit { width: 30px; height: 30px; }
.orbe-petit::after { inset: 4px; }
.orbe.pense { animation-duration: 1.2s; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes respire { 50% { transform: scale(.86); } }

.chat-btn { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: linear-gradient(140deg, var(--primaire), #7B5CFF 50%, var(--accent)); box-shadow: 0 18px 40px -10px rgba(91, 61, 245, .7); display: grid; place-items: center; transition: transform .45s var(--ressort); animation: entre-bulle .8s var(--ressort) 1s both; }
@keyframes entre-bulle { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.chat-btn:hover { transform: scale(1.08) rotate(-4deg); }
.chat-btn:active { transform: scale(.94); }
.chat-btn-halo { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(91, 61, 245, .5); animation: halo 2.4s ease-out infinite; pointer-events: none; }
@keyframes halo { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.chat-btn svg { position: absolute; width: 28px; height: 28px; transition: transform .45s var(--ressort), opacity .3s; }
.chat-btn .ico-croix { opacity: 0; transform: rotate(-90deg) scale(.5); }
.chat-btn[aria-expanded="true"] .ico-bulle { opacity: 0; transform: rotate(90deg) scale(.5); }
.chat-btn[aria-expanded="true"] .ico-croix { opacity: 1; transform: none; }
.chat-btn[aria-expanded="true"] .chat-btn-halo { display: none; }
.chat-btn .pastille { position: absolute; top: -2px; right: -2px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; border-radius: 0; min-width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #fff; animation: rebond 2s var(--ressort) 2.5s infinite; }
@keyframes rebond { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.3); } 90% { transform: scale(.95); } }

.teaser { position: fixed; right: 24px; bottom: 104px; z-index: 69; max-width: 280px; animation: teaser-in .6s var(--ressort) both; }
.teaser[hidden] { display: none; }
@keyframes teaser-in { from { opacity: 0; transform: translateY(14px) scale(.9); transform-origin: bottom right; } }
.teaser-corps { display: flex; gap: 10px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--ligne); border-radius: 0; padding: 12px 16px 12px 12px; box-shadow: 0 20px 50px -18px rgba(21, 18, 31, .4); cursor: pointer; font-size: .9rem; line-height: 1.4; }
.teaser-msg { animation: apparait .4s var(--doux); display: block; }
.teaser-fermer { position: absolute; top: -10px; left: -10px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ligne); background: #fff; cursor: pointer; font-size: .9rem; line-height: 1; box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }

.chat { position: fixed; right: 24px; bottom: 104px; z-index: 70; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 130px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 0; background: rgba(255, 255, 255, .88); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 40px 90px -30px rgba(21, 18, 31, .55), 0 0 0 1px rgba(21, 18, 31, .05); transform-origin: calc(100% - 33px) calc(100% + 47px); }
.chat[hidden] { display: none; }
.chat.entre { animation: chat-in .55s var(--ressort) both; }
.chat.sort { animation: chat-out .28s var(--doux) both; }
@keyframes chat-in { from { opacity: 0; transform: scale(.4) translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes chat-out { to { opacity: 0; transform: scale(.6) translateY(20px); filter: blur(6px); } }
.chat-tete { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; color: #fff; background: linear-gradient(130deg, #2A1C8F, var(--primaire) 60%, #8A5CFF); overflow: hidden; }
.chat-tete::before { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 74, .55), transparent 70%); animation: derive 8s ease-in-out infinite alternate; }
@keyframes derive { to { transform: translate(-80px, 40px); } }
.chat-titre { position: relative; flex: 1; min-width: 0; }
.chat-titre strong { display: block; font-family: var(--f-titre); font-size: 1.05rem; letter-spacing: -.01em; }
.chat-titre small { display: flex; align-items: center; gap: 7px; opacity: .85; font-size: .78rem; }
.chat-titre .point-vivant { background: #4CF0A8; }
.chat-fermer { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; transition: background .2s, transform .35s var(--ressort); }
.chat-fermer:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
.chat-fermer svg { width: 18px; height: 18px; }
.chat-fil { position: relative; flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.ligne-bot { display: flex; gap: 8px; align-items: flex-end; align-self: flex-start; max-width: 90%; }
.ligne-bot .orbe { width: 26px; height: 26px; }
.ligne-bot .orbe::after { inset: 3px; }
.bulle { padding: 11px 15px; border-radius: 0; white-space: pre-wrap; word-wrap: break-word; font-size: .93rem; line-height: 1.5; animation: pop .45s var(--ressort) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.bulle.bot { background: #fff; border: 1px solid var(--ligne); border-bottom-left-radius: 0; transform-origin: bottom left; box-shadow: 0 8px 20px -14px rgba(21, 18, 31, .35); }
.bulle.moi { align-self: flex-end; max-width: 84%; color: #fff; background: linear-gradient(135deg, var(--primaire), #7B5CFF); border-bottom-right-radius: 0; transform-origin: bottom right; box-shadow: 0 10px 22px -12px rgba(91, 61, 245, .7); }
.bulle.erreur { background: #FFF1EC; border: 1px solid #FFC3B3; }
.mot { opacity: 0; animation: mot .35s var(--doux) forwards; }
@keyframes mot { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.ecrit { display: flex; gap: 8px; align-items: flex-end; align-self: flex-start; animation: pop .4s var(--ressort) both; }
.ecrit-bulle { background: #fff; border: 1px solid var(--ligne); border-radius: 0; border-bottom-left-radius: 0; padding: 12px 15px; display: flex; flex-direction: column; gap: 6px; }
.ecrit-bulle small { font-size: .75rem; color: var(--muet); }
.points { display: inline-flex; gap: 4px; align-items: center; height: 10px; }
.points i { width: 7px; height: 7px; border-radius: 50%; background: var(--primaire-clair); animation: saute 1.2s ease-in-out infinite; }
.points i:nth-child(2) { animation-delay: .15s; } .points i:nth-child(3) { animation-delay: .3s; }
@keyframes saute { 0%, 60%, 100% { transform: translateY(0); background: var(--primaire-clair); } 30% { transform: translateY(-5px); background: var(--primaire); } }
.resa { position: sticky; bottom: -18px; z-index: 3; flex: none; align-self: stretch; display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 14px; border-radius: 0; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0E9F6E 0%, #19B983 60%, #34D399 130%);
  box-shadow: 0 14px 34px -12px rgba(14, 159, 110, .8), 0 0 0 4px rgba(23, 166, 115, .2);
  animation: resa-in .6s var(--ressort) both, resa-halo 1.8s ease-out .7s 3; }
@keyframes resa-in { from { opacity: 0; transform: translateY(30px) scale(.85); } }
@keyframes resa-halo { 0% { box-shadow: 0 14px 34px -12px rgba(14, 159, 110, .8), 0 0 0 0 rgba(23, 166, 115, .6); } 100% { box-shadow: 0 14px 34px -12px rgba(14, 159, 110, .8), 0 0 0 14px rgba(23, 166, 115, 0); } }
.resa-eclat { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); animation: eclat 1.1s ease .5s; pointer-events: none; }
@keyframes eclat { to { transform: translateX(120%); } }
.resa-coche { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; animation: coche-in .6s var(--ressort) .2s both; }
.resa-coche svg { width: 22px; height: 22px; color: #0E9F6E; stroke-width: 3.2; stroke-dasharray: 24; stroke-dashoffset: 24; animation: trace .5s ease .6s forwards; }
@keyframes coche-in { from { transform: scale(0) rotate(-45deg); } }
@keyframes trace { to { stroke-dashoffset: 0; } }
.resa-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.resa-infos strong { font-family: var(--f-titre); font-size: 1.02rem; }
.resa-quand { font-weight: 700; font-size: .92rem; }
.resa-type { font-size: .78rem; opacity: .9; }
.resa-code { flex: none; display: flex; flex-direction: column; align-items: center; background: #fff; color: #0E9F6E; border-radius: 0; padding: 6px 10px; line-height: 1.2; }
.resa-code small { font-size: .65rem; color: var(--muet); }
.resa-code b { font-family: var(--f-titre); font-size: .9rem; letter-spacing: .03em; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 34px; }
.choix button { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--primaire-fonce); background: #fff; border: 1.5px solid #CFC6FF; border-radius: 0; padding: 8px 14px; box-shadow: 0 6px 14px -10px rgba(91, 61, 245, .6); transition: transform .3s var(--ressort), background .2s, color .2s, border-color .2s; animation: pop .45s var(--ressort) both; }
.choix button svg { width: 15px; height: 15px; }
.choix button:hover { transform: translateY(-2px) scale(1.04); background: var(--primaire); border-color: var(--primaire); color: #fff; }
.choix .choix-oui { background: var(--primaire); border-color: var(--primaire); color: #fff; }
.choix .choix-oui:hover { background: var(--primaire-fonce); }
.confetti { position: absolute; width: 7px; height: 11px; border-radius: 0; top: 30%; left: 50%; pointer-events: none; animation: confetti 1.1s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
.suggestions { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; }
.suggestions[hidden] { display: none; }
.suggestions button { font-size: .82rem; border: 1px solid #DCD5FF; background: #fff; color: var(--primaire-fonce); border-radius: 0; padding: 7px 13px; cursor: pointer; transition: transform .3s var(--ressort), background .2s, color .2s; animation: pop .5s var(--ressort) both; }
.suggestions button:nth-child(1) { animation-delay: .5s; } .suggestions button:nth-child(2) { animation-delay: .62s; } .suggestions button:nth-child(3) { animation-delay: .74s; }
.suggestions button:hover { transform: translateY(-2px); background: var(--primaire); color: #fff; }
.chat form { display: flex; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 16px; border-radius: 0; background: #fff; border: 1px solid var(--ligne); transition: border-color .25s, box-shadow .25s; }
.chat form:focus-within { border-color: var(--primaire-clair); box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); }
.chat input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; }
.chat form button { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--primaire), #7B5CFF); display: grid; place-items: center; transition: transform .35s var(--ressort), opacity .2s; }
.chat form button svg { width: 18px; height: 18px; transition: transform .45s var(--doux); }
.chat form button:hover { transform: scale(1.08) rotate(-8deg); }
.chat form button:disabled { opacity: .45; cursor: default; transform: none; }
.chat form button.envole svg { animation: envol .6s var(--doux); }
@keyframes envol { 45% { transform: translate(18px, -18px) scale(.6); opacity: 0; } 46% { transform: translate(-18px, 18px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.chat .mention { font-size: .7rem; color: var(--muet); text-align: center; padding: 8px 12px 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .grille-rdv { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .features .feature:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-liens, .nav-cta { display: none; }
  .burger { display: block; }
  .nav { padding: 8px 8px 8px 18px; }
  .tuiles, .badges, .piliers { grid-template-columns: 1fr 1fr; }
  .etape { grid-template-columns: 1fr; min-height: 0; }
  .etape img { height: 220px; order: -1; }
  .faq-grille, .contact { grid-template-columns: 1fr; gap: 32px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .hero-scroll { display: none; }
}
@media (max-width: 600px) {
  .conteneur { padding: 0 18px; }
  .features, .grille-rdv, .tuiles, .badges, .piliers { grid-template-columns: 1fr; }
  .features .feature:last-child { grid-column: auto; }
  .hero { padding: 120px 0 72px; }
  .hero-preuves { gap: 8px 18px; }
  .contact li { grid-template-columns: 1fr; gap: 2px; }
  .chat { left: 0; right: 0; bottom: 0; width: auto; height: 100dvh; border-radius: 0; }
  .chat-btn { right: 16px; bottom: 16px; width: 60px; height: 60px; }
  .chat-btn[aria-expanded="true"] { display: none; }
  .teaser { right: 16px; bottom: 90px; max-width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mot { opacity: 1; }
  html { scroll-behavior: auto; }
}
