/* =========================================================
   BRASS DÉLIRIUM — Feuille de style
   Direction : affiche de concert. Contraste fort, angles vifs,
   typo condensée massive. Rouge de marque + cuivre des instruments.
   ========================================================= */

/* ---------- 0. Polices, servies depuis notre propre hébergement ----------
   Elles ne sont pas chargées depuis les serveurs de Google : cela évite
   d'envoyer l'adresse IP de chaque visiteur aux États-Unis, ce que la CNIL
   sanctionne. Sous-ensemble latin uniquement, suffisant pour le français. */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

/* ---------- 1. Jetons de design ---------- */
:root {
  /* Couleurs de marque */
  --noir:        #0B0A0A;
  --noir-2:      #131010;
  --noir-3:      #1C1817;
  --rouge:       #B30404;   /* rouge exact du logo */
  --rouge-vif:   #E01414;   /* aplats et survols : blanc dessus = 4,91:1 */
  --rouge-texte: #F03030;   /* rouge en TEXTE sur fond noir : 5,17:1 */
  --cuivre:      #D4A03C;
  --cuivre-clair:#F0C874;
  --creme:       #F5F2EF;
  --gris:        #A8A19C;
  --gris-fonce:  #8A827D;   /* éclairci : 5,57:1 sur le fond noir */

  /* Rôles sémantiques */
  --fond:            var(--noir);
  --fond-alt:        var(--noir-2);
  --texte:           var(--creme);
  --texte-doux:      var(--gris);
  --bordure:         #2A2422;
  --bordure-forte:   #3D3532;

  /* Typographie */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --corps:   "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espacement — échelle standard (densité 4/10) */
  --e-1: 0.5rem;
  --e-2: 1rem;
  --e-3: 1.5rem;
  --e-4: 2rem;
  --e-5: 3rem;
  --e-6: 4rem;
  --e-7: 6rem;
  --e-8: 8rem;

  --largeur: 1200px;
  --entete-h: 76px;

  /* Mouvement */
  --t-rapide: 150ms;
  --t-moyen:  260ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Réinitialisation ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

::selection { background: var(--rouge); color: #fff; }

/* Accessibilité : focus toujours visible */
:focus-visible {
  outline: 3px solid var(--cuivre);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--cuivre);
  color: var(--noir);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
}

/* ---------- 3. En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--entete-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-moyen) var(--ease),
              border-color var(--t-moyen) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-collee {
  background: rgba(11, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--bordure);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--creme);
  padding: 2px;
  transition: transform var(--t-moyen) var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cuivre);
  font-weight: 600;
  margin-top: 3px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: var(--e-1);
  list-style: none;
  padding: 0;
}
.nav a {
  display: block;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--texte);
  position: relative;
  cursor: pointer;
  transition: color var(--t-rapide) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
  height: 2px;
  background: var(--cuivre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-moyen) var(--ease);
}
.nav a:hover { color: var(--cuivre-clair); }
.nav a:hover::after,
.nav a.est-active::after { transform: scaleX(1); }
.nav a.est-active { color: var(--cuivre); }

.nav .nav-cta {
  background: var(--rouge);
  color: #fff;
  margin-left: 0.5rem;
  padding-inline: 1.2rem;
  transition: background var(--t-rapide) var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--rouge-vif); color: #fff; }

/* Bouton menu mobile */
.burger {
  display: none;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--bordure-forte);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--texte);
  transition: transform var(--t-moyen) var(--ease), opacity var(--t-rapide) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.8rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: background var(--t-rapide) var(--ease),
              color var(--t-rapide) var(--ease),
              border-color var(--t-rapide) var(--ease),
              transform var(--t-rapide) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.btn-primary:hover { background: var(--rouge-vif); border-color: var(--rouge-vif); }

.btn-ghost { border-color: var(--bordure-forte); color: var(--texte); }
.btn-ghost:hover { border-color: var(--cuivre); color: var(--cuivre-clair); }

.btn-buy { background: var(--cuivre); color: var(--noir); border-color: var(--cuivre); width: 100%; }
.btn-buy:hover { background: var(--cuivre-clair); border-color: var(--cuivre-clair); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--entete-h);
  isolation: isolate;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
