/* --- Réinitialisation & Variables Lumière --- */
:root {
  --bg-main: #fdfbf7;        /* Fond principal crème chaud */
  --bg-card: #ffffff;        /* Fond des cartes blanc pur */
  --bg-alt: #f4efe6;         /* Fond alternatif sable doux */
  --text-main: #1c1a17;      /* Texte sombre intense */
  --text-muted: #6b645c;     /* Texte secondaire adouci */
  --accent: #d97706;         /* Ambre / Or éclatant */
  --accent-light: #fef3c7;   /* Auréole / Éclat doux */
  --accent-hover: #b45309;   /* Ambre soutenu */
  --border-light: rgba(217, 119, 6, 0.15);
  --shadow-light: 0 10px 30px -5px rgba(217, 119, 6, 0.12);
  --font-title: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  /* Effet de lueur diffuse en haut de page */
  background-image: radial-gradient(circle at 50% 0%, #fef3c7 0%, transparent 60%);
  background-repeat: no-repeat;
}

h1, h2, h3 {
  font-family: var(--font-title);
  letter-spacing: 1px;
}

h2 {
  font-size: 2.3rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

/* Soulignement doré lumineux sous les titres */
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 12px auto 0;
  border-radius: 2px;
}

p {
  color: var(--text-muted);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
}

/* --- Barre de Navigation Lumineuse --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- Section Présentation --- */
#presentation .lead {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 500;
}

#presentation p {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
}

/* --- Section Spectacles --- */
.grid-spectacles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 35px;
}

.card-spectacle {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: var(--transition);
}

.card-spectacle:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-light);
  border-color: rgba(217, 119, 6, 0.4);
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.badge-subtle {
  background: var(--accent-light);
  color: var(--accent-hover);
  box-shadow: none;
}

.card-spectacle h3 {
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-spectacle .date {
  color: var(--accent);
  font-size: 0.92rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* --- Section La Troupe (Révélation lumineuse au survol) --- */
.grid-troupe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.comedien-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.comedien-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
  filter: brightness(0.98);
}

/* Survol : overlay ambré/lumineux translucide */
.comedien-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 26, 23, 0.95) 10%, rgba(217, 119, 6, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(3px);
}

.comedien-overlay h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.comedien-overlay p {
  font-size: 0.88rem;
  color: #fef3c7; /* Jaune très clair lisible */
  line-height: 1.5;
}

.comedien-card:hover img {
  transform: scale(1.06);
}

.comedien-card:hover .comedien-overlay {
  opacity: 1;
}

/* --- Section Contact --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info h3 {
  color: var(--text-main);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.contact-info ul {
  list-style: none;
  margin-top: 20px;
}

.contact-info li {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.contact-info strong {
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
  background-color: var(--bg-main);
  border: 1px solid #e5e0d8;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--accent-light);
}

.btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

/* --- Pied de page --- */
footer {
  text-align: center;
  padding: 35px 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-muted);
  background-color: var(--bg-main);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    gap: 20px;
  }
}