/* ============================================================
   Le Chant des Cabanes — style.css
   Couleurs exactes : #45a6ab (bleu) · #d67f64 (orange)
   Corps : Helvetica Neue · Titres : ChantDesCabanes (OTF)
   ============================================================ */

@font-face {
  font-family: 'ChantDesCabanes';
  src: url('../fonts/Lechantdescabanes-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bleu:         #45a6ab;
  --orange:       #d67f64;
  --noir:         #1a1a18;
  --blanc:        #fefcf8;
  --gris:         #f5f0e8;
  --font-titre:   'ChantDesCabanes', Georgia, serif;
  --font-corps:   'Helvetica Neue', Helvetica, Arial, sans-serif;
  --transition:   0.2s ease;
  --bulle:        url('../img/BulleChantDesCabanes.png');
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-corps);
  background: #45a6ab;
  color: var(--noir);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }

a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
a:focus-visible { outline: 2px solid #d67f64; outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   BULLE PNG
   ============================================================ */
.badge-festival,
.capsule-jour,
.btn-soutenir,
.btn-primary,
.btn-reserver,
.tag {
  background-image: var(--bulle);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  display: inline-block;
  line-height: 1.5;
}

/* ============================================================
   HEADER — non sticky
   ============================================================ */
.site-header {
  background: #45a6ab;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}

/* Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.badge-festival {
  color: var(--noir);
  font-family: var(--font-titre);
  font-size: 2rem;
  padding: 0.28rem 1rem;
  white-space: nowrap;
}

.header-nom {
  font-family: var(--font-titre);
  font-size: 2.5rem;
  color: var(--noir);
  white-space: nowrap;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.header-nav a {
  color: var(--noir);
  font-family: var(--font-corps);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.header-nav a:hover { opacity: 1; border-bottom-color: #d67f64; }

/* Soutenir */
.btn-soutenir {
  position: relative;
  color: #45a6ab;
  font-family: var(--font-corps);
  font-size: 0.88rem;
  padding: 0.42rem 1.3rem;
  cursor: pointer;
  letter-spacing: 0.03em;
  white-space: nowrap;
  background: none;
  border: none;
  display: inline-block;
  line-height: 1.5;
  z-index: 0;
}
.btn-soutenir::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bulle);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: brightness(0.22) saturate(0);
  z-index: -1;
  border-radius: inherit;
}
.btn-soutenir:hover::before { filter: brightness(0.35) saturate(0); }
.btn-soutenir:hover { opacity: 1; }

/* header-right : soutenir + socials poussés à droite */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-social a { color: var(--blanc); display: flex; align-items: center; }
.header-social svg { width: 20px; height: 20px; fill: currentColor; }

/* Burger — caché sur desktop */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--noir);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  background: #45a6ab;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav a {
  display: block;
  color: var(--blanc);
  font-family: var(--font-corps);
  padding: 0.6rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #45a6ab;
  padding: 3rem 2rem 4rem;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-rows: auto auto auto auto;
  column-gap: 3rem;
  row-gap: 0;
  align-items: start;
}

/* Placement explicite sur desktop */
.hero-dates     { grid-column: 1; grid-row: 1; }
.hero-lieu      { grid-column: 1; grid-row: 2; }
.hero-programme { grid-column: 1; grid-row: 3; margin-top: 2rem; }
.hero-ctas      { grid-column: 1; grid-row: 4; }
.hero-affiche   { grid-column: 2; grid-row: 1 / span 4; align-self: center; }

/* MODIF : hero-dates et hero-lieu occupent toute la largeur disponible */
.hero-dates {
  font-family: var(--font-titre);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 1.05;
  color: var(--noir);
  margin-bottom: 1.2rem;
  width: 100%;
  display: block;
}

.hero-lieu {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 3.5vw, 6rem);
  line-height: 1.25;
  color: var(--noir);
  margin-bottom: 3rem;
  width: 100%;
  display: block;
}

