/* =========================================================
   PDN – Skhirat-Témara · Campagne Khalil El Aloussi
   Design system : sable / encre / orange campagne · v2
   ========================================================= */

:root {
  --ink: #141210;
  --ink-2: #1e1a17;
  --ink-3: #2b2521;
  --paper: #f5f0e7;
  --paper-2: #ece4d6;
  --paper-3: #e2d8c6;
  --card: #fcfaf5;
  --orange: #e3671a;
  --orange-deep: #bf4f14;
  --orange-bright: #f58a3c;
  --orange-soft: #fbe6d3;
  --gold: #b48a3c;
  --text: #1b1815;
  --muted: #6a615a;
  --muted-2: #8d837b;
  --line: rgba(20, 18, 16, .12);
  --line-strong: rgba(20, 18, 16, .24);
  --on-ink: #f5f0e7;
  --on-ink-muted: rgba(245, 240, 231, .66);
  --line-ink: rgba(245, 240, 231, .12);
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 36px;
  --shadow: 0 1px 2px rgba(20, 18, 16, .05), 0 16px 40px -16px rgba(20, 18, 16, .24);
  --shadow-lg: 0 34px 80px -26px rgba(20, 18, 16, .42);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 78px;
  --scallop-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='16' viewBox='0 0 44 16'%3E%3Cpath fill='%23f5f0e7' d='M0 0h44v4Q22 20 0 4z'/%3E%3C/svg%3E");
  --scallop-paper2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='16' viewBox='0 0 44 16'%3E%3Cpath fill='%23ece4d6' d='M0 0h44v4Q22 20 0 4z'/%3E%3C/svg%3E");
  --scallop-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='16' viewBox='0 0 44 16'%3E%3Cpath fill='%23141210' d='M0 0h44v4Q22 20 0 4z'/%3E%3C/svg%3E");
}

