/* =====================================================================
   SAEA PARIS — styles des pages Paris (complète min-css.css)
   ===================================================================== */
:root {
  --p-accent: #ffc404;
  --p-card: #0a0a0a;
  --p-card-2: #111;
  --p-line: #232323;
  --p-muted: #9a9a9a;
  --p-ok: #5fd08a;
  --p-warn: #ff9b5a;
  --c-behourd: #e0a526;
  --c-amhe: #6aa8ff;
  --c-ado: #5fd08a;
  --c-won: #e0565b;
  --c-autre: #9a9a9a;
  --p-nav-h: 64px;
}
html { scroll-behavior: smooth; }
.p-wrap { max-width: 1100px; margin: 0 auto; }
.p-section { padding: 3.5rem 1.25rem; }
.p-section.dark { background: #0d0d0d; }
.p-section h2 { font-size: 1.7rem; margin: 0 0 .4rem; text-align: center; }
.p-lead { color: var(--p-muted); text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.p-center { text-align: center; margin-top: 1.5rem; }
.p-small { font-size: .88rem; color: var(--p-muted); }
button.btn { font: inherit; cursor: pointer; background: transparent; }
.btn.p-btn-main { background: var(--p-accent); color: #000; font-weight: 600; border-color: var(--p-accent); }
.btn.p-btn-main:hover { background: #fff; border-color: #fff; color: #000; }
.btn.p-btn-alt { background: #fff; color: #000; font-weight: 600; border-color: #fff; }
.btn.p-btn-alt:hover { background: var(--p-accent); border-color: var(--p-accent); color: #000; }

/* ---------- Sous-navigation ---------- */
.p-subnav { position: sticky; top: var(--p-nav-h); z-index: 900; background: #0b0b0b; border-bottom: 1px solid var(--p-line); }
.p-subnav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; padding: 0 1rem; }
.p-subnav-title { font-weight: 700; color: var(--p-accent); white-space: nowrap; font-size: .9rem; letter-spacing: .5px; }
.p-subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.p-subnav ul::-webkit-scrollbar { display: none; }
.p-subnav a { display: flex; align-items: center; gap: .35rem; padding: .8rem .85rem; color: #ddd; white-space: nowrap; font-size: .92rem; border-bottom: 3px solid transparent; }
.p-subnav a:hover { color: #fff; background: #151515; }
.p-subnav a[aria-current="page"] { color: var(--p-accent); border-bottom-color: var(--p-accent); font-weight: 600; }
.p-mini-badge { font-size: .68rem; border: 1px solid var(--p-warn); color: var(--p-warn); border-radius: 10px; padding: 0 .35rem; line-height: 1.4; }
@media (max-width: 768px) { .p-subnav-title { display: none; } .p-subnav-inner { padding: 0; } }

.p-crumb { display: block; position: static; max-width: 1100px; margin: 0 auto; padding: .8rem 1.25rem 0; font-size: .85rem; color: var(--p-muted); }
.p-crumb a { color: var(--p-muted); } .p-crumb a:hover { color: var(--p-accent); }
.p-crumb .sep { margin: 0 .45rem; opacity: .6; }

/* ---------- Hero ---------- */
.hero.p-hero { height: auto; min-height: 42vh; padding: 3.5rem 1rem; }
.p-hero .hero-content { max-width: 760px; }
.p-hero h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 5vw, 2.8rem); }
.p-hero p { margin: 0 0 1.2rem; }
.p-hero-tag { display: inline-block; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--p-accent); margin-bottom: .6rem; }
.p-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; font-size: .95rem; color: #ddd; margin-top: 1rem; }
.p-facts span { max-width: 100%; }
.p-hero .hero-content { width: 100%; min-width: 0; }

/* ---------- Badges ---------- */
.p-badge { display: inline-block; font-size: .75rem; padding: .15rem .55rem; border-radius: 20px; border: 1px solid #444; color: #bbb; white-space: nowrap; }
.p-badge.ok { border-color: var(--p-ok); color: var(--p-ok); }
.p-badge.warn { border-color: var(--p-warn); color: #000; background: var(--p-warn); font-weight: 700; }

/* ---------- Blocs d'orientation ---------- */
.p-blocs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 1200px; margin: 0 auto; }
@media (max-width: 1050px) { .p-blocs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-blocs { grid-template-columns: 1fr; } }
.p-bloc { display: flex; flex-direction: column; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; overflow: hidden; color: inherit; transition: transform .2s, border-color .2s; }
.p-bloc:hover { transform: translateY(-4px); border-color: var(--p-accent); color: inherit; }
.p-bloc-img { position: relative; height: 170px; background-size: cover; background-position: center 30%; }
.p-bloc-img .p-badge { position: absolute; top: .7rem; left: .7rem; }
.p-bloc-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.p-bloc h3 { margin: 0; font-size: 1.35rem; }
.p-bloc-public { margin: .1rem 0 .5rem; color: var(--p-accent); font-size: .88rem; font-weight: 600; }
.p-bloc-txt { margin: 0 0 .8rem; color: #cfcfcf; font-size: .93rem; }
.p-bloc-facts { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .85rem; color: var(--p-muted); display: grid; gap: .3rem; }
.p-bloc-cta { margin-top: auto; color: var(--p-accent); font-weight: 600; }

/* ---------- Planning semaine ---------- */
.p-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.25rem; }
.p-chip { background: #111; color: #ddd; border: 1px solid #333; border-radius: 20px; padding: .4rem .9rem; font: inherit; font-size: .88rem; cursor: pointer; }
.p-chip[aria-pressed="true"] { background: var(--p-accent); color: #000; border-color: var(--p-accent); font-weight: 600; }
.p-chip-check { display: inline-flex; align-items: center; gap: .4rem; }
.p-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; gap: .6rem; max-width: 1300px; margin: 0 auto; }
.p-week-day { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 10px; padding: .6rem; display: flex; flex-direction: column; gap: .5rem; }
.p-week-name { font-weight: 700; text-align: center; padding-bottom: .4rem; border-bottom: 1px solid var(--p-line); }
.p-week-slot { position: relative; background: var(--p-card-2); border-left: 3px solid var(--c-autre); border-radius: 6px; padding: .45rem .55rem; font-size: .82rem; line-height: 1.35; display: flex; flex-direction: column; }
.p-week-slot .t { color: var(--p-muted); font-size: .78rem; }
.p-week-slot .l { color: var(--p-muted); font-size: .75rem; }
.p-week-slot[hidden] { display: none; }
.s-behourd { border-left-color: var(--c-behourd); } .s-amhe { border-left-color: var(--c-amhe); }
.s-ado { border-left-color: var(--c-ado); } .s-won { border-left-color: var(--c-won); }
.p-dot { align-self: flex-start; margin-top: .25rem; font-size: .68rem; color: var(--p-ok); border: 1px solid var(--p-ok); border-radius: 10px; padding: 0 .4rem; }
.p-week-empty { display: none; margin: 0; color: #555; font-size: .8rem; text-align: center; }
.p-week-day.is-empty .p-week-empty { display: block; }
@media (max-width: 1000px) {
  .p-week { grid-template-columns: 1fr; }
  .p-week-day { display: grid; grid-template-columns: 90px 1fr; align-items: start; }
  .p-week-name { text-align: left; border: 0; padding: .3rem 0; }
  .p-week-day > .p-week-slot, .p-week-day > .p-week-empty { grid-column: 2; }
  .p-week-day.is-empty { display: none; }
}

/* ---------- Créneaux d'une section ---------- */
.p-slots { display: grid; gap: .75rem; max-width: 900px; margin: 0 auto; }
.p-slot-day { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 10px; padding: .9rem 1rem; }
.p-slot-dayname { font-weight: 700; padding-top: .15rem; }
.p-slot-list { display: grid; gap: .6rem; }
.p-slot { display: grid; grid-template-columns: 120px 1fr auto; gap: .8rem; align-items: center; }
.p-slot-time { color: var(--p-accent); font-weight: 700; }
.p-slot-what strong { display: block; } .p-slot-what span { color: var(--p-muted); font-size: .87rem; }
@media (max-width: 640px) {
  .p-slot-day { grid-template-columns: 1fr; gap: .4rem; }
  .p-slot { grid-template-columns: 1fr auto; } .p-slot-what { grid-column: 1 / -1; order: 3; }
}

/* ---------- Grilles génériques ---------- */
.p-grid { display: grid; gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.p-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.p-grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .p-grid.c3, .p-grid.c2 { grid-template-columns: 1fr; } }
.p-card { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.p-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.p-card p, .p-card li { color: #cfcfcf; font-size: .95rem; }
.p-card ul { padding-left: 1.1rem; margin: .3rem 0 0; }
.p-card .p-icon { font-size: 1.5rem; display: block; margin-bottom: .3rem; }
.p-card.accent { border-color: var(--p-accent); }

/* ---------- Tarifs ---------- */
.p-sim { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: center; margin: 0 auto 1.5rem; max-width: 900px; text-align: center; }
.p-sim p { margin: 0; color: var(--p-muted); font-size: .9rem; }
.p-month { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }
.p-month select { background: #111; color: #fff; border: 1px solid var(--p-accent); border-radius: 6px; padding: .45rem .7rem; font: inherit; }
.p-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto; }
.p-price { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.1rem; display: flex; flex-direction: column; text-align: center; }
.p-price header h3 { margin: 0; font-size: 1.15rem; }
.p-price header p { margin: .1rem 0 .8rem; color: var(--p-muted); font-size: .85rem; }
.p-price-amount { font-size: 2rem; font-weight: 800; color: var(--p-accent); line-height: 1.1; }
.p-price-amount small { display: block; font-size: .78rem; font-weight: 400; color: var(--p-muted); margin-top: .25rem; }
.p-price-full { margin: .4rem 0 0; font-size: .85rem; color: #bbb; }
.p-price-acces { margin: .8rem 0 0; font-size: .87rem; color: #cfcfcf; text-align: left; border-top: 1px dashed var(--p-line); padding-top: .7rem; }
.p-price-meta { margin: auto 0 0; padding-top: .8rem; font-size: .78rem; color: var(--p-muted); }
.p-price-alt { border-style: dashed; }

.p-table-wrap { overflow-x: auto; max-width: 1100px; margin: 1rem auto 0; border: 1px solid var(--p-line); border-radius: 10px; }
.p-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.p-table caption { caption-side: top; text-align: left; padding: .7rem 1rem; color: var(--p-muted); font-size: .85rem; }
.p-table th, .p-table td { padding: .55rem .8rem; border-top: 1px solid var(--p-line); text-align: right; }
.p-table th:first-child { text-align: left; }
.p-table thead th { background: #101010; text-align: right; vertical-align: bottom; }
.p-table thead th:first-child { text-align: left; }
.p-table small { display: block; font-size: .72rem; color: var(--p-muted); font-weight: 400; }
.p-table td { color: var(--p-accent); font-weight: 700; }
.p-table tr.is-current { background: #1a1605; }

.p-licences { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .4rem 1.2rem; }
.p-licences li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--p-line); padding: .3rem 0; color: #cfcfcf; }

.p-aides { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; }
.p-aide { display: flex; flex-direction: column; background: var(--p-card-2); border: 1px solid var(--p-line); border-radius: 10px; padding: .9rem 1rem; color: #ddd; }
.p-aide:hover { border-color: var(--p-accent); color: #fff; }
.p-aide strong { color: var(--p-accent); font-size: 1.4rem; }
.p-aide .n { font-weight: 600; } .p-aide .a { font-size: .82rem; color: var(--p-muted); }

.p-pay { display: grid; gap: .5rem; margin-top: .6rem; }
.p-pay div { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.p-pay span { width: 40px; color: var(--p-muted); font-size: .85rem; }
.p-pay code { background: #151515; padding: .3rem .6rem; border-radius: 6px; font-size: .9rem; }

/* ---------- Détails repliables ---------- */
.p-details { margin-top: .8rem; }
.p-details > summary { cursor: pointer; color: var(--p-accent); font-weight: 600; list-style: none; }
.p-details > summary::-webkit-details-marker { display: none; }
.p-details > summary::before { content: "▸ "; }
.p-details[open] > summary::before { content: "▾ "; }
.p-acc { max-width: 1100px; margin: 1rem auto 0; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; }
.p-acc > summary { padding: 1rem 1.2rem; font-size: 1.05rem; }
.p-acc > div { padding: 0 1.2rem 1.2rem; }

/* ---------- Boutons copier ---------- */
.p-copy { background: transparent; color: var(--p-accent); border: 1px solid #444; border-radius: 6px; padding: .3rem .7rem; font: inherit; font-size: .82rem; cursor: pointer; }
.p-copy:hover { border-color: var(--p-accent); }

/* ---------- Étapes d'inscription ---------- */
.p-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
@media (max-width: 900px) { .p-steps { grid-template-columns: 1fr; } }
.p-steps > li { display: flex; gap: .9rem; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.2rem; }
.p-step-n { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--p-accent); color: #000; font-weight: 800; display: grid; place-items: center; }
.p-steps h3 { margin: .2rem 0 .4rem; font-size: 1.1rem; }
.p-steps p { color: #cfcfcf; font-size: .93rem; margin: 0 0 .8rem; }
.p-steps .btn { margin: 0 0 .4rem; }
.p-quote { margin: 0 0 .7rem; padding: .7rem .9rem; border-left: 3px solid var(--p-accent); background: #121212; font-style: italic; font-size: .9rem; color: #eee; }

/* ---------- Équipe ---------- */
.p-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.p-person { display: flex; gap: 1rem; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1rem; }
.p-person img { width: 110px; height: 130px; object-fit: cover; object-position: top; border-radius: 8px; flex: none; }
.p-person h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.p-person h3 span { color: var(--p-accent); font-weight: 500; }
.p-person ul { margin: 0; padding-left: 1rem; font-size: .88rem; color: #cfcfcf; }
.p-person p { margin: 0; font-size: .88rem; color: var(--p-muted); }
.p-team.is-compact { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.p-team.is-compact img { width: 64px; height: 64px; border-radius: 50%; }
.p-team.is-compact .p-person { align-items: center; }

/* ---------- Lieu ---------- */
.p-lieu { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: center; max-width: 900px; margin: 0 auto; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.4rem; }
@media (max-width: 720px) { .p-lieu { grid-template-columns: 1fr; } }
.p-lieu h3 { margin: 0; font-size: 1.3rem; }
.p-lieu-adr { color: #ddd; margin: .3rem 0 1rem; }
.p-lieu .btn { margin: 0; }
.p-floors { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.p-floors li { display: grid; grid-template-columns: 80px 1fr; gap: 0 .8rem; background: var(--p-card-2); border-radius: 8px; padding: .55rem .8rem; }
.p-floors strong { color: var(--p-accent); grid-row: span 2; align-self: center; }
.p-floors em { font-style: normal; font-size: .82rem; color: var(--p-muted); }

/* ---------- Agenda ---------- */
.p-agenda { max-width: 1000px; margin: 0 auto; text-align: center; }
.p-agenda p { color: var(--p-muted); }
.p-agenda-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.p-agenda-frame { margin-top: 1rem; border-radius: 12px; overflow: hidden; background: #fff; }
.p-agenda-frame iframe { display: block; width: 100%; height: 600px; border: 0; }

/* ---------- Liste simple "Et aussi" ---------- */
.p-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.p-link { display: block; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.1rem; color: #ddd; }
.p-link:hover { border-color: var(--p-accent); color: #fff; }
.p-link strong { display: block; color: #fff; margin-bottom: .2rem; }
.p-link span { font-size: .88rem; color: var(--p-muted); }

/* ---------- FAQ ---------- */
.p-faq { max-width: 820px; margin: 0 auto; display: grid; gap: .6rem; }
.p-faq details { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 10px; padding: .9rem 1.1rem; }
.p-faq summary { cursor: pointer; font-weight: 600; }
.p-faq p { color: #cfcfcf; margin: .6rem 0 0; }

/* ---------- Divers ---------- */
.p-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.p-docs a { display: flex; justify-content: space-between; gap: 1rem; background: var(--p-card-2); padding: .7rem .9rem; border-radius: 8px; color: #ddd; }
.p-docs a:hover { color: var(--p-accent); }
.p-trombi { width: 100%; height: auto; border-radius: 8px; margin-top: .5rem; }
.p-notice { max-width: 900px; margin: 0 auto 1.5rem; padding: .9rem 1.1rem; border: 1px solid var(--p-warn); border-radius: 10px; background: #1b1107; color: #f3d2bb; }
.p-notice strong { color: var(--p-warn); }

@media (max-width: 560px) {
  .p-prices.is-compact { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .p-prices.is-compact .p-price { padding: .8rem .6rem; }
  .p-prices.is-compact .p-price-amount { font-size: 1.6rem; }
}
