@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/NunitoSans.ttf") format("truetype");
  font-weight: 200 1000;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/Caveat.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --noir: #0a0809;
  --noir-2: #110e0f;
  --carte: #191516;
  --carte-2: #211c1e;
  --bord: rgba(255, 255, 255, 0.09);
  --texte: #f6f4ef;
  --doux: #a8a49c;
  --or: #ff9a4d;
  --peche: #ffb98a;
  --degrade: linear-gradient(95deg, #ff4d3d 0%, #ff7a2f 48%, #ffc03a 100%);
  --verre: rgba(26, 21, 22, 0.72);
  --largeur: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 900; letter-spacing: -0.022em; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 8px; }

.degrade {
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Barre du haut */
.barre {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  height: 64px; padding: 0 max(22px, calc((100vw - var(--largeur)) / 2));
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--bord);
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: -0.01em; }
.marque-logo {
  display: block;
  height: 34px;
  width: auto;
}


.barre-liens { display: flex; gap: 26px; margin-left: 12px; }
.barre-liens a { text-decoration: none; color: var(--doux); font-weight: 700; font-size: 15px; }
.barre-liens a:hover { color: var(--texte); }
.bouton-blanc {
  margin-left: auto; padding: 9px 18px; border-radius: 10px;
  background: var(--texte); color: #101012; text-decoration: none; font-weight: 800; font-size: 15px;
}
.bouton-blanc:hover { background: #fff; }

/* Boutons */
.bouton-degrade {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px;
  background: var(--degrade); color: #1a1208;
  font-weight: 900; font-size: 17px; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(255, 159, 115, 0.55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.bouton-degrade:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 159, 115, 0.7); }
.bouton-degrade svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bouton-degrade.centre { display: flex; width: fit-content; margin: 56px auto 0; }
.bouton-degrade.large { width: 100%; }
.bouton-gris { display: inline-block; padding: 14px 24px; border-radius: 12px; background: var(--carte-2); color: var(--doux); font-weight: 800; border: 1px solid var(--bord); }

/* Accroche */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; padding: 110px max(22px, calc((100vw - var(--largeur)) / 2)) 80px; overflow: hidden; }
.hero-visuel { position: absolute; inset: 0 0 0 30%; overflow: hidden; }
.hero-photos { position: absolute; inset: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transition: opacity 1s ease; }
.hero-photo.visible, .hero-photo.sortante { animation: approche 4.6s linear both; }
.hero-photo.visible { opacity: 1; }
@keyframes approche { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--noir) 0%, rgba(5,5,6,.92) 14%, rgba(5,5,6,.45) 42%, rgba(5,5,6,0) 70%),
    linear-gradient(0deg, var(--noir) 0%, rgba(5,5,6,0) 28%),
    linear-gradient(180deg, rgba(5,5,6,.6) 0%, rgba(5,5,6,0) 22%);
}
.hero-texte { position: relative; z-index: 2; max-width: 560px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); }
.hero-chapo { color: #cfcac1; font-size: 19px; margin: 24px 0 34px; max-width: 30em; }
.hero-note { margin: 16px 0 0; color: var(--doux); font-size: 14px; font-weight: 600; }

/* Éléments d'interface posés sur les images */
.widget {
  position: absolute; z-index: 3;
  background: var(--verre);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
  padding: 14px 16px;
  font-size: 13px;
  animation: flotte 7s ease-in-out infinite alternate, apparait .9s ease-out both;
}
@keyframes flotte { from { translate: 0 0; } to { translate: 0 -8px; } }
@keyframes apparait { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.w-titre { margin: 0 0 10px; font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; color: var(--doux); }

.w-couleurs { top: 17%; right: 6%; width: 250px; animation-delay: 0s, .35s; }
.w-segments { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.06); margin-bottom: 12px; }
.w-segments span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 8px; font-weight: 800; font-size: 11.5px; color: #d9d4ca; white-space: nowrap; }
.w-segments .actif { background: var(--or); color: #1a1208; }
.w-reglage { display: flex; justify-content: space-between; font-weight: 700; color: #e6e1d8; }
.w-reglage b { color: var(--or); font-weight: 900; }
.w-piste { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); margin: 8px 0 12px; }
.w-piste i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 4px; background: var(--degrade); }
.w-piste i::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 2px 8px rgba(0,0,0,.5); }

