/* ══════════════════════════════════════════════
   DECOY — Feuille de styles partagée FR / EN
   style.css
══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   FONTS
══════════════════════════════════════════════ */
@font-face {
  font-family: 'Caviar Dreams';
  src: url('Fonts/CaviarDreams.woff2') format('woff2'),
       url('Fonts/CaviarDreams.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Caviar Dreams';
  src: url('Fonts/CaviarDreams_Bold.woff2') format('woff2'),
       url('Fonts/CaviarDreams_Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* ══════════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════════ */
:root {
  --ff:     'Caviar Dreams', 'Exo 2', sans-serif;
  --ff-cia: 'Courier Prime', 'Courier New', monospace;

  --c-bg:   #090909;
  --c-bg2:  #0d0d0d;
  --c-red:  #ff3c27;
  --c-ra:   #ff3c27;
  --c-rb:   #ff3c27;
  --c-sred: #ff3c27;
  --c-txt:  #eae5db;
  --c-wht:  #ffffff;
  --c-mut:  #706e67;

  --max:  1320px;
  --px:   clamp(28px, 7vw, 90px);
}

/* ══════════════════════════════════════════════
   RESET
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; }
body  {
  background: var(--c-bg);
  color: var(--c-txt);
  font-family: var(--ff);
  font-weight: 700;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════ */
.wrap    { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }
.section { padding: clamp(90px, 12vw, 140px) 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════════
   TYPOGRAPHIC ATOMS
══════════════════════════════════════════════ */
.idx {
  display: block;
  font-family: var(--ff-cia);
  font-size: 1rem;
  letter-spacing: .16em;
  color: var(--c-red);
  margin-bottom: 16px;
}
.sh {
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  /*letter-spacing: .28em;*/
  text-transform: uppercase;
  color: var(--c-txt);
  line-height: 1.12;
  margin-bottom: 10px;
}
.sl {
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 70px;
}
.rline {
  width: 48px; height: 1px;
  background: var(--c-red);
  opacity: .55;
  margin: 22px 0 52px;
}

/* Tampon rouge */
.stamp {
  display: inline-block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-sred);
  border: 3px solid var(--c-sred);
  padding: 8px 10px;
  opacity: .88;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   BOUTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 17px 44px;
  cursor: pointer;
  transition: .18s;
}
.btn-red {
  background: var(--c-red);
  color: #ffffff;
  border: 1px solid var(--c-red);
}
.btn-red:hover { background: #d42c1a; border-color: #d42c1a; }
.btn-ghost {
  background: transparent;
  color: var(--c-txt);
  border: 1px solid rgba(234,229,219,.28);
}
.btn-ghost:hover { border-color: var(--c-txt); }

/* ══════════════════════════════════════════════
   BACKGROUNDS
══════════════════════════════════════════════ */
.bg-wood {
  background-image: url('Visuels/texture-bois.png');
  background-size: 560px;
}
.bg-maze {
  background-color: var(--c-bg2);
  position: relative;
  overflow: hidden;
}
.bg-maze::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Visuels/Fond-maze.png') center / cover no-repeat;
  opacity: .40;
  pointer-events: none;
  z-index: 0;
}
.bg-maze > .wrap { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 64px;
  background: rgba(7,7,7,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,60,39,.35);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity .18s;
}
.nav-links a:hover { opacity: .65; }

.nav-skwid a {
  border: 1px solid rgba(255,255,255,.28);
  padding: 6px 18px;
  color: #ffffff !important;
  letter-spacing: .16em;
  transition: border-color .18s, background .18s !important;
}
.nav-skwid a:hover {
  border-color: #ffffff !important;
  background: rgba(255,255,255,.07);
  opacity: 1 !important;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-lang a {
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.38) !important;
  opacity: 1 !important;
}
.nav-lang a:hover { color: #ffffff !important; }
.nav-lang a.lang-active {
  color: var(--c-red) !important;
}
.nav-lang .lang-sep {
  color: rgba(255,255,255,.2);
  font-size: .85rem;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('Visuels/Fond-sombre.jpg') center 30% / cover no-repeat fixed;
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48%;
  background: linear-gradient(transparent, var(--c-bg));
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--px) 110px;
}
.hero-left {
  max-width: 580px;
}
.hero-ref {
  display: block;
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: var(--c-red);
  letter-spacing: .13em;
  margin-bottom: 44px;
  font-weight: normal;
}
.hero-logo {
  width: min(300px, 52vw);
  margin-bottom: 28px;
}
.hero-tagline {
  font-family: var(--ff);
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: .13em;
  margin-bottom: 56px;
  text-transform: uppercase;
  background-color: black;
  display: inline-block;
  padding: 2px 10px;
}
.hero-stats {
  display: flex;
  margin-bottom: 52px;
}
.hero-stat {
  padding: 18px 26px;
  border-left: 1px solid rgba(255,60,39,.45);
}
.hero-stat:last-child { border-right: 1px solid rgba(255,60,39,.45); }
.hero-stat-lbl {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}
.hero-stat-val {
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  letter-spacing: .08em;
  color: var(--c-txt);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   HERO CARDS - 3 cartes solo en quinconce, flottement différentiel
   Ordre : CarteSolo3 (haut-gauche) → CarteSolo2 (centre) → CarteSolo1 (bas-droite)
══════════════════════════════════════════════ */
.hero-cards {
  position: absolute;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  width: 620px;
  height: 560px;
  overflow: visible;
}
.hero-card {
  position: absolute;
  max-width: 400px;
  filter: drop-shadow(6px 16px 32px rgba(0,0,0,.72));
}
/* CarteSolo3 - arrière haut-gauche */
.hero-card.c1 {
  left: 0;
  top: 0;
  z-index: 3;
  animation: float-c1 5.2s ease-in-out infinite;
}
/* CarteSolo2 - centre */
.hero-card.c2 {
  left: 110px;
  top: 60px;
  z-index: 2;
  animation: float-c2 6.8s ease-in-out infinite;
  animation-delay: -2.1s;
}
/* CarteSolo1 - avant bas-droite */
.hero-card.c3 {
  left: 220px;
  top: 120px;
  z-index: 1;
  animation: float-c3 4.6s ease-in-out infinite;
  animation-delay: -1.3s;
}

@keyframes float-c1 {
  0%, 100% { transform: rotate(-8deg) translate(0, 0); }
  50%       { transform: rotate(-8deg) translate(10px, -12px); }
}
@keyframes float-c2 {
  0%, 100% { transform: rotate(1deg) translate(0, 0); }
  50%       { transform: rotate(1deg) translate(-13px, -16px); }
}
@keyframes float-c3 {
  0%, 100% { transform: rotate(9deg) translate(0, 0); }
  50%       { transform: rotate(9deg) translate(15px, -8px); }
}

/* ══════════════════════════════════════════════
   BLOC 01 - BRIEFING
══════════════════════════════════════════════ */
.briefing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.cia-card {
  background: url('Visuels/Fond-sombre.jpg') center / cover;
  border: 1px solid rgba(255,60,39,.35);
  border-top: 2px solid var(--c-red);
  padding: 38px 34px 80px;
  position: relative;
}
.cia-tag {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,60,39,.35);
}
.cia-ref {
  display: block;
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: var(--c-red);
  letter-spacing: .1em;
  margin-bottom: 26px;
}
.cia-text {
  font-family: var(--ff-cia);
  font-size: 1rem;
  line-height: 2.1;
  color: rgba(234,229,219,.85);
  font-weight: normal;
}
.cia-text p { margin-bottom: 14px; }
.cia-text p:last-child { margin-bottom: 0; }
.cia-text strong { color: #ffffff; }

.stamp-br {
  position: absolute;
  bottom: 24px;
  right: 24px;
  transform: rotate(3deg);
}

.briefing-r {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
  overflow: visible;
}
.concept-pull {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.9;
  border-left: 3px solid var(--c-red);
  padding-left: 28px;
  margin-bottom: 44px;
}

#briefing .idx,
#acquerir .idx { color: --c-red; background-color: black; display: inline-block; padding: 2px 10px; }

.briefing-card {
  width: clamp(260px, 88%, 600px);
  margin-left: auto;
  transform: translateX(70px) rotate(10deg);
  filter: drop-shadow(0 20px 52px rgba(0,0,0,.65));
  transition: transform .4s ease;
}
.briefing-card:hover {
  transform: translateX(70px) rotate(10deg) scale(1.3);
}

/* ══════════════════════════════════════════════
   BLOC 02 - DÉMONSTRATION
══════════════════════════════════════════════ */
#demo {
  background: url('Visuels/Fond-clair.jpg') center / cover no-repeat;
  text-align: center;
}
#demo .idx { text-align: center; }
#demo .sh  { text-align: center; color: #000000; }
#demo .sl  { text-align: center; color: #1a1a1a; }

.video-frame {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--c-rb);
  overflow: hidden;
  background: #050505;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ══════════════════════════════════════════════
   BLOC 03 - DOSSIER TECHNIQUE
══════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-cell {
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,60,39,.35);
  border-left: 3px solid var(--c-red);
  padding: 0;
  position: relative;
  transition: background .2s;
}
.stat-cell:hover { background: rgba(0,0,0,.68); }

.stat-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: var(--c-red);
  letter-spacing: .1em;
  border-bottom: 1px solid rgba(255,60,39,.35);
  padding: 12px 16px;
}
.stat-plus {
  width: 22px; height: 22px;
  border: 1px solid rgba(255,60,39,.45);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff);
  font-weight: 400;
  font-size: 1rem;
  color: var(--c-red);
  cursor: pointer;
  transition: background .18s;
  flex-shrink: 0;
  user-select: none;
}
.stat-plus:hover { background: rgba(255,60,39,.3); }

