/* ==========================================================
   ArmorSounds — Label de musiques bretonnes
   Palette : Gwenn-ha-Du (blanc / noir)
   ========================================================== */

:root {
  --black: #0a0a0a;
  --black-2: #121212;
  --black-3: #1b1b1b;
  --white: #f5f3ee;
  --grey: #8d8a84;
  --line: rgba(245, 243, 238, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
ul { list-style: none; }

::selection { background: var(--white); color: var(--black); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

em { font-style: italic; font-weight: 400; }

/* ---------- Typo ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.01em;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--sm { padding: 10px 18px; font-size: 11px; }

.link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .3s;
}
.link:hover { opacity: .6; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}
.brand strong { font-weight: 600; }
.brand__mark { width: 16px; height: 24px; fill: var(--white); }

.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid var(--white); padding: 10px 18px; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--white); color: var(--black); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.nav__toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1.5px;
  background: var(--white);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:first-child { top: 13px; }
.nav__toggle span:last-child { top: 22px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 17px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 17px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 100px;
  isolation: isolate;
}

/* 9 bandes du Gwenn-ha-Du, en version sombre */
.hero__stripes {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: -2;
}
.hero__stripes span { flex: 1; }
.hero__stripes span:nth-child(odd) { background: var(--black); }
.hero__stripes span:nth-child(even) {
  background: linear-gradient(90deg, rgba(245,243,238,0) 0%, rgba(245,243,238,.06) 40%, rgba(245,243,238,.06) 100%);
  border-top: 1px solid rgba(245,243,238,.08);
  border-bottom: 1px solid rgba(245,243,238,.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,.1) 0%, rgba(10,10,10,.85) 75%),
    linear-gradient(180deg, rgba(10,10,10,.6) 0%, transparent 25%, transparent 75%, var(--black) 100%);
}

/* Canton aux 11 hermines */
.hero__canton {
  position: absolute;
  top: 110px;
  left: 4vw;
  display: grid;
  grid-template-columns: repeat(4, 22px);
  gap: 20px 26px;
  opacity: .22;
  z-index: -1;
}
.hero__canton svg { width: 18px; height: 27px; fill: var(--white); }
.hero__canton svg:nth-child(n+5):nth-child(-n+7) { transform: translateX(24px); }

.hero__content { max-width: 900px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(60px, 13vw, 180px);
  line-height: .92;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}

.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  margin-bottom: 8px;
}
.hero__breton {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 48px;
}

.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--white);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section__head { margin-bottom: clamp(48px, 7vw, 80px); }

.section--light { background: var(--white); color: var(--black); }
.section--light .eyebrow { color: #6b6862; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.split__body p:not(.lead) { color: #c9c6bf; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.stats li { padding: 28px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  line-height: 1;
}
.stats strong::after { content: "+"; font-size: .5em; vertical-align: top; margin-left: 2px; }
.stats span {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.pillar { padding: 48px 36px 0 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.pillar__num { font-family: var(--serif); font-size: 18px; color: var(--grey); font-style: italic; }
.pillar h3 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: 12px 0 14px; }
.pillar p { color: #c9c6bf; font-size: 16px; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  background: var(--white);
  color: var(--black);
  overflow: hidden;
  padding: 26px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
  white-space: nowrap;
}
.marquee svg { width: 16px; height: 24px; fill: var(--black); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* ---------- Artistes ---------- */
.artists {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.artist { cursor: pointer; }
.artist__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(180deg, var(--black-3) 0 11.11%, var(--black-2) 11.11% 22.22%);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.artist__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
  z-index: 0;
}
.artist__visual span {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  color: var(--grey);
  transition: color .4s;
}
.artist__visual svg {
  position: relative;
  z-index: 1;
  width: 44px; height: 66px;
  fill: var(--white);
  transition: transform .7s var(--ease), fill .4s;
}
.artist:hover .artist__visual::after { transform: translateY(0); }
.artist:hover .artist__visual svg { fill: var(--black); transform: scale(1.12); }
.artist:hover .artist__visual span { color: var(--black); }
.artist__info h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.2; }
.artist__info p { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }

/* ---------- Sorties ---------- */
.releases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.release__cover {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.release:hover .release__cover { transform: translateY(-8px); box-shadow: 0 24px 40px -20px rgba(0,0,0,.45); }
.release__cover svg { width: 56px; height: 84px; }

.cover--a { background: var(--black); }
.cover--a svg { fill: var(--white); }

.cover--b {
  background: repeating-linear-gradient(180deg, var(--black) 0 11.11%, var(--white) 11.11% 22.22%);
  box-shadow: inset 0 0 0 1px var(--black);
}
.cover--b svg {
  fill: var(--black);
  background: var(--white);
  padding: 22px 30px;
  width: 116px; height: 128px;
  outline: 1px solid var(--black);
}

.cover--c { background: var(--black); }
.cover--c::before,
.cover--c::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.cover--c::before { inset: 14%; border: 1px solid rgba(245,243,238,.5); }
.cover--c::after { inset: 26%; border: 1px solid rgba(245,243,238,.3); }
.cover--c svg { fill: var(--white); position: relative; z-index: 1; }

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6b6862;
}
.release__meta h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15; margin: 6px 0 2px; }
.release__meta p { color: #4a4843; margin-bottom: 16px; }

/* ---------- Agenda ---------- */
.events { border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 110px 1fr 180px auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), background .4s;
}
.event:hover { padding-left: 16px; padding-right: 16px; background: var(--black-2); }
.event__date { display: flex; align-items: baseline; gap: 8px; }
.event__date strong { font-family: var(--serif); font-size: 54px; font-weight: 500; line-height: 1; }
.event__date span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.event__info h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.event__info p { color: var(--grey); font-size: 15px; }
.event__place { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact__inner { max-width: 820px; }
.contact__mark { width: 30px; height: 45px; fill: var(--white); margin: 0 auto 36px; }
.contact .section__title { margin-bottom: 28px; }
.contact .lead { color: #c9c6bf; }
.contact__mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 4.4vw, 50px);
  font-style: italic;
  margin: 28px 0 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color .4s;
  word-break: break-word;
}
.contact__mail:hover { border-color: var(--white); }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; }
.socials a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color .3s;
}
.socials a:hover { color: var(--white); }

/* ---------- Footer ---------- */
.footer__flag { display: flex; flex-direction: column; height: 36px; }
.footer__flag span { flex: 1; }
.footer__flag span:nth-child(odd) { background: var(--white); }
.footer__flag span:nth-child(even) { background: var(--black); }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer p, .footer__legal { font-size: 13px; color: var(--grey); }
.footer__legal:hover { color: var(--white); }

/* ---------- Page mentions légales ---------- */
.legal { padding: 160px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 68px); line-height: 1.05; margin-bottom: 48px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 44px 0 12px; }
.legal p { color: #c9c6bf; margin-bottom: 12px; }
.legal a { border-bottom: 1px solid var(--line); }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .artists { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .event { grid-template-columns: 90px 1fr auto; }
  .event__place { display: none; }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { font-size: 16px; }
  .brand { position: relative; z-index: 2; }

  .hero__canton { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .releases { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { font-size: 22px; }
  .artists { gap: 16px; }
  .artist__info h3 { font-size: 20px; }
  .artist__info p { font-size: 11px; }
  .stats li + li { padding-left: 14px; }
  .event { grid-template-columns: 1fr; gap: 10px; }
  .event .btn { justify-self: start; }
  .event__date strong { font-size: 42px; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
}