/* --- Typographie par langue --- */
.ar {
  --font-display: 'Noto Kufi Arabic', 'Readex Pro', system-ui, sans-serif;
  --font-body: 'Readex Pro', 'Noto Kufi Arabic', system-ui, sans-serif;
  --lh-body: 1.85;
  --lh-display: 1.42;
  --track: 0;
  --w-display: 800;
  --h1: clamp(2.3rem, 1.1rem + 4.6vw, 4.9rem);
  --h2: clamp(1.8rem, 1rem + 2.9vw, 3.15rem);
}
.fr {
  --font-display: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --lh-body: 1.65;
  --lh-display: 1.02;
  --track: -.03em;
  --w-display: 800;
  --h1: clamp(2.9rem, 1.4rem + 5.9vw, 6.3rem);
  --h2: clamp(2.1rem, 1.1rem + 3.4vw, 3.7rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: var(--lh-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: var(--w-display); letter-spacing: var(--track); line-height: var(--lh-display); text-wrap: balance; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * clamp(20px, 5vw, 48px)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 140px); position: relative; overflow-x: clip; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--paper2 { background: var(--paper-2); }

/* Liseré festonné « bord de parapluie » entre les sections */
.scallop-top::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 16px; background: var(--scallop-paper) repeat-x top center; pointer-events: none; z-index: 2; }
.scallop-top--paper2::before { background-image: var(--scallop-paper2); }
.scallop-top--ink::before { background-image: var(--scallop-ink); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--orange-soft); border: 1px solid rgba(227,103,26,.25);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--orange-deep); margin-bottom: 22px; line-height: 1.4;
}
.fr .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(227,103,26,.2); }
.section--ink .eyebrow { background: rgba(245,138,60,.1); border-color: rgba(245,138,60,.3); color: var(--orange-bright); }
.h2 { font-size: var(--h2); }
.lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem); color: var(--muted); margin-top: 20px; max-width: 60ch; text-wrap: pretty; }
.section-head--center .lead { margin-inline: auto; }
.section--ink .lead { color: var(--on-ink-muted); }
.accent { color: var(--orange); }
.section--ink .accent { color: var(--orange-bright); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding-inline: 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap; isolation: isolate;
  transition: transform .4s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--primary { background: var(--ink); color: var(--on-ink); box-shadow: 0 12px 28px -12px rgba(20,18,16,.55); }
.btn--primary:hover { background: var(--ink-3); box-shadow: 0 18px 34px -14px rgba(20,18,16,.6); }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 12px 28px -12px rgba(227,103,26,.7); }
.btn--orange:hover { background: var(--orange-bright); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(252,250,245,.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); background: var(--card); }
.section--ink .btn--ghost { border-color: rgba(245,240,231,.28); color: var(--on-ink); background: rgba(245,240,231,.04); }
.section--ink .btn--ghost:hover { border-color: var(--on-ink); background: rgba(245,240,231,.08); }
.btn--sm { height: 46px; padding-inline: 18px; font-size: .9rem; }
.btn .btn-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; margin-inline-end: -12px; transition: transform .4s var(--ease-out), background .3s; }
.btn .btn-arrow svg { width: 15px; height: 15px; }
[dir="rtl"] .btn .btn-arrow svg { transform: scaleX(-1); }
.btn:hover .btn-arrow { transform: translateX(var(--ax, 4px)); background: var(--orange-bright); }
[dir="rtl"] .btn:hover .btn-arrow { --ax: -4px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--on-ink); font-size: .84rem; border-bottom: 1px solid var(--line-ink); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-bright); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,138,60,.6);} 70% { box-shadow: 0 0 0 8px rgba(245,138,60,0);} 100% { box-shadow: 0 0 0 0 rgba(245,138,60,0);} }
.topbar b { color: var(--orange-bright); font-weight: 700; font-family: var(--font-display); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-sep { opacity: .35; display: none; }
.topbar-hide-sm { display: none; }
@media (min-width: 720px) { .topbar-hide-sm, .topbar-sep { display: inline; } }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  border: 1px solid rgba(245,240,231,.25); font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  transition: background .3s, border-color .3s, color .3s;
}
.lang-switch:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.lang-switch span:first-child { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: .66rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(245,240,231,.78); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 34px -24px rgba(20,18,16,.4); background: rgba(245,240,231,.9); }
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--on-ink); flex: none; transition: transform .5s var(--ease-out), background .3s, color .3s; }
.brand-mark svg { width: 27px; height: 27px; display: block; }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.04); background: var(--orange); color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: .96rem; letter-spacing: var(--track); }
.brand-text span { font-size: .72rem; color: var(--muted); font-weight: 500; }
.nav-links { display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(20,18,16,.04); border: 1px solid var(--line); }
.nav-links a { position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); background: var(--card); box-shadow: 0 2px 8px -2px rgba(20,18,16,.18); }
.nav-cta { display: none; }
.nav-burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .ic-close, body.nav-open .nav-burger .ic-menu { display: none; }
body.nav-open .nav-burger .ic-close { display: block; }
@media (min-width: 1080px) { .nav-links, .nav-cta { display: inline-flex; } .nav-burger { display: none; } }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--paper);
  padding: 24px clamp(20px, 5vw, 48px) 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); overflow: auto;
}
body.nav-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
body.nav-open { overflow: hidden; }
.mobile-menu a.mm-link { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a.mm-link span { font-family: var(--font-body); font-size: .78rem; color: var(--orange); font-weight: 700; }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; width: 62vw; height: 62vw; max-width: 940px; max-height: 940px; border-radius: 50%; filter: blur(90px); opacity: .55; background: radial-gradient(circle, rgba(227,103,26,.38), transparent 62%); inset-inline-end: -20vw; top: -24vw; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; opacity: .32; mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 68%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 68%); }
.hero-ghost { position: absolute; inset-inline-start: -6%; bottom: -14%; width: min(56vw, 640px); color: var(--ink); opacity: .035; transform: rotate(-12deg); }
.hero-ghost svg { width: 100%; height: auto; }
.hero .hero-main { position: relative; display: grid; gap: 52px; align-items: center; }
@media (min-width: 960px) { .hero .hero-main { grid-template-columns: 1.08fr .92fr; gap: 64px; } }