.w-transition { top: 52%; right: 8%; animation-delay: -2s, .55s; }
.w-choix { display: flex; gap: 6px; }
.w-choix span { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 62px; padding: 8px 4px 7px; border-radius: 10px; background: rgba(255,255,255,.06); font-weight: 800; font-size: 11px; color: #d9d4ca; }
.w-choix svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.w-choix .actif { background: rgba(242, 207, 134, .16); color: var(--or); box-shadow: inset 0 0 0 1.5px var(--or); }

.w-frise { left: 18%; right: 5%; bottom: 7%; padding: 12px 14px; animation-delay: -4s, .75s; }
.w-frise-tete { display: flex; justify-content: space-between; margin-bottom: 9px; font-weight: 900; font-size: 11px; letter-spacing: .08em; }
.w-jour { color: var(--or); }
.w-duree { color: var(--doux); letter-spacing: 0; }
.w-vignettes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.w-vignettes img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; opacity: .85; }
.w-vignettes img.choisie { opacity: 1; outline: 2px solid var(--or); outline-offset: 2px; }
.w-lecture { position: relative; height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255,255,255,.14); }
.w-lecture i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--degrade); }
.w-vignettes img { cursor: pointer; transition: opacity .3s ease, outline-color .3s ease; }
.w-vignettes img:hover { opacity: 1; }

