/* Atypik Théâtre : noir, orange, slogan et chiffres en Bebas Neue, titres en Oswald minuscules */
:root {
  --orange: #e44607;
  --noir: #0b0b0b;
  --creme: #f6f1ea;
  --blanc: #ffffff;
  --gris: #8a8580;
  --titre: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--texte); font-size: 17px; line-height: 1.6; color: var(--noir); background: var(--noir); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; }

.conteneur { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3, .carte-jour, .accroche { font-family: var(--titre); font-weight: 400; line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); margin-bottom: 24px; }
.surtitre { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.intro { max-width: 720px; font-size: 1.1rem; margin-bottom: 56px; }

/* Boutons */
.btn { display: inline-block; padding: 14px 26px; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center; border: 2px solid transparent; transition: transform 0.15s, background 0.15s, color 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-plein { background: var(--orange); color: var(--blanc); }
.btn-plein:hover { background: var(--blanc); color: var(--noir); }
.btn-contour { border-color: currentColor; }
.btn-contour:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }

/* Menu */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 32px; padding: 14px 28px; transition: background 0.25s; }
.nav-pleine { background: rgba(11, 11, 11, 0.94); backdrop-filter: blur(8px); }
.nav-logo img { height: 46px; width: auto; }
.nav-liens { display: flex; gap: 28px; margin-left: auto; }
.nav-liens a { color: var(--blanc); text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-liens a:hover { color: var(--orange); }
.nav-cta { padding: 10px 20px; }

/* Hero */
.hero { position: relative; height: min(100svh, 1000px); min-height: 620px; display: flex; align-items: flex-end; color: var(--blanc); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: grayscale(1) contrast(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.15) 35%, rgba(11,11,11,0.92) 100%); }
.hero-contenu { position: relative; z-index: 1; width: min(1180px, 100% - 40px); margin-inline: auto; padding: 140px 0 72px; }
.hero h1 { font-size: clamp(3.6rem, 12.5vw, 11rem); line-height: 0.86; margin-bottom: 28px; }
.hero h1 em { color: var(--orange); }
.hero-texte { max-width: 600px; font-size: 1.2rem; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-contour:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }

/* Lettre de Shawna */
.lettre { background: var(--orange); padding: 110px 0; }
.lettre .surtitre { color: var(--noir); }
.lettre-grille { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
.lettre-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.accroche { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.accroche.fort { color: var(--blanc); margin: 14px 0 36px; }
.lettre-texte > p:not(.surtitre):not(.accroche) { max-width: 620px; font-size: 1.12rem; font-weight: 500; margin-bottom: 18px; }
.citation cite { display: block; margin-top: 8px; font-family: var(--texte); font-style: normal; font-size: 0.85rem; text-transform: none; letter-spacing: 0; color: var(--noir); }
.citation { max-width: 620px; margin: 24px 0 8px; padding-left: 20px; border-left: 4px solid var(--blanc); font-family: var(--titre); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.05; text-transform: uppercase; color: var(--blanc); }
.signature strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1.1; margin-top: 28px; }
.signature span { font-size: 0.9rem; }
.complices { display: flex; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--noir); max-width: 620px; }
.complices img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.complices img + img { margin-left: -12px; }
.complices p { margin-left: 16px; font-size: 0.95rem; font-weight: 500; }

/* Blocs */
.bloc { padding: 110px 0; }
.cours { background: var(--creme); }
.agenda { background: var(--noir); color: var(--blanc); }

/* Cartes des cours */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.carte { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 2px solid var(--noir); padding: 64px 28px 28px; }
.carte-jour { font-size: clamp(3.4rem, 6vw, 5rem); }
.carte h3 { font-size: 1.9rem; color: var(--orange); margin-bottom: 14px; }
.carte-texte { margin-bottom: 28px; }
.carte .btn { margin-top: auto; }
.etiquette { position: absolute; top: 0; left: 0; padding: 7px 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--noir); color: var(--blanc); }
.est-ouvert { background: var(--noir); color: var(--blanc); }
.est-ouvert .etiquette { background: var(--orange); }
.est-complet .carte-jour { color: var(--gris); }

