/* ====================== TOKENS ====================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f3ee;      /* warm off-white for alternating sections */
  --ink: #1a1815;
  --muted: #6b665f;
  --accent: #de7356;       /* brand terracotta — CTAs & highlights */
  --accent-ink: #ffffff;
  --line: #e4e1d8;
  --radius: 16px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.12; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--maxw), 92%); margin: 0 auto; }
.container-narrow { max-width: 760px; }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font: 600 0.95rem 'Inter', sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(222,115,86,.30); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.nav-cta { padding: 9px 18px; font-size: .9rem; }

/* ====================== HEADER ====================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.logo { font: 800 1.35rem 'Sora', sans-serif; letter-spacing: .04em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; }

/* Hamburger (masqué sur desktop) */
.nav-cb { display: none; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; left: 0; top: -6px; }
.nav-toggle span::after { position: absolute; left: 0; top: 6px; }

/* ====================== HERO ====================== */
.hero { padding: 80px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ====================== MEDIA PLACEHOLDER ====================== */
.media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(45deg, #f0efe9, #f0efe9 12px, #eae8e1 12px, #eae8e1 24px);
  border: 1px dashed #cfccc2;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
}
.media-placeholder span { font: 700 1rem 'Sora', sans-serif; letter-spacing: .05em; }
.media-placeholder small { font-size: .8rem; }
.media-placeholder.small { aspect-ratio: 16 / 10; margin-bottom: 18px; }

/* ----- Real images ----- */
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

/* ====================== TRUSTED BY (marquee) ====================== */
.marquee-section { padding: 28px 0 40px; overflow: hidden; }
.marquee-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .02em;
  color: var(--ink);
  opacity: .45;
  white-space: nowrap;
  transition: opacity .2s;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:hover { opacity: .9; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ====================== SECTIONS ====================== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-tag {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 14px; }
strong.accent { color: var(--accent); font-weight: 700; }

/* ====================== TABLEAU COMPARATIF ====================== */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  min-width: 720px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.compare-table th { vertical-align: top; }
.compare-table th { font: 700 .82rem 'Inter'; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare-table th .th-label { display: inline-block; }
.compare-table th .th-sub { display: block; text-align: center; font-weight: 400; font-size: .74rem; text-transform: none; letter-spacing: 0; margin-top: 3px; opacity: .8; }
/* Colonne Turnaround (4e) centrée */
.compare-table th:nth-child(4),
.compare-table td:nth-child(4) { text-align: center; }
.compare-table tr.highlight { background: var(--bg-soft); }
.compare-table tr.highlight td { font-weight: 600; }
.compare-note { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* ====================== STEPS ====================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.step {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num { font: 800 2rem 'Sora'; color: var(--accent); opacity: .55; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }
.center-cta { text-align: center; margin-top: 48px; }

/* ====================== AUDIENCE ====================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.audience-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .2s, box-shadow .2s;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.06); }
.audience-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.audience-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: .92rem; color: var(--accent); }

/* ====================== CREATIVES ====================== */
.creatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}
.creative-tile {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #f0efe9, #f0efe9 12px, #eae8e1 12px, #eae8e1 24px);
  border: 1px dashed #cfccc2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font: 700 .82rem 'Sora', sans-serif;
  letter-spacing: .05em;
  transition: transform .2s, box-shadow .2s;
}
.creative-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.creative-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.creative-img:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }

/* ====================== FAQ ====================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 0 22px;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font: 600 1.02rem 'Sora';
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 22px; font-size: .95rem; }

/* ====================== CTA BANNER ====================== */
.cta-banner {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 96px 0;
}
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,.7); margin: 18px auto 32px; max-width: 480px; }
.cta-banner .btn-accent { background: var(--accent); color: #fff; }

/* ====================== FORM ====================== */
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-form label { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 600; }
.lead-form input,
.lead-form select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 400 1rem 'Inter';
  background: var(--bg);
  color: var(--ink);
}
.lead-form input:focus,
.lead-form select:focus { outline: none; border-color: var(--accent); }
.form-success { text-align: center; font-weight: 600; color: #1a7f37; }

/* ====================== FOOTER ====================== */
footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 300px; }
.footer-tagline strong { display: inline-block; color: var(--ink); font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: 4px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--muted); font-size: .85rem; }