.hero-programme {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Capsule jour */
.capsule-jour {
  color: var(--noir);
  font-family: var(--font-titre);
  font-size: 2.5rem;
  padding: 0.5rem 1.4rem;
  margin-bottom: 1.2rem;
  display: block;
  width: 70%;
  text-align: left;
}

.concert-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.concert-heure {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  color: var(--noir);
  min-width: 2.5rem;
  font-weight: bold;
}

.concert-titre {
  font-family: var(--font-corps);
  font-size: 1.4rem;
  color: var(--noir);
}

/* Affiche — SANS ombre */
.hero-affiche {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero-affiche img {
  border-radius: 4px;
  max-height: 580px;
  object-fit: cover;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* btn-primary */
.btn-primary {
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 1.4rem;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: filter var(--transition);
}
.btn-primary:hover { filter: brightness(0.9); opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--noir);
  border: 2px solid var(--noir);
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  font-family: var(--font-titre);
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--noir); color: var(--blanc); opacity: 1; }

/* btn-blanc variants */
.btn-blanc-bleu,
.btn-blanc-orange {
  position: relative;
  border: none;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
  background: none;
  z-index: 0;
}
.btn-blanc-bleu::before,
.btn-blanc-orange::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bulle);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: brightness(2.5) saturate(0);
  z-index: -1;
}
.btn-blanc-bleu   { color: #45a6ab; }
.btn-blanc-orange { color: #d67f64; }
.btn-blanc-bleu:hover,
.btn-blanc-orange:hover { opacity: 1; filter: none; }
.btn-blanc-bleu:hover::before,
.btn-blanc-orange:hover::before { filter: brightness(2.1) saturate(0); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-titre {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--noir);
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

.section-titre-blanc { color: var(--blanc); }

.separateur {
  width: 60px;
  height: 3px;
  background: #d67f64;
  margin-bottom: 2rem;
  border-radius: 2px;
}

/* ============================================================
   ARTISTES (page programme — grille full)
   ============================================================ */
.section-artistes {
  background: var(--gris);
  padding: 5rem 2rem;
}

.artistes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}

.artiste-carte {
  background: var(--blanc);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition);
}
.artiste-carte:hover { transform: translateY(-3px); }

.artiste-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: #45a6ab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.8rem;
  color: var(--blanc);
  overflow: hidden;
}
.artiste-avatar img { width: 100%; height: 100%; object-fit: cover; }