/* Spectacle de fin d'année : photo pleine largeur, texte posé dessus */
.spectacle { position: relative; color: var(--blanc); background: var(--noir); }
.spectacle img { width: 100%; height: min(78vh, 720px); object-fit: cover; object-position: center 45%; }
.spectacle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0.85) 0%, rgba(11,11,11,0.35) 45%, rgba(11,11,11,0) 70%); }
.spectacle-texte { position: absolute; z-index: 1; left: max(20px, calc((100% - 1180px) / 2)); right: 20px; top: 56px; max-width: 560px; }
.spectacle-texte h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.spectacle-texte p:not(.surtitre) { font-size: 1.1rem; }

/* Candidature vidéo (fenêtre) */
.candidature { width: min(560px, calc(100% - 40px)); margin: auto; border: 0; padding: 40px; background: var(--creme); color: var(--noir); }
.candidature::backdrop { background: rgba(11, 11, 11, 0.75); }
.candidature h3 { font-size: 2.4rem; margin-bottom: 14px; }
.candidature p { margin-bottom: 14px; }
.candidature ol { margin: 0 0 18px 22px; font-weight: 700; }
.candidature ol li { margin-bottom: 4px; }
.candidature .btn { margin-top: 6px; }
.candidature-adresse { font-size: 0.9rem; color: var(--gris); margin-top: 14px; }
.candidature-adresse span { color: var(--noir); font-weight: 700; user-select: all; }
.secours pre { white-space: pre-wrap; font-family: var(--texte); font-size: 0.9rem; background: var(--blanc); padding: 14px 16px; border-left: 3px solid var(--orange); max-height: 220px; overflow: auto; }
.secours-note { font-size: 0.85rem; color: var(--gris); margin-top: 18px; }
.secours-copier { padding: 8px 14px; font-size: 0.78rem; margin-left: 6px; }
.candidature-fermer { position: absolute; top: 10px; right: 14px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--noir); }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 36px; border-top: 2px solid var(--noir); }
.tarifs-titre { grid-column: 1 / -1; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.tarifs-liste { display: contents; }
.tarif { padding-left: 28px; border-left: 3px solid var(--orange); }
.tarif-prix { font-family: var(--titre); font-size: 4.6rem; line-height: 0.95; }
.tarif-prix small { font-size: 1.5rem; color: var(--orange); }
.tarif p:last-child { font-weight: 700; margin-top: 4px; }
.tarifs-note { grid-column: 1 / -1; font-size: 0.9rem; color: var(--gris); }

/* Partenaires : logos */
.logos { grid-area: logos; display: flex; flex-direction: column; align-items: flex-start; gap: 44px; justify-self: center; }
.logos img { height: 96px; width: auto; }

/* Agenda : Mohamed Belhamar en vedette */
.vedette { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.vedette img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% 0%; filter: grayscale(1); }
.vedette h2 { margin-bottom: 8px; }
.vedette .role { margin-bottom: 20px; }
.vedette p:not(.role) { max-width: 560px; font-size: 1.08rem; margin-bottom: 14px; }
.vedette em { font-style: italic; }

/* Agenda */
.evenement { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.25); }
.evenement:last-child { border-bottom: 1px solid rgba(255,255,255,0.25); }
.evenement-date { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; }
.evenement-date span { display: block; font-family: var(--titre); font-size: 4.6rem; line-height: 0.9; letter-spacing: 0; color: var(--orange); white-space: nowrap; }
.evenement-type { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.evenement h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.evenement-sous { font-weight: 700; margin: 4px 0 12px; }
.evenement ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 16px; }
.evenement li { padding: 5px 12px; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; font-size: 0.85rem; }
.agenda-vide { font-size: 1.2rem; }
.agenda-vide a { color: var(--orange); }

