/* =========================
       RESET + VARIABLES
    ========================== */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #000;
  --panel: #0a0a0a;
  --panel2: #161616;
  --text: #fff;
  --muted: #bbb;
  --muted2: #bcbcbc;
  --line: #333;
  --accent: #d80104;

  --header-h: 86px;

  --container: 1790px;
  --pad-x: 50px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.fx-word{
  display:inline-block;
  white-space:nowrap;
}

.fx-ch{
  display:inline-block;
}

.fx-sp{
  white-space:pre;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:'Montserrat', sans-serif!important;
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}


/* =========================
       HERO — RESPONSIVE COMME YOUTUBE
    ========================== */
.hero {
  position: relative;
  width: 100%;
  /* ratio 16:9 exact sur mobile, min 100vh sur desktop */
  aspect-ratio: 16 / 9;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* sur mobile pur on force le ratio sans min-height */
@media (max-width: 768px) {
  .hero {
    min-height: unset;
    aspect-ratio: 16 / 9;
    /* minimum pour que le contenu reste lisible */
    min-height: 260px;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.40) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 95px 8px;
}

.red-line {
  width: 15px;
  height: 0;
  
  background: linear-gradient(
    to bottom,
    rgba(216, 1, 4, 1) 0%,
    rgba(216, 1, 4, 0.8) 40%,
    rgba(216, 1, 4, 0.4) 70%,
    rgba(216, 1, 4, 0) 100%
  );
  flex-shrink: 0;
  margin-top: 6px;
  animation: growLine 1.1s ease-out forwards;
  animation-delay: 0.25s;
}


@keyframes growLine {
  to { height: 520px; }
}

.hero-text {
  max-width: 980px;
}

.hero-title {
  font-size: clamp(28px, 6.7vw, 132px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.65s;
}

.hero-subtitle {
  font-size: clamp(13px, 1.3vw, 20px);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.9s;
}

.cta-ref-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: #d80104;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  font-size: clamp(11px, 1.1vw, 15px);
}

.cta-ref-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(.2,.9,.2,1);
  z-index: -1;
}

.cta-ref-btn:hover::before,
.cta-ref-btn:focus-visible::before {
  transform: scaleX(1);
}

.cta-ref-btn:not(:hover)::before {
  transform-origin: right;
}

.cta-ref-btn:hover {
  color: black;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
       TAGLINE
    ========================== */
.tagline {
  background: var(--bg);
  padding: 84px var(--pad-x);
  text-align: center;
}

.tagline .wrap {
  max-width: 1100px;
}

.tagline h2 {
  font-size: clamp(22px, 3vw, 42px);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s ease;
}

.tagline h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.tagline .highlight {
  color: var(--accent);
}

.tagline p {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--muted2);
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s ease;
  transition-delay: 0.12s;
}

.tagline p.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
       PRODUCTS
    ========================== */
.products {
  background: var(--panel2);
}

.products-container {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(420px, 2fr);
  align-items: stretch;
}

.products-image {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s ease;
}

.products-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.products-content {
  padding: clamp(44px, 4.5vw, 86px) clamp(24px, 3.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(39,37,37,0.65), rgba(0,0,0,0.65)),
    url("https://afrique.servermdz.com/bitume3/wp-content/themes/afriquebitume/bg-stat.webp") !important;
}

.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(34px, 5vw, 90px);
  row-gap: clamp(26px, 3.2vw, 54px);
  position: relative;
  padding-top: 6px;
  margin-bottom: 28px;
}

.products-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -27px;
  width: 2px;
  height: 50%;
  background: rgba(255,255,255,.25);
}

.products-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,.25);
}

.product-item {
  max-width: 560px;
}

.product-item h3 {
  font-size: clamp(17px, 1.5vw, 28px);
  line-height: 1.15;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.no-break { white-space: nowrap; }

.product-item p {
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.6;
  color: #fff;
  max-width: 560px;
}

.product-item:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 720px;
}

/* =========================
   BOUTON "VOIR NOS SOLUTIONS" — droite, ligne rouge after, icône flèche
========================= */
.view-solutions {
  text-align: right;
  margin-top: 22px;
}

/* Le lien lui-même */
.discover-link {
  color: #fff;
  text-decoration: none;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 8px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease, color 0.2s ease;
}

.discover-link.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ligne rouge horizontale SOUS le texte — s'étend de gauche à droite */
.discover-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(216, 1, 4, 1) 0%,
    rgba(216, 1, 4, 0.7) 60%,
    rgba(216, 1, 4, 0.2) 100%
  );
}

.discover-link:hover {
  color: var(--accent);
}

