/* Override Nixo green with AGM-TEC orange */
:root {
  --agm-orange: #ec6c2b;
}
.btn-bg1,
.default-btn.btn-bg1,
.get-btn,
.play-btn,
.accordion-title.active {
  color: #ffffff !important;
  border-color: #ec6c2b !important;
  background-color: #ec6c2b !important;
}
/* Hover des titres: orange AGM-TEC pour lisibilite sur sections claires */
.theme-dark h2:hover,
.theme-dark h2:hover a,
.theme-dark h3:hover,
.theme-dark h3:hover a,
.theme-dark h3 a:hover {
  color: #d85a1f !important;
  border-color: transparent !important;
  background-color: transparent !important;
}
.footer-list a:hover,
.footer-list-two a:hover {
  color: #ffffff !important;
  border-color: transparent !important;
  background-color: transparent !important;
}
.theme-dark h2 a:hover,
.theme-dark h3 a:hover,
h2 a:hover,
h3 a:hover,
.section-title h2:hover,
.section-title h2 a:hover,
.desc_title:hover,
.desc_title a:hover,
.blog-article h3 a:hover,
.blog-item h3 a:hover,
.blog-widget-area h3 a:hover,
.product-infor-name:hover,
.product-infor-name a:hover,
.tf-product-info-heading h1:hover,
.tf-product-info-heading h1 a:hover,
#caracteristiques h3:hover,
#caracteristiques h3 a:hover,
#description h3:hover,
#description h3 a:hover,
#utilisation h3:hover,
#utilisation h3 a:hover,
#comparatif h3:hover,
#comparatif h3 a:hover {
  color: #d85a1f !important;
}
.get-btn:hover,
.default-btn.btn-bg1:hover,
.submit-btn.btn-bg1:hover {
  background: #d85a1f !important;
  border-color: #d85a1f !important;
}
.border-radius-5.btn-bg1 { background: linear-gradient(120deg, #ff8b49, #ec6c2b) !important; }

/* Logo AGM : effet lumineux au survol */
/* Logo : léger flash au survol (pas de soulèvement) */
.agm-logo-link {
  display: inline-block;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.agm-logo-link:hover {
  opacity: 1;
}
.agm-logo-link .agm-logo {
  transition: filter 0.25s ease;
  display: block;
}
.agm-logo-link:hover .agm-logo {
  filter: brightness(1.15);
}

/* Preloader : logo orange sur fond sombre, sans spinner vert */
.agm-preloader,
#preloader.agm-preloader {
  background-color: #1a1a1a !important;
}
.agm-preloader .into-preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.agm-preloader .agm-preloader-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 180px;
  width: auto;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  animation: agm-preloader-pulse 1.2s ease-in-out infinite;
}
@keyframes agm-preloader-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Pages légales */
.legal-page h1 { color: #ffffff; }
.legal-page h2 { color: #ffffff; margin-top: 1.5rem; font-size: 1.25rem; }
.legal-page .text-muted { color: #b9b9b9 !important; }
.legal-page a:not(.default-btn) { color: #ec6c2b; text-decoration: underline; }

/* Badge Avis Google : en bas à gauche, 25px du bas, plus grand (visible après acceptation cookies) */
.google-reviews-badge {
  position: fixed;
  left: 25px;
  bottom: 25px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.google-reviews-badge.show {
  opacity: 1;
  pointer-events: auto;
}
.agmtec-google-badge {
  display: inline-block;
  transition: transform 0.25s ease;
}
.agmtec-google-badge:hover {
  transform: scale(1.08);
}
.agmtec-google-badge img {
  width: 110px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: block;
  transition: box-shadow 0.25s ease;
}
.agmtec-google-badge:hover img {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* Bandeau cookies en bas à gauche */
.cookie-banner {
  position: fixed;
  left: 0.8rem;
  bottom: 0.8rem;
  max-width: 420px;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.92);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  color: #f5f5f5;
  display: none;
  align-items: center;
  gap: 0.7rem;
  z-index: 60;
}
.cookie-banner.show {
  display: flex;
}
.cookie-banner-text { flex: 1; }
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.cookie-banner-button {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #ec6c2b;
  color: #ffffff;
  font-size: 0.78rem;
  white-space: nowrap;
}
.cookie-banner-button-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #111111 !important;
}
.cookie-banner-button-secondary:hover,
.cookie-banner-button-secondary:focus {
  color: #111111 !important;
}
.cookie-banner-link {
  color: #ffffff !important;
  font-size: 0.75rem;
  text-decoration: underline;
}

/* FAQ : questions en H3 + bouton full width */
.faq-accordion .accordion .accordion-question {
  margin: 0;
}
.faq-accordion .accordion .accordion-title {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

/* Fake commandes (toast) */
.fake-order-toast {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  max-width: 260px;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  font-size: 0.8rem;
  color: #f5f5f5;
  display: none;
  z-index: 50;
}
.fake-order-toast.show {
  display: block;
  animation: agm-toast-in 0.4s ease-out;
}
.fake-order-heading { font-weight: 600; margin-bottom: 0.2rem; }
.fake-order-meta { font-size: 0.74rem; color: #b9b9b9; margin-top: 0.2rem; }
@keyframes agm-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .fake-order-toast { left: 0.8rem; right: 0.8rem; max-width: none; }
  .cookie-banner { left: 0.6rem; right: 0.6rem; max-width: none; }
  .google-reviews-badge { left: 15px; bottom: 15px; }
  .agmtec-google-badge img { width: 90px; }
}

/* Top header : fond moins noir */
.top-header-bg {
  background-color: #ec6c2b !important;
}
.top-header .header-left-card ul li,
.top-header .header-left-card ul li span,
.top-header .header-left-card ul li a,
.top-header .header-left-card ul li .head-icon i,
.top-header .agm-top-right-links a,
.top-header .agm-top-right-links a i {
  color: #ffffff !important;
}
.top-header .header-left-card ul li a:hover,
.top-header .header-left-card ul li:hover span,
.top-header .header-left-card ul li:hover .head-icon i,
.top-header .agm-top-right-links a:hover,
.top-header .agm-top-right-links a:hover i {
  color: #111111 !important;
}

/* Top bar mobile : uniquement mail et téléphone */
@media (max-width: 991px) {
  .top-header .header-left-card ul li:first-child {
    display: none !important;
  }
  .top-header .top-right.agm-top-right-links {
    display: none !important;
  }
  .top-header .header-left .header-left-card ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin: 0;
    padding: 0.5rem 0;
  }
  .top-header .header-left .header-left-card ul li {
    margin: 0;
  }
}

/* Cartes articles (home) : image au-dessus + effet au survol */
.agm-blog-card .agm-blog-card-img {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
}
.agm-blog-card .agm-blog-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.agm-blog-card a:hover .agm-blog-card-img img {
  transform: scale(1.05);
  filter: brightness(1.08);
}
.agm-blog-card .content h3 a { color: inherit; }
.agm-blog-card .content h3 a:hover { color: #d85a1f !important; }

/* Page article : texte justifié */
.blog-article .article-content,
.blog-article .article-content p,
.blog-article .article-content .blockquote p,
.blog-article .article-content ul li {
  text-align: justify;
}
.blog-article .article-content h3 {
  text-align: left;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Page article : pas de vert, blockquote orange clair */
.blog-article .article-content .blockquote {
  background-color: rgba(236, 108, 43, 0.12);
  border-left: 4px solid #ec6c2b;
}
.theme-dark .blog-article .article-content .blockquote {
  background-color: rgba(236, 108, 43, 0.15);
}
.side-bar-widget .widget-popular-post .item .thumb img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* Dropdown Informations : visible au clic (Bootstrap 5 .show) */
.main-nav nav .navbar-nav .nav-item .dropdown-menu.show {
  transform: scaleY(1);
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li a,
.theme-dark .main-nav nav .navbar-nav .nav-item .dropdown-menu li a {
  color: #111111 !important;
  background: #ffffff !important;
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover,
.theme-dark .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
  color: #111111 !important;
  background: #f5f5f5 !important;
}

/* Liens haut droite : Catalogue + Panier */
.agm-top-right-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.agm-top-right-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.agm-top-right-links a:hover {
  color: #ffffff;
  opacity: 0.9;
}
.agm-top-right-links a i {
  margin-right: 5px;
  font-size: 14px;
}

/* Sticky header */
.sticky-nav .main-nav {
  top: 0;
  background-color: #1d1d1d;
  position: fixed;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Menu : hover blanc (pas d’orange) */
.main-nav nav .navbar-nav .nav-item a:hover,
.main-nav nav .navbar-nav .nav-item:hover a,
.main-nav nav .navbar-nav .nav-item .nav-link:hover,
.theme-dark .main-nav nav .navbar-nav .nav-item a:hover,
.theme-dark .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
  color: #ffffff !important;
  opacity: 0.9;
}
.main-nav.main-nav-bottom {
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(2px);
}
.main-nav nav .navbar-nav .nav-item .nav-link {
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}
.main-nav nav .navbar-nav .nav-item a:hover i,
.main-nav nav .navbar-nav .nav-item:hover a i {
  color: #ffffff !important;
}

/* Liens en blanc (sauf boutons et nav) */
.theme-dark a:not(.default-btn):not(.get-btn):not(.play-btn):not(.nav-link):not(.navbar-brand) {
  color: rgb(255 255 255);
  text-decoration: none;
}
.theme-dark a:not(.default-btn):not(.get-btn):not(.play-btn):not(.nav-link):hover {
  color: rgb(255 255 255) !important;
}

/* Labels de section : style premium discret (distinct des CTA) */
.section-title span {
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 12px;
  line-height: 1.2;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  display: inline-block;
}
.section-title .sp-color1 {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
}
.section-title h2 {
  margin-top: 0;
}

/* Services : lien au hover en blanc */
.theme-dark .services-item h3 a,
.theme-dark .services-item h3 a:hover {
  color: rgb(255 255 255) !important;
  text-decoration: underline;
}

/* CTA : deux boutons côte à côte sur desktop */
.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cta-buttons-ou {
  margin: 0 0.5rem;
  color: #ffffff;
}
@media (max-width: 767px) {
  .cta-buttons-row {
    flex-direction: column;
  }
  .cta-buttons-ou { margin: 0.25rem 0; }
}

/* FAQ accordion : contours orange, bords arrondis */
.faq-accordion .accordion .accordion-title {
  padding: 15px 60px 12px 20px;
  color: #444444;
  text-decoration: none;
  position: relative;
  background-color: #ffffff;
  display: block;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid rgb(236 108 43);
  border-radius: 10px;
}
.theme-dark .faq-accordion .accordion .accordion-title {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ec6c2b;
}

/* Bouton play vidéo – orange comme le logo */
.banner-area .play-btn-area .play-btn-area-into .play-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 70px;
  height: 70px;
  background-color: #ef7130;
  opacity: 0.5;
  border-radius: 50px;
}
.banner-area .play-btn-area .play-btn-area-into .play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.banner-area .play-btn-area .play-btn-area-into .play-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Footer : fond #252525 */
.footer-top.pt-100.pb-70,
.footer-area .footer-top {
  background-color: #252525;
}

/* Blog / actualités : style du span (date, meta) dans les cartes */
.blog-item .content span {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  display: block;
}

/* Fiche produit : fil d’Ariane sous le header (éviter chevauchement logo) */
/* Fil d'Ariane fiche produit : dans la section (sous le padding-top), plus de chevauchement */
.agm-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  padding-top: 2.25rem;
}
.agm-breadcrumb a {
  color: #ec6c2b;
  text-decoration: none;
}
.agm-breadcrumb a:hover {
  text-decoration: underline;
}
.theme-dark .agm-breadcrumb a {
  color: #ec6c2b;
}
.agm-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.85);
}
.theme-dark .agm-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.9);
}
.agm-breadcrumb-sep {
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Fiche produit : espace haut et bas sur PC */
.section-product-single.tf-main-product.section-image-zoom {
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .section-product-single.tf-main-product.section-image-zoom {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Fiche produit : catégorie au-dessus du titre en orange */
.section-product-single .product-infor-cate,
.tf-product-info-list .product-infor-cate {
  color: #ec6c2b !important;
  padding-bottom: 15px;
}

/* Fiche produit : bloc prix avec overlay et "Prix selon options" en orange */
.tf-product-info-list .agm-price-block {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(236, 108, 43, 0.08);
  border: 1px solid rgba(236, 108, 43, 0.25);
}
.theme-dark .tf-product-info-list .agm-price-block {
  background: rgba(236, 108, 43, 0.12);
  border-color: rgba(236, 108, 43, 0.35);
}
.tf-product-info-list .agm-price-block .price-on-sale {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tf-product-info-list .agm-price-option-label {
  margin: 0;
  font-size: 0.85rem;
  color: #ec6c2b !important;
  font-weight: 500;
}

/* Sélecteur de variantes produit avec recalcul du prix */
.agm-variant-selector {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(236, 108, 43, 0.25);
  border-radius: 10px;
  background: rgba(236, 108, 43, 0.06);
}
.theme-dark .agm-variant-selector {
  border-color: rgba(236, 108, 43, 0.35);
  background: rgba(236, 108, 43, 0.1);
}
.agm-variant-title {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.agm-variant-group {
  margin-bottom: 0.65rem;
}
.agm-variant-group:last-of-type {
  margin-bottom: 0.4rem;
}
.agm-variant-group-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #d7d7d7;
}
.agm-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.agm-variant-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(216, 90, 31, 0.55);
  border-radius: 0;
  background: rgba(216, 90, 31, 0.12);
  color: #7a3111;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.agm-variant-option:hover {
  color: #5f250d;
  border-color: #d85a1f;
  background: rgba(216, 90, 31, 0.2);
}
.agm-variant-option.is-active {
  color: #ffffff;
  border-color: #bf4e19;
  background: #d85a1f;
}
.agm-variant-option-link {
  border-color: rgba(191, 78, 25, 0.7);
  color: #8b3612;
}
.agm-variant-option-link:hover {
  border-color: #bf4e19;
  color: #6f2b0f;
  background: rgba(216, 90, 31, 0.24);
}
.agm-variant-option[disabled] {
  cursor: default;
  opacity: 0.45;
}
.agm-variant-summary {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #d0d0d0;
}
@media (max-width: 767px) {
  .agm-variant-option {
    width: 100%;
    justify-content: flex-start;
  }
}
.tf-product-info-list .tf-btn.animate-btn i.bx,
.nav-btn .default-btn i.bx {
  margin-right: 0.4rem;
  font-size: 1.1em;
}

/* Classe texte secondaire (fiche produit, etc.) */
.cl-text-2 {
  color: #babdbf !important;
}

/* 4 configurations en 2x2 (pas 3+1) */
.tf-product-volume-discount .list-volume-discount-thumbnail {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px;
  overflow: visible;
  max-width: 100%;
}
@media (max-width: 576px) {
  .tf-product-volume-discount .list-volume-discount-thumbnail {
    grid-template-columns: 1fr !important;
  }
}

/* Bouton Ajouter au panier : orange + espace au-dessus */
.tf-product-volume-discount .tf-btn.animate-btn,
.section-product-single .tf-btn.animate-btn {
  margin-top: 30px !important;
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(120deg, #ff8b49, #ec6c2b) !important;
  border-color: #ec6c2b !important;
  color: #ffffff !important;
}
.tf-product-volume-discount .tf-btn.animate-btn:hover,
.section-product-single .tf-btn.animate-btn:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

/* Barre d’onglets En savoir +, Fiche, etc. : layout propre */
.agm-product-info-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.05rem;
  margin-bottom: 1.25rem;
  clear: both;
  justify-content: center;
  text-align: center;
}
.agm-product-info-tabs .agm-info-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(120deg, #ff8b49, #ec6c2b);
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  flex: 0 1 auto;
  white-space: nowrap;
}
.agm-product-info-tabs .agm-info-tab:hover {
  opacity: 0.9;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-product-info-tabs .agm-info-tab i { font-size: 1rem; }

/* Livraison / SAV : bloc dédié au-dessus du tableau, bien séparé */
.agm-delivery-block.tf-product-delivery-return {
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0.75rem 0;
}

/* Bloc caractéristiques (8 specs) : grille lisible, pas de trait au-dessus */
.agm-product-specs {
  width: 100%;
  clear: both;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-top: 0;
  overflow: visible;
}
.agm-product-specs .agm-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
  overflow: visible;
}
@media (max-width: 991px) {
  .agm-product-specs .agm-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .agm-product-specs .agm-specs-grid { grid-template-columns: 1fr; }
}
.agm-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  min-height: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}
.theme-dark .agm-spec-item {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.agm-spec-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #888;
  line-height: 1.2;
}
.agm-spec-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
  word-break: break-word;
}
.theme-dark .agm-spec-value { color: #e0e0e0; }
.theme-dark .agm-spec-title { color: #b0b0b0; }

/* Livraison / SAV et bandeau paiement : sous la grille, sans recouvrir */
.tf-product-info-list .tf-product-trust-seal {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
}
.theme-dark .tf-product-info-list .tf-product-trust-seal {
  background: #28c97e;
}
.tf-product-info-list .tf-product-trust-seal .text-seal {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
}
.tf-product-info-list .tf-product-trust-seal .agm-trust-seal-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.tf-product-info-list .tf-product-trust-seal .agm-trust-seal-link:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

/* Onglets Description / Caractéristiques techniques : bordure active orange */
.tab-btn-wrap-v1 .tf-btn-tab.active {
  border-color: #ec6c2b !important;
  color: #ec6c2b !important;
}

/* Bouton fixe côté droit : Catalogue Camera Inspection (masqué sur mobile) */
.agm-side-catalogue-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #ec6c2b;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px 0 0 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  z-index: 995;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.agm-side-catalogue-btn:hover {
  background: #d85a1f;
  color: #ffffff;
  padding-right: 22px;
}
@media (max-width: 991px) {
  .agm-side-catalogue-btn {
    display: none;
  }
}

/* Partenaires / références : bandeau logos en bas de home */
.agm-partners-area {
  background-color: #111111;
  padding-top: 70px;
}
.agm-partners-strip {
  overflow: hidden;
  padding: 1.5rem 0 1rem;
}
.agm-partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding-top: 25px;
  gap: 1rem 1.5rem;
  animation: agm-partners-scroll 35s linear infinite;
  will-change: transform;
}
.agm-partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
  flex: 0 0 20%;
}
.agm-partner-logo img {
  max-height: 120px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
}
.agm-partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  background: rgba(236, 108, 43, 0.15);
}
.agm-partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 575px) {
  .agm-partner-logo img {
    max-height: 120px;
  }
}
@keyframes agm-partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Badge paiement sécurisé sous le bouton de la fiche produit */
.agm-payment-badge-wrap {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.agm-payment-badge {
  max-width: 90%;
  padding-top: 20px;
  width: 100%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  transition: filter 0.25s ease, transform 0.25s ease;
}
.agm-payment-badge-wrap:hover .agm-payment-badge {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.4));
  transform: translateY(-1px);
}

