/* =====================================================================
 * MACO 644 MYND - Landing page
 * Charte : aubergine (logo) / or du fond de logo / ivoire
 * ===================================================================== */
:root {
  --night: #1E0F23;
  --plum-d: #2A1430;
  --plum: #48264F;
  --plum-m: #6E4A75;
  --plum-l: #EFE7F0;
  --gold: #BFA771;
  --gold-d: #9C8550;
  --gold-l: #E3D3A6;
  --sand: #F3ECDD;
  --ivory: #FFFDF8;
  --ink: #23152A;
  --ink-2: #5B4C60;
  --line: #E6DCC8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--sans); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-l); }
.btn-line { border-color: rgba(227, 211, 166, .45); color: var(--gold-l); }
.btn-line:hover { border-color: var(--gold); background: rgba(191, 167, 113, .1); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-d); }
.btn-wide { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav.solid { background: rgba(30, 15, 35, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(191, 167, 113, .18); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-size: 17px; }
.brand img { border-radius: 10px; }
.brand b { color: var(--gold-l); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--gold-l); }
.btn-nav { padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--night) !important; display: inline-flex; gap: 8px; align-items: center; }
.btn-nav:hover { background: var(--gold-l); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.burger span { height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 75% 40%, #4E2A56 0%, var(--plum-d) 45%, var(--night) 100%); color: #fff; padding: 140px 0 90px; overflow: hidden; }
.hero-grain { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-kicker { color: var(--gold-l); font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); font-weight: 500; color: #fff; max-width: 13ch; margin-bottom: 24px; }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 52ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-facts { display: flex; gap: 40px; margin: 0; padding-top: 28px; border-top: 1px solid rgba(191, 167, 113, .25); flex-wrap: wrap; }
.hero-facts div { min-width: 110px; }
.hero-facts dt { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.hero-facts dd { margin: 0; color: rgba(255, 255, 255, .65); font-size: 14px; }

/* Orbite des 13 pôles - l'élément signature */
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 0 60px auto; }
.orbit-ring { position: absolute; border-radius: 50%; inset: 6%; border: 1px solid rgba(191, 167, 113, .35); }
.orbit-ring.r2 { inset: 22%; border-style: dashed; border-color: rgba(191, 167, 113, .18); }
.orbit-core { position: absolute; inset: 27%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(191, 167, 113, .16), rgba(191, 167, 113, 0) 70%); }
.orbit-core img { width: 88%; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); opacity: 0; transform: scale(.85); animation: coreIn 1.1s cubic-bezier(.2, .8, .2, 1) .1s forwards; }
.orbit-nodes { position: absolute; inset: 0; animation: turn 140s linear infinite; }
.orbit:hover .orbit-nodes, .orbit:focus-within .orbit-nodes { animation-play-state: paused; }
.node { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; border: 1px solid rgba(191, 167, 113, .5); background: var(--plum-d); color: var(--gold-l); display: grid; place-items: center; font-size: 18px; cursor: pointer; text-decoration: none; transform: rotate(var(--a)) translate(calc(var(--size, 270px) * .88)) rotate(calc(var(--a) * -1)); opacity: 0; animation: nodeIn .5s ease-out forwards; transition: background .2s, color .2s, box-shadow .2s; }
.node i { animation: turn 140s linear infinite reverse; }
.node:hover, .node:focus-visible, .node.on { background: var(--gold); color: var(--night); box-shadow: 0 0 0 6px rgba(191, 167, 113, .2); }
.orbit-caption { position: absolute; left: 50%; bottom: -58px; transform: translateX(-50%); text-align: center; min-width: 240px; }
.orbit-caption b { display: block; font-family: var(--serif); font-size: 20px; color: var(--gold-l); font-weight: 600; }
.orbit-caption span { font-size: 14px; color: rgba(255, 255, 255, .6); }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes coreIn { to { opacity: 1; transform: none; } }
@keyframes nodeIn { to { opacity: 1; } }

/* ---------- Bandeau ---------- */
.ribbon { background: var(--gold); color: var(--night); overflow: hidden; padding: 14px 0; }
.ribbon-track { display: flex; gap: 42px; width: max-content; animation: slide 60s linear infinite; font-family: var(--serif); font-size: 19px; font-weight: 500; white-space: nowrap; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 12px; }
.ribbon-track i { font-size: 14px; color: var(--plum); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Services : accordéon éditorial ---------- */
.services { padding: 110px 0; }
.services-in { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.services-intro { position: sticky; top: 110px; }
.services-intro p { color: var(--ink-2); font-size: 17px; }
.audiences { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.audiences span { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--sand); color: var(--plum); font-weight: 600; font-size: 14px; }
.poles { border-top: 1px solid var(--line); }
.pole { border-bottom: 1px solid var(--line); }
.pole-head { width: 100%; display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; background: none; border: 0; padding: 20px 4px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pole-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--plum-l); color: var(--plum); font-size: 20px; transition: background .25s, color .25s; }
.pole-name { font-family: var(--serif); font-size: 22px; font-weight: 600; display: block; line-height: 1.2; }
.pole-sub { color: var(--ink-2); font-size: 15px; }
.pole-plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--plum); transition: transform .3s, background .25s; }
.pole-head:hover .pole-ico { background: var(--plum); color: var(--gold-l); }
.pole.open .pole-ico { background: var(--plum); color: var(--gold-l); }
.pole.open .pole-plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.pole-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.pole.open .pole-body { grid-template-rows: 1fr; }
.pole-body > div { overflow: hidden; }
.pole-list { list-style: none; margin: 0; padding: 0 4px 22px 76px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.pole-list li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink); }
.pole-list li i { color: var(--gold-d); font-size: 12px; }
.pole-go { margin: 0 0 24px 76px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--plum); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* ---------- Parcours ---------- */
.parcours { background: var(--sand); padding: 100px 0; }
.sec-title { max-width: 20ch; margin-bottom: 52px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 28px 0 0; }
.steps li::before { content: ''; position: absolute; top: 21px; left: 52px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.steps li:last-child::before { display: none; }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: var(--gold-l); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 26px; position: relative; }
.steps li > i { font-size: 22px; color: var(--gold-d); margin-bottom: 12px; display: block; }
.steps p { color: var(--ink-2); font-size: 15px; max-width: 28ch; }

