:root {
  --blue: #042149;
  --orange: #ff743e;
  --ink: #0f172a;
  --light-bg: #f9f9f9;
}

/* ========== HERO ========== */
.prod-hero {
  background: var(--blue);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.prod-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 48px;
  line-height: 1.3;
}
.prod-hero h1 span {
  color: var(--orange);
}

/* ---- Cartes du Hero ---- */
.prod-grid {
  display: grid;
  grid-template-areas:
    "emprunteur emprunteur animaux"
    "confiance sante auto";
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prod-card {
  background: #fff;
  color: var(--blue);
  border-radius: 16px;
  padding: 26px 24px;
  text-align: left;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.prod-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--blue);
}
.prod-card p {
  margin: 0;
  color: #29324a;
}
.prod-card strong {
  color: var(--orange);
}

.emprunteur { grid-area: emprunteur; }
.animaux { grid-area: animaux; }
.sante { grid-area: sante; }
.auto { grid-area: auto; }
.confiance { grid-area: confiance; }

.prod-card.highlight {
  background: linear-gradient(180deg, var(--orange), #ff9c78);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prod-card.highlight h3 {
  color: #fff;
  margin-bottom: 10px;
}
.prod-card.highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.prod-card.highlight li {
  margin: 6px 0;
}

/* ---- Responsive Hero ---- */
@media (max-width: 980px) {
  .prod-grid {
    grid-template-areas:
      "emprunteur emprunteur"
      "animaux sante"
      "confiance confiance"
      "auto auto";
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .prod-grid {
    grid-template-areas:
      "emprunteur"
      "animaux"
      "sante"
      "auto"
      "confiance";
    grid-template-columns: 1fr;
  }
}

/* ========== SECTIONS PRODUITS ========== */
.produit-section {
  padding: 90px 0;
}
.produit-section.alt {
  background: var(--blue);
  color: #fff;
}

/* Grille alternée : texte / image */
.produit-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.produit-section.alt .produit-grid {
  grid-template-columns: .95fr 1.05fr;
}

/* Image */
.produit-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

/* Texte */
.produit-texte h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--blue);
  margin: 0 0 14px;
}
.produit-section.alt .produit-texte h2 {
  color: #fff;
}

.produit-texte p {
  color: #29324a;
  line-height: 1.65;
  margin-bottom: 14px;
}
.produit-section.alt .produit-texte p {
  color: #eaf2ff;
}

.produit-texte ul {
  margin: 14px 0 20px;
  padding-left: 1.2rem;
  color: #29324a;
}
.produit-texte ul li {
  margin-bottom: 6px;
}
.produit-section.alt .produit-texte ul {
  color: #eaf2ff;
}

/* CTA centré */
.produit-texte .cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 16px;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}
.produit-texte .cta:hover {
  background: #e65f2a;
  transform: translateY(-2px);
}

/* Centrage */
.produit-texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.produit-texte .cta {
  align-self: center;
}

/* ========== RESPONSIVE SECTIONS ========== */
@media (max-width: 980px) {
  .produit-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .produit-section.alt .produit-grid {
    grid-template-columns: 1fr;
  }
  .produit-texte h2 {
    text-align: center;
  }
  .produit-texte p, .produit-texte ul {
    text-align: left;
  }
  .produit-texte .cta {
    align-self: center;
  }
}

/* ===== Espacement harmonieux entre sections ===== */
.produit-section + .produit-section {
  border-top: 1px solid rgba(0,0,0,.05);
}
.produit-section.alt + .produit-section {
  border-top: none;
}