/* Galerie */
.galerie { background: var(--noir); padding-bottom: 72px; }
.galerie-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 6px; }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.3s; }
.galerie img:hover { filter: none; }
.galerie img:nth-child(1) { object-position: 22% center; }
.galerie img:nth-child(2) { object-position: 62% center; }
.galerie img:nth-child(4) { object-position: 82% center; }
.legende { margin-top: 14px; font-size: 0.85rem; color: var(--gris); }

/* Questions fréquentes */
.faq { background: var(--creme); padding: 110px 0; }
.faq-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin-top: 16px; }
.faq dt { font-family: var(--titre); font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; margin-bottom: 8px; }
.faq dd { font-size: 1rem; }

/* Atypik grandit */
.grandir { background: var(--orange); padding: 100px 0; }
.grandir .conteneur { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-areas: "surtitre logos" "titre logos" "texte logos" "bouton logos"; column-gap: 64px; align-items: center; }
.grandir .surtitre { grid-area: surtitre; }
.grandir h2 { grid-area: titre; }
.grandir p:not(.surtitre) { grid-area: texte; }
.grandir .btn { grid-area: bouton; justify-self: start; }
.grandir .surtitre { color: var(--noir); }
.grandir h2 { color: var(--blanc); }
.grandir p:not(.surtitre) { max-width: 700px; font-size: 1.15rem; font-weight: 500; margin-bottom: 32px; }
.grandir .btn-plein { background: var(--noir); }

/* Pied */
.pied { background: var(--noir); color: var(--blanc); padding: 72px 0 80px; }
.pied-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.pied-logo { width: 240px; }
.pied h3 { font-size: 1.4rem; color: var(--orange); margin-bottom: 10px; }
.pied-liens { display: flex; gap: 12px; }
.pied-liens a { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--blanc); border-radius: 50%; transition: background 0.15s, border-color 0.15s; }
.pied-liens a:hover { background: var(--orange); border-color: var(--orange); }
.pied-liens svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pied-bas { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.82rem; color: var(--gris); }

/* Tablette et téléphone */
@media (max-width: 960px) {
  .nav-liens { display: none; }
  .nav { justify-content: space-between; padding: 12px 20px; }
  .nav-logo img { height: 40px; }
  .cartes, .lettre-grille, .pied-grille, .tarifs { grid-template-columns: 1fr; }
  .grandir .conteneur { grid-template-columns: 1fr; grid-template-areas: "surtitre" "titre" "texte" "bouton" "logos"; }
  .logos { flex-direction: row; flex-wrap: wrap; justify-self: start; gap: 28px 40px; margin-top: 40px; }
  .logos img { height: 70px; }
  .lettre-grille { gap: 36px; }
  .lettre-portrait img { aspect-ratio: 1 / 1; object-position: center 20%; }
  .galerie-photos { grid-template-columns: repeat(2, 1fr); }
  .evenement { grid-template-columns: 1fr; gap: 20px; }
  .evenement .btn { justify-self: start; }
  .bloc, .lettre, .grandir, .faq { padding: 72px 0; }
  .candidature { padding: 32px 24px 28px; }
  .candidature h3 { font-size: 2rem; }
  .faq-liste { grid-template-columns: 1fr; gap: 28px; }
  .spectacle img { object-position: center 70%; }
  .spectacle-texte { top: 32px; }
  .vedette { grid-template-columns: 1fr; gap: 28px; }
  .vedette img { max-width: 340px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-contenu { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Titres en minuscules (Oswald) : seuls le slogan, les jours, les prix et les dates restent en capitales Bebas */
h2, h3, .accroche, .citation, .evenement h3, .vedette h2, .spectacle-texte h2, .grandir h2, .pied h3, .carte h3 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; text-transform: none; letter-spacing: -0.01em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.accroche { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.citation { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 400; }
.carte h3 { font-size: 1.3rem; letter-spacing: 0.02em; }
.evenement h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.signature strong { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: none; font-size: 1.5rem; }
.pied h3 { font-size: 1.1rem; }
.surtitre { letter-spacing: 0.14em; }
.spectacle-texte h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.faq dt { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: none; font-size: 1.25rem; }
