/* ==========================================================
   B MÉDIAS — Charte graphique
   Palette : #fbf1cf (crème) · #f6b829 (jaune) · #f28c38 (orange)
             #e35a2a (rouge-orange) · #b73a2d (rouge profond)
   Typo    : Raleway (corps) · TS Qamus Bold (titres, fallback Archivo Black)
   ========================================================== */

:root {
  --c-cream: #fbf1cf;
  --c-cream-dark: #f4e6b8;
  --c-yellow: #f6b829;
  --c-orange: #f28c38;
  --c-red: #e35a2a;
  --c-deep: #b73a2d;
  --c-ink: #1c1310;
  --c-ink-soft: #4a3d39;
  --c-muted: #7a6f6c;
  --c-white: #ffffff;
  --c-line: rgba(28, 19, 16, 0.08);

  --ff-body: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-display: 'TS Qamus', 'Archivo Black', 'Raleway', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 14px rgba(28, 19, 16, 0.08);
  --shadow-md: 0 18px 40px rgba(28, 19, 16, 0.12);

  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ============= RESET ============= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--c-deep); }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============= TYPO ============= */
h1, h2, h3, h4, .brand-name, .hero-title, .section-title, .funnel-num, .step-num, .card h3, .funnel-step h3 {
  font-family: var(--ff-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h2.section-title { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.25rem; }

.eyebrow, .section-tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-deep);
  background: rgba(231, 90, 42, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-tag.light {
  color: var(--c-cream);
  background: rgba(251, 241, 207, 0.12);
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-deep);
  color: var(--c-cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--c-red);
  color: var(--c-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}
.btn-block { width: 100%; }
.btn-rdv { margin-top: 8px; }

/* ============= HEADER / NAV ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 241, 207, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--c-line);
  background: rgba(251, 241, 207, 0.95);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}
.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-ink);
  position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--c-deep);
  transition: width .25s ease;
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--c-ink);
  color: var(--c-cream) !important;
  padding: 10px 22px;
  border-radius: 100px;
}
.nav-cta:hover { background: var(--c-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-ink);
  transition: transform .25s ease, opacity .2s ease;
}
.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); }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(246, 184, 41, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(183, 58, 45, 0.25), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(242, 140, 56, 0.2), transparent 70%);
  z-index: -1;
}
.hero-inner { position: relative; max-width: 920px; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  margin: 18px 0 24px;
  line-height: 0.95;
}
.hero-title .line { display: block; }
.hero-title .line-accent {
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--c-ink-soft);
  max-width: 680px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 36px;
  border-top: 1px solid var(--c-line);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stats strong {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--c-deep);
  line-height: 1;
}
.hero-stats span {
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  font-weight: 500;
}

/* ============= SECTIONS ============= */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.section-light { background: var(--c-cream); }
.section-cream {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-dark) 100%);
}
.section-dark {
  background: var(--c-ink);
  color: var(--c-cream);
}
.section-dark .section-title,
.section-dark h3 { color: var(--c-cream); }
.section-dark .section-lead { color: rgba(251, 241, 207, 0.78); }

.section-header { max-width: 720px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead {
  font-size: 1.1rem;
  color: var(--c-ink-soft);
  margin-top: 18px;
}

/* ============= TWO-COL ============= */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.col-text .section-title { margin-bottom: 18px; }

/* ============= BULLETS / EXPERTISE ============= */
.bullets { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.bullets li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.bullet-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-deep));
  color: var(--c-cream);
  display: grid; place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.bullets h3 { margin-bottom: 4px; font-size: 1.15rem; }
.bullets p { color: var(--c-ink-soft); font-size: 0.98rem; }

/* ============= QUOTE / VISUAL ============= */
.col-visual { position: relative; }
.quote-card {
  position: relative;
  z-index: 2;
  background: var(--c-white);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--c-deep);
  max-width: 480px;
}
.quote {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.quote-author { font-size: 0.9rem; color: var(--c-deep); font-weight: 700; }

.visual-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  z-index: 1;
  opacity: 0.92;
}
.vg { border-radius: var(--radius-md); }
.vg-1 { background: var(--c-yellow); transform: translate(-30px, -30px); }
.vg-2 { background: var(--c-orange); transform: translate(40px, -50px); }
.vg-3 { background: var(--c-deep); transform: translate(-50px, 40px); }
.vg-4 { background: var(--c-red); transform: translate(60px, 50px); }

