/* =========================================
   VARIABLES & RESET (STYLE NEXSITE V5 - LIVE SITE)
========================================= */
:root {
  --bg: #f7f5f0;
  --bg2: #edeae3;
  --ink: #111010;
  --ink2: #3d3a35;
  --muted: #9a9490;
  --red: #e8341a;
  
  --border: rgba(17, 16, 16, 0.1);
  --radius: 20px;
  --shadow: 0 8px 32px rgba(17, 16, 16, 0.04);
  --shadow-hover: 0 20px 48px rgba(17, 16, 16, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

a, button {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-trail {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease-out;
  opacity: 0.5;
}

.cursor.big {
  width: 60px;
  height: 60px;
  background: rgba(232, 52, 26, 0.1);
}

.cursor-trail.big {
  width: 80px;
  height: 80px;
  opacity: 0;
}

/* =========================================
   TICKER DÉFILANT
========================================= */
.ticker {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 101;
}

.ticker-track {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track span {
  display: inline-block;
  padding: 0 10px;
}

.ticker-track .dot {
  color: var(--red);
}

@keyframes ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); } /* -50% assumes duplicated content */
}

/* =========================================
   SCROLL ANIMATIONS (.reveal)
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATION
========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.n-logo {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.n-logo span { color: var(--red); }

.n-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.n-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  transition: color 0.3s;
}

.n-links a:hover { color: var(--red); }

.n-cta {
  background: var(--ink);
  color: white;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.n-cta:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* =========================================
   HERO SECTION
========================================= */
.studio-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.studio-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(232, 52, 26, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.studio-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--red);
  background: rgba(232, 52, 26, 0.05);
  border: 1px solid rgba(232, 52, 26, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(232, 52, 26, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(232, 52, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 52, 26, 0); }
}

.studio-hero-h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(50px, 7vw, 90px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.it {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.highlight { color: var(--red); }

.studio-hero-sub {
  font-size: 20px;
  color: var(--ink2);
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 48px;
}

.hero-actions .btn-main {
  background: var(--red);
  color: white;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
}

.hero-actions .btn-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(232, 52, 26, 0.2);
}

/* =========================================
   SECTIONS & TITLES
========================================= */
.container {
  padding: 120px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.bg-alt {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: none;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 80px;
}

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-sub {
  font-size: 18px;
  color: var(--ink2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* =========================================
   BENTO GRID (VOIX VS TEXTE)
========================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-visual {
  height: 160px;
  background: var(--bg);
  border-radius: 12px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}

.channel-pill {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 16px;
}

.voice { background: rgba(232, 52, 26, 0.1); color: var(--red); }
.text { background: var(--bg2); color: var(--ink); }

.bento-card h4 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.process-desc {
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.feature-list li {
  font-size: 14px;
  color: var(--ink2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list strong { color: var(--ink); }

.btn-ghost {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

/* ── ANIMATIONS VISUELLES BENTO ── */

/* 1. Voice Waves */
.voice-waves {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 60px;
}

.voice-waves span {
  display: block;
  width: 8px;
  background: var(--red);
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.voice-waves span:nth-child(1) { height: 20%; animation-delay: 0.1s; }
.voice-waves span:nth-child(2) { height: 60%; animation-delay: 0.2s; }
.voice-waves span:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.voice-waves span:nth-child(4) { height: 50%; animation-delay: 0.4s; }
.voice-waves span:nth-child(5) { height: 30%; animation-delay: 0.5s; }

@keyframes wave {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

/* 2. Chat UI */
.chat-mini-ui {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80%;
}

.c-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 90%;
  animation: floatChat 3s ease-in-out infinite alternate;
}

.c-user {
  align-self: flex-end;
  background: var(--ink);
  color: white;
  border-bottom-right-radius: 4px;
}

.c-bot {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  animation-delay: 1.5s;
}

@keyframes floatChat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* =========================================
   PROCESS GRID (1-2-3)
========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  padding: 32px;
  border-left: 1px solid var(--border);
}

.process-num {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  font-style: italic;
  color: var(--red);
  margin-bottom: 16px;
}

.process-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* =========================================
   CALLOUT (Local Ath)
========================================= */
.callout {
  display: flex;
  align-items: center;
  background: var(--ink);
  color: white;
  padding: 60px;
}

.callout-content { flex: 1; }
.callout h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 32px;
  margin-bottom: 16px;
}
.callout p { color: #a1a1aa; line-height: 1.6; }

.callout-visual {
  font-family: 'Geist Mono', monospace;
  font-size: 16px;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  margin-left: 40px;
}

/* =========================================
   CTA FINAL
========================================= */
.text-center { text-align: center; }

.btn-main {
  background: var(--red);
  color: white;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
  border: none;
}

.btn-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(232, 52, 26, 0.3);
}

/* =========================================
   FOOTER
========================================= */
footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: white;
  font-size: 14px;
  color: var(--ink2);
}

.f-logo {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900;
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .bento-grid, .process-grid { grid-template-columns: 1fr; }
  .callout { flex-direction: column; text-align: center; padding: 40px; }
  .callout-visual { margin-left: 0; margin-top: 32px; }
  .process-card { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .studio-hero-h1 { font-size: 44px; }
  .nav { padding: 20px; }
  .n-links { display: none; }
  .cursor, .cursor-trail { display: none; }
  body, a, button { cursor: auto; }
}
