/* Accueil EmirBsh.dev — hero maquette + sections claires */

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

html {
  scroll-behavior: smooth;
}

body.home-page {
  --ink: #071b42;
  --ink-soft: #58677f;
  --muted: #68758c;
  --accent: #5868ff;
  --accent-soft: #5968ff;
  --page: #FDFDFD;
  --surface: #ffffff;
  --surface-warm: #FBF7F3;
  --section-pad-y: 4rem;
  --section-pad-y-sm: 3.25rem;
  --container: min(1180px, calc(100% - 80px));
  --container-md: calc(100% - 48px);
  --container-sm: calc(100% - 36px);
  --icon-size: 64px;
  --icon-svg: 26px;
  --label-size: 0.6875rem;
  --title-size: clamp(1.75rem, 2.6vw, 2.05rem);
  --card-title: 0.95rem;
  --card-text: 0.8125rem;

  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

a {
  color: inherit;
}

/* Labels / titres de section — rythme commun */
.section-label,
.results-label,
.process-label,
.projects-label,
.final-cta-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: var(--label-size);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.section-label span,
.results-label span,
.process-label span,
.projects-label span,
.final-cta-label span {
  display: block;
  width: 1.65rem;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  flex-shrink: 0;
}

.simplify-title h2,
.results-heading h2,
.process-heading h2,
.projects-title h2,
.final-cta-content h2 {
  color: var(--ink);
  font-size: var(--title-size);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.simplify-title h2 strong,
.results-heading h2 strong,
.projects-title h2 strong,
.final-cta-content h2 strong {
  color: var(--accent-soft);
  font-weight: 800;
}

.simplify-intro,
.projects-intro,
.final-cta-content p,
.result-item p,
.process-step p,
.simplify-card p,
.project-content p {
  color: var(--muted);
  line-height: 1.5;
}

.simplify-card h3,
.result-item h3,
.process-step h3,
.project-content h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Icônes circulaires — même gabarit */
.icon-circle,
.result-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.icon-circle svg,
.result-icon svg {
  width: var(--icon-svg);
  height: var(--icon-svg);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1rem;
  font-weight: 700;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 40%, rgba(224, 235, 255, 0.55), transparent 30%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 52%, #fbf8f3 100%);
}

/* Image pleine largeur / hauteur de la section hero */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 38%,
    rgba(255, 255, 255, 0.28) 62%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 80px));
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: #071b42;
  justify-self: start;
}

.logo-name {
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo-name span {
  color: #5667ff;
}

.logo-subtitle {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #6e7b95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
  color: #071b42;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #5667ff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: #5667ff;
  border-radius: 20px;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 24px;
  border-radius: 999px;
  background: #061d43;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(7, 27, 66, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta svg,
.primary-button svg,
.projects-all svg,
.final-cta-button svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke-width: 2;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(7, 27, 66, 0.22);
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Accès administrateur discret (connexion Google) */
.nav-admin {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #68758c;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(7, 27, 66, 0.1);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-admin:hover {
  color: #071b42;
  border-color: rgba(7, 27, 66, 0.25);
}

.nav-admin.is-connected {
  color: #fff;
  background: #3166f0;
  border-color: #3166f0;
}

.nav-admin svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 27, 66, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #071b42;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* =========================
   HERO CONTENT
========================= */

.hero-content {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 80px));
  min-height: 530px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 34rem) 1fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding-bottom: 60px;
}

.title-wrapper {
  position: relative;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(54px, 5.1vw, 76px);
  line-height: 0.93;
  letter-spacing: -4px;
  font-weight: 800;
  color: #071b42;
}

.hero h1 span {
  color: #5968ff;
}

.title-accent {
  position: absolute;
  top: -10px;
  right: -50px;
  width: 45px;
  height: 60px;
}

.title-accent i {
  position: absolute;
  display: block;
  width: 3px;
  height: 20px;
  background: #ffad24;
  border-radius: 20px;
}

.title-accent i:nth-child(1) {
  left: 5px;
  top: 4px;
  transform: rotate(25deg);
}

.title-accent i:nth-child(2) {
  left: 25px;
  top: 19px;
  transform: rotate(72deg);
}

.title-accent i:nth-child(3) {
  left: 32px;
  top: 43px;
  transform: rotate(105deg);
}

.hero-copy > p {
  margin-top: 25px;
  max-width: 480px;
  color: #394968;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 17px 26px;
  border-radius: 999px;
  background: #061d43;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(7, 27, 66, 0.17);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(7, 27, 66, 0.23);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #071b42;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.play {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid #071b42;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.play svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 2px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

.secondary-button:hover .play {
  background: #071b42;
  color: white;
}


/* ==================================
   CE QUE JE PEUX SIMPLIFIER
================================== */

.simplify-section {
  position: relative;
  padding: var(--section-pad-y) 0;
  background: var(--page);
  overflow: hidden;
}

.simplify-container {
  width: var(--container);
  margin: 0 auto;
}

.simplify-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 5.5rem);
  margin-bottom: 2.25rem;
}

.simplify-title h2 {
  max-width: 28rem;
}

.simplify-title h2 strong {
  display: block;
}

