/* =========================================================
   Malo Music — feuille de style
   Reproduit la mise en page du site Carrd (septembre 2026).
   Toutes les tailles sont en rem : 1rem = 13pt sur ordinateur, 11pt sur téléphone.
   ========================================================= */

@font-face {
  font-family: "Abel"; /* ds-allow-hardcode: déclaration de la police elle-même */
  src: url("../fonts/abel.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fff;
  --ink: #1c0101;                         /* brun presque noir des textes sur fond clair */
  --veil-dark: rgba(0, 0, 0, 0.74);       /* voile sombre des sections */
  --veil-light: rgba(255, 255, 255, 0.65);/* voile clair « Malo chante Brassens » */
  --veil-brown: rgba(112, 66, 20, 0.34);  /* voile brun « Disques » */
  --veil-soft: rgba(0, 0, 0, 0.46);
  --yt: rgba(230, 25, 25, 0.54);
  --text-shadow: 0.088rem 0.088rem 0.125rem rgba(5, 5, 5, 0.45);
  --frame-shadow: 0.82rem 1.545rem 2rem 0 rgb(33, 32, 36);
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 2.5rem;
}

/* ds-allow-hardcode:start — Temps 1 : copie fidèle du site Carrd. Les valeurs ci-dessous
   sont les mesures relevées sur la page d'origine ; elles seront ramenées à des variables
   lors de la refonte (temps 2). */

html { font-size: 13pt; -webkit-text-size-adjust: 100%; }
@media (max-width: 736px) { html { font-size: 11pt; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #000;
  color: var(--white);
  font-family: "Abel", sans-serif;
  letter-spacing: 0.15rem;
  line-height: 1;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
.sys { font-family: var(--sys); letter-spacing: normal; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { display: none; }

/* ---------- Fond vidéo fixe ---------- */
.site-bg {
  position: fixed; inset: 0; z-index: -1;
  background: #000 url("../videos/fond-lune.jpg") center / cover no-repeat;
}
.site-bg__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Pages affichées par l'adresse (#concerts-passes, #aurevoir, #menu-mobile) ---------- */
.page { display: none; }
.page:target { display: block; min-height: 100vh; }
.page:target ~ #home { display: none; }

/* ---------- Barre de menu ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: var(--white);
  filter: drop-shadow(5px 5px 5px #222);
}
.topnav__links { display: flex; flex-wrap: wrap; justify-content: center; }
.topnav__links a {
  font-family: var(--sys); letter-spacing: normal;
  font-size: 0.875rem; line-height: var(--nav-h);
  padding: 0 1.25rem;
  color: #000; text-decoration: none; text-transform: uppercase;
  transition: opacity 0.2s;
}
.topnav__links a:hover, .topnav__links a:focus-visible { opacity: 0.55; }
.topnav__burger { display: none; }

@media (max-width: 736px) {
  .topnav { background: rgba(255, 255, 255, 0.35); filter: none; }
  .topnav__links { display: none; }
  .topnav__burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; color: #333;
  }
  .topnav__burger .ico { width: 1.8rem; height: 1.8rem; }
}

/* Menu mobile plein écran */
.page--menu:target { background: var(--white); color: #000; padding: 1.5rem; text-align: center; }
.menu-close { display: inline-flex; color: #000; }
.menu-close .ico { width: 2.5rem; height: 2.5rem; }
.menu-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.menu-list a {
  display: block; padding: 0.9rem 0;
  font-family: var(--sys); letter-spacing: normal; font-size: 1.25rem;
  text-transform: uppercase; text-decoration: none; color: #000;
}

/* ---------- Icônes ---------- */
.ico { width: 1em; height: 1em; display: block; }
.ico--inline { display: inline-block; vertical-align: -0.12em; margin-right: 0.6em; width: 0.9em; height: 0.9em; }
.icon-row { display: flex; justify-content: center; gap: 1.2rem; margin: 2rem 0 0; }
.ico-link { display: inline-flex; color: var(--white); font-size: 3rem; transition: opacity 0.2s, transform 0.2s; }
.ico-link:hover, .ico-link:focus-visible { opacity: 0.7; }
.ico-link--ink { color: var(--ink); }
.ico-link--black { color: #000; }
.ico-link--yt { color: var(--yt); font-size: 3.5rem; }
.icon-row--small { margin-top: 0.75rem; gap: 0.8rem; }
.icon-row--small .ico-link { font-size: 2rem; }
.nav-arrows { margin-top: 2rem; }

.ico-round {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.65rem; height: 2.65rem; border-radius: 50%;
  color: var(--white); transition: opacity 0.2s;
}
.ico-round .ico { width: 62%; height: 62%; }
.ico-round:hover, .ico-round:focus-visible { opacity: 0.8; }
.ico-round--fb { background: rgb(24, 119, 242); }
.ico-round--yt { background: rgb(255, 0, 0); }
.ico-round--tel { background: rgb(24, 170, 1); }
.footer-icons { align-items: center; gap: 2rem; margin: 2.5rem 0 1rem; }
.footer-icons .ico-link { font-size: 2.65rem; }

/* ---------- Boutons ---------- */
.btn-row { margin: 2rem 0 0; text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.5rem; padding: 0.35rem 1.25rem; line-height: 1.2; text-align: center;
  font-family: var(--sys); letter-spacing: normal; font-size: 1.25rem;
  color: var(--white); text-decoration: none; border: 0; cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.15); }
.btn--clip {
  text-transform: uppercase;
  border-radius: 0.625rem;
  background-color: rgb(186, 150, 202);
  background-image: linear-gradient(45deg, rgba(83, 0, 120, 0.51) 0%, rgba(186, 150, 202, 0.01) 100%);
}
.btn--dark { border-radius: 0.5rem; background: var(--veil-dark); }
.btn--submit { border-radius: 0.375rem; background: var(--veil-soft); }

/* ---------- Accueil ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 6rem;
  text-align: center;
}
.hero__logo { margin: 0; }
.hero__logo img { width: 19.5rem; display: block; margin: 0 auto; }
.hero__lead {
  font-size: 1.5rem; margin: 1.25rem 0 0;
  text-shadow: 0.088rem 0.088rem 0.19rem rgba(5, 5, 5, 0.96);
}
.hero__btn { margin-top: 2rem; }
.hero__down { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); font-size: 2rem; }

/* ---------- Bandes (sections) ---------- */
section[id], .band { scroll-margin-top: var(--nav-h); }
.band { padding: 4rem 2rem; }
.band--flush { padding-top: 0; padding-bottom: 2rem; }
.band--nav { padding-top: 0; padding-bottom: 2rem; }
.band--nav .nav-arrows { margin-top: 0; }
.band--dark { background: var(--veil-dark); }
.band--light { background: var(--veil-light); }
.band--brown { background: var(--veil-brown); }
.band--clear { background: transparent; }
.band__inner { max-width: 66rem; margin: 0 auto; text-align: center; }
.band__inner--narrow { max-width: 64rem; }
.band__inner--contact { max-width: 55rem; }

/* Espacements de l'enchaînement Accueil → Malo, relevés sur la page d'origine */
#performances { padding: 9rem 2rem 0; }
#performances + .band--flush { padding-top: 8.5rem; padding-bottom: 5rem; }
.text--heading-first { margin-top: 3rem; }
.text--heading-first + .text--heading { margin-top: 0.75rem; }

/* ---------- Textes ---------- */
.title {
  font-size: 2.25rem; font-weight: 400; line-height: 1;
  margin: 2rem 0 1rem; text-shadow: var(--text-shadow);
}
.title:first-child { margin-top: 0; }
.title--ink { color: var(--ink); }
.title--black { color: #000; }
.title--md { font-size: 1.75rem; margin: 3rem 0 2rem; }
.subtitle { font-size: 1.625rem; font-weight: 400; margin: 0 0 1rem; }

.text { font-size: 1.625rem; text-align: left; margin: 1.25rem 0 0; font-weight: 400; }
.text p { margin: 0; }
.text p + p { margin-top: 0.65em; }
.text a { color: inherit; }
.text--center { text-align: center; }
.text--sm { font-size: 1.5rem; margin-top: 0.5rem; }
.text--ink { color: var(--ink); }
.text--heading { margin-top: 1.25rem; }
.text--shadow { text-shadow: var(--text-shadow); }
.spaced { margin-top: 1.5rem; }
.spaced p + p { margin-top: 1em; }

/* Liens soulignés dans les textes clairs, gras dans la bio (comme sur Carrd) */
#malo .text a { font-weight: 700; text-decoration: none; }

.agenda { margin-top: 1.5rem; }
.year {
  display: inline-block;
  font-size: 1.5rem; font-weight: 400;
  margin: 2.5rem 0 0.5rem; padding: 0.3em 0.9em;
  background: var(--veil-soft);
}

/* ---------- Images ---------- */
.frame-wrap { margin: 2rem 0 0; text-align: center; }
.frame-wrap:first-child { margin-top: 0; }
.frame {
  display: inline-block; max-width: 100%;
  border-radius: 0.5rem; overflow: hidden;
  box-shadow: var(--frame-shadow);
  vertical-align: top;
}
.frame img { display: block; width: 100%; }
.frame--portrait { width: 29.5rem; }
.frame--cover { width: 28.125rem; }
.frame--small { width: 16.25rem; }
.frame--plain { box-shadow: none; }
.frame--white { background: var(--white); box-shadow: none; }

/* ---------- Colonnes ---------- */
.cols { display: grid; gap: 2rem clamp(2rem, 8vw, 8.6rem); align-items: start; margin-top: 2.5rem; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.cols--contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1rem; align-items: center; margin-top: 0; }
.band__inner.cols { margin-top: 0; }
@media (max-width: 980px) {
  .cols--3 { gap: 2rem 1.5rem; }
}
@media (max-width: 736px) {
  .cols--2, .cols--3, .cols--contact { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 3rem 1.25rem; }
  .title { font-size: 2.25rem; }
}

/* ---------- Vidéos YouTube ---------- */
.embed { margin: 0 0 1rem; }
.embed iframe { display: block; width: 100%; height: 500px; border: 0; }
@media (max-width: 736px) { .embed iframe { height: auto; aspect-ratio: 16 / 9; } }

/* ---------- Diaporama de l'exposition ---------- */
.slideshow {
  position: relative; margin: 2rem 0 0;
  aspect-ratio: 1144 / 728; background: #000; overflow: hidden;
}
.slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity 1s ease;
}
.slideshow img.is-active { opacity: 1; }

/* ---------- Contact ---------- */
.contact-form { display: grid; gap: 0.9rem; text-align: left; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  font: inherit; font-size: 1.375rem; letter-spacing: 0.15rem; color: #000;
  background: transparent; border: 1px solid #000; border-radius: 0;
  height: 2.5rem; padding: 0 0.875rem;
}
.contact-form textarea { height: 10rem; padding: 0.7rem 0.875rem; resize: vertical; line-height: 1.1; }
.contact-form ::placeholder { color: rgba(0, 0, 0, 0.55); opacity: 1; }
.contact-form :focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1.375rem; color: #000; line-height: 1.1; cursor: pointer; }
.consent input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; flex: none; accent-color: #000; }
.contact-form .btn--submit { justify-self: center; }
.form-status { margin: 0; min-height: 1em; font-size: 1.1rem; color: #000; text-align: center; }
.form-status.is-error { color: #8b0000; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.docs { text-align: left; }
.docs .title { text-align: center; }
.doc { font-size: 1.5rem; color: #000; margin: 0.75rem 0 0; text-shadow: var(--text-shadow); }
.doc a { color: #000; text-decoration: none; }
.doc a:hover, .doc a:focus-visible { text-decoration: underline; }

.card {
  background: var(--veil-soft);
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--white);
  padding: 10px 0;
  font-size: 1.5rem; text-align: center;
  margin-bottom: 0.75rem;
}
.card p { margin: 0.4em 0; }
.small-links { font-size: 1.125rem; text-align: left; }
.small-links p { margin: 1rem 0 0; }
.small-links a { color: var(--white); }

/* ---------- Page de remerciement ---------- */
.page--merci:target { padding: 6rem 2rem; text-align: center; }
.page--merci .title { margin-top: 2rem; }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.8s ease, transform 0.8s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ds-allow-hardcode:end */
