/* HERO */
.hero {
  position: relative;
  background: linear-gradient(180deg, #C7E3FF 0%, #81BCE8 100%);
  padding: 40px 0 50px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  max-width: 1402px;
  padding: 0 96px;
}

.hero-content {
  position: relative;
}

.hero-brand {
  position: relative;
  z-index: 2;
  font-family: 'Arvo', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 60px;
  color: #1A4870;
  margin-bottom: 8px;
}

.hero-heading {
  font-family: 'Arvo', serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 46px;
  letter-spacing: -0.5px;
  color: #1A4870;
  margin-bottom: 20px;
}

.hero-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.5px;
  color: #444444;
  margin-bottom: 32px;
  max-width: 610px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 276px;
  height: 53px;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  text-align: center;
  white-space: nowrap;
}

.hero-buttons .btn-primary {
  background: #2A5C44;
  color: #FFF;
  transition: background-color .2s ease, color .2s ease;
}

.hero-buttons .btn-primary:hover {
  background: #D4E2A1;
  color: #2A5C44;
}

.hero-buttons .btn-outline {
  background: #FFF;
  border: 2px solid #2A5C44;
  color: #2A5C44;
  font-weight: 600;
  box-sizing: border-box;
  transition: background-color .2s ease, color .2s ease;
}

.hero-buttons .btn-outline:hover {
  background: #2A5C44;
  color: #FFF;
}

.hero-image img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* Cartes (badges) */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.hero-card {
  display: flex;
  width: 200px;
  height: 81px;
  padding: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  background: #F7F7F5;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #2A3A2E;
}

.hero-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
}

/* Formes décoratives (design fixe, non éditable) */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-shape--1 {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, .25);
  top: -40px;
  left: -40px;
}

.hero-bottom-svg {
  position: absolute;
  right: -100px;
  bottom: -120px;
  z-index: -1;
  pointer-events: none;
  height: auto;
}

@media (max-width: 1200px) {
  .hero-grid {
    padding: 0 48px;
  }
}

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

  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-card {
    padding: 8px 6px;
    font-size: 11px;
    line-height: 14px;
  }

  .hero-card .icon {
    height: 20px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px 0 32px;
  }

  .hero-grid {
    padding: 0 20px;
    gap: 24px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-brand {
    font-size: 22px;
    line-height: 26px;
    justify-content: center;
    margin-bottom: 4px;
  }

  .hero-heading {
    font-size: 22px;
    line-height: 26px;
    letter-spacing: 0;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 20px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    gap: 6px;
  }

  .hero-card {
    width: 100%;
    height: auto;
    padding: 8px 4px;
    gap: 3px;
    font-size: 9.5px;
    line-height: 12px;
  }

  .hero-card .icon {
    height: 16px;
  }

  .hero-card .icon svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 360px) {
  .hero-card {
    font-size: 8.5px;
    padding: 6px 3px;
  }
}