:root {
  --bg-dark: #0f1117;
  --bg-darker: #07080c;
  --bg-light: #f5f7fb;
  --text-dark: #111827;
  --text-light: #ffffff;
  --muted: #6b7280;
  --blue: #2457ff;
  --orange: #ff6b00;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.nav {
  background: rgba(7,8,12,0.96);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

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

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.95rem;
  color: #d1d5db;
}

.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(36,87,255,0.35);
  transition: 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.secondary {
  background: #fff;
  color: var(--text-dark);
  box-shadow: none;
}

.nav-btn { padding: 11px 18px; }

.hero {
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  color: var(--text-light);
  padding: 96px 0 76px;
  overflow: hidden;
  position: relative;
}

/* Fond animé : deux halos lents bleu / orange */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background: var(--blue);
  opacity: 0.30;
  top: -220px;
  right: -140px;
  animation: heroGlowBlue 26s ease-in-out infinite alternate;
}

.hero::after {
  background: var(--orange);
  opacity: 0.22;
  bottom: -240px;
  left: -160px;
  animation: heroGlowOrange 34s ease-in-out infinite alternate;
}

@keyframes heroGlowBlue {
  to { transform: translate(-140px, 100px) scale(1.15); }
}

@keyframes heroGlowOrange {
  to { transform: translate(160px, -90px) scale(1.12); }
}

.hero .hero-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

.hero p {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
}

.proof {
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

.proof strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
}

.proof span { color: #9ca3af; font-size: 0.95rem; }

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  color: #e5e7eb;
}

.check-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
}

section { padding: 84px 0; }

.section-header {
  max-width: 800px;
  margin-bottom: 44px;
}

.section-header.center {
  margin: 0 auto 44px;
  text-align: center;
}

