/*
@author UBPartner
*/
/* ==========================================================
   SOLUTIONS - pages produit (products.html)
   Le header, le footer, les boutons et les variables vivent
   dans style.css / header.css / footer.css : ne rien
   redéfinir ici.
   ========================================================== */
/*hero section*/
.hero-section {
  height: 600px;
  padding-top: 120px;
  position: relative;
  background-image: url('../img/bg_baccara.webp');
  background-size: cover;
  background-position: center;
  border-radius: 0 0 35px 35px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 0 0 35px 35px;
  background: linear-gradient(
    180deg,
    rgba(115, 71, 179, 0.88) 0%,
    rgba(91, 105, 182, 0.80) 20%,
    rgba(110, 162, 217, 0.65) 45%,
    rgba(200, 223, 245, 0.50) 70%,
    rgba(255, 255, 255, 0.30) 100%
  );
}

.hero-hexagon {
  width: 64px;
  height: 64px;
  background: rgba(91, 105, 182);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  border: 2px solid rgba(255,255,255,0.4);
}

.hero-title {
  color: rgba(91, 105, 182);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.15;
}

.hero-text {
  color: rgba(91, 105, 182);
  font-size: 16px;
  max-width: 480px;
  margin-top: 10px;
}

/* Sub Navigation */
.subnav-bar {
  background: #fff;
  border-bottom: 1px solid #e0e8f5;
  padding: 8px 0;
  position: sticky;
  top: 93px; /* 40px du bandeau actualités + hauteur de la navbar */
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}

.subnav-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #7347b3, #5b69b6);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

.subnav-label {
  font-weight: 700;
  color: #7347b3;
  font-size: 15px;
}

.subnav-links {
  list-style: none;
  padding: 0;
  display: flex;
  margin: 0;
  gap: 22px;
}

.subnav-links a {
  color: #555;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.subnav-links a:hover,
.subnav-links a.active {
  color: #7347b3;
  border-bottom-color: #7347b3;
}
/* Page Sections */
/* même rythme vertical que le reste du site (--section-space) */
.page-section {
  height: auto;
  padding: var(--section-space) 0;
  background: #f3f4fb;
}

.page-section--light {
  background: #fff;
}

.page-section .container {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.section-tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-weight: 800;
  font-size: 34px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}

.section-text {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.apropos-visual {
  width: 340px;
  height: 340px;
  border-radius: 30px;
  background: linear-gradient(135deg, #7347b3, #6ea2d9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: rgba(255,255,255,0.85);
  box-shadow: 0 30px 60px rgba(115,71,179,0.25);
}

/* Cas d'utilisation tabs */
.cas-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e8f5;
  margin-bottom: 40px;
  gap: 0;
}

.cas-tab {
  background: none;
  border: none;
  padding: 18px 56px;
  font-size: 17px;
  font-weight: 400;
  color: #999;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.1px;
}

.cas-tab:hover {
  color: var(--primary);
}

.cas-tab.active {
  color: #222;
  border-bottom: 2px solid var(--primary);
  font-weight: 500;
}

.cas-tab-content {
  display: none;
}

.cas-tab-content.active {
  display: block;
}

.cas-subtitle {
  text-align: center;
  font-size: 18px;
  color: #333;
  font-weight: 400;
  margin-bottom: 8px;
}

.cas-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cas-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
}

.cas-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .page-section {
    min-height: 100%;
    padding: 60px 0;
  }
  .apropos-visual {
    width: 220px;
    height: 220px;
    font-size: 80px;
  }
}

/* Link */
.solution-link {
  text-decoration: none;
  font-weight: 600;
  color: #4b3df2;
  transition: 0.2s;
}

.solution-link:hover {
  opacity: 0.7;
}

.appointment-box {
  position: relative;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(135deg, #6b63ff, #4b3df2);
  overflow: hidden;
}

/* decorative circles */
.appointment-box::before,
.appointment-box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

/* circle top-left */
.appointment-box::before {
  top: -40px;
  left: -20px;
}

/* circle bottom-right */
.appointment-box::after {
  bottom: -30px;
  right: 30px;
}
.equal-img {
  height: 255px;
  width: 100%;
  object-fit: cover;
  border-radius: 0 22px 22px 0;
}


/* ==========================================================
   RESPIRATION LATÉRALE DES SECTIONS
   .page-section .container est plafonné à 1000px : au-delà,
   l'écran fournit lui-même les marges. En dessous, la section
   touche les bords de l'écran et les 20px d'origine laissaient
   le texte presque collé au bord.
   ========================================================== */
@media (max-width: 1199.98px) {
  .page-section .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* en mobile, on revient au retrait de 15px commun à tout le site */
@media (max-width: 767.98px) {
  .page-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
