/* =========================================================================
   /presse/ : espace presse d'oriq.fr (13/10/2026).
   Page generee par scripts/build-presse.mjs depuis scripts/presse.json.
   Classes prefixees pr- ; les jetons sont portes par .pr (le <main>), donc
   limites a la page : l'en-tete et le pied restent ceux du site.
   Direction : editoriale. Titres en Crimson Pro comme l'accueil, filets fins,
   une « une » qui chevauche le hero, l'archive en chronologie.
   ========================================================================= */
.pr {
  --bg: #ffffff;
  --surface-2: #f3f6fa;
  --line: #e6eaf1;
  --line-strong: #cfd6e2;
  --text: #13233f;
  --text-soft: #3b4356;
  --text-muted: #59637a;
  --brand: #0066FF;
  --brand-strong: #0052CC;
  --brand-soft: rgba(0, 102, 255, 0.08);
  --coral: #FF5140;
  --dark: #0A1228;
  --dark-2: #070D1F;
  --on-dark: #E8EEF9;
  --on-dark-soft: #AFBBD2;
  --on-dark-accent: #7FB0FF;
  --serif: "Crimson Pro", Georgia, serif;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
}
:where(.pr) a { color: var(--brand); }
.pr :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.pr svg { display: block; flex: none; }
.pr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pr *, .pr *::before, .pr *::after { transition: none !important; } }

.pr-wrap { width: min(1160px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
/* Meme colonne que le reste de la page, texte limite a 900px et cale a gauche. */
.pr-wrap--narrow > * { max-width: 900px; }
.pr-sec { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.pr-sec--alt { background: var(--surface-2); }

.pr-eyebrow {
  margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--on-dark-accent);
}
.pr-eyebrow--ink { color: var(--brand); }
.pr-h1, .pr-h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.pr-h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); line-height: 1.1; color: var(--text); max-width: 22ch; }
.pr-lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; max-width: 60ch; margin: 1.1rem 0 0; }
.pr-note { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; margin: 1rem 0 0; max-width: 64ch; }

/* ------------------------------ hero --------------------------------------- */
.pr-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(0, 102, 255, 0.35), transparent 70%),
    radial-gradient(1.2px 1.2px at 1px 1px, rgba(175, 187, 210, 0.22) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--dark), var(--dark-2));
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(9rem, 7rem + 8vw, 14rem);
}
.pr-h1 { font-size: clamp(2.8rem, 1.8rem + 4.6vw, 5.6rem); line-height: 1; color: #fff; }
.pr-h1 em { font-style: italic; color: var(--on-dark-accent); }
.pr-hero .pr-lead { color: var(--on-dark-soft); }
.pr-ancres { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.pr-ancres a {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(232, 238, 249, 0.22); background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pr-ancres a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(232, 238, 249, 0.45); }
.pr-ancres b { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.8rem; }

/* ------------------------------ a la une ----------------------------------- */
.pr-sec--une { padding-top: 0; }
.pr-une {
  position: relative; z-index: 1; margin-top: calc(-1 * clamp(7rem, 5.5rem + 6vw, 11rem));
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: stretch;
  background: #fff; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(10, 18, 40, 0.45), 0 2px 6px rgba(10, 18, 40, 0.06);
}
.pr-une__media { display: block; background: var(--dark); overflow: hidden; }
.pr-une__pic, .pr-une__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-une__pic img { transition: transform 0.8s var(--ease); }
.pr-une:hover .pr-une__pic img { transform: scale(1.025); }
.pr-une__txt { padding: clamp(1.6rem, 1rem + 2.4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.pr-une__src { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; color: var(--text-soft); }
.pr-une__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 81, 64, 0.15); }
.pr-une__titre { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.12; margin: 0; }
.pr-une__titre a { color: var(--text); text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--ease); }
.pr-une__titre a:hover { background-size: 100% 2px; }
.pr-une__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.pr-une__chapo { margin: 0.2rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--brand); }
.pr-une__chapo p { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--text-soft); }
.pr-une .pr-btn { align-self: flex-start; margin-top: auto; }