.simplify-intro {
  max-width: 28rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.simplify-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.simplify-card {
  min-height: 13.5rem;
  padding: 1.5rem 1.15rem 1.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid #eef1f6;
  border-radius: 1.1rem;
  box-shadow: 0 8px 28px rgba(25, 46, 90, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.simplify-card:hover {
  transform: translateY(-4px);
  border-color: #e4e8f4;
  box-shadow: 0 14px 36px rgba(25, 46, 90, 0.08);
}

.icon-blue {
  color: #1458c4;
  background: linear-gradient(135deg, #e8f3ff, #dcecff);
}

.icon-purple {
  color: #6554ff;
  background: linear-gradient(135deg, #f0edff, #e8e5ff);
}

.icon-orange {
  color: #ff7a45;
  background: linear-gradient(135deg, #fff2e9, #ffeadc);
}

.icon-green {
  color: #078f83;
  background: linear-gradient(135deg, #e0faf5, #d3f5ef);
}

.simplify-card h3 {
  margin-bottom: 0.5rem;
  font-size: var(--card-title);
}

.simplify-card p {
  font-size: var(--card-text);
}

@media (max-width: 1100px) {
  .simplify-container {
    width: var(--container-md);
  }

  .simplify-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .simplify-section {
    padding: var(--section-pad-y-sm) 0;
  }

  .simplify-container {
    width: var(--container-sm);
  }

  .simplify-header {
    display: block;
    margin-bottom: 1.75rem;
  }

  .simplify-intro {
    margin-top: 1rem;
  }

  .simplify-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .simplify-card {
    min-height: 0;
    padding: 1.4rem 1.25rem;
  }

  .simplify-card p br {
    display: none;
  }
}

/* ========================================
   RÉSULTATS
======================================== */

.results-section {
  padding: var(--section-pad-y) 0;
  background: var(--surface);
}

.results-container {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 18rem) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.results-heading {
  align-self: start;
}

.results-heading h2 strong {
  display: block;
}

.results-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.15rem);
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}

.result-icon-blue {
  color: #0c4c9c;
  background: linear-gradient(135deg, #edf7ff 0%, #dceeff 100%);
}

.result-icon-purple {
  color: #6255ff;
  background: linear-gradient(135deg, #f1efff 0%, #e8e5ff 100%);
}

.result-icon-green {
  color: #05a58d;
  background: linear-gradient(135deg, #e4faf6 0%, #d1f5ee 100%);
}

.result-item h3 {
  margin-bottom: 0.35rem;
  font-size: var(--card-title);
}

.result-item p {
  font-size: var(--card-text);
}

@media (max-width: 1100px) {
  .results-container {
    width: var(--container-md);
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .results-heading {
    text-align: center;
  }

  .results-label {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .results-section {
    padding: var(--section-pad-y-sm) 0;
  }

  .results-container {
    width: var(--container-sm);
  }

  .results-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .result-item p br {
    display: none;
  }
}

/* ========================================
   PROCESS
======================================== */

.process-section {
  padding: var(--section-pad-y) 0;
  background: var(--surface-warm);
}

.process-container {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 16.5rem) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.process-step {
  position: relative;
  text-align: center;
  min-width: 0;
}

.step-top {
  position: relative;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-arrow {
  position: absolute;
  top: 50%;
  right: -0.65rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #37b9df;
  line-height: 1;
}

.step-arrow svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 1.8;
}

.step-blue {
  color: #1663be;
  background: linear-gradient(135deg, #e9f5ff, #d8ecff);
}

.step-purple {
  color: #6255ff;
  background: linear-gradient(135deg, #f0edff, #e4dfff);
}

.step-orange {
  color: #e87535;
  background: linear-gradient(135deg, #fff1e7, #ffe4d1);
}

.step-green {
  color: #069d88;
  background: linear-gradient(135deg, #e2faf4, #cef4e9);
}

.process-step h3 {
  margin-top: 0.5rem;
  font-size: var(--card-title);
}

.process-step p {
  margin-top: 0.4rem;
  font-size: var(--card-text);
}

.process-step .step-number {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover .step-number {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 60, 110, 0.10);
}

@media (max-width: 1100px) {
  .process-container {
    width: var(--container-md);
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-heading {
    text-align: center;
  }

  .process-label {
    justify-content: center;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 700px) {
  .process-section {
    padding: var(--section-pad-y-sm) 0;
  }

  .process-container {
    width: var(--container-sm);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    padding: 0 0 2rem 4.25rem;
    text-align: left;
  }

  .step-top {
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
  }

  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 3.35rem;
    width: 2px;
    height: calc(100% - 3.1rem);
    background: #e6ebf4;
  }

  .process-step h3 {
    margin-top: 0.2rem;
  }

  .process-step p br {
    display: none;
  }
}

/* ========================================
   PROJETS
======================================== */

.projects-section {
  padding: var(--section-pad-y) 0 calc(var(--section-pad-y) + 0.5rem);
  background: var(--surface);
}

.projects-container {
  width: var(--container);
  margin: 0 auto;
}

.projects-header {
  display: grid;
  grid-template-columns:
    minmax(16rem, 1.1fr)
    minmax(14rem, 0.85fr)
    auto;
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  margin-bottom: 1.75rem;
}

.projects-title h2 strong {
  display: block;
}

.projects-intro {
  padding-bottom: 0.2rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.projects-all {
  margin-bottom: 7px;
  padding-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #5868ff;
  color: #5868ff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: gap .2s ease, color .2s ease;
}

.projects-all:hover {
  gap: 15px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  box-shadow: 0 7px 25px rgba(17, 37, 75, 0.055);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(17, 37, 75, 0.11);
}

.project-image {
  position: relative;
  display: block;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #f5f6f8;
  text-decoration: none;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #5868ff;
  background: linear-gradient(145deg, #f1f4ff 0%, #eef7ff 55%, #fbf8f3 100%);
}

.project-content {
  padding: 14px 15px 15px;
}

.project-content h3 {
  font-size: var(--card-title);
}

.project-content p {
  min-height: 2.6rem;
  margin-top: 0.4rem;
  font-size: var(--card-text);
}

.project-link {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.project-arrow {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #dce2eb;
  border-radius: 50%;
  color: #3359cb;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.project-arrow svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke-width: 2.2;
}

.project-link:hover .project-arrow {
  background: #071b42;
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 1200px) {
  .projects-container {
    width: var(--container-md);
  }

  .projects-header {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .projects-all {
    grid-column: 2;
    justify-self: start;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .project-image {
    height: 11.5rem;
  }
}

@media (max-width: 700px) {
  .projects-section {
    padding: var(--section-pad-y-sm) 0 calc(var(--section-pad-y-sm) + 0.5rem);
  }

  .projects-container {
    width: var(--container-sm);
  }

  .projects-header {
    display: block;
    margin-bottom: 1.5rem;
  }

  .projects-intro {
    margin-top: 1rem;
  }

  .projects-all {
    margin-top: 1rem;
    grid-column: auto;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .project-image {
    height: 12.5rem;
  }

  .project-content {
    padding: 1rem 1.05rem 1.1rem;
  }

  .project-content p {
    min-height: 0;
  }

  .project-content p br {
    display: none;
  }
}

/* =========================================
   CTA FINAL
========================================= */

.final-cta {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #faf7f2;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.final-cta-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 80px));
  min-height: 310px;
  margin: 0 auto;
  display: grid;
  /* Colonne gauche réservée au décor (laptop / mug) */
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr) minmax(240px, 310px);
  align-items: center;
  gap: 28px;
}

.final-cta-content {
  grid-column: 2;
  max-width: 28rem;
}

.final-cta-content p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.final-cta-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-button {
  min-width: 260px;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #071d43;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(7, 29, 67, 0.17);
  transition: transform .2s ease, box-shadow .2s ease;
}

.final-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(7, 29, 67, 0.23);
}

.button-arrow {
  transition: transform .2s ease;
}

.final-cta-button:hover .button-arrow {
  transform: translateX(4px);
}

.icon-circle .lucide,
.result-icon .lucide {
  color: inherit;
}

.cta-reassurance {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
}

.cta-reassurance svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-decoration {
  position: absolute;
  right: -15px;
  top: -45px;
  width: 50px;
  height: 50px;
}

.cta-decoration span {
  position: absolute;
  display: block;
  width: 3px;
  height: 20px;
  border-radius: 10px;
  background: #0a316a;
}

.cta-decoration span:nth-child(1) {
  left: 5px;
  top: 17px;
  transform: rotate(15deg);
}

.cta-decoration span:nth-child(2) {
  left: 25px;
  top: 22px;
  transform: rotate(48deg);
}

.cta-decoration span:nth-child(3) {
  left: 38px;
  top: 38px;
  transform: rotate(80deg);
}

/* =========================================
   VRAI FOOTER
========================================= */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #edf0f5;
}

.footer-container {
  width: min(1180px, calc(100% - 80px));
  min-height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: #071b42;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -.5px;
}

.footer-brand strong span {
  color: #5868ff;
}

.footer-brand small {
  margin-top: 4px;
  color: #78849a;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: #68758c;
  font-size: 12px;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #5868ff;
}

.footer-copy {
  justify-self: end;
  color: #8a94a6;
  font-size: 12px;
}

/* Tablette / fenêtre réduite : texte + bouton à droite du décor */
@media (max-width: 1200px) {
  .final-cta {
    min-height: 340px;
  }

  .final-cta-bg {
    background-position: left center;
  }

  .final-cta-container {
    width: calc(100% - 50px);
    grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 18px;
    align-items: start;
    padding: 2.25rem 0;
  }

  .final-cta-content {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
  }

  .final-cta-action {
    grid-column: 2;
    grid-row: 2;
    align-items: flex-start;
  }

  .final-cta-button {
    min-width: 230px;
  }
}

/* Mobile / étroit : empilement + fond atténué pour la lisibilité */
@media (max-width: 800px) {
  .final-cta {
    min-height: 480px;
  }

  .final-cta-bg {
    background-position: 20% center;
    opacity: 0.28;
  }

  .final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(253, 253, 253, 0.72) 0%,
      rgba(250, 247, 242, 0.88) 55%,
      rgba(250, 247, 242, 0.94) 100%
    );
  }

  .final-cta-container {
    width: calc(100% - 36px);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
  }

  .final-cta-content {
    max-width: 100%;
  }

  .final-cta-content h2 {
    font-size: 32px;
  }

  .final-cta-content p {
    font-size: 13px;
  }

  .final-cta-action {
    width: 100%;
    align-items: flex-start;
    margin-top: 0;
  }

  .final-cta-button {
    width: 100%;
    min-width: 0;
  }

  .cta-decoration {
    display: none;
  }

  .footer-container {
    width: calc(100% - 36px);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

  .footer-copy {
    align-self: flex-start;
  }
}

/* =========================
   SECTIONS SOUS LE HERO
========================= */

.home-wrap {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
}

.home-section {
  margin-bottom: 4.5rem;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5667ff;
  margin-bottom: 0.65rem;
}

.section-h {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #071b42;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

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

.home-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  border: 1px solid rgba(7, 27, 66, 0.08);
  border-radius: 1.25rem;
  padding: 1.4rem 1.35rem;
  box-shadow: 0 8px 28px rgba(7, 27, 66, 0.05);
}

.home-card .card-icon {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5667ff;
  margin-bottom: 0.75rem;
}

.home-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #071b42;
}

.home-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #394968;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.stack-list span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f1f4ff;
  border: 1px solid rgba(86, 103, 255, 0.15);
  font-size: 0.78rem;
  font-weight: 600;
  color: #071b42;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.2rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(7, 27, 66, 0.08);
  background: #fff;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #5667ff;
  margin-bottom: 0.55rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.85rem;
  color: #394968;
  line-height: 1.45;
}

.cta-block {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #061d43 0%, #0f2d5c 55%, #1a3a6e 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(7, 27, 66, 0.18);
}

.cta-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.cta-block .primary-button {
  background: #fff;
  color: #061d43;
  box-shadow: none;
}

.cta-block .primary-button:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(7, 27, 66, 0.08);
  font-size: 0.8rem;
  color: #6e7b95;
}

.home-footer a {
  color: #071b42;
  text-decoration: none;
  font-weight: 600;
}

.home-footer a:hover {
  color: #5667ff;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
}

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

/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {
  .navbar {
    width: calc(100% - 50px);
  }

  .nav-links {
    gap: 25px;
  }

  .hero-content {
    width: calc(100% - 50px);
    grid-template-columns: minmax(280px, 30rem) 1fr;
  }

  .hero h1 {
    font-size: 55px;
  }

  .home-wrap {
    width: calc(100% - 50px);
  }

  .grid-3,
  .process {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {
  .hero {
    min-height: auto;
  }

  .navbar {
    width: calc(100% - 36px);
    height: 75px;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid rgba(7, 27, 66, 0.1);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(7, 27, 66, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-links a.active::after {
    display: none;
  }

  .logo-name {
    font-size: 20px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: calc(100% - 36px);
    display: block;
    min-height: auto;
    padding: 40px 0 55px;
  }

  .hero-media-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.82) 55%,
      rgba(255, 255, 255, 0.55) 100%
    );
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 70px);
    letter-spacing: -3px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .title-accent {
    display: none;
  }

  .home-wrap {
    width: calc(100% - 36px);
    padding-top: 3rem;
  }

  .grid-3,
  .process {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PAGES INTERNES
========================= */

.site-page.has-hero-nav .site-top {
  display: none;
}

.hero--solutions {
  min-height: 520px;
}

.hero--solutions .hero-content {
  min-height: 380px;
  grid-template-columns: minmax(280px, 36rem) 1fr;
}

.hero--solutions .hero-label {
  margin-bottom: 1.1rem;
  color: var(--ink);
}

.hero--solutions .hero-label span {
  background: var(--ink);
}

.hero--solutions .title-wrapper {
  display: block;
}

.hero--solutions h1 {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero--solutions .title-highlight {
  position: relative;
  display: inline-block;
  color: #5868ff;
}

.hero--solutions .title-accent {
  top: -0.15em;
  right: -2.4rem;
  width: 2.4rem;
  height: 2.6rem;
}

.hero--solutions .title-accent i {
  background: #5868ff;
}

.hero--solutions .hero-copy > p {
  margin-top: 1.35rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ==========================================
   DÉVELOPPEMENT DE SOLUTIONS
========================================== */

.solutions-dev {
  position: relative;
  padding: 0;
  overflow: visible;
  background: linear-gradient(110deg, #ffffff 0%, #ffffff 48%, #f2f9ff 100%);
}

.solutions-dev::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 15%;
  width: 70%;
  height: 150px;
  background: #eef7ff;
  border-radius: 50%;
  opacity: 0.65;
  pointer-events: none;
}

.solutions-dev-container {
  position: relative;
  z-index: 2;

  width: var(--container);
  margin: 0 auto;
  padding: 80px 0 70px;
}


.solutions-dev-content {
  position: relative;
  z-index: 5;

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.solutions-dev-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #0b376d;
  font-size: var(--label-size);
  font-weight: 700;
  letter-spacing: 1.2px;
}

.solutions-dev-label span {
  width: 26px;
  height: 1.5px;
  display: block;
  background: #0b376d;
  border-radius: 10px;
}

.solutions-dev-content h2 {
  max-width: 600px;
  color: #071b42;
  font-size: 35px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1.6px;
}

.solutions-dev-content h2 strong {
  color: #5868ff;
  font-weight: 800;
}

.solutions-dev-intro {
  max-width: 590px;
  margin-top: 14px;
  color: #59677f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.solutions-dev-grid {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.solution-dev-item {
  min-height: 94px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid #edf0f5;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 44, 85, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-dev-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 44, 85, 0.09);
}

.solution-dev-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.solution-dev-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-dev-icon.icon-blue {
  color: #0987e8;
  background: #e5f4ff;
}

.solution-dev-icon.icon-purple {
  color: #6657ff;
  background: #efebff;
}

.solution-dev-icon.icon-green {
  color: #08a58e;
  background: #def8f1;
}

.solution-dev-icon.icon-cyan {
  color: #078ac8;
  background: #e4f7fb;
}

.solution-dev-text {
  min-width: 0;
}

.solution-dev-text h3 {
  margin: 0 0 5px;
  color: #071b42;
  font-size: var(--card-title);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.solution-dev-text p br {
  display: none;
}

.solution-dev-text p {
  margin: 0;
  color: #68758c;
  font-size: var(--card-text);
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .solutions-dev-content h2 {
    font-size: 32px;
  }

}

@media (max-width: 900px) {
  .solutions-dev-container {
    width: var(--container-md);
    padding: 60px 0 40px;
  }

  .solutions-dev-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solutions-dev-grid {
    max-width: none;
  }
}

@media (max-width: 650px) {
  .solutions-dev-container {
    width: var(--container-sm);
    padding: 55px 0 28px;
  }

  .solutions-dev-content h2 {
    font-size: 31px;
  }


  .solutions-dev-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .solution-dev-item {
    min-height: 82px;
    padding: 13px 15px;
  }

}

.site-page .site-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 253, 253, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(7, 27, 66, 0.06);
}

.site-page .site-top .navbar {
  position: relative;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(224, 235, 255, 0.7), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
}

.page-hero--compact {
  padding-bottom: 1.75rem;
}

.page-hero-inner {
  width: var(--container);
  margin: 0 auto;
  max-width: 44rem;
}

.page-hero .section-label {
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
}

.page-hero h1 strong {
  color: var(--accent);
  font-weight: 800;
}

.page-hero > .page-hero-inner > p,
.page-hero-inner > p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 38rem;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.page-back svg {
  width: 1rem;
  height: 1rem;
}

.page-back:hover {
  color: var(--accent);
}

.page-section {
  padding-top: 1.5rem;
}

.page-cta-band {
  padding: 3rem 0 4rem;
}

.page-cta-band-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f4f7ff 0%, #eef3ff 55%, #fbf7f3 100%);
  border: 1px solid rgba(7, 27, 66, 0.06);
  border-radius: 1.25rem;
}

.page-cta-band-inner h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.page-cta-band-inner p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 32rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}

.project-tags li {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #f1f4f9;
  color: var(--ink-soft);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-tags--hero {
  margin-top: 1.25rem;
}

.project-detail-container {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.project-detail-media {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #eef2f7;
  aspect-ratio: 16 / 10;
}

.project-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-media .project-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.project-detail-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-detail-copy .primary-button {
  margin-top: 1.25rem;
}

@media (max-width: 1100px) {
  .project-detail-container {
    grid-template-columns: 1fr;
  }

  .page-cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  .page-hero {
    padding: 2.5rem 0 1.75rem;
  }

  .page-hero-inner,
  .project-detail-container,
  .page-cta-band-inner {
    width: var(--container-sm);
  }

  .page-cta-band-inner {
    padding: 1.5rem 1.25rem;
  }

  .footer-links {
    justify-content: center;
  }
}


/* ==========================================
   PROCESSUS DE DÉVELOPPEMENT
========================================== */

.development-section {
    position: relative;
    width: 100%;
    padding: 70px 0 80px;
    background: linear-gradient(
        110deg,
        #ffffff 0%,
        #ffffff 65%,
        #fafcff 100%
    );
}

.development-container {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}


/* ==========================================
   TITRES
========================================== */

.development-label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: #5868ff;
    font-size: var(--label-size);
    font-weight: 700;
    letter-spacing: 1.2px;
}

.development-label span {
    display: block;
    width: 25px;
    height: 1.5px;
    background: #5868ff;
    border-radius: 10px;
}

.development-heading h2 {
    margin: 0;
    color: #071b42;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.development-heading h2 strong {
    color: #5868ff;
    font-weight: 800;
}


/* ==========================================
   PARCOURS HORIZONTAL
========================================== */

.development-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;

    margin-top: 35px;
}

.development-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}


/* ==========================================
   ICÔNES DES ÉTAPES
========================================== */

.development-step-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;

    height: 65px;
    margin-bottom: 12px;
}

.development-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.development-circle:nth-child(2) {
    width: 45px;
    height: 45px;
}

.development-circle svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.8;
}

.development-circle:nth-child(2) svg {
    width: 21px;
    height: 21px;
}

.development-number {
    font-size: 19px;
    font-weight: 800;
}


/* BLEU */

.dev-blue {
    color: #0788e9;
    background: #e4f3ff;
}

.dev-blue-light {
    color: #0788e9;
    background: #f0f8ff;
}


/* VIOLET */

.dev-purple {
    color: #6657ff;
    background: #ece8ff;
}

.dev-purple-light {
    color: #6657ff;
    background: #f5f2ff;
}


/* ORANGE */

.dev-orange {
    color: #ee7a35;
    background: #ffeadc;
}

.dev-orange-light {
    color: #ee7a35;
    background: #fff5ec;
}


/* VERT */

.dev-green {
    color: #05a88f;
    background: #d9f8ef;
}

.dev-green-light {
    color: #05a88f;
    background: #effcf8;
}


/* ==========================================
   TEXTES DES ÉTAPES
========================================== */

.development-step h3 {
    margin: 0 0 8px;

    color: #071b42;
    font-size: var(--card-title);
    font-weight: 750;
    line-height: 1.25;
}

.development-step p {
    margin: 0;

    color: #68758c;
    font-size: var(--card-text);
    line-height: 1.5;
}


/* ==========================================
   FLÈCHES ENTRE LES ÉTAPES
========================================== */

.development-arrow {
    position: absolute;
    top: 22px;
    right: -26px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #27b4f3;
}

.development-arrow svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.5;
}


/* ==========================================
   ANIMATION
========================================== */

.development-step:hover .development-circle {
    transform: translateY(-3px);
}

.development-step:hover .development-circle:first-child {
    box-shadow: 0 8px 22px rgba(40, 70, 130, 0.10);
}


/* ==========================================
   TABLETTE
========================================== */

@media (max-width: 1000px) {

    .development-container {
        width: calc(100% - 50px);
    }

    .development-steps {
        gap: 20px;
    }

    .development-arrow {
        right: -19px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .development-section {
        padding: 55px 0 65px;
    }

    .development-container {
        width: calc(100% - 36px);
    }

    .development-heading h2 {
        font-size: 28px;
    }

    /* ÉTAPES VERTICALES */

    .development-steps {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 35px;
    }

    .development-step {
        align-items: flex-start;
        text-align: left;
        min-height: 112px;
        padding: 0 0 28px 110px;
    }

    .development-step-icons {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    .development-step h3 {
        margin-top: 10px;
    }

    .development-step p br {
        display: none;
    }

    /* LIGNE DE PROGRESSION */

    .development-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 28px;
        top: 65px;
        width: 2px;
        height: 35px;
        background: #e7ecf5;
    }

    .development-arrow {
        display: none;
    }

}


/* ==========================================
   PAGE PROJETS — BANDEAUX
========================================== */

.project-band {
    --band-bg: #f4f7ff;
    --band-accent: #061d43;
    --band-accent-shadow: rgba(7, 27, 66, 0.2);
    --band-title: var(--ink);
    --band-subtitle: var(--ink);
    --band-text: var(--muted);

    position: relative;
    overflow: hidden;
    background: var(--band-bg);
}

.project-band--oqalyne {
    --band-bg: #f4f7ff;
}

.project-band--halal {
    --band-bg: #eef8f2;
    --band-accent: #0e7a4b;
    --band-accent-shadow: rgba(14, 122, 75, 0.25);
}

.project-band--ji {
    --band-bg: #f2f1ff;
    --band-accent: #5546e8;
    --band-accent-shadow: rgba(85, 70, 232, 0.25);
}

.project-band--redcreek {
    --band-bg: #0e141c;
    --band-accent: #e0393e;
    --band-accent-shadow: rgba(224, 57, 62, 0.3);
    --band-title: #ffffff;
    --band-subtitle: #d9dee6;
    --band-text: #b8c0cc;
}

/* Image côté opposé au texte, fondue dans la couleur du bandeau */
.project-band-media {
    position: absolute;
    inset: 0 0 0 40%;
    z-index: 0;
}

.project-band--text-right .project-band-media {
    inset: 0 40% 0 0;
}

.project-band-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: right center;
}

.project-band--text-right .project-band-media img {
    object-position: left center;
}

.project-band-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--band-bg) 0%,
        color-mix(in srgb, var(--band-bg) 60%, transparent) 12%,
        transparent 30%
    );
}

.project-band--text-right .project-band-media::after {
    background: linear-gradient(
        270deg,
        var(--band-bg) 0%,
        color-mix(in srgb, var(--band-bg) 60%, transparent) 12%,
        transparent 30%
    );
}

.project-band-inner {
    position: relative;
    z-index: 1;
    width: var(--container);
    min-height: 460px;
    margin: 0 auto;
    padding: 64px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-band-content {
    max-width: 440px;
}

.project-band--text-right .project-band-content {
    margin-left: auto;
}

/* En-tête de page */
.projects-hero {
    --band-bg: #ffffff;

    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 72px 0;

    display: flex;
    align-items: center;

    background: var(--band-bg);
}

.projects-page-header {
    position: relative;
    z-index: 1;
    width: var(--container);
    margin: 0 auto;
}

.projects-page-header > * {
    max-width: 560px;
}

.projects-page-header h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(38px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.projects-page-header h1 strong {
    display: block;
    color: var(--accent);
    font-weight: 800;
}

.projects-page-header p {
    max-width: 440px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contenu d'un projet */
.project-band-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;

    color: var(--band-title);
    font-size: var(--label-size);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-band-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;

    font-size: 0.8rem;
    letter-spacing: 0;
    border: 1.5px solid currentColor;
    border-radius: 7px;
}

.project-band-title {
    margin: 0;
    color: var(--band-title);
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.project-band-subtitle {
    margin: 14px 0 0;
    color: var(--band-subtitle);
    font-size: 1.05rem;
    font-weight: 700;
}

.project-band-lead {
    margin: 6px 0 0;
    color: var(--band-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-band-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
    padding: 15px 26px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    background: var(--band-accent);
    border-radius: 999px;
    box-shadow: 0 8px 25px var(--band-accent-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-band-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--band-accent-shadow);
}

.project-band-button svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

/* Sans image : fond teinté pour garder le rythme des bandeaux */
.project-band--no-image {
    background:
        radial-gradient(circle at 80% 40%, color-mix(in srgb, var(--band-accent) 12%, transparent), transparent 45%),
        var(--band-bg);
}

.project-band--no-image.project-band--text-right {
    background:
        radial-gradient(circle at 20% 40%, color-mix(in srgb, var(--band-accent) 12%, transparent), transparent 45%),
        var(--band-bg);
}


/* ==========================================
   PAGE PROJETS — AUTRES PROJETS
========================================== */

.other-projects {
    padding: 70px 0 80px;
    background: #ffffff;
}

.other-projects-container {
    width: var(--container);
    margin: 0 auto;
}

.other-projects-header h2 {
    margin: 0;
    color: var(--ink);
    font-size: 31px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.other-project-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(20, 44, 85, 0.05);
}

.other-project-image {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5ff, #f7fbff);
}

.other-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-project-content {
    padding: 16px 18px 18px;
}

.other-project-content h3 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: var(--card-title);
    font-weight: 700;
}

.other-project-content p {
    margin: 0;
    color: var(--muted);
    font-size: var(--card-text);
    line-height: 1.5;
}


/* ==========================================
   PAGE PROJETS — TABLETTE / MOBILE
========================================== */

@media (max-width: 900px) {
    .project-band {
        display: flex;
        flex-direction: column;
    }

    /* L'image passe sous le texte, en entier */
    .project-band-media,
    .project-band--text-right .project-band-media {
        position: relative;
        inset: auto;
        order: 2;
        aspect-ratio: 16 / 9;
    }

    .project-band-media::after {
        display: none;
    }

    .project-band-media img,
    .project-band--text-right .project-band-media img {
        object-position: center;
    }

    .project-band-inner {
        min-height: 0;
        padding: 48px 0 32px;
    }

    .project-band--text-right .project-band-content {
        margin-left: 0;
    }

    .projects-hero {
        min-height: 0;
        padding: 48px 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .projects-page-header {
        width: var(--container-md);
    }

    .other-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .project-band-inner,
    .projects-page-header,
    .other-projects-container {
        width: var(--container-sm);
    }

    .other-projects {
        padding: 55px 0 60px;
    }

    .other-projects-header h2 {
        font-size: 28px;
    }

    .other-projects-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   APPROCHE SUR MESURE
========================================== */

.tailored-section {
    position: relative;
    width: 100%;
    padding: 65px 0 75px;
    overflow: hidden;

    background: linear-gradient(
        105deg,
        #ffffff 0%,
        #ffffff 55%,
        #f9fcff 100%
    );
}

/* Décoration légère en bas */

.tailored-section::after {
    content: "";
    position: absolute;
    left: -5%;
    bottom: -110px;
    width: 55%;
    height: 150px;
    border-radius: 50%;
    background: #f1f8ff;
    pointer-events: none;
}


/* ==========================================
   CONTAINER
========================================== */

.tailored-container {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;
    gap: 75px;
}


/* ==========================================
   PARTIE GAUCHE
========================================== */

.tailored-intro {
    max-width: 500px;
}

.tailored-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;

    color: #5868ff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.tailored-label span {
    display: block;
    width: 25px;
    height: 1.5px;
    background: #5868ff;
    border-radius: 10px;
}


/* TITRE */

.tailored-intro h2 {
    margin: 0;
    color: #071b42;

    font-size: 35px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.tailored-intro h2 strong {
    color: #5868ff;
    font-weight: 800;
}


/* DESCRIPTION */

.tailored-intro > p {
    max-width: 480px;
    margin: 18px 0 0;

    color: #58677f;
    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================
   GRILLE DROITE
========================================== */

.tailored-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 35px;
    row-gap: 30px;
}


/* ==========================================
   ÉLÉMENTS
========================================== */

.tailored-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}


/* ==========================================
   ICÔNES
========================================== */

.tailored-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tailored-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.7;
}


/* BLEU */

.tailored-blue {
    color: #0788e9;
    background: #e3f3ff;
}

/* VERT */

.tailored-green {
    color: #08a68f;
    background: #ddf9f2;
}

/* VIOLET */

.tailored-purple {
    color: #6157ff;
    background: #ebe8ff;
}

/* ORANGE */

.tailored-orange {
    color: #ff7b3e;
    background: #fff0e5;
}


/* ==========================================
   TEXTES
========================================== */

.tailored-text {
    min-width: 0;
    padding-top: 4px;
}

.tailored-text h3 {
    margin: 0;

    color: #071b42;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.2px;
}

.tailored-text p {
    margin: 7px 0 0;

    color: #68758c;
    font-size: 11px;
    line-height: 1.45;
}


/* ==========================================
   INTERACTION
========================================== */

.tailored-item:hover .tailored-icon {
    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(30, 52, 100, 0.09);
}


/* ==========================================
   TABLETTE
========================================== */

@media (max-width: 950px) {

    .tailored-container {
        width: calc(100% - 50px);
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tailored-intro {
        max-width: 600px;
    }

    .tailored-grid {
        max-width: 750px;
        column-gap: 35px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .tailored-section {
        padding: 55px 0 65px;
    }

    .tailored-container {
        width: calc(100% - 36px);
        gap: 35px;
    }

    .tailored-intro h2 {
        font-size: 30px;
    }

    .tailored-intro > p {
        font-size: 13px;
        line-height: 1.6;
    }

    .tailored-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .tailored-item {
        gap: 16px;
    }

    .tailored-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .tailored-icon svg {
        width: 23px;
        height: 23px;
    }

    .tailored-text h3 {
        font-size: 14px;
    }

    .tailored-text p {
        font-size: 12px;
    }
}


/* ==========================================
   PAGE À PROPOS
========================================== */

.ab-container {
    width: var(--container);
    margin: 0 auto;
}

.ab-section {
    padding: 56px 0;
    background: #ffffff;
}

.ab-section--tinted {
    background: linear-gradient(180deg, #f5f8ff 0%, #f8fbff 100%);
}

/* Titres de section */
.ab-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.ab-heading h2 strong {
    color: var(--accent);
    font-weight: 800;
}

.ab-heading p {
    max-width: 470px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Notes manuscrites */
.ab-note {
    position: relative;
    margin: 0;
    color: var(--ink);
    font-family: "Caveat", cursive;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    transform: rotate(-6deg);
}

.ab-note::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 10px;
    background: var(--ink);
    border-radius: 3px;
    transform: rotate(-8deg);
}

/* Icônes rondes */
.ab-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ab-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.ab-icon--blue { color: #1d6fe0; background: #e6f1ff; }
.ab-icon--purple { color: #6657ff; background: #eeebff; }
.ab-icon--orange { color: #ee7a35; background: #ffeee2; }
.ab-icon--green { color: #08a58e; background: #dff8f1; }


/* ==========================================
   À PROPOS — HERO
========================================== */

.ab-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 90%, #eef5ff 0, transparent 28%),
        #ffffff;
}

.ab-hero-media {
    position: absolute;
    inset: 0 0 0 46%;
}

.ab-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.ab-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 14%, transparent 34%);
}

.ab-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 500px;
    padding: 64px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ab-hero-copy {
    max-width: 640px;
}

.ab-hero-copy h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.ab-hero-copy h1 strong {
    display: block;
    margin-top: 6px;
    color: var(--accent);
    font-weight: 800;
}

.ab-hero-copy p {
    max-width: 440px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ab-note--hero {
    align-self: flex-start;
    margin-top: 10px;
}


/* ==========================================
   À PROPOS — VISION
========================================== */

.ab-vision {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
    padding: 40px 44px;
    background: linear-gradient(135deg, #f4f8ff 0%, #f6faff 100%);
    border: 1px solid #e9eff9;
    border-radius: 24px;
}

.ab-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-flow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Flèche entre les étapes */
.ab-flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 20px;
    right: -20px;
    color: #27a4f3;
    font-size: 20px;
    line-height: 1;
}

.ab-flow-step h3 {
    margin: 14px 0 6px;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ab-flow-step p {
    margin: 0;
    color: var(--muted);
    font-size: var(--card-text);
    line-height: 1.45;
}


/* ==========================================
   À PROPOS — PARCOURS & CURIOSITÉ
========================================== */

.ab-split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
}

.ab-collage-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ab-collage {
    flex: 1 1 auto;
    display: grid;
    gap: 10px;
    /* Marge pour l'inclinaison des tuiles */
    padding: 0 10px;
}

.ab-collage--parcours {
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: 130px 110px;
}

.ab-collage--parcours .ab-tile:first-child {
    grid-row: span 2;
}

.ab-collage--parcours .ab-tile:last-child {
    grid-column: span 2;
}

.ab-collage--curieux {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 230px;
}

.ab-tile {
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #8aa0c8;
    background: linear-gradient(135deg, #eaf1ff 0%, #f4f8ff 100%);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 44, 85, 0.08);
    transform: skewX(-4deg);
}

.ab-tile img {
    width: 115%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: skewX(4deg);
}

.ab-tile svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5;
    transform: skewX(4deg);
}

.ab-note--parcours {
    flex: 0 0 auto;
    font-size: 21px;
}

/* Étapes du parcours */
.ab-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(20, 44, 85, 0.05);
}

.ab-timeline-item {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 26px 26px 28px;
}

.ab-timeline-item + .ab-timeline-item {
    border-left: 1px solid #edf0f5;
}

.ab-timeline-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 14px;
    color: #27a4f3;
    font-size: 16px;
}

.ab-timeline-index {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50%;
}

.ab-timeline-item h3 {
    margin: 2px 0 10px;
    color: var(--ink);
    font-size: var(--card-title);
    font-weight: 700;
    line-height: 1.3;
}

.ab-timeline-item p {
    margin: 0;
    padding-right: 14px;
    color: var(--muted);
    font-size: var(--card-text);
    line-height: 1.55;
}

.ab-heading p + p {
    margin-top: 12px;
}


/* ==========================================
   À PROPOS — PRINCIPES
========================================== */

.ab-principles {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) auto;
    gap: 40px;
    align-items: center;
}

.ab-principles-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ab-principle {
    padding: 0 26px;
}

.ab-principle + .ab-principle {
    border-left: 1px solid #e3e9f3;
}

.ab-principle h3 {
    margin: 14px 0 8px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.ab-principle p {
    margin: 0;
    color: var(--muted);
    font-size: var(--card-text);
    line-height: 1.55;
}

.ab-note--principles {
    font-size: 22px;
}


/* ==========================================
   À PROPOS — TABLETTE / MOBILE
========================================== */

@media (max-width: 1100px) {
    .ab-principles {
        grid-template-columns: 1fr;
    }

    .ab-note--principles {
        display: none;
    }
}

@media (max-width: 900px) {
    .ab-container {
        width: var(--container-md);
    }

    .ab-hero {
        display: flex;
        flex-direction: column;
    }

    .ab-hero-media {
        position: relative;
        inset: auto;
        order: 2;
        aspect-ratio: 4 / 3;
    }

    .ab-hero-media::after {
        display: none;
    }

    .ab-hero-inner {
        min-height: 0;
        padding: 48px 0 32px;
    }

    .ab-vision,
    .ab-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ab-vision {
        padding: 30px 24px;
    }

    .ab-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .ab-flow-step::after {
        display: none;
    }

    .ab-timeline {
        grid-template-columns: 1fr;
    }

    .ab-timeline-item + .ab-timeline-item {
        border-left: 0;
        border-top: 1px solid #edf0f5;
    }

    .ab-timeline-item::after {
        display: none;
    }

    .ab-principles-list {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ab-principle,
    .ab-principle + .ab-principle {
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 650px) {
    .ab-container {
        width: var(--container-sm);
    }

    .ab-section {
        padding: 44px 0;
    }

    .ab-heading h2 {
        font-size: 28px;
    }

    .ab-note--hero,
    .ab-note--parcours {
        display: none;
    }

    .ab-collage--parcours {
        grid-template-rows: 100px 90px;
    }

    .ab-collage--curieux {
        height: 160px;
    }
}
