/* ═══════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --bg:          #1c1c1c;
  --bg-card:     #232323;
  --bg-dark:     #161616;
  --bg-section:  #242424;
  --text:        #ffffff;
  --text-muted:  rgba(255,255,255,0.55);
  --text-light:  rgba(255,255,255,0.8);
  --accent:      #ff6f49;
  --accent-dark: #e05a38;
  --accent-glow: rgba(255,111,73,0.18);
  --border:      rgba(255,255,255,0.08);
  --border-acc:  rgba(255,111,73,0.35);
  --font-h:      'Manrope', sans-serif;
  --font-b:      'Outfit', sans-serif;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   22px;
  --transition:  0.3s ease;
  --shadow:      0 4px 32px rgba(0,0,0,0.35);
  --nav-h:       72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 40% 30% at 0% 0%, rgba(255,111,73,0.025) 0%, transparent 100%),
    radial-gradient(ellipse 35% 25% at 100% 55%, rgba(255,111,73,0.02) 0%, transparent 100%);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 500; }
h2 { font-size: clamp(30px, 3.5vw, 48px); }
h3 { font-size: clamp(17px, 2vw, 22px); font-weight: 600; }

.section-title        { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 28px; }
.section-title-center { text-align: center; margin-bottom: 52px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Label centré quand suivi d'un titre centré */
.section-label + .section-title-center,
.section-label + .section-title.section-title-center {
  margin-top: 0;
}
.section-title-center ~ .section-label,
.section-label:has(+ .section-title-center) {
  display: flex;
  justify-content: center;
  width: 100%;
}

.section-desc { color: var(--text-muted); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }

.section-subtitle-center {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-top: -16px;
  margin-bottom: 52px;
}

.accent { color: var(--accent); }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; position: relative; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #1c1c1c;
  border: 2px solid #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg  { padding: 16px 34px; font-size: 15px; }
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-arrow span { transition: transform var(--transition); }
.btn-arrow:hover span { transform: translateX(4px); }

.link-accent {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: opacity var(--transition);
}
.link-accent:hover { opacity: 0.75; }
.link-accent.small { font-size: 12px; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  /* fond transparent — seuls les 3 éléments sont visibles */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #272727;
  padding: 10px 40px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  margin-left: auto;
  align-self: center;
  border-radius: 50px;
  padding: 11px 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 16px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.hero-badge:hover { border-color: var(--accent); background: var(--accent-glow); }

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.hero-badge-arrow { color: var(--text-muted); }

.hero-title {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-sub {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -4px;
}

.hero-avatars {
  display: flex;
  align-items: center;
}
.hero-avatars img {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  object-fit: cover;
}
.hero-avatars img:first-child { margin-left: 0; }

.hero-avatars-more {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.hero-stars-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-stars-text .stars { color: #facc15; font-size: 14px; letter-spacing: 2px; }

/* Ticker */
.hero-ticker-wrap {
  width: 100%;
  max-width: 880px;
  overflow: hidden;
  padding: 16px 0;
  margin-top: 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.hero-ticker-inner { display: flex; width: max-content; }

.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: ticker-scroll-rev 24s linear infinite;
  white-space: nowrap;
}

@keyframes ticker-scroll-rev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}
.ticker-dot { font-size: 7px; color: var(--accent); }

/* ── Hero carousel (réalisations) ── */
.hero-carousel-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 24px;
  padding-bottom: 16px;
}

.hero-carousel-label {
  text-align: center;
  margin-bottom: 20px;
  display: block;
}

.hero-carousel-track {
  display: flex;
  gap: 20px;
  padding: 0 40px 12px;
  animation: carousel-auto 32s linear infinite;
  width: max-content;
}

.hero-carousel-wrap:hover .hero-carousel-track { animation-play-state: paused; }

.hero-scroll-indicator { display: none; }

/* ═══════════════════════════════════════════
   EXPERTISE / ENGAGEMENTS
═══════════════════════════════════════════ */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.expertise-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Stack visuel animé (expertise) ── */
.stack-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 370px;
  margin: 0 auto;
}

.stack-card {
  position: absolute;
  width: 90%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, z-index 0s;
  opacity: 0;
  z-index: 0;
}

.stack-card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
}

