/* Page d’accueil — WATIS Backbone Fiber (fond bleu-vert, pas de blanc pur) */
.bf-home {
  --bf-home-max: 1120px;
  font-family: var(--bf-font);
  color: var(--bf-text);
  background: var(--bf-page-gradient);
  background-attachment: fixed;
  min-height: 100vh;
}

.bf-home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bf-home-bg svg {
  position: absolute;
  width: min(1400px, 180vw);
  height: auto;
  opacity: 0.45;
  top: -8%;
  right: -20%;
  color: var(--bf-teal);
}

.bf-home-bg .glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
}

.bf-home-bg .glow-orb.a {
  width: 480px;
  height: 480px;
  background: var(--bf-blue);
  top: 8%;
  left: -12%;
}

.bf-home-bg .glow-orb.b {
  width: 400px;
  height: 400px;
  background: var(--bf-green);
  opacity: 0.28;
  bottom: 18%;
  right: 0%;
}

.bf-home-bg .glow-orb.c {
  width: 320px;
  height: 320px;
  background: var(--bf-glow);
  opacity: 0.35;
  top: 45%;
  right: 25%;
}

.bf-home-inner {
  position: relative;
  z-index: 1;
}

.bf-nav {
  max-width: var(--bf-home-max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bf-nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bf-nav-wordmark {
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.2;
}

.bf-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bf-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--bf-muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

@media (max-width: 640px) {
  .bf-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px;
    gap: 12px;
  }

  .bf-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .bf-nav-links a {
    font-size: 13px;
    padding: 8px 12px;
  }

  .bf-nav-cta {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

.bf-nav-links a:hover {
  color: var(--bf-blue);
  background: rgba(30, 86, 160, 0.1);
}

.bf-nav-cta {
  background: var(--bf-green) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(57, 181, 74, 0.35);
}

.bf-nav-cta:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.bf-hero {
  max-width: var(--bf-home-max);
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .bf-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    text-align: center;
  }

  .bf-hero-visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .bf-hero-copy .bf-cta-row {
    justify-content: center;
  }

  .bf-nav-wordmark {
    font-size: clamp(14px, 4vw, 17px);
  }
}

.bf-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--bf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.bf-hero h1 {
  font-family: var(--bf-display);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--bf-text);
  margin-bottom: 20px;
}

.bf-hero h1 .grad {
  background: var(--bf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.bf-hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--bf-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}

.bf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.bf-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  background: var(--bf-green);
  color: #fff !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(57, 181, 74, 0.38);
  transition: transform 0.18s, box-shadow 0.18s;
}

.bf-btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(57, 181, 74, 0.45);
}

.bf-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--bf-blue);
  color: var(--bf-blue) !important;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}

.bf-btn-outline:hover {
  background: rgba(30, 86, 160, 0.06);
}

.bf-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.bf-stat strong {
  display: block;
  font-family: var(--bf-display);
  font-size: 1.65rem;
  font-weight: 800;
  background: var(--bf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bf-stat span {
  font-size: 12px;
  color: var(--bf-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.bf-hero-visual {
  position: relative;
}

.bf-hero-visual .card {
  background: var(--bf-surface-solid);
  border: 1px solid var(--bf-border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 56px rgba(30, 86, 160, 0.14);
  position: relative;
  overflow: hidden;
}

.bf-hero-visual .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bf-gradient);
}

.bf-hero-wordmark {
  font-size: clamp(20px, 3.5vw, 26px);
  line-height: 1.2;
  text-align: center;
  margin: 0 auto 8px;
  max-width: 320px;
  align-items: center;
}

.bf-hero-wordmark-sub {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bf-teal);
  margin-bottom: 20px;
}

.bf-fibers-deco {
  margin-top: 20px;
  height: 72px;
  opacity: 0.85;
}

.bf-section {
  padding: 64px 24px;
  background: linear-gradient(
    180deg,
    rgba(198, 228, 224, 0.55) 0%,
    rgba(190, 218, 232, 0.65) 100%
  );
  border-top: 1px solid var(--bf-border);
}

@media (max-width: 640px) {
  .bf-section {
    padding: 40px 16px;
  }

  .bf-footer-cta {
    padding: 40px 16px 36px;
  }

  .bf-footer-mini {
    padding: 16px;
  }
}

.bf-section-inner {
  max-width: var(--bf-home-max);
  margin: 0 auto;
}

.bf-section h2 {
  font-family: var(--bf-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--bf-text);
}

.bf-section .sub {
  text-align: center;
  color: var(--bf-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
}

.bf-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 768px) {
  .bf-features {
    grid-template-columns: 1fr;
  }
}

.bf-feature {
  background: var(--bf-surface-solid);
  border: 1px solid var(--bf-border-strong);
  border-radius: 20px;
  padding: 28px 24px;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}

.bf-feature:hover {
  border-color: rgba(29, 161, 158, 0.35);
  box-shadow: 0 16px 40px rgba(30, 86, 160, 0.08);
  transform: translateY(-3px);
}

.bf-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bf-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.bf-feature h3 {
  font-family: var(--bf-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bf-text);
}

.bf-feature p {
  font-size: 14px;
  color: var(--bf-muted);
  line-height: 1.55;
}

.bf-footer-cta {
  text-align: center;
  padding: 56px 24px 48px;
  background: var(--bf-gradient);
  color: #fff;
}

.bf-footer-cta h2 {
  font-family: var(--bf-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.bf-footer-cta p {
  opacity: 0.92;
  margin-bottom: 22px;
  font-size: 15px;
}

.bf-footer-cta .bf-btn-solid {
  background: #fff;
  color: var(--bf-blue) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.bf-footer-cta .bf-btn-solid:hover {
  color: var(--bf-teal) !important;
}

.bf-footer-mini {
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--bf-muted);
  background: rgba(210, 232, 228, 0.75);
  border-top: 1px solid var(--bf-border);
}
