/* =========================================================
   lecoliseerome.fr — Feuille de style principale v1
   Palette : pierre chaude + accent GYG #e36344
   Polices : Cormorant Garamond (titres) + Jost (corps)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* --- Variables ------------------------------------------ */
:root {
  --pierre:       #f5f0e8;
  --pierre-dark:  #ede5d6;
  --travertin:    #c8b89a;
  --brique:       #8b5e3c;
  --brique-sombre:#5a3a22;
  --accent:       #e36344;
  --accent-hover: #c94e31;
  --texte:        #2e2418;
  --texte-leger:  #6b5642;
  --blanc:        #ffffff;
  --ombre:        rgba(46, 36, 24, 0.12);

  --font-titre:   'Cormorant Garamond', Georgia, serif;
  --font-corps:   'Jost', sans-serif;

  --rayon:        4px;
  --rayon-lg:     8px;
  --transition:   0.25s ease;
  --max-contenu:  1100px;
}

/* --- Reset & base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corps);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--texte);
  background: var(--pierre);
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* --- Typographie ---------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brique-sombre);
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-style: italic; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--travertin); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-top: 1.8rem; }

/* Premier H2 sans bordure */
.conteneur-article h2:first-of-type,
.section-contenu h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }

/* --- Layout général ------------------------------------- */
.conteneur { max-width: var(--max-contenu); margin: 0 auto; padding: 0 1.25rem; }

/* --- Header / Navigation -------------------------------- */
.entete {
  background: var(--brique-sombre);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.entete-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 64px;
  max-width: var(--max-contenu);
  margin: 0 auto;
}

.logo-site {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pierre);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-site:hover { color: var(--travertin); }

.nav-principale { display: flex; gap: 0; }
.nav-principale a {
  color: var(--pierre);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.nav-principale a:hover,
.nav-principale a.actif { color: var(--travertin); border-bottom-color: var(--accent); }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pierre);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* --- Hero section --------------------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brique-sombre);
}

.hero-fond {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transition: transform 0.1s linear;
}

.hero-voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(46, 36, 24, 0.88) 0%,
    rgba(46, 36, 24, 0.45) 50%,
    rgba(46, 36, 24, 0.15) 100%
  );
  z-index: 1;
}

.hero-contenu {
  position: relative;
  z-index: 2;
  max-width: var(--max-contenu);
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
  width: 100%;
}

.hero-etiquette {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--travertin);
  margin-bottom: 0.75rem;
}

.hero-contenu h1 {
  color: var(--blanc);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-sous-titre {
  color: rgba(245, 240, 232, 0.85);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 1.8rem;
}

/* --- Bouton CTA ----------------------------------------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--blanc) !important;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--rayon);
  border: 2px solid var(--accent);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-cta-contour {
  background: transparent;
  color: var(--accent) !important;
}
.btn-cta-contour:hover {
  background: var(--accent);
  color: var(--blanc) !important;
}

/* --- Section principale --------------------------------- */
.section-principale {
  padding: 4rem 0;
}

/* --- Layout article + sidebar --------------------------- */
.grille-article {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.conteneur-article p { color: var(--texte); }

/* --- Sidebar -------------------------------------------- */
.barre-laterale { position: sticky; top: 80px; }

.carte-reservation {
  background: var(--blanc);
  border: 1px solid var(--pierre-dark);
  border-radius: var(--rayon-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--ombre);
}

.carte-reservation .titre-carte {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  color: var(--brique-sombre);
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
  margin-top: 0;
}

.carte-reservation .sous-titre-carte {
  font-size: 0.82rem;
  color: var(--texte-leger);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--pierre-dark);
  padding-bottom: 1rem;
}

.carte-reservation .btn-cta { width: 100%; justify-content: center; margin-bottom: 0.75rem; }

.note-carte {
  font-size: 0.78rem;
  color: var(--texte-leger);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.badges-carte {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pierre-dark);
}

.badge {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: var(--pierre);
  color: var(--texte-leger);
  border: 1px solid var(--pierre-dark);
}

/* --- Listes -------------------------------------------- */
.conteneur-article ul,
.conteneur-article ol {
  margin: 0.75rem 0 1rem 0;
  padding-left: 1.4rem;
}
.conteneur-article li { margin-bottom: 0.4rem; }

/* Liste stylisée */
.liste-styled { list-style: none; padding-left: 0; }
.liste-styled li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--pierre-dark);
}
.liste-styled li:last-child { border-bottom: none; }
.liste-styled li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* --- Tableau mobile-friendly ---------------------------- */
.table-wrapper { overflow-x: auto; margin: 1rem 0; border-radius: var(--rayon-lg); box-shadow: 0 2px 10px var(--ombre); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--blanc);
  min-width: 320px;
}
thead {
  background: var(--brique-sombre);
  color: var(--pierre);
}
thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tbody tr { border-bottom: 1px solid var(--pierre-dark); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--pierre); }
tbody td { padding: 0.8rem 1rem; vertical-align: middle; }
tbody td:first-child { font-weight: 500; color: var(--brique-sombre); }

/* --- Bloc info encadré ---------------------------------- */
.bloc-info {
  background: var(--blanc);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--rayon-lg) var(--rayon-lg) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.bloc-info .titre-bloc {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--brique-sombre);
  margin-bottom: 0.5rem;
}

