/* ==========================================================================
   Lay-Com, site vitrine. Couleurs reprises du logo et des outils Lay-Com.
   ========================================================================== */
:root {
  --navy-950: #08111D;
  --navy-900: #0C1725;
  --navy-800: #122236;
  --navy-700: #1E3A5C;
  --blue-600: #27548A;
  --blue-400: #4F82C0;
  --blue-300: #7FA8D8;
  --blue-100: #DCE7F5;
  --blue-50: #EEF3FA;
  --red-600: #C1252D;
  --red-500: #E23A44;
  --red-50: #FDEDEE;
  --glow: #8EC5FF;
  --green: #0F8C5F;

  --ink: #0C1725;
  --ink-soft: #3E5068;
  --muted: #566880;
  --line: #E3E9F2;
  --bg: #F5F7FB;
  --white: #FFFFFF;

  --font-title: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 23, 37, .06), 0 2px 8px rgba(12, 23, 37, .05);
  --shadow: 0 10px 30px -12px rgba(12, 23, 37, .22);
  --shadow-lg: 0 30px 60px -20px rgba(12, 23, 37, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--navy-800); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.2em; }
.ic-sm { width: .9em; height: .9em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 600 .98rem/1 var(--font-body); padding: 15px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(193, 37, 45, .7); }
.btn-primary:hover { background: var(--red-500); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-950); color: var(--blue-100); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-msg a { color: var(--glow); font-weight: 600; }
.topbar-msg a:hover, .topbar-contact a:hover { color: var(--red-500); }
.topbar-contact { gap: 20px !important; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 23, 37, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-700); }
.brand:hover { color: var(--navy-700); }
.brand-mark { width: 40px; height: 44px; color: var(--navy-700); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.5rem/1 var(--font-title); letter-spacing: .02em; color: var(--navy-700); }
.brand-dot { color: var(--red-600); margin: 0 1px; }
.brand-sub { font: 600 .66rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--red-600); margin-top: 6px; }
.brand-light .brand-mark, .brand-light .brand-name { color: #fff; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--navy-800); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav > ul > li > a:not(.btn):hover { background: var(--blue-50); color: var(--navy-800); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--red-600); }
.main-nav .nav-cta { margin-left: 10px; }
.main-nav .nav-cta a { color: #fff; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: -10px; width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; width: 100%; }
.sub a:hover { background: var(--bg); }
.sub .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.sub strong { display: block; font-weight: 600; color: var(--navy-800); }
.sub small { color: var(--muted); font-size: .84rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy-800); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-900); color: var(--blue-100); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-600); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--glow); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.section-dark .lead { color: var(--blue-100); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #27548A55, transparent 60%), radial-gradient(900px 500px at -10% 110%, #C1252D26, transparent 60%), var(--navy-900); color: var(--blue-100); overflow: hidden; }
.hero-fibers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-fibers .base { stroke: rgba(127, 168, 216, .16); stroke-width: 1.5; fill: none; }
.hero-fibers .pulse { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 90 1400; animation: pulse 7s linear infinite; filter: drop-shadow(0 0 6px rgba(142, 197, 255, .9)); }
.hero-fibers .pulse:nth-of-type(2n) { animation-duration: 9s; animation-delay: -3s; }
.hero-fibers .pulse:nth-of-type(3n) { animation-duration: 11s; animation-delay: -6s; }
@keyframes pulse { from { stroke-dashoffset: 1490; } to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: clamp(56px, 10vw, 128px); padding-bottom: clamp(88px, 11vw, 140px); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero .lead { color: var(--blue-100); max-width: 580px; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: .92rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--glow); }

.hero-card { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #fff; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: #9BE3C3; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-steps li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: rgba(8, 17, 29, .5); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px; font-size: .92rem; color: var(--blue-100); }
.hero-steps .ic { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: rgba(127, 168, 216, .16); color: var(--glow); }
.hero-steps strong { display: block; color: #fff; font-weight: 600; }
.tag { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 151, .14); color: #9BE3C3; white-space: nowrap; }
.tag-blue { background: rgba(127, 168, 216, .18); color: var(--glow); }
.tag-red { background: rgba(226, 58, 68, .18); color: #FF9CA2; }
.hero-card-foot { margin: 16px 0 0; font-size: .8rem; color: var(--blue-300); }

/* ---------- Bandeau chiffres ---------- */
.stats-band { position: relative; margin-top: -56px; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--font-title); color: var(--navy-800); letter-spacing: -.03em; }
.stat-value span { color: var(--red-600); }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* ---------- Cartes ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card p { color: var(--ink-soft); }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--blue-600)); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(39, 84, 138, .9); }
.card-icon .ic { width: 26px; height: 26px; }
.card-icon.red { background: linear-gradient(135deg, var(--red-600), var(--red-500)); box-shadow: 0 10px 20px -10px rgba(193, 37, 45, .9); }
.card-icon.soft { background: var(--blue-50); color: var(--blue-600); box-shadow: none; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--navy-800); margin-top: 6px; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: var(--red-600); }
.card ul, .check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .card ul li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--ink-soft); }
.check-list li::before, .card ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327548A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.section-dark .check-list li { color: var(--blue-100); }
.section-dark .check-list li::before { background-color: rgba(127, 168, 216, .18); }

.service-card { padding: 34px; display: flex; flex-direction: column; }
.service-card .num { position: absolute; top: 26px; right: 28px; font: 700 .9rem var(--font-title); color: var(--blue-300); }
.service-card .card-link { margin-top: auto; }

