/* =====================================================================
   CIEJ — feuille de style v2
   Esprit : chaleureux et accueillant (formes très arrondies, boutons pilule,
   sections sur fonds pastel séparées par des vagues, tuiles d'action illustrées).
   Couleur principale : bleu. Accent : le jaune soleil du drapeau, réservé à l'action « Adhérer ».
   ===================================================================== */
:root {
  --navy: #0a1a3f;
  --blue-900: #0f2a6b;
  --blue-800: #133a96;
  --blue-700: #1747c9;
  --blue-600: #2459e6;
  --blue-300: #8fb0ff;
  --blue-100: #dce8ff;
  --blue-50:  #eef4ff;
  --sun: #ffc83d;
  --sun-light: #fff3cf;
  --sun-dark: #7a5600;
  --coral: #ff7a59;
  --mint: #2fbf8f;
  --ink: #13203a;
  --muted: #5a6782;
  --line: #e1e7f2;
  --paper: #f6f8fc;
  --surface: #ffffff;
  --ok: #138a5e;
  --warn: #8a6200;
  --danger: #c8242f;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 44px;
  --shadow-s: 0 2px 6px rgba(10, 26, 63, .06);
  --shadow-m: 0 14px 34px -14px rgba(23, 71, 201, .28);
  --shadow-l: 0 30px 60px -24px rgba(10, 26, 63, .35);
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-900); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 999px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.flagbar { display: none; }