/* Fond de repli, placé derrière la scène 3D. Il se superpose à elle quand
   tout va bien, et prend seul le relais si la 3D ne se charge pas :
   page ouverte hors serveur, WebGL indisponible, JavaScript coupé. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(58% 55% at 72% 60%, rgba(212, 160, 60, 0.17) 0%, rgba(212, 160, 60, 0) 70%),
    radial-gradient(42% 38% at 90% 34%, rgba(179, 4, 4, 0.20) 0%, rgba(179, 4, 4, 0) 72%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Une poche sombre à gauche pour que le titre reste lisible, et le
     dégradé s'efface vers la droite pour laisser voir l'onde. Le haut et
     le bas se referment pour raccorder l'en-tête et le bandeau défilant. */
  background:
    radial-gradient(65% 90% at 0% 50%, rgba(11,10,10,0.96) 0%, rgba(11,10,10,0.75) 35%, rgba(11,10,10,0) 100%),
    linear-gradient(180deg, rgba(11,10,10,0.55) 0%, rgba(11,10,10,0) 20%, rgba(11,10,10,0) 60%, rgba(11,10,10,0.90) 100%);
}

.hero-inner { padding-block: var(--e-5) var(--e-7); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cuivre);
  margin-bottom: var(--e-3);
}
.tick {
  width: 8px; height: 8px;
  background: var(--rouge-vif);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(224, 20, 20, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 20, 20, 0.65); }
  70%  { box-shadow: 0 0 0 12px rgba(224, 20, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 20, 20, 0); }
}

.hero-title {
  /* Le titre suit aussi la hauteur de fenêtre (13vh) : sur un écran large
     mais peu haut, se caler sur la seule largeur repousserait les boutons
     sous la ligne de flottaison. */
  font-size: clamp(2.9rem, min(10vw, 13vh), 8.5rem);
  /* Interligne à 1 : le masque de chaque ligne doit être assez haut pour
     contenir les glyphes, sinon il les rogne. La compacité visuelle est
     rattrapée par la marge négative ci-dessous. */
  /* 1.06 et non 1 : le titre est en capitales et « JOUÉ » porte un accent
     qui monte au-dessus de la hauteur de capitale. */
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: var(--e-3);
}
.hero-title .line {
  display: block;
  overflow: hidden;
  /* Le masque est agrandi vers le haut sans déplacer le texte, sinon
     l'accent de « JOUÉ » se fait rogner. Le décalage d'entrée étant de
     115 %, cette marge supplémentaire ne laisse rien dépasser. */
  padding-top: 0.12em;
  margin-top: -0.12em;
  margin-bottom: -0.2em;
}
.hero-title .line:last-child { margin-bottom: 0; }
.hero-title .w { display: block; }
.hero-title .accent {
  color: var(--cuivre);
  -webkit-text-stroke: 0;
}

.hero-lede {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--texte-doux);
  margin-bottom: var(--e-4);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--e-2); }

/* Bandeau défilant */
.hero-marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--bordure);
  background: rgba(11, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  padding-block: 0.85rem;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: defile 42s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gris);
  white-space: nowrap;
}
.marquee-track i { width: 6px; height: 6px; background: var(--rouge); flex: 0 0 auto; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- 6. Sections génériques ---------- */
.section { padding-block: var(--e-7); position: relative; }
.section-alt { background: var(--fond-alt); }

.section-head { max-width: 62ch; margin-bottom: var(--e-6); }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rouge-texte);
  margin-bottom: var(--e-2);
}
.section-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: var(--e-2);
}
.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--texte-doux);
}
.section-lede em, .section-head em { color: var(--cuivre); font-style: italic; }

/* ---------- 7. Plateformes d'écoute ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--e-3);
}
.platform {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon body" "icon go";
  align-items: center;
  gap: 0.35rem var(--e-3);
  padding: var(--e-4);
  border: 1px solid var(--bordure);
  background: var(--noir-2);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-moyen) var(--ease),
              transform var(--t-moyen) var(--ease);
}
.section-alt .platform { background: var(--noir-3); }
.platform:hover { transform: translateY(-4px); }
.platform-spotify:hover { border-color: #1DB954; }
.platform-deezer:hover  { border-color: #A238FF; }

.platform-glow {
  position: absolute;
  inset: auto -30% -80% auto;
  width: 260px; height: 260px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity var(--t-moyen) var(--ease);
  pointer-events: none;
}
.platform-spotify .platform-glow { background: #1DB954; }
.platform-deezer  .platform-glow { background: #A238FF; }
.platform:hover .platform-glow { opacity: 0.22; }

.platform-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  border: 1px solid var(--bordure-forte);
  transition: color var(--t-moyen) var(--ease), border-color var(--t-moyen) var(--ease);
}
.platform-spotify .platform-icon { color: #1DB954; }
.platform-deezer  .platform-icon { color: #A238FF; }
.platform:hover .platform-icon { border-color: currentColor; }

.platform-body { grid-area: body; }
.platform-name {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}
.platform-desc { display: block; color: var(--texte-doux); font-size: 0.95rem; }
.platform-go {
  grid-area: go;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cuivre);
  margin-top: 0.4rem;
}

/* ---------- 8. Réseaux sociaux ---------- */
.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--e-3);
}
.social {
  position: relative;
  display: block;
  min-height: 300px;
  padding: 2px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-moyen) var(--ease);
}
.social:hover { transform: translateY(-5px); }