/* --- Section Tiqets ------------------------------------- */
.section-tiqets {
  background: var(--blanc);
  border: 1px solid var(--pierre-dark);
  border-radius: var(--rayon-lg);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 12px var(--ombre);
}
.section-tiqets .entete-tiqets {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.logo-tiqets-badge {
  background: #00b4db;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--rayon);
  letter-spacing: 0.05em;
}
.section-tiqets h3 { margin-top: 0; }

/* --- Widget TPW ---------------------------------------- */
.widget-conteneur {
  margin: 2rem 0;
  min-height: 120px;
}

/* --- Photos intégrées ----------------------------------- */
.photo-article {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--rayon-lg);
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px var(--ombre);
}

/* --- Grille de photos ----------------------------------- */
.grille-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}
.grille-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--rayon);
  transition: transform var(--transition), box-shadow var(--transition);
}
.grille-photos img:hover { transform: scale(1.02); box-shadow: 0 8px 24px var(--ombre); }

/* --- Section billets page tickets ----------------------- */
.hero-billets {
  background: var(--brique-sombre);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero-billets::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/photo-10.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.hero-billets .conteneur { position: relative; z-index: 1; }
.hero-billets h1 { color: var(--blanc); font-style: italic; margin-bottom: 0.75rem; }
.hero-billets p { color: rgba(245,240,232,0.85); max-width: 640px; }

/* --- Section FAQ ---------------------------------------- */
.hero-faq {
  background: var(--brique-sombre);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/photo-12.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.2;
}
.hero-faq .conteneur { position: relative; z-index: 1; }
.hero-faq h1 { color: var(--blanc); font-style: italic; margin-bottom: 0.75rem; }
.hero-faq p { color: rgba(245,240,232,0.85); max-width: 640px; }

/* --- Accordéon FAQ -------------------------------------- */
.faq-liste { margin-top: 2rem; }

.faq-item {
  border-top: 1px solid var(--travertin);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--travertin); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brique-sombre);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }

.faq-icone {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--pierre-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform var(--transition), background var(--transition);
}
.faq-icone::before {
  content: '+';
}

.faq-item.ouvert .faq-icone {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--blanc);
}

.faq-reponse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding var(--transition);
  padding: 0;
}
.faq-item.ouvert .faq-reponse {
  max-height: 400px;
  padding-bottom: 1.2rem;
  margin-top: 0.25rem;
}
.faq-reponse p { margin: 0; color: var(--texte); }

/* --- Section CTA bas de page ---------------------------- */
.section-cta {
  background: var(--brique-sombre);
  color: var(--pierre);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/photo-9.jpg') center/cover;
  opacity: 0.12;
}
.section-cta .conteneur { position: relative; z-index: 1; }
.section-cta h2 {
  color: var(--blanc);
  border: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-style: italic;
}
.section-cta p { color: rgba(245,240,232,0.8); max-width: 520px; margin: 0 auto 1.5rem; }

/* --- Footer --------------------------------------------- */
.pied-page {
  background: #1a100a;
  color: rgba(245,240,232,0.65);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
}
.pied-grille {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pied-col h4 {
  font-family: var(--font-titre);
  color: var(--travertin);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
  margin-top: 0;
}
.pied-col a {
  display: block;
  color: rgba(245,240,232,0.6);
  margin-bottom: 0.4rem;
  font-size: 0.83rem;
}
.pied-col a:hover { color: var(--travertin); }
.pied-bas {
  border-top: 1px solid rgba(245,240,232,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pied-adresse { font-style: normal; line-height: 1.6; }
.pied-copyright { color: rgba(245,240,232,0.4); font-size: 0.78rem; }

/* --- Support pages -------------------------------------- */
.hero-support {
  background: var(--brique-sombre);
  padding: 2.5rem 0;
}
.hero-support h1 {
  color: var(--blanc);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}

.page-support { padding: 3rem 0; }
.page-support h2 { font-size: 1.4rem; }
.page-support p, .page-support li { color: var(--texte); }

/* --- Responsive ----------------------------------------- */
@media (max-width: 900px) {
  .grille-article { grid-template-columns: 1fr; }
  .barre-laterale { position: static; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .grille-photos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-principale { 
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--brique-sombre);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    padding: 0.5rem 0;
    z-index: 99;
  }
  .nav-principale.ouverte { display: flex; }
  .nav-principale a { height: auto; padding: 0.75rem 1.25rem; border-bottom: none; border-left: 3px solid transparent; }
  .nav-principale a:hover,
  .nav-principale a.actif { border-left-color: var(--accent); }
  .nav-toggle { display: flex; }
  .entete { position: relative; }
  .hero { min-height: 55vh; }
  .pied-grille { grid-template-columns: 1fr; }
  .grille-photos { grid-template-columns: 1fr; }
  .photo-article { height: 220px; }

  /* Mobile table: block display */
  table { display: block; }
  thead { display: none; }
  tbody { display: block; }
  tbody tr { display: block; border: 1px solid var(--pierre-dark); border-radius: var(--rayon); margin-bottom: 0.75rem; }
  tbody td { display: block; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--pierre-dark); }
  tbody td:last-child { border-bottom: none; }
  tbody td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 600; color: var(--texte-leger); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
}


/* FAQ H2 wrapper — сброс стилей H2 вокруг кнопки */
.faq-question-h2 {
  margin: 0;
  padding: 0;
  border: none;
  font-size: inherit;
  line-height: inherit;
}
.faq-question-h2 .faq-question {
  font-family: var(--font-titre);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

/* --- Мобильная CTA на странице билетов ------------------ */
.cta-mobile-billets {
  display: none;
  background: var(--pierre-dark);
  padding: 1rem 0;
  border-bottom: 1px solid var(--travertin);
}
.cta-mobile-billets .conteneur {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cta-mobile-billets .btn-cta {
  width: 100%;
  justify-content: center;
}
@media (max-width: 900px) {
  .cta-mobile-billets { display: block; }
}
