/* Reelimmo : identité « studio social ». Encre profonde, papier chaud, corail vif.
   Titres en Bricolage Grotesque, texte en Inter (polices OFL, servies localement). */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.ada540c0e24a.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.260c81a4759b.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #111014; --ink-2: #2a2830; --muted: #6b6772; --line: #e8e3dc; --line-2: #d9d2c8;
  --bg: #f7f4ef; --card: #ffffff; --paper: #fbf9f6;
  --brand: #111014; --brand-2: #2a2830; --accent: #ff5a36; --accent-2: #ff7a4d; --accent-soft: #fff0eb;
  --lime: #d7f75b; --violet: #7b61ff;
  --ok: #16a34a; --warn: #c27c0e; --err: #dc2626;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(17,16,20,.04), 0 10px 30px -12px rgba(17,16,20,.12);
  --shadow-lg: 0 40px 80px -30px rgba(17,16,20,.45);
  --display: "Bricolage", "Inter", system-ui, sans-serif;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 15px;
       -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: rgba(255,90,54,.5); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: 2rem; } h2 { font-size: 1.45rem; } h3 { font-size: 1.1rem; letter-spacing: -.01em; }
::selection { background: var(--accent); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stack > * + * { margin-top: 14px; }

/* ------------------------------------------------------------------ en-tête */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(247,244,239,.82);
          backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
          border-bottom: 1px solid rgba(17,16,20,.06); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.topbar a { color: var(--ink); text-decoration: none; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em;
        display: inline-flex; align-items: center; gap: 9px; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); position: relative; flex: none;
              box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.logo .mark::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid;
                     border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--accent); }
.logo .w2 { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: .95rem; }
.nav a { opacity: .8; } .nav a:hover { opacity: 1; color: var(--ink); }
.nav form { margin: 0; }
.nav button.link { background: none; border: 0; color: var(--ink); opacity: .8; cursor: pointer; font: inherit; padding: 0; }
.nav .btn { opacity: 1; }
main { padding: 34px 0 70px; }
.page-home main { padding-top: 0; }