/* icône flèche rouge à droite */
.arrow-right-icon {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.discover-link:hover .arrow-right-icon {
  transform: translateX(5px);
}

/* =========================
   TABLET (<= 1024px)
========================= */
@media (max-width: 1024px) {
  .products-container {
    grid-template-columns: 1fr;
  }

  .products-image {
    min-height: 280px;
  }

  .products-content {
    padding: 48px 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .products-grid::before,
  .products-grid::after {
    display: none;
  }

  .product-item,
  .product-item:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .view-solutions {
    justify-content: flex-start;
  }
}

/* =========================
   MOBILE (<= 520px)
========================= */
@media (max-width: 520px) {
  .products-content {
    padding: 36px 16px;
  }

  .product-item h3 {
    font-size: 17px;
  }

  .product-item p {
    font-size: 13px;
  }

  .view-solutions-line {
    height: 36px;
  }
}

/* =========================
       STATS
    ========================== */
.stats {
  position: relative;
  padding: 100px var(--pad-x);
  display: grid;
  background-color: black;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 45%;
  background-image: url("https://afrique.servermdz.com/bitume3/wp-content/themes/afriquebitume/ChatGPT Image 3 mars 2026, 13_44_22.png");
}

.stat-247 {
  font-size: clamp(48px, 6.2vw, 120px);
  font-weight: 900;
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -1px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.85);
  align-items: baseline;
}

.stat-247 .small-suffix {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 900;
  margin-left: 0.06em;
  transform: translateY(0.18em);
  letter-spacing: -0.02em;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  font-size: clamp(48px, 6.2vw, 120px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: 10px;
  font-family: sans-serif;
  text-shadow: 0 10px 30px rgba(0,0,0,0.85);
  display: inline-flex;
  justify-content: center;
}

.stat-number.stat-main {
  display: inline-flex;
  align-items: flex-start;
}

.stat-suffix {
  font-size: .55em;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-0.001em);
  display: inline-block;
}

.stat-label {
  color: rgba(255,255,255,0.92);
  font-size: clamp(13px, 1.2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  line-height: 1.35;
}

.stat-item.visible {
  opacity: 1;
  transform: scale(1);
}

.stat-item:nth-child(2) { transition-delay: 0.12s; }
.stat-item:nth-child(3) { transition-delay: 0.24s; }

/* stats mobile */
@media (max-width: 768px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px var(--pad-x);
  }
}

@media (max-width: 480px) {
  .stats {
    padding: 50px 18px;
  }
}

/* =========================
       QUALITY
    ========================== */
.quality {
  padding: 86px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.43) 0%, rgba(147,147,147,0.19) 15%, rgba(160,160,160,0.17) 35%, rgba(161,161,161,0.10) 60%, rgba(0,0,0,0.80) 100%),
    linear-gradient(to right, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.60) 20%, rgba(0,0,0,0) 40%),
    linear-gradient(to left, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.60) 20%, rgba(0,0,0,0) 40%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 15%, rgba(255,255,255,0) 40%),
    url("https://afrique.servermdz.com/bitume3/wp-content/themes/afriquebitume/my-bg.webp");
}

.quality h2 {
  font-size: clamp(22px, 3vw, 42px);
  margin-bottom: 54px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 1;
}

.quality h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.quality-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #cfcfcf;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 8px;
}

.quality-track.visible {
  opacity: 1;
  transform: translateY(0);
}

.quality-track::before,
.quality-track::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255,255,255,0.82);
  min-width: 60px;
}

.quality-track .word {
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(15px, 1.8vw, 21px);
  text-transform: capitalize;
  color: white;
}

.quality-track .sep {
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  transform: translateY(-1px);
  user-select: none;
}

.quality-track .dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-1px);
  user-select: none;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .quality {
    padding: 54px 18px;
  }

  .quality-track {
    gap: 10px;
    letter-spacing: 1px;
  }

  .quality-track::before,
  .quality-track::after {
    min-width: 30px;
    display:none;
  }

  .quality-track .word {
    font-size: 14px;
  }
}

/* =========================
       PARTNERS
    ========================== */
.partners {
  padding: 86px var(--pad-x);
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.56) 20%, rgba(0,0,0,0.75) 45%),
    radial-gradient(circle at center, rgba(3,3,3,0.08) 0%, rgba(220,220,220,0) 55%),
    url(https://afrique.servermdz.com/bitume3/wp-content/themes/afriquebitume/acteurs.webp);
  position: relative;
  overflow: hidden;
}

.partners h2 {
  font-size: clamp(22px, 3vw, 42px);
  margin-bottom: 54px;
  opacity: 0;
  transform: translateY(24px);
  color: #ffffff;
  transition: all 0.8s ease;
}

.partners h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.partners-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
  transition-delay: 0.12s;
}

.partners-slider-wrapper.visible {
  opacity: 1;
}

.partners-slider {
  display: flex;
  align-items: center;
  animation: slide 30s linear infinite;
  width: fit-content;
}

.partners-slider:hover {
  animation-play-state: paused;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 0 70px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  font-size: 0;
}

