/* =========================================================
   CIRKUL'R — STYLE GÉNÉRAL DU SITE
   Chargé sur TOUTES les pages.
   Contient : tokens de couleur/police, reset de base,
   bandeau, menu de navigation, pied de page, boutons,
   texte d'accroche, bloc "qui sommes-nous" résumé.

   Les styles propres à une seule page (Contact, Agenda,
   Mentions légales, Sygne, Pirak, Klimt, Qui sommes-nous)
   vivent dans leur propre fichier CSS, chargé en plus de
   celui-ci sur la page concernée.
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS (variables de couleur, police, dimensions)
   --------------------------------------------------------- */

@font-face{
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Jost';
  src: url('../fonts/jost-v20-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Jost';
  src: url('../fonts/jost-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Jost';
  src: url('../fonts/jost-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cinzel';
  src: url('../fonts/cinzel-v26-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cinzel';
  src: url('../fonts/cinzel-v26-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cinzel';
  src: url('../fonts/cinzel-v26-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cinzel';
  src: url('../fonts/cinzel-v26-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Pirata One';
  src: url('../fonts/pirata-one-v23-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Marcellus';
  src: url('../fonts/marcellus-v14-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'IM Fell English';
  src: url('../fonts/im-fell-english-v14-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: 'Cinzel Decorative';
  src: url('../fonts/cinzel-decorative-v19-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Cinzel Decorative';
  src: url('../fonts/cinzel-decorative-v19-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Almendra';
  src: url('../fonts/almendra-v28-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Almendra';
  src: url('../fonts/almendra-v28-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root{
  --nuit-profond:   #0a0e17;
  --nuit-metal:     #12161f;
  --bronze:         #a9743f;
  --bronze-clair:   #c9985f;
  --or:             #d9b360;
  --or-vif:         #e8c878;
  --parchemin:      #f3e9d6;

  --font-display:   'Cinzel', Georgia, 'Times New Roman', serif;
  --font-corps:     'Cormorant Garamond', Georgia, serif;

  --hauteur-menu: 68px;
}

/* ---------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------- */
*{ box-sizing: border-box; margin: 0; padding: 0; }

html{ scroll-behavior: smooth; }

body{
  background: var(--nuit-profond);
  color: var(--parchemin);
  font-family: var(--font-corps);
  -webkit-font-smoothing: antialiased;
}

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

a{ text-decoration: none; color: inherit; }

/* Texte visible uniquement par les lecteurs d'écran / SEO */
.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* ---------------------------------------------------------
   3. BANDEAU (image d'en-tête)
   --------------------------------------------------------- */
.banniere{
  width: 100%;
  line-height: 0; /* évite l'espace fantôme sous l'image */
  background: var(--nuit-profond);
  overflow: hidden;
}

.banniere__image{
  width: 100%;
  height: clamp(120px, 20vw, 300px);
  object-fit: cover;
  object-position: center 65%;
}

/* ---------------------------------------------------------
   4. MENU DE NAVIGATION (sticky)
   --------------------------------------------------------- */
.menu{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hauteur-menu);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0d1119 0%, #090c12 100%);
  border-bottom: 1px solid rgba(217, 179, 96, 0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.menu__liste{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  padding: 0 20px;
}

.menu__lien{
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.72rem, 1.1vw, 0.95rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or);
  padding: 6px 2px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.menu__lien::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--or-vif);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.menu__lien:hover,
.menu__lien:focus-visible{
  color: var(--or-vif);
}

.menu__lien:hover::after,
.menu__lien:focus-visible::after{
  transform: scaleX(1);
}

.menu__lien--actif{
  color: var(--or-vif);
}

.menu__lien--actif::after{
  transform: scaleX(1);
}

.menu__lien:focus-visible{
  outline: 1px solid var(--or-vif);
  outline-offset: 4px;
}

@media (max-width: 640px){
  .menu__liste{ gap: 14px 20px; }
  .menu{ height: auto; padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce){
  .menu__lien::after{ transition: none; }
}

/* ---------------------------------------------------------
   5. SOUS-MENU SPECTACLES (Pirak / Sygne / Klimt)
   Structure commune, réutilisée par les 3 pages spectacle.
   Les couleurs propres à chaque lien (--pirak/--sygne/--klimt)
   sont redéfinies dans le CSS de la page correspondante.
   --------------------------------------------------------- */
.sous-menu{
  position: static;
  background: #000000;
  border-bottom: 1px solid rgba(217,179,96,0.15);
  padding: 6px 20px;
}

.sous-menu--encadre{
  border-top: 1px solid rgba(217,179,96,0.15);
}

.sous-menu__liste{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 6vw, 90px);
  flex-wrap: wrap;
}

.sous-menu__lien{
  text-decoration: none;
  transition: opacity 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.sous-menu__lien:hover{ opacity: 0.85; }

@media (max-width: 640px){
  .sous-menu__liste{ flex-direction: column; gap: 26px; }
}

/* ---------------------------------------------------------
   6. PIED DE PAGE
   --------------------------------------------------------- */
.pied-de-page{
  background: var(--nuit-metal);
  border-top: 1px solid rgba(217,179,96,0.2);
  padding: clamp(30px, 5vw, 48px) 20px;
  text-align: center;
}

.pied-de-page p{
  margin: 0.3em 0;
  font-family: var(--font-corps);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(243,233,214,0.7);
}

.pied-de-page a{
  color: var(--or);
  transition: color 0.3s ease;
}

.pied-de-page a:hover,
.pied-de-page a:focus-visible{
  color: var(--or-vif);
}

/* Variante utilisée par Sygne / Pirak / Klimt (mêmes styles, nom différent) */
.site-footer{
  background: var(--nuit-profond);
  border-top: 1px solid rgba(217,179,96,0.15);
  padding: 2.6rem 6vw 3rem;
  text-align: center;
}

.site-footer p{
  margin: 0.25rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(243,233,214,0.7);
}

.site-footer a{
  color: var(--or);
  transition: color 0.3s ease;
}

.site-footer a:hover{
  color: var(--or-vif);
}

/* ---------------------------------------------------------
   7. BOUTONS
   --------------------------------------------------------- */
.bouton{
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9em 1.8em;
  border: 1px solid var(--or);
  color: var(--or-vif);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bouton--or:hover,
.bouton--or:focus-visible{
  background: var(--or);
  color: var(--nuit-profond);
  border-color: var(--or);
}

/* ---------------------------------------------------------
   8. TEXTE D'ACCROCHE (page d'accueil)
   --------------------------------------------------------- */
.accroche{
  padding: clamp(50px, 8vw, 100px) clamp(20px, 8vw, 140px);
  background: var(--nuit-profond);
  text-align: center;
}

.accroche__texte{
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.5;
  color: var(--parchemin);
}

/* ---------------------------------------------------------
   9. BLOC "QUI SOMMES-NOUS" — résumé discret (page d'accueil)
   --------------------------------------------------------- */
.presentation-courte{
  padding: 0 clamp(20px, 8vw, 140px) clamp(70px, 9vw, 120px);
  background: var(--nuit-profond);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(217,179,96,0.18);
  padding-top: clamp(40px, 6vw, 60px);
}

.presentation-courte__texte{
  font-family: var(--font-corps);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.6;
  color: rgba(243,233,214,0.85);
  margin-bottom: 1.2em;
}

.lien-discret{
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  border-bottom: 1px solid var(--or);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.lien-discret:hover,
.lien-discret:focus-visible{
  color: var(--or-vif);
  border-color: var(--or-vif);
}

/* ---------------------------------------------------------
   10. BANNIÈRE VIDÉO / TEASER SYGNE (page d'accueil)
   --------------------------------------------------------- */
.sygne-teaser{
  position: relative;
  width: 100%;
  height: clamp(340px, 62vw, 640px);
  overflow: hidden;
  background: var(--nuit-profond);
}

.sygne-teaser__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* La photo du diaporama ne doit jamais être rognée : fond noir si besoin */
img.sygne-teaser__media{
  object-fit: contain;
  background: #000;
}

.sygne-teaser__voile{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,9,15,0.15) 0%, rgba(6,9,15,0.35) 55%, rgba(6,9,15,0.88) 100%);
}

.sygne-teaser__contenu{
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: clamp(24px, 5vw, 56px);
  z-index: 2;
  text-align: right;
  max-width: 520px;
}

.sygne-teaser__titre{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchemin);
  text-shadow: 0 0 30px rgba(159,232,255,0.35);
  line-height: 1;
  margin-bottom: 0.4em;
}

.sygne-teaser__ligne{
  font-family: var(--font-corps);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--or-vif);
  letter-spacing: 0.02em;
}

.sygne-teaser__contenu .bouton{
  margin-top: 1.3em;
}

@media (max-width: 640px){
  .sygne-teaser__contenu{
    right: 16px;
    left: 16px;
    bottom: 20px;
    text-align: left;
    max-width: none;
  }
}

/* =========================================================
   PAGE 404
   ========================================================= */
.error-404{
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(50px, 10vw, 100px) clamp(20px, 6vw, 40px);
}
 
.error-404__code{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 8rem);
  letter-spacing: 0.06em;
  color: var(--or);
  text-shadow: 0 0 30px rgba(217,179,96,0.25);
  line-height: 1;
  margin-bottom: 0.3em;
}
 
.error-404__titre{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--parchemin);
  margin-bottom: 0.6em;
}
 
.error-404__texte{
  font-family: var(--font-corps);
  font-size: 1.1rem;
  color: rgba(243,233,214,0.75);
  max-width: 46ch;
  margin-bottom: 2em;
}
 