.stack-card-label {
  background: var(--bg-card);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stack-card-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Positions des cartes dans la stack */
.stack-card.pos-front {
  opacity: 1;
  z-index: 5;
  transform: translate(-50%, -50%) rotate(-1deg);
}
.stack-card.pos-mid {
  opacity: 0.65;
  z-index: 4;
  transform: translate(-44%, -45%) rotate(4deg);
}
.stack-card.pos-back {
  opacity: 0.35;
  z-index: 3;
  transform: translate(-56%, -56%) rotate(-6deg);
}
.stack-card.pos-hidden {
  opacity: 0;
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.88);
}

/* ═══════════════════════════════════════════
   ACCORDION (Style A — icônes SVG)
═══════════════════════════════════════════ */
.accordion-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }

.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.accordion-trigger:hover, .accordion-item.active .accordion-trigger { color: var(--text); }

.accordion-icon-wrap {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background var(--transition), border-color var(--transition);
}
.accordion-item.active .accordion-icon-wrap {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.accordion-icon-wrap svg { width: 16px; height: 16px; }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-left: 50px;
}
.accordion-item.active .accordion-body {
  max-height: 200px;
  padding-bottom: 16px;
}
.accordion-body p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ═══════════════════════════════════════════
   ACCORDION (Style B — icônes +/-)
═══════════════════════════════════════════ */
.accordion-item-plus {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger-plus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  gap: 16px;
  transition: color var(--transition);
}
.accordion-trigger-plus:hover,
.accordion-item-plus.active .accordion-trigger-plus { color: var(--text); }

.plus-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}
.accordion-item-plus.active .plus-icon { background: rgba(255,111,73,0.2); color: var(--accent); }

.accordion-body-plus {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item-plus.active .accordion-body-plus { max-height: 300px; }
.accordion-body-plus p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 20px;
}
.accordion-body-plus a { display: block; margin-top: 6px; }

/* ═══════════════════════════════════════════
   METHODOLOGY / VERT TABS (style Churchill)
═══════════════════════════════════════════ */
.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}

/* ── Onglets verticaux ── */
.vert-tabs {
  display: flex;
  flex-direction: row;
  height: 430px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
}

.vert-tab {
  flex: 0 0 58px;
  display: flex;
  flex-direction: row;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              background 0.3s ease;
  overflow: hidden;
  position: relative;
}

.vert-tab:last-child { border-right: none; }

.vert-tab.active {
  flex: 1;
  cursor: default;
  border-color: var(--border-acc);
}

/* Bande verticale permanente */
.vert-tab-strip {
  flex: 0 0 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  padding: 28px 0;
  transition: background var(--transition);
}

.vert-tab.active .vert-tab-strip {
  background: rgba(255,111,73,0.07);
  border-right: 1px solid var(--border-acc);
}

.vert-tab-num {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.vert-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition);
}

.vert-tab:hover .vert-tab-label,
.vert-tab.active .vert-tab-label { color: var(--text); }

/* Panneau de contenu */
.vert-tab-content {
  flex: 1;
  padding: 40px 36px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  min-width: 0;
}

.vert-tab.active .vert-tab-content {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease 0.22s;
}

.vert-tab-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.vert-tab-content ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vert-tab-content li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.vert-tab-content li strong { color: var(--text); }

/* ═══════════════════════════════════════════
   DEVELOPMENT / CRÉATION
═══════════════════════════════════════════ */
.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 60px;
  position: relative;
  overflow: hidden;
}

.dev-card-deco {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  line-height: 1;
  opacity: 0.035;
  pointer-events: none;
  font-family: monospace;
  font-weight: 900;
  color: var(--text);
  user-select: none;
  letter-spacing: -0.05em;
}

.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Feature cards (création section) ── */
.creation-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.creation-feat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
}

.creation-feat:hover {
  border-color: rgba(255,111,73,0.45);
  background: rgba(255,111,73,0.05);
  transform: translateY(-3px);
}

