/* ============================================
   Séparateur visuel
   ============================================ */
.bloc_separateur {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  margin: 2rem 0;
}
.image_sep img { height: 25px; }
.image_sep::before,
.image_sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background-color: rgba(71, 163, 218, 0.25);
}
.image_sep::before { left: 0; }
.image_sep::after { right: 0; }

/* ============================================
   Carrousel (zone1)
   ============================================ */
.zone1 {
  max-width: 100%;
  margin-top: 60px;
  text-align: center;
}
#bandeau { padding: 0; }
#bandeau .carousel-inner { max-height: 60vh; }
#bandeau .carousel-item img {
  height: 60vh;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  #bandeau .carousel-inner { max-height: 45vh; }
  #bandeau .carousel-item img { height: 45vh; }
}

/* ============================================
   Sections générales (zone2)
   ============================================ */
.zone2 { padding: 2.5rem 0; }

/* ============================================
   Compteurs & Challenge
   ============================================ */
.compteurs_row { margin-top: 1rem; }

.compteur_card {
  text-align: center;
  padding: 2rem 1rem;
  margin: 0.75rem 0;
}
.compteur_card h2 {
  color: #47A3DA;
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}
.compteur_label {
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.5rem 0 0;
}

/* Challenge — strip inline */
.challenge_strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(71, 163, 218, 0.25);
  border-radius: .25rem;
  background: rgba(71, 163, 218, 0.07);
  flex-wrap: wrap;
}
.challenge_strip_label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: #47A3DA;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.challenge_strip_label .fa-trophy { color: #f5a623; font-size: 1.1rem; }
.challenge_strip_mois {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}
.challenge_strip_winners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.challenge_strip_winner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.challenge_strip_winner strong {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
}
.challenge_strip_stats {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
}
.challenge_strip_sep {
  width: 1px;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.challenge_badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background: #47A3DA;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  white-space: nowrap;
}

/* ============================================
   Section Société
   ============================================ */
.societe_eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #47A3DA;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.texte_presentation {
  text-align: center;
  font-size: 2.2rem;
  margin: 0 0 2rem;
  line-height: 1.3;
}

/* Newsletter band (section sombre entre stats et actualités) */
.newsletter_band {
  background: #293133;
  padding: 2.5rem 0;
  border-top: 3px solid rgba(71, 163, 218, 0.3);
  border-bottom: 3px solid rgba(71, 163, 218, 0.3);
}
.newsletter_band_inner {
  align-items: stretch;
}
.newsletter_band .societe_reseaux {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter_band .reseaux_sociaux {
  margin-top: 0.6rem;
}
.newsletter_band .societe_newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 1rem 2rem;
}
.newsletter_band_titre {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}
.newsletter_social_link {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.newsletter_social_link:hover { color: #47A3DA; }
.newsletter_band .societe_reseaux {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter_band .lien_desabonnement { color: rgba(255, 255, 255, 0.35); }
.newsletter_band .lien_desabonnement a { color: #47A3DA; }
.newsletter_band #newsletter_email {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}
.newsletter_band #newsletter_email::placeholder { color: rgba(255, 255, 255, 0.35); }
.newsletter_band #newsletter_email:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(71, 163, 218, 0.6);
  box-shadow: 0 0 0 3px rgba(71, 163, 218, 0.15);
}

.societe_connecte_titre {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #888;
  font-weight: 700;
  margin-bottom: 1rem;
}
.societe_reseaux {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid rgba(71, 163, 218, 0.15);
}
.societe_newsletter {
  padding: 1rem 1.5rem;
}

/* Newsletter form (dans section société) */
#newsletter_form {
  position: relative;
  width: 100%;
}
#newsletter_email,
#newsletter_envoi { min-height: 46px; border-radius: .25rem; }
#newsletter_email {
  box-shadow: none;
  border: 1px solid rgba(71, 163, 218, 0.4);
  border-radius: .25rem;
  width: 100%;
  padding-left: 1rem;
  padding-right: 140px;
  font-size: 1rem;
  color: #293133;
}
#newsletter_email:focus {
  border-color: #3aaa35;
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.1);
}
#newsletter_envoi {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1.2rem;
  color: #fff;
  background: #3aaa35;
  transition: background 0.3s;
  line-height: 2.8rem;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 0 .25rem .25rem 0;
  white-space: nowrap;
}
#newsletter_envoi:hover,
#newsletter_envoi:focus { background: #2d8a29; outline: none; }

