/* ===================================================================
   HANNAH-MARIA RELLY — Soprano léger colorature
   Système de design : Bourgogne & Or vieilli
   =================================================================== */

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

:root {
  /* Palette */
  --wine-black:   #170B10;   /* fond principal, noir-vin */
  --wine-surface: #2A121C;   /* surfaces / cartes */
  --wine-surface-2: #341722; /* surfaces légèrement plus claires */
  --bordeaux:     #7A2039;   /* accent secondaire, séparateurs */
  --gold:         #C9A227;   /* accent principal, or vieilli */
  --gold-soft:    #E4C868;   /* or clair, hover / highlights */
  --ivory:        #F4EDE0;   /* texte clair */
  --taupe:        #B8A99A;   /* texte atténué */

  /* Typographie */
  --font-display: 'Cormorant Garamond', serif;
  --font-eyebrow: 'Cormorant SC', serif;
  --font-body:    'Work Sans', sans-serif;

  /* Rythme */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--wine-black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

a { color: inherit; text-decoration: none; }

/* -------------------------------------------------------------- */
/* Typography helpers                                              */
/* -------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.1rem;
}

.cap-letter {
  font-size: 1.7em;
  line-height: 0;
  vertical-align: -0.14em;
  color: var(--gold-soft);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.4rem;
}

h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

p.lead {
  font-size: 1.15rem;
  color: var(--taupe);
  max-width: 62ch;
}

/* -------------------------------------------------------------- */
/* Ornement signature : ligne vocale / vocalise                    */
/* -------------------------------------------------------------- */

.vocal-line {
  width: 100%;
  height: auto;
  overflow: visible;
}

.vocal-line path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.4s cubic-bezier(.22,.61,.36,1);
}

.vocal-line.in-view path {
  stroke-dashoffset: 0;
}

.section-divider {
  margin: 0 auto;
  max-width: 340px;
  padding: 2.5rem 0;
  opacity: 0.9;
}

.section-divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.section-divider-ornament .line { width: 90px; height: 2px; background: var(--gold); opacity: 0.55; border-radius: 1px; }
.section-divider-ornament .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }
.section-divider-ornament .diamond { width: 13px; height: 13px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }

/* -------------------------------------------------------------- */
/* Header / Nav                                                    */
/* -------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.3rem 0;
  background: linear-gradient(to bottom, rgba(23,11,16,0.92), rgba(23,11,16,0));
  transition: background 0.4s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-eyebrow);
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--ivory);
}

.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--taupe);
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.nav-links a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

.nav-cta {
  background: var(--gold);
  color: var(--wine-black) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-cta:hover { background: var(--gold-soft); }

.nav-toggle { display: none; }

/* -------------------------------------------------------------- */
/* Hero                                                             */
/* -------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(122,32,57,0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(201,162,39,0.10), transparent 60%);
  pointer-events: none;
}

.hero-text {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero-title .last {
  display: block;
  color: var(--gold-soft);
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ivory);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0.9rem 0 0;
}

.hero-role {
  font-family: var(--font-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--taupe);
  font-size: 0.95rem;
  margin: 0.6rem 0 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  border: 1px solid var(--gold);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--wine-black);
  font-weight: 600;
}

.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(244,237,224,0.35);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.hero-visual {
  position: relative;
  z-index: 2;
  width: clamp(280px, 34vw, 480px);
  height: clamp(280px, 34vw, 480px);
  margin: 3vh auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.25);
}

.hero-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background:
    repeating-linear-gradient(135deg, rgba(201,162,39,0.06) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--wine-surface), var(--wine-surface-2));
  color: var(--taupe);
  text-align: center;
  padding: 2rem;
}

.photo-placeholder .icon { font-size: 2rem; color: var(--gold); opacity: 0.8; }
.photo-placeholder .label { font-family: var(--font-eyebrow); letter-spacing: 0.08em; font-size: 0.95rem; }
.photo-placeholder .hint { font-size: 0.78rem; color: var(--taupe); opacity: 0.75; max-width: 22ch; }

/* -------------------------------------------------------------- */
/* Sections generic                                                 */
/* -------------------------------------------------------------- */

section { padding: var(--section-pad) 0; position: relative; }

.section-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------------------------------------------------- */
/* Univers artistique                                               */
/* -------------------------------------------------------------- */

.concert-intro,
.programme-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.35);
}

.concert-intro-visual,
.programme-visual {
  height: 100%;
}

