/* ── Fonts ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'JD Carnival Black';
  src: url('/typo/jd_carnival_black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MiasScribblings';
  src: url('/typo/MiasScribblings~.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --cream:       #F5EDE0;
  --cream-dark:  #EDE3D3;
  --olive:       #4B5C28;
  --olive-dark:  #3B4A1F;
  --stats-bg:    #A3A882;
  --red:         #CC3333;
  --pink-frame:  #E9AAAA;
  --text:        #2A2A2A;
  --text-light:  #666;
  --font-display: 'JD Carnival Black', 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    90deg,
    var(--cream)              0px,
    var(--cream)              40px,
    rgba(233, 170, 170, 0.15) 40px,
    rgba(233, 170, 170, 0.15) 80px
  );
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ── Striped background ─────────────────────────────────────────────────── */
.striped {
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    90deg,
    var(--cream)              0px,
    var(--cream)              40px,
    rgba(233, 170, 170, 0.15) 40px,
    rgba(233, 170, 170, 0.15) 80px
  );
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  background: rgba(245, 237, 224, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  z-index: 100;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 52px;
  width: auto;
}

.logo-studio { color: var(--olive); }
.logo-name   { color: var(--olive); }

.nav-inner nav {
  margin-left: auto;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

/* ── Hero — plein écran ──────────────────────────────────────────────────── */
.hero {
  min-height: auto;
  display: flex;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 170px;
  padding-bottom: 20vh;
}

.hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: stretch;
  justify-items: center;
}

/* Label small-caps */
.hero-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--olive);
  text-align: left;
  margin-top: 7vh;
  margin-bottom: 0;
}

.hero-logo {
  display: block;
  width: 396px;
  height: auto;
  margin-top: calc(7vh - 20px);
  margin-bottom: 0;
  margin-left: -32px;
}

/* Titre */
.hero-title {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.0;
  margin-bottom: 28px;
}

.title-olive { color: var(--olive); }
.title-red   { color: var(--red); white-space: nowrap; }

/* Corps */
.hero-body {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 36px;
}

/* Boutons */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 12px 26px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: #b82a2a; }

.btn-ghost {
  border: 1.5px solid var(--text);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { background: var(--text); color: #fff; }

/* Image hero avec cadre rose */
.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 170px;
  padding-bottom: 20vh;
}

.img-caption {
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-img-group {
  margin-top: 0;
  max-width: 480px;
  width: 100%;
}

.hero-img-frame {
  background: transparent;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.hero-img-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  transform: rotate(3deg);
  transform-origin: center center;
}

.hero-img-frame img.hero-logo {
  aspect-ratio: 1;
  object-fit: contain;
  transform: none;
  background: transparent;
  max-width: 210px;
  margin: 0 auto;
}

.img-caption-old {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats {
  background: var(--stats-bg);
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 52px 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid rgba(0,0,0,0.12);
}
.stat:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--olive-dark);
  font-weight: 400;
}

/* ── Pitch ──────────────────────────────────────────────────────────────── */
.pitch {
  padding: 100px 120px;
}

.pitch-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pitch-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 24px;
}

.pitch-body {
  font-size: 0.94rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Bio ────────────────────────────────────────────────────────────────── */
.bio-section {
  padding: 24px 0 80px;
}

.bio-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.bio-rule {
  border: none;
  border-top: 2px solid var(--olive);
  opacity: 0.3;
  width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}

.bio-content {
  display: flex;
  align-items: center;
  gap: 56px;
}

.bio-text {
  flex: 1;
}

.bio-logo-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bio-logo {
  width: 260px;
  height: auto;
  opacity: 0.85;
}

.bio-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 2.2em;
}

.bio-text .btn {
  margin-top: 16px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px 56px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: var(--cream);
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--red);
}

.footer-logo {
  height: 32px;
  width: auto;
  opacity: 0.7;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
/* ── Hamburger (caché sur desktop) ───────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-bar { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(245, 237, 224, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 16px 0;
    z-index: 99;
  }

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

  .nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Hero : empilement vertical, hauteur auto */
  .hero { min-height: 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 80px 24px 48px;
    gap: 40px;
    align-items: start;
  }

  /* Colonne texte : flux normal, sans padding-bottom excessif */
  .hero-text {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Le titre ne se pousse plus vers le bas */
  .hero-title {
    margin-top: 20px;
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .title-red { white-space: normal; }

  .hero-label { margin-top: 0; }

  .hero-logo {
    width: min(280px, 80vw);
    margin-left: 0;
    margin-top: 0;
  }

  /* Colonne image : flux normal, cadre non poussé vers le bas */
  .hero-image {
    padding-top: 0;
    padding-bottom: 0;
    justify-content: flex-start;
  }

  .hero-img-group {
    margin-top: 0;
    max-width: 100%;
  }

  /* Stats : colonne unique */
  .stats-inner {
    flex-direction: column;
    padding: 40px 24px;
    gap: 0;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
    align-items: flex-start;
  }
  .stat:last-child { border-bottom: none; }

  .pitch { padding: 64px 24px; }
  .site-footer { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .bio-content { flex-direction: column; align-items: center; gap: 32px; }
  .bio-logo { width: 140px; }
}
