
/* =========================================================
   SITE TEMPORAIRE IMMERSIF - NIPPONORAMA
   Fichier principal de style
   ---------------------------------------------------------
   Tu peux modifier ici :
   - les couleurs principales
   - les images de fond
   - les espacements
   - le style des boutons, cartes, sections
   ========================================================= */

/* ---------- 1. VARIABLES FACILES À MODIFIER ---------- */
:root {
  --color-bg: #0f1115;
  --color-bg-soft: #171a21;
  --color-panel: rgba(20, 22, 28, 0.82);
  --color-text: #F8F8F8;
  --color-muted: #D8DDE3;
  --color-accent: #FF0000;
  --color-accent-2: #FF0000;
  --color-line: rgba(255, 255, 255, 0.14);
  --max-width: 1180px;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- 2. BASE GÉNÉRALE ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px; /* carré avec coins légèrement arrondis */
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- 3. CLASSES UTILITAIRES ---------- */
.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 18px;
}

.section-lead {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 0 0 36px;
}

.kicker {
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #f05a49;
}

.button.secondary {
  background: transparent;
  border-color: var(--color-line);
}

.button.secondary:hover {
  border-color: var(--color-accent-2);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- 4. EN-TÊTE / NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 21, 0.78);
  border-bottom: 1px solid var(--color-line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.logo span {
  color: var(--color-accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: 10px;
}

/* ---------- 5. HERO IMMERSIF ---------- */
.hero {
  min-height: 86vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url("../img/hero.png") center / cover no-repeat;
}

/* Remplace l'image ci-dessus en ajoutant un fichier dans assets/img/hero-placeholder.jpg */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--color-bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.96;
  margin: 0 0 22px;
}

.hero p {
  max-width: 1000px;
  font-size: 1.18rem;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- 6. CARTES / GRILLES ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.card p {
  color: var(--color-muted);
  margin: 0;
}

.image-card {
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--color-bg-soft) center / cover no-repeat;
  border: 1px solid var(--color-line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---------- 7. BANDEAU VIDÉO ---------- */
.video-panel {
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) + 8px);
  padding: 20px;
  box-shadow: var(--shadow);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: radial-gradient(circle at center, rgba(242,179,93,0.22), rgba(217,75,61,0.12), rgba(255,255,255,0.04));
  border: 1px dashed var(--color-line);
  color: var(--color-muted);
  text-align: center;
  padding: 30px;
}

/* ---------- 8. TIMELINE / ROADMAP ---------- */
.timeline {
  display: grid;
  gap: 18px;
  border-left: 2px solid var(--color-line);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 0 6px rgba(242, 179, 93, 0.15);
}

/* ---------- 9. FORMULAIRE SIMPLE ---------- */
.form-box {
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px;
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

label {
  color: var(--color-muted);
  font-size: 0.92rem;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

/* ---------- 10. PIED DE PAGE ---------- */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 34px 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- 11. RESPONSIVE MOBILE ---------- */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 72px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(15, 17, 21, 0.96);
    border: 1px solid var(--color-line);
    border-radius: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }
}