/* Accueil : en-tête sur fond sombre */
/* Sur l'accueil, le haut sombre passe sous la barre : sinon elle est posée sur le fond clair et paraît grise. */
.page-home .hero { margin-top: -69px; padding-top: calc(72px + 69px); }
.page-home .topbar { background: rgba(17,16,20,.78); border-bottom-color: rgba(255,255,255,.06); }
.page-home .topbar a, .page-home .nav button.link { color: #fff; }
.page-home .topbar .logo .mark { background: #fff; }
.page-home .topbar .logo .mark::after { border-left-color: var(--accent); }

/* ------------------------------------------------------------------ boutons, cartes, formulaires */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
        box-shadow: var(--shadow); }
a.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
a.card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 18px 40px -18px rgba(17,16,20,.25); color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
       border-radius: 999px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
       background: var(--ink); color: #fff; transition: transform .12s ease, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.secondary:hover { border-color: var(--ink); background: rgba(17,16,20,.03); color: var(--ink); }
.btn.accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(255,90,54,.8); }
.btn.accent:hover { background: var(--accent-2); color: #fff; }
.btn.danger { background: #fff; color: var(--err); border-color: #f5c2c2; }
.btn.small { padding: 7px 14px; font-size: .86rem; }
.btn.large { padding: 15px 26px; font-size: 1.02rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel],
input[type=date], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: inherit;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,90,54,.18); }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; }
input[type=color] { width: 56px; height: 40px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.field { margin-bottom: 15px; } .field .help { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.field .errors { color: var(--err); font-size: .85rem; margin: 4px 0 0; padding: 0; list-style: none; }
.field.check { display: flex; gap: 8px; align-items: center; } .field.check label { margin: 0; font-weight: 500; }
.fields { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.checks ul, ul.checks { list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.checks label, ul.checks label { font-weight: 500; display: flex; gap: 6px; align-items: center; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: -.01em; }
.radio-cards ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.radio-cards label { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 500;
  display: flex; gap: 8px; align-items: center; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.radio-cards label:hover { border-color: var(--ink); }
.radio-cards label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* ------------------------------------------------------------------ messages et alertes */
.messages { list-style: none; padding: 0; margin: 0 0 20px; }
.messages li, .alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 8px; border: 1px solid; font-size: .93rem; }
.messages .success, .alert.ok { background: #effbf3; border-color: #bfe8cd; color: #11602f; }
.messages .error, .alert.err { background: #fef2f2; border-color: #f7c9c9; color: #9b1c1c; }
.messages .info, .messages .warning, .alert.warn { background: #fff8eb; border-color: #f6deb0; color: #8a5208; }
.issues { list-style: none; padding: 0; margin: 0; }
.issues li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; display: flex; gap: 9px; }
.issues li:last-child { border: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 6px; }
.dot.error { background: var(--err); } .dot.warning { background: var(--warn); } .dot.ok { background: var(--ok); }

/* ------------------------------------------------------------------ badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .76rem;
         font-weight: 600; background: #f0ece6; color: var(--ink-2); }
.badge.done { background: #e3f8ea; color: #11602f; } .badge.failed { background: #fde8e8; color: #9b1c1c; }
.badge.rendering, .badge.queued { background: #fff1d6; color: #8a5208; }
.badge.rendering::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1s infinite; }
.badge.draft { background: #ece9ff; color: #4b33c9; }
@keyframes blink { 50% { opacity: .2; } }

/* ------------------------------------------------------------------ espace client */
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.app-head h1 { margin: 0; font-size: 2.1rem; }
.eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.kpi { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.listing-card { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; text-decoration: none; color: inherit; padding: 14px; }
.listing-card strong { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; }
.thumb { width: 112px; height: 84px; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, #ece6dd, #ddd4c8); display: block; }
.photos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.photo { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative;
         transition: box-shadow .15s, transform .15s; }
.photo:hover { box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; cursor: grab; }
.photo.excluded img { opacity: .3; filter: grayscale(1); }
.photo .body { padding: 9px; font-size: .82rem; }
.photo select { padding: 6px 9px; font-size: .82rem; border-radius: 9px; }
.photo .flags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.photo .flags .badge { background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }
.photo .pos { position: absolute; top: 8px; right: 8px; background: var(--ink); color: #fff; border-radius: 999px;
              font-size: .74rem; font-weight: 700; padding: 2px 9px; }
.photo.dragging { opacity: .5; transform: scale(.98); } .photo.over { outline: 2px dashed var(--accent); outline-offset: 2px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 26px; text-align: center; background: var(--paper);
            transition: border-color .15s, background .15s; }
.dropzone:hover { border-color: var(--accent); background: var(--accent-soft); }

.player { background: #0b0a0d; border-radius: 22px; overflow: hidden; display: flex; justify-content: center; padding: 10px;
          box-shadow: var(--shadow-lg); }
.player video { max-height: 74vh; max-width: 100%; display: block; border-radius: 14px; }
.progress { height: 10px; background: #ece6dd; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--accent), #ffb03a); transition: width .6s;
                  background-size: 200% 100%; animation: flow 2s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.segment { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.segment img { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; }
.segment .kind { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.segment textarea { min-height: 54px; }
pre.caption { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px;
              font: inherit; font-size: .88rem; max-height: 340px; overflow: auto; }
.with-aside { grid-template-columns: minmax(0, 1fr) 350px; align-items: start; }
.checks > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 10px; }
.checks > div label { font-weight: 500; display: flex; gap: 6px; align-items: center; }
.checks > label { display: none; }
.fields .field.check { align-self: end; padding-bottom: 10px; }
.empty { text-align: center; padding: 56px 24px; background:
         radial-gradient(400px 200px at 50% 0%, var(--accent-soft), transparent 70%), #fff; }

/* Connexion / inscription */
.auth { max-width: 440px; margin: 30px auto; }
.auth .card { padding: 32px; }
.auth h1 { font-size: 1.9rem; }

/* ------------------------------------------------------------------ vitrine */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 72px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px; z-index: -1;
                background: radial-gradient(closest-side, rgba(255,90,54,.55), rgba(255,90,54,0)); filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -10%; width: 700px; height: 700px; z-index: -1;
               background: radial-gradient(closest-side, rgba(123,97,255,.35), rgba(123,97,255,0)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
              background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; font-weight: 500; }
.hero .pill b { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 2px 9px; font-size: .75rem; }
.hero h1 { font-size: clamp(2.6rem, 5.3vw, 4.4rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .09em; border-radius: 4px;
                     background: var(--accent); opacity: .35; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 0 30px; }
.hero .btn.secondary { color: #fff; border-color: rgba(255,255,255,.25); }
.hero .btn.secondary:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.hero-grid { padding-bottom: 70px; }
.hero .proof { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.72); }
.hero .proof span::before { content: "✓"; color: var(--lime); font-weight: 800; margin-right: 7px; }
.stage { position: relative; height: 640px; display: flex; justify-content: center; align-items: flex-end; }
.phone { position: relative; width: 300px; border-radius: 46px; background: #000; padding: 11px;
         box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 0 7px #1c1b20, var(--shadow-lg), 0 60px 120px -40px rgba(255,90,54,.6);
         transform: rotate(-3deg) translateY(40px); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 86px; height: 24px; margin-left: -43px;
                 background: #000; border-radius: 999px; z-index: 2; }
.phone video, .phone img { width: 100%; aspect-ratio: 9/16; height: auto; object-fit: contain; border-radius: 36px; display: block; background: #000; }
.float { position: absolute; z-index: 3; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; padding: 12px 14px;
         box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); font-size: .82rem; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; font-family: var(--display); font-size: .98rem; letter-spacing: -.01em; }
.float { display: flex; gap: 11px; align-items: center; min-width: 210px; }
.float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .ico svg { width: 18px; height: 18px; }
.float.f1 { top: 90px; left: -10px; } .float.f2 { top: 300px; right: -20px; animation-delay: -2s; }
.float.f3 { bottom: 70px; left: 0; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.marquee { background: var(--accent); color: #fff; overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg);
           margin: -26px -10px 0; padding: 16px 0; position: relative; z-index: 4; box-shadow: 0 20px 40px -20px rgba(255,90,54,.7); }
/* 4 copies identiques et espacement porté par chaque mot : -50 % tombe pile sur une copie, sans saut ni vide. */
.marquee .track { display: inline-flex; animation: scroll 56s linear infinite;
                  font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.marquee .track span { margin-right: 46px; }
.marquee .track span::after { content: "✦"; margin-left: 46px; opacity: .7; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.04em; line-height: 1.02; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .section-head p, .section.dark .muted { color: rgba(255,255,255,.62); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { border-radius: 24px; padding: 28px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden;
        min-height: 250px; display: flex; flex-direction: column; }
.tile > h3 { margin-top: auto; }
.tile h3 { font-size: 1.35rem; margin-bottom: .35em; }
.tile p { margin: 0; color: var(--muted); }
.tile .tag { display: block; margin-bottom: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tile.span-2 { grid-column: span 2; } .tile.span-3 { grid-column: span 3; } .tile.span-4 { grid-column: span 4; }
.tile.ink { background: var(--ink); color: #fff; border-color: var(--ink); } .tile.ink p { color: rgba(255,255,255,.65); }
.tile.coral { background: var(--accent); color: #fff; border-color: var(--accent); } .tile.coral p { color: rgba(255,255,255,.85); }
.tile.lime { background: var(--lime); border-color: var(--lime); } .tile.lime p { color: rgba(17,16,20,.7); }
.tile .visual { position: absolute; top: 22px; right: 22px; }
.captions-demo { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--display); font-weight: 800; font-size: 1.6rem;
                 letter-spacing: -.02em; margin-bottom: 22px; }
.captions-demo span { color: rgba(255,255,255,.35); } .captions-demo span.on { color: var(--accent); }
.wave { display: flex; gap: 4px; align-items: center; height: 52px; }
.wave i { width: 5px; border-radius: 4px; background: var(--ink); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleY(.35); } }
.legal-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 7px; font-size: .9rem; }
.legal-list li::before { content: "✓"; color: var(--lime); font-weight: 800; margin-right: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.formats { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 22px; }
.formats i { display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; font-style: normal;
             font-size: .72rem; font-weight: 700; }
.formats i:nth-child(1) { width: 45px; height: 80px; background: var(--accent); border-color: var(--accent); color: #fff; }
.formats i:nth-child(2) { width: 64px; height: 64px; } .formats i:nth-child(3) { width: 100px; height: 56px; }
.post { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .84rem;
        line-height: 1.45; margin-bottom: 22px; color: var(--ink-2); }
.post b { color: var(--violet); font-weight: 600; }
.depth { position: relative; height: 96px; margin-bottom: 22px; border-radius: 14px; overflow: hidden;
         background: linear-gradient(180deg, #ece9ff, #f6f4ff); }
.depth i { position: absolute; border-radius: 10px; animation: parallax 7s ease-in-out infinite alternate; }
.depth i:nth-child(1) { left: 14%; top: 18px; width: 34%; height: 46px; background: rgba(123,97,255,.25); animation-name: px1; }
.depth i:nth-child(2) { left: 46%; top: 34px; width: 40%; height: 40px; background: rgba(123,97,255,.5); animation-name: px2; }
.depth i:nth-child(3) { left: -4%; bottom: -10px; width: 108%; height: 30px; background: var(--violet); animation-name: px3; }
@keyframes px1 { to { transform: translateX(6px) scale(1.03); } }
@keyframes px2 { to { transform: translateX(-14px) scale(1.06); } }
@keyframes px3 { to { transform: translateX(-24px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .depth i { animation: none; } }
.chips span { background: rgba(17,16,20,.08); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; }
.tile.coral .chips span { background: rgba(255,255,255,.18); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid rgba(255,255,255,.14); }
.step { padding: 34px 30px 10px 0; position: relative; }
.step + .step { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.14); }
.step .num { font-family: var(--display); font-size: 4.2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1;
             color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); margin-bottom: 18px; }
.step h3 { font-size: 1.35rem; } .step p { color: rgba(255,255,255,.62); margin: 0; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card { border-radius: 26px; padding: 32px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.2rem; }
.price-card .amount { font-family: var(--display); font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 10px 0 6px; }
.price-card .amount small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 9px; font-size: .93rem; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 9px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-10px);
                       box-shadow: 0 40px 70px -35px rgba(17,16,20,.7); position: relative; }
.price-card.featured .amount small, .price-card.featured .muted { color: rgba(255,255,255,.6); }
.price-card.featured .ribbon { position: absolute; top: 24px; right: 24px; background: var(--lime); color: var(--ink);
                               font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.25rem; font-weight: 700;
               letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 680px; }

.cta-band { background: var(--accent); color: #fff; border-radius: 32px; padding: 64px 56px; display: flex; align-items: center;
            justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; margin: 0; max-width: 620px; line-height: 1; }
.cta-band .btn { background: var(--ink); } .cta-band .btn:hover { background: #000; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
                   border: 60px solid rgba(255,255,255,.12); }

footer { padding: 40px 0; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
footer .logo { font-size: 1.1rem; color: var(--ink); text-decoration: none; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .with-aside { grid-template-columns: 1fr; } .with-aside aside { position: static !important; }
  .hero-grid { grid-template-columns: 1fr; } .stage { height: 560px; }
  .bento { grid-template-columns: 1fr 1fr; } .tile.span-2, .tile.span-3, .tile.span-4 { grid-column: span 2; }
  .prices, .steps { grid-template-columns: 1fr; } .price-card.featured { transform: none; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 720px) {
  .nav .hide-sm { display: none; } .nav { gap: 14px; }
  .segment { grid-template-columns: 1fr; }
  .section { padding: 68px 0; } .cta-band { padding: 40px 28px; }
  .float.f2 { right: 0; } .phone { width: 260px; }
}

/* Sections pleine largeur à l'intérieur du conteneur */
html, body { overflow-x: clip; }
.bleed { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
         padding-left: calc(50vw - 50%) !important; padding-right: calc(50vw - 50%) !important; }
.topbar .container { gap: 14px; }
@media (max-width: 720px) {
  .float { display: none; }
  .stage { height: 520px; } .hero-grid { padding-bottom: 40px; }
  .logo { font-size: 1.2rem; }
}

.section-head h2.one-line { white-space: nowrap; font-size: clamp(1.5rem, 3.6vw, 3.1rem); }
.section-head:has(.one-line) { max-width: none; }
@media (max-width: 720px) { .section-head h2.one-line { white-space: normal; } }

/* Pages de texte (mentions, confidentialité, conditions) */
.prose { max-width: 760px; margin: 10px auto 0; font-size: 1rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); } .prose ul { padding-left: 1.2em; } .prose li { margin: .35em 0; }

/* Écoute des tons de voix (tuile Voix off) */
.wave.idle i { animation-play-state: paused; opacity: .55; }
.voices { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.voices button { display: inline-flex; align-items: center; gap: 5px; border: 0; cursor: pointer; font: inherit;
  font-size: .8rem; font-weight: 600; color: var(--ink); background: rgba(17,16,20,.09); border-radius: 999px;
  padding: 5px 11px 5px 8px; transition: background .15s, color .15s; }
.voices button svg { width: 12px; height: 12px; fill: currentColor; }
.voices button:hover { background: rgba(17,16,20,.16); }
.voices button.on { background: var(--ink); color: var(--lime); }
.voices button.on svg path { d: path("M7 5h3.5v14H7zM13.5 5H17v14h-3.5z"); }

/* Étiquettes à côté du téléphone (et non plus par-dessus la vidéo) */
.stage { align-items: center; justify-content: flex-end; gap: 16px; }
.floats { display: flex; flex-direction: column; gap: 16px; }
.floats .float { position: relative; top: auto; left: auto; right: auto; bottom: auto; min-width: 0; width: 196px; }
.floats .float.f2 { margin-left: 22px; }
.phone { flex: none; }
@media (max-width: 1100px) { .floats .float { width: 190px; } .phone { width: 270px; } }
@media (max-width: 960px) { .stage { justify-content: center; } }
@media (min-width: 1101px) { .stage .phone { width: 286px; } }

.nowrap { white-space: nowrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.9rem); max-width: none; line-height: 1.05; }
@media (max-width: 720px) { .cta-band .nowrap { white-space: normal; } .cta-band h2 br { display: none; } }

/* ================================================================== espace agence, dans l'identité de l'accueil */
/* Bandeau sombre (encre + halos corail/violet) sous la barre ; le contenu remonte dessus. */
body:has(.app-hero) .topbar, .page-auth .topbar { background: rgba(17,16,20,.86); border-bottom-color: rgba(255,255,255,.06); }
body:has(.app-hero) .topbar a, body:has(.app-hero) .nav button.link,
.page-auth .topbar a, .page-auth .nav button.link { color: #fff; }
body:has(.app-hero) .topbar .logo .mark, .page-auth .topbar .logo .mark { background: #fff; }
.app-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff;
            padding: 30px 0 104px; }
.app-hero::before { content: ""; position: absolute; z-index: -1; right: -160px; top: -340px; width: 760px; height: 640px;
                    background: radial-gradient(closest-side, rgba(255,90,54,.5), rgba(255,90,54,0)); }
.app-hero::after { content: ""; position: absolute; z-index: -1; left: -200px; bottom: -380px; width: 640px; height: 560px;
                   background: radial-gradient(closest-side, rgba(123,97,255,.32), rgba(123,97,255,0)); }
.app-hero .back { display: inline-flex; gap: 6px; align-items: center; color: rgba(255,255,255,.62); text-decoration: none;
                  font-size: .88rem; font-weight: 500; margin-bottom: 14px; }
.app-hero .back:hover { color: #fff; }
.app-hero .app-head { margin: 0; align-items: flex-end; }
.app-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 0; }
.app-hero h1 .badge { font-family: "Inter", sans-serif; letter-spacing: 0; vertical-align: middle; margin-left: 6px; }
.app-hero .sub { color: rgba(255,255,255,.66); margin: 10px 0 0; max-width: 620px; }
.app-hero .eyebrow { color: var(--accent-2); }
.app-hero .btn.secondary { color: #fff; border-color: rgba(255,255,255,.25); }
.app-hero .btn.secondary:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.app-hero .btn.danger { background: transparent; color: #ffb4a3; border-color: rgba(255,180,163,.35); }
.app-hero .btn.danger:hover { background: rgba(255,90,54,.14); }
.app-hero + main { margin-top: -72px; padding-top: 0; position: relative; }
.app-hero + main .messages li { box-shadow: var(--shadow); }

/* Cartes plus généreuses, comme les tuiles de l'accueil */
.app-hero + main .card { border-radius: 24px; }
.app-hero + main form.card, .app-hero + main .card.pad { padding: 28px; }
.card > h3:first-child, .card .card-title { display: flex; align-items: center; gap: 9px; font-size: 1.15rem; }
.card-title .ico, .tag-ico { width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; flex: none;
                             background: var(--accent-soft); color: var(--accent); font-size: .95rem; }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 22px; }
legend { display: flex; align-items: center; gap: 10px; }
legend::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.with-aside > aside { position: sticky; top: 88px; }
aside.card h3, aside .card h3 { font-size: 1.05rem; }

/* Chiffres clés du tableau de bord */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.kpis .card { padding: 22px 24px; }
.kpis .label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpis .kpi { font-size: 2.3rem; margin: 6px 0 4px; }
.kpis .kpi small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.meter { height: 8px; background: #efe9e1; border-radius: 999px; overflow: hidden; margin-top: 10px; }
.meter > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ffb03a); border-radius: inherit; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 14px; }
.section-title h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.03em; }

/* Envoi de fichiers : bouton de l'identité au lieu du bouton gris du navigateur */
input[type=file] { font: inherit; font-size: .88rem; color: var(--muted); max-width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; font-size: .86rem; border: 0; border-radius: 999px;
  padding: 8px 16px; margin-right: 12px; background: var(--ink); color: #fff; cursor: pointer; transition: background .15s; }
input[type=file]::file-selector-button:hover { background: var(--accent); }
.dropzone { border-radius: 20px; padding: 30px 26px; }
.dropzone strong { font-family: var(--display); font-size: 1.1rem; display: block; margin-bottom: 4px; }

/* Choix visuels : format, voix, débit */
.formats-pick ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.formats-pick label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  min-height: 150px; padding: 18px 12px 14px; border: 1.5px solid var(--line-2); border-radius: 18px; background: #fff; cursor: pointer;
  font-weight: 600; font-size: .86rem; text-align: center; transition: border-color .15s, background .15s, transform .15s; }
.formats-pick label:hover { border-color: var(--ink); transform: translateY(-1px); }
.formats-pick input { position: absolute; opacity: 0; pointer-events: none; }
.formats-pick label::before { content: ""; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.formats-pick li:nth-child(1) label::before { width: 44px; height: 78px; }
.formats-pick li:nth-child(2) label::before { width: 62px; height: 62px; }
.formats-pick li:nth-child(3) label::before { width: 92px; height: 52px; }
.formats-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.formats-pick label:has(input:checked)::before { background: var(--accent); border-color: var(--accent); }
.formats-pick label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(255,90,54,.25); }

.voice-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.voice-pick label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 10px 10px 14px; border: 1.5px solid var(--line-2);
  border-radius: 16px; background: #fff; cursor: pointer; font-weight: 600; transition: border-color .15s, background .15s; }
.voice-pick label:hover { border-color: var(--ink); }
.voice-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.voice-pick input { position: absolute; opacity: 0; pointer-events: none; }
.voice-pick .who { flex: 1; line-height: 1.2; } .voice-pick .who small { display: block; color: var(--muted); font-weight: 500; font-size: .76rem; }
.voice-pick button { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff; flex: none; transition: background .15s, transform .12s; padding: 0; }
.voice-pick button:hover { background: var(--accent); transform: scale(1.05); }
.voice-pick button svg { width: 14px; height: 14px; fill: currentColor; }
.voice-pick button.on { background: var(--accent); color: #fff; }
.voice-pick button.on svg path { d: path("M7 5h3.5v14H7zM13.5 5H17v14h-3.5z"); }

.segmented ul { list-style: none; display: inline-flex; padding: 4px; margin: 0; background: #efe9e1; border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.segmented ul label { margin: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .86rem;
  color: var(--ink-2); transition: background .15s, color .15s; display: block; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented ul label:has(input:checked) { background: var(--ink); color: #fff; }
.opt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.toggles { display: flex; gap: 22px; flex-wrap: wrap; margin: 4px 0 8px; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
             margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.next-step p { margin: 0; max-width: 440px; }

/* Connexion, inscription, mot de passe : fond encre avec halo, carte claire au centre */
.page-auth main { background: var(--ink); position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 90px; }
.page-auth main::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -260px; width: 760px; height: 700px;
  background: radial-gradient(closest-side, rgba(255,90,54,.5), rgba(255,90,54,0)); }
.page-auth main::after { content: ""; position: absolute; z-index: -1; left: -220px; bottom: -320px; width: 680px; height: 620px;
  background: radial-gradient(closest-side, rgba(123,97,255,.3), rgba(123,97,255,0)); }
.page-auth .auth .card, .page-auth main > .container > .card { border-radius: 26px; box-shadow: var(--shadow-lg); border: 0; }
.page-auth main > .container > h1 { color: #fff; }
.page-auth footer { border-top: 0; }
.narrow { max-width: 640px; }

@media (max-width: 860px) {
  .kpis, .voice-pick { grid-template-columns: 1fr 1fr; }
  .with-aside > aside { position: static; }
}
@media (max-width: 560px) { .kpis, .voice-pick, .formats-pick ul { grid-template-columns: 1fr; } .formats-pick label { min-height: 0; flex-direction: row; justify-content: flex-start; } }
.auth-card { max-width: 460px; margin: 10px auto; padding: 32px; }
.price-card form:first-of-type { margin-top: auto; }
.price-card .btn { margin-top: 0; }
/* Comme sur l'accueil : le bandeau sombre passe sous la barre, sinon elle paraît grise sur le fond clair. */
.app-hero { margin-top: -69px; padding-top: calc(30px + 69px); }
.page-auth main { margin-top: -69px; padding-top: calc(56px + 69px); }
.formats-pick label small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; margin-top: 2px; }
