/* Séminaire Spécial · ICC Moanda : feuille de style */
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Poppins-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/Poppins-Italic.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Poppins-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Poppins-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 900; font-style: italic; font-display: swap; src: url('../fonts/BarlowCondensed-BlackItalic.woff2') format('woff2'); }

:root {
  --red: #E8380D;
  --deep: #C42A06;
  --orange: #F2590B;
  --amber: #F5981A;
  --navy: #1A1F2E;
  --ink: #262B38;
  --slate: #4A5160;
  --muted: #7A808C;
  --bg: #FBF7F4;
  --card: #FFFFFF;
  --tint: #FFF3EC;
  --tint-2: #FDE6D8;
  --line: #EFE0D6;
  --ok: #1E8E5A;
  --grad: linear-gradient(105deg, #CF2F08 0%, #E8420C 45%, #F47A16 100%);
  --grad-deep: linear-gradient(105deg, #A81F05 0%, #DB360B 60%, #EE5410 100%);
  --grad-amber: linear-gradient(105deg, #E9560E 0%, #F27C14 55%, #F6A223 100%);
  --radius: 18px;
  --shadow: 0 14px 34px -16px rgba(120, 30, 0, .32), 0 2px 8px rgba(26, 31, 46, .06);
  --shadow-sm: 0 6px 18px -10px rgba(120, 30, 0, .28), 0 1px 3px rgba(26, 31, 46, .06);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
button { font: inherit; color: inherit; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
@media (min-width: 600px) { body { background: #F1E7E0; } .wrap { box-shadow: 0 0 60px rgba(120, 30, 0, .10); } }
.pad { padding: 0 18px; }

/* ---------- Bandeau d'envoi en attente ---------- */
.outbox {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; padding: 10px 16px; font-size: 13.5px;
}
.outbox button { margin-left: auto; background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 12.5px; }

/* ---------- Accueil : la vidéo du Pasteur en affiche ---------- */
.stage {
  position: relative; overflow: hidden; color: #fff; display: grid; justify-items: center; gap: 14px;
  padding: 14px 16px 18px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  background:
    radial-gradient(120% 52% at 50% 104%, rgba(232, 56, 13, .70) 0%, rgba(232, 56, 13, 0) 72%),
    radial-gradient(80% 36% at 50% -4%, rgba(245, 152, 26, .22) 0%, rgba(245, 152, 26, 0) 70%),
    #121729;
}

/* Cadre vidéo : au format de la vidéo (9:16), assez petit pour laisser voir le bouton juste en dessous */
.vbox {
  position: relative; z-index: 1; width: min(100%, max(214px, calc((100vh - 150px) * .566)));
  aspect-ratio: 480 / 848; border-radius: 22px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 32px 60px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .10);
  -webkit-tap-highlight-color: transparent; max-width: 100%;
}
@supports (height: 100svh) { .vbox { width: min(100%, max(214px, calc((100svh - 150px) * .566))); } }
@supports not (aspect-ratio: 1) { .vbox::before { content: ''; display: block; padding-top: 176.67%; } } /* anciens iPhone */
.vbox video, .vbox iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; display: block; }
.vbox[data-mode=idle]::after, .vbox[data-mode=ended]::after, .vbox[data-mode=paused]::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(10, 13, 24, .34); pointer-events: none;
}
.vbox[data-mode=idle]::after { background: rgba(10, 13, 24, .18); }
.vsound {
  position: absolute; z-index: 2; top: 10px; right: 10px; height: 42px; min-width: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0; border: 0; border-radius: 999px; background: rgba(12, 15, 28, .74); color: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .30); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vsound.wide { padding: 0 15px 0 12px; }
.vsound .ic { width: 21px; height: 21px; }
.vbox[data-mode=auto] .vsound { animation: ring 2s ease-out 1.2s 4; }
@keyframes ring { 0% { box-shadow: 0 0 0 1.5px rgba(255,255,255,.30), 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 1.5px rgba(255,255,255,.30), 0 0 0 14px rgba(255,255,255,0); } }
.vbig {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 12px;
  border: 0; background: none; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; white-space: nowrap;
}
.vbig .ic { width: 78px; height: 78px; padding: 20px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px rgba(255, 255, 255, .28), 0 18px 30px -12px rgba(0, 0, 0, .8); }
.vbig span { background: rgba(12, 15, 28, .78); border-radius: 999px; padding: 7px 14px; }
.vbar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .16); pointer-events: none; }
.vbar i { display: block; height: 100%; background: linear-gradient(90deg, #F5981A, #FFD27A); transform-origin: 0 50%; transform: scaleX(0); transition: transform .26s linear; }
.vbox[data-mode=idle] .vbar, .vbox[data-mode=frame] .vbar { display: none; }
.vbox[data-mode=frame] { cursor: auto; }
.vbox[data-mode=frame] iframe { opacity: 0; transition: opacity .35s ease; z-index: 3; }
.vbox.ready iframe { opacity: 1; }
.vwait { position: absolute; z-index: 4; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; background: rgba(10, 13, 24, .34); pointer-events: none; }
.vwait .spinner { width: 42px; height: 42px; border-width: 4px; }

/* PASTEUR J’AI UNE QUESTION */
.pjq {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 460px; padding: 13px 14px 13px 12px;
  border-radius: 20px; background: var(--grad); color: #fff; text-decoration: none; overflow: hidden;
  box-shadow: 0 18px 34px -14px rgba(232, 56, 13, .95), inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .15s ease;
}
.pjq:active { transform: scale(.985); }
.pjq::after {
  content: ''; position: absolute; right: -40px; top: 50%; width: 120px; height: 120px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='25,6 75,6 98,50 75,94 25,94 2,50' fill='none' stroke='white' stroke-opacity='.22' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pjq-ic { width: 48px; height: 48px; border-radius: 15px; background: #fff; color: var(--red); display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.pjq-ic .ic { width: 30px; height: 30px; }
.pjq-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.pjq-name { display: block; font-family: 'Barlow Condensed', 'Poppins', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(25px, 8vw, 31px); line-height: .9; letter-spacing: .2px; }
.pjq-name span { display: block; }
.pjq-name span:first-child { color: #FFE2B8; }
.pjq-txt small { display: block; font-size: 12px; line-height: 1.3; margin-top: 6px; opacity: .95; text-wrap: balance; }
.pjq-go { width: 24px; height: 24px; position: relative; z-index: 1; flex: none; }

.live {
  position: relative; z-index: 3; margin: 16px 16px 0; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px 16px 22px; overflow: hidden;
}
.live::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad); }
.live-kicker { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.dot.on { background: #E21D0B; box-shadow: 0 0 0 0 rgba(226, 29, 11, .55); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226,29,11,.55); } 70% { box-shadow: 0 0 0 10px rgba(226,29,11,0); } 100% { box-shadow: 0 0 0 0 rgba(226,29,11,0); } }
.live-title { font-weight: 700; color: var(--navy); font-size: 18.5px; margin-top: 4px; line-height: 1.3; }
.live-sub { color: var(--slate); font-size: 14px; }

/* Compte à rebours à la seconde */
.cd { display: flex; gap: 8px; margin-top: 12px; }
.cd-b { flex: 1; min-width: 0; background: var(--tint); border-radius: 12px; padding: 8px 4px 7px; text-align: center; }
.cd-b b { display: block; font-size: 28px; line-height: 1.05; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.cd-b span { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); margin-top: 2px; }
.cd-b:last-child { background: var(--grad); }
.cd-b:last-child b, .cd-b:last-child span { color: #fff; }

/* Page de la vidéo seule (#/video) */
.vpage { min-height: 100vh; background: #0E1220; color: #fff; padding: 12px 16px calc(28px + var(--safe-b)); }
.vtop { display: flex; align-items: center; gap: 12px; }
.vtop-txt b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.vtop-txt span { font-size: 12.5px; opacity: .7; }
.vframe { margin: 14px auto 0; max-width: 420px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.vframe video { display: block; width: 100%; aspect-ratio: 480 / 848; max-height: 72vh; background: #000; }
.vframe { position: relative; }
.vframe iframe { display: block; width: 100%; aspect-ratio: 480 / 848; max-height: 72vh; border: 0; background: #000; }
.vposter { display: block; width: 100%; aspect-ratio: 480 / 848; max-height: 72vh; object-fit: cover; opacity: .55; }
.vload { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; text-align: center; padding: 20px; }
.vactions { display: grid; gap: 10px; max-width: 420px; margin: 16px auto 0; }
.vpage .btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* Pages de l'église */
.links .row { text-decoration: none; }
.links .row > .ic:first-child { width: 26px; height: 26px; }
.links .l-whatsapp > .ic:first-child { color: #1FAF54; }
.links .l-tiktok > .ic:first-child { color: #111; }
.links .l-facebook > .ic:first-child { color: #1877F2; }
.links .row .ext { width: 18px; height: 18px; color: var(--muted); }
.live-extra { margin-top: 10px; font-size: 13px; color: var(--slate); border-top: 1px dashed var(--line); padding-top: 10px; }

.badge-star {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 600;
  color: var(--navy); background: #FFF7D6; border: 1px solid #F3D77C; border-radius: 10px; padding: 6px 10px; line-height: 1.35;
}

.section-title { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 26px 18px 10px; }

.tiles { display: grid; gap: 12px; padding: 0 16px; margin-top: 18px; }
.tile {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px;
  border-radius: var(--radius); color: #fff; text-decoration: none; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:active { transform: scale(.985); }
.tile::after {
  content: ''; position: absolute; right: -44px; top: 50%; width: 112px; height: 112px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='25,6 75,6 98,50 75,94 25,94 2,50' fill='none' stroke='white' stroke-opacity='.22' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tile-prog { background: var(--grad); }
.tile-q { background: var(--grad-deep); }
.tile-t { background: var(--grad-amber); }
.tile-ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--red); flex: none; }
.tile-ic .ic { width: 26px; height: 26px; }
.tile-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.tile-txt b { display: block; font-size: 17.5px; font-weight: 700; line-height: 1.25; }
.tile-txt span { display: block; font-size: 13px; opacity: .92; line-height: 1.35; margin-top: 2px; }
.tile .chev { opacity: .85; position: relative; z-index: 1; }

.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; margin-top: 12px; }
.mini {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 14px 8px 12px; text-align: center;
  color: var(--navy); text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.25; display: grid; justify-items: center; gap: 8px;
}
.mini .ic { width: 28px; height: 28px; color: var(--red); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 0 16px; padding: 6px 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 18px; color: var(--ink); text-decoration: none; }
.row + .row { border-top: 1px solid var(--line); }
.row .ic { color: var(--red); width: 24px; height: 24px; }
.row-txt { flex: 1; min-width: 0; }
.row-txt b { display: block; color: var(--navy); font-weight: 600; font-size: 14.5px; }
.row-txt span { display: block; color: var(--slate); font-size: 13px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.chip-btn .ic { width: 18px; height: 18px; color: var(--red); }
.chip-btn.wa .ic { color: #1FA855; }

footer.foot { text-align: center; color: var(--muted); font-size: 12.5px; padding: 30px 20px calc(36px + var(--safe-b)); }
footer.foot img { width: 46px; margin: 0 auto 8px; }
footer.foot b { color: var(--slate); font-weight: 600; }
.foot-social { display: flex; justify-content: center; gap: 12px; margin: 12px 0 8px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); }
.foot-social .ic { width: 20px; height: 20px; }
.foot-social .s-whatsapp { color: #1FAF54; }
.foot-social .s-tiktok { color: #111; }
.foot-social .s-facebook { color: #1877F2; }
.foot-tel a { color: var(--slate); text-decoration: none; font-weight: 500; }

/* ---------- Pages intérieures ---------- */
.page-hero { background: var(--grad); color: #fff; padding: 14px 18px 26px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -40px; top: -30px; width: 190px; height: 190px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='25,6 75,6 98,50 75,94 25,94 2,50' fill='white' fill-opacity='.06' stroke='white' stroke-opacity='.25' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.back {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff;
  display: inline-grid; place-items: center; text-decoration: none; position: relative; z-index: 1;
}
.page-hero h1 {
  font-family: 'Barlow Condensed', 'Poppins', sans-serif; font-weight: 900; font-style: italic; font-size: 40px; line-height: .95;
  letter-spacing: .3px; margin: 14px 0 6px; text-transform: uppercase; position: relative; z-index: 1;
}
.page-hero h1 .l1 { color: #FFE2B8; }
.page-hero p { margin: 0; font-size: 14.5px; opacity: .95; max-width: 34em; position: relative; z-index: 1; }
.page-body { padding: 18px 16px 40px; }

/* ---------- Programme ---------- */
.session { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px; margin-bottom: 14px; }
.session.past { opacity: .62; }
.session.now { box-shadow: 0 0 0 2px var(--red), var(--shadow); }
.session-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-block; background: var(--grad); color: #fff; font-weight: 600; font-size: 14.5px; border-radius: 10px; padding: 6px 14px; }
.state { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.state.now { color: #E21D0B; display: inline-flex; align-items: center; gap: 6px; }
.session-time { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; color: var(--navy); font-size: 17px; }
.session-time .ic { color: var(--red); }
.session-title { color: var(--slate); margin-left: 28px; font-size: 14.5px; }
.session-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Formulaires ---------- */
form.f { display: grid; gap: 16px; }
fieldset { border: 0; margin: 0; padding: 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
legend small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
legend + * { clear: both; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: grid; gap: 4px; height: 100%; padding: 14px 12px; border: 2px solid var(--line); border-radius: 14px; background: #fff;
  font-size: 12.5px; color: var(--slate); line-height: 1.35; cursor: pointer; transition: border-color .15s, background .15s;
}
.choice span b { color: var(--navy); font-size: 14.5px; font-weight: 600; }
.choice span .ic { width: 26px; height: 26px; color: var(--red); }
.choice input:checked + span { border-color: var(--red); background: var(--tint); }
.choice input:focus-visible + span { outline: 3px solid rgba(232, 56, 13, .35); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.stack { display: grid; gap: 10px; }
.stack .choice span { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.stack .choice span b { font-size: 14px; }
.stack .choice span i { grid-column: 2; font-style: normal; font-size: 12.5px; color: var(--slate); margin-top: -2px; }
.stack .choice span .ic { grid-row: span 2; }
.sub-field { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sub-field .field { margin-top: 0; }
.sub-legend { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.sub-legend em { font-style: normal; font-weight: 400; color: var(--muted); }

.named { margin-top: 14px; }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field:first-child { margin-top: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #E6D6CC; border-radius: 12px;
  padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 89, 11, .15); }
.counter { text-align: right; font-size: 12px; color: var(--muted); margin-top: 4px; }
.hint { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--slate); cursor: pointer; transition: all .15s;
}
.chip input:checked + span { border-color: var(--red); background: var(--tint); color: var(--deep); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid rgba(232, 56, 13, .35); outline-offset: 2px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.seg button { border: 0; background: transparent; border-radius: 11px; padding: 10px; font-weight: 600; font-size: 14px; color: var(--slate); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.seg button.on { background: #fff; color: var(--deep); box-shadow: var(--shadow-sm); }
.seg button .ic { width: 20px; height: 20px; }
.seg button .dotok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red); flex: none; margin: 1px 0 0; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Enregistreur audio ---------- */
.rec { border: 2px dashed var(--line); border-radius: 16px; padding: 18px 16px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.rec-btn {
  width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(200, 50, 10, .7); cursor: pointer; position: relative;
}
.rec-btn .ic { width: 36px; height: 36px; }
.rec[data-state=recording] .rec-btn { background: #D61F0A; animation: recpulse 1.4s infinite; }
@keyframes recpulse { 0% { box-shadow: 0 0 0 0 rgba(214,31,10,.5); } 70% { box-shadow: 0 0 0 18px rgba(214,31,10,0); } 100% { box-shadow: 0 0 0 0 rgba(214,31,10,0); } }
.rec-time { font-weight: 700; font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.rec-time span { font-weight: 500; font-size: 14px; color: var(--muted); }
.rec-label { font-size: 13.5px; color: var(--slate); }
.meter { display: flex; align-items: center; gap: 4px; height: 34px; }
.meter i { width: 5px; border-radius: 3px; background: var(--orange); height: 6px; transition: height .08s; opacity: .85; }
.rec:not([data-state=recording]) .meter { display: none; }
.afile { border: 2px dashed var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.afile-help { margin: 0; font-size: 13.5px; color: var(--slate); }
.afile-help b { color: var(--navy); }
.afile-btn { width: auto; min-height: 50px; padding: 0 18px; font-size: 15px; cursor: pointer; }
.afile .rec-done { width: 100%; }
.afile-name { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.rec-done { width: 100%; display: grid; gap: 10px; }
.rec-done audio { width: 100%; }
.rec-links { display: flex; justify-content: center; gap: 18px; }
.link { border: 0; background: none; color: var(--red); font-weight: 600; font-size: 13.5px; text-decoration: underline; cursor: pointer; padding: 4px; }
.warn { font-size: 12.5px; color: #8A5300; background: #FFF6DA; border-radius: 10px; padding: 8px 12px; text-align: left; }
.err { font-size: 13px; color: #A3170A; background: #FDECEA; border-radius: 10px; padding: 10px 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 0; border-radius: 16px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; padding: 0 18px;
  box-shadow: 0 14px 28px -14px rgba(200, 50, 10, .8);
}
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: none; }
.btn .ic { width: 22px; height: 22px; }
.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 2px 4px 0; }
.privacy .ic { width: 18px; height: 18px; color: var(--muted); margin-top: 1px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Confirmation ---------- */
.done { text-align: center; padding: 34px 20px 10px; }
.done-ic { width: 92px; height: 92px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--red); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.done-ic .ic { width: 54px; height: 54px; }
.done-ic.wait { background: #EEF0F4; color: var(--navy); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done h2 { font-family: 'Barlow Condensed', 'Poppins', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 34px; line-height: 1; color: var(--navy); margin: 8px 0; }
.done p { color: var(--slate); margin: 0 auto; max-width: 26em; }
.verse { margin: 22px 16px 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 20px; border-left: 5px solid var(--red); text-align: left; }
.verse q { display: block; font-style: italic; color: var(--navy); quotes: '« ' ' »'; }
.verse cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--red); font-size: 13px; letter-spacing: .04em; }
.actions { display: grid; gap: 10px; padding: 22px 16px 10px; }

/* ---------- Notes ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--slate); cursor: pointer; }
.tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.notes-area { min-height: 46vh; }
.saved { font-size: 12px; color: var(--ok); display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Merci ---------- */
.week { display: grid; gap: 0; }
.week div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px; font-size: 14px; }
.week div + div { border-top: 1px solid var(--line); }
.week b { color: var(--navy); font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%) translateY(30px); opacity: 0;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 16px; font-size: 13.5px; z-index: 60; transition: all .25s; pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
