/* ============================================================
   services-v2.css — Styles de la page Services V2
   Toutes les classes sont préfixées sv2__ pour ne pas
   interférer avec main.css ni les autres templates.
   ============================================================ */

/* ── Label orange au-dessus des titres ── */
.sv2-label {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: #F5A623;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-align: center;
}

/* ── Titre de section ── */
.sv2-title {
  font-family: "Gelasio", serif;
  font-size: calc(1.5rem + 0.1vw);
  font-weight: 400;
  color: #00122D;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}

/* ── Trait orange ── */
.sv2-trait {
  display: block;
  width: 44px;
  height: 4px;
  background: #F5A623;
  margin: 12px auto 20px;
}

/* ── Intro ── */
.sv2-intro {
  font-size: calc(0.875rem + 0.1vw);
  color: #666;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ══════════════════════════════════════
   SECTION GRILLE
══════════════════════════════════════ */
.sv2-grid-section {
  padding: 7vh 5%;
  background: #F4F6F9;
}

/* ── Grille 2 colonnes ── */
.sv2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ── Carte ── */
.sv2-card {
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .2s;
}

.sv2-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .13);
  transform: translateY(-4px);
}

/* ── Image de la carte ── */
.sv2-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.sv2-card__img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.sv2-card:hover .sv2-card__img-wrap img {
  transform: scale(1.05);
}

/* ── Badge ── */
.sv2-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #F5A623;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Corps de la carte ── */
.sv2-card__body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sv2-card__body h3 {
  font-family: "Gelasio", serif;
  font-weight: 400;
  font-size: calc(1.1rem + 0.1vw);
  color: #103D82;
  margin-bottom: 8px;
}

.sv2-card__body p {
  font-size: calc(0.875rem + 0.1vw);
  color: #666;
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.7;
}

/* ── Lien de la carte ── */
.sv2-card__link {
  font-family: "Open Sans", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: #F5A623;
  text-transform: uppercase;
  letter-spacing: .8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.sv2-card__link::after {
  content: "→";
}

.sv2-card:hover .sv2-card__link {
  gap: 12px;
}

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.sv2-stats {
  background: #00122D;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  padding: 0;
}

/* Étend le fond sur toute la largeur */
.sv2-stats::after {
  content: "";
  background-color: #00122D;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
}

.sv2-stat {
  text-align: center;
  padding: 64px 20px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  z-index: 1;
}

.sv2-stat:last-child {
  border-right: none;
}

.sv2-stat__num {
  font-family: "Gelasio", serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #F5A623;
  line-height: 1;
  margin-bottom: 6px;
}

.sv2-stat__label {
  font-size: calc(0.875rem + 0.1vw);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.sv2-stat__desc {
  font-size: calc(0.8rem + 0.1vw);
  color: rgba(255, 255, 255, .5);
}

/* ══════════════════════════════════════
   CTA FINAL
══════════════════════════════════════ */
.sv2-cta {
  background: #F5A623;
  padding: 6vh 5%;
  text-align: center;
  position: relative;
}

.sv2-cta::after {
  content: "";
  background-color: #F5A623;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
}

.sv2-cta > * {
  position: relative;
  z-index: 1;
}

.sv2-cta h2 {
  font-family: "Gelasio", serif;
  font-size: calc(1.4rem + 0.1vw);
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}

.sv2-cta p {
  color: rgba(255, 255, 255, .85);
  font-size: calc(0.9rem + 0.1vw);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.sv2-cta__btn {
    background: #fff !important;
    color: #103D82 !important;
    width: auto !important;
    display: inline-block !important;
}

.sv2-cta__btn:hover {
  background: #f0f0f0 !important;
}

.sv2-cta__tels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}

.sv2-cta__tels a {
  color: #fff;
  font-size: calc(0.95rem + 0.1vw);
  font-weight: 600;
  text-decoration: none;
  opacity: .9;
}

.sv2-cta__tels a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 790px) {
  .sv2-grid {
    grid-template-columns: 1fr;
  }

  .sv2-stats {
    grid-template-columns: 1fr;
  }

  .sv2-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .sv2-stat:last-child {
    border-bottom: none;
  }

  .sv2-cta__tels {
    flex-direction: column;
    gap: 10px;
  }
}