.dark-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; }
.dark-card p { color: var(--blue-300); margin: 0; }
.dark-card h3 { margin-top: 14px; }
.dark-card .ic { width: 28px; height: 28px; color: var(--glow); }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue-300), var(--red-600)); opacity: .35; }
.steps li { position: relative; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100); font: 700 1.05rem var(--font-title); color: var(--navy-700); margin-bottom: 18px; position: relative; box-shadow: var(--shadow-sm); }
.steps li:last-child::before { border-color: var(--red-600); color: var(--red-600); }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Visuel pilotage (maquette tableau de bord) ---------- */
.dash { background: var(--navy-800); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); color: var(--blue-100); font-size: .86rem; }
.dash-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dash-bar i:first-child { background: var(--red-500); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpi { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 14px; }
.dash-kpi b { display: block; font: 700 1.5rem var(--font-title); color: #fff; }
.dash-kpi small { color: var(--blue-300); }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 14px; }
.dash-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--glow), var(--blue-600)); opacity: .9; }
.dash-chart span.hi { background: linear-gradient(180deg, #FF8A91, var(--red-600)); }
.dash-rows { margin-top: 12px; display: grid; gap: 8px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, .04); border-radius: 10px; padding: 10px 12px; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { position: relative; background: radial-gradient(900px 400px at 90% 0%, #27548A66, transparent 60%), var(--navy-900); color: var(--blue-100); padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; background: url("../img/fibre-lines.svg") center/contain no-repeat; opacity: .5; pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 820px; }
.page-hero .lead { color: var(--blue-100); max-width: 680px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; font-size: .86rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--blue-300); }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: var(--blue-100); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Texte riche (pages légales, article) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg); color: var(--navy-800); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.callout { display: flex; gap: 16px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 20px 22px; margin: 1.5em 0; }
.callout .ic { width: 24px; height: 24px; color: var(--blue-600); margin-top: 2px; }
.callout p:last-child { margin: 0; }
.callout-red { background: var(--red-50); border-color: #F6C9CC; }
.callout-red .ic { color: var(--red-600); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--navy-800); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327548A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-answer p:last-child { margin: 0; }
.faq-group-title { margin: 40px 0 16px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.faq-group-title .ic { color: var(--red-600); }

/* ---------- Zones ---------- */
.map-wrap { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; }
.map-wrap svg { width: 100%; height: auto; }
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dept { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.dept b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: #fff; font: 700 1rem var(--font-title); flex: none; }
.dept span { font-weight: 600; color: var(--navy-800); line-height: 1.3; }
.dept small { display: block; color: var(--muted); font-weight: 400; font-size: .84rem; }

/* ---------- Offres d'emploi ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; }
.job h3 { margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.job-meta li { font-size: .82rem; font-weight: 500; background: var(--bg); color: var(--ink-soft); padding: 5px 12px; border-radius: 999px; padding-left: 12px !important; margin: 0 !important; }
.job-meta li::before { display: none; }

/* ---------- Articles ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); position: relative; display: grid; place-items: center; color: var(--glow); }
.post-cover .ic { width: 56px; height: 56px; stroke-width: 1.4; }
.post-cover.red { background: linear-gradient(135deg, var(--red-600), #7E141A); color: #fff; }
.post-cover.blue { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.post-body .card-link { margin-top: auto; }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--navy-800); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(39, 84, 138, .12); }
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .82rem; color: var(--muted); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice-row legend { margin-bottom: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 500; transition: .2s; }
.choice input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--navy-800); }
.hidden-field { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.contact-list .ic { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.contact-list strong { display: block; color: var(--navy-800); }
.contact-list span, .contact-list a { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); color: var(--blue-100); overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 360px; height: 360px; background: url("../img/fibre-lines.svg") center/contain no-repeat; opacity: .55; }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- Plan du site ---------- */
.sitemap-list { columns: 2; column-gap: 48px; list-style: none; padding: 0; }
.sitemap-list li { break-inside: avoid; margin-bottom: 10px; }
.sitemap-list a { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: var(--blue-300); padding-top: 72px; overflow: hidden; font-size: .94rem; }
.footer-glow { position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--glow), var(--red-500), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 20px 0; max-width: 380px; }
.footer-col h2 { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul, .footer-contact, .footer-bottom ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.site-footer a { color: var(--blue-100); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact .ic { color: var(--glow); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 28px; font-size: .84rem; }
.footer-bottom p { margin: 0; max-width: 720px; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Divers ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--navy-800); }
.section-dark .pill-list li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: var(--blue-100); }
.quote { font: 500 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--font-title); color: #fff; letter-spacing: -.01em; margin: 0 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-l { margin-top: 48px; }
.error-code { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--font-title); background: linear-gradient(90deg, var(--glow), var(--red-500)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* Apparition au scroll (désactivée si mouvement réduit) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto; visibility: hidden; transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 16px 4px; font-size: 1.06rem; width: 100%; }
  .main-nav .has-sub > a .ic { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; width: auto; border: 0; box-shadow: none; padding: 0 0 12px; }
  .main-nav .nav-cta { margin: 20px 0 0; border: 0; }
  .main-nav .nav-cta a { width: 100%; padding: 16px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps, .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .topbar-contact { display: none !important; }
  .topbar-msg { font-size: .8rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .form-grid, .dept-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .steps, .steps-5 { grid-template-columns: 1fr; }
  .sitemap-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: 1fr 1fr 1fr; }
  .hero-steps li { grid-template-columns: 36px 1fr; }
  .hero-steps .tag { display: none; }
}
.h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