.creation-feat-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.creation-feat-wide .feat-icon { margin-bottom: 0; flex-shrink: 0; }

.feat-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.feat-title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.services-card-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow);
}

.visual-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visual-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  transition: border-color var(--transition), background var(--transition);
}
.visual-badge:hover { border-color: var(--accent); background: var(--accent-glow); }
.visual-badge span { font-size: 13px; }

.visual-stat-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
}
.visual-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.visual-stat-bars { display: flex; flex-direction: column; gap: 10px; }
.stat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.stat-bar > span:first-child { width: 110px; flex-shrink: 0; }
.stat-bar > span:last-child  { width: 30px;  text-align: right; }
.bar { flex: 1; height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 1.2s ease; }

/* ═══════════════════════════════════════════
   AGENCY / ABOUT
═══════════════════════════════════════════ */
.agency-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "left  center right"
    "google center right";
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.agency-left   { grid-area: left; }
.agency-center { grid-area: center; align-self: center; }
.agency-right  { grid-area: right; }
.agency-google { grid-area: google; }

.agency-left p {
  color: var(--text-muted);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  margin-bottom: 0;
}

.agency-google {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 8px;
}
.agency-google-stars { color: #facc15; font-size: 20px; letter-spacing: 3px; }
.agency-google-text { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.agency-google-text strong { color: var(--text); display: block; }

.agency-center { display: flex; justify-content: center; }

.agency-photo {
  width: 240px; height: 310px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.agency-photo img { width: 100%; height: 100%; object-fit: cover; }

.agency-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;
}

.agency-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.agency-stat:hover { border-color: var(--border-acc); }

.stat-number {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.stat-number small { font-size: 16px; font-weight: 600; }

.stat-label { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ═══════════════════════════════════════════
   TRUST / RÉALISATIONS
═══════════════════════════════════════════ */
.trust-header { margin-bottom: 52px; }

.trust-left { max-width: 400px; }
.trust-left .section-title { margin-bottom: 24px; }

/* ── Carousel auto-scroll ── */
.carousel-outer {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.carousel-outer:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 0 24px 12px;
  animation: carousel-auto 28s linear infinite;
  width: max-content;
}

@keyframes carousel-auto {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-outer:hover .carousel-track,
.carousel-outer:focus-within .carousel-track { animation-play-state: paused; }

.carousel-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.carousel-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-acc);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.carousel-img-wrap {
  width: 100%; height: 200px;
  overflow: hidden;
}
.carousel-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.carousel-card:hover .carousel-img-wrap img { transform: scale(1.04); }

.carousel-info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.carousel-info h3 { font-size: 16px; font-weight: 700; }
.carousel-info p  { font-size: 12px; color: var(--text-muted); }

.carousel-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}
.carousel-result::before { content: '↳'; }

/* ═══════════════════════════════════════════
   RESOURCES / AUDIT
═══════════════════════════════════════════ */
.resources-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.resources-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.audit-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}
.audit-mockup-inner {
  width: 180px; height: 240px;
  background: var(--bg-section);
  border: 1px solid var(--border-acc);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(255,111,73,0.12);
}
.audit-mockup-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.audit-mockup-title { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.2; }
.audit-mockup-sub   { font-size: 12px; color: var(--accent); font-weight: 600; }
.audit-mockup-icon  { font-size: 28px; margin-top: 8px; }

.resources-content h2 { margin-bottom: 24px; font-size: 30px; }

.resources-checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-item div { color: var(--text-muted); }
.check-item strong { color: var(--text); }

/* ═══════════════════════════════════════════
   SUCCESS / POURQUOI NOUS
═══════════════════════════════════════════ */
/* ── Pourquoi nous — numbered rows ── */
.why-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 0;
}

.why-intro {
  max-width: 360px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.why-list {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.why-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 40px 24px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background var(--transition), padding var(--transition);
  cursor: default;
}

.why-item:hover {
  background: rgba(255,111,73,0.045);
}

.why-num {
  font-family: var(--font-h);
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  transition: opacity var(--transition);
  user-select: none;
}

.why-item:hover .why-num { opacity: 1; }

.why-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-h);
}