.hero-kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); margin-bottom: 30px;
}
.hero-kicker .tag { background: var(--ink); color: var(--on-ink); padding: 6px 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .74rem; }
.hero-kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.h1 { font-size: var(--h1); font-weight: 900; }
.fr .h1 { font-weight: 800; }
.h1 .line { display: block; clip-path: inset(-.25em -.15em -.4em -.15em); }
.h1 .line > span { display: inline-block; transform: translateY(115%); animation: lineUp 1.1s var(--ease-out) forwards; }
.h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.h1 .umb { display: inline-block; width: .82em; height: .82em; vertical-align: -.08em; margin-inline: .08em; color: var(--ink); animation: bob 4.5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0);} 50% { transform: translateY(-6%) rotate(-5deg);} }
.h1 .hl { position: relative; display: inline-block; color: var(--orange-deep); }
.h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: .06em; height: .14em; background: var(--orange); opacity: .3; border-radius: 4px; z-index: -1; transform: scaleX(0); transform-origin: var(--to, left); animation: grow .9s var(--ease-out) .7s forwards; }
[dir="rtl"] .h1 .hl::after { --to: right; }
@keyframes grow { to { transform: scaleX(1); } }
.hero-lead { margin-top: 28px; font-size: clamp(1.05rem, .95rem + .5vw, 1.28rem); color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--orange-soft); border: 1px dashed rgba(191,79,20,.4); max-width: 540px; font-weight: 600; font-size: .95rem; color: var(--orange-deep); }
.hero-note .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; flex: none; }
.hero-note .ic svg { width: 22px; height: 22px; }

.hero-art { position: relative; margin-inline: auto; width: min(100%, 520px); aspect-ratio: 4 / 4.6; }
.hero-photo-back { position: absolute; top: 18px; bottom: -18px; inset-inline-start: 18px; inset-inline-end: -18px; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--orange); opacity: .95; }
.hero-photo-back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(20,18,16,.08) 0 2px, transparent 2px 10px); }
.hero-photo {
  position: absolute; inset: 0; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #efe3cf 0%, #e6d7bf 100%); box-shadow: var(--shadow-lg); isolation: isolate;
}
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 52%, rgba(20,18,16,.6) 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.02); filter: saturate(.95) contrast(1.03); }
.hero-photo .ring { position: absolute; inset: 14px; border: 1px solid rgba(245,240,231,.55); border-radius: inherit; z-index: 3; pointer-events: none; }
.hero-card {
  position: absolute; z-index: 4; inset-inline: 22px; bottom: 22px; padding: 18px 20px; border-radius: 20px;
  background: rgba(245,240,231,.94); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.65); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.hero-card .who { display: flex; flex-direction: column; gap: 2px; }