/* ---------- Comparatif gamme Tubicam® (fiche produit) ---------- */
.agm-comparison-section {
  padding: 3rem 0 4rem;
}
.agm-comparison-container {
  margin: 0;
  overflow-x: auto;
}
.agm-comparison-title {
  color: #ec6c2b;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.theme-dark .agm-comparison-title {
  color: #ec6c2b;
}
.agm-comparison-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.agm-comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.9rem;
}
.theme-dark .agm-comparison-table {
  background: #252525;
}
.agm-comparison-table th,
.agm-comparison-table td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
}
.theme-dark .agm-comparison-table th,
.theme-dark .agm-comparison-table td {
  border-color: rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
}
.agm-comparison-images-row td {
  padding: 15px 10px;
  vertical-align: bottom;
  background: #fafafa;
}
.theme-dark .agm-comparison-images-row td {
  background: #2a2a2a;
}
.agm-comparison-images-row a {
  display: block;
  text-decoration: none;
}
.agm-comparison-images-row img {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}
.agm-comparison-images-row a:hover img {
  opacity: 0.85;
}
.agm-comparison-head-row {
  background: #ec6c2b;
  color: #ffffff;
}
.agm-comparison-head-row th {
  padding: 14px 10px;
  font-weight: 600;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.2);
}
.agm-comparison-head-row th:first-child {
  text-align: left;
}
.agm-comparison-head-row a {
  color: #ffffff;
  text-decoration: none;
}
.agm-comparison-head-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.agm-canalisation-comparison tr > *:nth-child(3) {
  background: rgba(236, 108, 43, 0.16) !important;
}