.why-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

.why-emoji {
  font-size: 38px;
  opacity: 0.3;
  transition: opacity var(--transition), transform var(--transition);
  user-select: none;
}

.why-item:hover .why-emoji {
  opacity: 1;
  transform: scale(1.18) rotate(-5deg);
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-accordion { margin-bottom: 0; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  gap: 16px;
  transition: color var(--transition);
}
.faq-trigger:hover,
.faq-item.active .faq-trigger { color: var(--text); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-body { max-height: 400px; }
.faq-body p, .faq-body ul {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 20px;
}
.faq-body ul { padding-left: 18px; }
.faq-body li { list-style: disc; margin-bottom: 4px; }

/* ═══════════════════════════════════════════
   AVIS / TESTIMONIALS
═══════════════════════════════════════════ */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.avis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition);
}
.avis-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-acc);
}

.avis-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avis-header img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.avis-header div { flex: 1; }
.avis-header strong { display: block; font-size: 14px; font-weight: 700; }
.avis-header span   { font-size: 12px; color: var(--text-muted); }
.avis-stars { color: #facc15; font-size: 13px; letter-spacing: 1px; margin-left: auto; }

.avis-quote-icon { font-size: 30px; color: var(--accent); opacity: 0.6; line-height: 1; }

.avis-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

.avis-cta { text-align: center; margin-top: 44px; }

/* ═══════════════════════════════════════════
   CONTACT — Formulaire multi-étapes
═══════════════════════════════════════════ */
#contact { padding: 100px 0; }

.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto 40px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  position: relative;
  box-shadow: 0 8px 48px rgba(0,0,0,0.1);
}

.contact-form-wrap::before { display: none; }

/* Barre de progression */
.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 36px;
}

.form-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
  transition: background 0.35s ease;
}

.form-progress-bar.done { background: var(--accent); }

/* Étapes */
.form-step { display: none; }
.form-step.active {
  display: block;
  animation: step-slide 0.3s ease;
}

@keyframes step-slide {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-step-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.form-step-title {
  font-family: var(--font-h);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
  color: #1a1a1a;
}

.form-step-sub {
  color: rgba(26,26,26,0.55);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Boutons choix */
.form-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.form-choice {
  padding: 20px 22px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  background: #f5f3ef;
  color: rgba(26,26,26,0.65);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-b);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  line-height: 1.4;
}
.form-choice:hover { border-color: var(--accent); color: #1a1a1a; }
.form-choice.selected {
  background: rgba(255,111,73,0.1);
  border-color: var(--accent);
  color: #1a1a1a;
}

/* Inputs */
.form-input {
  width: 100%;
  background: #f5f3ef;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 13px 18px;
  color: #1a1a1a;
  font-size: 15px;
  font-family: var(--font-b);
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 12px;
  display: block;
}

.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: rgba(26,26,26,0.38); }

.form-textarea { resize: none; min-height: 110px; margin-bottom: 20px; }

/* Navigation entre étapes */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.form-step-count {
  font-size: 12px;
  color: rgba(26,26,26,0.45);
  font-weight: 500;
}

/* Succès */
.form-success {
  text-align: center;
  padding: 16px 0 8px;
}

.form-success-icon { font-size: 52px; margin-bottom: 20px; display: block; }
.form-success h3 { font-size: 24px; margin-bottom: 12px; color: #1a1a1a; }
.form-success p { color: rgba(26,26,26,0.55); max-width: 360px; margin: 0 auto 28px; }

/* Contacts directs sous le formulaire */
.contact-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(26,26,26,0.5);
  font-size: 13px;
}

.contact-direct-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  transition: var(--transition);
}
.contact-direct-item:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 24px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  transition: var(--transition);
}
.footer-contact-link:hover { color: var(--text); border-color: var(--accent); }

.footer-stars { margin-top: 4px; }
.footer-stars-row { font-size: 14px; color: #facc15; margin-bottom: 4px; }
.footer-stars-row strong { color: var(--text); }

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a,
.footer-col li span {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--accent); }