.hero-card .who strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; letter-spacing: var(--track); }
.hero-card .who span { font-size: .82rem; color: var(--muted); font-weight: 500; }
.hero-card .no { margin-inline-start: auto; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: var(--ink); display: grid; place-items: center; flex: none; }
.hero-card .no svg { width: 26px; height: 26px; }
.hero-badge {
  position: absolute; z-index: 5; top: 8%; inset-inline-start: -14px;
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  animation: floaty 6s ease-in-out infinite;
}
.hero-badge .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.hero-badge .ic svg { width: 20px; height: 20px; }
.hero-date {
  position: absolute; z-index: 5; top: 30%; inset-inline-end: -22px; width: 112px; padding: 14px 10px 12px; border-radius: 20px; text-align: center;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite reverse;
}
.hero-date b { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--orange-deep); letter-spacing: -.02em; }
.hero-date span { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
@media (max-width: 560px) { .hero-badge { inset-inline-start: 6px; } .hero-date { inset-inline-end: 4px; } .hero-photo-back { inset-inline-end: -8px; inset-inline-start: 8px; } }

.hero-stats { position: relative; display: grid; gap: 14px; margin-top: clamp(56px, 7vw, 88px); }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(3, 1fr); } }
.stat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.stat::after { content: ""; position: absolute; inset-inline-start: 24px; bottom: 0; width: 44px; height: 3px; background: var(--orange); border-radius: 3px 3px 0 0; transition: width .5s var(--ease-out); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(227,103,26,.35); }
.stat:hover::after { width: calc(100% - 48px); }
.stat .ic { position: absolute; top: 20px; inset-inline-end: 20px; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; }
.stat .ic svg { width: 21px; height: 21px; }
.stat b { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: var(--track); padding-inline-end: 56px; }
.stat span { font-size: .92rem; color: var(--muted); font-weight: 500; line-height: 1.5; }

.scroll-cue { position: absolute; bottom: 22px; inset-inline-start: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .scroll-cue { transform: translateX(50%); letter-spacing: 0; }
.scroll-cue i { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 960px) { .scroll-cue { display: flex; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--orange); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(20,18,16,.15); }
.marquee::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 16px; background: var(--scallop-paper) repeat-x top center; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; padding-top: 10px; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 24px 16px 0; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; white-space: nowrap; letter-spacing: var(--track); }
.marquee-track > span svg { width: 20px; height: 20px; opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Candidate ---------- */
.cand { display: grid; gap: 52px; align-items: center; }
@media (min-width: 960px) { .cand { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.cand-visual { position: relative; }
.cand-visual::before { content: ""; position: absolute; inset: 6% -6% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-strong); z-index: 0; }
.cand-photo { position: relative; z-index: 1; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: linear-gradient(180deg, #f2e8d7, #e2d3b8); box-shadow: var(--shadow-lg); }
.cand-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 0; filter: saturate(.95); }
.cand-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(20,18,16,.4)); }
.cand-quote { position: relative; margin-top: -52px; margin-inline: 16px; padding: 26px 26px 22px; border-radius: 22px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); z-index: 2; }
.cand-quote .q { position: absolute; top: -20px; inset-inline-start: 22px; width: 44px; height: 44px; border-radius: 14px; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 700; line-height: 1; padding-top: .3em; }
.cand-quote p { font-size: 1rem; line-height: 1.75; color: rgba(245,240,231,.92); }
.cand-quote footer { margin-top: 12px; font-size: .78rem; color: var(--on-ink-muted); font-weight: 600; }
.cand-body p + p { margin-top: 16px; }
.cand-body p { color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }
.cand-body p strong { color: var(--text); font-weight: 600; }
.cand-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.tag-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.goals { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 560px) { .goals { grid-template-columns: 1fr 1fr; } }
.goal { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s; }
.goal:hover { transform: translateY(-3px); border-color: rgba(227,103,26,.5); box-shadow: var(--shadow); }
.goal .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; }
.goal:hover .ic { background: var(--orange); color: var(--ink); }
.goal .ic svg { width: 21px; height: 21px; }
.goal strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: .98rem; margin-bottom: 3px; letter-spacing: var(--track); }
.goal span { font-size: .86rem; color: var(--muted); }