.agm-canalisation-comparison .agm-comparison-images-row td:nth-child(3) img {
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.3);
}

.agm-comp-label {
  text-align: left !important;
  font-weight: 600;
  color: #333;
}
.theme-dark .agm-comp-label {
  color: #e8e8e8;
}
.agm-comparison-table tbody tr.agm-comp-alt td {
  background: rgba(0, 0, 0, 0.04);
}
.theme-dark .agm-comparison-table tbody tr.agm-comp-alt td {
  background: rgba(255, 255, 255, 0.04);
}
.agm-comp-muted {
  color: #999 !important;
}
.theme-dark .agm-comp-muted {
  color: #666 !important;
}
.agm-comp-highlight {
  color: #ec6c2b !important;
  font-weight: 600;
}
.agm-comparison-cta {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(236, 108, 43, 0.12);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(236, 108, 43, 0.3);
}
.theme-dark .agm-comparison-cta {
  background: rgba(236, 108, 43, 0.15);
  border-color: rgba(236, 108, 43, 0.4);
}
.agm-comparison-cta p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}
.theme-dark .agm-comparison-cta p {
  color: #e8e8e8;
}
.agm-cta-highlight {
  color: #ec6c2b;
  font-weight: 700;
}
.agm-comparison-cta a {
  color: #ec6c2b;
  text-decoration: none;
  font-weight: 600;
}
.agm-comparison-cta a:hover {
  text-decoration: underline;
}
.theme-dark .agm-comparison-cta a {
  color: #ff8b49;
}

/* Bouton "Voir la page comparatif" : plus d’air sous le tableau */
.agm-comparison-btn-wrap {
  margin-top: 0 !important;
  padding-top: 28px;
}

/* Fiche produit : H1 unique (SEO), rendu proche de l’ancien titre */
.tf-product-info-heading h1.product-infor-name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: inherit;
}
@media (min-width: 768px) {
  .tf-product-info-heading h1.product-infor-name {
    font-size: 1.5rem;
  }
}

/* Badge "Livraison en 24 h" à côté de la catégorie produit */
.agm-badge-24h {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: #28c97e;
  color: #0b1a10;
  white-space: nowrap;
}

/* Étiquette cliquable fiche PDF (à côté du badge 24 h) */
.agm-badge-fiche-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-left: 0.45rem;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  color: #ffffff !important;
  background: linear-gradient(120deg, #ff8b49 0%, #ec6c2b 100%);
  box-shadow: 0 0 0 0 rgba(236, 108, 43, 0.55);
  animation: agm-fiche-badge-pulse 1.8s ease-in-out infinite;
  transition: filter 0.2s ease;
}
.agm-badge-fiche-pdf:hover {
  filter: brightness(1.06);
  color: #ffffff !important;
}
.agm-badge-fiche-pdf i {
  font-size: 0.85rem;
}
@keyframes agm-fiche-badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 108, 43, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(236, 108, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(122, 60, 255, 0);
  }
}

/* Bouton téléchargement fiche PDF — fiche produit Scopicam */
.agm-pdf-download-cta {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.agm-pdf-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(125deg, #ff8b49 0%, #ec6c2b 55%, #d85a1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(236, 108, 43, 0.35);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.agm-pdf-download-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 26px rgba(236, 108, 43, 0.45);
  color: #fff !important;
}
.agm-pdf-download-btn i {
  font-size: 1.45rem;
  flex-shrink: 0;
}

/* Bannières pleine largeur entre blocs — fiche produit Scopicam */
.agm-produit-banner {
  --agm-banner-h: clamp(160px, 26vw, 300px);
  width: 100%;
  height: var(--agm-banner-h);
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
}
.agm-produit-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(26, 26, 26, 0.2) 45%,
    rgba(236, 108, 43, 0.22) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.agm-produit-banner--scopicam {
  margin-top: -2px;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  background-image: url("/landing-hub/public/assets/images/scopicam-banniere.jpg");
  animation: agm-banner-ken 22s ease-in-out infinite alternate;
}
.agm-produit-banner--inspection::before {
  background: linear-gradient(
    -105deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(26, 26, 26, 0.35) 50%,
    rgba(236, 108, 43, 0.18) 100%
  );
}
.agm-produit-banner--inspection {
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
  background-image: url("/landing-hub/public/assets/images/inspectioncamera.jpg");
  animation: agm-banner-ken 26s ease-in-out infinite alternate-reverse;
}
@keyframes agm-banner-ken {
  0% {
    background-position: 50% 42%;
  }
  100% {
    background-position: 50% 58%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agm-produit-banner--scopicam,
  .agm-produit-banner--inspection {
    animation: none;
  }
}
@media (max-width: 767px) {
  .agm-produit-banner {
    --agm-banner-h: clamp(140px, 38vw, 220px);
  }
  .agm-produit-banner--scopicam {
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  }
  .agm-produit-banner--inspection {
    clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  }
}

/* Produits recommandés (3 blocs) en bas de fiche produit */
.agm-related-products {
  padding: 0.5rem 0 3.5rem;
}
.agm-related-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

/* Fiche produit endoscope (1 image unique) */
.agm-product-single-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #131313;
}
.agm-product-single-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.agm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 991px) {
  .agm-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .agm-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.agm-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  border-color: rgba(236, 108, 43, 0.7);
}
.agm-related-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111111;
}
.agm-related-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.agm-related-card:hover .agm-related-image-wrap img {
  transform: scale(1.05);
}
.agm-related-content {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.agm-related-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.agm-related-subtitle {
  font-size: 0.82rem;
  color: #babdbf;
  margin: 0;
}
.agm-related-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ec6c2b;
  margin: 0.15rem 0 0.3rem;
}
.agm-related-text {
  font-size: 0.8rem;
  color: #d0d2d4;
  margin: 0;
}