.cadre-texte {
  position: absolute; z-index: 2; left: 30%; top: 44%;
  padding: 4px 16px 8px; border: 1.5px dashed rgba(255,255,255,.8); border-radius: 6px;
  animation: apparait 1s ease-out .2s both;
}
.cadre-texte.entre { animation: texteEntre .6s ease-out both; }
@keyframes texteEntre { from { opacity: 0; } to { opacity: 1; } }
.cadre-texte span { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(30px, 3.4vw, 50px); color: #fff; text-shadow: 0 3px 16px rgba(0,0,0,.6); white-space: nowrap; }
.cadre-texte::before, .cadre-texte::after { content: ""; position: absolute; width: 9px; height: 9px; background: #fff; border-radius: 2px; }
.cadre-texte::before { left: -5px; top: -5px; }
.cadre-texte::after { right: -5px; bottom: -5px; }

/* Sections */
.section { padding: 120px max(22px, calc((100vw - var(--largeur)) / 2)); }
.section > h2, .bandeau-titre { font-size: clamp(32px, 4.2vw, 52px); text-align: center; max-width: 900px; margin: 0 auto; }
.section-chapo { text-align: center; color: var(--doux); font-size: 18px; max-width: 42em; margin: 20px auto 0; }
.etiquette { margin: 0 0 14px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--or); }

/* Capture principale */
.editeur { position: relative; }
.editeur::before {
  content: ""; position: absolute; left: 50%; top: 280px; width: min(1100px, 90vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 194, 122, .22), transparent);
  filter: blur(40px); pointer-events: none;
}
.capture-principale { position: relative; margin: 60px 0 0; padding: 10px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid var(--bord); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
.capture-principale img { width: 100%; border-radius: 14px; }

.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.tuile { padding: 26px 22px; border-radius: 18px; background: var(--carte); border: 1px solid var(--bord); transition: background .2s ease, transform .2s ease; }
.tuile:hover { background: var(--carte-2); transform: translateY(-3px); }
.tuile svg { width: 30px; height: 30px; fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.tuile h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.tuile p { margin: 0; color: var(--doux); font-size: 15px; }

/* Bandeau */
.bandeau { padding: 40px 0 0; }
.bandeau-titre { padding: 0 22px; }
.bandeau-image { position: relative; margin-top: 48px; height: min(78vh, 760px); overflow: hidden; }
.bandeau-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.bandeau-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--noir) 0%, rgba(5,5,6,0) 22%, rgba(5,5,6,0) 70%, var(--noir) 100%); pointer-events: none; }
.bandeau-ecrit { position: absolute; z-index: 2; left: 50%; top: 20%; transform: translateX(-50%); margin: 0; font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(44px, 6vw, 88px); color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.45); white-space: nowrap; }
.barre-texte {
  position: absolute; z-index: 3; left: 50%; bottom: 16%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: min(720px, 90vw);
  padding: 10px 10px 10px 10px; border-radius: 18px;
  background: rgba(250, 248, 243, .94); color: #16161a;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.barre-texte img { width: 64px; height: 44px; object-fit: cover; border-radius: 9px; }
.barre-texte-saisie { flex: 1; font-size: clamp(16px, 2vw, 22px); font-weight: 700; white-space: nowrap; overflow: hidden; }
.barre-texte-saisie i { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: #16161a; animation: curseur 1s steps(1) infinite; }
@keyframes curseur { 50% { opacity: 0; } }
.barre-texte-bouton { padding: 12px 20px; border-radius: 12px; background: var(--degrade); color: #1a1208; font-weight: 900; white-space: nowrap; }

/* Rangées image + texte */
.rangees { display: grid; gap: 130px; }
.rangee { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.rangee.inverse .rangee-visuel { order: 2; }
.rangee-visuel { position: relative; aspect-ratio: 5 / 4; }
.rangee-photo { position: absolute; inset: 0 12% 10% 0; width: 88%; height: 90%; object-fit: cover; border-radius: 22px; }
.rangee.inverse .rangee-photo { inset: 0 0 10% 12%; }
.rangee-video { background: #000; }
.rangee-capture { position: absolute; right: 0; bottom: 0; width: 58%; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px -20px rgba(0,0,0,.85); }
.rangee.inverse .rangee-capture { right: auto; left: 0; }
.rangee-texte h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }
.rangee-texte p:not(.etiquette) { color: var(--doux); font-size: 18px; margin: 0; }

.w-son { right: 0; bottom: 0; width: 62%; animation: none; }
.w-onde { width: 100%; height: 110px; display: block; }
.onde-musique { fill: none; stroke: var(--or); stroke-width: 3.5; stroke-linecap: round; }
.zone-video { fill: rgba(255, 159, 115, .16); stroke: rgba(255, 159, 115, .6); stroke-dasharray: 5 5; }
.w-son-legende { display: grid; grid-template-columns: 1fr 1.1fr 1fr; margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--doux); text-align: center; }
.w-son-video { color: var(--peche); }

/* Histoire */
.histoire-carte { max-width: 860px; margin: 0 auto; padding: 56px 60px; border-radius: 26px; background: linear-gradient(160deg, #17161a, #0f0f12); border: 1px solid var(--bord); position: relative; overflow: hidden; }
.histoire-carte::before { content: "“"; position: absolute; right: 36px; top: -30px; font-size: 220px; font-weight: 900; line-height: 1; color: rgba(242, 207, 134, .08); }
.histoire-carte blockquote { margin: 0; }
.histoire-carte blockquote p { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: #e9e5dd; margin: 0 0 18px; font-weight: 600; }
.histoire-carte blockquote p:last-child { margin-bottom: 0; }

/* Télécharger */
.plateformes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 940px; margin: 54px auto 0; }
.plateforme { padding: 34px; border-radius: 22px; background: var(--carte); border: 1px solid var(--bord); }
.plateforme-nom { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; }
.plateforme-detail { margin: 6px 0 24px; color: var(--doux); font-size: 15px; }
.plateforme-taille { margin: 12px 0 0; text-align: center; color: var(--doux); font-size: 14px; }
.installation { margin: 24px 0 0; padding: 18px 18px 18px 38px; border-radius: 14px; background: rgba(255,255,255,.035); color: var(--doux); font-size: 14.5px; display: grid; gap: 8px; }
.installation strong { color: var(--texte); }

/* Tarif */
.tarif { padding-top: 40px; }
.tarif-carte { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px 52px; border-radius: 26px; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 159, 115, .16), transparent 70%), var(--carte); border: 1px solid var(--bord); }
.tarif-carte h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.tarif-carte p { color: var(--doux); margin: 0; }
.tarif-prix { text-align: center; }
.tarif-montant { font-size: 22px; font-weight: 900; color: var(--texte) !important; margin-bottom: 16px !important; }
.tarif-note { font-size: 14px; margin-top: 14px !important; }

/* Questions */
.questions { max-width: 880px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.questions h2 { margin-bottom: 40px; }
.questions details { border-bottom: 1px solid var(--bord); padding: 20px 2px; }
.questions summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font-weight: 800; font-size: 18px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; color: var(--or); font-size: 26px; line-height: 1; font-weight: 400; transition: transform .2s ease; }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions details p { color: var(--doux); margin: 12px 0 0; }

/* Pied de page */
.pied { border-top: 1px solid var(--bord); padding: 40px max(22px, calc((100vw - var(--largeur)) / 2)) 50px; color: var(--doux); font-size: 14px; }
.pied-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pied-haut p { margin: 0; }
.pied-note { margin: 6px 0; font-size: 12.5px; color: #77736c; }
.pied-note a { color: #9a968e; }
.pied-note a:hover { color: var(--or); }

/* Tablettes et téléphones */
@media (max-width: 1000px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding-top: 88px; padding-bottom: 40px; }
  .hero-visuel { position: relative; inset: auto; order: 2; height: 62vw; min-height: 340px; margin: 34px -22px 0; }
  .hero-voile { background: linear-gradient(0deg, var(--noir) 0%, rgba(5,5,6,0) 30%), linear-gradient(180deg, var(--noir) 0%, rgba(5,5,6,0) 25%); }
  .w-couleurs { top: 10%; right: 4%; width: 220px; }
  .w-transition { display: none; }
  .w-frise { left: 4%; right: 4%; bottom: 6%; }
  .cadre-texte { left: 8%; top: 40%; }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rangee, .rangee.inverse { grid-template-columns: 1fr; gap: 34px; }
  .rangee.inverse .rangee-visuel { order: 0; }
  .rangees { gap: 90px; }
  .tarif-carte { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .barre-liens { display: none; }
  .section { padding-top: 84px; padding-bottom: 84px; }
  .w-couleurs { display: none; }
  .w-vignettes { grid-template-columns: repeat(4, 1fr); }
  .w-vignettes img:nth-child(n+5) { display: none; }
  .tuiles, .plateformes { grid-template-columns: 1fr; }
  .histoire-carte, .tarif-carte, .plateforme { padding: 32px 24px; }
  .barre-texte img { display: none; }
  .barre-texte-bouton { padding: 10px 14px; font-size: 14px; }
  .bandeau-image { height: 70vh; }
  .rangee-capture, .w-son { width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
