:root {
  --blue: #3a6dde;
  --green: #79c662;
  --light-blue: #86c7ed;
  --light-grey: #eef1f8;
  --text-dark: #1f2933;
  --text-muted: #6b7280;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--light-grey);
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-brand img {
  height: 38px;
  width: auto;
}

.nav-brand span {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  font-size: 1rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}
.nav-links .nav-cta{
  color: #eef1f8;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus,
.nav-links .nav-cta.active {
  color: #86c7ed;
}
.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: #eef1f8;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-cta span {
  font-size: 1.1rem;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* Burger */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #1f2933;
  border-radius: 999px;
}

/* Hero */

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(134, 199, 237, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 1.1rem 0 0.75rem;
}

.hero-title span {
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--text-dark);
}

/* Hero visual */

.hero-card-stack {
  position: relative;
  width: 240px;
  height: 260px;
  margin: 0 auto;
}

.hero-card {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.hero-card.blue {
  background: var(--blue);
  transform: translate(26px, -16px) rotate(12deg);
}

.hero-card.green {
  background: var(--green);
  transform: translate(8px, 4px) rotate(9deg);
}

.hero-card.light {
  background: var(--light-blue);
  transform: translate(-24px, 22px) rotate(6deg);
}

/* .hero-card::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
} */
.hero-card.blue.hero-card-main {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;        /* pour que le logo reste dans la carte */
}

.hero-logo-img {
  width: 100%;              /* ajuste la taille du logo */
  max-width: 300px;
  display: block;
  border-radius: 24px;   
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 700;
}

.section-title {
  font-size: 1.6rem;
  margin-top: 0.4rem;
}

.section-description {
  margin-top: 0.5rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* Cards & grids */

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

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.18);
}

.card-soft {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 109, 222, 0.1);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.card-icon.green {
  background: rgba(121, 198, 98, 0.12);
}

.card-icon.blue-light {
  background: rgba(134, 199, 237, 0.15);
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Lists */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

/* Two columns */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Timeline / steps */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

/* Table-like */

.muted-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 0;
}

.muted-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* CTA section */

.cta-section {
  padding: 3.5rem 0 4rem;
}

.cta-box {
  background: radial-gradient(circle at top left, var(--light-blue), var(--blue));
  border-radius: 26px;
  padding: 2.2rem 2rem;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
}

.cta-box h2 {
  margin: 0 0 0.3rem;
}

.cta-box p {
  margin: 0;
  max-width: 26rem;
}

/* Forms */

.form-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

textarea {
  min-height: 120px;
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  padding: 1.3rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

/* Pages headers */

.page-hero {
  padding: 3rem 0 2rem;
}

.page-title {
  font-size: 1.9rem;
  margin: 0.4rem 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .two-columns,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset: 72px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.2rem;
    gap: 0.9rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    margin-top: 0.3rem;
  }

  .nav-toggle {
    display: block;
  }
}