/* ---------- Landing camera-endoscope.com (home Scopicam / endoscopes) ---------- */
.agm-edu-section .agm-edu-text,
.agm-accessoires-intro {
  text-align: justify;
  color: #babdbf;
  line-height: 1.65;
}
.agm-edu-list {
  color: #babdbf;
  padding-left: 1.25rem;
}
.agm-edu-list li {
  margin-bottom: 0.35rem;
}
.agm-reassurance-grid .agm-reassurance-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.agm-reassurance-grid .agm-reassurance-card:hover {
  border-color: rgba(236, 108, 43, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.agm-reassurance-card i {
  font-size: 2rem;
  color: #ec6c2b;
  margin-bottom: 0.75rem;
  display: block;
}
.agm-reassurance-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.agm-reassurance-card p {
  font-size: 0.88rem;
  color: #babdbf;
  margin: 0;
  line-height: 1.55;
}
.agm-endoscope-range-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
}
.agm-endoscope-range-sub {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.agm-endoscope-range-sub a {
  color: #ec6c2b;
  text-decoration: none;
}
.agm-endoscope-range-sub a:hover {
  text-decoration: underline;
}
.agm-endoscope-range-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 991px) {
  .agm-endoscope-range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .agm-endoscope-range-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-endoscope-range-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.agm-endoscope-range-card:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 108, 43, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.agm-endoscope-range-card--featured {
  border-color: rgba(236, 108, 43, 0.45);
  box-shadow: 0 0 0 1px rgba(236, 108, 43, 0.2);
}
.agm-endoscope-range-img {
  aspect-ratio: 1;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agm-endoscope-range-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}
/* Superposition : le parent flex de .agm-endoscope-range-img alignait les 2 img en ligne — on neutralise avec block + position */
.agm-endoscope-range-img.agm-endoscope-range-img--hover-swap {
  display: block;
  position: relative;
  overflow: hidden;
}
.agm-endoscope-range-img--hover-swap .agm-endoscope-range-img__base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  box-sizing: border-box;
}
.agm-endoscope-range-img--hover-swap .agm-endoscope-range-img__hover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  box-sizing: border-box;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.agm-endoscope-range-card:hover .agm-endoscope-range-img--hover-swap .agm-endoscope-range-img__hover {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .agm-endoscope-range-img--hover-swap .agm-endoscope-range-img__hover {
    transition: none;
  }
}
.agm-endoscope-range-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 0.85rem 0.85rem 0.25rem;
  line-height: 1.35;
}
.agm-endoscope-range-price {
  font-size: 0.82rem;
  color: #ec6c2b;
  font-weight: 600;
  margin: 0;
  padding: 0 0.85rem 1rem;
}
.agm-endoscope-range-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ec6c2b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.agm-accessoires-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1199px) {
  .agm-accessoires-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .agm-accessoires-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .agm-accessoires-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-accessoires-card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.agm-accessoires-card:hover {
  border-color: rgba(236, 108, 43, 0.5);
  transform: translateY(-2px);
}
.agm-accessoires-img-wrap {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agm-accessoires-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}
.agm-accessoires-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 0.65rem 0.65rem 0.25rem;
  line-height: 1.35;
}
.agm-accessoires-price {
  font-size: 0.78rem;
  color: #ec6c2b;
  font-weight: 600;
  margin: 0;
  padding: 0 0.65rem 0.85rem;
}
.agm-video-cards {
  max-width: 960px;
  margin: 0 auto;
}
.agm-video-cards > [class*="col-"] {
  display: flex;
}
.agm-video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  width: 100%;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(236, 108, 43, 0.15), rgba(0, 0, 0, 0.4));
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.agm-video-card-thumb {
  display: block;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.agm-video-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.agm-video-card-thumb--channel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.04);
}
.agm-video-card-thumb--channel img {
  width: 120px;
}
.agm-video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 108, 43, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.agm-video-card-play {
  font-size: 2.5rem;
  color: #ec6c2b;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.agm-video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.agm-product-long-description {
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.agm-description-image-wrap {
  border-radius: 10px;
  overflow: hidden;
  align-self: flex-start;
}
.agm-description-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.agm-description-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 991px) {
  .agm-description-split {
    grid-template-columns: 1fr;
  }
}

.agm-usage-video-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.25rem;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
}

.agm-usage-video-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .agm-usage-video-wrap iframe {
    min-height: 300px;
  }
}

@media (max-width: 575px) {
  .agm-usage-video-wrap iframe {
    min-height: 220px;
  }
}

/* Footer : pseudo-titres non sémantiques */
.footer-widget .footer-widget-title {
  margin: 0 0 22px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
/* Tableau 2 colonnes fiche Scopicam */
.agm-scopicam-spec-table .agm-comparison-table.agm-simple-spec-table {
  min-width: 0;
  width: 100%;
}
.agm-simple-spec-table td.agm-comp-label {
  width: 38%;
}
.agm-simple-spec-table td:last-child {
  text-align: left !important;
}

/* ---------- Pages comparatif / videos endoscopes ---------- */
.agm-endoscope-page-hero {
  padding: 7.5rem 0 2.25rem;
  background: linear-gradient(180deg, rgba(236, 108, 43, 0.2), rgba(0, 0, 0, 0));
}
.agm-endoscope-page-hero h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
}
.agm-endoscope-page-hero p {
  color: #babdbf;
  margin: 0;
  max-width: 56rem;
}
.agm-endoscope-page-section {
  padding: 0.25rem 0 2.5rem;
}
.agm-endoscope-section-title {
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}
.agm-endoscope-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 991px) {
  .agm-endoscope-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .agm-endoscope-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-endoscope-compare-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1rem 0.85rem;
}
.agm-endoscope-compare-card h2 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.5rem;
}
.agm-endoscope-compare-card ul {
  margin: 0;
  padding-left: 1rem;
}
.agm-endoscope-compare-card li {
  color: #babdbf;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.agm-endoscope-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.agm-endoscope-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}
.agm-endoscope-table th,
.agm-endoscope-table td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px;
  font-size: 0.84rem;
}
.agm-endoscope-table thead th {
  background: #ec6c2b;
  color: #fff;
  text-align: left;
}
.agm-endoscope-table tbody td {
  color: #e4e4e4;
}
.agm-videos-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 767px) {
  .agm-videos-model-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-videos-model-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
}
.agm-videos-model-card h2 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}
.agm-videos-model-sub {
  color: #ec6c2b;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
}
.agm-videos-model-specs {
  margin: 0 0 0.75rem;
  padding-left: 1rem;
}
.agm-videos-model-specs li {
  color: #babdbf;
  font-size: 0.84rem;
  margin-bottom: 0.25rem;
}
.agm-videos-model-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.agm-videos-model-links .default-btn {
  padding: 9px 14px;
  font-size: 0.78rem;
}

/* Bloc variations de prix Scopicam */
.agm-scopicam-variants {
  margin: 0.9rem 0 1rem;
}
.agm-scopicam-variants h6 {
  color: #fff;
  font-weight: 600;
}
.agm-scopicam-variants-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.agm-scopicam-variants-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.agm-scopicam-variants-table th,
.agm-scopicam-variants-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 10px;
  font-size: 0.8rem;
}
.agm-scopicam-variants-table th {
  background: rgba(236, 108, 43, 0.2);
  color: #fff;
  text-align: left;
}
.agm-scopicam-variants-table td {
  color: #dcdcdc;
}

/* =========================================================
   Inversion globale des couleurs (hors orange AGM-TEC)
   Objectif: basculer le site du theme sombre vers clair.
   ========================================================= */
html.theme-dark,
html.theme-dark body {
  background: #ffffff !important;
  color: #111111 !important;
}

html.theme-dark p,
html.theme-dark li,
html.theme-dark span,
html.theme-dark small,
html.theme-dark label,
html.theme-dark .cl-text,
html.theme-dark .cl-text-2,
html.theme-dark .text-muted {
  color: #222222 !important;
}

html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark .section-title h2,
html.theme-dark .footer-widget .footer-widget-title {
  color: #111111 !important;
}

html.theme-dark .top-header-bg,
html.theme-dark .main-nav.main-nav-bottom,
html.theme-dark .sticky-nav .main-nav,
html.theme-dark .footer-top.pt-100.pb-70,
html.theme-dark .footer-area .footer-top,
html.theme-dark .agm-partners-area,
html.theme-dark .agm-preloader,
html.theme-dark #preloader.agm-preloader,
html.theme-dark .cookie-banner,
html.theme-dark .fake-order-toast {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
}

html.theme-dark .agm-preloader .agm-preloader-logo {
  filter: none !important;
}

html.theme-dark .main-nav nav .navbar-nav .nav-item .nav-link,
html.theme-dark .main-nav nav .navbar-nav .nav-item a,
html.theme-dark .main-nav nav .navbar-nav .nav-item .dropdown-menu li a,
html.theme-dark .agm-top-right-links a,
html.theme-dark .footer-list a,
html.theme-dark .footer-list-two a,
html.theme-dark a:not(.default-btn):not(.get-btn):not(.play-btn):not(.tf-btn):not(.btn-bg1):not(.agm-side-catalogue-btn):not(.agm-badge-fiche-pdf):not(.agm-pdf-download-btn) {
  color: #111111 !important;
  text-shadow: none !important;
}

html.theme-dark .main-nav nav .navbar-nav .nav-item a:hover,
html.theme-dark .main-nav nav .navbar-nav .nav-item .nav-link:hover,
html.theme-dark .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover,
html.theme-dark .agm-top-right-links a:hover {
  color: #111111 !important;
  opacity: 0.75;
}

html.theme-dark .services-item:not(.agm-service-card),
html.theme-dark .agm-related-card,
html.theme-dark .agm-reassurance-grid .agm-reassurance-card,
html.theme-dark .agm-endoscope-range-card,
html.theme-dark .agm-accessoires-card,
html.theme-dark .agm-video-card,
html.theme-dark .agm-product-long-description,
html.theme-dark .agm-usage-video-wrap,
html.theme-dark .agm-endoscope-compare-card,
html.theme-dark .agm-videos-model-card,
html.theme-dark .agm-comparison-table,
html.theme-dark .agm-comparison-images-row td,
html.theme-dark .agm-spec-item {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  box-shadow: none !important;
}

html.theme-dark .agm-endoscope-page-hero {
  background: linear-gradient(180deg, rgba(236, 108, 43, 0.16), rgba(255, 255, 255, 0.92)) !important;
}

html.theme-dark .agm-comp-label,
html.theme-dark .agm-comp-muted,
html.theme-dark .agm-spec-title,
html.theme-dark .agm-spec-value,
html.theme-dark .agm-related-subtitle,
html.theme-dark .agm-related-text,
html.theme-dark .agm-edu-section .agm-edu-text,
html.theme-dark .agm-accessoires-intro,
html.theme-dark .agm-edu-list,
html.theme-dark .agm-endoscope-page-hero p,
html.theme-dark .agm-endoscope-compare-card li,
html.theme-dark .agm-videos-model-specs li,
html.theme-dark .agm-scopicam-variants-table td {
  color: #222222 !important;
}

html.theme-dark .agm-comparison-table th,
html.theme-dark .agm-comparison-table td,
html.theme-dark .agm-endoscope-table th,
html.theme-dark .agm-endoscope-table td,
html.theme-dark .agm-scopicam-variants-table th,
html.theme-dark .agm-scopicam-variants-table td {
  border-color: rgba(0, 0, 0, 0.14) !important;
}