.partner-logo img {
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: .2s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-separator {
  width: 1px;
  height: 92px;
  background: rgba(235,235,235,0.67);
}

/* CTA voir références */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  margin-top: 61px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
  font-size: clamp(12px, 1vw, 15px);
}

.cta-button.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #d80104;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(.2,.9,.2,1);
  z-index: -1;
}

.cta-button:hover::before,
.cta-button:focus-visible::before {
  transform: scaleX(1);
}

.cta-button:not(:hover)::before {
  transform-origin: right;
}

.cta-button:hover,
.cta-button:focus-visible {
  color: #fff;
  border-color: #d80104;
}

/* =========================
       CTA REFERENCES
    ========================== */
.cta-ref {
  background: #0b0b0b;
  text-align: center;
}

.cta-ref-bottom {
  background-size: cover;
  background-repeat: no-repeat;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 15%, rgba(0,0,0,0.60) 35%, rgba(0,0,0,0.20) 60%, rgba(0,0,0,0) 100%),
    linear-gradient(to right, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.60) 20%, rgba(0,0,0,0) 40%),
    linear-gradient(to left, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.60) 20%, rgba(0,0,0,0) 40%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 15%, rgba(255,255,255,0) 40%),
    url("https://afrique.servermdz.com/bitume3/wp-content/themes/afriquebitume/background.webp");
  padding: 70px var(--pad-x);
}

.cta-ref-bottom h2 {
  font-size: clamp(22px, 3vw, 42px);
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.65s;
}

/* =========================
       FOOTER
    ========================== */
footer {
  padding: 28px var(--pad-x) 30px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted2);
  font-size: 14px;
}

.contact-info a {
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #fff;
}

.contact-sep {
  width: 1px;
  height: 16px;
  background: #444;
  display: inline-block;
}

.footer-divider {
  width: min(560px, 92%);
  height: 1px;
  background: #222;
  margin: 22px auto 14px;
}

footer p {
  color: #666;
  font-size: 13px;
}

/* =========================
       RESPONSIVE GLOBAL
    ========================== */
@media (max-width: 1200px) {
  :root {
    --pad-x: 36px;
  }

  .products-content {
    padding: 60px 40px;
  }
}

@media (max-width: 1024px) {
  :root {
    --pad-x: 28px;
    --header-h: 80px;
  }

  .logo img {
    width: 200px;
  }

  .products-container {
    grid-template-columns: 1fr;
  }

  .products-image {
    min-height: 280px;
    transform: translateY(0);
  }

  .products-content {
    padding: 48px 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .products-grid::before,
  .products-grid::after {
    display: none;
  }

  .product-item:nth-child(3) {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 18px;
    --header-h: 76px;
  }

  header {
    padding: 0 var(--pad-x);
    top: 0;
  }

  .hero-inner {
    align-items: flex-start;
    gap: 10px;
        padding: 95px 0 28px;  }
.logo {
    margin-top: -20px!important;
}
.tagline h2 {
    font-size: clamp(17px, 3vw, 38px);
}
  .hero-subtitle {
    margin-bottom: 14px;
  }

  .red-line {
    width: 4px;
    animation: growLineMobile 1s ease-out forwards;
  }

  @keyframes growLineMobile {
    to { height: 120px; }
  }

  .nav-menu {
    width: 100%;
    padding: 105px 32px 60px;
  }

  .partner-item {
    gap: 38px;
    padding: 0 38px;
  }

  .partner-logo {
    font-size: 24px;
  }

  .partner-logo img {
    max-width: 120px;
  }

  .partner-separator {
    height: 60px;
  }

  .tagline {
    padding: 20px var(--pad-x) 50px;
  }

  .quality {
    padding: 54px 18px;
  }
.quality h2{
        font-size: clamp(17px, 3vw, 38px);
}
.partners h2 {
    font-size: clamp(17px, 3vw, 38px);
}
  .partners {
    padding: 54px var(--pad-x);
  }

  .cta-ref-bottom {
    padding: 54px var(--pad-x);
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 160px;
    
  }

  .hero-title {
    letter-spacing: -1px;
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .cta-ref-btn {
    padding: 12px 20px;
    font-size: 11px;
  }

  .contact-sep {
    display: none;
  }

  .partner-logo img {
    max-width: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =========================
       FX SAFE
    ========================== */
.fx-ch {
  display: inline-block;
  opacity: 0;
  transition: color .28s ease, opacity .18s ease, transform .35s ease, filter .35s ease;
  will-change: transform, filter, color, opacity;
}
.fx-sp { display: inline-block; width: .28em; }

.fx-running .fx-ch { opacity: 1; }
.fx-running .fx-ch.fx-on { transform: translateY(0); filter: blur(0); }
.fx-running .fx-ch.fx-active { filter: blur(0); }

.fx-done .fx-ch {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .fx-ch {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}