/* ===== FONT FACE ===== */
@font-face {
  font-family: 'Nayuki';
  src: url('Nayuki-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pirata One', cursive;
  font-style: italic;
  background-color: #000;
  color: #FFF;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== UTILITIES ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid #1A1A1A;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Flame text effect for BLAZE logos ---- */
.hero-title,
.nav-logo,
.footer-brand {
  font-family: 'Nayuki', sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 0.95;
  transform: scaleY(1.5);
  display: inline-block;
  color: #FFF;
}

.nav-logo {
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFF;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #F7453D;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #F7453D;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Language switcher ---- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 0 4px;
  color: #FFF;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.lang-toggle:hover {
  color: #F7453D;
}

.lang-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ===== HERO ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.hero-logo {
  width: 320px;
  height: 353px;        /* ratio blaze.json 2029/1841 ≈ 1.102 */
  overflow: visible;
}

.hero-logo svg {
  width: 100% !important;
  height: 100% !important;
}

.hero-title {
  font-size: 7rem;
  cursor: default;
}

.hero-tagline {
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFF;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.15rem;
  font-family: 'Pirata One', cursive;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: #F7453D;
  color: #000;
  border: 1.5px solid #F7453D;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: transparent;
  color: #FFF;
  border-color: #FFF;
}

.btn-primary:disabled,
.btn-primary.loading {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-primary:disabled:hover,
.btn-primary.loading:hover {
  background: #F7453D;
  color: #000;
  border-color: #F7453D;
}

/* ===== SECTIONS ===== */
.section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0;
  position: relative;
}

.section-title {
  font-family: 'Nayuki', sans-serif;
  font-style: normal;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 4px;
  line-height: 1;
  color: #F7453D;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  width: 100%;
}

.section-title-wrapper {
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #F7453D;
  margin: 24px auto 0;
}

/* Divider between sections */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: #1A1A1A;
}

.section:first-of-type::before {
  display: none;
}

/* ===== SAUCE SECTION ===== */
.section-sauce {
  background: #000;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-text p {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.7;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.section-text .lead {
  font-family: 'Nayuki', sans-serif;
  font-style: normal;
  font-size: 2rem;
  color: #F7453D;
  margin-bottom: 24px;
  letter-spacing: 2px;
  line-height: 1;
}

.section-text .closing {
  font-size: 1.3rem;
  color: #F7453D;
  margin-top: 32px;
  font-style: italic;
  letter-spacing: 1px;
}

/* ===== BOTTLE PLACEHOLDER ===== */
.bottle-placeholder {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease;
}

.bottle-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.bottle-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.2);
  will-change: transform;
  filter: saturate(1.2);
}

.bottle-placeholder:hover {
  border-color: #F7453D;
}

/* ===== HEAT SCALE / RITUELS ===== */
.section-heat {
  position: relative;
  overflow: hidden;
}

/* Fond infernal qui s'intensifie au hover/scroll */
.ritual-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center bottom,
    rgba(247, 69, 61, 0.0) 0%,
    rgba(20, 0, 0, 0) 60%,
    #000 100%);
  transition: background 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* ===== RITUAL VIDEO BACKGROUND ===== */
.ritual-bg {
  background: #000;
}

.ritual-bg .video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.ritual-bg[data-level="25"] .video-wrap::before { opacity: 0.7; }
.ritual-bg[data-level="50"] .video-wrap::before { opacity: 0.4; }
.ritual-bg[data-level="75"] .video-wrap::before { opacity: 0.2; }
.ritual-bg[data-level="100"] .video-wrap::before { opacity: 0; }

.ritual-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0.3) 50%, transparent 100%);
  pointer-events: none;
}