.stat-body { padding: 22px 18px 26px; }

.stat-v {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  letter-spacing: .04em;
  color: var(--c-txt);
  margin-bottom: 6px;
}
.stat-l {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}
.stat-d {
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.75;
  font-weight: normal;
}

/* ══════════════════════════════════════════════
   BLOC 04 - ACHETER
══════════════════════════════════════════════ */
.acquerir-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 90px;
  align-items: center;
}
.acquerir-visual img {
  width: clamp(320px, 38vw, 500px);
  transform: rotate(-5deg);
  transition: transform .4s ease;
  filter: drop-shadow(22px 28px 60px rgba(0,0,0,.75));
}
.acquerir-visual:hover img { transform: rotate(-2deg) scale(1.02); }

.acquerir-pitch {
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: #ffffff;
  line-height: 2;
  margin-bottom: 34px;
  font-weight: normal;
}
.acquerir-price {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(3.2rem, 6vw, 5rem);
  letter-spacing: .04em;
  color: white;
  margin-bottom: 34px;
}
.acquerir-credits {
  display: block;
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: #ffffff;
  margin-top: 24px;
  line-height: 2;
  opacity: .75;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: #050505;
  border-top: 1px solid rgba(255,60,39,.35);
  padding: 72px var(--px) 44px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,60,39,.35);
  margin-bottom: 34px;
  align-items: start;
}
.footer-logo {
  height: 22px;
  margin-bottom: 26px;
}
.footer-warn {
  font-family: var(--ff-cia);
  font-size: .80rem;
  color: rgba(112,110,103,.62);
  line-height: 1.8;
}
.footer-warn strong { color: var(--c-mut); }

.ft-h {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 20px;
}
.ft-ul { list-style: none; }
.ft-ul li { margin-bottom: 12px; }
.ft-ul a {
  font-family: var(--ff-cia);
  font-size: 1rem;
  color: #ffffff;
  transition: opacity .18s;
  font-weight: normal;
}
.ft-ul a:hover { opacity: .55; }

.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: normal;
}
.footer-copy {
  font-family: var(--ff-cia);
  font-size: .80rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
}
.footer-ver {
  font-family: var(--ff-cia);
  font-size: .80rem;
  color: var(--c-red);
  letter-spacing: .1em;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 960px) {
  .nav-ref { display: none; }
  .hero-cards { display: none; }
  .briefing-grid { grid-template-columns: 1fr; gap: 44px; }
  .briefing-card { margin-left: 0; transform: translateX(0) rotate(2deg); }
  .acquerir-grid { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
  .acquerir-visual img { width: clamp(220px, 55vw, 320px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .hero-stats  { flex-wrap: wrap; }
  .hero-stat   { flex: 1 1 50%; }
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-hd     { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-top  { grid-template-columns: 1fr; gap: 32px; }
}