/* Tableaux comparatifs: textes en noir pour la lisibilite */
.agm-comparison-table td,
.agm-comparison-table .agm-comp-label,
.agm-comparison-table .agm-comp-muted,
.agm-comparison-table a,
.agm-endoscope-table td,
.agm-scopicam-variants-table td,
html.theme-dark .agm-comparison-table td,
html.theme-dark .agm-comparison-table .agm-comp-label,
html.theme-dark .agm-comparison-table .agm-comp-muted,
html.theme-dark .agm-comparison-table a,
html.theme-dark .agm-endoscope-table td,
html.theme-dark .agm-scopicam-variants-table td {
  color: #111111 !important;
}

/* Onglet Caracteristiques (page produit): titres de colonnes en orange */
#caracteristiques .agm-comparison-table thead th,
html.theme-dark #caracteristiques .agm-comparison-table thead th {
  color: #d85a1f !important;
}

html.theme-dark .agm-product-single-image,
html.theme-dark .agm-endoscope-range-img,
html.theme-dark .agm-related-image-wrap {
  background: #f4f4f4 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Hero section: remplacer le separateur arrondi par un biais */
.banner-area .banner-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(60px, 9vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.banner-area .banner-bottom .banner-bottom1,
.banner-area .banner-bottom .banner-bottom2 {
  display: none !important;
}
.banner-area .banner-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%);
}

/* Hero canalisation: bloc texte orange a gauche, image a droite */
.agm-banner-split .container {
  position: relative;
  z-index: 3;
}
.agm-banner-split .agm-banner-split-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  align-items: stretch;
  gap: 1.25rem;
  padding-top: clamp(110px, 10vw, 165px);
  padding-bottom: clamp(130px, 12vw, 200px);
}
.agm-banner-split .agm-banner-split-text {
  display: flex;
  align-items: center;
}
.agm-banner-split .agm-banner-split-text .banner-content {
  width: 100%;
  text-align: left;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border-radius: 14px;
  background: rgba(236, 108, 43, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.agm-banner-split .banner-content span,
.agm-banner-split .banner-content h1,
.agm-banner-split .banner-content p {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}
.agm-banner-split .banner-content h1 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  margin-bottom: 0.5rem;
}
.agm-banner-split .banner-content p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  margin-bottom: 1rem;
}
.agm-banner-split .banner-content .get-btn {
  background: #d85a1f !important;
  color: #ffffff !important;
  border-color: #d85a1f !important;
}
.agm-banner-split .banner-content .get-btn:hover {
  background: #bf4e19 !important;
  border-color: #bf4e19 !important;
}
.agm-banner-split .agm-banner-split-media {
  display: flex;
  align-items: center;
  position: relative;
}
.agm-banner-split .agm-banner-split-media picture,
.agm-banner-split .agm-banner-split-media img {
  width: 100%;
  display: block;
}
.agm-banner-split .agm-banner-split-media img {
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.agm-banner-split .agm-hero-video-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(236, 108, 43, 0.94);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.92);
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.agm-banner-split .agm-hero-video-cta i {
  font-size: 2rem;
  margin-left: 2px;
}
.agm-banner-split .agm-hero-video-cta:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #d85a1f;
  color: #ffffff !important;
}
.agm-banner-split {
  background-image: url("/landing-hub/public/assets/images/2026/camera-canalisation-agm-tec.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #f6f6f6;
}
.agm-banner-split .agm-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.agm-banner-split .agm-hero-cta-row .get-btn,
.agm-banner-split .agm-hero-cta-row .default-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.agm-banner-split .agm-hero-cta-row .default-btn.btn-bg1 {
  background: #ffffff !important;
  color: #ec6c2b !important;
  border: 1px solid #ffffff !important;
}
.agm-banner-split .agm-hero-cta-row .default-btn.btn-bg1:hover {
  background: #fff4ec !important;
  color: #d85a1f !important;
  border-color: #fff4ec !important;
}
@media (min-width: 992px) {
  .agm-banner-split .agm-hero-cta-row {
    flex-wrap: nowrap;
  }
}

/* Labels de section: orange fonce avec effet glassmorphism */
.section-title span,
.section-title .sp-color1,
.agm-featured-product-content .sp-color1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: rgba(191, 78, 25, 0.78) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(8px) saturate(125%);
  -webkit-backdrop-filter: blur(8px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 20px rgba(120, 46, 11, 0.25);
  letter-spacing: 0.08em;
}
html.theme-dark .section-title span,
html.theme-dark .section-title .sp-color1 {
  background: rgba(191, 78, 25, 0.78) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(8px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(125%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 20px rgba(120, 46, 11, 0.25) !important;
}

/* Section Applications metier: 4 blocs fixes (2x2), palette orange/blanc/noir */
.agm-services-grid .agm-service-card {
  height: 100%;
  padding: 1.6rem 1.35rem 1.35rem;
  background: #ffffff !important;
  border: none !important;
  border-radius: 12px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.16),
    0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.agm-services-grid .agm-service-card i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  background: rgba(236, 108, 43, 0.14) !important;
  color: #ec6c2b !important;
  font-size: 2rem;
}
.agm-services-grid .agm-service-card h3,
.agm-services-grid .agm-service-card h3 a {
  color: #111111 !important;
}
.agm-services-grid .agm-service-card p {
  color: #222222 !important;
}
.what-did-right-img {
  border-radius: 12px;
  overflow: hidden;
}
.what-did-right-img img {
  border-radius: 12px;
}

/* Fiche produit: supprimer l'espace blanc sous l'image principale */
.section-product-single.tf-main-product.section-image-zoom .product-thumbs-slider .tf-product-media-main,
.section-product-single.tf-main-product.section-image-zoom .product-thumbs-slider .tf-product-media-main .swiper-wrapper,
.section-product-single.tf-main-product.section-image-zoom .product-thumbs-slider .tf-product-media-main .swiper-slide,
.section-product-single.tf-main-product.section-image-zoom .product-thumbs-slider .tf-product-media-main .item {
  height: auto !important;
  min-height: 0 !important;
}
.section-product-single.tf-main-product.section-image-zoom .product-thumbs-slider .tf-product-media-main .item img {
  height: auto !important;
  width: 100%;
  object-fit: contain;
  display: block;
}
.services-area .container {
  max-width: 980px;
  padding-left: clamp(18px, 3.2vw, 44px);
  padding-right: clamp(18px, 3.2vw, 44px);
}
.agm-services-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem !important;
}
.agm-services-grid > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: initial !important;
  padding: 0 !important;
}
@media (max-width: 640px) {
  .agm-services-grid {
    grid-template-columns: 1fr;
  }
}

/* Section videos: fond orange + separateur decoratif + CTA blanc */
.agm-videos-endoscope {
  position: relative;
  background: linear-gradient(160deg, #ec6c2b 0%, #d85a1f 100%);
  padding-top: 7rem;
  padding-bottom: 7rem;
  overflow: hidden;
}
.agm-videos-endoscope::before,
.agm-videos-endoscope::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 72px;
  background: #ffffff;
  z-index: 0;
}
.agm-videos-endoscope::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%);
  transform: translateY(-1px);
}
.agm-videos-endoscope::after {
  bottom: 0;
  clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
  transform: translateY(1px);
}
.agm-videos-endoscope .container {
  position: relative;
  z-index: 1;
}
.agm-videos-endoscope .section-title h2,
.agm-videos-endoscope .section-title p,
.agm-videos-endoscope .section-title a {
  color: #ffffff !important;
}
.agm-videos-endoscope .section-title h2 {
  color: #ffffff !important;
}
html.theme-dark .agm-videos-endoscope .section-title h2,
.agm-videos-endoscope .section-title.text-center h2 {
  color: #ffffff !important;
}
.agm-videos-endoscope .agm-video-card {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}
.agm-videos-endoscope .agm-video-card-title {
  color: #111111 !important;
}
.agm-videos-endoscope .agm-video-card-play {
  color: #d85a1f !important;
}
.agm-videos-endoscope .default-btn.btn-bg1 {
  background: #ffffff !important;
  color: #d85a1f !important;
  border: 1px solid #ffffff !important;
}
.agm-videos-endoscope .default-btn.btn-bg1:hover {
  background: #fff4ec !important;
  color: #bf4e19 !important;
  border-color: #fff4ec !important;
}

