/* ============================================================
   LQS AQUITAINE — web.css
   Page Web / Services numériques (Mathis Guillet)
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.wb-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #060606;
}

.wb-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}

.wb-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(10,0,0,0.55) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* Grille de points décorative */
.wb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 2;
  pointer-events: none;
}

.wb-hero__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  padding: 0 2rem;
}

.wb-overline {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  padding: 0.35em 1em;
  background: rgba(197,2,2,0.08);
  border: 1px solid rgba(197,2,2,0.22);
  border-radius: 100px;
}

.wb-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.0;
  margin: 0 0 1rem;
}

.wb-hero__title span { color: var(--red); }

.wb-hero__subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.wb-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85em 2em;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 24px rgba(197,2,2,0.35);
}
.wb-hero__cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197,2,2,0.5);
}

/* ── Séparateur scroll ─────────────────────────────────────── */
.wb-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.wb-scroll-hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(197,2,2,0.7), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section intro ─────────────────────────────────────────── */
.wb-intro {
  background: #f5f2ee;
  padding: clamp(3rem, 6vw, 5rem) 2rem;
}

.wb-intro__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.wb-section-label {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.wb-intro__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #111;
  margin-bottom: 1.2rem;
}

.wb-intro__text {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #555;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Section services ──────────────────────────────────────── */
.wb-services {
  background: #0a0a0a;
  padding: clamp(3.5rem, 7vw, 6rem) 2rem;
}

.wb-services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.wb-services__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.wb-services__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.6rem;
}
.wb-services__title span { color: var(--red); }

.wb-services__desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grille 3 colonnes */
.wb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* Carte service */
.wb-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  padding: 2.4rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Reflet haut */
.wb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

/* Barre accent rouge bas */
.wb-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: right 0.4s cubic-bezier(.4,0,.2,1);
}

.wb-card:hover {
  border-color: rgba(197,2,2,0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(197,2,2,0.07) inset;
  transform: translateY(-4px);
}
.wb-card:hover::after { right: 0; }

/* Icône */
.wb-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(197,2,2,0.1);
  border: 1px solid rgba(197,2,2,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--red);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.wb-card:hover .wb-card__icon {
  background: rgba(197,2,2,0.18);
  border-color: rgba(197,2,2,0.45);
}

.wb-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.wb-card__text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin: 0;
  flex: 1;
}

/* ── Section "Je me présente" ──────────────────────────────── */
.wb-about {
  background: #f5f2ee;
  padding: clamp(3.5rem, 7vw, 6rem) 2rem;
}

.wb-about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* Colonne gauche — texte */
.wb-about__text-col {}

.wb-about__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #111;
  margin-bottom: 1.4rem;
  line-height: 1.1;
}
.wb-about__title span { color: var(--red); }

.wb-about__body {
  font-family: 'Barlow', sans-serif;
  font-size: 0.96rem;
  line-height: 1.9;
  color: #555;
}
.wb-about__body p { margin-bottom: 0.9rem; }
.wb-about__body p:last-child { margin-bottom: 0; }

/* Tags / compétences */
.wb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.wb-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  padding: 0.35em 0.85em;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
}
.wb-tag:hover {
  background: rgba(197,2,2,0.08);
  border-color: rgba(197,2,2,0.2);
  color: var(--red);
}

/* Colonne droite — visuel */
.wb-about__visual {
  position: relative;
}

.wb-about__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2.4rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Top accent bar */
.wb-about__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(197,2,2,0.3), transparent);
}

.wb-about__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.wb-stat {
  text-align: center;
  padding: 1.2rem 0.8rem;
  background: #f8f6f3;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
}

.wb-stat__num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.wb-stat__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.wb-about__contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9em 1.8em;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(197,2,2,0.25);
  width: 100%;
}
.wb-about__contact-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197,2,2,0.4);
}

/* ── Responsive ────────────────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .wb-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .wb-about__inner {
    gap: 3rem;
  }
}

@media screen and (max-width: 860px) {
  .wb-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .wb-about__inner {
    grid-template-columns: 1fr;
  }
  .wb-about__visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .wb-hero {
    min-height: 100svh;
  }

  .wb-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wb-card {
    padding: 1.6rem 1.4rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .wb-card__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .wb-card__title {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .wb-card__text {
    width: 100%;
    font-size: 0.88rem;
  }

  .wb-about__stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wb-about__inner {
    gap: 2rem;
  }
}

@media screen and (max-width: 400px) {
  .wb-about__stat-grid {
    grid-template-columns: 1fr;
  }
}
