/* ============================
   LPDC — STYLE.CSS
   Theme: orange gaming + dark
   (design system porté de MainLife V2)
   ============================ */

/* ============================
   1. VARIABLES & RESET
   ============================ */
:root {
  /* Colors — Orange Gaming */
  --primary: #f4741c;
  --primary-hover: #d95f10;
  --primary-hot: #ff8632;
  --primary-light: #ffb37e;
  --primary-glow: rgba(244, 116, 28, 0.45);
  --primary-glow-soft: rgba(255, 134, 50, 0.22);

  --accent: #fbbf24;
  --accent-hover: #f59e0b;
  --accent-glow: rgba(251, 191, 36, 0.28);

  /* Backgrounds */
  --bg-body: #0a0705;
  --bg-overlay: rgba(10, 7, 5, 0.7);
  --bg-card: rgba(22, 15, 10, 0.72);
  --bg-card-hover: rgba(28, 18, 12, 0.9);
  --bg-card-solid: rgba(18, 12, 8, 0.96);
  --bg-input: rgba(0, 0, 0, 0.45);
  --bg-elev: rgba(255, 255, 255, 0.03);

  /* Text */
  --text: #f1f5f9;
  --text-muted: #a29a8e;
  --text-dim: #6f685e;

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(244, 116, 28, 0.32);
  --border-hot: rgba(255, 134, 50, 0.5);

  /* Status */
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);

  /* Layout */
  --nav-h: 72px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 0 28px var(--primary-glow);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-slow: 400ms;
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-body);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fond : sombre uniforme + flares orange subtils */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(244, 116, 28, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 100%, rgba(244, 116, 28, 0.1) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

a { color: var(--primary-hot); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; display: block; }

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

/* ============================
   2. LAYOUT
   ============================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  z-index: 2;
}

/* ============================
   3. NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(10, 7, 5, 0.7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.navbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow) 50%, transparent);
  opacity: 0.5;
  transition: opacity var(--transition);
}

/* Homepage : transparent au-dessus du hero, plein une fois scrollé */
.navbar.nav-home {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.navbar.nav-home::after { opacity: 0; }
.navbar.nav-home.nav-solid {
  background: rgba(10, 7, 5, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.navbar.nav-home .nav-side a {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.navbar.nav-home .nav-side a:hover,
.navbar.nav-home .nav-side a.active { color: #fff; }
.navbar.nav-home .nav-side a.nav-cta { text-shadow: none; }
.navbar.nav-home.nav-solid .nav-side a { text-shadow: none; }

/* Marque — logo texte centré */
.nav-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  text-shadow: 0 0 18px var(--primary-glow);
  transition: text-shadow var(--transition), transform var(--transition);
}

.nav-brand:hover {
  color: #fff;
  transform: translate(-50%, -50%) scale(1.05);
  text-shadow: 0 0 26px var(--primary-glow);
}

/* Menu — liens répartis autour du logo */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-side-left { justify-content: flex-end; padding-right: 110px; }
.nav-side-right { justify-content: flex-start; padding-left: 110px; }

.nav-side a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-side a:hover,
.nav-side a.active { color: #fff; }

.nav-side a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-glow);
}

.nav-side a.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px var(--primary-glow);
  margin-left: 6px;
}

.nav-side a.nav-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px var(--primary-glow);
  transform: translateY(-1px);
}

.nav-side a.nav-cta::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 3;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .navbar { padding: 0 20px; justify-content: flex-start; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 7, 5, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 24px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s var(--ease);
    pointer-events: none;
    width: auto;
  }

  .nav-side {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    flex: none;
  }

  .nav-side a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-side a.active::after { display: none; }
  .nav-side a.nav-cta { text-align: center; margin: 6px 0 0; }

  .navbar.open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar.open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .navbar.open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ============================
   4. BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 8px 24px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 32px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(0);
}

/* Animated glow border */
.btn-glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: conic-gradient(from 0deg, var(--primary-hot), var(--primary), var(--accent), var(--primary-hot));
  border-radius: inherit;
  z-index: -2;
  opacity: 0.55;
  filter: blur(10px);
  transition: opacity var(--transition);
  animation: glowSpin 6s linear infinite;
}
.btn-glow:hover::before {
  opacity: 0.85;
}

@keyframes glowSpin {
  to { transform: rotate(360deg); }
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-light);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hot);
  color: #fff;
  box-shadow: 0 0 16px var(--primary-glow-soft);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.02rem;
}