/* Section reassurance: fond orange + titre blanc */
.agm-reassurance-section {
  background: linear-gradient(160deg, #ec6c2b 0%, #d85a1f 100%);
}
.agm-reassurance-section .section-title {
  padding-top: clamp(1.2rem, 3vw, 2.2rem);
}
.agm-reassurance-section .section-title h2,
html.theme-dark .agm-reassurance-section .section-title h2 {
  color: #ffffff !important;
}

/* Page A propos: texte hero en blanc */
.inner-banner.inner-bg6 .inner-title h1,
.inner-banner.inner-bg6 .inner-title ul li,
.inner-banner.inner-bg6 .inner-title ul li a,
.inner-banner.inner-bg6 .inner-title p {
  color: #ffffff !important;
}
.inner-banner.inner-bg6 .inner-title * {
  color: #ffffff !important;
}
.inner-banner.inner-bg6 .inner-title ul li::before {
  color: #ffffff !important;
}
html.theme-dark .inner-banner.inner-bg6 .inner-title h1,
html.theme-dark .inner-banner.inner-bg6 .inner-title h2,
html.theme-dark .inner-banner.inner-bg6 .inner-title h3,
html.theme-dark .inner-banner.inner-bg6 .inner-title p,
html.theme-dark .inner-banner.inner-bg6 .inner-title span,
html.theme-dark .inner-banner.inner-bg6 .inner-title ul li,
html.theme-dark .inner-banner.inner-bg6 .inner-title ul li a,
html.theme-dark .inner-banner.inner-bg6 .inner-title ul li::before,
.inner-banner.inner-bg6 .inner-title h1,
.inner-banner.inner-bg6 .inner-title h2,
.inner-banner.inner-bg6 .inner-title h3,
.inner-banner.inner-bg6 .inner-title p,
.inner-banner.inner-bg6 .inner-title span,
.inner-banner.inner-bg6 .inner-title ul li,
.inner-banner.inner-bg6 .inner-title ul li a,
.inner-banner.inner-bg6 .inner-title ul li::before {
  color: #ffffff !important;
}

/* Blog + pages internes: garantir hero lisible en blanc */
.inner-banner .inner-title h1,
.inner-banner .inner-title h2,
.inner-banner .inner-title h3,
.inner-banner .inner-title p,
.inner-banner .inner-title span,
.inner-banner .inner-title ul li,
.inner-banner .inner-title ul li a,
.inner-banner .inner-title ul li::before {
  color: #ffffff !important;
}

/* Hero article individuel: verrouiller le blanc */
.agm-article-hero .inner-title h1,
.agm-article-hero .inner-title h2,
.agm-article-hero .inner-title h3,
.agm-article-hero .inner-title p,
.agm-article-hero .inner-title span,
.agm-article-hero .inner-title ul li,
.agm-article-hero .inner-title ul li a,
.agm-article-hero .inner-title ul li::before {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Override final: breadcrumb hero (inclut "Accueil") toujours en blanc */
html.theme-dark .inner-banner .inner-title ul li,
html.theme-dark .inner-banner .inner-title ul li a,
html.theme-dark .inner-banner .inner-title ul li a:hover,
html.theme-dark .inner-banner .inner-title ul li::before,
html.theme-dark .inner-banner .inner-title ul li:first-child a,
html.theme-dark .inner-banner .inner-title ul li:first-child {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

/* Reassurance sections: espace haut + titre blanc (override final) */
.agm-reassurance-section .section-title {
  padding-top: clamp(1.8rem, 4.2vw, 3rem) !important;
}
.agm-reassurance-section .section-title h2,
html.theme-dark .agm-reassurance-section .section-title h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Espace entre section produit phare et section blog */
.blog-widget-area#actualites {
  margin-top: 1.75rem;
}

/* Produit phare: layout image gauche + contenu a droite */
.agm-featured-product-section {
  padding-top: clamp(2.2rem, 5vw, 4rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.2rem);
}
.agm-featured-product-grid {
  max-width: 1080px;
  margin: 0 auto;
}
.agm-featured-product-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}
.agm-featured-product-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.agm-featured-product-content {
  text-align: left;
}
.agm-featured-product-content .sp-color1 {
  margin-bottom: 0.8rem;
}
.agm-featured-product-content h2 {
  margin-bottom: 0.85rem;
}
.agm-featured-product-content h2:hover,
.agm-featured-product-content h2:hover a,
.agm-featured-product-content h2 a:hover {
  color: #d85a1f !important;
}
.agm-featured-product-content p {
  margin-bottom: 1.15rem;
}
.agm-featured-product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.agm-featured-product-cta-row .default-btn i {
  margin-right: 0.4rem;
  font-size: 1.05em;
}
@media (max-width: 991px) {
  .agm-featured-product-content {
    text-align: center;
  }
  .agm-featured-product-content .sp-color1 {
    margin-left: auto;
    margin-right: auto;
  }
  .agm-featured-product-cta-row {
    justify-content: center;
  }
}

/* FAQ: fond blanc + effet ombre pour detacher du fond de section */
.faq-accordion .accordion .accordion-item {
  background: #ffffff !important;
  border: none !important;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion .accordion-title,
.theme-dark .faq-accordion .accordion .accordion-title {
  background: #ffffff !important;
  color: #111111 !important;
  border: none !important;
}
.faq-accordion .accordion .accordion-title.active,
.theme-dark .faq-accordion .accordion .accordion-title.active {
  background: #ec6c2b !important;
  color: #ffffff !important;
}
.faq-accordion .accordion .accordion-content,
.theme-dark .faq-accordion .accordion .accordion-content {
  background: #ffffff !important;
  color: #222222 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* FAQ: image de fond + overlay pour adoucir le contraste */
.faq-area {
  position: relative;
  background-image: url("/landing-hub/public/assets/images/2026/camera-inspection-canalisation-plombier-maison-tubicam-r23-hd.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.faq-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  z-index: 0;
}
.faq-area > .container {
  position: relative;
  z-index: 1;
}
.faq-area .section-title {
  padding-top: clamp(1.4rem, 3.8vw, 2.6rem);
}
.agm-banner-split .play-btn-area {
  display: none;
}
@media (max-width: 991px) {
  .agm-banner-split .agm-banner-split-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 110px;
    padding-bottom: 120px;
  }
  .agm-banner-split .agm-banner-split-media img {
    max-height: 360px;
  }
  .agm-banner-split .agm-hero-video-cta {
    width: 64px;
    height: 64px;
  }
  .agm-banner-split .agm-hero-cta-row {
    flex-direction: row;
    align-items: center;
  }
}

/* Top bar - override final: fond orange, texte/icones blancs, hover noir */
html.theme-dark .top-header,
html.theme-dark .top-header-bg,
.top-header,
.top-header-bg {
  background: #ec6c2b !important;
}
html.theme-dark .top-header .header-left-card ul li,
html.theme-dark .top-header .header-left-card ul li span,
html.theme-dark .top-header .header-left-card ul li a,
html.theme-dark .top-header .header-left-card ul li .head-icon i,
html.theme-dark .top-header .top-right a,
html.theme-dark .top-header .top-right a i,
html.theme-dark .top-header .agm-top-right-links a,
html.theme-dark .top-header .agm-top-right-links a i,
.top-header .header-left-card ul li,
.top-header .header-left-card ul li span,
.top-header .header-left-card ul li a,
.top-header .header-left-card ul li .head-icon i,
.top-header .top-right a,
.top-header .top-right a i,
.top-header .agm-top-right-links a,
.top-header .agm-top-right-links a i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html.theme-dark .top-header .header-left-card ul li a:hover,
html.theme-dark .top-header .header-left-card ul li:hover span,
html.theme-dark .top-header .header-left-card ul li:hover .head-icon i,
html.theme-dark .top-header .top-right a:hover,
html.theme-dark .top-header .top-right a:hover i,
html.theme-dark .top-header .agm-top-right-links a:hover,
html.theme-dark .top-header .agm-top-right-links a:hover i,
.top-header .header-left-card ul li a:hover,
.top-header .header-left-card ul li:hover span,
.top-header .header-left-card ul li:hover .head-icon i,
.top-header .top-right a:hover,
.top-header .top-right a:hover i,
.top-header .agm-top-right-links a:hover,
.top-header .agm-top-right-links a:hover i {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}
html.theme-dark .top-header .header-left .header-left-card ul li::before,
html.theme-dark .top-header .top-right .top-right-login::before,
.top-header .header-left .header-left-card ul li::before,
.top-header .top-right .top-right-login::before {
  background: rgba(255, 255, 255, 0.45) !important;
}
html.theme-dark .top-header .header-left-card ul li .head-icon i,
.top-header .header-left-card ul li .head-icon i {
  margin-right: 6px;
}
html.theme-dark .top-header .header-left .header-left-card ul li,
.top-header .header-left .header-left-card ul li {
  padding-left: 20px !important;
}
html.theme-dark .top-header .header-left .header-left-card ul li > span,
html.theme-dark .top-header .header-left .header-left-card ul li > a,
.top-header .header-left .header-left-card ul li > span,
.top-header .header-left .header-left-card ul li > a {
  margin-left: 6px !important;
}

/* Home forage: section produits en fond blanc + CTA orange */
.agm-forage-products-home {
  background: #ffffff !important;
  padding-top: clamp(2rem, 4vw, 3.2rem);
}
.agm-forage-product-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  height: 100%;
}
.agm-forage-product-card-head {
  background: #f7f2ee;
  padding: 26px 22px;
  position: relative;
  text-align: center;
}
.agm-forage-product-cover {
  margin: -10px -6px 14px;
}
.agm-forage-product-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.agm-forage-product-card-head-lite {
  background: #f5f5f5;
}
.agm-forage-product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ec6c2b;
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
}
.agm-forage-product-tag-lite {
  background: #111;
  color: #ffffff !important;
}
html.theme-dark .agm-forage-product-tag.agm-forage-product-tag-lite,
html.theme-dark .agm-forage-product-tag-lite,
.agm-forage-product-tag.agm-forage-product-tag-lite {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}
.agm-forage-product-card-head h3,
.agm-forage-product-card-head p {
  color: #151515 !important;
}
.agm-forage-product-card-body {
  padding: 22px;
}
.agm-forage-product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.agm-forage-product-title-row h4 {
  margin: 0;
  color: #101010;
}
.agm-forage-product-title-row a {
  color: #ec6c2b !important;
  font-weight: 600;
  font-size: 13px;
}
.agm-forage-product-card-body p {
  color: #353535;
}
.agm-forage-product-card-body ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.agm-forage-product-card-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  color: #1f1f1f;
  font-size: 14px;
}
.agm-forage-product-card-body li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid #ec6c2b;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}
.agm-forage-product-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  border-radius: 999px;
  padding: 12px 16px;
  background: #ec6c2b;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700;
}
.agm-forage-product-cta:hover {
  background: #d85d1f;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Home forage: applications metier en fond blanc + icones orange */
.agm-forage-usecases {
  background: #ffffff !important;
}
.agm-forage-usecases-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.agm-forage-usecases-head .section-title {
  margin-bottom: 0;
  text-align: left;
}
.agm-forage-usecases-head p {
  margin: 0;
  color: #4a4a4a;
  max-width: 460px;
}
.agm-forage-usecase-card {
  background: #ffffff !important;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  box-shadow: none;
  min-height: 210px;
}
.agm-forage-usecase-card h3,
.agm-forage-usecase-card p {
  color: #1c1c1c !important;
}
.agm-forage-usecase-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff5ee;
  color: #ec6c2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}
.agm-forage-usecase-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.agm-forage-usecase-title .agm-forage-usecase-icon {
  margin-bottom: 0;
  flex: 0 0 36px;
}
.agm-forage-usecase-title h3 {
  margin: 0 !important;
}

/* Home forage: section blog style cartes claires */
.agm-forage-blog-grid .col-lg-4 {
  display: flex;
}
.agm-forage-blog-card {
  width: 100%;
  background: #ffffff !important;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.agm-forage-blog-card .agm-blog-card-img {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.agm-forage-blog-card .agm-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agm-forage-blog-card .content {
  padding: 14px 16px 18px !important;
}
.agm-forage-blog-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8eee8;
  color: #d96b29 !important;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.agm-forage-blog-card h3,
.agm-forage-blog-card h3 a {
  color: #161616 !important;
  font-size: 22px;
  line-height: 1.25;
}
.agm-forage-blog-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1c9af;
  background: #fff6ef;
  color: #d96b29 !important;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
}
.agm-forage-blog-cta:hover {
  background: #fce8db;
}