.footer-audit-cta {
  margin-top: 28px;
  background: var(--accent-glow);
  border: 1px solid var(--border-acc);
  border-radius: var(--radius);
  padding: 18px;
}
.footer-audit-label { font-size: 11px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-audit-title { font-size: 14px; color: var(--text); font-weight: 600; margin: 4px 0 14px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span { font-size: 12px; color: var(--text-muted); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a { font-size: 12px; color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card:nth-child(2) { transition-delay: 0.1s; }
.reveal-card:nth-child(3) { transition-delay: 0.2s; }

/* ═══════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(18,18,18,0.98);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 17px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* About — tablette : 2 colonnes, photo cachée */
  .agency-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left  right"
      "google right";
  }
  .agency-center { display: none; }

  .resources-card { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .audit-mockup { display: none; }
}

@media (max-width: 860px) {
  section { padding: 60px 0; }

  /* Nav */
  .nav-logo img { height: 44px; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero-inner { gap: 20px; padding: 0 20px; }
  .hero-title { font-size: clamp(28px, 7vw, 42px); }
  .hero-sub   { font-size: 15px; }
  .hero-actions .btn { padding: 14px 28px; font-size: 14px; }

  /* Carousel hero */
  .carousel-card { width: 260px; }

  /* Engagements */
  .expertise-grid  { grid-template-columns: 1fr; gap: 40px; }
  .expertise-right { display: none; }

  /* Processus */
  .methodology-grid { grid-template-columns: 1fr; gap: 40px; }
  .vert-tabs { height: auto; flex-direction: column; }
  .vert-tab { flex: none !important; flex-direction: column; border-right: none; border-bottom: 1px solid var(--border); }
  .vert-tab-strip { flex-direction: row; width: 100%; height: 52px; padding: 0 20px; gap: 12px; border-right: none !important; }
  .vert-tab-label { writing-mode: horizontal-tb; transform: none; }
  .vert-tab-content { width: 100%; padding: 20px; opacity: 1 !important; pointer-events: auto !important; display: none; }
  .vert-tab.active .vert-tab-content { display: block; }

  /* Création & Services */
  .dev-card  { padding: 40px 28px; }
  .dev-card-deco { font-size: 140px; }
  .dev-grid      { grid-template-columns: 1fr; gap: 40px; }
  .creation-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .creation-feat { padding: 20px 16px; }
  .creation-feat-wide { flex-direction: column; }
  .feat-icon { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-visual { display: none; }

  /* À propos — mobile : colonne unique, ordre texte → stats → google */
  .agency-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .agency-left   { order: 1; }
  .agency-right  { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .agency-google { order: 3; }
  .agency-center { display: none; }

  /* Pourquoi nous */
  .why-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .why-intro { max-width: 100%; }
  .why-item { grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 16px; }
  .why-emoji { display: none; }
  .why-num { font-size: 40px; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-left h2 { font-size: 28px; }

  /* Avis */
  .avis-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-form-wrap { padding: 32px 24px; }
  .form-choices { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 580px) {
  section { padding: 52px 0; }

  /* Hero */
  .hero-title { font-size: clamp(26px, 8vw, 36px); }
  .hero-sub   { font-size: 14px; }
  .hero-social-proof { flex-direction: column; gap: 10px; }

  /* Carousel */
  .carousel-card { width: 220px; }

  /* Création feature cards */
  .creation-features { grid-template-columns: 1fr; }

  /* Pourquoi nous & Avis */
  .why-item { grid-template-columns: 48px 1fr; gap: 18px; padding: 28px 12px; }
  .why-num { font-size: 32px; }
  .avis-grid    { grid-template-columns: 1fr; }

  /* Contact */
  .form-choices { grid-template-columns: 1fr; }
  .form-choice  { padding: 16px 18px; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Misc */
  .section-title { font-size: clamp(24px, 7vw, 32px); }
  .btn-lg { padding: 14px 24px; font-size: 14px; }
  .hero-title br { display: none; }
}