/* ---------- Direction ---------- */
.direction { padding: 110px 0; background: var(--ivory); }
.dir-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.dir-head h2 { margin: 0; max-width: 14ch; }
.dir-head p { color: var(--ink-2); font-size: 17px; margin: 0; max-width: 48ch; }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leader { margin: 0; }
.leader-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--plum-d); margin-bottom: 16px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s ease; }
.leader:hover .leader-photo img { transform: scale(1.03); }
.leader-pole { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(30, 15, 35, .82); backdrop-filter: blur(6px); color: var(--gold-l); padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.leader-role { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 4px; line-height: 1.2; }
.leader-name { color: var(--gold-d); font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.leader-bio { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.leader-in { display: inline-flex; margin-top: 10px; color: var(--plum); font-size: 18px; }

/* Directeur général en vedette */
.leader.lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 56px; align-items: center; background: var(--plum-d); color: #fff; border-radius: 26px; padding: 28px; margin-bottom: 20px; overflow: hidden; position: relative; }
.leader.lead::after { content: ''; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; background: url('../assets/img/emblem-light.png') center / contain no-repeat; opacity: .07; pointer-events: none; }
.leader.lead .leader-photo { margin: 0; border-radius: 18px; }
.leader.lead .leader-role { font-size: clamp(28px, 3.4vw, 42px); color: #fff; margin-bottom: 10px; }
.leader.lead .leader-name { color: var(--gold); font-size: 17px; margin-bottom: 22px; }
.leader.lead blockquote { margin: 0 0 22px; padding-left: 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: rgba(255, 255, 255, .92); font-weight: 400; max-width: 34ch; }
.leader.lead .leader-bio { color: rgba(255, 255, 255, .7); font-size: 16px; max-width: 50ch; }
.leader.lead .leader-in { color: var(--gold-l); }

/* ---------- Engagements ---------- */
.pledges { background: var(--plum); color: #fff; padding: 72px 0; }
.pledges-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pledge i { font-size: 24px; color: var(--gold); margin-bottom: 16px; display: block; }
.pledge h3 { color: #fff; font-size: 20px; }
.pledge p { color: rgba(255, 255, 255, .7); font-size: 15px; margin: 0; }

/* ---------- Application ---------- */
.app { padding: 110px 0; background: linear-gradient(180deg, var(--ivory), var(--sand)); }
.app-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.app-copy p { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.app-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.app-list li { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.app-list i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-l); color: var(--plum); flex: none; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 14px; background: var(--night); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: inherit; text-align: left; }
.store:hover { background: var(--plum); }
.store i { font-size: 26px; color: var(--gold); }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.2; }
.store small { font-weight: 500; font-size: 12px; color: rgba(255, 255, 255, .65); }
.store-web { background: transparent; color: var(--plum); border: 1.5px solid var(--plum); }
.store-web small { color: var(--ink-2); }
.store-web:hover { background: var(--plum-l); }
.store.off { display: none; }

.phone { justify-self: center; width: 300px; aspect-ratio: 9 / 18.5; border-radius: 46px; background: var(--night); padding: 12px; box-shadow: 0 40px 80px rgba(42, 20, 48, .35), inset 0 0 0 2px #3e2745; transform: rotate(-4deg); }
.phone-screen { height: 100%; border-radius: 36px; background: #FAF6EE; overflow: hidden; padding: 30px 16px 0; display: flex; flex-direction: column; gap: 12px; font-size: 12px; position: relative; }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--plum); }
.ph-card { background: var(--plum); color: #fff; border-radius: 18px; padding: 14px; display: grid; gap: 6px; }
.ph-card small { color: var(--gold-l); font-size: 10.5px; }
.ph-card b { font-size: 15px; }
.ph-bar { height: 5px; background: rgba(255, 255, 255, .15); border-radius: 4px; overflow: hidden; }
.ph-bar span { display: block; width: 62%; height: 100%; background: var(--gold); }
.ph-row { display: flex; justify-content: space-between; font-size: 12px; }
.ph-row b { color: var(--gold-l); font-size: 13px; }
.ph-pay { background: var(--gold); color: var(--night); text-align: center; font-weight: 800; border-radius: 999px; padding: 8px; margin-top: 4px; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-grid span { background: #fff; border: 1px solid #EDE3D2; border-radius: 12px; padding: 10px 4px; text-align: center; color: var(--ink-2); font-weight: 600; font-size: 10.5px; }
.ph-grid i { display: block; color: var(--plum); font-size: 15px; margin-bottom: 4px; }
.ph-msg { display: flex; gap: 8px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid #EDE3D2; }
.ph-msg i { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-l); color: var(--plum); display: grid; place-items: center; flex: none; font-size: 11px; }
.ph-msg p { margin: 0; font-size: 11px; color: var(--ink); line-height: 1.4; }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 14px 6px 20px; border-top: 1px solid #EDE3D2; color: var(--ink-2); font-size: 16px; }
.ph-nav i:first-child { color: var(--plum); }

/* ---------- Contact ---------- */
.contact { padding: 110px 0; background: var(--ivory); }
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info p { color: var(--ink-2); font-size: 17px; max-width: 42ch; }
.coords { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.coords li { display: flex; gap: 16px; align-items: center; }
.coords i { width: 46px; height: 46px; border-radius: 14px; background: var(--plum); color: var(--gold-l); display: grid; place-items: center; font-size: 17px; flex: none; }
.coords small { display: block; color: var(--ink-2); font-size: 13px; }
.coords a, .coords span { font-weight: 700; text-decoration: none; color: var(--ink); }
.coords a:hover { color: var(--plum); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 60px rgba(42, 20, 48, .07); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fld > span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.fld input, .fld textarea { font: 500 16px var(--sans); color: var(--ink); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; -webkit-appearance: none; appearance: none; }
.fld textarea { resize: vertical; min-height: 130px; }
.fld input:focus, .fld textarea:focus { border-color: var(--plum-m); background: #fff; box-shadow: 0 0 0 4px rgba(72, 38, 79, .1); }
.fld input::placeholder, .fld textarea::placeholder { color: #B2A6A0; }
.fld.err input, .fld.err textarea { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* liste déroulante stylée */
.dd { position: relative; }
.dd-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 16px var(--sans); color: #B2A6A0; background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; cursor: pointer; text-align: left; }
.dd-btn.set { color: var(--ink); }
.dd-btn i { color: var(--ink-2); transition: transform .2s; }
.dd.open .dd-btn { border-color: var(--plum-m); box-shadow: 0 0 0 4px rgba(72, 38, 79, .1); background: #fff; }
.dd.open .dd-btn i { transform: rotate(180deg); }
.dd-list { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(42, 20, 48, .18); max-height: 260px; overflow: auto; }
.dd.open .dd-list { display: block; }
.dd-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.dd-list li:hover, .dd-list li.act { background: var(--sand); color: var(--plum); font-weight: 700; }
.form-note { margin: 14px 0 0; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-note.ok { color: #2E8B57; }
.form-note.ko { color: #C0392B; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, .7); padding: 72px 0 0; }
.foot-in { display: grid; grid-template-columns: 1.4fr 2fr 1fr; gap: 48px; padding-bottom: 48px; }
.foot-brand img { border-radius: 16px; margin-bottom: 18px; }
.foot-brand p { max-width: 36ch; font-size: 15px; }
.foot h4 { font-family: var(--sans); font-size: 15px; font-weight: 800; color: var(--gold-l); margin-bottom: 16px; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
#footPoles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.foot a { text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--gold-l); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 26px; font-size: 14px; }

/* ---------- Modale iOS ---------- */
.lp-modal { position: fixed; inset: 0; z-index: 300; background: rgba(30, 15, 35, .6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.lp-modal-box { background: #fff; border-radius: 22px; max-width: 420px; width: 100%; padding: 28px; position: relative; }
.lp-modal-box h3 { font-size: 24px; }
.lp-modal-box ol { padding-left: 0; list-style: none; display: grid; gap: 14px; margin: 18px 0 0; }
.lp-modal-box li { display: flex; gap: 14px; align-items: center; }
.lp-modal-box li i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-l); color: var(--plum); flex: none; }
.lp-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--sand); cursor: pointer; color: var(--ink-2); }
.lp-toast { position: fixed; z-index: 310; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--night); color: #fff; padding: 14px 20px; border-radius: 14px; border-left: 4px solid var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); font-weight: 600; max-width: 92vw; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-in { grid-template-columns: 1fr; gap: 36px; }
  .services-intro { position: static; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .leader.lead { grid-template-columns: 1fr 1.2fr; gap: 32px; }
  .pledges-in { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 76px 0 auto; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gut) 24px; transform: translateY(-120%); transition: transform .3s; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .btn-nav { margin-top: 16px; justify-content: center; padding: 14px; }
  .burger { display: flex; }
  .hero { padding: 116px 0 70px; }
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .orbit { margin: 0 auto; width: min(100%, 420px); }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps li::before { display: none; }
  .dir-head { grid-template-columns: 1fr; gap: 16px; }
  .app-in, .contact-in { grid-template-columns: 1fr; gap: 48px; }
  .phone { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16.5px; }
  .hero-facts { gap: 22px; }
  .hero-facts dt { font-size: 28px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .node { width: 40px; height: 40px; margin: -20px 0 0 -20px; font-size: 15px; }
  .services, .parcours, .direction, .app, .contact { padding: 72px 0; }
  .pole-head { grid-template-columns: 46px 1fr auto; gap: 14px; }
  .pole-ico { width: 46px; height: 46px; border-radius: 14px; font-size: 17px; }
  .pole-name { font-size: 19px; }
  .pole-list { grid-template-columns: 1fr; padding-left: 4px; }
  .pole-go { margin-left: 4px; }
  .steps { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .leader.lead { grid-template-columns: 1fr; padding: 16px; gap: 22px; border-radius: 22px; }
  .leader.lead .leader-body { padding: 0 6px 10px; }
  .leader-role { font-size: 17px; }
  .leader-bio { font-size: 13.5px; }
  .leader-pole { font-size: 11.5px; padding: 6px 9px; left: 8px; right: 8px; bottom: 8px; }
  .pledges-in { grid-template-columns: 1fr; gap: 28px; }
  .f2 { grid-template-columns: 1fr; gap: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .stores .store { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .orbit-nodes, .node i, .ribbon-track { animation: none !important; }
  .node, .orbit-core img { opacity: 1; transform: rotate(var(--a)) translate(calc(var(--size, 270px) * .88)) rotate(calc(var(--a) * -1)); }
  .orbit-core img { transform: none; }
}
