/* Photoboox · styles du site */
html, body { margin: 0; padding: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Concept : héros noir, photomaton en grand, typographie Inter sobre aux titres serrés, rouge du visuel à 290 €, coins de viseur du panneau Photoboox. */
:root {
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* thème sombre par défaut */
  --bg: #0B0B0C;
  --bg-alt: #141416;
  --surface: #1A1A1D;
  --ink: #F5F5F7;
  --muted: #A1A1A6;
  --line: #2E2E33;
  --nav-bg: rgba(11, 11, 12, 0.82);
  --accent: #E5281E;
  --accent-hover: #F03A30;
  --accent-text: #FF5A4F;
  --accent-ink: #FFFFFF;
  --err: #FF8D7E;
  --ok: #5FD7A0;
  color-scheme: dark;

  /* blocs toujours sombres (héros, bandeau, appel final) */
  --night: #0B0B0C;
  --on-night: #F5F5F7;
  --on-night-muted: #A1A1A6;
  --night-line: #2E2E33;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFFFFF;
    --bg-alt: #F5F5F7;
    --surface: #FFFFFF;
    --ink: #1D1D1F;
    --muted: #5F5F65;
    --line: #D8D8DD;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --accent: #D91F14;
    --accent-hover: #C21A10;
    --accent-text: #C21A10;
    --accent-ink: #FFFFFF;
    --err: #C2260F;
    --ok: #1D8348;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #5F5F65;
  --line: #D8D8DD;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --accent: #D91F14;
  --accent-hover: #C21A10;
  --accent-text: #C21A10;
  --accent-ink: #FFFFFF;
  --err: #C2260F;
  --ok: #1D8348;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
[id^="s-"] { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 72px); }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 720px; }


/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo img { width: 36px; height: 36px; }
.nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav li a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--muted); padding: 8px 0; display: inline-block; }
.nav li a:hover, .nav li a[aria-current="page"] { color: var(--ink); }
.nav li a.btn { padding: 9px 18px; font-size: 0.9rem; font-weight: 600; color: var(--accent-ink); }
.nav li a.btn:hover { color: var(--accent-ink); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav ul { gap: 16px; } }
@media (max-width: 400px) { .logo span { display: none; } }
@media (max-width: 1020px) { .nav .hide-md { display: none; } .nav ul { gap: 18px; } }
@media (max-width: 860px) { .nav li.hide-sm { display: none; } }
.nav li a { white-space: nowrap; }
@media (max-width: 600px) {
  .logo span { display: none; }
  .nav .wrap { gap: 10px; }
  .nav ul { gap: 12px; }
  .nav li a { font-size: .84rem; }
  .nav li a.btn { padding: 8px 14px; font-size: .84rem; }
}
@media (max-width: 440px) { .nav-long { display: none; } }
@media (max-width: 370px) { .nav ul { gap: 9px; } .nav li a { font-size: .78rem; } .nav li a.btn { padding: 7px 11px; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1.05rem; padding: 15px 28px; border-radius: 999px; transition: background .15s ease, transform .15s ease; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--bg); }
.btn.on-night { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 2px var(--on-night); }
.btn.on-night:hover { background: var(--on-night); color: var(--night); }
.btn.small { padding: 10px 20px; font-size: 0.95rem; }