/* Pastille IP — clic pour copier */
.ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.ip-pill:hover {
  border-color: var(--border-hot);
  box-shadow: 0 0 16px var(--primary-glow-soft);
}

.ip-pill-text {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.ip-pill-hint {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-hot);
}

.ip-pill.copied { border-color: rgba(34, 197, 94, 0.5); }
.ip-pill.copied .ip-pill-hint { color: var(--success); }

/* ============================
   5. HERO
   ============================ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-body) url('../img/hero.png') center top / cover no-repeat;
}

/* Voile cinématique : assombrit le bas et la gauche pour la lisibilité */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 5, 0.5) 0%, rgba(10, 7, 5, 0.05) 26%, rgba(10, 7, 5, 0.22) 52%, rgba(10, 7, 5, 0.55) 72%, rgba(10, 7, 5, 0.9) 90%, var(--bg-body) 100%),
    linear-gradient(90deg, rgba(10, 7, 5, 0.78) 0%, rgba(10, 7, 5, 0.18) 45%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: calc(var(--nav-h) + 24px) 24px 9vh clamp(40px, 7vw, 120px);
  text-align: left;
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.08;
  margin-bottom: 22px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-title .accent {
  color: var(--primary-hot);
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  color: rgba(241, 245, 249, 0.82);
  margin-bottom: 34px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Lettre de détenu épinglée à droite du hero */
.hero-lettre {
  position: absolute;
  z-index: 2;
  right: clamp(32px, 6vw, 110px);
  bottom: 10vh;
  width: 230px;
  margin: 0;
  padding: 30px 22px 20px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(75, 110, 160, 0.16) 27px 28px),
    linear-gradient(105deg, rgba(255, 255, 255, 0.5), transparent 55%),
    #f5eedb;
  color: #3a3327;
  font-family: 'Caveat', cursive;
  font-size: 1.22rem;
  line-height: 28px;
  rotate: 4deg;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 3px 8px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.8s ease-out 0.35s forwards;
  opacity: 0;
}

.hero-lettre::before {          /* morceau de scotch */
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 80px;
  height: 24px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(214, 201, 166, 0.55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-lettre p { margin: 0; }

.hero-lettre .lettre-sign {
  margin-top: 10px;
  text-align: right;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .hero-lettre { display: none; }
}

@media (max-width: 600px) {
  .hero-inner { padding: calc(var(--nav-h) + 24px) 24px 12vh; }
  .hero-actions { width: 100%; }
  .hero-actions .btn,
  .hero-actions .ip-pill { flex: 1; justify-content: center; }
}

/* ============================
   6. SECTION HEADER
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-hot);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.15;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================
   7. POURQUOI (rangées alternées
   image + carte vitrée)
   ============================ */
.features {
  padding: 160px 0 60px;
}

/* --- En-tête animé --- */
.pqhead {
  position: relative;
  text-align: center;
  margin-bottom: 64px;
}

.pqhead .ph-eye {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-hot);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pqhead .ph-title {
  font-weight: 800;
  font-size: clamp(2.1rem, 4.3vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 10px;
}

.pqhead .ph-acc {
  color: inherit;
  position: relative;
  display: inline-block;
}

.pqhead .ph-sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.pqhead .ph-eye,
.pqhead .ph-title,
.pqhead .ph-sub { opacity: 0; }

@keyframes hUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.pqhead.hin .ph-eye,
.pqhead.hin .ph-title,
.pqhead.hin .ph-sub { animation: hUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.pqhead.hin .ph-eye { animation-delay: 0.05s; }
.pqhead.hin .ph-title { animation-delay: 0.28s; }
.pqhead.hin .ph-sub { animation-delay: 0.52s; }

/* --- Rangées --- */
.pq-rows {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.pq-row {
  position: relative;
  min-height: 340px;
}

/* Image : 60 % de large, carte qui chevauche de l'autre côté */
.pq-imgw {
  position: absolute;
  top: 0;
  width: 60%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
}
.pq-row.a .pq-imgw { left: 0; }
.pq-row.b .pq-imgw { right: 0; }

.pq-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a120c, #0d0805) center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pq-img-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Lueur orange dans le coin de l'image, côté carte */
.pq-corner {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(62% 62% at 100% 100%, rgba(249, 115, 22, 0.3), transparent 60%);
}
.pq-row.b .pq-corner {
  background: radial-gradient(62% 62% at 0% 100%, rgba(249, 115, 22, 0.3), transparent 60%);
}

/* Carte vitrée */
.pq-card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 47%;
  z-index: 2;
  padding: 34px 34px 32px;
  border-radius: 14px;
  background: rgba(18, 14, 12, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 32px 4px rgba(0, 0, 0, 0.32), 0 20px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
}
.pq-row.a .pq-card { right: 0; }
.pq-row.b .pq-card { left: 0; }

/* Numéro fantôme qui dépasse de la carte */
.pq-num {
  position: absolute;
  top: -52px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.pq-row.a .pq-num { right: 14px; }
.pq-row.b .pq-num { left: 14px; }

.pq-kick {
  position: relative;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-hot);
  margin-bottom: 12px;
}

.pq-kick::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.8s ease 0.35s;
}
.pq-row.in .pq-kick::after { width: 42px; }

.pq-card h3 {
  position: relative;
  font-size: 23px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.pq-card p {
  position: relative;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

/* Entrées : image et carte glissent depuis des côtés opposés */
@keyframes eSlideR { from { opacity: 0; transform: translate(64px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@keyframes eSlideL { from { opacity: 0; transform: translate(-64px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@keyframes iSlideL { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: translateX(0); } }
@keyframes iSlideR { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: translateX(0); } }

.pq-row.a.in .pq-imgw { animation: iSlideL 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.pq-row.b.in .pq-imgw { animation: iSlideR 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.pq-row.a.in .pq-card { animation: eSlideR 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both; }
.pq-row.b.in .pq-card { animation: eSlideL 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both; }

/* Mobile : tout s'empile, la carte remonte sur l'image */
@media (max-width: 900px) {
  .features { padding: 110px 0 40px; }

  .pq-row { min-height: 0; }

  .pq-imgw {
    position: relative;
    width: 100%;
    height: 220px;
  }

  .pq-card {
    position: relative;
    top: auto;
    transform: none;
    width: auto;
    margin: -46px 16px 0;
    padding: 30px 24px 26px;
  }

  .pq-num { top: -44px; font-size: 84px; }

  .pq-row.a.in .pq-card,
  .pq-row.b.in .pq-card { animation: hUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both; }
}

/* ============================
   8. FAQ
   ============================ */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.open {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(244, 116, 28, 0.05), transparent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary-hot);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-hot);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease);
}

.faq-answer-inner {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-answer-inner a {
  color: var(--primary-hot);
  text-decoration: underline;
  text-decoration-color: rgba(255, 134, 50, 0.4);
  text-underline-offset: 3px;
}

.faq-answer-inner a:hover { color: var(--primary-light); }

.faq-answer-inner strong { color: #fff; }

/* ============================
   9. CTA SECTION
   ============================ */
.cta-section {
  padding: 80px 0 100px;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at center, rgba(244, 116, 28, 0.18) 0%, transparent 65%),
    linear-gradient(135deg, rgba(22, 15, 10, 0.95), rgba(10, 7, 5, 0.95));
  border: 1px solid var(--border-accent);
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.4);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  position: relative;
}

.cta-box p {
  font-size: 1.04rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-box .hero-actions {
  position: relative;
}

/* ============================
   10. FOOTER
   ============================ */
.site-footer {
  position: relative;
  z-index: 2;
  background: rgba(8, 5, 4, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding: 56px 24px 24px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  display: inline-block;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 0 18px var(--primary-glow);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 360px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color var(--transition), transform var(--transition);
}

.footer-col a:hover {
  color: var(--primary-hot);
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-bottom .footer-bottom-tag {
  color: var(--primary-hot);
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 880px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-brand p { margin: 0 auto; }
  .footer-social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================
   11. ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up,
  .hero-inner {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .pqhead .ph-eye,
  .pqhead .ph-title,
  .pqhead .ph-sub,
  .pq-imgw,
  .pq-card {
    opacity: 1;
    animation: none !important;
  }
  .pq-kick::after { width: 42px; transition: none; }
  .hero-lettre {
    opacity: 1;
    animation: none;
  }
  .btn-glow::before {
    animation: none;
  }
}

/* ============================
   12. SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(244, 116, 28, 0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(244, 116, 28, 0.45); }

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 116, 28, 0.25) transparent;
}