/* ---------------- Boutons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 800 1rem/1.2 var(--font-display); padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 8px 18px -8px rgba(23, 71, 201, .7); }
.btn-primary:hover { background: var(--blue-800); color: #fff; }
.btn-gold { background: var(--sun); color: var(--navy); box-shadow: 0 8px 18px -8px rgba(201, 145, 0, .7); }
.btn-gold:hover { background: #ffd666; color: var(--navy); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-100); }
.btn-ghost:hover { border-color: var(--blue-700); color: var(--blue-900); }
.btn-white { background: #fff; color: var(--blue-800); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a01c25; color: #fff; }
.btn-sm { padding: 8px 15px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
button.linklike { background: none; border: 0; padding: 0; color: var(--blue-700); text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------------- En-tête ---------------- */
.topbar { background: var(--navy); color: #c7d4f2; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 38px; }
.topbar a { color: #e4ecff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar nav { display: flex; gap: 20px; }
@media (max-width: 760px) { .topbar .tb-left { display: none; } .topbar .wrap { justify-content: center; } .topbar nav { gap: 14px; } }

.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.brand strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; display: block; line-height: 1; letter-spacing: -0.02em; }
.brand span { font-size: .78rem; color: var(--muted); display: block; max-width: 200px; line-height: 1.25; margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; color: var(--navy); padding: 10px 14px; border-radius: 999px; font: 700 .98rem var(--font-display); white-space: nowrap; }
.nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.nav .btn { margin-left: 8px; }
.nav .btn-gold { color: var(--navy); }
.nav .btn-gold:hover { background: #ffd666; }
.menu-toggle { display: none; margin-left: auto; }
.menu-toggle summary { list-style: none; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font: 800 .95rem var(--font-display); }
.menu-toggle summary::-webkit-details-marker { display: none; }
@media (max-width: 1080px) {
  .site-header .nav { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[open] .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 12px; right: 12px; top: 86px; background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-l); padding: 14px; }
  .menu-toggle[open] .nav .btn { margin: 6px 0 0; }
  .brand span { display: none; }
}

/* ---------------- Vagues (séparateurs) ---------------- */
.wave { display: block; width: 100%; height: 70px; margin-top: -1px; }
.wave-top { margin-bottom: -1px; margin-top: 0; }
@media (max-width: 700px) { .wave { height: 36px; } }

/* ---------------- Accueil : hero ---------------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; align-items: center; position: relative; z-index: 1; }
.hero .kicker { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--blue-700); border: 1px solid var(--blue-100); padding: 7px 14px 7px 8px; border-radius: 999px; font: 700 .92rem var(--font-display); box-shadow: var(--shadow-s); margin-bottom: 20px; }
.hero .kicker .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-700); color: #fff; display: grid; place-items: center; }
.hero .kicker .dot svg { width: 13px; height: 13px; }
.hero h1 { max-width: 14ch; margin-bottom: 18px; }
.hero h1 .hl { color: var(--blue-700); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .32em; background: var(--sun); border-radius: 999px; z-index: -1; opacity: .85; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 48ch; margin-bottom: 28px; }
.hero .proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.hero .faces { display: flex; }
.hero .faces .avatar { width: 40px; height: 40px; border: 3px solid #fff; margin-left: -10px; font-size: .8rem; }
.hero .faces .avatar:first-child { margin-left: 0; }
.hero .proof b { color: var(--navy); }

.hero-visual { position: relative; min-height: 470px; }
.hero-visual .blob { position: absolute; inset: 20px 0 0 30px; background: var(--blue-700); border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; }
.hero-visual .blob::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); right: -10px; top: -20px; }
.hero-visual .photo { position: absolute; inset: 50px 30px 40px 70px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); background: var(--blue-900); }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .illus { position: absolute; inset: 50px 30px 40px 70px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); }
.hero-visual .illus svg { width: 100%; height: 100%; display: block; }
.float-card { position: absolute; background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-m); padding: 12px 16px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); max-width: 270px; }
.float-card b { display: block; font-family: var(--font-display); color: var(--navy); line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .84rem; line-height: 1.3; display: block; }
.float-card .avatar { width: 46px; height: 46px; }
.float-card.fc-1 { left: 0; top: 70px; }
.float-card.fc-2 { right: 0; bottom: 12px; }
.float-card.fc-3 { left: 20px; bottom: 90px; }
.float-card .ib { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.float-card .ib svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
  .hero-visual { min-height: 380px; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 320px; }
  .hero-visual .photo, .hero-visual .illus { inset: 40px 10px 40px 30px; }
  .float-card { max-width: 220px; padding: 9px 12px; }
  .float-card.fc-3 { display: none; }
}

/* ---------------- Tuiles chiffrées ---------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -10px; position: relative; z-index: 2; }
.tile { background: #fff; border-radius: var(--radius-l); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-m); display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); color: var(--ink); }
.tile .icon-badge { margin-bottom: 8px; }
.tile b { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--navy); line-height: 1; }
.tile span { color: var(--muted); font-weight: 600; }
.tile .go { margin-top: auto; padding-top: 8px; color: var(--blue-700); font: 800 .92rem var(--font-display); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }

.icon-badge { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.icon-badge svg { width: 26px; height: 26px; }
.ib-blue { background: var(--blue-50); color: var(--blue-700); }
.ib-sun { background: var(--sun-light); color: #9a6b00; }
.ib-coral { background: #ffe9e3; color: #c24a2c; }
.ib-mint { background: #dff6ee; color: #0f7a56; }

/* ---------------- Sections ---------------- */
.section { padding: 76px 0; }
.section.alt { background: #fff; }
.section.tint { background: var(--blue-50); }
.section.navy { background: var(--navy); color: #c8d5f3; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.section-head h2 { margin-bottom: 8px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin: 0 auto; }
.eyebrow { display: inline-block; font: 800 .9rem var(--font-display); color: var(--blue-700); background: var(--blue-50); padding: 5px 13px; border-radius: 999px; margin-bottom: 12px; }

/* Services (anciens « piliers ») */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillars > div { background: #fff; border-radius: var(--radius-l); padding: 26px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.pillars h3 { margin: 16px 0 8px; }
.pillars p { color: var(--muted); font-size: .98rem; }
.pillars a { margin-top: auto; font: 800 .95rem var(--font-display); text-decoration: none; }
.pillars a:hover { text-decoration: underline; }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Module adhésion (esprit « module de don ») */
.join-module { display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); overflow: hidden; }
.join-module .jm-form { padding: 40px; }
.join-module .jm-form h2 { margin-bottom: 8px; }
.join-module .jm-side { background: var(--blue-700); color: #e4ecff; padding: 40px; position: relative; overflow: hidden; }
.join-module .jm-side::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); right: -80px; top: -80px; }
.join-module .jm-side::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--sun); right: 30px; bottom: -60px; opacity: .95; }
.join-module .jm-side h3 { color: #fff; font-size: 1.4rem; }
.join-module .jm-side ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; position: relative; z-index: 1; }
.join-module .jm-side li { display: flex; gap: 10px; align-items: flex-start; }
.join-module .jm-side li svg { width: 22px; height: 22px; flex: none; color: var(--sun); margin-top: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 12px 18px; border-radius: 22px; border: 2px solid var(--blue-100); background: #fff; color: var(--navy); min-width: 160px; flex: 1 1 160px; }
.chip b { font-family: var(--font-display); font-size: 1.25rem; color: var(--blue-700); }
.chip span { font-size: .86rem; color: var(--muted); line-height: 1.3; }
.chip:hover, .chip.on { border-color: var(--blue-700); background: var(--blue-50); }
@media (max-width: 860px) { .join-module { grid-template-columns: 1fr; } .join-module .jm-form, .join-module .jm-side { padding: 28px 22px; } }

/* Étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; background: #fff; border-radius: var(--radius-l); padding: 72px 22px 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; top: 22px; left: 22px; width: 38px; height: 38px; border-radius: 14px; background: var(--blue-700); color: #fff; display: grid; place-items: center; font: 800 1.05rem var(--font-display); }
.steps li:nth-child(2)::before { background: var(--blue-600); }
.steps li:nth-child(3)::before { background: var(--sun); color: var(--navy); }
.steps li:nth-child(4)::before { background: var(--mint); }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.steps-compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps-compact { grid-template-columns: 1fr; } }

/* Opportunités à la une */
.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.opp-feature { background: var(--blue-700); color: #e4ecff; border-radius: var(--radius-l); padding: 32px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; min-height: 300px; }
.opp-feature::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.opp-feature h3 { color: #fff; font-size: 1.6rem; }
.opp-feature .tag { background: var(--sun); color: var(--navy); border: 0; align-self: flex-start; }
.opp-feature .due { margin-top: auto; font: 800 1rem var(--font-display); color: #fff; display: flex; gap: 8px; align-items: center; }
.opp-feature:hover { color: #fff; background: var(--blue-800); }
.opp-cards { display: grid; gap: 12px; }
.opp-card { background: #fff; border-radius: var(--radius-m); padding: 16px 18px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.opp-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-s); }
.opp-card .date { background: var(--blue-50); border-radius: 14px; text-align: center; padding: 8px 4px; font: 800 1.2rem/1 var(--font-display); color: var(--blue-700); }
.opp-card .date small { display: block; font-size: .72rem; font-weight: 700; margin-top: 3px; }
.opp-card b { display: block; color: var(--navy); line-height: 1.3; }
.opp-card span { font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* Missions */
.missions { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.missions-visual { background: var(--blue-700); border-radius: var(--radius-xl); padding: 40px; color: #fff; position: relative; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.missions-visual::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); right: -90px; top: -90px; }
.missions-visual .big { font: 800 clamp(3rem, 7vw, 5.4rem)/0.9 var(--font-display); color: var(--sun); }
.missions-visual p { font: 700 1.3rem/1.35 var(--font-display); color: #fff; margin: 12px 0 0; max-width: 20ch; }
.mission-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mission-list li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; background: #fff; padding: 16px 18px; border-radius: var(--radius-m); border: 1px solid var(--line); }
.mission-list b { display: block; font-family: var(--font-display); color: var(--navy); }
.mission-list span { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .missions { grid-template-columns: 1fr; } .missions-visual { min-height: 240px; } }

/* Chambres régionales */
.regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.region { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-m); padding: 16px; text-decoration: none; color: #dbe5ff; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.region:hover { background: rgba(255,255,255,.12); color: #fff; }
.region b { color: #fff; font-family: var(--font-display); display: block; }
.region small { color: #9fb2de; }
.region .n { background: var(--sun); color: var(--navy); border-radius: 999px; padding: 2px 10px; font: 800 .85rem var(--font-display); }

.band { background: var(--sun); padding: 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.band h2 { margin: 0 0 4px; }
.band p { margin: 0; max-width: 60ch; color: #4a3a00; }

/* ---------------- Grilles & cartes ---------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-s); }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.panel + .panel, aside > .panel + .panel, aside > form.panel + .panel, aside > .panel + form.panel, aside > form + form, aside > details.panel { margin-top: 18px; }
.panel h2 { font-size: 1.45rem; }

.member-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--blue-100); color: var(--ink); }
.member-card .who { display: flex; gap: 14px; align-items: center; }
.member-card b { display: block; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.25; color: var(--navy); }
.member-card .sector { font-size: .9rem; color: var(--muted); }
.member-card p { margin: 0; font-size: .96rem; color: var(--muted); }
.member-card .meta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.panel .member-card { box-shadow: none; padding: 14px; }
.panel .member-card:hover { transform: none; }

.avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; background: var(--blue-100); color: var(--blue-800); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.avatar-xl { width: 140px; height: 140px; font-size: 2.6rem; border: 6px solid #fff; box-shadow: var(--shadow-m); }

.tag { display: inline-block; font: 700 .8rem var(--font-display); padding: 4px 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); }
.tag-gold { background: var(--sun-light); color: #8a5f00; }
.tag-red { background: #fde8ea; color: var(--danger); }
.tag-grey { background: #eef1f6; color: var(--muted); }

.listing-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); color: var(--ink); }
.listing-card .img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); display: grid; place-items: center; color: var(--blue-700); font: 800 2rem var(--font-display); overflow: hidden; margin: 8px 8px 0; border-radius: 20px; }
.listing-card .img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card .body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.listing-card .tag { align-self: flex-start; }
.listing-card b { line-height: 1.3; color: var(--navy); font-family: var(--font-display); }
.listing-card .price { font: 800 1.1rem var(--font-display); color: var(--blue-700); margin-top: auto; }
.listing-card .seller { font-size: .88rem; color: var(--muted); }

.opp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.opp-list a { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; padding: 18px 22px; text-decoration: none; color: var(--ink); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); }
.opp-list a:hover { border-color: var(--blue-300); box-shadow: var(--shadow-s); }
.opp-list .deadline { font-size: .88rem; color: var(--muted); background: var(--blue-50); border-radius: 14px; padding: 10px 12px; text-align: center; }
.opp-list .deadline b { display: block; font: 800 1.02rem var(--font-display); color: var(--blue-800); }
.opp-list .deadline.soon { background: #fde8ea; }
.opp-list .deadline.soon b { color: var(--danger); }
.opp-list h3 { margin: 6px 0 4px; font-size: 1.12rem; }
.opp-list p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 640px) { .opp-list a { grid-template-columns: 1fr; gap: 8px; } .opp-list .deadline { text-align: left; } }

/* ---------------- Filtres ---------------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 18px; margin-bottom: 24px; box-shadow: var(--shadow-s); }
.filters .field { margin: 0; flex: 1 1 180px; }
.filters .field.grow { flex: 2 1 260px; }

/* ---------------- Formulaires ---------------- */
.field { margin-bottom: 18px; }
.field label, .label { display: block; font: 700 .95rem var(--font-display); margin-bottom: 6px; color: var(--navy); }
.field .hint { display: block; font: 400 .86rem var(--font-body); color: var(--muted); margin-top: 5px; }
.req { color: var(--danger); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=date], input[type=number], input[type=search], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 16px; border: 1.5px solid #cfd9ea; border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231747c9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-700); outline: none; box-shadow: 0 0 0 4px rgba(23,71,201,.15); }
input[type=file] { font: inherit; font-size: .95rem; max-width: 100%; padding: 10px; border: 1.5px dashed #b9c8e4; border-radius: 14px; width: 100%; background: var(--blue-50); }
input[type=file]::file-selector-button { font: 800 .88rem var(--font-display); border: 0; background: var(--blue-700); color: #fff; padding: 8px 14px; border-radius: 999px; margin-right: 10px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-family: var(--font-body) !important; }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--blue-700); }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: flex; gap: 8px; align-items: center; font-weight: 600; padding: 9px 16px; border: 1.5px solid #cfd9ea; border-radius: 999px; cursor: pointer; background: #fff; }
.radios label:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); color: var(--blue-800); }
.radios input { accent-color: var(--blue-700); }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-cols .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-cols { grid-template-columns: 1fr; } }
fieldset.block { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-l); padding: 26px 26px 10px; margin: 0 0 22px; box-shadow: var(--shadow-s); }
fieldset.block legend { font: 800 1.15rem var(--font-display); color: #fff; background: var(--blue-700); padding: 7px 18px; border-radius: 999px; }
.college-choice { display: grid; gap: 12px; }
.college-choice label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; border: 2px solid var(--line); border-radius: var(--radius-m); padding: 16px; cursor: pointer; font-weight: 400; font-family: var(--font-body); background: #fff; transition: border-color .15s, background .15s; }
.college-choice label:hover { border-color: var(--blue-300); }
.college-choice label:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); }
.college-choice input { margin-top: 4px; accent-color: var(--blue-700); width: 18px; height: 18px; }
.college-choice b { display: block; color: var(--navy); font-family: var(--font-display); }
.college-choice .fees { text-align: right; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.college-choice .fees b { color: var(--blue-700); font-size: 1.05rem; }
@media (max-width: 560px) { .college-choice label { grid-template-columns: 22px 1fr; } .college-choice .fees { grid-column: 2; text-align: left; } }
.doclist { margin: 0; padding-left: 20px; color: var(--muted); font-size: .95rem; }
.doclist li { margin-bottom: 4px; }

/* ---------------- Alertes ---------------- */
.alert { padding: 14px 18px; border-radius: var(--radius-m); margin-bottom: 16px; border: 0; }
.alert-success { background: #e2f6ee; color: #0d5c3e; }
.alert-error { background: #fde8ea; color: #84161e; }
.alert-warning { background: var(--sun-light); color: #5f4400; }
.alert-info { background: var(--blue-50); color: var(--blue-900); }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.page-flash { padding-top: 18px; }

/* ---------------- Pages intérieures ---------------- */
.page-head { background: var(--blue-700); color: #dbe6ff; padding: 54px 0 74px; position: relative; overflow: hidden; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.page-head::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.07); right: -100px; top: -160px; }
.page-head::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); right: 12%; bottom: -95px; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 10px; }
.page-head p { color: #d4e0ff; max-width: 70ch; margin: 0; font-size: 1.12rem; }
.page-head a { color: #fff; }
.crumbs { font-size: .9rem; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.page-body { padding: 40px 0 72px; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.5em; }
.layout-side { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .layout-side { grid-template-columns: 1fr; } }

/* Profil public */
.profile-cover { height: 260px; background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); position: relative; overflow: hidden; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.profile-cover::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); right: -60px; top: -120px; }
.profile-cover::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); right: 18%; bottom: -70px; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.profile-id { display: flex; gap: 24px; align-items: flex-start; margin-top: -76px; position: relative; z-index: 2; flex-wrap: wrap; }
.profile-id h1 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.profile-id .headline { color: var(--muted); font-size: 1.12rem; margin: 4px 0 0; }
.profile-id .txt { padding-top: 84px; }
@media (max-width: 600px) { .profile-id .txt { padding-top: 0; } .avatar-xl { width: 112px; height: 112px; } }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--blue-100); border-radius: 999px; text-decoration: none; font: 700 .92rem var(--font-display); background: #fff; }
.social-links a:hover { border-color: var(--blue-700); background: var(--blue-50); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }
.verified { display: inline-flex; gap: 6px; align-items: center; font: 800 .92rem var(--font-display); color: var(--blue-700); background: var(--blue-50); padding: 5px 12px 5px 8px; border-radius: 999px; }
.verified svg { width: 18px; height: 18px; fill: var(--blue-700); }
.qr-box { display: grid; place-items: center; padding: 14px; background: #fff; border: 1.5px dashed var(--blue-100); border-radius: var(--radius-m); }
.qr-box svg { width: 170px; height: 170px; display: block; }
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 16px 0 0; font-size: .96rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 700; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; text-align: center; padding: 8px 14px; border-radius: 999px; text-decoration: none; background: #fff; border: 1px solid var(--line); font: 700 .95rem var(--font-display); }
.pager span[aria-current] { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }

.empty-state { text-align: center; padding: 56px 24px; background: var(--surface); border: 2px dashed var(--blue-100); border-radius: var(--radius-l); }
.empty-state h1, .empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); }
.empty-state .btn-row { justify-content: center; }

/* ---------------- Pied de page ---------------- */
.site-footer { background: var(--navy); color: #a9b9de; padding: 0 0 26px; font-size: .96rem; margin-top: 0; }
.site-footer .footer-cta { background: var(--blue-700); border-radius: var(--radius-l); padding: 30px 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; transform: translateY(-50%); margin-bottom: -10px; box-shadow: var(--shadow-l); position: relative; overflow: hidden; }
.site-footer .footer-cta::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); right: -40px; top: -60px; }
.site-footer .footer-cta h2 { color: #fff; font-size: 1.6rem; margin: 0 0 4px; }
.site-footer .footer-cta p { margin: 0; color: #d4e0ff; }
.site-footer .footer-cta .btn-row { position: relative; z-index: 1; }
.site-footer a { color: #e4ecff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .social-links a { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; padding: 10px; }
.site-footer .social-links a:hover { background: var(--blue-700); }
.footer-spacer { height: 70px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .footer-cta { transform: translateY(-30%); } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* =====================================================================
   Espace connecté (membre & administration)
   ===================================================================== */
.app { display: grid; grid-template-columns: 272px 1fr; min-height: 100vh; }
.app-side { background: var(--navy); color: #c7d4f2; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.app-side .brand { color: #fff; margin: 4px 8px 22px; }
.app-side .brand img { width: 44px; height: 44px; }
.app-side .brand span { color: #8fa4d4; display: block; }
.app-side h4 { color: #7088bf; font: 800 .78rem var(--font-display); margin: 20px 12px 8px; letter-spacing: .02em; }
.app-side nav a { display: flex; justify-content: space-between; align-items: center; color: #dbe5ff; text-decoration: none; padding: 10px 14px; border-radius: 999px; font: 700 .95rem var(--font-display); margin-bottom: 2px; }
.app-side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.app-side nav a[aria-current="page"] { background: var(--blue-700); color: #fff; }
.app-side .count { background: var(--sun); color: var(--navy); border-radius: 999px; font-size: .75rem; padding: 1px 9px; font-weight: 800; }
.app-main { min-width: 0; }
.app-top { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; position: sticky; top: 0; z-index: 10; }
.app-top .who { font-size: .95rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.app-top .who b { color: var(--navy); font-family: var(--font-display); }
.app-top .who .avatar { width: 36px; height: 36px; font-size: .8rem; }
.app-content { padding: 30px 28px 64px; max-width: 1240px; }
.app-content > h1 { font-size: 2rem; }
.app-menu { display: none; }
@media (max-width: 920px) {
  .app { grid-template-columns: 1fr; }
  .app-side { position: static; height: auto; display: none; }
  .app-side.open { display: block; }
  .app-menu { display: inline-flex; }
  .app-content { padding: 22px 16px 50px; }
  .app-top { padding: 12px 16px; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stats .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); position: relative; overflow: hidden; }
.stats .stat::after { content: ""; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--blue-50); }
.stats .stat b { display: block; font: 800 2.1rem/1.1 var(--font-display); color: var(--navy); position: relative; z-index: 1; }
.stats .stat span { color: var(--muted); font-size: .92rem; position: relative; z-index: 1; }
.stats .stat.attention { border-color: #ffe08a; background: #fffaf0; }
.stats .stat.attention::after { background: var(--sun-light); }
a.stat:hover { box-shadow: var(--shadow-m); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--blue-50); color: var(--blue-900); font: 800 .85rem var(--font-display); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafcff; }
table.data td.num { text-align: right; white-space: nowrap; }
table.data a { font-weight: 700; }

.status { display: inline-block; font: 800 .78rem var(--font-display); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.status-soumise, .status-soumis, .status-propose { background: var(--blue-50); color: var(--blue-800); }
.status-en_examen, .status-accompagne { background: var(--sun-light); color: #7a5600; }
.status-complement { background: #ffe9e3; color: #a3401f; }
.status-admise, .status-actif, .status-publie, .status-termine { background: #e2f6ee; color: #0d6b48; }
.status-rejetee, .status-radie, .status-rejete, .status-refuse { background: #fde8ea; color: var(--danger); }
.status-suspendu, .status-masque, .status-archive { background: #eef1f6; color: var(--muted); }

.workflow { display: flex; list-style: none; padding: 6px; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 999px; gap: 6px; box-shadow: var(--shadow-s); }
.workflow li { flex: 1; padding: 10px 18px; font-size: .88rem; color: var(--muted); border-radius: 999px; }
.workflow li b { display: block; color: var(--navy); font: 800 .95rem var(--font-display); }
.workflow li.done { background: #e2f6ee; }
.workflow li.done b { color: #0d6b48; }
.workflow li.current { background: var(--sun-light); }
@media (max-width: 760px) { .workflow { flex-direction: column; border-radius: var(--radius-l); } .workflow li { border-radius: var(--radius-m); } }

.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reviews li { border-radius: var(--radius-m); padding: 14px 16px; background: var(--paper); border-left: 6px solid var(--line); }
.reviews li.favorable { border-left-color: var(--ok); }
.reviews li.reserve { border-left-color: var(--sun); }
.reviews li.defavorable { border-left-color: var(--danger); }
.tally { display: flex; gap: 10px; flex-wrap: wrap; font-size: .92rem; margin-bottom: 14px; }
.tally span { background: var(--paper); border-radius: 999px; padding: 6px 14px; }
.tally b { font: 800 1.15rem var(--font-display); color: var(--navy); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px dashed var(--blue-100); }
.timeline li { padding: 0 0 16px 18px; position: relative; font-size: .93rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-700); box-shadow: 0 0 0 3px #fff; }
.timeline time { color: var(--muted); display: block; font-size: .82rem; }

.files { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.files a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; background: #fff; }
.files a:hover { border-color: var(--blue-300); background: var(--blue-50); }
.files small { color: var(--muted); }

progress.maturity { width: 100%; max-width: 220px; height: 12px; appearance: none; border: 0; border-radius: 999px; background: var(--blue-50); overflow: hidden; vertical-align: middle; }
progress.maturity::-webkit-progress-bar { background: var(--blue-50); border-radius: 999px; }
progress.maturity::-webkit-progress-value { background: linear-gradient(90deg, var(--blue-700), var(--blue-600)); border-radius: 999px; }
progress.maturity::-moz-progress-bar { background: var(--blue-700); border-radius: 999px; }
.panel progress.maturity { max-width: none; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--radius-m); background: var(--paper); }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c3cfe6; display: grid; place-items: center; font-size: .8rem; color: #fff; background: #fff; }
.checklist li.done { background: #e9f8f2; }
.checklist li.done .tick { background: var(--ok); border-color: var(--ok); }
.checklist b { display: block; font-family: var(--font-display); color: var(--navy); }
.checklist small { color: var(--muted); }
.num-tick { background: var(--blue-700) !important; color: #fff !important; border-color: var(--blue-700) !important; font: 800 .8rem var(--font-display) !important; }

.thread { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.thread li { padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--blue-50); max-width: 85%; }
.thread li.mine { background: var(--sun-light); margin-left: auto; border-radius: 20px 20px 6px 20px; }
.thread li small { display: block; color: var(--muted); font-size: .8rem; }

.inline-form { display: inline; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.actions input { width: auto; padding: 7px 12px; font-size: .88rem; }
.kv { display: grid; grid-template-columns: 210px 1fr; gap: 0; }
.kv > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv > div:nth-child(odd) { color: var(--muted); padding-right: 12px; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { border-bottom: 0; padding-bottom: 0; } }

.auth-wrap { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 48px 16px 90px; background: radial-gradient(circle at 15% 20%, var(--blue-100) 0, transparent 30%), radial-gradient(circle at 85% 80%, var(--sun-light) 0, transparent 28%); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-xl); padding: 38px 34px; box-shadow: var(--shadow-l); }
.auth-card h1 { font-size: 1.9rem; }
.auth-card .auth-ico { margin-bottom: 14px; }

/* Divers */
.spaced-top { margin-top: 18px; }
.spaced { margin-top: 40px; }
.sticky-panel { position: sticky; top: 104px; }
.ref-big { font: 800 2rem var(--font-display); color: var(--blue-700); background: var(--blue-50); border: 2px dashed var(--blue-300); border-radius: var(--radius-m); padding: 10px 20px; display: inline-block; }
.people { list-style: none; padding: 0; margin: 0; }
.people li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: 0; }
.people li .avatar { width: 48px; height: 48px; }
.people b { font-family: var(--font-display); }
.people small { display: block; color: var(--muted); }
.listing-hero { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-m); margin-bottom: 18px; }
.listing-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 12px; }
.listing-price { font: 800 1.6rem var(--font-display); color: var(--blue-700); }
.lead-text { font-size: 1.15rem; color: var(--muted); }
.contact-stack, .share-actions { margin-top: 14px; }
.qr-caption { margin: 16px 0 8px; }
.section-title-sp { margin: 32px 0 16px; }
.propose-line, .cta-line { margin-top: 18px; }
.thumb { width: 120px; margin-top: 8px; border-radius: var(--radius-s); border: 1px solid var(--line); }
.user-row-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.user-row-form select, .user-row-form input { width: auto; min-width: 120px; padding: 7px 10px; font-size: .9rem; border-radius: 10px; }
.user-row-form select { padding-right: 34px; background-position: right 8px center; }
.receipt { max-width: 720px; margin: 30px auto; background: #fff; border-radius: var(--radius-l); padding: 36px; box-shadow: var(--shadow-m); }
.receipt header { display: flex; gap: 16px; align-items: center; border-bottom: 3px solid var(--blue-700); padding-bottom: 16px; margin-bottom: 22px; }
.receipt h1 { font-size: 1.5rem; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .site-footer, .app-side, .app-top, .btn { display: none !important; } .app { display: block; } .receipt { box-shadow: none; margin: 0; } }
.section-tiles { padding: 0; }
.section-tiles .tiles { margin-top: -20px; }
.regions-section { padding: 30px 0 40px; }
.section.navy .eyebrow { background: rgba(255,255,255,.1); color: var(--sun); }
.regions-intro { color: #a9b9de !important; }
.wave + .section.navy, .section.navy + .wave { margin: 0; }
.hero .wave { position: relative; z-index: 1; }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--navy); text-decoration: none; }
.site-footer .btn:hover { text-decoration: none; }
@media (max-width: 760px) { .topbar { display: none; } }