/* ============= CARDS GRID (LEVIERS) ============= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: rgba(251, 241, 207, 0.04);
  border: 1px solid rgba(251, 241, 207, 0.12);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--c-red);
  background: rgba(231, 90, 42, 0.06);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-red), var(--c-deep));
  color: var(--c-cream);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: rgba(251, 241, 207, 0.78); font-size: 0.96rem; }
.card-tag {
  display: block;
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--c-yellow);
  font-weight: 600;
  text-transform: uppercase;
}

/* ============= FUNNEL ============= */
.funnel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.funnel-step {
  background: var(--c-white);
  padding: 32px 26px;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--c-deep);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.funnel-step:nth-child(1) { border-top-color: var(--c-yellow); }
.funnel-step:nth-child(2) { border-top-color: var(--c-orange); }
.funnel-step:nth-child(3) { border-top-color: var(--c-red); }
.funnel-step:nth-child(4) { border-top-color: var(--c-deep); }
.funnel-step:hover { transform: translateY(-4px); }
.funnel-num {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  color: var(--c-deep);
  display: block;
  margin-bottom: 8px;
}
.funnel-step h3 { margin-bottom: 8px; }
.funnel-step p { color: var(--c-ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.funnel-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-deep);
  font-weight: 600;
  text-transform: uppercase;
}

/* ============= ROADMAP / APPROCHE ============= */
.roadmap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  counter-reset: rm;
}
.roadmap-step {
  display: flex;
  gap: 22px;
  background: var(--c-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
  border-left: 4px solid var(--c-red);
}
.step-num {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--c-deep);
  background: var(--c-cream);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { color: var(--c-ink-soft); font-size: 0.98rem; }

/* ============= ÉQUIPE ============= */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.team-card {
  background: rgba(251, 241, 207, 0.05);
  border: 1px solid rgba(251, 241, 207, 0.15);
  padding: 40px;
  border-radius: var(--radius-md);
  transition: transform .3s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-yellow), var(--c-red));
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--c-cream);
  margin-bottom: 22px;
}
.team-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.team-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 18px;
}
.team-card p {
  color: rgba(251, 241, 207, 0.82);
  font-size: 0.98rem;
  margin-bottom: 12px;
}
.team-perso { font-style: italic; opacity: 0.7; }
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 241, 207, 0.15);
}
.team-contact a {
  color: var(--c-yellow);
  font-weight: 600;
  font-size: 0.92rem;
}
.team-contact a:hover { color: var(--c-orange); }

/* ============= CONTACT ============= */
.contact-wrapper { align-items: flex-start; }
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px 0;
  padding: 22px;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cc { display: flex; align-items: baseline; gap: 14px; }
.cc-label {
  flex-shrink: 0;
  width: 110px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.cc a { color: var(--c-deep); font-weight: 600; }
.cc a:hover { color: var(--c-red); }
.rdv-hint { font-size: 0.8rem; color: var(--c-muted); margin-top: 12px; font-style: italic; }

.contact-form {
  background: var(--c-white);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--c-ink);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-ink);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-cream);
  color: var(--c-ink);
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-deep);
  background: var(--c-white);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.consent input { width: auto; margin-top: 4px; }
.consent label { font-size: 0.85rem; color: var(--c-ink-soft); font-weight: 400; }
.form-feedback {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
}
.form-feedback.success { color: #2a8a3f; }
.form-feedback.error { color: var(--c-deep); }

/* ============= FOOTER ============= */
.site-footer {
  background: var(--c-ink);
  color: rgba(251, 241, 207, 0.78);
  padding: 60px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 0.95rem;
  max-width: 360px;
}
.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a { color: rgba(251, 241, 207, 0.78); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--c-yellow); }
.footer-meta { font-size: 0.88rem; }
.footer-meta a { color: var(--c-yellow); }
.footer-meta p + p { margin-top: 6px; }

/* ============= ANIMATIONS / SCROLL ============= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .funnel { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .visual-grid { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-cream);
    padding: 24px var(--gutter);
    gap: 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    box-shadow: var(--shadow-sm);
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 8px 0; }
  .nav-cta { text-align: center; padding: 12px 22px; }

  .two-col { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .roadmap-step { padding: 24px; }
  .step-num { width: 52px; height: 52px; font-size: 1.6rem; }
}

@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .brand-name { font-size: 1.15rem; }
  .brand-logo { width: 40px; height: 40px; }
}

/* ============= ACCESSIBILITÉ ============= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 3px solid var(--c-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