/* ---------- Program ---------- */
.program-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .program-grid { grid-template-columns: repeat(3, 1fr); } }
.axis {
  position: relative; padding: 30px 28px 28px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-ink);
  transition: transform .45s var(--ease-out), border-color .3s, background .3s; overflow: hidden;
}
.axis::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(227,103,26,.2), transparent 60%); opacity: 0; transition: opacity .4s; }
.axis::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); transform: scaleX(0); transform-origin: var(--to, left); transition: transform .5s var(--ease-out); }
[dir="rtl"] .axis::after { --to: right; }
.axis:hover { transform: translateY(-6px); border-color: rgba(245,138,60,.45); }
.axis:hover::before { opacity: 1; }
.axis:hover::after { transform: scaleX(1); }
.axis-ghost { position: absolute; top: -18px; inset-inline-end: 14px; font-family: var(--font-display); font-weight: 900; font-size: 6.5rem; line-height: 1; color: rgba(245,240,231,.045); letter-spacing: -.04em; pointer-events: none; transition: color .4s, transform .5s var(--ease-out); }
.axis:hover .axis-ghost { color: rgba(245,138,60,.14); transform: translateY(-4px); }
.axis-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; }
.axis-num { font-family: var(--font-display); font-weight: 800; font-size: .84rem; color: var(--orange-bright); letter-spacing: .1em; }
.axis-ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(245,240,231,.06); border: 1px solid var(--line-ink); color: var(--orange-bright); display: grid; place-items: center; transition: background .3s, transform .45s var(--ease-out), color .3s; }
.axis-ic svg { width: 24px; height: 24px; }
.axis:hover .axis-ic { background: var(--orange); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.axis h3 { font-size: 1.3rem; margin-bottom: 14px; position: relative; }
.axis ul { display: grid; gap: 10px; position: relative; }
.axis li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-ink-muted); font-size: .95rem; line-height: 1.65; }
.axis li svg { width: 18px; height: 18px; flex: none; margin-top: .3em; color: var(--orange-bright); }
.program-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--r); background: rgba(245,240,231,.05); border: 1px solid var(--line-ink); }
.program-foot p { color: var(--on-ink-muted); font-weight: 500; }
.program-foot p b { color: var(--on-ink); font-family: var(--font-display); }

/* ---------- Why umbrella ---------- */
.why { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1fr; gap: 72px; } }
.umbrella-stage { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.umbrella-stage .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(227,103,26,.26), transparent 65%); }
.umbrella-stage .ring1 { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-strong); animation: spin 70s linear infinite; }
.umbrella-stage .ring2 { position: absolute; inset: 12%; border-radius: 50%; border: 1px solid var(--line); }
@keyframes spin { to { transform: rotate(360deg);} }
.umbrella-stage .umb { position: absolute; inset: 14% 18% 22%; color: var(--ink); filter: drop-shadow(0 34px 44px rgba(20,18,16,.28)); }
.umbrella-stage .umb svg { width: 100%; height: 100%; }
.rain { position: absolute; inset: 0 22% 0; overflow: hidden; pointer-events: none; }
.rain span { position: absolute; top: -12%; width: 2px; height: 26px; border-radius: 2px; background: linear-gradient(180deg, transparent, var(--orange)); opacity: 0; animation: drop var(--d, 2.2s) linear var(--delay, 0s) infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0;} 10% { opacity: .9;} 85% { opacity: .9;} 100% { transform: translateY(var(--fall, 34vh)); opacity: 0;} }
.umbrella-stage .dry { position: absolute; bottom: 0; inset-inline: 22%; padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.umbrella-stage .dry small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .76rem; }
.promises { display: grid; gap: 14px; margin-top: 8px; }
.promise { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.promise:hover { transform: translateX(var(--shift, 6px)); box-shadow: var(--shadow); border-color: rgba(227,103,26,.4); }
[dir="rtl"] .promise { --shift: -6px; }
.promise .n { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--orange-deep); width: 42px; height: 42px; border-radius: 13px; background: var(--orange-soft); display: grid; place-items: center; flex: none; }
.promise h3 { font-size: 1.12rem; margin-bottom: 6px; }
.promise p { color: var(--muted); font-size: .95rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 20px; }
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(227,103,26,.4); }
.member-photo { aspect-ratio: 1 / 1.05; overflow: hidden; background: linear-gradient(180deg, #ebe3d4, #ded2bc); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .9s var(--ease-out); filter: saturate(.95); }
.member:hover .member-photo img { transform: scale(1.06); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(20,18,16,.25)); }
.member-photo .pos { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .98rem; }
.member.is-lead .member-photo .pos { background: var(--orange); color: var(--ink); }
.member-body { padding: 18px 20px 22px; position: relative; }
.member-body::before { content: ""; position: absolute; top: 0; inset-inline-start: 20px; width: 36px; height: 3px; background: var(--orange); border-radius: 0 0 3px 3px; transition: width .5s var(--ease-out); }
.member:hover .member-body::before { width: calc(100% - 40px); }
.member-body .role-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--orange-deep); background: var(--orange-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; margin-top: 4px; }
.member-body h3 { font-size: 1.15rem; margin-bottom: 4px; margin-top: 6px; }
.member-body p { color: var(--muted); font-size: .9rem; }
.team-note { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--muted); font-size: .95rem; }
.team-note b { color: var(--text); font-family: var(--font-display); font-weight: 700; }
.team-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; margin-inline-end: 8px; vertical-align: middle; }

