/* =========================================================
   AILE THÉÂTRE — Design System
   ========================================================= */

:root {
  /* Palette */
  --ink:       #13111e;      /* fond scène */
  --ink-soft:  #1e1b2f;      /* hover nav */
  --burg:      #8B1A3B;      /* bordeaux velours */
  --burg-lt:   #a92247;      /* hover boutons */
  --gold:      #C9A84C;      /* or spotlight */
  --gold-lt:   #e0c06a;
  --cream:     #F5F0E8;      /* texte sur fond foncé */
  --stone:     #d4cdc0;      /* texte secondaire sur foncé */
  --paper:     #FAFAF8;      /* sections claires */
  --paper-alt: #f1ede6;      /* alternance */
  --border:    rgba(201,168,76,.2);
  --muted:     #6b6578;

  /* Typo */
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;

  /* Spacing */
  --gap:       clamp(1.5rem, 4vw, 3rem);
  --section:   clamp(4rem, 8vw, 7rem);
  --radius:    4px;

  /* Transitions */
  --ease:      cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Utilities ──────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 3rem); }
.container--wide { max-width: 1300px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 3rem); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.scrolled {
  background: rgba(19, 17, 30, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: .03em;
}
.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: .875rem;
  color: var(--stone);
  transition: color .2s;
  letter-spacing: .01em;
}
.nav__links a:hover { color: var(--cream); }
.nav__links a.active { color: var(--cream); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.25rem;
  background: var(--burg);
  color: var(--cream) !important;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s;
}
.nav__cta:hover { background: var(--burg-lt) !important; }

.nav__cta-b2b {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.nav__cta-b2b:hover { background: var(--gold); color: var(--ink) !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform .3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--ink);
  padding: 1.5rem clamp(1rem, 5vw, 3rem) 2rem;
  border-top: 1px solid var(--border);
  gap: 1.25rem;
}
.nav__mobile a {
  color: var(--stone);
  font-size: 1rem;
}
.nav__mobile a:hover { color: var(--cream); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem clamp(1rem, 5vw, 3rem) 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(139,26,59,.25), transparent),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(201,168,76,.08), transparent);
  pointer-events: none;
}
.hero__inner {
  max-width: 1100px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .7s var(--ease) .1s forwards;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero__eyebrow-text {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--cream);
  max-width: 900px;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .25s forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  margin-top: 1.75rem;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--stone);
  max-width: 550px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .4s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .55s forwards;
}
.hero__quote {
  position: absolute;
  bottom: 3rem;
  right: clamp(1rem, 5vw, 3rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--muted);
  max-width: 300px;
  text-align: right;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1s forwards;
}
.hero__quote cite {
  display: block;
  margin-top: .5rem;
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--gold);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: all .2s var(--ease);
  line-height: 1;
}
.btn--primary {
  background: var(--burg);
  color: var(--cream);
}
.btn--primary:hover { background: var(--burg-lt); transform: translateY(-1px); }
.btn--outline {
  border: 1px solid rgba(245,240,232,.3);
  color: var(--cream);
}
.btn--outline:hover { border-color: var(--cream); background: rgba(245,240,232,.06); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.btn--gold:hover { background: var(--gold-lt); }

/* ── SECTION SHARED ─────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section--dark { background: var(--ink); }
.section--alt { background: var(--paper-alt); }
.section__label {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.section__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.section__label--gold { color: var(--gold); }
.section__label--burg { color: var(--burg); }
.section__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
}
.section__title--light { color: var(--cream); }
.section__intro {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
}
.section__intro--light { color: var(--stone); }

/* ── ATELIERS GRID ──────────────────────────────────────── */
.ateliers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  margin-top: 3.5rem;
  border: 1.5px solid var(--border);
}
.atelier {
  padding: 2.5rem;
  background: var(--paper);
  position: relative;
  transition: background .25s;
}
.atelier::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2.5rem; right: 2.5rem;
  height: 3px;
  background: transparent;
  transition: background .25s;
}
.atelier:hover { background: #f7f2ea; }
.atelier:hover::after { background: var(--burg); }

.atelier__tag {
  display: inline-block;
  padding: .3rem .8rem;
  background: var(--ink);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.atelier__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.atelier__desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.atelier__meta {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .8rem;
  color: var(--muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-alt);
  margin-bottom: 1.5rem;
}
.atelier__meta strong { color: var(--ink); }
.atelier__price {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
}
.atelier__price span {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
}
.atelier__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--burg);
  transition: gap .2s;
}
.atelier__link:hover { gap: .85rem; }

/* ── ABOUT STRIP ─────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip__img {
  aspect-ratio: 4/5;
  background: var(--ink-soft);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.about-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}
.about-strip__img-credit {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: .7rem;
  color: rgba(245,240,232,.5);
}
.about-strip__refs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}
.ref-pill {
  padding: .35rem .9rem;
  border: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
  border-radius: 100px;
}

/* ── B2B BANNER ─────────────────────────────────────────── */
.b2b-banner {
  background: var(--ink);
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
}
.b2b-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,168,76,.12), transparent);
  pointer-events: none;
}
.b2b-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.b2b-banner__refs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.b2b-ref {
  padding: .3rem .85rem;
  border: 1px solid rgba(201,168,76,.25);
  font-size: .78rem;
  color: var(--stone);
  border-radius: 2px;
}

/* ── BLOG PREVIEW ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  border-top: 2px solid var(--paper-alt);
  padding-top: 1.5rem;
  transition: border-color .2s;
}
.blog-card:hover { border-color: var(--burg); }
.blog-card__date { font-size: .75rem; color: var(--muted); margin-bottom: .75rem; }
.blog-card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .75rem;
  transition: color .2s;
}
.blog-card:hover .blog-card__title { color: var(--burg); }
.blog-card__excerpt { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--burg);
}

/* ── RESERVATION ─────────────────────────────────────────── */
.reservation {
  background: var(--paper-alt);
  padding: var(--section) 0;
}
.reservation__widget {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reservation__placeholder {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}
.reservation__placeholder p { margin-top: .75rem; font-size: .9rem; }

/* ── CONTACT STRIP ───────────────────────────────────────── */
.contact-strip {
  background: var(--burg);
  padding: 4rem 0;
}
.contact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.contact-strip__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--cream);
}
.contact-strip__sub {
  margin-top: .4rem;
  font-size: .9rem;
  color: rgba(245,240,232,.7);
}
.contact-strip .btn--outline {
  border-color: rgba(245,240,232,.5);
}
.contact-strip .btn--outline:hover {
  background: rgba(245,240,232,.12);
  border-color: var(--cream);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #0d0b18;
  padding: 4rem 0 2rem;
  color: var(--muted);
  font-size: .875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer__brand span { color: var(--gold); }
.footer__tagline { line-height: 1.7; }
.footer__head {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
  opacity: .6;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer a { color: var(--muted); transition: color .2s; }
.footer a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: .78rem;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-strip__img { aspect-ratio: 3/2; }
  .b2b-banner__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.open { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__quote { display: none; }
  .contact-strip__inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
