/* ============================================================
   Sof Solutions IA · Laura · Landing verticale pro (v5)
   HTML/CSS/JS vanilla, statique. Fraunces + Inter.
   Palette crème / vert profond / ambre.
   ============================================================ */

:root {
  --cream: #FAF6EF;
  --cream-2: #F2ECDF;
  --ink: #1B2822;
  --ink-2: #24352D;
  --green: #2F5D4E;
  --green-soft: #E7F0EA;
  --text: #3E4A44;
  --muted: #6B766F;
  --line: #E5DECF;
  --amber: #B96718;
  --amber-soft: #F6E8D8;
  --yellow: #F2C94C;
  --white: #FFFFFF;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --navh: 68px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 16px); }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.13; margin-bottom: 16px; }
h2 em { font-style: italic; color: var(--amber); }
.lead { font-size: 1.12rem; max-width: 640px; }
::selection { background: var(--amber-soft); }
img { max-width: 100%; display: block; }
button { font-family: var(--sans); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.sec-head { margin-bottom: 8px; }
.sec-head.center, .sec-head { }

/* ---------- Boutons (≥44px) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn-amber { background: var(--amber); color: var(--white); box-shadow: 0 12px 30px -10px rgba(185,103,24,0.55); }
.btn-amber:hover { background: #A15912; box-shadow: 0 18px 40px -10px rgba(185,103,24,0.7); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); }
.btn-glass { background: rgba(250,246,239,0.12); color: var(--cream); border: 1.5px solid rgba(250,246,239,0.5); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(250,246,239,0.22); border-color: var(--cream); }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: 0.9rem; }
.btn-xl { min-height: 58px; padding: 16px 34px; font-size: 1.1rem; }
.btn-link { background: none; border: none; cursor: pointer; font-size: 0.98rem; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 4px; padding: 12px 8px; min-height: 44px; }
.btn-link:hover { color: var(--ink); }
.btn-link.light { color: #CFE0D6; }
.btn-link.light:hover { color: var(--white); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 90; background: rgba(250,246,239,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); height: var(--navh); }
.nav-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.logo i { font-style: normal; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 9px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: var(--cream-2); color: var(--ink); }
.nav > .nav-in > .btn-sm { flex-shrink: 0; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: var(--navh); left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 89; padding: 24px; flex-direction: column; gap: 2px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- Apparitions / orbe ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }
.tilt { will-change: transform; transition: transform 0.25s ease; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.orb { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; position: relative; display: inline-block;
  background: radial-gradient(circle at 32% 30%, #9FE0C2 0%, #3FA372 42%, #1F4A3C 100%);
  box-shadow: inset -6px -8px 14px rgba(0,0,0,0.35), inset 4px 5px 10px rgba(255,255,255,0.45), 0 0 18px rgba(95,191,143,0.55);
  animation: orbfloat 3.2s ease-in-out infinite; }
.orb::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(95,191,143,0.5); animation: ring 2.2s ease-out infinite; }
@keyframes orbfloat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes ring { 0% { transform: scale(0.75); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ================= HÉRO ================= */
.hero { position: relative; min-height: min(90vh, 820px); display: flex; align-items: center; overflow: hidden; padding: 70px 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,22,18,0.95) 0%, rgba(14,22,18,0.86) 34%, rgba(14,22,18,0.42) 62%, rgba(14,22,18,0.1) 86%); }
.hero-in { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 0 24px; width: 100%; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-copy { color: var(--cream); }
.hero-kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--yellow); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; margin-bottom: 22px; color: var(--white); }
.hero h1 em { font-style: italic; color: #9FE0C2; }
.hero-sub { font-size: 1.2rem; max-width: 540px; margin-bottom: 30px; color: #EDF1EC; background: rgba(14,22,18,0.32); border-left: 3px solid var(--yellow); padding: 14px 18px; border-radius: 0 12px 12px 0; backdrop-filter: blur(2px); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 20px; font-size: 1.05rem; font-weight: 600; color: var(--white); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }

.card-wrap { position: relative; justify-self: end; animation: floaty 6s ease-in-out infinite; }
.card-wrap::before { content: ""; position: absolute; inset: -16px; border-radius: 28px; background: radial-gradient(closest-side, rgba(95,191,143,0.3), transparent 75%); filter: blur(16px); }
.badge-247 { position: absolute; top: -16px; right: -12px; background: var(--yellow); color: var(--ink); font-family: var(--serif); font-size: 0.86rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; box-shadow: 0 14px 34px -10px rgba(0,0,0,0.45); transform: rotate(6deg); z-index: 3; }
.call-card { position: relative; width: 290px; background: var(--white); border-radius: 18px; border: 1px solid rgba(250,246,239,0.6); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6); overflow: hidden; z-index: 2; }
.call-top { background: var(--ink); color: var(--cream); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.call-top .who { font-size: 0.84rem; font-weight: 600; line-height: 1.25; }
.call-top .status { font-size: 0.7rem; color: #9FB5AA; }
.wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 18px; }
.wave span { width: 3px; background: #5FBF8F; border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.wave span:nth-child(1) { height: 7px; } .wave span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.wave span:nth-child(3) { height: 9px; animation-delay: 0.3s; } .wave span:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.wave span:nth-child(5) { height: 7px; animation-delay: 0.6s; }
@keyframes eq { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1.25); } }
.call-body { padding: 13px 12px 15px; display: flex; flex-direction: column; gap: 8px; min-height: 205px; background: linear-gradient(180deg, #FDFCF9, #F7F3EA); }
.bub { max-width: 92%; padding: 8px 12px; border-radius: 12px; font-size: 0.78rem; line-height: 1.45; opacity: 0; color: var(--ink); }
.bub.ia { background: var(--ink); color: var(--cream); border-bottom-left-radius: 4px; align-self: flex-start; }
.bub.cl { background: var(--white); border: 1px solid var(--line); border-bottom-right-radius: 4px; align-self: flex-end; }
.call-done { align-self: center; display: inline-flex; align-items: center; gap: 6px; background: #E9F2EC; color: var(--green); border: 1px solid #CBE0D2; font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; opacity: 0; }
.call-done svg { width: 12px; height: 12px; }
.b1 { animation: seq1 14s infinite; } .b2 { animation: seq2 14s infinite; } .b3 { animation: seq3 14s infinite; } .b4 { animation: seq4 14s infinite; }
@keyframes seq1 { 0%,3% { opacity:0; transform:translateY(9px); } 8%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes seq2 { 0%,20% { opacity:0; transform:translateY(9px); } 25%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes seq3 { 0%,42% { opacity:0; transform:translateY(9px); } 47%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes seq4 { 0%,66% { opacity:0; transform:scale(0.9); } 71%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; } }

/* ================= BANDE REPÈRES ================= */
.trust { background: var(--ink); padding: 34px 0; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tcard { background: var(--ink-2); border: 1px solid #34453C; border-radius: 16px; padding: 22px; text-align: center; }
.tnum { font-family: var(--serif); font-size: 2.1rem; color: var(--yellow); line-height: 1; }
.tnum span { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: #9FE0C2; }
.tlab { font-size: 0.86rem; color: #C4CFC7; margin-top: 8px; }

/* ================= SECTIONS ================= */
.sec { padding: clamp(72px, 9vw, 112px) 0; }
.sec-alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; }
.sec-cta { margin-top: 50px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- LE FILM ---------- */
.sec-film { background: var(--ink); }
.sec-film .kicker { color: var(--yellow); }
.sec-film h2, .sec-film .lead { color: var(--cream); }
.sec-film .sec-head { margin: 0 auto; text-align: center; }
.sec-film .lead { color: #C4CFC7; }
.film { max-width: 880px; margin: 34px auto 0; }
.film-stage { position: relative; aspect-ratio: 16 / 9; background: #101A15; border-radius: 20px; overflow: hidden; border: 1px solid #34453C; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); }
.fs { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.fs.on { opacity: 1; pointer-events: auto; }
.film-caption { position: absolute; left: 0; right: 0; bottom: 42px; text-align: center; color: var(--cream); font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.35rem); padding: 0 40px; text-shadow: 0 2px 14px rgba(0,0,0,0.6); z-index: 10; }
.film-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(250,246,239,0.15); z-index: 11; }
#film-bar { height: 100%; width: 0; background: var(--yellow); }
.film-play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: none; background: var(--yellow); color: var(--ink); font-size: 1.6rem; cursor: pointer; z-index: 12; box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6); transition: transform 0.2s; display: flex; align-items: center; justify-content: center; padding-left: 6px; }
.film-play:hover { transform: scale(1.08); }
.film-play.hidden { display: none; }
.film-note { text-align: center; margin-top: 16px; font-size: 0.85rem; color: #9FB0A5; }
.fs1 { background: linear-gradient(160deg, #22332B, #101A15); }
.fs1-left { display: flex; align-items: center; gap: 34px; }
.fs-photo { width: 210px; height: 250px; border-radius: 20px; overflow: hidden; border: 4px solid rgba(250,246,239,0.25); }
.fs-photo img { width: 100%; height: 100%; object-fit: cover; }
.fs-photo.big { width: 320px; height: 320px; border-radius: 50%; }
.fs-alerts { display: flex; flex-direction: column; gap: 10px; }
.al { background: rgba(250,246,239,0.1); border: 1px solid rgba(250,246,239,0.25); color: var(--cream); font-size: 0.85rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; opacity: 0; }
.fs.on .a1 { animation: alin 0.5s 0.4s forwards; } .fs.on .a2 { animation: alin 0.5s 1.2s forwards, alshake 0.6s 1.7s 3; }
.fs.on .a3 { animation: alin 0.5s 2s forwards, alshake 0.6s 2.5s 3; } .fs.on .a4 { animation: alin 0.5s 2.8s forwards; }
@keyframes alin { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes alshake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.fs2 { background: radial-gradient(circle at center, #2B1E12, #101A15 75%); flex-direction: column; gap: 22px; }
.bigring { width: 130px; height: 130px; border-radius: 50%; background: rgba(201,118,46,0.18); border: 2px solid var(--amber); display: flex; align-items: center; justify-content: center; position: relative; }
.bigring svg { width: 54px; height: 54px; stroke: #E58B3A; }
.fs2.on .bigring { animation: phoneshake 0.5s infinite; }
.bigring::before, .bigring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(201,118,46,0.5); animation: ringout2 1.4s ease-out infinite; }
.bigring::after { animation-delay: 0.7s; }
@keyframes ringout2 { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes phoneshake { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.ringcount { color: #E58B3A; font-family: var(--serif); font-size: 1.4rem; text-align: center; padding: 0 20px; }
.fs3 { background: linear-gradient(160deg, #1B2822, #0F231C); }
.fs3-card { width: min(420px, 86%); background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.fs3-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; min-height: 190px; background: linear-gradient(180deg, #FDFCF9, #F7F3EA); }
.fs3 .bub { opacity: 0; }
.fs3.on .fb1 { animation: bubin 0.5s 0.6s forwards; } .fs3.on .fb2 { animation: bubin 0.5s 3.2s forwards; }
.fs3.on .fb3 { animation: bubin 0.5s 6s forwards; } .fs3.on .fb4 { animation: bubin 0.5s 9.5s forwards; }
@keyframes bubin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fs4 { background: linear-gradient(160deg, #22332B, #101A15); }
.fs4-agenda { width: min(430px, 86%); }
.fs4 .agenda { margin-top: 12px; }
.slot.new-film { background: #E9F2EC; border: 1px solid #CBE0D2; color: var(--green); opacity: 0; }
.slot.new-film b { color: var(--green); }
.slot.new-film .chip { margin-left: auto; background: var(--green); color: var(--cream); font-size: 0.58rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.fs4.on .slot.new-film { animation: slotpop 0.6s 1.2s forwards; }
@keyframes slotpop { 0% { opacity: 0; transform: scale(0.9); } 60% { transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
.fs5 { background: radial-gradient(circle at center, #24352D, #101A15 80%); }
.fs5 .fs-photo.big { border-color: rgba(95,191,143,0.5); box-shadow: 0 0 60px rgba(95,191,143,0.3); }
.fs6 { background: linear-gradient(160deg, #1B2822, #0F231C); }
.endcard { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 20px; }
.end-title { font-family: var(--serif); color: var(--cream); font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.end-sub { color: #9FB0A5; font-size: 0.95rem; margin-bottom: 8px; }
.end-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Le constat ---------- */
.constat-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 26px; }
.bigquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--ink); font-weight: 500; }
.bigquote em { font-style: italic; color: var(--green); }
.quote-by { margin-top: 20px; display: flex; align-items: center; gap: 13px; font-size: 0.9rem; }
.quote-by .ava2 { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.05rem; }
.quote-by b { display: block; color: var(--ink); }
.pains { list-style: none; }
.pains li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1rem; display: flex; gap: 14px; }
.pains li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--amber); flex-shrink: 0; margin-top: 9px; }
.pains b { color: var(--ink); }
.no-diag { margin-top: 40px; display: flex; gap: 16px; align-items: flex-start; background: var(--green-soft); border: 1px solid #CBE0D2; border-radius: 16px; padding: 20px 22px; font-size: 0.98rem; max-width: 880px; }
.no-diag svg { width: 32px; height: 32px; stroke: var(--green); flex-shrink: 0; }
.no-diag b { color: var(--green); }

/* ---------- La solution ---------- */
.flow { display: flex; align-items: stretch; max-width: 1080px; margin: 44px auto 14px; }
.flow-chip { flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 10px; text-align: center; }
.flow-chip svg { width: 24px; height: 24px; stroke: var(--green); margin: 0 auto 8px; display: block; }
.flow-chip .orb { margin: 0 auto 8px; display: block; width: 28px; height: 28px; }
.flow-chip b { display: block; color: var(--ink); font-size: 0.82rem; line-height: 1.3; }
.flow-chip small { color: var(--muted); font-size: 0.72rem; }
.flow-chip.f1 { animation: chippulse 10s infinite; } .flow-chip.f2 { animation: chippulse 10s infinite 2s; }
.flow-chip.f3 { animation: chippulse 10s infinite 4s; } .flow-chip.f4 { animation: chippulse 10s infinite 6s; } .flow-chip.f5 { animation: chippulse 10s infinite 8s; }
@keyframes chippulse { 0%, 18%, 100% { box-shadow: none; border-color: var(--line); } 4%, 13% { box-shadow: 0 14px 34px -12px rgba(185,103,24,0.5); border-color: var(--amber); } }
.flow-line { width: 42px; align-self: center; height: 2px; background: var(--line); position: relative; flex-shrink: 0; }
.flow-line::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: flowdot 10s infinite; }
.flow-line.l2::after { animation-delay: 2s; } .flow-line.l3::after { animation-delay: 4s; } .flow-line.l4::after { animation-delay: 6s; }
@keyframes flowdot { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 17% { left: calc(100% - 8px); opacity: 1; } 20%, 100% { left: calc(100% - 8px); opacity: 0; } }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.fcard { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px -28px rgba(27,40,34,0.18); display: flex; flex-direction: column; }
.fcard h3 { font-size: 1.15rem; font-weight: 600; margin: 18px 0 8px; }
.fcard > p { font-size: 0.93rem; }
.vis-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.vis-head small { color: var(--muted); font-weight: 500; }
.vis-zone { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-height: 172px; }
.agenda { display: flex; flex-direction: column; gap: 7px; }
.slot { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 9px; background: var(--white); font-size: 0.74rem; color: var(--muted); }
.slot b { color: var(--ink); font-weight: 600; min-width: 40px; }
.slot.new { background: #E9F2EC; border: 1px solid #CBE0D2; color: var(--green); animation: slotin 9s infinite; }
.slot.new b { color: var(--green); }
.slot.new .chip { margin-left: auto; background: var(--green); color: var(--cream); font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
@keyframes slotin { 0%,18% { opacity: 0; transform: translateY(8px); } 26%,92% { opacity: 1; transform: none; } 97%,100% { opacity: 0; } }
.tri { display: flex; flex-direction: column; gap: 8px; }
.tri-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.76rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.tri-item .lvl { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.tri-item small { margin-left: auto; color: var(--muted); font-size: 0.66rem; text-align: right; }
.tri-item.hot { border-color: #E7C9B2; background: #FBF1E7; animation: triblink 7s infinite; }
.tri-item.hot .lvl { background: #C94F2E; } .tri-item:nth-child(2) .lvl { background: var(--amber); } .tri-item:nth-child(3) .lvl { background: var(--green); }
@keyframes triblink { 0%,10% { opacity: 0; transform: translateX(-8px); } 17%,93% { opacity: 1; transform: none; } 98%,100% { opacity: 0; } }
.msgs { display: flex; flex-direction: column; gap: 8px; }
.msg { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 0.74rem; color: var(--ink); display: flex; gap: 8px; align-items: baseline; opacity: 0; }
.msg .t { color: var(--muted); font-size: 0.66rem; white-space: nowrap; }
.msg:nth-child(1) { animation: msgin 10s infinite; } .msg:nth-child(2) { animation: msgin2 10s infinite; } .msg:nth-child(3) { animation: msgin3 10s infinite; }
@keyframes msgin  { 0%,4%  { opacity:0; transform:translateY(9px);} 9%,93%  { opacity:1; transform:none;} 98%,100% { opacity:0; } }
@keyframes msgin2 { 0%,24% { opacity:0; transform:translateY(9px);} 29%,93% { opacity:1; transform:none;} 98%,100% { opacity:0; } }
@keyframes msgin3 { 0%,46% { opacity:0; transform:translateY(9px);} 51%,93% { opacity:1; transform:none;} 98%,100% { opacity:0; } }

/* ---------- Qui suis-je + sécurité ---------- */
.conf-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.about-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 24px 60px -28px rgba(27,40,34,0.18); margin-top: 10px; }
.about-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ava3 { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; flex-shrink: 0; }
.about-head b { color: var(--ink); font-size: 1.05rem; display: block; }
.about-head small { color: var(--muted); font-size: 0.84rem; }
.about-card > p { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); line-height: 1.55; margin-bottom: 18px; }
.engage { list-style: none; display: flex; flex-direction: column; gap: 11px; border-top: 1px dashed var(--line); padding-top: 18px; }
.engage li { display: flex; gap: 11px; font-size: 0.93rem; align-items: baseline; }
.engage li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.secu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.secu { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform 0.25s, box-shadow 0.25s; }
.secu:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -20px rgba(27,40,34,0.25); }
.secu svg { width: 26px; height: 26px; stroke: var(--green); margin-bottom: 10px; }
.secu b { display: block; color: var(--ink); font-size: 0.96rem; margin-bottom: 5px; }
.secu p { font-size: 0.85rem; }

/* ---------- Programme fondateur ---------- */
.sec-fond { background: linear-gradient(165deg, var(--cream) 0%, var(--amber-soft) 100%); }
.sec-fond .sec-head { margin: 0 auto; }
.tickets { display: flex; justify-content: center; gap: 20px; margin: 40px 0 10px; flex-wrap: wrap; }
.ticket { width: 254px; text-align: left; background: var(--white); border: 1.5px dashed var(--amber); border-radius: 18px; padding: 20px 22px; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-style 0.25s; }
.ticket::before { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(242,201,76,0.35), transparent); transform: skewX(-18deg); transition: left 0.55s ease; }
.ticket:hover { transform: translateY(-7px) rotate(-0.5deg); border-style: solid; box-shadow: 0 26px 54px -18px rgba(185,103,24,0.45); }
.ticket:hover::before { left: 130%; }
.t-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.t-num { font-family: var(--serif); font-size: 1.6rem; color: var(--amber); font-weight: 600; }
.t-status { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: var(--green-soft); border: 1px solid #CBE0D2; padding: 4px 10px; border-radius: 999px; }
.t-name { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.t-perks { font-size: 0.79rem; color: var(--muted); margin: 7px 0 14px; }
.t-go { font-size: 0.84rem; font-weight: 700; color: var(--amber); border-top: 1px dashed var(--line); padding-top: 11px; }
.part-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 940px; margin: 34px auto 0; text-align: left; }
.pstep { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.pstep .pn { font-family: var(--serif); color: var(--amber); font-size: 0.95rem; margin-bottom: 9px; }
.pstep h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.pstep p { font-size: 0.89rem; }
.noftime { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.noftime span { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px; font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.noftime span::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 34px auto 0; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 8px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-weight: 600; color: var(--ink); font-size: 1.05rem; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--amber); }
summary .plus { font-family: var(--serif); font-size: 1.4rem; color: var(--amber); transition: transform 0.25s; flex-shrink: 0; }
details[open] summary .plus { transform: rotate(45deg); }
details .ans { padding: 0 8px 22px; font-size: 0.95rem; max-width: 720px; }

/* ---------- CTA final ---------- */
.sec-final { background: var(--green); }
.sec-final h2 { color: var(--cream); }
.sec-final .lead { color: #CFE0D6; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #9FB0A5; padding: 34px 0; font-size: 0.9rem; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-foot a { color: var(--cream); text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.site-foot .fb { font-family: var(--serif); color: var(--cream); font-size: 1.15rem; }
.site-foot .fb i { font-style: normal; color: #9FE0C2; }
.site-foot .fb small { display: block; font-family: var(--sans); font-size: 0.76rem; color: #8FA096; }
.site-foot .btn-link { color: #C9D4CD; font-size: 0.88rem; }
.site-foot .btn-link:hover { color: var(--cream); }

/* ---------- Retour en haut ---------- */
.backtop { position: fixed; bottom: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.15rem; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(27,40,34,0.4); z-index: 80; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s; }
.backtop.show { opacity: 1; pointer-events: auto; }
.backtop:hover { transform: translateY(-3px); }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(27,40,34,0.72); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--cream); border-radius: 22px; width: 100%; max-width: 520px; padding: 36px 34px; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5); animation: modalin 0.3s ease; max-height: 92vh; overflow-y: auto; }
@keyframes modalin { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--cream-2); color: var(--ink); font-size: 1.05rem; cursor: pointer; z-index: 5; }
.modal-close:hover { background: var(--line); }
.demo-hero { text-align: center; padding: 8px 4px; }
.demo-hero .orb { margin: 0 auto 14px; }
.demo-hero h3 { font-size: 1.7rem; margin-bottom: 10px; }
.demo-hero > p { font-size: 0.96rem; margin-bottom: 18px; }
.demo-steps { list-style: none; counter-reset: st; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; margin: 0 auto 24px; }
.demo-steps li { counter-increment: st; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.demo-steps li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.demo-open { width: 100%; }
.demo-fine { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-box .sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; font-family: var(--sans); font-size: 0.95rem; background: var(--white); color: var(--ink); outline: none; transition: border-color 0.2s; min-height: 48px; }
.field textarea { min-height: 84px; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.legal-body p { font-size: 0.9rem; margin-bottom: 12px; }
.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--cream); padding: 13px 22px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav > .nav-in > .btn-sm { display: none; }
  .burger { display: flex; }
  .hero { padding: 48px 0 56px; min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(14,22,18,0.95) 0%, rgba(14,22,18,0.82) 62%, rgba(14,22,18,0.62) 100%); }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1.08rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .card-wrap { justify-self: center; }
  .call-card { width: min(300px, 88vw); }
  .trust-in { grid-template-columns: 1fr 1fr; }
  .constat-in, .conf-in { grid-template-columns: 1fr; gap: 40px; }
  .cards3, .part-steps, .secu-grid { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: center; max-width: 340px; }
  .flow-line { width: 2px; height: 38px; }
  .flow-line::after { animation-name: flowdotv; left: -3px; top: 0; }
  @keyframes flowdotv { 0% { top: 0; opacity: 0; } 3% { opacity: 1; } 17% { top: calc(100% - 8px); opacity: 1; } 20%, 100% { top: calc(100% - 8px); opacity: 0; } }
  .flow-chip { width: 100%; }
  .tickets { flex-direction: column; align-items: center; }
  .ticket { width: min(320px, 100%); }
  .foot-in { flex-direction: column; text-align: center; }
  .film-stage { aspect-ratio: 3 / 4; }
  .fs1-left { flex-direction: column; gap: 18px; }
  .fs-photo { width: 150px; height: 180px; }
  .fs-photo.big { width: 210px; height: 210px; }
  .film-caption { bottom: 34px; font-size: 0.95rem; }
  .sec-cta .btn { width: 100%; max-width: 340px; }
}
@media (max-width: 520px) {
  .trust-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; transition-duration: 0.01s !important; }
  html { scroll-behavior: auto; }
}