/* Home forage: FAQ style maquette */
.agm-forage-faq {
  background: #ffffff !important;
}
.agm-forage-faq .section-title h2 {
  line-height: 1.12;
}
.agm-forage-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.agm-forage-faq-wrap .accordion-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.agm-forage-faq-wrap .accordion-item .accordion-title {
  background: #ffffff;
  color: #121212 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 48px 14px 16px;
}
.agm-forage-faq-wrap .accordion-item .accordion-title.active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-faq-wrap .accordion-item .accordion-title i {
  color: #ec6c2b !important;
}
.agm-forage-faq-wrap .accordion-item .accordion-content {
  background: #ffffff;
  border-top: 1px solid #f0dfd4;
}
.agm-forage-faq-wrap .accordion-item .accordion-content p {
  margin: 0;
  color: #343434;
  font-size: 14px;
  line-height: 1.55;
}

/* Home forage: section videos alternée */
.agm-forage-video-section {
  background: #ffffff !important;
}
.agm-forage-video-block {
  background: #ffffff;
}
.agm-forage-video-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.agm-forage-video-media .video-embed {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 14px;
  overflow: hidden;
}
.agm-forage-video-media .video-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
}
.agm-forage-video-copy h2 {
  margin: 8px 0 10px;
}
.agm-forage-video-copy p {
  color: #333;
  margin-bottom: 14px;
}
.agm-forage-video-metas {
  display: flex;
  gap: 26px;
  margin-bottom: 16px;
}
.agm-forage-video-metas div {
  display: flex;
  flex-direction: column;
}
.agm-forage-video-metas strong {
  color: #121212;
  font-size: 18px;
}
.agm-forage-video-metas span {
  color: #666;
  font-size: 12px;
}
.agm-forage-video-cta {
  display: inline-block;
  background: #ec6c2b;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
}

/* Fiches produits forage - bloc droit premium */
.agm-forage-product-aside {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}
.agm-forage-product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.agm-forage-product-topline > span {
  color: #5f6773;
  font-size: 14px;
}
.agm-forage-product-topline-badges {
  display: flex;
  gap: 8px;
}
.agm-forage-pdf-pill {
  background: #fff1e8;
  border: 1px solid #f4c6a8;
  color: #d86a27 !important;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 12px;
}
.agm-forage-product-aside h2 {
  margin-bottom: 6px;
}
.agm-forage-product-tagline {
  font-weight: 800;
}
.agm-forage-product-keypoints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.agm-forage-product-keypoints span {
  background: #f5f7fa;
  border: 1px solid #e6ebf2;
  border-radius: 999px;
  padding: 6px 11px;
  font-weight: 700;
  font-size: 13px;
}
.agm-forage-price-box {
  border: 1px solid #d9e0eb;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.agm-forage-price-main {
  font-size: clamp(2rem, 4.3vw, 3rem);
  line-height: 1;
  font-weight: 900;
  color: #111827;
}
.agm-forage-price-sub {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
  color: #4b5563;
}
.agm-forage-price-box p {
  margin: 4px 0 0;
  color: #6b7280;
  font-weight: 700;
}
.agm-forage-variant-box {
  border: 1px solid #f3cdb2;
  background: #fff4ec;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.agm-forage-variant-box h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  text-transform: uppercase;
}
.agm-forage-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.agm-forage-variant-pill {
  text-align: left;
  border: 1px solid #efb993;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}
.agm-forage-variant-pill.is-active {
  background: #ec6c2b;
  border-color: #ec6c2b;
  color: #fff;
}
.agm-forage-variant-pill.is-active .agm-forage-variant-length,
.agm-forage-variant-pill.is-active .agm-forage-variant-prices {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-variant-length {
  display: block;
  font-weight: 800;
}
.agm-forage-variant-prices {
  display: block;
  font-size: 12px;
}
.agm-forage-main-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.agm-forage-main-ctas .default-btn {
  text-align: center;
}
.agm-forage-main-ctas .default-btn:not(.btn-bg1) {
  background: #fff;
  border: 1px solid #d7dbe2;
  color: #1f2937;
}
.agm-forage-mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.agm-forage-mini-specs > div {
  border: 1px solid #eceff4;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
}
.agm-forage-mini-specs span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 700;
}
.agm-forage-mini-specs strong {
  display: block;
  margin-top: 3px;
  color: #111827;
}

/* Fiches forage - design onglets (navigation + contenus) */
.agm-forage-tabs-section .agm-forage-tabs-nav {
  border-bottom: 1px solid #e6e6e6;
  gap: 6px;
}
.agm-forage-tabs-section .agm-forage-tabs-nav .nav-item {
  margin-bottom: -1px;
}
.agm-forage-tabs-section .agm-forage-tabs-nav .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #1f2937;
  font-weight: 700;
  padding: 10px 12px;
}
.agm-forage-tabs-section .agm-forage-tabs-nav .nav-link.active {
  color: #ec6c2b;
  border-bottom-color: #ec6c2b;
}
.agm-forage-tabs-section .tab-content_desc {
  border: 1px solid #ececec;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
}
.agm-forage-tabs-section .tab-content_desc h3 {
  font-size: 1.08rem;
  margin-top: 12px;
  margin-bottom: 8px;
}
.agm-forage-tabs-section .tab-content_desc ul,
.agm-forage-tabs-section .tab-content_desc ol {
  margin-bottom: 0;
}
.agm-forage-tabs-section #utilisation .video-embed {
  border-radius: 12px;
  overflow: hidden;
}
.agm-forage-tabs-section #utilisation .video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.agm-forage-tabs-section #videos .video-embed {
  border-radius: 12px;
  overflow: hidden;
}
.agm-forage-tabs-section #videos .video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.agm-forage-tabs-section #faq .tab-content_desc h3 {
  background: #ec6c2b;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 6px;
  font-size: 1rem;
  transition: none !important;
}
.agm-forage-tabs-section #faq .tab-content_desc h3:hover {
  background: #ec6c2b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-tabs-section #faq .tab-content_desc p {
  border: 1px solid #ececec;
  border-radius: 0 0 8px 8px;
  padding: 10px 14px;
  margin: 0 0 10px;
}
.agm-forage-tech-table th {
  width: 42%;
}
.agm-forage-data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.agm-forage-data-table thead th {
  background: #ec6c2b;
  color: #fff !important;
  padding: 10px 12px;
  font-weight: 700;
  border: 1px solid #d65f22;
}
.agm-forage-data-table td {
  padding: 10px 12px;
  border: 1px solid #e6e8ec;
  color: #1f2937;
  vertical-align: top;
}
.agm-forage-data-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

/* Onglet description: layout en colonnes + blocs latéraux */
.agm-forage-desc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.agm-forage-desc-main h3 {
  margin-top: 0;
}
.agm-forage-desc-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.agm-forage-desc-card {
  border: 1px solid #e3e8f1;
  border-radius: 12px;
  background: #f7f8fb;
  padding: 14px;
}
.agm-forage-desc-card h3 {
  margin-top: 0;
}
.agm-forage-desc-card p:last-child {
  margin-bottom: 0;
}
.agm-forage-desc-card-doc {
  background: #fff4ec;
  border-color: #f3cfb8;
}
.agm-forage-desc-card-doc .default-btn {
  margin-top: 6px;
}
@media (max-width: 991px) {
  .agm-forage-desc-layout {
    grid-template-columns: 1fr;
  }
}

