@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Noto+Serif+SC:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: hsl(15, 8%, 5%);
  --foreground: hsl(40, 25%, 88%);
  --gold: hsl(38, 72%, 50%);
  --gold-light: hsl(42, 80%, 65%);
  --gold-dark: hsl(35, 60%, 35%);
  --crimson: hsl(0, 65%, 42%);
  --crimson-light: hsl(5, 70%, 55%);
  --crimson-dark: hsl(355, 55%, 25%);
  --jade: hsl(160, 30%, 35%);
  --muted: hsl(35, 15%, 55%);
  --parchment: hsl(38, 30%, 92%);
  --font-display: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-cn: 'Noto Serif SC', serif;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--foreground);
  font-family: var(--font-body);
}

/* ── Seal ── */
.seal {
  font-family: var(--font-cn);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--crimson);
  text-shadow: 0 0 25px hsla(0, 65%, 42%, 0.5);
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

/* ── Logo ── */
.logo {
  position: fixed;
  top: 2rem;
  left: 1.25rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--crimson-light);
  filter: drop-shadow(0 0 6px hsla(0, 65%, 42%, 0.5));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── Video Background ── */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.2s ease;
}

.video-bg video.hidden { opacity: 0; }
.video-bg video.visible { opacity: 1; }

.video-overlay {
  position: absolute;
  inset: 0;
  background: hsla(15, 8%, 5%, 0.55);
  z-index: 1;
}

.video-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 40%),
    linear-gradient(to bottom, hsla(15, 8%, 5%, 0.7) 0%, transparent 30%),
    radial-gradient(ellipse at center, transparent 40%, hsla(15, 8%, 5%, 0.4) 100%);
  z-index: 1;
}

/* ── Ink Particles ── */
.ink-particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.ink-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}

/* ── Layout ── */
.page {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  position: relative;
  z-index: 20;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 0.5rem;
}

/* ── Title ── */
.title-block {
  text-align: center;
  margin-bottom: 0.6rem;
}

.title-main {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--parchment);
  text-shadow:
    0 0 40px hsla(0, 65%, 42%, 0.3),
    0 2px 10px hsla(0, 0%, 0%, 0.5);
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.6rem;
  gap: 0.6rem;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  animation: sword-slash 1.5s ease-out 0.8s forwards;
  width: 0;
}

.divider-icon {
  color: var(--crimson-light);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px hsla(0, 65%, 42%, 0.6));
}

.subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--crimson-dark), var(--crimson-light), var(--crimson-dark));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-crimson 3s ease-in-out infinite;
}

/* ── Pitch Text ── */
.pitch {
  max-width: 38rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.pitch-text {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.6;
  color: hsla(40, 25%, 88%, 0.85);
  font-style: italic;
}

.pitch-highlight {
  color: var(--gold-light);
  font-weight: 600;
  font-style: normal;
}

/* ── CTA ── */
.cta-wrapper {
  margin-top: 0.25rem;
}

.cta-button {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--crimson-dark), var(--crimson), var(--crimson-dark));
  color: var(--parchment);
  padding: 0.9rem 2.2rem;
  border-radius: 0.2rem;
  border: 1px solid var(--crimson-light);
  cursor: pointer;
  transition: all 0.3s;
  /*animation: pulse-crimson 2s ease-in-out infinite;*/
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsla(40, 80%, 65%, 0.15), transparent);
  /*animation: shine-sweep 3s ease-in-out infinite;*/
}

.cta-icon { font-size: 1.1em; }

.cta-button:hover {
  /*transform: scale(1.04);*/
  background: linear-gradient(135deg, var(--crimson), var(--crimson-light), var(--crimson));
  box-shadow: 0 0 40px hsla(0, 65%, 42%, 0.4);
}

/* ── Footer ── */
.footer-banner {
  position: relative;
  z-index: 20;
  border-top: 1px solid hsla(0, 65%, 42%, 0.2);
  background: hsla(15, 8%, 5%, 0.85);
  backdrop-filter: blur(6px);
}