/* ---------- Party ---------- */
.party { display: grid; gap: 44px; align-items: start; }
@media (min-width: 960px) { .party { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.party-body p { color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }
.party-body p + p { margin-top: 16px; }
.party-body p strong { color: var(--text); font-weight: 600; }
.facts { display: grid; gap: 12px; margin-top: 30px; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 20px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease-out), border-color .3s; }
.fact:hover { transform: translateY(-3px); border-color: rgba(227,103,26,.4); }
.fact b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--orange-deep); line-height: 1.1; letter-spacing: var(--track); }
.fact b svg { width: 1.2em; height: 1.2em; vertical-align: -.2em; color: var(--ink); }
.fact span { display: block; font-size: .84rem; color: var(--muted); margin-top: 8px; font-weight: 500; }
.party-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 2px; transition: color .3s; }
.party-link:hover { color: var(--orange-deep); }
.party-link svg { width: 16px; height: 16px; }
.party-visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.party-visuals figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); transition: transform .45s var(--ease-out); }
.party-visuals figure:hover { transform: translateY(-5px) rotate(-1.2deg); }
.party-visuals figure:nth-child(2) { margin-top: 40px; }
.party-visuals figure:nth-child(2):hover { transform: translateY(-5px) rotate(1.2deg); }
.party-visuals img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.party-visuals figcaption { padding: 12px 14px; font-size: .82rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Campaign materials ---------- */
.posters { columns: 1; column-gap: 20px; }
@media (min-width: 620px) { .posters { columns: 2; } }
@media (min-width: 1024px) { .posters { columns: 3; } }
.poster { break-inside: avoid; margin-bottom: 20px; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease-out), box-shadow .45s; }
.poster:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.poster button.zoom { display: block; width: 100%; position: relative; cursor: zoom-in; }
.poster button.zoom::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(20,18,16,.25)); opacity: 0; transition: opacity .3s; }
.poster:hover button.zoom::after { opacity: 1; }
.poster-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.poster-foot span { font-size: .84rem; font-weight: 600; color: var(--muted); }
.poster-foot .acts { display: flex; gap: 6px; }
.poster-foot .acts a, .poster-foot .acts button { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.poster-foot .acts a:hover, .poster-foot .acts button:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.poster-foot .acts svg { width: 17px; height: 17px; }
.hashtags { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--r); background: var(--ink); color: var(--on-ink); }
.hashtags .tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.hashtags .tags span { padding: 7px 12px; border-radius: 999px; background: rgba(245,240,231,.08); border: 1px solid var(--line-ink); font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--orange-bright); }
.hashtags .btn--ghost { border-color: rgba(245,240,231,.3); color: var(--on-ink); background: transparent; }
.hashtags .btn--ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

