/*
Theme Name: Rémi IA
Theme URI: https://remi-ia.com
Author: Rémi Scherer
Description: Site vitrine créateur de contenu vidéo IA freelance
Version: 1.0
*/

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

:root {
  --bg: #F7F6F2;
  --bg-alt: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --accent: #1A1A1A;
  --border: #E8E6E0;
  --radius: 12px;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1160px;
  --section-pad: 120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .8; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  text-align: center;
  background: var(--bg);
}
.hero-video-wrapper {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16/9;
  background: #E8E6E0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.placeholder-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #999;
}
.placeholder-icon svg { opacity: .5; }
.placeholder-icon span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 800px;
  margin: 0 auto 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #555 0%, #111 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--text);
  color: var(--text);
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--text); color: #fff; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── SECTION COMMONS ── */
section { padding: var(--section-pad) 48px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── BOOK / DEMOS ── */
.demos { background: var(--bg-alt); }
.demos-header { margin-bottom: 60px; }
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.demos-grid .demo-card:nth-child(4),
.demos-grid .demo-card:nth-child(5) {
  /* last row: 2 cards centered */
}
.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.demo-video {
  aspect-ratio: 16/9;
  background: #E2E0D8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.demo-play {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: .7;
}
.demo-info { padding: 20px 22px 24px; }
.demo-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.demo-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.demo-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* ── BOOK FILTERS ── */
.book-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-sans);
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); color: #fff; border-color: var(--text); }

.card-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: .06em;
}
.demo-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HOW IT WORKS ── */
.how { background: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.step { position: relative; }
.step-num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-connector {
  position: absolute;
  top: 32px; right: -24px;
  width: 48px; height: 1px;
  background: var(--border);
}

/* ── CONTACT ── */
.contact { background: var(--bg-alt); }
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .section-sub {
  max-width: 100%;
  margin: 0 auto 48px;
}
.contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
}
.contact-box p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.calendly-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  opacity: .5;
  cursor: not-allowed;
}
.placeholder-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.5);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.footer-copy { font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: var(--section-pad) 24px; }
  .hero { padding: 100px 24px 60px; }
  .demos-grid { grid-template-columns: 1fr 1fr; }
  .demos-row-2 { grid-template-columns: 1fr; max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .contact-box { padding: 40px 28px; }
  .site-footer { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .demos-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}