.footer-banner p {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

/* ── Animations ── */
@keyframes shimmer-crimson {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse-crimson {
  0%, 100% {
    box-shadow: 0 0 10px hsla(0, 65%, 42%, 0.2), 0 0 30px hsla(0, 65%, 42%, 0.1);
  }
  50% {
    box-shadow: 0 0 20px hsla(0, 65%, 42%, 0.4), 0 0 60px hsla(0, 65%, 42%, 0.2);
  }
}

@keyframes shine-sweep {
  0% { left: -100%; }
  40%, 100% { left: 100%; }
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes sword-slash {
  0% { width: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { width: 100px; opacity: 0.7; }
}

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.anim-1 { animation: float-up 0.8s ease-out forwards; }
.anim-2 { animation: float-up 0.8s ease-out 0.15s forwards; opacity: 0; }
.anim-3 { animation: float-up 0.8s ease-out 0.3s forwards; opacity: 0; }
.anim-4 { animation: float-up 0.8s ease-out 0.45s forwards; opacity: 0; }

@media (max-width: 768px) {
  .seal { font-size: 1.8rem; }
  .pitch { max-width: 90%; }
}

.title-main:hover{
transform:scale(1.02);
transition:0.4s;
}

/* ============================= */
/* PARALLAX DEPTH */
/* ============================= */

.page {
  transform-style: preserve-3d;
}

/* ============================= */
/* FOG LAYER */
/* ============================= */

.fog-layer{
  position:absolute;
  inset:0;
  background:
  radial-gradient(circle at 30% 40%, rgba(255,255,255,0.03), transparent 60%),
  radial-gradient(circle at 70% 60%, rgba(255,255,255,0.04), transparent 65%);
  animation:fogMove 25s linear infinite;
  z-index:2;
  pointer-events:none;
}

@keyframes fogMove{

0%{transform:translateX(-5%)}

50%{transform:translateX(5%)}

100%{transform:translateX(-5%)}

}

/* ============================= */
/* CTA V2 */
/* ============================= */

.cta-wrapper{
display:flex;
gap:1rem;
flex-wrap:wrap;
justify-content:center;
}

.cta-button.secondary{

background:transparent;
border:1px solid var(--gold);
color:var(--gold);

animation:none;
}

.cta-button.secondary:hover{

background:var(--gold);
color:black;

box-shadow:0 0 30px var(--gold);

}

/* ============================= */
/* CINEMATIC HOVER */
/* ============================= */

.title-main{

transition:transform .6s ease, text-shadow .6s ease;

}

.title-main:hover{

transform:scale(1.04);

text-shadow:
0 0 60px rgba(220,80,60,0.6),
0 0 120px rgba(220,80,60,0.3);

}

/* ============================= */
/* PARTICLES BOOST */
/* ============================= */

.ink-particle{

filter:blur(.3px);

}

/* ============================= */
/* VIDEO DEPTH */
/* ============================= */

.video-bg video{

transform:scale(1.05);

}

/* CTA gauche – rouge clignotant agressif */
@keyframes pulse-red {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px hsla(0, 65%, 42%, 0.4), 0 0 60px hsla(0, 65%, 42%, 0.2);
  }
  25% {
    transform: scale(1.08);
    box-shadow: 0 0 35px hsla(0, 65%, 60%, 0.8), 0 0 80px hsla(0, 65%, 50%, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 25px hsla(0, 65%, 55%, 0.7), 0 0 70px hsla(0, 65%, 45%, 0.35);
  }
  75% {
    transform: scale(1.06);
    box-shadow: 0 0 30px hsla(0, 65%, 60%, 0.75), 0 0 75px hsla(0, 65%, 50%, 0.38);
  }
}

/* CTA droite – jaune clignotant intense, taille fixe */
@keyframes pulse-yellow {
  0%, 100% {
    box-shadow: 0 0 15px hsla(38, 72%, 50%, 0.5), 0 0 50px hsla(38, 72%, 50%, 0.3);
  }
  25% {
    box-shadow: 0 0 40px hsla(38, 72%, 65%, 1), 0 0 90px hsla(38, 72%, 60%, 0.7);
  }
  50% {
    box-shadow: 0 0 30px hsla(38, 72%, 60%, 0.9), 0 0 70px hsla(38, 72%, 55%, 0.6);
  }
  75% {
    box-shadow: 0 0 35px hsla(38, 72%, 65%, 0.95), 0 0 80px hsla(38, 72%, 60%, 0.65);
  }
}

/* Appliquer animations aux boutons */
.cta-button-left {
  animation: pulse-red 1.8s ease-in-out infinite;
}

.cta-button-right {
  animation: pulse-yellow 1.8s ease-in-out infinite;
  transform: scale(1); /* taille fixe */
}

/* ============================= */
/* CTA WRAPPER */
/* ============================= */

.cta-wrapper{
display:flex;
gap:1rem;
justify-content:center;
flex-wrap:wrap;
}

/* ============================= */
/* BASE CTA */
/* ============================= */

.cta-button{

font-family: var(--font-display);
font-size: clamp(0.8rem,1.8vw,1.05rem);
letter-spacing:0.2em;
font-weight:700;
text-transform:uppercase;

padding:0.9rem 2.2rem;

border-radius:0.2rem;

cursor:pointer;

display:flex;
align-items:center;
gap:0.6rem;

transition:0.3s;

}

/* ============================= */
/* CTA GAUCHE (ROUGE) */
/* ============================= */

.cta-left{

background:linear-gradient(
135deg,
var(--crimson-dark),
var(--crimson),
var(--crimson-dark)
);

border:1px solid var(--crimson-light);

color:var(--parchment);

animation:pulse-red 1.8s ease-in-out infinite;

}

/* ============================= */
/* CTA DROITE (JAUNE) */
/* ============================= */
.cta-right{

background:transparent;
border:1px solid var(--gold);
color:var(--gold);

animation:yellow-flash 1.4s ease-in-out infinite;

}

/* ============================= */
/* RED PULSE */
/* ============================= */

@keyframes pulse-red{

0%,100%{

transform:scale(1);

box-shadow:
0 0 20px rgba(200,40,40,0.5),
0 0 60px rgba(200,40,40,0.3);

}

25%{

transform:scale(1.08);

box-shadow:
0 0 40px rgba(255,60,60,0.9),
0 0 100px rgba(255,60,60,0.5);

}

50%{

transform:scale(1.04);

box-shadow:
0 0 30px rgba(255,60,60,0.7),
0 0 80px rgba(255,60,60,0.4);

}

75%{

transform:scale(1.06);

box-shadow:
0 0 35px rgba(255,60,60,0.8),
0 0 90px rgba(255,60,60,0.45);

}

}

/* ============================= */
/* YELLOW FLASH */
/* ============================= */

@keyframes yellow-flash {

0%,100%{
background:transparent;
color:var(--gold);
box-shadow:
0 0 20px rgba(255,200,80,0.5),
0 0 50px rgba(255,200,80,0.3);
}

50%{
background:var(--gold);
color:black;
box-shadow:
0 0 45px rgba(255,230,120,1),
0 0 110px rgba(255,220,100,0.8);
}

}

/* ============================= */
/* HOVER EFFECT */
/* ============================= */

.cta-left:hover{

transform:scale(1.1);

}

.cta-right:hover{

animation:none;

background:var(--gold);
color:black;

box-shadow:
0 0 60px rgba(255,230,120,1),
0 0 140px rgba(255,220,100,0.9);

}