/* ——— Parhelion : socle partagé par toutes les pages ——— */

:root {
  --bg: #0F0D0A;
  --text: #F2EFE9;
  --accent: #C9A961;
  --accent-hover: #E0C689;

  --text-2: rgba(242, 239, 233, 0.72);
  --text-3: rgba(242, 239, 233, 0.5);
  --text-4: rgba(242, 239, 233, 0.45);

  --line: rgba(242, 239, 233, 0.10);
  --line-2: rgba(242, 239, 233, 0.14);
  --line-3: rgba(242, 239, 233, 0.16);

  --field: rgba(242, 239, 233, 0.04);
  --card-hover-bg: rgba(201, 169, 97, 0.05);
  --card-hover-line: rgba(201, 169, 97, 0.55);

  --error: #E08A8A;

  --serif: 'Cormorant Garamond', serif;
  --sans: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1180px;
  --pad: 40px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

/* Lien d'évitement, visible seulement au clavier */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9600;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  color: var(--bg);
}

/* Conteneur de contenu */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Chevron animé (hero, indices de défilement) */
@keyframes ph-cue {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(9px); opacity: 1; }
}

/* Pied de page commun */
footer {
  text-align: center;
  padding: 44px 20px 60px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-4);
}

footer p {
  margin-bottom: 8px;
}

footer p:last-child {
  margin-bottom: 0;
}

footer a {
  color: var(--text-4);
}

footer a:hover {
  color: var(--accent);
}

@media (max-width: 820px) {
  :root {
    --pad: 20px;
  }
}