.social-bg {
  position: absolute;
  inset: 0;
  transition: transform 600ms var(--ease), filter var(--t-moyen) var(--ease);
}
.social-fb .social-bg {
  background: linear-gradient(135deg, #0866FF 0%, #0653CC 45%, #062E7A 100%);
}
.social-ig .social-bg {
  background: linear-gradient(135deg, #F9CE34 0%, #EE2A7B 45%, #6228D7 100%);
}
.social:hover .social-bg { transform: scale(1.08) rotate(1.5deg); }

.social-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: var(--e-4);
  background: linear-gradient(180deg, rgba(11,10,10,0.20) 0%, rgba(11,10,10,0.86) 100%);
}
/* L'icône se pose sur le haut du dégradé, qui vire au jaune côté
   Instagram : sans ce fond sombre, du blanc sur jaune tombe à 1,86:1. */
.social-icon {
  color: #fff;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  background: rgba(11, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.social-name {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin-top: var(--e-4);
}
.social-desc {
  display: block;
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
  margin-top: 0.5rem;
  max-width: 34ch;
}
.social-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--e-3);
  padding: 0.6rem 1.2rem;
  background: #fff;
  color: var(--noir);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap var(--t-rapide) var(--ease);
}
.social:hover .social-go { gap: 0.9rem; }

/* ---------- 9. Boutique ---------- */
.shop-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--e-2);
  list-style: none;
  padding: 0;
  margin-bottom: var(--e-5);
}
.shop-facts li {
  padding: var(--e-2) var(--e-3);
  border-left: 3px solid var(--rouge);
  background: var(--noir-2);
  font-size: 0.95rem;
  color: var(--texte-doux);
}
.shop-facts strong { color: var(--texte); font-weight: 600; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--e-3);
}
.arr {
  display: flex;
  flex-direction: column;
  padding: var(--e-4);
  border: 1px solid var(--bordure);
  background: var(--noir-2);
  transition: border-color var(--t-moyen) var(--ease),
              transform var(--t-moyen) var(--ease);
}
.arr:hover { border-color: var(--cuivre); transform: translateY(-4px); }

.arr-pack {
  border-color: var(--cuivre);
  background: linear-gradient(160deg, rgba(212,160,60,0.10) 0%, var(--noir-2) 55%);
}
.arr-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.6rem;
  background: var(--cuivre);
  color: var(--noir);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.arr-head { margin-bottom: var(--e-3); }
.arr-title { font-size: 1.9rem; line-height: 1; }
.arr-artist {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cuivre);
  margin-top: 0.45rem;
}

.arr-meta { list-style: none; padding: 0; margin-bottom: var(--e-3); }
.arr-meta li {
  display: flex;
  justify-content: space-between;
  gap: var(--e-2);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--bordure);
  font-size: 0.88rem;
}
.arr-meta span { color: var(--gris-fonce); }
.arr-meta b { color: var(--texte-doux); font-weight: 500; text-align: right; }

.arr-foot {
  display: flex;
  align-items: center;
  gap: var(--e-2);
  margin-top: auto;
  padding-top: var(--e-2);
}
.arr-price {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--texte);
  flex: 0 0 auto;
}
.arr-price span { font-size: 1.2rem; color: var(--cuivre); }
.arr-foot .btn-buy { width: auto; flex: 1; }

.shop-note {
  margin-top: var(--e-4);
  color: var(--texte-doux);
  font-size: 0.98rem;
}
.shop-note a { color: var(--cuivre); text-decoration: underline; text-underline-offset: 3px; }
.shop-note a:hover { color: var(--cuivre-clair); }

/* ---------- 10. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--e-5);
  align-items: start;
}

.form { display: flex; flex-direction: column; gap: var(--e-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-3); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }

.field label {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.req { color: var(--rouge-texte); }
.opt { color: var(--gris-fonce); font-size: 0.8rem; letter-spacing: 0; text-transform: none; font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--noir);
  border: 1px solid var(--bordure-forte);
  color: var(--texte);
  transition: border-color var(--t-rapide) var(--ease), background var(--t-rapide) var(--ease);
}
.section-alt .field input,
.section-alt .field textarea { background: var(--noir); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gris-fonce); }
.field input:hover, .field textarea:hover { border-color: var(--gris-fonce); }
.field input:focus, .field textarea:focus { border-color: var(--cuivre); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--rouge-texte); }

.hint { font-size: 0.85rem; color: var(--gris-fonce); }
.err { font-size: 0.85rem; color: #FF6B6B; min-height: 0; }
.err:empty { display: none; }

.field-check { gap: 0.35rem; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--corps);
  font-size: 0.92rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--texte-doux);
  line-height: 1.5;
}
.check input {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 1px;
  accent-color: var(--rouge);
  cursor: pointer;
}

/* Pot de miel anti-robot : invisible pour l'humain */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn-submit { align-self: flex-start; position: relative; }
.btn-submit[disabled] { opacity: 0.7; cursor: progress; }
.btn-loading { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: tourne 700ms linear infinite; }
.btn-submit.est-envoi .btn-loading { display: block; }
@keyframes tourne { to { transform: rotate(360deg); } }