/* ---------- Vote ---------- */
.vote { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .vote { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.steps { display: grid; gap: 16px; }
.step { position: relative; display: flex; gap: 18px; padding: 24px; border-radius: var(--r); background: rgba(245,240,231,.05); border: 1px solid var(--line-ink); transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.step:hover { border-color: rgba(245,138,60,.5); background: rgba(245,240,231,.07); transform: translateX(var(--shift, 4px)); }
[dir="rtl"] .step { --shift: -4px; }
.step .n { flex: none; width: 50px; height: 50px; border-radius: 15px; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--on-ink-muted); font-size: .96rem; }
.step p a { color: var(--orange-bright); font-weight: 600; border-bottom: 1px solid rgba(245,138,60,.4); }
.step .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.step .meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(245,240,231,.08); border: 1px solid var(--line-ink); }
.step .meta svg { width: 14px; height: 14px; color: var(--orange-bright); }

.ballot-wrap { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.ballot-wrap .shadow { position: absolute; inset: 10% -6% -6%; background: radial-gradient(closest-side, rgba(227,103,26,.4), transparent); filter: blur(30px); }
.ballot { position: relative; background: var(--paper); color: var(--text); border-radius: 20px; padding: 22px 22px 24px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .6s var(--ease-out); }
[dir="rtl"] .ballot { transform: rotate(2deg); }
.ballot-wrap:hover .ballot { transform: rotate(0); }
.ballot-head { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; font-weight: 700; color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 14px; }
.ballot-head b { color: var(--text); font-family: var(--font-display); }
.ballot-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); margin-bottom: 8px; }
.ballot-row.is-dim { opacity: .35; filter: grayscale(1); }
.ballot-row .sym { width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; flex: none; }
.ballot-row .sym svg { width: 26px; height: 26px; }
.ballot-row .sym .blank { width: 18px; height: 18px; border-radius: 4px; background: var(--paper-3); }
.ballot-row .name { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ballot-row .name b { font-family: var(--font-display); font-size: .92rem; }
.ballot-row .name span { font-size: .72rem; color: var(--muted); }
.ballot-row .name .ph { height: 10px; border-radius: 5px; background: var(--paper-3); width: 60%; }
.ballot-row .name .ph + .ph { width: 40%; margin-top: 6px; }
.ballot-row .box { width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.ballot-row.is-checked { border-color: var(--orange); background: var(--orange-soft); animation: checkpulse 3s ease-in-out infinite; }
.ballot-row.is-checked .sym { background: var(--ink); color: var(--on-ink); }
.ballot-row.is-checked .box { border-color: var(--orange-deep); background: var(--orange); color: var(--ink); }
.ballot-row.is-checked .box svg { width: 20px; height: 20px; stroke-width: 3.2; }
@keyframes checkpulse { 0%,100% { box-shadow: 0 0 0 4px rgba(227,103,26,.18);} 50% { box-shadow: 0 0 0 10px rgba(227,103,26,.06);} }
.ballot-foot { margin-top: 14px; font-size: .78rem; color: var(--muted); font-weight: 600; text-align: center; }
.ballot-sticker { position: absolute; top: -18px; inset-inline-end: -10px; background: var(--orange); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: .78rem; padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(6deg); }

/* ---------- Join ---------- */
.join { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .join { grid-template-columns: 1fr 1fr; gap: 60px; } }
.appeal { padding: 30px; border-radius: var(--r); background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.appeal::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(227,103,26,.5), transparent 65%); inset-inline-end: -90px; bottom: -110px; }
.appeal .umb { width: 46px; height: 46px; color: var(--orange-bright); margin-bottom: 14px; }
.appeal h3 { font-size: 1.45rem; margin-bottom: 12px; position: relative; }
.appeal p { color: rgba(245,240,231,.84); position: relative; text-wrap: pretty; }
.appeal p + p { margin-top: 12px; }
.appeal .cta-line { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--orange-bright); position: relative; }
.contact-list { display: grid; gap: 10px; margin-top: 18px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 600; transition: border-color .3s, transform .4s var(--ease-out); }
.contact-list a:hover { border-color: var(--ink); transform: translateX(var(--shift, 4px)); }
[dir="rtl"] .contact-list a { --shift: -4px; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.form { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .94rem; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .84rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 13px; padding: 12px 14px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--card); box-shadow: 0 0 0 4px rgba(227,103,26,.15); }
.field-row { display: grid; gap: 14px; }
.field-row > * { min-width: 0; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { margin-top: 12px; font-size: .78rem; color: var(--muted-2); text-align: center; }
.form-success { display: none; padding: 16px; border-radius: 13px; background: var(--orange-soft); color: var(--orange-deep); font-weight: 600; margin-top: 14px; }
.form.is-sent .form-success { display: block; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding-block: 72px 130px; }
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 16px; background: var(--scallop-paper) repeat-x top center; }
@media (min-width: 1080px) { .footer { padding-bottom: 56px; } }
.footer-ghost { position: absolute; inset-inline-end: -4%; bottom: -12%; width: min(40vw, 420px); color: var(--on-ink); opacity: .04; transform: rotate(10deg); pointer-events: none; }
.footer-ghost svg { width: 100%; height: auto; }
.footer-big { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, .6rem + 3.6vw, 4.2rem); line-height: 1.2; color: var(--on-ink); opacity: .08; margin-bottom: 40px; letter-spacing: var(--track); white-space: nowrap; overflow: hidden; }
.footer-grid { position: relative; display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer .brand-mark { background: var(--on-ink); color: var(--ink); }
.footer .brand-text span { color: var(--on-ink-muted); }
.footer-tag { margin-top: 18px; color: var(--on-ink-muted); max-width: 44ch; font-size: .95rem; }
.footer h4 { font-size: .78rem; color: var(--orange-bright); margin-bottom: 14px; font-weight: 700; }
.fr .footer h4 { text-transform: uppercase; letter-spacing: .14em; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--on-ink-muted); font-size: .95rem; transition: color .25s; }
.footer ul a:hover { color: var(--on-ink); }
.communes { display: flex; flex-wrap: wrap; gap: 6px; }
.communes span { font-size: .78rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-ink); color: var(--on-ink-muted); }
.footer-bottom { position: relative; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .8rem; color: var(--on-ink-muted); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-ink); display: grid; place-items: center; color: var(--on-ink); transition: background .25s, color .25s, transform .3s var(--ease-out); }
.socials a:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  position: fixed; z-index: 90; inset-inline: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg);
  transform: translateY(120%); transition: transform .5s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .txt { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.mobile-cta .txt b { font-family: var(--font-display); font-size: .9rem; }
.mobile-cta .txt span { font-size: .72rem; color: var(--on-ink-muted); }
.mobile-cta .btn { height: 44px; padding-inline: 18px; font-size: .88rem; }
@media (min-width: 1080px) { .mobile-cta { display: none; } }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(20,18,16,.86); backdrop-filter: blur(6px); }
dialog.lightbox img { max-height: 88vh; width: auto; margin-inline: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
dialog.lightbox .close { position: fixed; top: 18px; inset-inline-end: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
dialog.lightbox .close svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .h1 .line > span { transform: none; }
  .h1 .hl::after { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Toast / skip ---------- */
.toast { position: fixed; bottom: 84px; inset-inline-start: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--on-ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; opacity: 0; transition: opacity .3s, transform .4s var(--ease); z-index: 200; pointer-events: none; box-shadow: var(--shadow-lg); }
[dir="rtl"] .toast { transform: translate(50%, 20px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .toast.show { transform: translate(50%, 0); }
@media (min-width: 1080px) { .toast { bottom: 28px; } }
.skip { position: absolute; top: -200px; inset-inline-start: 8px; z-index: 1000; background: var(--ink); color: var(--on-ink); padding: 8px 12px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