.pr-badge {
  display: inline-flex; align-items: center; padding: 0.22rem 0.6rem; border-radius: 6px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--brand-soft); color: var(--brand-strong); white-space: nowrap;
}
.pr-badge--partenaire { background: #fff4e5; color: #8a4b00; }

.pr-sujets { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.pr-sujets li { font-size: 0.82rem; font-weight: 600; color: var(--text-soft); padding: 0.28rem 0.65rem; border-radius: 999px; border: 1px solid var(--line-strong); }

/* ------------------------------ boutons ------------------------------------ */
.pr-btn {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.3rem; border-radius: 12px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pr-btn svg { width: 1.05em; height: 1.05em; }
:where(.pr) .pr-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 102, 255, 0.7); }
.pr-btn--primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.pr-btn--primary:active { transform: translateY(0); }
:where(.pr) .pr-btn--ghost { color: var(--on-dark); border-color: rgba(232, 238, 249, 0.3); }
.pr-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ------------------------------ archive ------------------------------------ */
.pr-annee { margin-top: 2.6rem; }
.pr-annee__h { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.4rem; color: var(--text-muted); }
.pr-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.pr-item {
  position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1.4rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line-strong);
}
.pr-item__date { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); padding-top: 0.25rem; }
.pr-item__src { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.45rem; font-weight: 700; font-size: 0.9rem; color: var(--text-soft); }
.pr-item__titre { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin: 0 0 0.75rem; }
.pr-item__titre a { color: var(--text); text-decoration: none; }
.pr-item__titre a::after { content: ""; position: absolute; inset: 0; }
.pr-item__fleche { align-self: center; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.pr-item__fleche svg { width: 1.1rem; height: 1.1rem; }
.pr-item:hover .pr-item__titre a { color: var(--brand); }
.pr-item:hover .pr-item__fleche { background: var(--brand); color: #fff; border-color: var(--brand); transform: rotate(-8deg); }
.pr-item:focus-within { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.pr-item:focus-within .pr-item__titre a:focus-visible { outline: none; }

/* ------------------------------ kit ---------------------------------------- */
.pr-kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.4rem; }
.pr-carte { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }
.pr-carte--large { grid-column: 1 / -1; }
.pr-carte h3 { font-family: var(--serif); font-size: 1.45rem; margin: 0 0 1rem; }
.pr-carte__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pr-presentation { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.6; color: var(--text-soft); max-width: 75ch; }
.pr-copier {
  font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; color: var(--brand-strong);
  background: var(--brand-soft); border: 1px solid transparent; border-radius: 10px; padding: 0.5rem 0.9rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pr-copier:hover { border-color: var(--brand); }
.pr-fiche { margin: 0; display: grid; gap: 0; }
.pr-fiche div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.pr-fiche div:last-child { border-bottom: 0; }
.pr-fiche dt { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.pr-fiche dd { margin: 0; color: var(--text); }
.pr-regles { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.75rem; line-height: 1.55; color: var(--text-soft); }
.pr-regles b { color: var(--text); }
.pr-fichiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.pr-fichiers a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 0.8rem 0.6rem;
  padding: 0.8rem; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.pr-fichiers a:hover { border-color: var(--brand); box-shadow: 0 14px 30px -20px rgba(0, 102, 255, 0.6); transform: translateY(-2px); }
.pr-fichiers img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--surface-2); border-radius: 10px; }
.pr-fichiers span { display: grid; gap: 0.15rem; }
.pr-fichiers small { color: var(--text-muted); font-size: 0.82rem; }
.pr-fichiers svg { width: 1.25rem; height: 1.25rem; align-self: center; color: var(--brand); }

/* ------------------------------ contact ------------------------------------ */
.pr-sec--sombre { background: linear-gradient(135deg, var(--dark), #0d1d48); color: var(--on-dark); }
.pr-sec--sombre .pr-h2 { color: #fff; max-width: 24ch; }
.pr-sec--sombre .pr-lead { color: var(--on-dark-soft); }
.pr-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: end; }
.pr-contact__actions { display: flex; flex-direction: column; gap: 0.7rem; }

/* ------------------------------ faq ---------------------------------------- */
.pr-faq { margin-top: 2rem; border-top: 2px solid var(--text); }
.pr-faq details { border-bottom: 1px solid var(--line-strong); }
.pr-faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: rotate 0.25s var(--ease); }
.pr-faq details[open] summary::after { rotate: 45deg; }
.pr-faq p { margin: 0 0 1.3rem; line-height: 1.65; color: var(--text-soft); max-width: 70ch; }

/* ------------------------------ responsive --------------------------------- */
@media (max-width: 900px) {
  .pr-une { grid-template-columns: 1fr; }
  .pr-une__media { aspect-ratio: 1270 / 794; }
  .pr-kit { grid-template-columns: 1fr; }
  .pr-fichiers { grid-template-columns: 1fr; }
  .pr-contact { grid-template-columns: 1fr; align-items: start; }
  .pr-contact__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .pr-item { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .pr-item__fleche { display: none; }
  .pr-fiche div { grid-template-columns: 1fr; gap: 0.15rem; }
  .pr-une .pr-btn { align-self: stretch; justify-content: center; }
}