.lien_desabonnement {
  margin-top: 0.5rem;
  color: #aaa;
  font-size: 0.8rem;
}
.lien_desabonnement a { color: #47A3DA; text-decoration: underline; }

.introduction {
  font-size: 1.05rem;
  margin-top: 1rem;
  text-align: justify;
  line-height: 1.85;
  color: #555;
}
.introduction b { color: #3aaa35; }
.introduction a,
.introduction a:hover,
.introduction a:focus,
.introduction a:active { text-decoration: underline; color: #293133; }

.societe_aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-left: 1px solid rgba(71, 163, 218, 0.2);
}
.societe_aside_titre {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: #888;
  margin-bottom: 1.25rem;
}
.reseaux_sociaux {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.reseaux_sociaux a { text-decoration: none; }
.facebook, .facebook:hover { color: #0d6efd; }
.instagram, .instagram:hover { color: #dc3545; }
.twitter, .twitter:hover { color: #000; }

/* ============================================
   Section Actualités
   ============================================ */
#actualites h4 {
  font-size: 2rem;
  text-transform: uppercase;
  position: relative;
  margin: 0;
}

/* Section Actualités (homepage — templates/index/news.php) */
.actualites_news {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto 0 auto;
}
.news_block { margin-top: 15px; }
.news_image_center {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}
.news_image_arrondi {
  overflow: hidden;
  border-radius: 10px;
}
.news_image_arrondi img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.news_image_arrondi img:hover { transform: scale(1.1); }
.news_titre {
  padding-top: 20px;
  font-size: 1.4rem;
  color: #333333;
  text-transform: uppercase;
  text-align: center;
}
.news_site { font-weight: bold; }
.news_site::before {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  background-color: rgba(71, 163, 218, 0.25);
  margin: 10px auto;
}
.news_texte { margin-top: 15px; padding: 0 20px; }
.news_texte p {
  text-align: justify;
  font-size: 1.2rem;
  line-height: 2rem;
  color: #666666;
}
.news_texte ul { margin-bottom: 0; }

/* Page Actualités — Hero */
.actualites_hero {
  background: linear-gradient(135deg, #293133 0%, #1a2224 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 3px solid #47A3DA;
}
.actualites_eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #47A3DA;
  margin-bottom: 0.5rem;
}
.actualites_hero h1 {
  font-size: 2.8rem;
  color: white;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.actualites_hero .actualites_subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.actualites_hero .reseaux_sociaux a { color: white; }
.actualites_hero .reseaux_sociaux a:hover { color: #47A3DA; }

/* Page Actualités — Grid */
.actualites_container {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.actu_card {
  background: white;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.actu_card:hover {
  box-shadow: 0 8px 28px rgba(71, 163, 218, 0.18);
  transform: translateY(-3px);
}
.actu_card_img {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.actu_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}
.actu_card:hover .actu_card_img img { transform: scale(1.03); }
.actu_card_body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.actu_card_date {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #47A3DA;
  margin-bottom: 0.5rem;
}
.actu_card_titre {
  font-size: 0.95rem;
  font-weight: 700;
  color: #293133;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}
.actu_card_dept {
  font-weight: 400;
  color: #888;
}
.actu_card_texte {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.75;
  flex: 1;
}
.actu_card_texte ul { padding-left: 1.25rem; margin-bottom: 0; }
.actu_card_texte a { color: #47A3DA; text-decoration: none; }
.actu_card_texte a:hover { text-decoration: underline; }
.actu_card--no-img { border-top: 3px solid #47A3DA; }

/* ============================================
   Section DHS25
   ============================================ */
.background_dhs25 {
  padding: 0;
  background-image: url(/images/accueil/caroussel/webp/caroussel_1-1920w.webp);
  background-attachment: fixed;
  background-position: center 0;
  background-repeat: no-repeat;
  background-size: cover;
}
#dhs25 {
  background-color: rgba(0,0,0,0.5);
  margin: 40px 0;
}
#dhs25 h2 {
  font-weight: 700;
  font-size: 3rem;
  color: white;
  letter-spacing: 10px;
  word-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  padding: 20px;
}
#dhs25 h3 {
  text-align: center;
  font-size: 1.5rem;
  color: white;
  letter-spacing: 5px;
  word-spacing: 3px;
}

.modal_video_dhs25 {
  width: 85px;
  height: 85px;
  margin: 40px auto;
  padding: 0;
  cursor: pointer;
}
.lanceur_video_dhs25 {
  border: 3px inset #47A3DA;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: white;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lanceur_video_dhs25:hover {
  border: 3px inset #3aaa35;
  background: #3aaa35;
  color: white;
}

#modal-video-dhs25 { padding: 0; }
#modal-video-dhs25 .modal-dialog {
  max-width: 100% !important;
  height: 100% !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
#modal-video-dhs25 .modal-content {
  height: 100vh;
  border: 0;
  border-radius: 0;
  background-color: rgba(0,0,0,0.8);
}
#modal-video-dhs25 .modal-header { border: none; padding: 1rem; }
#modal-video-dhs25 .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#modal-video-dhs25 .btn-close { color: white; opacity: 1; }
.modal-body iframe { width: 90vw; height: 80vh; border: none; }

/* ============================================
   Bandes de section (stats, actus)
   ============================================ */
.section_band {
  background: #f4f8fb;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(71, 163, 218, 0.15);
  border-bottom: 1px solid rgba(71, 163, 218, 0.15);
}
.section_band--alt {
  background: white;
}
.section_band--dark {
  background: #293133;
  border-top-color: rgba(71, 163, 218, 0.3);
  border-bottom-color: rgba(71, 163, 218, 0.3);
}
.section_band--dark .section_band_titre { color: white; }
.section_band--dark .compteur_label { color: rgba(255, 255, 255, 0.5); }

.section_band_header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section_band_eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #47A3DA;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.section_band_titre {
  font-size: 1.6rem;
  font-weight: 700;
  color: #293133;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   Grid produits (DHS25 / PbCo / Contrôle d'accès)
   ============================================ */
.produits_section { padding-bottom: 3rem; }

.produit_card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.25s, transform 0.25s;
  background: white;
  border-top: 4px solid var(--produit-color, #47A3DA);
}
.produit_card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.produit_card--dhs25 { --produit-color: #47A3DA; }
.produit_card--pbco  { --produit-color: #3aaa35; }
.produit_card--ca    { --produit-color: #e8a020; }

.produit_card_header {
  padding: 1.5rem 1.75rem 1.25rem;
}
.produit_header_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.produit_app_logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.25rem;
}
.produit_app_logo--pbco {
  height: 32px;
  align-self: center;
}
.produit_eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--produit-color, #47A3DA);
  margin-bottom: 0.3rem;
}
.produit_nom {
  font-size: 1.6rem;
  font-weight: 700;
  color: #293133;
  margin: 0;
  line-height: 1.2;
}
.produit_desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.produit_card_img {
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}
.produit_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.produit_card:hover .produit_card_img img { transform: scale(1.04); }

.produit_card_body {
  padding: 1.25rem 1.75rem;
  flex: 1;
}
.produit_features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.produit_features li {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.5;
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.produit_features li:last-child { border-bottom: none; }
.produit_feature--highlight {
  color: #3aaa35;
  font-weight: 600;
}
.produit_features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--produit-color, #47A3DA);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.produit_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.produit_badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #888;
  background: #f5f5f5;
  border-radius: 0.25rem;
  padding: 0.25rem 0.6rem;
}
.produit_badge img { height: 16px; width: auto; }

.produit_card_footer {
  padding: 1rem 1.75rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.produit_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.produit_btn--outline {
  border: 1.5px solid var(--produit-color, #47A3DA);
  color: var(--produit-color, #47A3DA);
  background: transparent;
}
.produit_btn--outline:hover {
  background: var(--produit-color, #47A3DA);
  color: white;
}
.produit_btn--fill {
  background: var(--produit-color, #47A3DA);
  color: white;
  border: 1.5px solid transparent;
}
.produit_btn--fill:hover { filter: brightness(0.9); }

/* ============================================
   Section Partenaires
   ============================================ */
#clients { padding-bottom: 0; }

.clients h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #aaa;
  text-align: center;
  padding: 0 0 1.5rem;
  margin: 0;
}

.liste_partenaires {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  padding-bottom: 1rem;
}
.liste_partenaires > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.liste_partenaires img {
  width: 70%;
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s, transform 0.3s;
}
.liste_partenaires img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ============================================
   Page RGPD
   ============================================ */
.rgpd_content {
  padding: 3rem 1rem 4rem;
  max-width: 860px;
}
.rgpd_section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(71, 163, 218, 0.12);
}
.rgpd_section:last-child { border-bottom: none; }
.rgpd_section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #293133;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.rgpd_section p,
.rgpd_section li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.85;
}
.rgpd_section ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.rgpd_section address {
  font-style: normal;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  margin-top: 0.75rem;
}
.rgpd_section a { color: #47A3DA; text-decoration: none; }
.rgpd_section a:hover { text-decoration: underline; }

.rgpd_table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.9rem;
}
.rgpd_table th {
  background: #f4f8fb;
  color: #293133;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(71, 163, 218, 0.2);
}
.rgpd_table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #555;
  vertical-align: top;
}
.rgpd_table tr:last-child td { border-bottom: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .texte_presentation { font-size: 1.7rem; margin: 0 0 1.5rem; }
  .societe_reseaux { border-right: none; border-bottom: 1px solid rgba(71, 163, 218, 0.15); padding-bottom: 1.5rem; margin-bottom: 1rem; }
  .newsletter_band .societe_reseaux { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .societe_newsletter { padding: 1rem 0; }
  .compteur_card h2 { font-size: 2.5rem; }
  .challenge_header h2 { font-size: 1.2rem; }
  #dhs25 h2 { font-size: 2rem; letter-spacing: 4px; }
  .produit_card_img { height: 160px; }
  .produit_card_footer { flex-direction: column; }
  .produit_btn { justify-content: center; }
}

@media (max-width: 480px) {
  .texte_presentation { font-size: 1.35rem; }
  #dhs25 h2 { font-size: 1.6rem; letter-spacing: 2px; }
  .news_image_arrondi img { height: 180px; }
  .challenge_strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .challenge_strip_sep { display: none; }
}