.concert-intro-visual img,
.programme-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.univers-frame {
  position: relative;
  height: 100%;
  padding: clamp(2.4rem, 5vw, 3.5rem) clamp(1.8rem, 5vw, 3.5rem);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.univers-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(201,162,39,0.12), transparent 65%),
    linear-gradient(rgba(23,11,16,0.88), rgba(23,11,16,0.90)),
    url('../images/composition/univers-bg-filigrane.jpg') center / cover no-repeat;
  z-index: -1;
}

.univers-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2.2rem;
}
.univers-ornament .line { width: 60px; height: 1px; background: rgba(201,162,39,0.55); }
.univers-ornament .flourish {
  width: 46px;
  height: 14px;
  flex-shrink: 0;
}
.univers-ornament .flourish path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}

.univers-text { max-width: 620px; }

.programme-text p { color: var(--taupe); margin-bottom: 1.2rem; text-align: justify; }
.programme-text p:last-of-type { color: var(--gold-soft); font-style: italic; margin-bottom: 0; }

@media (max-width: 780px) {
  .concert-intro, .programme-block { grid-template-columns: 1fr; }
  .concert-intro-visual img, .programme-visual img { aspect-ratio: 4/3; }
}
.univers-text p { color: var(--taupe); margin-bottom: 1.2rem; text-align: justify; }

/* Artistes invités */

.guest-artists {
  margin-top: 4.5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(201,162,39,0.2);
}

.guest-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.8rem;
  align-items: start;
  margin-top: 1.4rem;
}

.guest-card img {
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(201,162,39,0.22);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 50% 30%;
}

.guest-bio h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-style: italic;
  margin-bottom: 1rem;
}

.guest-role {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  color: var(--gold-soft);
  font-weight: 400;
}

.guest-bio p { color: var(--taupe); margin-bottom: 1rem; font-size: 0.95rem; text-align: justify; }

.guest-solo {
  margin-top: 1.6rem;
  margin-left: 2.8rem;
  padding: 1.4rem 1.6rem;
  background: var(--wine-surface);
  border-left: 2px solid var(--gold);
  border-radius: 0 2px 2px 0;
}

.guest-solo .eyebrow { margin-bottom: 0.8rem; font-size: 0.72rem; }

.guest-solo ul { list-style: none; }

.guest-solo li {
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ivory);
}

.guest-solo li .compositeur {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--taupe);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .guest-card { grid-template-columns: 1fr; }
  .guest-card img { max-width: 320px; }
}

/* -------------------------------------------------------------- */
/* Programme / réarrangements                                       */
/* -------------------------------------------------------------- */

.programme-section { background: var(--wine-surface); }

.programme-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.programme-visuals .photo-placeholder { aspect-ratio: 3/4; border-radius: 3px; }

.programme-visuals img {
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(201,162,39,0.2);
}

/* Bloc composition (photos de travail sur partition) */

.composition-block {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(201,162,39,0.2);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.8rem;
  align-items: center;
}

.composition-photos {
  width: 100%;
}

.composition-text p { color: var(--taupe); margin-bottom: 1.2rem; text-align: justify; }
.composition-text p.no-gap { margin-bottom: 0.2rem; }
.composition-text p:last-of-type { margin-bottom: 0; }
.composition-text .univers-ornament { justify-content: flex-start; margin-bottom: 1.8rem; }

.text-highlight {
  color: var(--gold-soft);
  font-style: italic;
}

.text-highlight-plain {
  color: var(--gold-soft);
  font-style: normal;
}

.composition-text p.text-highlight-block,
.text-highlight-block {
  color: var(--gold-soft);
  font-style: italic;
}

.text-title {
  font-style: italic;
  color: var(--ivory);
}
.text-highlight { font-style: italic; color: var(--gold-soft); }

@media (max-width: 780px) {
  .composition-block { grid-template-columns: 1fr; }
}

.composition-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  border-radius: 3px;
  border: 1px solid rgba(201,162,39,0.22);
}

/* -------------------------------------------------------------- */
/* Tournée / dates                                                  */
/* -------------------------------------------------------------- */

.dates-list { display: flex; flex-direction: column; }

.date-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(201,162,39,0.2);
}

.date-item:first-child { border-top: 1px solid rgba(201,162,39,0.2); }

