/* ═══════════════════════════════════════════════════════════════════════
   EPICEL — feuille de style des pages autonomes (annulation, confidentialité)
   Reprend les mêmes jetons que index.html, sans dupliquer tout le site.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --cream: #f7eae6;  --beige: #f1d8d1;  --sand: #eac3b8;
  --rose:  #8E5872;  --rose-light: #DBB4C2;  --rose-dark: #7B4762;
  --brown: #4C3040;  --ink: #2A1C22;  --muted: #77606A;  --white: #faf2f0;
  --line: rgba(150, 99, 76, .16);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Alias pour que .epb-btn & co. fonctionnent hors du panneau. */
  --epb-cream: var(--cream); --epb-beige: var(--beige); --epb-sand: var(--sand);
  --epb-rose: var(--rose);   --epb-dark: var(--rose-dark); --epb-ink: var(--ink);
  --epb-muted: var(--muted); --epb-white: var(--white);   --epb-line: var(--line);
  --epb-serif: var(--serif); --epb-sans: var(--sans);
  --epb-r: var(--radius);    --epb-ease: var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html[data-lang="fr"] [data-lang="de"],
html[data-lang="de"] [data-lang="fr"] { display: none !important; }

.p-head {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.p-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .18em;
  color: var(--rose-dark);
  text-decoration: none;
}

.p-lang { display: flex; gap: 2px; }
.p-lang button {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .1em;
  cursor: pointer;
}
.p-lang button[aria-pressed="true"] {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}

.p-main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}

.p-card {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(43, 30, 22, .05), 0 2px 8px rgba(43, 30, 22, .04);
}

.p-main h1 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 1.15;
}

.p-main h2 {
  margin: 32px 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.28rem;
}

.p-main p, .p-main li { color: var(--muted); font-size: .94rem; }
.p-main strong { color: var(--ink); font-weight: 400; }
.p-main a { color: var(--rose-dark); }

.p-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
}

.p-foot {
  padding: 26px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}
.p-foot a { color: var(--rose-dark); margin: 0 9px; }

:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 2px; }

.p-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