.artiste-nom {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.artiste-instrument {
  font-family: var(--font-corps);
  font-size: 0.85rem;
  color: #d67f64;
  font-style: italic;
  margin-bottom: 0.7rem;
}

.artiste-bio {
  font-family: var(--font-corps);
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.section-apropos { background: var(--blanc); }

.apropos-contenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.apropos-texte p {
  font-family: var(--font-corps);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.apropos-details {
  background: var(--gris);
  border-radius: 8px;
  
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}
.detail-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.detail-icone { font-size: 1.5rem; flex-shrink: 0; }

.detail-titre {
  font-family: var(--font-corps);
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.detail-texte {
  font-family: var(--font-corps);
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}

/* ============================================================
   PARTENAIRES (section home)
   MODIF : grid avec colonnes égales pour blocs uniformes
   ============================================================ */
.section-partenaires {
  background: #45a6ab;
  padding: 5rem 2rem;
}

.partenaires-intro {
  font-family: var(--font-corps);
  color: var(--blanc);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 650px;
  line-height: 1.7;
}

/* MODIF : grid uniforme à la place du flex */
.partenaires-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.partenaire-bloc {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--blanc);
  transition: background var(--transition);
  /* égalisation hauteur : les blocs s'étendent tous pareil */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partenaire-bloc:hover { background: rgba(255,255,255,0.2); opacity: 1; }
.partenaire-nom { font-family: var(--font-titre); font-size: 1rem; margin-bottom: 0.3rem; }
.partenaire-desc { font-family: var(--font-corps); font-size: 0.82rem; opacity: 0.8; }

/* ============================================================
   SOUTENIR (section home)
   ============================================================ */
.section-soutenir {
  background: #d67f64;
  padding: 5rem 2rem;
}

.soutenir-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.soutenir-inner .section-titre { color: var(--blanc); }

.soutenir-texte {
  font-family: var(--font-corps);
  color: var(--blanc);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.avantage-fiscal {
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: left;
}
.avantage-fiscal p {
  font-family: var(--font-corps);
  color: var(--blanc);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.contact-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.contact-bloc {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gris);
  border-radius: 8px;
}

.contact-icone { font-size: 2rem; margin-bottom: 1rem; }

.contact-label {
  font-family: var(--font-corps);
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--noir);
  margin-bottom: 0.4rem;
}

.contact-valeur {
  font-family: var(--font-corps);
  font-size: 0.9rem;
  color: #45a6ab;
  word-break: break-word;
}

/* ============================================================
   PAGES SECONDAIRES — hero compact
   ============================================================ */
.page-hero {
  background: #45a6ab;
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--noir);
  margin-bottom: 0.5rem;
}

.page-hero .sous-titre {
  font-family: var(--font-corps);
  color: var(--blanc);
  font-size: 1rem;
  opacity: 0.9;
}

/* ============================================================
   PROGRAMME — concerts
   ============================================================ */
.programme-section {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.concert-fiche {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.concert-fiche::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: #45a6ab;
  border-radius: 10px 0 0 10px;
}

.concert-fiche-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.concert-fiche-titre {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--noir);
}

.concert-fiche-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Tags */
.tag {
  color: var(--blanc);
  font-family: var(--font-corps);
  font-size: 0.82rem;
  padding: 0.28rem 0.9rem;
}

.tag-bleu   { filter: hue-rotate(-5deg) saturate(0.6) brightness(0.75); }
.tag-orange { }
.tag-gris   { filter: saturate(0.15) brightness(1.15); }

.concert-fiche p {
  font-family: var(--font-corps);
  color: #444;
  line-height: 1.75;
  margin-bottom: 0.8rem;
  font-size: 0.98rem;
}

.artistes-concert {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.artiste-tag {
  background: var(--gris);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-family: var(--font-corps);
  font-size: 0.82rem;
  color: #444;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
}
a.artiste-tag { text-decoration: none; }
a.artiste-tag:hover { background: #45a6ab; color: var(--blanc); opacity: 1; }

/* ============================================================
   BIOGRAPHIES
   ============================================================ */
.biographies-section {
  background: var(--gris);
  padding: 5rem 2rem;
}

.bio-fiche {
  background: var(--blanc);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.bio-fiche-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.bio-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #45a6ab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--blanc);
  flex-shrink: 0;
  overflow: hidden;
}
.bio-avatar img { width: 100%; height: 100%; object-fit: cover; }

.bio-nom { font-family: var(--font-titre); font-size: 1.3rem; color: var(--noir); }
.bio-instrument { font-family: var(--font-corps); font-size: 0.9rem; color: #d67f64; font-style: italic; }
.bio-texte { font-family: var(--font-corps); color: #444; font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.8rem; }

/* ============================================================
   BILLETTERIE
   ============================================================ */
.billetterie-section {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.billet-fiche {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  transition: box-shadow var(--transition);
}
.billet-fiche:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.billet-info { flex: 1; }
.billet-titre { font-family: var(--font-titre); font-size: 1.25rem; color: var(--noir); margin-bottom: 0.3rem; }
.billet-detail { font-family: var(--font-corps); font-size: 0.9rem; color: #666; margin-bottom: 0.3rem; }

.billet-prix-bloc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  flex-shrink: 0;
}

.billet-prix {
  font-family: var(--font-titre);
  font-size: 2rem;
  color: #45a6ab;
}

.btn-reserver {
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 0.95rem;
  padding: 0.55rem 1.6rem;
  cursor: pointer;
  transition: filter var(--transition);
}
.btn-reserver:hover { filter: brightness(0.9); opacity: 1; }

.billet-pass { background: var(--gris); border: 2px solid #d67f64; }

.mention-confirmer {
  font-family: var(--font-corps);
  font-size: 0.78rem;
  color: #d67f64;
  font-style: italic;
}

/* ============================================================
   PAGE PARTENAIRES
   ============================================================ */
.partenaires-page-section {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.partenaires-page-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.partenaire-page-fiche {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition);
}
.partenaire-page-fiche:hover { transform: translateY(-3px); }

.partenaire-logo-placeholder {
  width: 100px;
  height: 70px;
  background: var(--gris);
  border-radius: 6px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-corps);
  font-size: 0.75rem;
  color: #888;
}

.partenaire-page-nom { font-family: var(--font-titre); font-size: 1.1rem; color: var(--noir); margin-bottom: 0.5rem; }
.partenaire-page-desc { font-family: var(--font-corps); font-size: 0.88rem; color: #666; line-height: 1.55; }

/* ============================================================
   PAGE SOUTENIR
   ============================================================ */
.soutenir-page-section {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.soutenir-contenu { max-width: 800px; margin: 0 auto; }

.soutenir-contenu p {
  font-family: var(--font-corps);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.3rem;
}

.impact-liste {
  background: var(--gris);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.impact-liste li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #ddd;
  font-family: var(--font-corps);
  font-size: 1rem;
  color: #333;
}
.impact-liste li:last-child { border-bottom: none; }
.impact-liste li::before { content: '—'; color: #d67f64; font-weight: bold; flex-shrink: 0; }

.avantage-bloc {
  background: #45a6ab;
  color: var(--blanc);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.avantage-bloc h3 { font-family: var(--font-titre); font-size: 1.3rem; margin-bottom: 0.8rem; }
.avantage-bloc p { font-family: var(--font-corps); color: var(--blanc); font-size: 0.95rem; }

.cta-don { text-align: center; padding: 3rem 0; }

/* ============================================================
   PAGE PRESSE
   ============================================================ */
.presse-section {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.presse-blocs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.presse-bloc {
  background: var(--gris);
  border-radius: 8px;
  padding: 2rem;
}

.presse-bloc h3 { font-family: var(--font-titre); font-size: 1.3rem; color: var(--noir); margin-bottom: 1rem; }
.presse-bloc p { font-family: var(--font-corps); font-size: 0.95rem; color: #555; line-height: 1.65; margin-bottom: 1rem; }

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #45a6ab;
  color: var(--blanc);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-corps);
  font-size: 0.9rem;
}
.download-link:hover { opacity: 0.85; }

.presse-contact { background: var(--blanc); padding: 5rem 2rem; border-top: 1px solid #eee; }
.contact-presse-bloc { max-width: 600px; margin: 0 auto; text-align: center; }

/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */
.mentions-section {
  background: var(--blanc);
  padding: 5rem 2rem;
}

.mentions-contenu { max-width: 800px; margin: 0 auto; }

.mentions-contenu h2 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--noir);
  margin: 2.5rem 0 0.8rem;
}
.mentions-contenu h2:first-child { margin-top: 0; }

.mentions-contenu p,
.mentions-contenu li {
  font-family: var(--font-corps);
  font-size: 0.95rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 0.6rem;
}

.mentions-contenu ul { padding-left: 1.5rem; }
.mentions-contenu li { list-style: disc; }

/* ============================================================
   SECTION ARTISTES HOME (version succincte)
   ============================================================ */
.section-artistes-home {
  background: var(--gris);
  padding: 5rem 2rem;
}

.artistes-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}

.artiste-home-carte {
  background: var(--blanc);
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  transition: transform var(--transition);
}
.artiste-home-carte:hover { transform: translateY(-3px); }

.artiste-home-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 0.8rem;
  background: #45a6ab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.4rem;
  color: var(--blanc);
  overflow: hidden;
}
.artiste-home-avatar img { width: 100%; height: 100%; object-fit: cover; }

.artiste-home-nom {
  font-family: var(--font-corps);
  font-size: 1.1rem;
  color: var(--noir);
  margin-bottom: 0.2rem;
}

.artiste-home-instrument {
  font-family: var(--font-corps);
  font-size: 1rem;
  color: #d67f64;
  margin-bottom: 0.6rem;
}

.artiste-home-lien {
  font-family: var(--font-corps);
  font-size: 1rem;
  color: #45a6ab;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   SECTION NEWSLETTER
   ============================================================ */
.section-newsletter {
  background: var(--blanc);
  padding: 4rem 2rem;
  border-top: 3px solid #45a6ab;
}

.newsletter-inner {
  max-width: 620px;
  margin: 0 auto;
}

.newsletter-inner .section-titre { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
.newsletter-inner .separateur { margin-bottom: 1.2rem; }

.newsletter-intro {
  font-family: var(--font-corps);
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  border: 2px solid #45a6ab;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-corps);
  font-size: 0.95rem;
  color: var(--noir);
  background: var(--blanc);
  outline: none;
}
.newsletter-input::placeholder { color: #999; }
.newsletter-input:focus { border-color: #d67f64; }

.newsletter-submit {
  position: relative;
  border: none;
  padding: 0.7rem 2rem;
  font-family: var(--font-titre);
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
  background: none;
  color: var(--blanc);
  z-index: 0;
  white-space: nowrap;
}
.newsletter-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bulle);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}
.newsletter-submit:hover { opacity: 0.85; }

.newsletter-message {
  margin-top: 0.8rem;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  display: none;
}
.newsletter-message.success { color: #45a6ab; display: block; }
.newsletter-message.error   { color: #c0392b; display: block; }

/* ============================================================
   FOOTER — avec crédits
   ============================================================ */
.site-footer {
  background: #d67f64;
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-corps);
  color: var(--blanc);
  font-size: 0.88rem;
}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-links a {
  font-family: var(--font-corps);
  color: var(--blanc);
  font-size: 0.88rem;
  opacity: 0.85;
}
.footer-links a:hover { opacity: 1; }

.footer-credits {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.footer-credit-item {
  font-family: var(--font-corps);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
}

.footer-credit-item a {
  color: var(--blanc);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 1;
}
.footer-credit-item a:hover { opacity: 0.8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet + mobile : burger visible dès 900px */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }

  .header-nav,
  .header-right { display: none; }

  /* MODIF : burger collé à droite, brand prend 70% de la largeur dispo */
  .header-inner { gap: 0; justify-content: space-between; }
  .header-brand {
    flex: 0 0 70%;
    max-width: 70%;
    flex-shrink: 1;
  }
  .header-nom {
    font-size: clamp(2rem, 5vw, 3 rem);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .burger {
    display: flex;
    margin-left: auto; /* colle le burger à droite */
    flex-shrink: 0;
  }

  /* Hero : flexbox colonne pour contrôler l'ordre */
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-dates     { order: 1; }
  .hero-lieu      { order: 2; margin-bottom: 0; }
  .hero-affiche   { order: 3; width: 100%; align-items: center; }
  .hero-programme { order: 4; margin-top: 1rem; }
  .hero-ctas      { order: 5; }

  .hero-affiche img {
    width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
  }

  .hero-programme { grid-template-columns: 1fr 1fr; }
  .apropos-contenu { grid-template-columns: 1fr; }
  .artistes-home-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grille { grid-template-columns: 1fr 1fr; }
  /* partenaires-grille : 2 colonnes sur tablette */
  .partenaires-grille { grid-template-columns: repeat(2, 1fr); }
  .partenaires-page-grille { grid-template-columns: 1fr 1fr; }
  .presse-blocs { grid-template-columns: 1fr; }

  .capsule-jour { width: 60%; }
}

@media (max-width: 680px) {
  .site-header { padding: 0 1rem; }

  /* Hero */
  .hero { padding: 1.5rem 1rem 2.5rem; min-height: auto; }
  .hero-inner { gap: 1rem; }
  .hero-dates { font-size: clamp(2.4rem, 10vw, 3.5rem); word-break: break-word; }
  .hero-lieu  { font-size: clamp(1.3rem, 5.5vw, 2rem); word-break: break-word; }
  .hero-programme { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-affiche img { border-radius: 4px; }

  .capsule-jour { font-size: 1.05rem; padding: 0.38rem 1rem; width: 70%; }

  /* partenaires : 1 colonne sur mobile */
  .partenaires-grille { grid-template-columns: 1fr; }
  .artistes-home-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-grille { grid-template-columns: 1fr; }
  .partenaires-page-grille { grid-template-columns: 1fr; }
  .billet-fiche { flex-direction: column; align-items: flex-start; }
  .billet-prix-bloc { flex-direction: row; align-items: center; width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; }

  .concert-fiche-header { flex-direction: column; }
  .section, .section-artistes-home, .programme-section, .biographies-section,
  .billetterie-section, .partenaires-page-section, .soutenir-page-section,
  .presse-section, .mentions-section, .section-soutenir, .section-partenaires,
  .section-contact, .section-newsletter { padding: 2.5rem 1rem; }
  .page-hero { padding: 2rem 1rem 1.5rem; }

  .section-titre, .hero-dates, .hero-lieu,
  .concert-fiche-titre, .billet-titre, .bio-nom,
  .partenaire-page-nom, .partenaires-intro { word-break: break-word; overflow-wrap: break-word; }

  .section-inner, .soutenir-inner, .soutenir-contenu,
  .mentions-contenu, .contact-presse-bloc { max-width: 100%; }
}

@media (max-width: 420px) {
  .artistes-home-grid { grid-template-columns: 1fr; }
  .artistes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* ============================================================
   NAV ACTIVE STATE (aria-current="page")
   ============================================================ */
.header-nav a[aria-current="page"] {
  border-bottom-color: #d67f64;
  opacity: 1;
}