/* Tableau comparatif enrichi - fiches forage */
.agm-forage-comparison-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  margin-top: 34px;
}
.agm-forage-comparison-table {
  border-radius: 14px;
  overflow: hidden;
}
.agm-forage-comparison-table thead th:first-child { border-top-left-radius: 14px; }
.agm-forage-comparison-table thead th:last-child { border-top-right-radius: 14px; }
.agm-forage-comparison-table tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
.agm-forage-comparison-table tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }
.agm-forage-comparison-table thead th {
  vertical-align: top;
  background: #ec6c2b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-comparison-table thead th a {
  display: inline-block;
  margin-bottom: 4px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-comp-subtitle {
  display: block;
  font-size: 12px;
  color: #ffe6d6;
  font-weight: 600;
}
.agm-forage-comparison-table td.agm-comp-current,
.agm-forage-comparison-table th.agm-comp-current {
  background: rgba(236, 108, 43, 0.12) !important;
}
.agm-forage-comparison-table th.agm-comp-current,
.agm-forage-comparison-table th.agm-comp-current a,
.agm-forage-comparison-table th.agm-comp-current .agm-forage-comp-subtitle {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

/* Home forage: section engagement qualité en fond orange */
#engagement-qualite {
  background: #ec6c2b !important;
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}
#engagement-qualite .section-title h2,
#engagement-qualite .section-title .sp-color1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#engagement-qualite .services-item {
  border-radius: 12px !important;
  overflow: hidden;
}

/* Home forage: section AGM-TEC sous cas d'usage */
.agm-forage-agmtec {
  background: #ffffff !important;
}
.agm-forage-agmtec-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}
.agm-forage-agmtec-top h2 {
  margin: 6px 0 0;
}
.agm-forage-agmtec-top p {
  margin: 0;
  color: #3b3b3b;
}
.agm-forage-agmtec-panel {
  background: linear-gradient(135deg, #071227 0%, #0b1831 100%);
  border-radius: 14px;
  padding: 22px 20px;
  color: #fff;
  min-height: 100%;
}
.agm-forage-agmtec-panel h3,
.agm-forage-agmtec-panel p,
.agm-forage-agmtec-panel li {
  color: #fff !important;
}
html.theme-dark .agm-forage-agmtec-panel,
html.theme-dark .agm-forage-agmtec-panel h3,
html.theme-dark .agm-forage-agmtec-panel p,
html.theme-dark .agm-forage-agmtec-panel li,
html.theme-dark .agm-forage-agmtec-panel a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-agmtec-panel ul {
  margin: 0 0 14px;
  padding-left: 18px;
}
.agm-forage-agmtec-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.agm-forage-agmtec-ctas .default-btn {
  background: #ec6c2b !important;
  border-color: #ec6c2b !important;
  color: #fff !important;
}
.agm-forage-agmtec-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agm-forage-agmtec-stat {
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px 14px;
}
.agm-forage-agmtec-stat strong {
  display: block;
  color: #1a1a1a;
  font-size: 34px;
  line-height: 1;
}
.agm-forage-agmtec-stat span {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: #272727;
}
.agm-forage-agmtec-stat p {
  margin: 6px 0 0;
  color: #555;
}
@media (max-width: 991px) {
  .agm-forage-agmtec-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Hero forage style dark premium */
.agm-forage-hero {
  background: radial-gradient(circle at 20% 20%, rgba(236, 108, 43, 0.16), transparent 38%), #0a0f1a;
  position: relative;
  overflow: hidden;
  padding-top: 108px;
}
.agm-forage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.agm-forage-hero .container {
  position: relative;
  z-index: 1;
}
.agm-forage-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  padding: 24px 0 28px;
}
.agm-forage-hero-left h1 {
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
}
.agm-forage-hero-left h1 span {
  color: #ec6c2b;
  display: block;
}
.agm-forage-hero,
.agm-forage-hero h1,
.agm-forage-hero h2,
.agm-forage-hero h3,
.agm-forage-hero p,
.agm-forage-hero a,
.agm-forage-hero li,
.agm-forage-hero span,
html.theme-dark .agm-forage-hero,
html.theme-dark .agm-forage-hero h1,
html.theme-dark .agm-forage-hero h2,
html.theme-dark .agm-forage-hero h3,
html.theme-dark .agm-forage-hero p,
html.theme-dark .agm-forage-hero a,
html.theme-dark .agm-forage-hero li,
html.theme-dark .agm-forage-hero span {
  -webkit-text-fill-color: currentColor !important;
}
/* Verrouille la hero en blanc/orange uniquement */
.agm-forage-hero,
.agm-forage-hero *,
html.theme-dark .agm-forage-hero,
html.theme-dark .agm-forage-hero * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-hero-kicker {
  display: inline-block;
  color: #ec6c2b;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.agm-forage-hero-left p {
  color: #d7dce4 !important;
  max-width: 560px;
  margin-bottom: 16px;
}
.agm-forage-hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.agm-forage-hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #eceff4;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.agm-forage-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.agm-forage-hero-cta {
  background: #ec6c2b;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.agm-forage-hero-cta-ghost {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.agm-forage-hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agm-forage-hero-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 15, 28, 0.85);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.agm-forage-hero-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ec6c2b;
  color: #fff;
  font-size: 11px;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 700;
}
.agm-forage-hero-card h2 {
  color: #ec6c2b !important;
  -webkit-text-fill-color: #ec6c2b !important;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.agm-forage-hero-card p {
  color: #cfd6df !important;
  margin-bottom: 10px;
}
.agm-forage-hero-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.agm-forage-hero-specs span {
  color: #ec6c2b;
  font-size: 12px;
  font-weight: 700;
}
.agm-forage-hero-link {
  color: #fff !important;
  font-weight: 700;
}
.agm-forage-hero-left h1,
.agm-forage-hero-left p,
.agm-forage-hero-card h2,
.agm-forage-hero-card p,
.agm-forage-hero-link,
.agm-forage-hero-tags span,
.agm-forage-hero-stats span {
  color: #ffffff !important;
}
.agm-forage-hero-left h1 span,
.agm-forage-hero-kicker,
.agm-forage-hero-specs span,
.agm-forage-hero-stats strong {
  color: #ec6c2b !important;
  -webkit-text-fill-color: #ec6c2b !important;
}
.agm-forage-hero-stats strong,
html.theme-dark .agm-forage-hero-stats strong {
  color: #ec6c2b !important;
  -webkit-text-fill-color: #ec6c2b !important;
}
.agm-forage-hero-pill,
.agm-forage-hero-cta {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.agm-forage-hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.agm-forage-hero-stats strong {
  color: #ec6c2b;
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1;
}
.agm-forage-hero-stats span {
  color: #d6dce3;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.7px;
}
@media (max-width: 991px) {
  .agm-forage-hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }
  .agm-forage-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Page A propos forage */
.agm-about-forage {
  background: #ffffff;
}
.agm-about-kpi {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}
.agm-about-kpi strong {
  display: block;
  color: #ec6c2b;
  font-size: 1.4rem;
  line-height: 1;
}
.agm-about-kpi span {
  color: #1f2937;
  font-weight: 600;
  font-size: 13px;
}
.agm-about-block-light {
  background: #f8fafc;
}
.agm-about-footer-cards .agm-about-info-card {
  border: 1px solid #e6e8ec;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  height: 100%;
}
.agm-about-footer-cards .agm-about-info-card h3 {
  margin-top: 0;
}
.agm-about-footer-cards .agm-about-info-card ul {
  margin: 0;
  padding-left: 18px;
}

/* Page videos forage */
.video-area .services-item .video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-top: 12px;
}
.video-area .services-item .video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Page comparatif forage (général) */
.agm-forage-general-comparison-wrap {
  margin-top: 24px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.agm-forage-general-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.agm-forage-general-comparison-table thead th {
  background: #ec6c2b;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  padding: 14px 16px;
}
.agm-forage-general-comparison-table thead th:last-child {
  border-right: 0;
}
.agm-forage-general-comparison-table thead th a {
  color: #fff !important;
}
.agm-forage-general-comparison-table tbody td {
  padding: 12px 16px;
  border-top: 1px solid #ececec;
  border-right: 1px solid #f0f0f0;
  color: #121212;
  vertical-align: top;
}
.agm-forage-general-comparison-table tbody td:last-child {
  border-right: 0;
}
.agm-forage-general-comparison-table .agm-comp-group-row td {
  background: #fff3ec;
  color: #c2551f;
  font-weight: 700;
  border-top: 1px solid #ffd9c8;
}
.agm-forage-general-comparison-table .agm-comp-label {
  font-weight: 700;
  color: #1f2937;
  width: 30%;
}
.agm-forage-general-comparison-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
@media (max-width: 991px) {
  .agm-forage-general-comparison-wrap {
    overflow-x: auto;
  }
  .agm-forage-general-comparison-table {
    min-width: 760px;
  }
}

/* Galerie fiche produit forage */
.agm-forage-media-card {
  border-radius: 18px;
}
.agm-forage-media-main {
  background: #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
}
.agm-forage-media-main img {
  width: 100%;
  display: block;
  border-radius: 16px;
}
.agm-forage-media-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}
.agm-forage-media-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
.agm-forage-media-thumbs .product-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid #dedede;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}
.agm-forage-media-thumbs .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agm-forage-media-thumbs .product-thumb.is-active {
  border-color: #ec6c2b;
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.15);
}
.agm-forage-video-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ec6c2b;
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 26px;
  min-height: 56px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(236, 108, 43, 0.3);
  margin-left: auto;
}
.agm-forage-video-btn i {
  font-size: 18px;
}
@media (max-width: 991px) {
  .agm-forage-media-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .agm-forage-video-btn {
    justify-content: center;
  }
}
@media (max-width: 991px) {
  .agm-forage-usecases-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .agm-forage-usecases-head .section-title {
    text-align: center;
  }
}
