:root {
  --ca-blue: #0d6efd;
  --ca-blue-dark: #0a58ca;
  --ca-bg: #f5f7fa;
  --ca-border: #dee2e6;
  --ca-text-soft: #6c757d;
  --ca-header-height: 140px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ca-bg);
  color: #212529;
}

/* ===== Header ===== */

.ca-header {
  min-height: var(--ca-header-height);
  background: #fff;
  border-bottom: 1px solid var(--ca-border);
}

.ca-header-inner {
  min-height: var(--ca-header-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ca-brand-logo {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 90px;
  flex: 0 0 auto;
}

.ca-header-identity {
  flex: 0 1 auto;
  padding-left: 1.5rem;
  border-left: 1px solid #dddddd;
}

.ca-header-title {
  color: #161616;
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.ca-header-tagline {
  margin-top: .35rem;
  font-size: 1rem;
  line-height: 1.4;
}

.ca-header-points {
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: .45rem .75rem;
}

.ca-header-point {
  display: flex;
  align-items: center;
  padding: .55rem .75rem;
  border: 1px solid var(--ca-border);
  border-radius: .6rem;
  background: #fff;
  color: #212529;
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition:
    border-color .2s ease,
    color .2s ease,
    background-color .2s ease;
}

.ca-header-point i {
  margin-right: .4rem;
  color: var(--ca-blue);
}

.ca-header-point:hover,
.ca-header-point:focus-visible {
  color: var(--ca-blue);
  border-color: var(--ca-blue);
  background: rgba(13, 110, 253, .04);
}

.ca-header-point-shs {
  grid-column: 1 / -1;
  white-space: normal;
}

/* ===== Navigation ===== */

.navbar {
  background: #fff;
  border-bottom: 1px solid var(--ca-border);
  box-shadow: 0 .15rem .35rem rgba(0, 0, 0, .025);
}

.navbar .nav-link {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.navbar .nav-link i {
  margin-right: .25rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--ca-blue);
}

/* ===== Hero ===== */

.hero {
  padding: 3rem 0 1.5rem;
}

.hero-card {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(13, 110, 253, .12),
      transparent 34%
    ),
    #fff;
  border: 1px solid var(--ca-border);
  border-radius: 1rem;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .05);
}

.hero-lead {
  max-width: 850px;
  color: #495057;
  font-size: 1.2rem;
}

/* ===== Titres ===== */

main h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #161616;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

main h1 i {
  font-size: .75em;
  vertical-align: .05em;
}

main h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #161616;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

main h2 i {
  font-size: .85em;
  vertical-align: .03em;
}

main h3 {
  margin-top: 0;
  margin-bottom: .75rem;
  color: #161616;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

main h3 i {
  font-size: .85em;
  vertical-align: .03em;
}

.section-title {
  margin-bottom: 1.5rem;
}

/* ===== Cartes ===== */

.feature-card,
.content-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ca-border);
  border-radius: .8rem;
  box-shadow: 0 .25rem .85rem rgba(0, 0, 0, .035);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: .7rem;
  background: rgba(13, 110, 253, .08);
  color: var(--ca-blue);
  font-size: 1.35rem;
}

.audience-card {
  border-left: 4px solid var(--ca-blue);
}

.tool-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ca-border);
  border-radius: .9rem;
  box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .04);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, .08);
  color: var(--ca-blue-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ===== Démarche ===== */

.roadmap-step {
  position: relative;
  padding-left: 4rem;
}

.roadmap-step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ca-blue);
  color: #fff;
  font-weight: 700;
}

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

.cta-card {
  background:
    linear-gradient(
      135deg,
      rgba(13, 110, 253, .97),
      rgba(10, 88, 202, .97)
    );
  color: #fff;
  border-radius: 1rem;
  box-shadow: 0 .75rem 2rem rgba(13, 110, 253, .20);
}

.cta-card .btn-light {
  color: var(--ca-blue-dark);
  font-weight: 600;
}

/* ===== Footer ===== */

.ca-footer {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid var(--ca-border);
}

.ca-footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ===== Responsive ===== */

@media (max-width: 991.98px) {
  .ca-header {
    min-height: auto;
  }

  .ca-header-inner {
    min-height: auto;
    padding: 1.25rem 0;
    flex-wrap: wrap;
  }

  .ca-header-identity {
    flex: 1 1 0;
    min-width: 0;
  }

  .ca-header-points {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .ca-header-inner {
    gap: .85rem;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }

  .ca-brand-logo {
    max-width: 90px;
    max-height: 70px;
  }

  .ca-header-identity {
    padding-left: 1rem;
  }

  .ca-header-title {
    font-size: 1.2rem;
  }

  .ca-header-tagline {
    font-size: .9rem;
    line-height: 1.3;
  }

  .ca-header-points {
    grid-template-columns: 1fr;
  }

  .ca-header-point-shs {
    grid-column: auto;
  }

  .hero {
    padding: 2rem 0 1rem;
  }

  .section-title {
    margin-bottom: 1.25rem;
  }

  .ca-footer {
    margin-top: 1.5rem;
  }

  .ca-footer-inner {
    padding: 1.25rem 0;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  main h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  main h2 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  main h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }
}