/* ====================== SECONDARY PAGE ====================== */
.page { padding: 72px 0 100px; }
.page-head { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 20px; }
.page-lead { font-size: 1.25rem; color: var(--ink); font-weight: 600; font-family: 'Sora', sans-serif; }
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.page-cta { text-align: center; margin-top: 48px; }

/* ----- Legal documents ----- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; font-weight: 600; font-family: 'Sora', sans-serif; margin: 26px 0 8px; }
.legal p { color: var(--muted); margin-bottom: 16px; }
.legal ul, .legal ol { color: var(--muted); margin: 0 0 16px 1.25rem; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--accent); font-weight: 600; }
.legal strong { color: var(--ink); }

/* ====================== PRICING ====================== */
.t-accent { color: var(--accent); }
.price-sub { margin-top: 18px; text-align: center; }
.badge-circle {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 22px;
  font: 600 .9rem 'Sora', sans-serif;
}
.pricing-block { margin-top: 80px; }
.block-head { margin-bottom: 32px; }
.block-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
.block-head .from { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 700; font-family: 'Sora', sans-serif; }
.block-head p { color: var(--muted); margin-top: 10px; max-width: 620px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--bg);
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 16px 44px rgba(222,115,86,.16);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font: 700 .68rem 'Inter';
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.plan-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.9rem; margin: 10px 0 0; }
.plan-price span { font-size: .82rem; font-weight: 500; color: var(--muted); font-family: 'Inter', sans-serif; }
.plan-feats { list-style: none; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.plan-feats li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.plan-feats li span { color: var(--muted); }
.plan-feats li strong { font-weight: 600; text-align: right; }

/* ----- Build your mix ----- */
.mix-builder {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 8px;
}
.mix-row { margin-bottom: 26px; }
.mix-row label { display: flex; justify-content: space-between; font: 600 .95rem 'Sora'; margin-bottom: 12px; }
.mix-row label .mix-out { color: var(--accent); }
.mix-row input[type="range"] { width: 100%; accent-color: var(--accent); height: 6px; cursor: pointer; }
.mix-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mix-result .mix-total-line { font: 600 1.25rem 'Sora'; }
.mix-result .mix-total-line strong { color: var(--accent); }
.mix-unit { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.mix-note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* ----- Checklist ----- */
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.check-list li { display: flex; gap: 11px; font-size: 1rem; }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* ----- Custom studio card ----- */
.custom-card {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 40px;
  text-align: center;
}
.custom-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.custom-card p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.sales-form { max-width: 460px; margin: 0 auto; text-align: left; }
.sales-form textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 400 1rem 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.sales-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-email { text-align: center; margin-top: 32px; color: var(--muted); font-size: .98rem; }
.contact-email a { color: var(--accent); font-weight: 600; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  /* Menu mobile (hamburger + dropdown) */
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; order: 5; }
  .nav-actions { order: 4; margin-left: auto; margin-right: 10px; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    gap: 2px;
    min-width: 210px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0,0,0,.12);
    padding: 8px;
    z-index: 200;
  }
  .nav-cb:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 11px 14px; border-radius: 9px; font-size: .95rem; color: var(--ink); }
  .nav-links a:hover { background: var(--bg-soft); }

  /* Espacements resserrés autour du bandeau défilant */
  .hero { padding: 56px 0 24px; }
  .marquee-section { padding: 8px 0 8px; }
  #difference { padding-top: 36px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .mix-builder, .custom-card { padding: 24px; }
}