.kicker {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.section-header p,
.card p,
.card li,
.about-text p,
.faq-item p {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(36,87,255,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.problem-section { background: #fff; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.problem {
  padding: 22px;
  border-radius: 18px;
  background: #f3f4f6;
  font-weight: 800;
}

.why-section { background: #f8fafc; }

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.04);
}

.why-item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.why-item span { color: var(--muted); }

.method {
  background: var(--bg-dark);
  color: var(--text-light);
}

.method .section-header p { color: #d1d5db; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 22px;
}

.step p { color: #d1d5db; }

.step-number {
  color: var(--orange);
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.price {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 22px 0;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.pricing-card li {
  list-style: none;
  display: flex;
  gap: 10px;
}

.pricing-card li::before {
  content: "•";
  color: var(--orange);
  font-weight: 900;
}

.featured {
  border: 2px solid var(--blue);
  transform: translateY(-12px);
}

.about-section { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.about-card {
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}

.portrait-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255,107,0,0.16);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.about-card h2 { font-size: 2rem; color: #fff; }
.about-card .role { color: #d1d5db; font-weight: 800; margin-bottom: 10px; }
.about-card .location { color: #9ca3af; }
.about-text p { margin-bottom: 18px; }
.about-text strong { color: var(--text-dark); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-top {
  background: linear-gradient(135deg, var(--bg-dark), #1d2450);
  color: white;
  padding: 30px;
}

.case-body { padding: 30px; }
.case-body p { color: var(--muted); margin-bottom: 14px; }

.tag {
  display: inline-block;
  background: rgba(255,107,0,0.14);
  color: var(--orange);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.metric {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 14px;
}

.metric strong { display: block; font-size: 1.2rem; }
.metric span { color: var(--muted); font-size: 0.86rem; }
.full-btn { margin-top: 22px; width: 100%; }

.faq-section { background: #fff; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.08rem;
}

.faq-item p { margin-top: 14px; }

.cta {
  background:
    radial-gradient(circle at top right, rgba(255,107,0,0.24), transparent 35%),
    linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.cta p {
  color: #d1d5db;
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}

.cta .contact-line {
  margin-top: 22px;
  font-size: 0.95rem;
  color: #9ca3af;
}

footer {
  background: #05060a;
  color: #9ca3af;
  padding: 34px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  width: 100%;
  font-size: 0.9rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  width: 100%;
  font-size: 0.82rem;
  color: #6b7280;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .problem-grid,
  .steps,
  .case-grid,
  .why-grid,
  .about-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .proof-row,
  .metrics {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }
  .featured { transform: none; }
  .about-card { position: static; }
  section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .hero { padding: 72px 0 56px; }
  h1 { font-size: clamp(2.35rem, 14vw, 3.2rem); }
  h2 { font-size: clamp(1.85rem, 10vw, 2.6rem); }
  .hero p { font-size: 1.1rem; }
  .btn { width: 100%; }
  .hero-actions { gap: 12px; }
  .card,
  .hero-card,
  .about-card,
  .case-body,
  .case-top { padding: 24px; }
}

/* ── Legal / RGPD page ── */
.legal-hero {
  padding: 76px 0 64px;
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-page {
  background: var(--bg-light);
}

.legal-content {
  max-width: 960px;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.05);
  margin-bottom: 24px;
}

.content-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

.content-card p {
  color: #4b5563;
  margin-bottom: 14px;
}

.content-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.updated {
  color: var(--muted);
  font-weight: 800;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 4px 0;
  padding-left: 20px;
  color: #4b5563;
}

.legal-disclaimer {
  border-left: 5px solid var(--orange);
}

/* ── Service pages helpers ── */
.legal-content .price {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  margin-top: 18px;
}
.content-card .btn {
  margin-top: 10px;
}

/* Correction visibilité boutons dans les pages de service */
.content-card a.btn,
.content-card a.btn:visited,
.content-card a.btn:hover,
.content-card a.btn:focus {
  color: #fff;
  text-decoration: none;
}

.content-card a.btn.secondary,
.content-card a.btn.secondary:visited {
  color: var(--text-dark);
}

.content-card em {
  color: var(--text-dark);
  font-weight: 800;
}


/* ── Photo / trust elements ── */
.portrait-photo {
  width: 156px;
  height: 156px;
  border-radius: 32px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
  border: 3px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 45px rgba(0,0,0,0.30);
}

.founder-mini {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 14px;
  align-items: center;
}

.founder-mini img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.16);
}

.founder-mini strong {
  display: block;
  color: #fff;
  line-height: 1.2;
}

.founder-mini span {
  color: #d1d5db;
  font-size: 0.92rem;
}

.about-profile-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.about-profile-card img {
  width: 180px;
  height: 180px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-profile-card p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .about-profile-card { grid-template-columns: 1fr; }
  .about-profile-card img { width: 150px; height: 150px; }
  .portrait-photo { width: 132px; height: 132px; }
}


/* ── Case study visual helpers ── */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.before-card,
.after-card {
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
}

.before-card { background: #fff7ed; }
.after-card { background: #ecfdf5; }

.before-card h3,
.after-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.before-card ul,
.after-card ul {
  padding-left: 20px;
  color: #4b5563;
  display: grid;
  gap: 8px;
}

.impact-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.impact-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.impact-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 10px;
}

.impact-head span {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.impact-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-bottom: 10px;
}

.impact-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.kanban-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.kanban-col {
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.kanban-col h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.kanban-col p {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .before-after-grid,
  .kanban-demo {
    grid-template-columns: 1fr;
  }

  .impact-head {
    display: block;
  }

  .impact-head span {
    display: block;
    margin-top: 4px;
  }
}


/* ── Professional visuals ── */
.hero-illustration {
  width: 100%;
  display: block;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.visual-section {
  background: #fff;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.visual-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
}

.visual-card img,
.service-visual,
.case-thumb,
.wide-visual {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.visual-card img {
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
}

.visual-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.visual-card p {
  color: var(--muted);
}

.service-visual {
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  box-shadow: 0 14px 34px rgba(17,24,39,0.08);
}

.case-thumb {
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  box-shadow: 0 14px 34px rgba(17,24,39,0.08);
}

.wide-visual {
  aspect-ratio: 16 / 7;
  margin: 8px 0 28px;
  box-shadow: 0 14px 34px rgba(17,24,39,0.08);
}

.case-visual-intro {
  padding: 64px 0 0;
  background: #fff;
}

.visual-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.visual-split img {
  width: 100%;
  display: block;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.visual-split p {
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .visual-grid,
  .visual-split {
    grid-template-columns: 1fr;
  }

  .wide-visual {
    aspect-ratio: 16 / 10;
  }
}

/* ── Showcase carousel ── */
.showcase-carousel-section {
  background: #fff;
  padding-top: 76px;
}

.showcase-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.carousel-track {
  position: relative;
  min-height: 470px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: center;
  padding: 46px 72px;
  opacity: 0;
  transform: translateX(24px) scale(0.985);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.carousel-copy { color: #fff; }
.carousel-copy .tag { margin-bottom: 18px; }
.carousel-copy h3 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.carousel-copy p {
  color: #d1d5db;
  font-size: 1.08rem;
  max-width: 430px;
}

.carousel-slide img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  border-radius: 28px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: .2s ease;
}
.carousel-btn:hover,
.carousel-btn:focus {
  background: rgba(255,255,255,0.22);
  outline: none;
}
.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: .2s ease;
}
.carousel-dots button.is-active {
  width: 34px;
  background: var(--orange);
}

@media (max-width: 900px) {
  .carousel-track { min-height: 680px; }
  .carousel-slide {
    grid-template-columns: 1fr;
    padding: 36px 28px 72px;
    gap: 20px;
  }
  .carousel-copy p { max-width: none; }
  .carousel-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}
