/* ==================== SOLUTIONS CARDS ==================== */
.sol-cards-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

/* Support pour 3 colonnes */
.sol-cards-3col {
  grid-template-columns: 1fr 1fr 1fr !important;
}

@media (max-width: 1200px) {
  .sol-cards-3col {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .sol-cards-wrap {
    grid-template-columns: 1fr !important;
  }

  .sol-cards-3col {
    grid-template-columns: 1fr !important;
  }
}

.sol-card {
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sol-card-light {
  background: #fff;
  color: #1f2937;
}

.sol-card-dark {
  background: #1f2937;
  color: #fff;
}

.sol-card-light .sol-badge-price {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.sol-card-dark .sol-badge-price {
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.sol-card-dark .sol-spec-label {
  color: #d1d5db;
}

.sol-card-dark .sol-spec-value {
  color: #fff;
}

.sol-card-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.sol-card-header>div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sol-badge-power {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 1.1rem;
  white-space: nowrap;
}

.sol-badge-tranche {
  background: rgba(0, 0, 0, 0.05);
  color: inherit;
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.sol-badge-tranche::before {
  content: "Tranche mensuelle : ";
  font-weight: 600;
  opacity: 0.85;
}

.sol-card-dark .sol-badge-tranche {
  background: rgba(255, 255, 255, 0.1);
}

.sol-card-usage {
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.sol-card-dark .sol-card-usage {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sol-card-body {
  flex-grow: 1;
  margin-bottom: 20px;
}

.sol-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sol-card-dark .sol-spec-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sol-spec-label {
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sol-card-dark .sol-spec-label {
  color: #9ca3af;
}

.sol-spec-value {
  font-weight: 700;
  color: #222;
  text-align: right;
}

.sol-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 12px;
}

.sol-badge-price {
  font-weight: 700;
  font-size: 1.15rem;
  padding: 8px 20px;
  border-radius: 16px;
  border: 2px solid;
  box-shadow: 0 2px 12px rgba(255, 183, 77, 0.1);
}

@media (max-width: 1024px) {
  .sol-cards-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================
   ITEL ENERGY BÃ‰NIN â€” Design System v2.0
   ========================================== */

:root {
  --red: #ff073c;
  --red-dark: #cc0030;
  --red-light: #ff4d6a;
  --red-pale: #fff0f2;
  --dark: #111827;
  --dark-2: #1f2937;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --font: 'Poppins', 'Segoe UI', sans-serif;

  /* Solar Theme Variables */
  --solar-red: #ff073c;
  --solar-red-dark: #cc0030;
  --solar-dark: #0a0f1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-green {
  background: #00954f;
  color: var(--white);
  border-color: #00954f;
}

.btn-green:hover {
  background: #00954f;
  border-color: #00954f;
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
  border-radius: 6px;
}

/* ==================== SECTION LABELS / HEADERS ==================== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 10px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-top: 6px;
}

/* ==================== NAVBAR ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  background: var(--red);
  box-shadow: 0 2px 12px rgba(255, 7, 60, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.nav-link.nav-cta {
  background: var(--white);
  color: var(--red);
  font-weight: 600;
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--gray-light);
}

/* ==================== DROPDOWN MENU ==================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>.nav-link i {
  font-size: 0.75rem;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover>.nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  display: none;
  z-index: 1000;
  border-top: 3px solid var(--red);
  margin-top: 0px;
}

/* Invisible bridge to prevent dropdown from closing when hovering gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
  display: block;
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu .nav-link {
  display: block;
  padding: 10px 20px;
  color: var(--dark) !important;
  font-weight: 500;
  border-radius: 0;
  background: transparent !important;
  text-align: left;
  font-size: 0.88rem;
  transition: var(--transition);
}

.dropdown-menu .nav-link:hover {
  background: var(--gray-light) !important;
  color: var(--red) !important;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

/* Slideshow layers */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
  z-index: 0;
}

.hero-slide.active {
  transform: translateX(0);
  z-index: 2;
}

.hero-slide.prev {
  transform: translateX(-100%);
  z-index: 1;
}

@keyframes kbZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.88) 0%, rgba(200, 0, 40, 0.5) 100%);
  transition: background 0.7s ease;
}

.hero-overlay--green {
  background: linear-gradient(135deg, rgba(0, 40, 20, 0.90) 0%, rgba(0, 149, 79, 0.60) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1200px;
}

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.35);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 7, 60, 0.9);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  transition: background 0.5s ease;
}

.hero-badge--green {
  background: rgba(0, 149, 79, 0.92);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero>.hero-container>p,
#heroDesc {
  font-size: clamp(1rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 100%;
}

.highlight-yellow {
  color: #ffc107;
}

.hero-text-wrap {
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(0);
  opacity: 1;
}

.hero-text-wrap.fade-out {
  opacity: 0;
  transform: translateY(12px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll span {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: var(--dark);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

/* ==================== ABOUT ==================== */
.about {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 100px 0 0;
  border-top: 6px solid var(--red);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b8a, var(--red));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge-img {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-partners {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--gray);
}

.about-partners strong {
  color: var(--dark);
  font-weight: 600;
}

/* About : barre services — pleine largeur, 2 colonnes desktop */
.about-services-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 64px;
  width: 100%;
  max-width: none;
  align-self: stretch;
  box-sizing: border-box;
}

.about-service-item {
  flex: 1 1 50%;
  min-width: 0;
  width: 50%;
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
  box-sizing: border-box;
}

.about-service-item:nth-child(odd) {
  background: var(--red);
}

.about-service-item:nth-child(even) {
  background: var(--white);
}

.about-service-item:nth-child(odd) i {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  display: block;
}

.about-service-item:nth-child(even) i {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.about-service-item:nth-child(odd) h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.about-service-item:nth-child(even) h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.about-service-item:nth-child(odd) p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.about-service-item:nth-child(even) p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

.about-service-item:nth-child(even):hover {
  background: #fff5f5;
}

@media (max-width: 768px) {
  .about-services-bar {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .about-service-item {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ==================== SERVICES ==================== */
.services {
  padding: 100px 0;
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card.service-red {
  background: var(--red);
  color: var(--white);
}

.service-card.service-red h3,
.service-card.service-red p,
.service-card.service-red i {
  color: var(--white);
}

.service-card.service-red .service-num {
  color: #fff0f2;
  opacity: 0.9;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover i {
  color: var(--red);
}

.service-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gray-light);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.service-num-strong {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--red);
  opacity: 0.18;
  z-index: 1;
}

.service-card.service-red .service-num-strong {
  color: #fff;
  opacity: 0.22;
}

.service-card i {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 20px;
  display: block;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ==================== PRODUITS ==================== */
.produits {
  padding: 110px 0 100px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.produits-bg-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 10% 20%, rgba(255, 7, 60, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 90% 80%, rgba(255, 7, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.produits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.produits .section-label {
  color: var(--red);
}

.produits-header h2 {
  color: var(--white);
}

.produits-header .section-desc {
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 auto;
}

.produits-highlight {
  background: linear-gradient(135deg, var(--red), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grille principale 2 cartes par ligne */
.produits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

/* Carte produit principale */
.produit-card {
  background: var(--dark-2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.produit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(255, 7, 60, 0.18), 0 4px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 7, 60, 0.4);
}

.produit-card--featured {
  border-color: rgba(255, 7, 60, 0.3);
  background: linear-gradient(160deg, #1f2937 0%, #1a1420 100%);
}

.produit-card--featured:hover {
  box-shadow: 0 24px 70px rgba(255, 7, 60, 0.28), 0 4px 20px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 7, 60, 0.65);
}

/* Ligne rouge dÃ©corative en haut */
.produit-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  width: 60%;
  transition: width 0.4s ease;
}

.produit-card:hover .produit-card-accent {
  width: 100%;
}

.produit-card--featured .produit-card-accent {
  width: 100%;
  background: linear-gradient(90deg, var(--red), #ff6b35);
}

/* Badge featured */
.produit-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* IcÃ´ne */
.produit-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(255, 7, 60, 0.12);
  border: 1px solid rgba(255, 7, 60, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 22px 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.produit-icon-wrap i {
  font-size: 1.3rem;
  color: var(--red);
}

.produit-card:hover .produit-icon-wrap {
  background: rgba(255, 7, 60, 0.22);
  transform: rotate(-5deg) scale(1.08);
}

/* Image */
.produit-img-placeholder {
  overflow: hidden;
  aspect-ratio: 16/9;
  margin: 16px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.produit-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}

.produit-card:hover .produit-img-placeholder img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.1);
}

.produit-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.7) 0%, transparent 60%);
  border-radius: 12px;
}

/* Corps */
.produit-body {
  padding: 10px 22px 16px;
  flex: 1;
}

.produit-cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 6px;
}

.produit-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.produit-body p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Features list */
.produit-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.produit-features li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

.produit-features li i {
  color: var(--red);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Tags */
.produit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.produit-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.produit-card:hover .produit-tag {
  background: rgba(255, 7, 60, 0.1);
  border-color: rgba(255, 7, 60, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

/* Lien carte */
.produit-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s, background 0.25s;
  margin-top: auto;
}

.produit-link i {
  font-size: 0.75rem;
  transition: transform 0.25s;
}

.produit-link:hover {
  color: var(--red);
  background: rgba(255, 7, 60, 0.05);
}

.produit-link:hover i {
  transform: translateX(4px);
}

/* Placeholder image Ã  venir */
.produit-img-placeholder--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.produit-img-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.2);
}

.produit-img-coming i {
  font-size: 2rem;
}

.produit-img-coming span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* CTA bas */
.produits-cta-wrap {
  text-align: center;
}

.produits-cta-wrap .btn {
  gap: 10px;
  padding: 15px 36px;
  font-size: 0.95rem;
}

.produits-cta-wrap .btn i {
  font-size: 0.9rem;
}

/* ==================== TEAM AVATARS ==================== */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}

.team-avatar[data-color="2"] {
  background: #1f2937;
}

.team-avatar[data-color="3"] {
  background: #9b1c1c;
}

.team-avatar::after {
  content: attr(data-initials);
}

.team-avatar.sm {
  width: 58px;
  height: 58px;
  font-size: 1rem;
}

/* ==================== Ã‰QUIPE SLIDER ==================== */
.equipe-preview {
  padding: 100px 0 64px;
  background: var(--gray-light);
}

/* Slider outer: full width, relative for nav btns */
.team-slider-outer {
  position: relative;
  overflow: hidden;
}

.team-slider {
  overflow: hidden;
  width: 100%;
}

.team-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slides */
.team-slide {
  flex-shrink: 0;
  /* width set by JS */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 40px 52px;
  min-height: 400px;
  justify-content: center;
}

.team-slide.theme-red {
  background: var(--red);
}

.team-slide.theme-white {
  background: var(--white);
}

.team-slide.theme-dark {
  background: var(--dark);
}

/* Slide avatar (photo placeholder) */
.slide-avatar {
  width: 180px;
  height: 240px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.theme-red .slide-avatar {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.theme-white .slide-avatar {
  background: var(--red);
  color: var(--white);
}

.theme-dark .slide-avatar {
  background: rgba(255, 7, 60, 0.6);
  color: var(--white);
}

.slide-avatar-photo {
  overflow: hidden;
  padding: 0;
  background: none !important;
  border: 3px solid rgba(255, 255, 255, 0.5) !important;
}

.slide-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Slide text */
.team-slide h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.slide-role {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.slide-bio {
  font-size: 0.9rem;
  line-height: 1.72;
  max-width: 280px;
  text-align: justify;
}

.theme-red h4,
.theme-red .slide-bio {
  color: var(--white);
}

.theme-red .slide-role {
  color: rgba(255, 255, 255, 0.75);
}

.theme-white h4 {
  color: var(--dark);
}

.theme-white .slide-role {
  color: var(--red);
}

.theme-white .slide-bio {
  color: var(--gray);
}

.theme-dark h4,
.theme-dark .slide-bio {
  color: var(--white);
}

.theme-dark .slide-role {
  color: rgba(255, 255, 255, 0.55);
}

/* Nav buttons */
.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-nav:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.team-prev {
  left: 20px;
}

.team-next {
  right: 20px;
}

/* Dots */
.team-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.dot.active {
  background: var(--red);
  width: 28px;
  border-radius: 4px;
}

/* CTA below slider */
.team-cta {
  text-align: center;
  padding-bottom: 8px;
}

/* ==================== CONTACT ==================== */
.contact {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info-block>p {
  color: var(--gray);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
}

.contact-details i {
  color: var(--red);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.contact-details a {
  color: var(--dark);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-social {
  display: flex;
  gap: 12px;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--red);
  color: var(--white);
}

/* FORM */
.contact-form-wrap {
  background: var(--red);
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.contact-form-wrap label {
  color: rgba(255, 255, 255, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.form-group textarea {
  resize: vertical;
}

.contact-form-wrap .btn-red {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.contact-form-wrap .btn-red:hover {
  background: var(--gray-light);
}

/* Contact Responsive */
@media (max-width: 991px) {
  .contact {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-form-wrap {
    padding: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .contact-details li {
    font-size: 0.88rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 40px 0;
  }

  .contact-info-block h2 {
    font-size: 1.4rem;
  }

  .contact-form-wrap {
    padding: 20px;
  }

  .contact-details li {
    font-size: 0.85rem;
    gap: 10px;
  }

  .contact-details i {
    font-size: 0.9rem;
    width: 18px;
  }

  .contact-social {
    gap: 10px;
  }

  .contact-social a {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 9px 12px;
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 14px;
  }
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  gap: 16px;
}

.footer-bottom-inner p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

/* ==================== PAGE HERO (Ã©quipe) ==================== */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  padding-bottom: 64px;
}

/* EntÃªte rÃ©duit pour la page galerie */
.page-hero-gallery {
  min-height: 100px;
  padding-bottom: 20px;
  padding-top: 20px;
}

.page-hero-gallery h1 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 4px;
}

.page-hero-gallery p {
  font-size: 0.85rem;
}

.page-hero-gallery .section-label {
  margin-bottom: 4px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 40%, rgba(200, 0, 40, 0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ==================== TEAM PAGE ==================== */
.team-section {
  padding: 80px 0;
}

.team-section-alt {
  background: var(--gray-light);
}

/* Direction cards - featured */
.team-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.member-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.member-card:hover {
  border-top-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.member-card .member-avatar {
  margin-bottom: 20px;
}

.member-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 4px;
}

.member-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.member-title {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 16px;
}

.member-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.member-tags span {
  background: var(--red-pale);
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

/* Poles techniques */
.team-poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pole-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}

.pole-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pole-tag {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

.pole-card h4 {
  font-size: 1rem;
  font-weight: 700;
}

.pole-role {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
}

.pole-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* Support */
.team-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: var(--transition);
}

.support-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.support-card h4 {
  font-size: 1rem;
  font-weight: 700;
}

/* Team contact CTA */
.team-contact-cta {
  background: var(--red);
  padding: 80px 24px;
  text-align: center;
}

.team-contact-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.team-contact-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ==================== FILM GALLERY ==================== */
.film-section {
  background: #0a0a0a;
  padding: 0;
  overflow: hidden;
}

.film-full {
  padding: 0 0 48px;
}

/* Individual film strip row */
.film-strip {
  background: #1a1a1a;
  position: relative;
  margin-bottom: 6px;
  user-select: none;
}

.film-strip-dark {
  background: #111;
}

/* Sprocket holes */
.film-holes {
  height: 24px;
  background-color: #1a1a1a;
  background-image: repeating-linear-gradient(to right,
      transparent 0px,
      transparent 14px,
      #0a0a0a 14px,
      #0a0a0a 30px,
      transparent 30px,
      transparent 44px);
  background-size: 44px 100%;
}

.film-strip-dark .film-holes {
  background-color: #111;
}

/* Scrolling viewport */
.film-viewport {
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
}

/* Track slides (duplicated for loop) */
.film-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: max-content;
  animation: filmScrollLeft 28s linear infinite;
}

.film-track-rev {
  animation: filmScrollRight 28s linear infinite;
}

.film-track-slow {
  animation-duration: 44s;
}

.film-track:hover,
.film-track-rev:hover {
  animation-play-state: paused;
}

@keyframes filmScrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes filmScrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Individual photo frame */
.film-frame {
  flex-shrink: 0;
  width: 280px;
  height: 190px;
  border: 4px solid #333;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: #222;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.film-frame:hover {
  border-color: var(--red);
  transform: scale(1.04);
  z-index: 2;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.05);
  transition: filter 0.25s ease;
}

.film-frame:hover img {
  filter: brightness(1) contrast(1.1);
}

/* ---- Gallery preview section (homepage) ---- */
.galerie-preview-section {
  background: #0a0a0a;
  padding: 40px 0 0;
}

.galerie-preview-section .section-header {
  margin-bottom: 20px;
}

.galerie-preview-section .section-header h2 {
  color: var(--white);
}

.galerie-preview-section .section-label {
  color: var(--red);
}

.galerie-cta {
  padding: 40px 0 60px;
  text-align: center;
}

/* ---- Full gallery page ---- */
.film-full .film-strip {
  margin-bottom: 10px;
}

.film-full .film-frame {
  width: 320px;
  height: 215px;
  border-width: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .film-frame {
    width: 200px;
    height: 135px;
  }

  .film-full .film-frame {
    width: 230px;
    height: 155px;
  }
}

@media (max-width: 480px) {
  .film-frame {
    width: 150px;
    height: 105px;
    border-width: 3px;
  }
}


/* ==================== VERTICAL GALLERY (galerie.html) ==================== */
.gc-section {
  display: flex;
  gap: 6px;
  background: #0a0a0a;
  padding: 0;
  height: calc(100vh - 140px);
  min-height: 800px;
  overflow: hidden;
}

.gc-col {
  flex: 1;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.gc-holes {
  width: 20px;
  flex-shrink: 0;
  background-image: repeating-linear-gradient(to bottom,
      transparent 0px, transparent 12px,
      #0a0a0a 12px, #0a0a0a 24px,
      transparent 24px, transparent 36px);
  background-size: 100% 36px;
  background-color: #1e1e1e;
}

.gc-viewport {
  flex: 1;
  overflow: hidden;
}

.gc-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: gcScrollUp 38s linear infinite;
}

.gc-track-rev {
  animation: gcScrollDown 38s linear infinite;
}

.gc-track:hover,
.gc-track-rev:hover {
  animation-play-state: paused;
}

@keyframes gcScrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes gcScrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.gc-frame {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 3px solid #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}

.gc-frame:hover {
  border-color: var(--red);
}

.gc-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gc-frame:hover img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.1);
}

.gc-frame::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00e";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 7, 60, 0.45);
  opacity: 0;
  transition: opacity 0.2s;
}

.gc-frame:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-close:hover {
  background: var(--red);
}

.lb-prev,
.lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-prev {
  left: 14px;
}

.lb-next {
  right: 14px;
}

.lb-prev:hover,
.lb-next:hover {
  background: var(--red);
}

/* ==================== MEMBER CARDS (equipe.html) ==================== */
.team-page-section {
  padding: 80px 0 100px;
  background: #f8f9fb;
}

.team-page-section .section-header {
  margin-bottom: 56px;
}

.mcard-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

.mcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--accent, var(--red));
}

.mcard.mcard-horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  min-height: auto;
  align-items: flex-start;
  overflow: visible;
}

.mcard-horizontal .mcard-photo {
  width: 280px;
  height: 373px;
  flex-shrink: 0;
  margin: 32px 0 32px 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: auto;
}

.mcard-horizontal .mcard-body {
  padding: 32px 48px;
  justify-content: flex-start;
  flex: 1 1 280px;
  min-width: 0;
  min-height: min-content;
}

@media (max-width: 1024px) {
  .mcard.mcard-horizontal {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .mcard-horizontal .mcard-photo {
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    border-radius: 0;
    aspect-ratio: 3 / 4;
  }

  .mcard-horizontal .mcard-body {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 24px;
    justify-content: flex-start;
  }

  .mcard-horizontal .mcard-bio {
    flex: none;
  }
}

.mcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mcard-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-light);
}

.mcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.mcard:hover .mcard-photo img {
  transform: scale(1.04);
}

.mcard-initials {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcard-initials span {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.mcard-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mcard-dept {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent, var(--red));
  margin-bottom: 5px;
}

.mcard-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  line-height: 1.3;
}

.mcard-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 14px;
}

.mcard-bio {
  font-size: 0.87rem;
  color: #4b5563;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 16px;
  text-align: justify;
}

.mcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.mcard-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50px;
  background: #f1f5f9;
  color: #374151;
  border: 1px solid #e2e8f0;
}

/* Team stats bar */
.team-stat-bar {
  background: var(--dark);
}

.team-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 24px;
}

.team-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.team-stat:last-child {
  border-right: none;
}

.team-stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.team-stat span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.page-hero-team {
  min-height: 260px;
  padding-bottom: 40px;
}

/* ==================== CARLCARE SERVICES ==================== */
.carlcare-section {
  background: var(--white);
  border-top: 6px solid #00954f;
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

.carlcare-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00954f, #34d98c, #00954f);
}

/* Colonne gauche : logo animÃ© (mÃªme gabarit que about-image) */
.carlcare-img-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carlcare-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 4px solid #00954f;
  outline: 2px solid rgba(0, 149, 79, 0.25);
  outline-offset: 6px;
  animation: carlcare-spin 12s linear infinite;
}

.carlcare-logo-wrap:hover {
  animation-play-state: paused;
}

@keyframes carlcare-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.carlcare-logo-img {
  width: 180px;
  height: auto;
  animation: carlcare-counter-spin 12s linear infinite;
}

.carlcare-logo-wrap:hover .carlcare-logo-img {
  animation-play-state: paused;
}

@keyframes carlcare-counter-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* Badge coin infÃ©rieur droit (comme about-badge-img) */
.carlcare-badge-corner {
  background: #00954f !important;
  border-color: var(--white) !important;
}

.carlcare-badge-corner i {
  font-size: 1.8rem;
  color: var(--white);
}

/* Bande 4 cartes pleine largeur */
.carlcare-services-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
}

.carlcare-service-item {
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.carlcare-service-item:nth-child(odd) {
  background: #00954f;
}

.carlcare-service-item:nth-child(even) {
  background: var(--white);
}

.carlcare-service-item:nth-child(odd) i {
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  display: block;
}

.carlcare-service-item:nth-child(even) i {
  font-size: 2.4rem;
  color: #00954f;
  margin-bottom: 16px;
  display: block;
}

.carlcare-service-item:nth-child(odd) h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.carlcare-service-item:nth-child(even) h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.carlcare-service-item:nth-child(odd) p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.carlcare-service-item:nth-child(even) p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.carlcare-service-item:nth-child(even):hover {
  background: #f0fbf5;
}

/* Responsive Carlcare */
@media (max-width: 1024px) {
  .carlcare-services-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .carlcare-services-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .mcard-list {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mcard-list {
    display: flex;
    flex-direction: column;
  }

  .gc-section {
    flex-wrap: wrap;
    height: auto;
  }

  .gc-col {
    flex: 0 0 calc(50% - 3px);
    height: 65vw;
  }

  .team-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .team-stat:nth-child(3),
  .team-stat:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .gc-col {
    flex: 0 0 100%;
    height: 70vw;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .team-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-item strong {
    font-size: 1.6rem;
  }

  .stat-item span {
    font-size: 0.75rem;
  }

  .produits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--red);
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    list-style: none;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu .nav-link {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 18px;
    border-radius: 0;
    background: none;
    text-align: left;
    transition: padding-left .2s, background .2s;
    color: var(--white);
  }

  .nav-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 26px;
  }

  .nav-menu .nav-link.nav-cta {
    background: var(--white);
    color: var(--red);
    padding: 12px 18px;
    font-weight: 600;
  }

  /* Dropdown mobile styling */
  .nav-menu .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    background: rgba(0, 0, 0, 0.15);
    margin-top: 0;
  }

  .nav-menu .nav-dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav-menu .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu .dropdown-menu .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 18px 12px 32px;
  }

  .nav-menu .dropdown-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    padding-left: 38px;
  }

  .hero {
    min-height: 50vh;
    padding: 10px 0 5px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  }

  .hero>.hero-container>p,
  #heroDesc {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .hero-badge {
    font-size: 0.62rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .hero-actions {
    flex-direction: column;
    max-width: 300px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge-img {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .produits-grid {
    grid-template-columns: 1fr;
  }

  .team-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .team-main-grid {
    grid-template-columns: 1fr;
  }

  .team-poles-grid {
    grid-template-columns: 1fr;
  }

  .team-support-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-item {
    padding: 8px 12px;
  }

  .stat-item strong {
    font-size: 1.3rem;
  }

  .stat-item span {
    font-size: 0.65rem;
  }

  /* Solutions section mobile */
  .solutions-section {
    padding: 60px 0 40px;
  }

  .sol-type-tabs {
    flex-direction: column;
    gap: 8px;
    margin: 24px 0 28px;
  }

  .sol-type-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
    border-radius: 8px;
  }

  .sol-type-btn i {
    font-size: 1rem;
  }

  .sol-type-btn span {
    display: inline;
  }

  .sol-cats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-bottom: 20px;
  }

  .sol-cat {
    padding: 5px 8px;
    font-size: 0.65rem;
    border-radius: 2px;
    text-align: center;
  }

  .sol-cat-info {
    padding: 10px 14px;
    font-size: 0.82rem;
    gap: 8px;
    margin-bottom: 12px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 45vh;
    padding: 8px 0 3px;
  }

  .team-preview-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 8px;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-item strong {
    font-size: 1.1rem;
  }

  .stat-item span {
    font-size: 0.55rem;
  }
}

/* ===================================================
   SECTION SOLUTIONS
   =================================================== */
.solutions-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.solutions-section .section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* --- Onglets principaux --- */
.sol-type-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px 0 32px;
}

.sol-type-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  background: #fff;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

a.sol-type-btn {
  text-decoration: none;
}

.sol-type-btn i {
  font-size: 1.1rem;
  color: var(--gray);
  transition: color .25s;
}

.sol-type-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.sol-type-btn:hover i {
  color: var(--red);
}

.sol-type-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 7, 60, .25);
}

.sol-type-btn.active i {
  color: #fff;
}

/* --- Panneaux --- */
.sol-panel {
  display: none;
}

.sol-panel.active {
  display: block;
  animation: solFadeIn .35s ease;
}

@keyframes solFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- CatÃ©gories pills --- */
.sol-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.sol-cat {
  padding: 9px 20px;
  border: 1.5px solid #d1d5db;
  border-radius: 50px;
  background: #fff;
  color: #4b5563;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.sol-cat:hover {
  border-color: var(--red);
  color: var(--red);
}

.sol-cat.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

/* --- Bloc tableau --- */
.sol-table-wrap {
  display: none;
}

.sol-table-wrap.active {
  display: block;
  animation: solFadeIn .3s ease;
}

.sol-cat-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 16px;
  color: #374151;
  font-size: .93rem;
}

.sol-cat-info i {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- Tableau --- */
.sol-table-scroll {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  background: #fff;
}

.sol-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: .93rem;
}

.sol-table thead {
  background: var(--dark);
}

.sol-table thead th {
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sol-table thead th:first-child {
  border-radius: 12px 0 0 0;
}

.sol-table thead th:last-child {
  border-radius: 0 12px 0 0;
}

.sol-table tbody tr {
  border-bottom: 1px solid #f1f3f5;
  transition: background .15s;
}

.sol-table tbody tr:last-child {
  border-bottom: none;
}

.sol-table tbody tr:hover {
  background: #fff8f9;
}

.sol-table tbody td {
  padding: 14px 16px;
  color: #374151;
  vertical-align: middle;
}

.sol-power span {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.sol-usage {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  font-size: .82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.sol-price span {
  display: inline-block;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 700;
  font-size: .88rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #fed7aa;
}

/* --- Coming soon Entreprises --- */
.sol-coming-soon {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  max-width: 500px;
  margin: 0 auto;
}

.sol-cs-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff1f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.sol-cs-icon i {
  font-size: 1.8rem;
  color: var(--red);
}

.sol-coming-soon h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.sol-coming-soon p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* --- Responsive Solutions --- */
@media (max-width: 768px) {
  .sol-type-btn {
    padding: 12px 22px;
    font-size: .92rem;
  }

  .sol-cat {
    font-size: .8rem;
    padding: 8px 14px;
  }

  .sol-table-scroll {
    border-radius: 8px;
  }

  .sol-table {
    font-size: .85rem;
  }

  .sol-table thead th,
  .sol-table tbody td {
    padding: 11px 12px;
  }
}

@media (max-width: 480px) {
  .sol-type-tabs {
    gap: 8px;
  }

  .sol-type-btn span {
    font-size: .85rem;
  }

  .sol-cats {
    gap: 7px;
  }
}

/* Teaser Solutions Homepage */
.sol-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
  text-align: left;
}

.sol-teaser-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.sol-teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .sol-teaser-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
}


/* ==================== STYLED TABLE COMPONENT ==================== */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.styled-table thead tr {
  background: var(--red);
  color: var(--white);
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
  text-align: left;
}

.styled-table tbody tr:nth-child(even) {
  background: var(--gray-light);
}

.styled-table tbody tr:hover {
  background: var(--gray);
}

/* ==================== ACCORDION COMPONENT ==================== */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0;
}

.accordion-header {
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover,
.accordion-header:focus {
  background: var(--red-dark);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
}

.accordion-content.open {
  max-height: 1000px;
}

/* BANNIRE GARANTIE EXTERNALIZED */
.guarantee-banner {
  background: #000 !important;
  color: white !important;
  padding: 40px 0;
}

.guarantee-flex {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}

.guarantee-icon {
  font-size: 3rem;
  opacity: 0.8;
}

.guarantee-text h3 {
  font-size: 1.5rem !important;
  margin-bottom: 5px;
  color: white !important;
}

.guarantee-text p {
  font-size: 1rem !important;
  opacity: 0.9;
  color: white !important;
}

.guarantee-banner .btn-white {
  background: white !important;
  color: #000 !important;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 768px) {
  .guarantee-flex {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== PARCOURS Ã‰QUIPE ==================== */
.parcours-track-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.parcours-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: parcoursScroll 36s linear infinite;
}

.parcours-track:hover {
  animation-play-state: paused;
}

@keyframes parcoursScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.parcours-frame {
  flex-shrink: 0;
  width: 260px;
  height: 195px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.07);
  background: #1a1e2e;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.parcours-frame:hover {
  transform: scale(1.04);
  border-color: var(--red);
}

.parcours-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.parcours-frame:hover img {
  transform: scale(1.06);
}

/* ==================== REALISATIONS & BILAN RESPONSIVE ==================== */
.realisation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.bilan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .realisation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bilan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .realisation-grid {
    grid-template-columns: 1fr;
  }
  .bilan-grid {
    grid-template-columns: 1fr;
  }
}