.ritual-bg .video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
}
.ritual-bg[data-level="25"] {
  background: radial-gradient(ellipse at center bottom,
    rgba(247, 69, 61, 0.12) 0%,
    rgba(40, 5, 0, 0.3) 50%,
    #000 100%);
}
.ritual-bg[data-level="25"] .video-wrap { opacity: 0.15; }

.ritual-bg[data-level="50"] {
  background: radial-gradient(ellipse at center bottom,
    rgba(247, 69, 61, 0.28) 0%,
    rgba(80, 10, 0, 0.45) 45%,
    #060202 100%);
}
.ritual-bg[data-level="50"] .video-wrap { opacity: 0.35; }

.ritual-bg[data-level="75"] {
  background: radial-gradient(ellipse at center bottom,
    rgba(247, 69, 61, 0.50) 0%,
    rgba(120, 15, 0, 0.6) 40%,
    #0A0101 100%);
}
.ritual-bg[data-level="75"] .video-wrap { opacity: 0.6; }

.ritual-bg[data-level="100"] {
  background: radial-gradient(ellipse at center bottom,
    rgba(247, 69, 61, 0.75) 0%,
    rgba(180, 20, 0, 0.75) 35%,
    #140201 100%);
}
.ritual-bg[data-level="100"] .video-wrap { opacity: 1; }

/* Flammes animées en bas */
.ritual-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top,
    rgba(247, 69, 61, 0.5) 0%,
    rgba(255, 100, 0, 0.2) 40%,
    transparent 100%);
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(40px);
  pointer-events: none;
}

.ritual-bg[data-level="25"]::after  { height: 15%; }
.ritual-bg[data-level="50"]::after  { height: 30%; }
.ritual-bg[data-level="75"]::after  { height: 50%; }
.ritual-bg[data-level="100"]::after { height: 75%; }

/* Le contenu au-dessus du background */
.ritual-content {
  position: relative;
  z-index: 1;
}

/* ===== FEATURES / RITUELS ===== */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.feature {
  text-align: center;
  padding: 56px 40px;
  border: 1px solid #1A1A1A;
  background: #0A0A0A;
  transition: border-color 0.4s ease, background 0.4s ease;
  cursor: pointer;
}

.feature:hover {
  border-color: #F7453D;
  background: #111;
}

.feature-ritual {
  font-family: 'Nayuki', sans-serif;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1;
  transform: scaleY(1.1);
  display: inline-block;
  color: #F7453D;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.feature h3 {
  font-family: 'Nayuki', sans-serif;
  font-style: normal;
  font-size: 2rem;
  line-height: 1;
  transform: scaleY(1.1);
  display: inline-block;
  color: #FFF;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.feature p {
  font-size: 1.2rem;
  font-style: italic;
  color: #AAA;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* ===== CONTACT / LE CULTE ===== */
.section-subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: #888;
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: 1.5px;
}

.section-contact {
  text-align: center;
  background: #000;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 0 0;
}

.section-contact .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-contact .site-footer {
  margin-top: auto;
}

.contact-text {
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.4rem;
  font-style: italic;
  color: #AAA;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.input-email {
  padding: 16px 24px;
  font-size: 1rem;
  font-family: 'Pirata One', cursive;
  font-style: italic;
  letter-spacing: 1px;
  background: transparent;
  border: 1px solid #333;
  color: #FFF;
  min-width: 320px;
  outline: none;
  transition: all 0.3s ease;
}

.input-email:focus {
  border-color: #FFF;
}

.input-email::placeholder {
  color: #555;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 60px 0 40px;
  text-align: center;
  background: #000;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: #1A1A1A;
}

.footer-brand {
  font-family: 'Nayuki', sans-serif;
  font-style: normal;
  font-size: 2rem;
  letter-spacing: 0px;
  line-height: 1;
  transform: scaleY(1.5);
  display: inline-block;
  color: #FFF;
  margin-bottom: 16px;
}

.footer-secret {
  font-size: 0.85rem;
  font-style: italic;
  color: #F7453D;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.75rem;
  font-style: italic;
  color: #444;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #000;
    padding: 32px 0;
    gap: 24px;
    border-bottom: 1px solid #1A1A1A;
  }

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

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-tagline {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero-logo {
    width: 280px;
    height: 308px;  /* ratio blaze.json 2029/1841 ≈ 1.102 */
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 2.4rem;
    margin-bottom: 60px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .section-text .lead {
    font-size: 1.6rem;
  }

  .section-text p {
    font-size: 1.05rem;
  }

  .bottle-placeholder {
    width: 260px;
    height: 260px;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .feature {
    padding: 40px 24px;
  }

  .feature h3 {
    font-size: 1.6rem;
  }

  .feature p {
    font-size: 1.05rem;
  }

  .section-subtitle {
    margin-bottom: 48px;
  }

  .contact-text {
    font-size: 1.1rem;
  }

  .input-email {
    min-width: 100%;
  }

  .ritual-bg .video-wrap iframe {
    width: 200vw;
    height: 200vh;
    min-width: 100%;
    min-height: 100%;
  }
}
