/* =========================================================================
   PRINTÉA — Page « Fibre optique & réseaux » (site-v8)
   Complète service.css (gabarit commun, inchangé) pour cette page seulement.
   ========================================================================= */
.pr-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 1. Introduction : de la fibre à la baie ---------- */
.fb-hero { position: relative; height: 480svh; background: #05080b; }
.fb-hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #05080b; }
.fb-world { position: absolute; top: 0; left: 0; width: 200vw; height: 100%; will-change: transform; }
.fb-shot { position: absolute; top: 0; height: 100%; width: 100vw; overflow: hidden; }
.fb-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fb-shot--fibre { left: 0; --cx: 53%; --cy: 85%; --r: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 var(--r), rgba(0,0,0,.35) calc(var(--r) * 1.4), transparent calc(var(--r) * 2 + 40px)), linear-gradient(90deg, #000 72%, transparent 100%);
  mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 var(--r), rgba(0,0,0,.35) calc(var(--r) * 1.4), transparent calc(var(--r) * 2 + 40px)), linear-gradient(90deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.fb-shot--fibre img { object-position: 50% 50%; filter: saturate(.9) brightness(.92); }
.fb-shot--baie { left: 100vw;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
.fb-shot--baie img { object-position: 62% 50%; }
.fb-baie__base { filter: brightness(.22) saturate(.4); }
.fb-baie__lit { --lit: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--lit) * 140% - 40%), transparent calc(var(--lit) * 140%));
  mask-image: linear-gradient(90deg, #000 calc(var(--lit) * 140% - 40%), transparent calc(var(--lit) * 140%));
}
.fb-leds { position: absolute; inset: 0; pointer-events: none; }
.fb-led { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #b8ff9e; box-shadow: 0 0 6px 2px rgba(130, 255, 110, .75), 0 0 18px 4px rgba(130, 255, 110, .3); opacity: 0; transition: opacity .3s; }
.fb-led.is-on { opacity: 1; animation: fb-blink var(--d, 1.3s) steps(1, end) infinite; animation-delay: var(--dl, 0s); }
@keyframes fb-blink { 0%, 62% { opacity: 1; } 63%, 76% { opacity: .25; } 77%, 100% { opacity: 1; } }

.fb-signal { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fb-signal__fiber { fill: none; stroke: rgba(180, 240, 250, .22); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fb-signal__glow { fill: none; stroke: #9ff0fb; stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px #03b4ce) drop-shadow(0 0 14px rgba(3, 180, 206, .6)); }
.fb-signal__pulse { fill: none; stroke: #f2feff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .035 1; stroke-dashoffset: 1.035; opacity: 0; filter: drop-shadow(0 0 6px #03b4ce); }
.fb-signal.is-live .fb-signal__pulse { opacity: 1; animation: fb-pulse 2.6s linear infinite; }
.fb-signal.is-live .fb-signal__pulse--2 { animation-delay: -1.3s; }
@keyframes fb-pulse { from { stroke-dashoffset: 1.035; } to { stroke-dashoffset: 0; } }
.fb-pulse { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #f4feff; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(3, 180, 206, .45), 0 0 26px 10px rgba(3, 180, 206, .85), 0 0 80px 26px rgba(3, 180, 206, .4); }

.fb-hero__shade { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(5, 8, 11, .92) 0%, rgba(5, 8, 11, .6) 42%, rgba(5, 8, 11, 0) 72%), linear-gradient(0deg, rgba(5, 8, 11, .6) 0%, rgba(5, 8, 11, 0) 35%); }
.fb-hero__intro { position: absolute; z-index: 3; left: 0; right: 0; top: 20svh; display: flex; justify-content: center; }
.fb-hero__intro .eyebrow { color: rgba(255, 255, 255, .78); }
.fb-hero__content { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #fff; }
.fb-hero__content > * { max-width: min(52vw, 760px); }
.fb-hero__title { margin-top: 18px; font-size: clamp(42px, 5.6vw, 104px); line-height: .95; letter-spacing: -.045em; font-weight: 500; }
.fb-hero__title .line-mask { padding-top: .16em; margin-top: -.16em; padding-bottom: .2em; }
.fb-hero__title .line-mask + .line-mask { margin-top: -.36em; }
.fb-hero .svc-hero__hint { color: rgba(255, 255, 255, .7); }

@media (max-width: 899px) {
  .fb-hero__shade { background: linear-gradient(0deg, rgba(5, 8, 11, .94) 0%, rgba(5, 8, 11, .65) 45%, rgba(5, 8, 11, .1) 75%); }
  .fb-hero__content { top: auto; bottom: 6svh; transform: none; }
  .fb-hero__content > * { max-width: none; }
  .fb-hero__title { font-size: clamp(32px, 9.4vw, 52px); }
  .fb-hero .svc-hero__lead { font-size: 15px; }
  .fb-led { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
}

/* ---------- 2. Manifeste ---------- */
.fb-intro { padding-bottom: calc(var(--sec-y) + var(--v-radius)); }

/* ---------- 4. Démonstration : le réseau d'une entreprise ---------- */
.fb-demo {
  z-index: 4; background: var(--v-green-100);
  border-radius: var(--v-radius) var(--v-radius) 0 0; margin-top: calc(var(--v-radius) * -1);
  padding-top: clamp(72px, 11vh, 120px);
}
.fb-demo__head .eyebrow::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; background: linear-gradient(90deg, var(--c-cyan) 0 33%, var(--c-magenta) 33% 66%, var(--c-yellow) 66%); }
.fb-demo__head h2 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 72px); }
.fb-demo__pin { height: 100svh; display: flex; align-items: center; padding-bottom: var(--v-radius); }
.fb-demo__inner { width: 100%; display: flex; flex-direction: column; gap: clamp(22px, 4vh, 44px); }

.demo-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.demo-steps__line { position: absolute; left: 22px; right: calc(20% - 22px); top: 22px; height: 2px; background: rgba(59, 59, 58, .14); }
.demo-steps__line span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta), var(--c-yellow)); transform-origin: 0 50%; transform: scaleX(0); }
.demo-steps button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: var(--c-muted); text-align: left; }
.demo-steps__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #f6f9f8; border: 2px solid rgba(59, 59, 58, .14); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.demo-steps__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--c-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.demo-steps button[aria-selected="true"] { color: var(--c-ink); }
.demo-steps button[aria-selected="true"] .demo-steps__ico { background: var(--c-ink); border-color: var(--c-ink); transform: scale(1.08); }
.demo-steps button[aria-selected="true"] .demo-steps__ico svg { stroke: #fff; }
.demo-steps button.is-done .demo-steps__ico { border-color: var(--c-cyan); }
.demo-steps button.is-done .demo-steps__ico svg { stroke: #0390a5; }
.demo-stage { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.demo-texts { position: relative; min-height: 220px; }
.demo-text { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.demo-text__n { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #0390a5; }
.demo-text h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.demo-text p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--c-muted); max-width: 40ch; }

/* Le schéma du réseau (panneau sombre) */
.net {
  position: relative; height: min(56svh, 540px); border-radius: var(--v-photo-radius); overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 60% 70% at 30% 50%, rgba(3, 180, 206, .12), rgba(3, 180, 206, 0) 70%), linear-gradient(160deg, #3f4644 0%, #2c3130 100%);
  box-shadow: var(--v-shadow);
}
.net::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 22px 22px; }
.net__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.net__link { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.net__flow { fill: none; stroke: var(--c-cyan); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .015 .085; opacity: 0; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(3, 180, 206, .9)); transition: opacity .4s; }
.net__flow.is-on { opacity: 1; animation: net-flow 1.6s linear infinite; }
.net__flow--b.is-on { animation-duration: 1.9s; }
.net__flow--c.is-on { animation-duration: 1.4s; stroke: #f07c8c; filter: drop-shadow(0 0 4px rgba(234, 75, 95, .9)); }
@keyframes net-flow { from { stroke-dashoffset: .1; } to { stroke-dashoffset: 0; } }
.net__node { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -30px); text-align: center; opacity: 0; }
.net__ico { position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #4a5250; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .7); transition: background .35s, border-color .35s, box-shadow .35s; }
.net__ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.net__node b { font-size: 13.5px; font-weight: 600; max-width: 12ch; line-height: 1.2; }
.net__node small { font-size: 12px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.net__node.is-active .net__ico { background: var(--c-cyan); border-color: var(--c-cyan); box-shadow: 0 0 0 6px rgba(3, 180, 206, .18), 0 14px 26px -14px rgba(0, 0, 0, .7); }
.net__node--fibre .net__ico { border-radius: 50%; }
.net__waves { position: absolute; left: var(--x); top: var(--y); width: 60px; height: 60px; margin: -30px 0 0 -30px; pointer-events: none; }
.net__waves i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(3, 180, 206, .8); opacity: 0; }
.net__waves.is-on i { animation: net-wave 2.1s ease-out infinite; }
.net__waves.is-on i:nth-child(2) { animation-delay: .7s; }
.net__waves.is-on i:nth-child(3) { animation-delay: 1.4s; }
@keyframes net-wave { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
.net__wdev { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); opacity: 0; }
.net__wdev svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 899px) {
  .fb-demo__pin { align-items: flex-start; padding-top: calc(var(--nav-h) + 4px); }
  .demo-steps__line { left: 20px; right: calc(20% - 20px); top: 20px; }
  .demo-steps button { align-items: center; text-align: center; font-size: 11px; gap: 6px; }
  .demo-steps button > span:last-child { visibility: hidden; white-space: nowrap; }
  .demo-steps button[aria-selected="true"] > span:last-child { visibility: visible; }
  .demo-steps__ico { width: 40px; height: 40px; }
  .demo-stage { grid-template-columns: 1fr; gap: 18px; }
  .net { height: 47svh; }
  .net__ico { width: 42px; height: 42px; border-radius: 13px; } .net__ico svg { width: 19px; height: 19px; }
  .net__node { transform: translate(-50%, -21px); gap: 4px; }
  .net__node b { font-size: 10.5px; white-space: normal; max-width: 11ch; line-height: 1.15; }
  .net__node small { display: none; }
  .net__waves { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .net__wdev { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 9px; } .net__wdev svg { width: 15px; height: 15px; }
  .demo-texts { min-height: 160px; }
  .demo-text h3 { font-size: 24px; margin-top: 8px; } .demo-text p { font-size: 15px; margin-top: 8px; }
}

/* ---------- Superposition des sections ---------- */
.svc-page--fibre .svc-benefits { z-index: 6; }
.svc-page--fibre .svc-method { z-index: 7; }
.svc-page--fibre .svc-cta { z-index: 8; }
.svc-page--fibre .svc-others { z-index: 9; }
.svc-page--fibre .footer { z-index: 10; }

/* Mouvement réduit : la baie éclairée et le titre, sans animation */
@media (prefers-reduced-motion: reduce) {
  .fb-hero { height: auto; }
  .fb-hero__stage { position: relative; min-height: 100svh; }
  .fb-world { transform: translateX(-100vw); }
  .fb-baie__lit { -webkit-mask-image: none; mask-image: none; }
  .fb-hero__shade { opacity: 1; }
  .fb-signal, .fb-pulse, .fb-hero__intro { display: none; }
  .fb-demo__pin { height: auto; }
  .net__node, .net__wdev { opacity: 1; }
  .net__link { stroke-dashoffset: 0; }
  .demo-text { position: relative; opacity: 1; visibility: visible; margin-bottom: 20px; }
}