.date-when {
  font-family: var(--font-eyebrow);
  color: var(--gold-soft);
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.date-when .day { display: block; font-size: 2rem; font-family: var(--font-display); font-style: italic; color: var(--gold); line-height: 1; }

.date-when .date-time {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--taupe);
}

.date-where h3 { font-size: 1.4rem; font-style: italic; margin-bottom: 0.3rem; }
.date-where p { color: var(--taupe); font-size: 0.92rem; }

/* -------------------------------------------------------------- */
/* Vidéos                                                            */
/* -------------------------------------------------------------- */

.videos-section { background: var(--wine-surface); }

.concerts-passes {
  display: flex;
  justify-content: center;
}

.concerts-passes-frame {
  position: relative;
  max-width: 380px;
  width: 100%;
  padding: 2.6rem 0 0;
}

.concerts-passes-watermark {
  position: absolute;
  top: 0;
  left: -0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  white-space: nowrap;
  color: rgba(228, 200, 104, 0.32);
  z-index: 0;
  pointer-events: none;
}

.concerts-passes-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: 3px;
  border: 1px solid rgba(201,162,39,0.18);
}

.video-extract {
  margin-top: 2.4rem;
  max-width: 640px;
}

.video-extracts-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.video-extracts-grid .video-extract { margin-top: 0; max-width: none; }

.video-extract .video-frame {
  aspect-ratio: 16/9;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.18);
}

.video-extract iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.video-extract-caption {
  margin-top: 0.8rem;
  color: var(--taupe);
  font-size: 0.9rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  max-width: 900px;
}

.video-card {
  background: var(--wine-black);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 3px;
  overflow: hidden;
}

.video-frame {
  aspect-ratio: 16/9;
  position: relative;
}

.video-frame .photo-placeholder { aspect-ratio: auto; height: 100%; }

.video-caption { padding: 1rem 1.2rem 1.3rem; }
.video-caption .tag { font-family: var(--font-eyebrow); color: var(--gold); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.video-caption p { color: var(--taupe); font-size: 0.9rem; margin-top: 0.35rem; }

/* -------------------------------------------------------------- */
/* Billetterie CTA                                                  */
/* -------------------------------------------------------------- */

.billetterie {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(122,32,57,0.4), transparent 70%),
    var(--wine-black);
  padding: 6rem 0;
}

.billetterie h2 { max-width: 620px; margin: 0 auto 1rem; }
.billetterie p.lead { margin: 0 auto 2.4rem; }

.helloasso-btn {
  font-size: 1.05rem;
  padding: 1.05rem 2.6rem;
}

.billetterie .note { margin-top: 1.4rem; font-size: 0.82rem; color: var(--taupe); }

.billetterie-item {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
}

.billetterie-item h3 {
  text-align: center;
  margin-bottom: 1.2rem;
  color: var(--ivory);
}

.billetterie-item:first-of-type { margin-top: 2.4rem; }

/* -------------------------------------------------------------- */
/* Contact                                                          */
/* -------------------------------------------------------------- */

.billetterie .eyebrow,
.contact-section .eyebrow,
#tournee .section-head .eyebrow {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-section { padding: var(--section-pad) 0; }

.contact-form {
  max-width: 640px;
  margin: 2.4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hidden-field { position: absolute; left: -9999px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--taupe);
}

.form-field input,
.form-field textarea {
  background: var(--wine-surface);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form .btn { align-self: flex-start; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- */
/* Footer                                                            */
/* -------------------------------------------------------------- */

footer {
  border-top: 1px solid rgba(201,162,39,0.18);
  padding: 3rem 0 2.2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand { font-family: var(--font-eyebrow); letter-spacing: 0.14em; font-size: 1rem; }
.footer-brand span { color: var(--gold); }

.footer-social { display: flex; gap: 1.3rem; }
.footer-social a { color: var(--taupe); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-social a:hover { color: var(--gold-soft); }

.footer-copy { color: var(--taupe); font-size: 0.78rem; margin-top: 2rem; opacity: 0.7; }

.footer-signature {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.footer-signature img {
  background: var(--ivory);
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  max-width: 220px;
}

/* -------------------------------------------------------------- */
/* Responsive                                                       */
/* -------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { width: clamp(200px, 55vw, 320px); height: clamp(200px, 55vw, 320px); margin: 0 auto 2rem; order: -1; }
  .hero-text { padding-top: 1rem; }
  .programme-visuals { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .date-item { grid-template-columns: 90px 1fr; }
  .date-item .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vocal-line path { transition: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}