.form-status { font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.ok    { color: #4ADE80; }
.form-status.ko    { color: #FF6B6B; }

/* Colonne de droite */
.contact-side { display: flex; flex-direction: column; gap: var(--e-4); }
.contact-side h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.phones, .side-block {
  padding: var(--e-4);
  border: 1px solid var(--bordure);
  background: var(--noir);
}
.phones-lede { color: var(--texte-doux); font-size: 0.92rem; margin-bottom: var(--e-3); }

.phone { margin-bottom: var(--e-3); }
.phone-role {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cuivre);
  margin-bottom: 0.5rem;
}
.phone-img {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--bordure-forte);
  background: var(--noir-2);
  transition: border-color var(--t-rapide) var(--ease);
  cursor: pointer;
}
.phone-img:hover { border-color: var(--cuivre); }
.phone-img img { max-width: 100%; }

.phones-note {
  font-size: 0.82rem;
  color: var(--gris-fonce);
  line-height: 1.5;
  padding-top: var(--e-2);
  border-top: 1px solid var(--bordure);
}

.side-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.side-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--texte-doux);
  font-size: 0.95rem;
}
.side-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 2px;
  background: var(--rouge);
}

/* ---------- 11. Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--bordure);
  background: var(--noir);
  padding-top: var(--e-6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--e-4);
  padding-bottom: var(--e-5);
}
.footer-brand img {
  border-radius: 50%;
  background: var(--creme);
  padding: 3px;
  margin-bottom: var(--e-2);
}
.footer-baseline {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--texte-doux);
}

.site-footer h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cuivre);
  margin-bottom: var(--e-2);
}
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer li a {
  text-decoration: none;
  color: var(--texte-doux);
  font-size: 0.95rem;
  transition: color var(--t-rapide) var(--ease);
  cursor: pointer;
}
.site-footer li a:hover { color: var(--cuivre-clair); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--e-2);
  padding-block: var(--e-3);
  border-top: 1px solid var(--bordure);
  font-size: 0.85rem;
  color: var(--gris-fonce);
}

/* ---------- 12. Apparitions au défilement ---------- */
/* L'état masqué n'est posé que si le JS est actif (classe .js), pour
   qu'une page sans JavaScript reste entièrement lisible. */
.js .reveal { opacity: 0; transform: translateY(24px); }
.reveal.est-visible { opacity: 1; transform: none; }

/* État de départ du hero, posé en CSS et non en JS : évite que le titre
   s'affiche une fraction de seconde avant d'être repris par GSAP. */
.js .hero-title .w { transform: translateY(115%); }
.js .hero-eyebrow,
.js .hero-lede,
.js .hero-actions .btn,
.js .hero-marquee { opacity: 0; }

/* ---------- 13. Adaptatif ---------- */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--e-4); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --e-7: 4rem; --e-8: 5rem; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: var(--entete-h) 0 auto 0;
    background: rgba(11, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bordure);
    padding: var(--e-2) 1.25rem var(--e-3);
    display: none;
  }
  .nav.est-ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a {
    padding: 1rem 0.5rem;
    font-size: 1.35rem;
    border-bottom: 1px solid var(--bordure);
  }
  .nav a::after { display: none; }
  .nav .nav-cta {
    margin: var(--e-2) 0 0;
    text-align: center;
    border-bottom: none;
  }

  .brand-tag { display: none; }
  .hero-inner { padding-block: var(--e-4) var(--e-7); }
  .hero-actions .btn { flex: 1 1 100%; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--e-3); }
  .arr-foot { flex-wrap: wrap; }
  .arr-foot .btn-buy { width: 100%; flex: 1 1 100%; }
  .marquee-track { animation-duration: 28s; }
}

@media (max-width: 420px) {
  .wrap { width: min(100% - 1.75rem, var(--largeur)); }
  .platform { grid-template-columns: 1fr; grid-template-areas: "icon" "body" "go"; }
}

/* ---------- 14. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .tick { animation: none; }
}

/* ---------- 15. Impression ---------- */
@media print {
  .site-header, .hero-marquee, #hero-canvas, .socials, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