/* Héros */
.hero { background: var(--night); color: var(--on-night); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 80%; background: radial-gradient(closest-side, rgba(229, 40, 30, 0.35), rgba(229, 40, 30, 0) 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px); position: relative; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; color: #FF5A4F; }
.hero h1 { font-size: clamp(2.8rem, 7.6vw, 5.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-top: 14px; }
.hero h1 em { font-style: normal; color: #FF5A4F; }
.hero .sub { margin-top: 22px; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.4; color: var(--on-night-muted); max-width: 30ch; }
.hero .sub b { color: var(--on-night); font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.hero .phone { margin-top: 20px; font-size: 0.95rem; color: var(--on-night-muted); }
.hero .phone b { color: var(--on-night); font-weight: 600; letter-spacing: 0.02em; user-select: all; }
.shot { position: relative; justify-self: center; width: min(100%, 420px); }
.shot .frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #1A1A1D; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); transform: rotate(2deg); }
.shot .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.sticker { position: absolute; left: -9%; bottom: -6%; width: clamp(128px, 34%, 170px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #FFFFFF; display: grid; place-content: center; text-align: center; transform: rotate(-9deg); border: 5px solid #FFFFFF; box-sizing: border-box; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.5); }
.sticker b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -0.04em; line-height: 0.95; }
.sticker span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 4px; line-height: 1.2; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .shot { width: min(86%, 380px); margin-bottom: 18px; } .sticker { left: -4%; } }

/* Bandeau défilant */
.band { background: var(--accent); color: var(--accent-ink); overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(0, 0, 0, 0.2); }
.band .track { display: inline-flex; gap: 0; animation: slide 38s linear infinite; }
.band span { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; font-size: 1.1rem; padding: 14px 22px; }
.band span::after { content: "\2022"; margin-left: 44px; opacity: 0.7; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band .track { animation: none; } .band { overflow-x: auto; } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(24px, 4vw, 44px) 16px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
/* Pictos animés des chiffres clés */
.stat-ani { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; color: var(--accent-text); background: color-mix(in srgb, var(--accent-text) 12%, transparent); position: relative; }
.stat-ani::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid color-mix(in srgb, var(--accent-text) 30%, transparent); }
.stat-ani .ai { width: 40px; height: 40px; overflow: visible; }
.ai-swing { transform-origin: 42px 19px; animation: ai-swing 2.6s ease-in-out infinite; }
@keyframes ai-swing { 0%,100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.ai-spark { transform-origin: 54px 48px; animation: ai-spark 2.6s ease-in-out infinite; }
@keyframes ai-spark { 0%,60%,100% { transform: scale(0); opacity: 0; } 75% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.ai-paper { animation: ai-paper 2.4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes ai-paper { 0% { transform: translateY(-16px); } 55%,80% { transform: translateY(8px); } 100% { transform: translateY(30px); } }
.ai-led { animation: ai-led 1.2s steps(2) infinite; }
@keyframes ai-led { 50% { opacity: .2; } }
.ai-fill { stroke-dasharray: 100; animation: ai-fill 3s linear infinite; }
@keyframes ai-fill { 0% { stroke-dashoffset: 100; } 85%,100% { stroke-dashoffset: 0; } }
.ai-hand { transform-origin: 32px 36px; animation: ai-hand 3s linear infinite; }
@keyframes ai-hand { 0% { transform: rotate(0); } 85%,100% { transform: rotate(360deg); } }
.ai-chrono { animation: ai-pop 3s ease-out infinite; transform-origin: 50% 60%; }
@keyframes ai-pop { 0%,84% { transform: scale(1); } 90% { transform: scale(1.12); } 100% { transform: scale(1); } }
.ai-pin { animation: ai-bounce 1.8s cubic-bezier(.3,0,.3,1) infinite; }
@keyframes ai-bounce { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-9px); } }
.ai-shadow { transform-origin: 32px 54px; animation: ai-shadow 1.8s cubic-bezier(.3,0,.3,1) infinite; }
@keyframes ai-shadow { 0%,100% { transform: scale(1); } 45% { transform: scale(.55); opacity: .15; } }
.ai-ripple { transform-origin: 32px 54px; animation: ai-ripple 1.8s ease-out infinite; }
@keyframes ai-ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.stat:hover .stat-ani { transform: translateY(-3px); }
.stat-ani { transition: transform .25s ease; }
@media (max-width: 720px) { .stat-ani { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px; } .stat-ani .ai { width: 30px; height: 30px; } }
/* Bloc chiffres clés plus compact */
.stats .stat { padding: clamp(18px, 2.6vw, 30px) 16px; }
.stats .stat b { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.stats .stat span { font-size: .88rem; margin-top: 6px; }
.stats .stat .stat-hl { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .stat-ani .ai, .stat-ani .ai * { animation: none !important; } .ai-fill { stroke-dashoffset: 25; } .ai-spark { opacity: 0; } }

.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 4.4rem); letter-spacing: -0.045em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.45em; font-weight: 700; margin-left: 4px; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.95rem; line-height: 1.3; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Sections */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section.alt { background: var(--bg-alt); }
.tag { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; color: var(--accent-text); }
.title { font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -0.045em; margin-top: 10px; max-width: 16ch; }
.title.wide { max-width: 22ch; }
.lead { margin-top: 18px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 46ch; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; }
.specs li { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; min-width: 0; }
.specs h3 { font-size: 1.5rem; }
.specs p { margin-top: 10px; color: var(--muted); }
.specs .n { display: block; font-family: var(--display); font-weight: 600; color: var(--accent-text); font-size: 0.9rem; letter-spacing: 0.02em; margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: 3.2rem; letter-spacing: -0.04em; line-height: 0.95; color: var(--accent-text); display: block; }
.steps h3 { font-size: 1.5rem; margin-top: 10px; }
.steps p { margin-top: 8px; color: var(--muted); }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.duo figure { margin: 0; border-radius: 28px; overflow: hidden; background: var(--bg-alt); }
.duo figure img { width: 100%; height: auto; }
@media (max-width: 820px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Tarif */
.price-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--night); color: var(--on-night); border-radius: 32px; padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -30%; background: radial-gradient(closest-side, rgba(229, 40, 30, 0.4), rgba(229, 40, 30, 0)); pointer-events: none; }
.price-card > * { position: relative; min-width: 0; }
.price-card .tag { color: #FF5A4F; }
.price-card .amount { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 17vw, 9rem); letter-spacing: -0.055em; line-height: 0.9; margin-top: 8px; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 0.26em; margin-left: 10px; letter-spacing: -0.02em; }
.price-card .note { color: var(--on-night-muted); margin-top: 10px; }
.incl { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.incl li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--night-line); font-size: 1.1rem; }
.incl li:last-child { border-bottom: 1px solid var(--night-line); }
.incl li::before { content: "\2713"; color: #FF5A4F; font-weight: 700; flex: none; }
.price-card .cta-row { margin-top: 28px; }
@media (max-width: 820px) { .price-card { grid-template-columns: minmax(0, 1fr); } }

/* Événements */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 44px; }
.ev { text-align: left; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: border-color .15s ease, transform .15s ease; min-width: 0; }
.ev:hover { border-color: var(--accent-text); transform: translateY(-3px); }
.ev h3 { font-size: 1.8rem; }
.ev span { color: var(--accent-text); font-weight: 600; }
.ev span::after { content: " \2192"; }

/* Zone */
.zone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.zone .addr { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.zone .addr b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .zone { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 820px) { .zone { grid-template-columns: minmax(0, 1fr); } }

/* Avis */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.chips li { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; font-size: 1.05rem; padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; }
.proof { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--muted); }
.proof a { color: var(--accent-text); font-weight: 600; }

/* Appel final */
.final { background: var(--night); color: var(--on-night); text-align: center; padding-block: clamp(64px, 10vw, 128px); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120%); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(229, 40, 30, 0.3), rgba(229, 40, 30, 0)); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(2.6rem, 8vw, 5.4rem); letter-spacing: -0.045em; margin-inline: auto; max-width: 16ch; }
.final p { margin: 18px auto 0; color: var(--on-night-muted); font-size: 1.15rem; max-width: 40ch; }
.final .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.final .phone b { color: var(--on-night); user-select: all; }

/* Pages Réserver et Galerie */
.page-head { padding-block: clamp(44px, 7vw, 88px) 12px; }
.page-head h1, .page-head h2 { font-size: clamp(2.8rem, 9vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
.page-head p { margin-top: 14px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 36ch; }
.form-wrap { padding-block: 28px clamp(56px, 9vw, 104px); }
.offer { background: var(--night); color: var(--on-night); border-radius: 22px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.offer b { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.04em; line-height: 1; color: #FF5A4F; }
.offer span { color: var(--on-night-muted); font-size: 0.95rem; max-width: 40ch; }
form { display: grid; gap: 30px; margin-top: 32px; }
.group { display: grid; gap: 14px; min-width: 0; }
.group h2 { font-size: 1.5rem; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 50px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 1.0625rem; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px rgba(229, 40, 30, 0.25); }
.hint { font-size: 0.85rem; color: var(--muted); }
.error { font-size: 0.875rem; color: var(--err); font-weight: 600; }
.done { padding-block: 24px; display: grid; gap: 14px; justify-items: start; }
.done h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: -0.045em; }
.done .ref { font-size: 0.85rem; color: var(--accent-text); font-weight: 600; letter-spacing: 0.08em; }
.done dl { margin: 12px 0 0; width: 100%; max-width: 480px; }
.done .l { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.done .l:last-child { border-bottom: 1px solid var(--line); }
.done dt { color: var(--muted); }
.done dd { margin: 0; font-weight: 600; text-align: right; }

.lock { max-width: 460px; padding-bottom: clamp(56px, 9vw, 104px); }
.lock form { margin-top: 24px; gap: 14px; }
.lock .demo { margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.g-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-block: clamp(40px, 6vw, 72px) 28px; }
.g-head h1, .g-head h2 { font-size: clamp(2.2rem, 6.5vw, 3.8rem); letter-spacing: -0.045em; }
.g-head .meta { color: var(--muted); margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; padding-bottom: clamp(56px, 9vw, 104px); }
.g-hq { margin: -6px 0 22px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: .92rem; line-height: 1.5; color: var(--body, var(--ink)); max-width: 72ch; }
.g-hq b { color: var(--ink); }
.g-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.g-tabs button { font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.g-tabs button small { font-weight: 500; opacity: .65; margin-left: 4px; }
.g-tabs button:hover { border-color: var(--ink); }
.g-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.g-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.thumb { display: grid; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; min-width: 0; }
.thumb .ph { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-alt); }
.grid { align-items: start; }
.grid.g-strips { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.grid.g-strips .thumb .ph { border-radius: 8px; }
.grid.g-land { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 600px) { .grid.g-strips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .grid.g-land { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.thumb .ph img, .thumb .ph svg, .lb-img img, .lb-img svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb:hover .ph { opacity: 0.88; }
.thumb .cap { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.93); display: grid; place-items: center; padding: 16px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.lb-box { display: grid; gap: 16px; justify-items: center; max-width: 100%; }
.lb-img { --ar: 1; aspect-ratio: var(--ar); width: min(92vw, calc(72vh * var(--ar)), 1100px); border-radius: 16px; overflow: hidden; background: #1D1D1F; }
.lb-cap { color: #F5F5F7; font-size: 0.875rem; text-align: center; }
.lb-ctl { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }


/* Ajouts : identité du panneau Photoboox (coins de viseur, slogan), avis, FAQ, formulaire, galerie protégée */
.vf { position: relative; display: inline-block; padding: 0.55em 1.2em; }
.vf::before, .vf::after { content: ""; position: absolute; width: 0.6em; height: 0.6em; border: 0 solid var(--accent-text); }
.vf::before { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.vf::after { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }
.slogan { font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.4; text-align: center; }
.slogan b { font-weight: 700; }
.tag { position: relative; }
.tag::before { content: ""; position: absolute; left: -10px; top: -10px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
.final .logo-big { width: clamp(120px, 22vw, 168px); height: auto; margin: 0 auto 26px; border-radius: 50%; }
.final .slogan { color: var(--on-night); margin-top: 22px; }
.final .contact-line { margin-top: 22px; display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; font-size: 1.15rem; color: var(--on-night); }
.final .contact-line b { font-weight: 700; user-select: all; }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 16px; align-content: space-between; min-width: 0; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.quote footer { background: none; border: 0; padding: 0; font-size: 0.92rem; color: var(--muted); }
.quote footer b { color: var(--ink); }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 64ch; }

.pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.pick input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.summary { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.88rem; line-height: 1.6; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 16px; white-space: pre-wrap; overflow-x: auto; margin: 6px 0 0; width: 100%; }
.done .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.lock-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: clamp(56px, 9vw, 104px); }
.lock-grid .lock { max-width: none; padding-bottom: 0; }
@media (max-width: 820px) { .lock-grid { grid-template-columns: minmax(0, 1fr); } }
.pw { position: relative; }
.pw input { padding-right: 96px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 0.9rem; padding: 8px 10px; cursor: pointer; }
.access { background: var(--night); color: var(--on-night); border-radius: 22px; padding: clamp(22px, 4vw, 32px); display: grid; gap: 14px; }
.access p { color: var(--on-night-muted); }
.access .tag { color: #FF5A4F; }
.access .card { background: #FFFFFF; color: #1D1D1F; border-radius: 14px; padding: 18px 20px; display: grid; gap: 8px; max-width: 340px; transform: rotate(-2deg); margin-top: 6px; }
.access .card .head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.access .card .head img { width: 30px; height: 30px; }
.access .card span { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed #C9C9CF; padding-top: 8px; font-size: 0.9rem; }
.access .card em { font-style: normal; font-weight: 600; }
.demo-badge { display: inline-block; background: var(--accent); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.lb-ctl a.btn { text-decoration: none; }

/* Diaporama du héros : compte à rebours, flash, zoom lent, tirage qui sort */
.show { position: relative; isolation: isolate; }
.show .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.show .slide.on { opacity: 1; z-index: 1; }
.show .slide > img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.show .slide > img.kb-a { object-position: 50% 30%; }
.show .slide.on > img.kb-a { animation: kbA 6.5s ease-out both; }
.show .slide.on > img.kb-b { animation: kbB 6.5s ease-out both; }
.show .slide > img.kb-c { object-position: 50% 45%; }
.show .slide.on > img.kb-c { animation: kbC 6.5s ease-out both; }
@keyframes kbC { from { transform: scale(1.03) translateX(-2%); } to { transform: scale(1.15) translateX(2%); } }
@keyframes kbA { from { transform: scale(1.14) translateY(3%); } to { transform: scale(1.02) translateY(0); } }
@keyframes kbB { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.16) translateX(-4%); } }
.slide-print { background: radial-gradient(120% 90% at 50% 0%, #2A2A2E, #121214); display: grid; place-items: center; align-content: center; gap: 18px; padding: 18% 10% 10%; }
.print { width: 100%; max-width: 300px; background: #FFFFFF; color: #1D1D1F; padding: 10px; border-radius: 3px; display: grid; gap: 8px; box-shadow: 0 24px 50px rgba(0,0,0,.55); transform: rotate(-3deg); }
.show .slide-print.on .print { animation: printOut 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes printOut { from { transform: translateY(-70%) rotate(0deg); clip-path: inset(70% 0 0 0); } 60% { clip-path: inset(0 0 0 0); } to { transform: translateY(0) rotate(-3deg); clip-path: inset(0 0 0 0); } }
.print-top { display: flex; justify-content: flex-end; }
.show .print-top img { width: 28px; height: 28px; }
.print-photo { aspect-ratio: 3 / 2; overflow: hidden; outline: 1px solid #1D1D1F; }
.show .print-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.print-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; font-size: 0.56rem; line-height: 1.35; }
.print-foot .vf { padding: .35em .7em; text-align: center; }
.print-foot .vf::before, .print-foot .vf::after { width: 6px; height: 6px; border-color: #1D1D1F; }
.print-foot .vf::before { border-top-width: 2px; border-left-width: 2px; }
.print-foot .vf::after { border-bottom-width: 2px; border-right-width: 2px; }
.print-foot .r { text-align: right; }
.print-cap { color: #F5F5F7; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; opacity: .85; }
.flash { position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; z-index: 4; }
.flash.go { animation: flash .55s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.bars { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; z-index: 5; }
.bars button { flex: 1; height: 18px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
.bars button span { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.bars button span::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: #FFFFFF; border-radius: 2px; }
.count { position: absolute; left: 14px; top: 42px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; border-radius: 999px; padding: 6px 12px 6px 10px; font-size: .85rem; font-weight: 600; }
.count i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: rec 1s steps(2) infinite; }
.count b { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; animation: pop .35s ease-out; }
@keyframes rec { 50% { opacity: .2; } }
@keyframes pop { from { transform: scale(1.6); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .show .slide.on > img, .show .slide-print.on .print, .flash.go, .count i, .count b { animation: none !important; }
}

/* Photos en situation : bande défilante */
.duo figure.tall { aspect-ratio: 4 / 5; max-height: 640px; }
.duo figure.tall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.reel-nav { display: flex; gap: 10px; }
.rbtn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); font-size: 1.2rem; cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.rbtn:hover { box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-1px); }
.reel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - 1160px) / 2 + 16px)); padding: 36px max(16px, calc((100vw - 1160px) / 2 + 16px)) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { flex: none; margin: 0; height: clamp(300px, 52vw, 460px); aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; position: relative; scroll-snap-align: start; background: var(--bg-alt); max-width: calc(100vw - 32px); }
.reel figure.p { aspect-ratio: 3 / 4; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.reel figure:hover img { transform: scale(1.05); }
.reel figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; font-weight: 600; font-size: .88rem; padding: 6px 12px; border-radius: 999px; }

/* Carte de la zone de livraison */
.zcheck { margin-top: 28px; display: grid; gap: 10px; max-width: 460px; }
.zcheck label { font-weight: 600; font-size: .95rem; }
.zrow { display: flex; gap: 10px; }
.zrow input { flex: 1; min-width: 0; min-height: 50px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-size: 1.02rem; }
.zrow input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px rgba(229, 40, 30, .22); }
.zres { border-radius: 16px; padding: 14px 18px; display: grid; gap: 4px; border: 1px solid var(--line); background: var(--surface); }
.zres b { font-size: 1.1rem; }
.zres .km { font-variant-numeric: tabular-nums; color: var(--muted); }
.zres.ok { border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
.zres.ok b { color: var(--ok); }
.zres.out b { color: var(--accent-text); }
.zmap-wrap { position: relative; background: radial-gradient(90% 90% at 50% 50%, #17171A, #0B0B0C); border-radius: 32px; padding: clamp(10px, 2vw, 18px); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.zmap { display: block; width: 100%; height: auto; }
.zmap .grid line { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.zmap .river { fill: none; stroke: #4F86C6; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.zmap .river.sambre { stroke-width: 3.5; }
.zmap .road { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; stroke-dasharray: 8 6; }
.zmap .road-lbl { fill: rgba(255,255,255,.45); font: 600 11px Inter, system-ui, sans-serif; letter-spacing: .04em; }
.zmap .riv-lbl { fill: #7FA9DA; font: italic 600 12px Inter, system-ui, sans-serif; }
.zmap .ring { fill: url(#zfill); stroke: #FF5A4F; stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.zmap .ring10 { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.zmap .pulse { fill: none; stroke: #FF5A4F; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: zpulse 3.6s cubic-bezier(.2,.6,.3,1) infinite; opacity: 0; }
.zmap .pulse.d2 { animation-delay: 1.2s; } .zmap .pulse.d3 { animation-delay: 2.4s; }
@keyframes zpulse { 0% { transform: scale(.05); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.zmap .town circle { fill: #F5F5F7; }
.zmap .town.out circle { fill: #6E6E73; }
.zmap .town text { fill: #F5F5F7; font: 600 13px Inter, system-ui, sans-serif; paint-order: stroke; stroke: #0B0B0C; stroke-width: 4px; stroke-linejoin: round; }
.zmap .town.out text { fill: #A1A1A6; }
.zmap .town.minor text { font-size: 11px; font-weight: 500; }
.zmap .town.hit circle { fill: #FF5A4F; }
.zmap .town.hit text { fill: #FFFFFF; }
.zmap .home .dot { fill: #E5281E; stroke: #FFFFFF; stroke-width: 3; }
.zmap .home text { fill: #FFFFFF; font: 700 15px Inter, system-ui, sans-serif; paint-order: stroke; stroke: #0B0B0C; stroke-width: 5px; }
.zmap .km20 rect { fill: #E5281E; } .zmap .km20 text { fill: #FFFFFF; font: 700 13px Inter, system-ui, sans-serif; }
.zmap .route { fill: none; stroke: #FFFFFF; stroke-width: 2.5; stroke-dasharray: 6 6; animation: zdash 1s linear infinite; }
@keyframes zdash { to { stroke-dashoffset: -12; } }
.zmap .route-lbl rect { fill: #FFFFFF; } .zmap .route-lbl text { fill: #0B0B0C; font: 700 12px Inter, system-ui, sans-serif; }
.zlegend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 6px 4px 4px; color: #A1A1A6; font-size: .8rem; }
.zlegend span { display: inline-flex; align-items: center; gap: 7px; }
.zlegend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lg-in { background: #F5F5F7; } .lg-out { background: #6E6E73; } .lg-river { background: #4F86C6; border-radius: 3px !important; width: 16px !important; height: 4px !important; }
@media (prefers-reduced-motion: reduce) { .zmap .pulse { display: none; } .zmap .route { animation: none; } }

.stat .stat-ico { display: block; height: 0.95em; width: auto; }
.stat .stat-hl { display: block; color: var(--ink); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 2px; }
.stat .stat-hl::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent-text); margin-top: 6px; margin-bottom: 4px; }
/* Défilement : barre de progression, apparitions, grande typographie */
.sprog { position: fixed; top: 0; left: 0; right: 0; height: calc(3px + env(safe-area-inset-top, 0px)); background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; }
.rv { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), clip-path 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rv.pre { opacity: 0; transform: translateY(40px); }
.rv.rv-img.pre { opacity: 1; transform: scale(1.06); clip-path: inset(10% 8% 10% 8% round 28px); }
.rv.rv-img { clip-path: inset(0 0 0 0 round 28px); }
.rv.rv-scale.pre { transform: translateY(40px) scale(.94); }
.words-sec { background: var(--night); color: var(--on-night); padding-block: clamp(72px, 12vw, 150px); }
.words { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5.4vw, 4.2rem); line-height: 1.12; letter-spacing: -0.04em; max-width: 20ch; text-wrap: balance; }
.words .w { transition: color .35s ease; }
.words .w.dim { color: rgba(245, 245, 247, .16); }
.words em { font-style: normal; color: #FF5A4F; }
.words em .w.dim { color: rgba(255, 90, 79, .2); }
@media (prefers-reduced-motion: reduce) { .rv, .rv.pre { transition: none; opacity: 1; transform: none; clip-path: none; } .sprog { display: none; } }

.stat b .cnt { display: inline; font-size: inherit; margin: 0; color: inherit; line-height: inherit; }
/* Un design pour chaque fête : tirages posés en vrac */
.designs { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.design-tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.design-tags li { font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.pile { position: relative; aspect-ratio: 1 / 1.02; width: 100%; --s: 1; }
.pr { position: absolute; margin: 0; background: #FFFFFF; padding: 8px 8px 8px; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.12);
  transform: translate(calc((1 - var(--s)) * var(--fx)), calc((1 - var(--s)) * var(--fy))) rotate(calc(var(--r) * var(--s))); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; cursor: zoom-in; }
.pr img { display: block; width: 100%; height: auto; border-radius: 2px; }
.pr figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--accent); color: #FFFFFF; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.pr:hover, .pr:focus-within { z-index: 9 !important; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(0deg) scale(1.06); }
.pr1 { left: 0%; top: 4%; width: 40%; --r: -7deg; --fx: 30%; --fy: 25%; z-index: 1; }
.pr2 { left: 54%; top: 0%; width: 40%; --r: 6deg; --fx: -35%; --fy: 30%; z-index: 2; }
.pr5 { left: 4%; top: 50%; width: 38%; --r: 4deg; --fx: 30%; --fy: -25%; z-index: 3; }
.pr4 { left: 64%; top: 42%; width: 27%; --r: 9deg; --fx: -60%; --fy: -10%; z-index: 4; }
.pr3 { left: 32%; top: 24%; width: 34%; --r: -3deg; --fx: 0%; --fy: 0%; z-index: 5; }
@media (max-width: 860px) {
  .designs { grid-template-columns: minmax(0, 1fr); }
  .pile { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 8px 4px 18px; }
  .pr { position: relative; left: auto; top: auto; width: auto; }
  .pr3 { grid-column: span 2; width: 70%; justify-self: center; order: -1; }
  .pr { transform: rotate(calc(var(--r) * .5)); }
}
@media (prefers-reduced-motion: reduce) { .pr { transition: none; } }

.show .slide > img.kb-d { object-position: 50% 50%; }
.show .slide.on > img.kb-d { animation: kbD 6.5s ease-out both; }
@keyframes kbD { from { transform: scale(1.1); } to { transform: scale(1); } }
/* Studio de design des bandelettes */
.studio { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: clamp(56px, 9vw, 104px); }
.tools { display: grid; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); max-height: calc(100vh - 96px); overflow-y: auto; padding-right: 4px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.tool h3 { font-size: 1rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.tool h3 span { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .78rem; flex: none; }
.tool .hint { margin: -4px 0 0; }
.tool .pick span { padding: 8px 12px; font-size: .86rem; }
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.presets button, .adds button, .mini button { font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; justify-content: center; transition: border-color .15s ease, transform .15s ease; }
.presets button { flex-direction: column; gap: 6px; padding: 10px 6px; }
.tpl-label { margin: 14px 0 8px; font-size: .85rem; font-weight: 600; }
.tpl-label small { font-weight: 500; color: var(--muted, #8E8E93); margin-left: 4px; }
.tpls { display: flex; align-items: flex-start; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.tpls button { flex: 0 0 auto; width: 74px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; color: var(--ink); font: inherit; scroll-snap-align: start; text-align: center; transition: border-color .15s ease, transform .15s ease; }
.tpls button img { display: block; width: 70px; height: 210px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.tpls button span { display: block; font-size: .7rem; line-height: 1.2; margin: 5px 2px 0; }
.tpls button:hover { transform: translateY(-2px); }
.tpls button[aria-pressed="true"] { border-color: var(--accent, #E5281E); }
.tpls button:focus-visible { outline: 2px solid var(--accent, #E5281E); outline-offset: 2px; }
.presets button i { width: 26px; height: 40px; border-radius: 4px; border: 1px solid var(--line); display: block; }
.presets button:hover, .adds button:hover, .mini button:hover { border-color: var(--ink); transform: translateY(-1px); }
.presets button[aria-pressed="true"] { border-color: var(--accent-text); box-shadow: 0 0 0 2px var(--accent-text) inset; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button, .sw-custom { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.swatches button:hover { transform: scale(1.08); }
.sw-custom { background: conic-gradient(#FF3B30, #FFCC00, #34C759, #32ADE6, #AF52DE, #FF3B30); display: inline-block; }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-btn { position: relative; display: flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 600; border: 1px dashed var(--line); border-radius: 12px; padding: 10px; cursor: pointer; color: var(--ink); background: var(--bg); }
.file-btn:hover { border-color: var(--ink); }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn.small { border-style: solid; font-size: .86rem; padding: 9px 10px; }
.sub-label { margin: 2px 0 -4px; font-size: .8rem; font-weight: 600; }
.pick-sm { gap: 6px; }
.pick-sm span { padding: 7px 11px; font-size: .82rem; gap: 7px; align-items: center; }
.rc { display: inline-block; width: 16px; height: 12px; border: 2px solid currentColor; }
.rc1 { border-radius: 4px; } .rc2 { border-radius: 7px; }
.bglib { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bglib button { padding: 0; border: 2px solid transparent; border-radius: 9px; background: none; cursor: pointer; aspect-ratio: 2 / 3; overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.bglib button img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.bglib button:hover { transform: translateY(-2px); }
.bglib button[aria-pressed="true"] { border-color: var(--accent-text); }
.bglib button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.bg-none { display: block; width: 100%; height: 100%; border-radius: 7px; border: 1px dashed var(--line); background: linear-gradient(135deg, transparent calc(50% - 1px), var(--muted) calc(50% - 1px), var(--muted) calc(50% + 1px), transparent calc(50% + 1px)), var(--bg); }
.bg-op label { display: flex; justify-content: space-between; }
.bg-op output { font-weight: 600; color: var(--muted); }
.bg-op .hint { font-size: .74rem; }
.adds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.file-drop { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 14px 12px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop svg { width: 24px; height: 24px; color: var(--accent-text); }
.file-drop b { font-size: .9rem; }
.file-drop small { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.file-drop:hover, .file-drop.over { border-color: var(--accent-text); background: color-mix(in srgb, var(--accent-text) 8%, var(--bg)); }
.file-drop:focus-within { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.stage-inner.over { outline: 3px dashed #FF5A4F; outline-offset: -10px; }
.stage-inner.over::after { content: "Déposez votre image ici"; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); background: #E5281E; color: #fff; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; }
.tool.sel { border-color: var(--accent-text); }
.tool textarea, .tool select { width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .95rem; }
.tool input[type="color"] { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 3px; cursor: pointer; }
.tool input[type="range"] { width: 100%; accent-color: var(--accent); }
.tool .field label { font-size: .8rem; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini { display: flex; gap: 6px; }
.mini button { flex: 1; padding: 8px; }
.mini.wide { flex-wrap: wrap; }
.mini.wide button { flex: 1 1 40%; }
.mini button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.mini .danger { color: var(--err); }
.stage { display: grid; gap: 14px; min-width: 0; }
.stage-inner { position: relative; background: #1A1A1D; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 18px 18px; border-radius: 24px; padding: clamp(16px, 3vw, 32px); display: grid; place-items: center; min-height: 420px; overflow: hidden; }
.stage-inner .canvas-container { box-shadow: 0 24px 60px rgba(0,0,0,.5); border-radius: 2px; }
.stage-loading { color: #A1A1A6; font-size: .95rem; position: absolute; }
.stage-hint { color: var(--muted); font-size: .88rem; text-align: center; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pbx-client .stage-actions { align-items: center; }
.cm-bar { display: contents; }
.pbx-client #d-send-open, .pbx-client #d-export, .pbx-client #d-book { display: none !important; }
.cm-note, .cm-ok { flex-basis: 100%; text-align: center; margin: 0; color: var(--muted); font-size: .92rem; }
.cm-note b { color: var(--ink); }
.cm-err { display: block; color: var(--err); font-weight: 600; margin-top: 4px; }
.cm-ok { color: var(--ok); font-weight: 700; font-size: 1rem; }
.pbx-client #cm-send { font-size: 1.02rem; }
.d-done { background: var(--surface); border: 1px solid color-mix(in srgb, var(--ok) 55%, transparent); border-radius: 16px; padding: 14px 18px; display: grid; gap: 4px; }
.d-done > b { color: var(--ok); }
@media (max-width: 767px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .tools { position: static; max-height: none; overflow: visible; order: 2; }
  .tools-r { order: 3; }
  .stage { order: 1; }
}
.tpl-blank { display: block; width: 70px; height: 210px; border-radius: 8px; border: 1px solid var(--line); background: #FFFFFF; position: relative; }
.tpl-blank::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 300 2rem/1 var(--display); color: #C7C7CC; }

/* ===== Studio en plein écran : tablette et ordinateur ===== */
@media (min-width: 768px) {
  #v-design > .wrap { max-width: none; padding-inline: 16px; }
  .studio-head { display: flex; align-items: center; gap: 20px; height: 60px; padding: 0; overflow: hidden; }
  .studio-head h2 { font-size: 1.6rem; flex: none; }
  .studio-head p { margin: 0; max-width: none; font-size: .84rem; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .studio { gap: 14px; padding-bottom: 14px; }
  .tool { padding: 14px; gap: 10px; }
  .studio .pick { gap: 6px; }
  .tools { gap: 10px; align-content: start; }
  .tools-r .tool.sel { order: -1; }
  .tools-r .adds button, .tools-r .file-btn.small { padding: 8px; }
  .tool-tpls .tpls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 5px; overflow: visible; padding: 2px; }
  .tool-tpls .tpls button { width: auto; }
  .tool-tpls .tpls button span { font-size: .64rem; }
  .tool-tpls .tpls button img, .tool-tpls .tpl-blank { width: 100%; height: auto; aspect-ratio: 1 / 3; }
  .stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; gap: 10px; min-height: 0; min-width: 0; }
  .stage-inner { height: auto; min-height: 0; padding: 14px; }
  .stage-hint { font-size: .8rem; margin: 0; }
  .stage-actions { gap: 10px; }
  .stage-actions .btn { padding: 10px 16px; font-size: .9rem; }
  /* Formulaire d'envoi et confirmation : par-dessus le design, sans pousser la page */
  .stage .d-send { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; z-index: 6; width: min(640px, calc(100% - 24px)); max-height: calc(100% - 84px); overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .stage .d-done { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; z-index: 6; width: min(560px, calc(100% - 24px)); box-shadow: 0 18px 44px rgba(0,0,0,.4); padding-right: 44px; }
  .d-done-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
  .d-done-x:hover { color: var(--ink); background: var(--bg); }
}
@media (min-width: 768px) {
  .studio .pick span { padding: 7px 11px; font-size: .82rem; }
  .stage-actions { flex-wrap: wrap; row-gap: 8px; }
  .stage-actions .btn { white-space: nowrap; }
}
@media (min-width: 768px) and (max-height: 820px) {
  .stage-hint { display: none; }
  .stage-actions .btn { padding: 8px 13px; font-size: .84rem; }
  .studio-head { height: 50px; }
  .studio-head h2 { font-size: 1.35rem; }
  .studio-head p { font-size: .78rem; }
}
@media (min-width: 1100px) and (max-height: 820px) {
  .studio { height: calc(100dvh - var(--navh, 62px) - 50px); }
}
/* Tablette (768 à 1099 px) : le design à gauche, les outils dans une colonne à droite */
@media (min-width: 768px) and (max-width: 1099px) {
  .studio { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .tools, .tools-r { grid-column: 2; position: static; max-height: none; overflow: visible; }
  .stage { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--navh, 62px) + 8px); height: calc(100dvh - var(--navh, 62px) - 74px); }
}
/* Ordinateur (1100 px et plus) : 3 colonnes à la hauteur de l'écran, chaque colonne défile seule */
@media (min-width: 1100px) {
  .studio { grid-template-columns: 290px minmax(0, 1fr) 300px; height: calc(100dvh - var(--navh, 62px) - 60px); align-items: stretch; }
  .tools { position: static; top: auto; height: 100%; max-height: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .stage { position: relative; height: 100%; }
}
@media (min-width: 1100px) and (max-width: 1300px) {
  .studio { grid-template-columns: 262px minmax(0, 1fr) 276px; }
  .tool-tpls .tpls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1700px) {
  .studio { grid-template-columns: 340px minmax(0, 1fr) 340px; }
  .tool-tpls .tpls { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Le photomaton : 5 cartes sans trou (2 en haut, 3 en bas) */
.specs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.specs li:nth-child(-n+2) { grid-column: span 3; }
.specs li:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 900px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs li:nth-child(n) { grid-column: auto; }
  .specs li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs li:last-child { grid-column: auto; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input[type="file"] { padding: 10px 12px; min-height: 0; cursor: pointer; }
.d-send { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 3vw, 24px); display: grid; gap: 14px; max-width: 640px; width: 100%; justify-self: center; }
.d-send h3 { font-size: 1.3rem; }
.d-send .hint { margin-top: -6px; }
.d-send textarea { width: 100%; min-height: 80px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.d-send .field input { background: var(--bg); }
.d-send-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.d-send-status { font-weight: 600; font-size: .95rem; }
.d-send-status.ok { color: var(--ok); }
.d-send-status.ko { color: var(--err); }
/* Fêtes à thème */
.ttabs { display: flex; gap: 8px; overflow-x: auto; margin: 36px -16px 0; padding: 4px 16px 10px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.ttab { flex: none; scroll-snap-align: start; display: grid; gap: 2px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.ttab b { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.ttab span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.ttab:hover { border-color: var(--ink); transform: translateY(-1px); }
.ttab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ttab[aria-selected="true"] span { color: var(--bg); opacity: .7; }
.ttab .soon { display: inline-block; margin-left: 6px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #FFFFFF; padding: 2px 6px; border-radius: 999px; vertical-align: 2px; }
.tpanel { margin-top: 18px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 44px); }
.tpanel.swap .tprev, .tpanel.swap .tbody { animation: tswap .45s cubic-bezier(.2,.7,.2,1); }
@keyframes tswap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tprev { container-type: inline-size; position: relative; width: 100%; max-width: 210px; aspect-ratio: 1 / 3; justify-self: center; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); transform: rotate(-3deg); }
.tprev .fr { position: absolute; left: 5%; width: 90%; background: #C9C9CF; display: grid; place-items: center; }
.tprev .fr::after { content: ""; width: 18%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.55); }
.tprev .tx { position: absolute; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; line-height: 1; }
.tprev .dc { position: absolute; line-height: 1; }
.tprev .lg { position: absolute; right: 4%; bottom: 1.5%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: #1C1C1C; }
.twhen { color: var(--accent-text); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.tname { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -0.04em; margin-top: 6px; }
.tdesc { color: var(--muted); font-size: 1.08rem; margin-top: 12px; max-width: 52ch; }
.tideas { display: grid; gap: 0; margin: 20px 0 0; max-width: 560px; }
.tideas div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.tideas dt { font-weight: 700; font-size: .9rem; }
.tideas dd { margin: 0; color: var(--muted); font-size: .95rem; }
.tactions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tphotos { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 12px; align-items: stretch; }
.tphotos figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; min-height: 220px; background: var(--bg-alt); }
.tphotos img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tphotos figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #FFFFFF; font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 10px; }
.tphotos .tp-label { grid-column: 1 / -1; font-weight: 700; font-size: .95rem; }
@media (max-width: 760px) {
  .tpanel { grid-template-columns: minmax(0, 1fr); }
  .tprev { max-width: 150px; }
  .tphotos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tphotos figure:first-of-type { grid-column: 1 / -1; }
  .tideas div { grid-template-columns: 96px minmax(0, 1fr); }
}

@media (min-width: 1000px) { .ttabs { flex-wrap: wrap; overflow: visible; } }
.zone > *, .zone-copy, .zcheck { min-width: 0; }
.zrow { min-width: 0; }
.zrow input { width: 0; flex: 1 1 auto; }
.zrow .btn { flex: none; }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
/* Pied de page */
.site-footer { background: var(--night); color: var(--on-night-muted); font-size: .95rem; line-height: 1.6; padding-block: clamp(48px, 7vw, 80px) 28px; border-top: 1px solid var(--night-line); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(229, 40, 30, .22), rgba(229, 40, 30, 0)); pointer-events: none; }
.site-footer .wrap { position: relative; }
.site-footer a { color: var(--on-night); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: #FF5A4F; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.ft-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.ft-brand p { max-width: 34ch; }
.ft-logo { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; }
.ft-logo img { width: 64px; height: 64px; border-radius: 50%; }
.site-footer .btn.small { color: #FFFFFF; }
.ft-col h4 { position: relative; margin: 0 0 16px; padding-top: 12px; color: var(--on-night); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ft-col h4::before { content: ""; position: absolute; top: 0; left: -1.15ch; width: 9px; height: 9px; border-top: 2px solid #FF5A4F; border-left: 2px solid #FF5A4F; }
.ft-col h4.ft-h-space { margin-top: 28px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-phone { font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.ft-muted { color: var(--on-night-muted); }
.ft-social { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid var(--night-line); border-radius: 999px; }
.ft-social:hover { border-color: #FF5A4F; }
.ft-sun { position: absolute; z-index: 0; left: 50%; bottom: -28px; width: clamp(340px, 62vw, 780px); transform: translateX(-50%); opacity: .13; pointer-events: none; }
.ft-top, .ft-bottom { position: relative; z-index: 1; }
.ft-sun svg { position: relative; display: block; width: 100%; height: auto; transform-origin: 50% 100%; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity 1.1s ease; }
.ft-sun.pre svg { transform: translateY(35%); opacity: 0; }
.ft-sun .ft-sun-ico { transition: opacity .6s ease .5s; }
.ft-sun.pre .ft-sun-ico { opacity: 0; }
.ft-top + .ft-sun + .ft-bottom { margin-top: clamp(48px, 7vw, 96px); }
@media (prefers-reduced-motion: reduce) { .ft-sun svg, .ft-sun .ft-sun-ico { transition: none; } .ft-sun.pre svg { transform: none; opacity: 1; } .ft-sun.pre .ft-sun-ico { opacity: 1; } }
.ft-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .82rem; }
.ft-up { font-weight: 600; }
@media (max-width: 900px) { .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-top { gap: 32px 20px; } .ft-top > .ft-col:last-child { grid-column: 1 / -1; } .ft-logo img { width: 52px; height: 52px; } .ft-bottom { flex-direction: column; } .site-footer { font-size: .92rem; } }

.ft-bottom { align-items: center; }
.ft-dev { display: inline-flex; align-items: center; gap: 14px; color: var(--on-night-muted) !important; }
.ft-dev:hover .ft-dev-badge { transform: translateY(-2px) rotate(-2deg); }
.ft-dev-badge { flex: none; background: #FFFFFF; border-radius: 12px; padding: 6px 8px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.ft-dev-badge img { display: block; height: 52px; width: auto; }
.ft-dev-txt { font-size: .8rem; line-height: 1.45; }
.ft-dev-txt b { color: var(--on-night); font-weight: 600; }
.tphotos.two { grid-template-columns: 1.4fr 1fr; }

/* Héros vidéo : la vidéo occupe la droite et se fond dans le noir vers le texte */
.hero { min-height: clamp(560px, 82vh, 860px); display: grid; align-items: center; }
.hero .wrap { grid-template-columns: minmax(0, 1fr); z-index: 2; }
.hero .wrap > div:first-child { max-width: 620px; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 940px); z-index: 0; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; background: #0B0B0C; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #0B0B0C 0%, rgba(11, 11, 12, .82) 16%, rgba(11, 11, 12, .35) 38%, rgba(11, 11, 12, 0) 62%),
    linear-gradient(0deg, #0B0B0C 0%, rgba(11, 11, 12, 0) 26%),
    linear-gradient(180deg, rgba(11, 11, 12, .6) 0%, rgba(11, 11, 12, 0) 20%); }
.hero-media .sticker { position: absolute; left: 6%; right: auto; bottom: 9%; z-index: 2; }
.hv-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(11, 11, 12, .55); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s ease; }
.hv-toggle:hover { background: rgba(11, 11, 12, .8); }
.hv-toggle svg { width: 18px; height: 18px; }
.hv-toggle .i-play, .hv-toggle.paused .i-pause { display: none; }
.hv-toggle.paused .i-play { display: block; }
.hv-toggle:focus-visible { outline: 2px solid #FF5A4F; outline-offset: 2px; }
@media (max-width: 820px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; width: auto; height: min(72vh, 640px); }
  .hero-media::after { background:
    linear-gradient(0deg, #0B0B0C 0%, #0B0B0C 14%, rgba(11, 11, 12, .82) 32%, rgba(11, 11, 12, 0) 62%),
    linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, 0) 22%); }
  .hero .wrap { margin-top: calc(min(72vh, 640px) * -0.24); padding-top: 0; }
  .hero-media .sticker { left: auto; right: 14px; bottom: 36%; width: 118px; }
  .hv-toggle { top: 14px; bottom: auto; right: 14px; width: 36px; height: 36px; }
}
.zone-sec { overflow-x: clip; }
/* Prenez la pose : photo en fondu comme la vidéo d'accueil */
.pose-sec { position: relative; overflow: hidden; --fade: var(--bg); }
.pose-sec.alt { --fade: var(--bg-alt); }
.pose-sec > .wrap { position: relative; z-index: 1; }
.pose-media { position: absolute; top: 0; right: 0; width: min(54%, 860px); height: clamp(520px, 52vw, 720px); z-index: 0; }
.pose-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 62%; }
.pose-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--fade) 0%, color-mix(in srgb, var(--fade) 80%, transparent) 18%, color-mix(in srgb, var(--fade) 30%, transparent) 42%, transparent 66%),
    linear-gradient(0deg, var(--fade) 0%, color-mix(in srgb, var(--fade) 70%, transparent) 16%, transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--fade) 55%, transparent) 0%, transparent 18%); }
.pose-intro { max-width: 560px; min-height: clamp(300px, 30vw, 440px); }
@media (max-width: 820px) {
  .pose-sec { padding-top: 0; }
  .pose-media { position: relative; width: auto; height: min(62vh, 520px); }
  .pose-media img { object-position: 55% 58%; }
  .pose-media::after { background:
    linear-gradient(0deg, var(--fade) 0%, var(--fade) 8%, color-mix(in srgb, var(--fade) 75%, transparent) 26%, transparent 56%),
    linear-gradient(180deg, color-mix(in srgb, var(--fade) 50%, transparent) 0%, transparent 20%); }
  .pose-sec > .wrap { margin-top: calc(min(62vh, 520px) * -0.2); }
  .pose-intro { min-height: 0; }
}
.pose-left { display: flex; align-items: center; min-height: clamp(520px, 46vw, 680px); }
.pose-left > .wrap { width: 100%; }
.pose-left .pose-media { left: 0; right: auto; height: auto; bottom: 0; width: min(56%, 900px); }
.pose-left .pose-media img { object-position: 50% 45%; }
.pose-left .pose-media::after { background:
    linear-gradient(270deg, var(--fade) 0%, color-mix(in srgb, var(--fade) 80%, transparent) 18%, color-mix(in srgb, var(--fade) 30%, transparent) 42%, transparent 66%),
    linear-gradient(0deg, var(--fade) 0%, transparent 22%),
    linear-gradient(180deg, var(--fade) 0%, transparent 22%); }
.pose-left .pose-intro { min-height: 0; margin-left: auto; max-width: 520px; }
@media (max-width: 820px) {
  .pose-left { display: block; min-height: 0; }
  .pose-left .pose-media { width: auto; height: min(62vh, 520px); }
  .pose-left .pose-media::after { background:
    linear-gradient(0deg, var(--fade) 0%, var(--fade) 8%, color-mix(in srgb, var(--fade) 75%, transparent) 26%, transparent 56%),
    linear-gradient(180deg, color-mix(in srgb, var(--fade) 50%, transparent) 0%, transparent 20%); }
  .pose-left .pose-intro { margin-left: 0; max-width: none; }
}


/* Barre d'administration WordPress (utilisateurs connectés) */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
/* Pages simples (mentions légales, politique de confidentialité…) */
.simple-page { padding-block: clamp(40px, 7vw, 88px); }
.simple-page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.04em; margin-bottom: 24px; }
.simple-page .entry { max-width: 70ch; line-height: 1.65; }
.simple-page .entry p, .simple-page .entry ul, .simple-page .entry ol { margin: 0 0 1em; }
.simple-page .entry h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.simple-page .entry a { color: var(--accent-text); }
/* Widget d'avis Trustindex */
.ti-wrap { margin-top: 32px; }
.ti-wrap img { display: inline-block; }
