/* ============================================================
   LINK6 Informatique — Ancenis-Saint-Géréon · Système visuel
   ------------------------------------------------------------
   Charte LINK6 (novembre 2026) :
   - Bleu Nuit  #0F2537  logo, texte, fonds sombres, pied de page
   - Jaune Slash #FFC512 barre du logo, accent, appel à l'action — 5 % max
   - Bleu Link  #1971A1  liens, boutons, surlignages, pictos
   - Ardoise #4A5C6A texte secondaire · Acier #A9BAC5 texte sur fond nuit
   - Brume #D7E0E6 bordures · Givre #F4F7F9 fond de page · Bleu pâle #E8F2F8 encarts, badges
   Répartition visée : 55 % fonds clairs · 25 % bleu nuit · 15 % bleu Link · 5 % jaune.
   Interdits : texte jaune sur blanc, texte blanc sur jaune (le jaune porte du bleu nuit).
   Contrastes de référence : blanc / bleu Link 4,9:1 · nuit / jaune 11,8:1.
   Typographie : Manrope (texte 400, titres 800), logotype en tracés vectoriels.
   ============================================================ */

:root {
  --nuit: #0F2537;
  --nuit-2: #0A1A28;          /* barre haute : à peine plus sombre que le nuit de l'en-tête */
  --jaune: #FFC512;
  --jaune-hover: #FFD24D;
  --link: #1971A1;
  --link-hover: #135A82;
  --ardoise: #4A5C6A;
  --acier: #A9BAC5;
  --brume: #D7E0E6;
  --givre: #F4F7F9;
  --pale: #E8F2F8;
  --blanc: #FFFFFF;
  --success: #2F8F5C;
  --danger: #B42318;

  --font-body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1600px;   /* élargi le 16/11 (1240 → 1600) : moins de marges sur les grands écrans, sans que le format devienne trop grand */
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -28px rgba(15,37,55,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: clamp(16px, 1.02vw, 18px); font-weight: 400; line-height: 1.65;
  color: var(--nuit); background: var(--givre); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--link-hover); }
strong, b { font-weight: 700; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--nuit); font-weight: 800; line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p.lead { font-size: 1.12rem; color: var(--ardoise); }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
address { font-style: normal; }

/* La barre jaune du logo, reprise comme soulignement d'un mot clé : seul usage du jaune hors boutons */
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.14em; background: var(--jaune); border-radius: 2px; }
.yellow { color: var(--link); }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--grey { background: var(--blanc); }
.section--pale { background: var(--pale); }
.section--nuit { background: var(--nuit); color: var(--acier); }
.section--nuit h1, .section--nuit h2, .section--nuit h3, .section--nuit h4 { color: var(--blanc); }
.section--nuit a:not(.btn) { color: #FFFFFF; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
.section--nuit a:not(.btn):hover { text-decoration-color: var(--jaune); }
.section--nuit .lead { color: var(--acier); }
.section--nuit p, .section--nuit li { color: #D7E0E6; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); margin-bottom: 12px; }
.section--nuit .section-eyebrow { color: var(--acier); }

/* ===== Barre haute ===== */
.top-bar { background: var(--nuit-2); color: var(--acier); font-size: 0.84rem; }
.top-bar-inner { max-width: var(--container); margin: 0 auto; padding: 7px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-bar-info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-item { display: inline-flex; align-items: center; gap: 8px; color: var(--acier); }
.top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--jaune); }
.top-bar-item strong { color: #fff; font-weight: 600; }
.top-bar-phone { color: #fff !important; font-weight: 700; }
.top-bar-phone:hover { color: var(--jaune) !important; text-decoration: none; }
.top-bar-hours-detail { color: var(--acier); font-size: 0.78rem; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: 0.78rem; background: rgba(255,255,255,0.08); color: #fff; }
.open-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #8FD19E; }
.open-badge.is-closed .dot { background: #F0A0A0; }
@media (max-width: 720px) {
  .top-bar-inner { justify-content: center; text-align: center; gap: 8px; padding: 8px 14px; }
  .top-bar-hours-detail { display: none; }
  .top-bar-inner > .top-bar-item:last-child { display: none; }
}

/* ===== En-tête (fond nuit, logotype blanc) ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--nuit); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { height: 64px; width: auto; }
.brand-sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; border-left: 1px solid rgba(255,255,255,0.25); padding-left: 14px; line-height: 1.35; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; flex-wrap: nowrap; }
.nav-links > a, .nav-links > details > summary {
  padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 0.93rem; color: #fff; cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.nav-links > details { position: relative; }   /* le panneau (absolute) se place sous SON bouton, pas au bord de la page */
.nav-links > details > summary::-webkit-details-marker { display: none; }
.nav-links > a:hover, .nav-links > details > summary:hover { background: rgba(255,255,255,0.08); text-decoration: none; color: #fff; }
.nav-links > a.is-active { color: #fff; box-shadow: inset 0 -3px 0 var(--jaune); border-radius: 10px 10px 0 0; }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; background: #fff; border: 1px solid var(--brume); border-radius: var(--radius); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.35); padding: 10px; display: grid; gap: 2px; z-index: 60; }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--nuit); font-weight: 600; font-size: 0.93rem; }
.nav-dropdown a small { display: block; font-weight: 400; color: var(--ardoise); font-size: 0.8rem; }
.nav-dropdown a:hover { background: var(--pale); text-decoration: none; color: var(--link); }
.nav-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--jaune); color: var(--nuit); font-weight: 800; font-size: 0.92rem; white-space: nowrap; }
.nav-cta:hover { background: var(--jaune-hover); text-decoration: none; color: var(--nuit); }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--jaune); outline-offset: 2px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); place-items: center; cursor: pointer; }
.nav-burger span:not(.sr-only) { display: block; width: 20px; height: 2px; background: #fff; margin: 2.5px 0; border-radius: 2px; }
@media (max-width: 1640px) { .brand-sub { display: none; } }
@media (max-width: 1280px) { .brand img, .brand svg { height: 56px; } }
@media (max-width: 1120px) { .nav-links > a, .nav-links > details > summary { padding: 9px 8px; font-size: 0.86rem; } .brand img, .brand svg { height: 48px; } .nav-cta { padding: 10px 14px; font-size: 0.86rem; } }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-toggle:checked ~ .nav-links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--nuit); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 10px var(--gutter) 18px; gap: 2px; box-shadow: 0 24px 40px -30px rgba(0,0,0,0.5);
  }
  .nav-cta { display: none; }
  /* Mobile : le sous-menu se déplie dans le menu, en clair sur fond nuit (plus de panneau flottant par-dessus la page) */
  .nav-links > details { position: static; }
  .nav-links > details > summary { width: 100%; justify-content: space-between; }
  .nav-dropdown { position: static; min-width: 0; background: transparent; border: none; box-shadow: none; padding: 2px 0 8px 12px; border-left: 2px solid rgba(255,255,255,0.15); margin: 0 0 6px 10px; border-radius: 0; }
  .nav-dropdown a { color: #fff; }
  .nav-dropdown a small { color: var(--acier); }
  .nav-dropdown a:hover, .nav-dropdown a[aria-current] { background: rgba(255,255,255,0.08); color: #fff; }
}

/* ===== Boutons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.96rem; transition: transform 0.15s ease, background 0.2s ease; cursor: pointer; border: none; font-family: inherit; line-height: 1.2; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--jaune); color: var(--nuit); }           /* appel à l'action : jaune + bleu nuit (11,8:1) */
.btn-primary:hover { background: var(--jaune-hover); color: var(--nuit); }
.btn-link { background: var(--link); color: #fff; }                      /* action secondaire : bleu Link + blanc (4,9:1) */
.btn-link:hover { background: var(--link-hover); color: #fff; }
.btn-nuit { background: var(--nuit); color: #fff; }
.btn-nuit:hover { background: #163850; color: #fff; }
.btn-ghost { background: transparent; color: var(--nuit); border: 1.5px solid var(--nuit); }
.btn-ghost:hover { background: var(--nuit); color: #fff; }
.btn-ghost--light { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost--light:hover { background: #fff; color: var(--nuit); }
.btn .arrow { width: 18px; height: 18px; position: relative; transition: transform 0.2s ease; }
.btn .arrow::after { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 400; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Hero d'accueil =====
   Titre sur une seule ligne en largeur bureau (taille calée sur la largeur de fenêtre),
   photo entière sans recadrage (la phrase « Arrêtez de ramer » fait partie de l'image),
   boutons sur une ligne, chiffres clés alignés sur quatre colonnes. */
.hero { position: relative; overflow: hidden; background: var(--blanc); padding: clamp(24px, 3.5vw, 44px) 0 clamp(32px, 4vw, 52px); }
.hero-head { margin-bottom: clamp(18px, 2.5vw, 30px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; background: var(--pale); border-radius: 999px; font-size: 0.84rem; font-weight: 600; color: var(--nuit); margin-bottom: 18px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(1.45rem, 2.42vw, 2.3rem); letter-spacing: 0; line-height: 1.15; }
.hero-tagline { margin: 0; color: var(--link); font-weight: 800; font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
@media (min-width: 1100px) { .hero h1 { white-space: nowrap; } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 2.5vw, 32px); align-items: center; }   /* visuel plus large que le texte (demandé plus grand) ; minmax(0, …) empêche le texte d'imposer sa largeur minimale */
.hero .lead { max-width: 640px; margin-bottom: 0.6em; }
.hero-checks { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 8px 18px; }
.hero-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--link); color: #fff; display: inline-grid; place-items: center; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; margin-top: 3px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: clamp(18px, 2.4vw, 28px); }   /* sous la grille texte + visuel : une ligne, alignés */
.hero .hero-actions .btn { padding: 11px 15px; font-size: 0.88rem; white-space: nowrap; }
@media (min-width: 1100px) { .hero .hero-actions { gap: 8px; } }   /* les trois boutons restent alignés (flex, hauteur identique) et passent à la ligne si la colonne est étroite */
.hero-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(22px, 3vw, 34px); padding-top: 20px; border-top: 1px solid var(--brume); }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--nuit); line-height: 1; font-weight: 800; margin-bottom: 4px; }
.hero-trust span { font-size: 0.84rem; color: var(--ardoise); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: auto; }
.hero-badge { position: absolute; left: -10px; bottom: 18px; background: var(--jaune); color: var(--nuit); padding: 10px 14px; border-radius: 14px; font-weight: 800; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.35); transform: rotate(-2deg); font-size: 0.9rem; }
.hero-badge small { display: block; font-weight: 500; font-size: 0.78rem; }
.hero-badge--right { left: auto; right: -10px; background: var(--nuit); color: #fff; transform: rotate(2deg); }
@media (max-width: 920px) {
  /* Sur une colonne, les boutons doivent précéder le visuel (sinon ils passent sous l'image, hors écran) :
     display:contents « dissout » la grille pour pouvoir ordonner texte → boutons → visuel → chiffres. */
  .hero .container { display: flex; flex-direction: column; }
  .hero-inner { display: contents; }
  .hero-visual { order: 3; max-width: 620px; width: 100%; margin: 22px auto 0; }
  .hero-actions { order: 2; }
  .hero-trust { order: 4; }
  .hero-badge { left: 8px; } .hero-badge--right { right: 8px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .hero-trust { grid-template-columns: 1fr 1fr; gap: 12px; } .hero-trust strong { font-size: 1.25rem; } }

/* ===== Bandeau défilant (bleu Link, pas de jaune : il reste rare) ===== */
.marquee { background: var(--link); color: #fff; overflow: hidden; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; }
.marquee-track { display: flex; gap: 48px; padding: 10px 0; white-space: nowrap; animation: marquee 40s linear infinite; width: max-content; }
.marquee-track span::before { content: "/"; margin-right: 14px; color: var(--jaune); font-weight: 800; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Cartes ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.cards-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* Les 6 cartes de services de l'accueil : toujours 3 par rangée dès qu'il y a la place (jamais 5 + 1 orpheline). */
@media (min-width: 1000px) { .cards-grid--services { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--blanc); border: 1px solid var(--brume); border-radius: var(--radius); padding: 28px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; position: relative; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--link); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--pale); color: var(--link); display: grid; place-items: center; margin-bottom: 18px; font-size: 1.5rem; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--ardoise); margin-bottom: 14px; }
.card .card-link { margin-top: auto; }
.card-link { font-weight: 700; font-size: 0.9rem; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: "→"; transition: transform 0.2s ease; }
.card:hover .card-link::after { transform: translateX(4px); }
.card--featured { background: var(--nuit); border-color: var(--nuit); color: var(--acier); }
.card--featured h3 { color: #fff; } .card--featured p { color: #D7E0E6; } .card--featured .card-link { color: #fff; }
.card--featured .card-icon { background: rgba(255,255,255,0.1); color: #fff; }
.card-tag { position: absolute; top: 16px; right: 16px; background: var(--jaune); color: var(--nuit); font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Blocs pleins : encart bleu pâle avec picto rond bleu Link, bloc nuit avec photo */
.block { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
.block--pale { background: var(--pale); color: var(--nuit); }
.block--pale h3 { color: var(--nuit); }
.block--nuit { background: var(--nuit); color: #D7E0E6; }
.block--nuit h3 { color: #fff; }
.block--nuit a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
.block-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--link); color: #fff; display: grid; place-items: center; }
.block-icon svg { width: 40px; height: 40px; }
.block--nuit .block-icon { background: var(--jaune); color: var(--nuit); }
.block p:last-child { margin-bottom: 0; }
.block-photo { grid-template-columns: minmax(200px, 300px) 1fr; }
.block-photo img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.blocks { display: grid; gap: 22px; }
@media (max-width: 720px) { .block, .block-photo { grid-template-columns: 1fr; } .block-icon { width: 64px; height: 64px; } .block-icon svg { width: 30px; height: 30px; } .block-photo img { aspect-ratio: 16 / 10; } }

/* ===== Chiffres clés ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.stat { background: var(--blanc); border: 1px solid var(--brume); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--link); line-height: 1; margin-bottom: 6px; font-weight: 800; }
.stat span { font-size: 0.88rem; color: var(--ardoise); }
.section--nuit .stat { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.section--nuit .stat strong { color: #fff; } .section--nuit .stat span { color: var(--acier); }

/* ===== Étapes ===== */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 36px; }
.step { padding: 26px 22px; background: var(--blanc); border: 1px solid var(--brume); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--link); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--ardoise); margin: 0; }
.section--nuit .step { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.section--nuit .step p { color: #D7E0E6; }

/* ===== Liste à coches ===== */
.feature-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.feature-list--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature-list--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.feature-list .tick { margin-top: 4px; }
.section--nuit .tick, .block--nuit .tick { background: var(--jaune); color: var(--nuit); }

/* ===== Gammes (PC reconditionnés) ===== */
.ranges { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.range { background: var(--blanc); border: 1px solid var(--brume); border-radius: var(--radius-lg); padding: 28px 26px; position: relative; display: flex; flex-direction: column; }
.range--star { border-color: var(--link); box-shadow: var(--shadow); }
.range-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); margin-bottom: 8px; }
.range h3 { font-size: 1.3rem; margin-bottom: 6px; }
.range .usage { color: var(--ardoise); font-size: 0.94rem; min-height: 3em; }
.range ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 0.93rem; }
.range li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.range .btn { margin-top: auto; justify-content: center; }
.range-note { font-size: 0.82rem; color: var(--ardoise); margin-top: 14px; }

/* ===== Bandeau d'appel ===== */
.cta-strip { background: var(--nuit); color: #D7E0E6; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; background-image: radial-gradient(circle at 90% 10%, rgba(25,113,161,0.45), transparent 45%); }
.cta-strip h2 { color: #fff; margin-bottom: 8px; }
.cta-strip p { color: var(--acier); margin: 0; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; } .cta-strip-actions { justify-content: flex-start; } }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--brume); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--brume); }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--nuit); list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.8rem; font-weight: 300; color: var(--link); line-height: 0.8; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-top: 14px; color: var(--ardoise); margin-bottom: 0; }

/* ===== Zones ===== */
.zones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.zone { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--blanc); border: 1px solid var(--brume); border-radius: 12px; color: var(--nuit); font-weight: 600; font-size: 0.94rem; }
.zone small { color: var(--ardoise); font-weight: 400; font-size: 0.8rem; }
.zone:hover { border-color: var(--link); text-decoration: none; background: var(--pale); color: var(--link); }
.zone--current { background: var(--nuit); color: #fff; border-color: var(--nuit); } .zone--current small { color: var(--acier); }

/* ===== Articles ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.post { background: var(--blanc); border: 1px solid var(--brume); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: 0.78rem; color: var(--ardoise); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.post h3 { font-size: 1.12rem; margin: 0; }
.post h3 a { color: var(--nuit); }
.post p { color: var(--ardoise); font-size: 0.93rem; margin: 0; }
.post .card-link { margin-top: auto; padding-top: 8px; }

/* ===== Article (page) ===== */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 1.55rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.3em; }
.article img { border-radius: var(--radius); margin: 24px 0; }
.article blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--jaune); background: var(--pale); border-radius: 0 12px 12px 0; }
.article-meta { color: var(--ardoise); font-size: 0.9rem; margin-bottom: 24px; }
.article table { border-collapse: collapse; width: 100%; font-size: 0.94rem; margin: 20px 0; display: block; overflow-x: auto; max-width: 100%; }
.article th, .article td { border: 1px solid var(--brume); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--pale); color: var(--nuit); font-weight: 700; }

/* ===== Page hero (sous-pages) ===== */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 52px); background: linear-gradient(180deg, var(--pale) 0%, var(--givre) 100%); border-bottom: 1px solid var(--brume); }
.page-hero--photo { position: relative; color: #fff; background: var(--nuit); border: none; min-height: 360px; display: flex; align-items: flex-end; }
.page-hero--photo img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero--photo .container { position: relative; z-index: 1; padding-bottom: 36px; }
.page-hero--photo h1, .page-hero--photo .breadcrumb, .page-hero--photo .breadcrumb a, .page-hero--photo .lead { color: #fff; }
.page-hero--photo .lead { color: #E6EEF3; }
.breadcrumb { font-size: 0.85rem; color: var(--ardoise); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ardoise); } .breadcrumb a:hover { color: var(--link); } .breadcrumb span { opacity: 0.5; }
.page-hero h1 { max-width: 960px; margin-bottom: 14px; }
.page-hero p.lead { max-width: 860px; }
.lead-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.lead-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; margin: 0; }
.lead-points li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--link); color: #fff; display: inline-grid; place-items: center; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; margin-top: 3px; }
.page-hero--photo .lead-points li::before { background: var(--jaune); color: var(--nuit); }

/* ===== Deux colonnes texte + image ===== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.split--reverse > :first-child { order: 2; }
/* Les photos sont affichées entières (pas de recadrage) : plusieurs portent du texte ou un sujet cadré serré. */
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: auto; }
.split > * { min-width: 0; }  /* un tableau ou un texte long défile dans sa colonne au lieu d'élargir la page */
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ===== Carte ===== */
.map-band { padding: clamp(44px, 6vw, 80px) 0; background: var(--blanc); border-top: 1px solid var(--brume); }
.map-wrap { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(22px, 4vw, 44px); align-items: stretch; }
.map-info { display: flex; flex-direction: column; justify-content: center; }
.map-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin: 0 0 8px; }
.map-info h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 12px; }
.map-info address { margin-bottom: 10px; }
.map-hours { color: var(--ardoise); font-size: 0.95rem; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--brume); min-height: 320px; background: var(--pale); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 820px) { .map-wrap { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: flex-start; }
.contact-info-item { padding: 16px 0; border-bottom: 1px solid var(--brume); display: flex; gap: 16px; }
.contact-info-item:last-child { border-bottom: none; }
.contact-info .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--pale); color: var(--link); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info h4 { margin: 0 0 4px; font-size: 0.95rem; }
.contact-info p { margin: 0; color: var(--ardoise); font-size: 0.93rem; }
.contact-form { background: var(--blanc); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--brume); box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--nuit); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--brume); border-radius: 10px; font-family: inherit; font-size: 0.95rem; background: var(--givre); color: var(--nuit); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; background: #fff; }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-msg--ok { background: #E8F4EC; color: var(--success); }
.form-msg--ko { background: #FCEBEA; color: var(--danger); }
.whoami-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.whoami-inline button { border: 1px solid var(--brume); background: #fff; border-radius: 999px; padding: 7px 14px; font-family: inherit; font-size: 0.85rem; cursor: pointer; color: var(--nuit); font-weight: 600; }
.whoami-inline button.is-on, .whoami-inline button:hover { background: var(--link); color: #fff; border-color: var(--link); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-row.two { grid-template-columns: 1fr; } }

/* ===== Pied de page (bleu nuit, texte acier) ===== */
.site-footer { background: var(--nuit); color: var(--acier); padding: 64px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 0.9fr 1.1fr; gap: 32px; margin-bottom: 40px; align-items: start; }   /* 5 colonnes de hauteur comparable (la liste des services est scindée en deux) */
@media (max-width: 1180px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; max-width: 560px; } }
.footer-col .footer-title { color: #fff; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { color: var(--acier); display: block; padding: 4px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-brand .footer-logo { display: inline-block; }
.footer-brand .footer-logo img, .footer-brand .footer-logo svg { height: 64px; width: auto; }
.footer-brand p { color: var(--acier); font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer-brand p a { display: inline; padding: 0; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
.footer-badges { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; gap: 28px; flex-wrap: wrap; }
.footer-badge { display: flex; align-items: center; gap: 14px; color: #fff; }
.footer-badge svg { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; }
.footer-badge strong { display: block; font-size: 0.98rem; }
.footer-badge small { display: block; color: var(--acier); font-size: 0.8rem; max-width: 520px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--acier); font-size: 0.84rem; }
.footer-bottom a { color: var(--acier); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ===== Divers ===== */
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--pale); color: var(--link); font-size: 0.8rem; font-weight: 700; }
.note { font-size: 0.86rem; color: var(--ardoise); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--jaune); color: var(--nuit); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.related { max-width: 900px; margin: 40px auto 0; padding: 26px 30px; background: var(--blanc); border-radius: 16px; border: 1px solid var(--brume); }
.related h2 { font-size: 1.1rem; margin: 0 0 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 24px; }
.related li { margin: 0; } .related a { font-weight: 600; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.legal dt { font-weight: 700; color: var(--nuit); } .legal dd { margin: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dt { margin-top: 8px; } }
.err-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.err-page .code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); color: var(--nuit); line-height: 1; font-weight: 800; }
.err-page .code span { color: var(--jaune); font-weight: 400; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
@media (max-width: 720px) { .hl { white-space: normal; } }

/* Définition citable (GEO) : une phrase autoportante en tête de section */
.definition { max-width: 900px; margin: 0 0 28px; padding: 16px 20px; border-left: 4px solid var(--jaune); background: var(--pale); border-radius: 0 12px 12px 0; font-size: 1.02rem; color: var(--nuit); }

/* ===== Polices auto-hébergées (Manrope, licence OFL) : aucune requête tierce =====
   font-display: optional + préchargement des quatre graisses : la police est utilisée si elle arrive avant le
   premier rendu (le cas normal, même hôte), sinon le repli métrique reste pour la page. Aucun échange de police
   en cours d'affichage, donc aucun décalage de mise en page (CLS). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: optional; src: url("/fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: optional; src: url("/fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: optional; src: url("/fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: optional; src: url("/fonts/manrope-800.woff2") format("woff2"); }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 98%; descent-override: 28%; line-gap-override: 0%; }
.sources { font-size: 0.9rem; color: var(--ardoise); }

.nav-links > details > summary.is-active { box-shadow: inset 0 -3px 0 var(--jaune); border-radius: 10px 10px 0 0; }
.nav-dropdown a[aria-current] { background: var(--pale); color: var(--link); }
.nav-dropdown { min-width: 340px; }
.contact-info-item h3 { font-size: 1rem; margin: 0 0 4px; }   /* ex-h4 : un h3 pour une hiérarchie de titres sans saut */

/* Très grands écrans : la page est plus large (1800 px) et le texte légèrement plus grand, sinon tout paraît petit. */
@media (min-width: 2200px) { html { font-size: 17.5px; } }

/* Lexique informatique (/lexique-informatique) : index alphabétique, une entrée par terme avec ancre */
.lexique-wrap { max-width: 900px; margin: 0 auto; }
.lexique-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.lexique-index a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--pale); border: 1px solid var(--brume); color: var(--nuit); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.lexique-index a:hover { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.lexique-lettre { max-width: 900px; margin: 0 0 36px; }
.lexique-lettre h2 { font-size: 2rem; color: var(--link); border-bottom: 2px solid var(--brume); padding-bottom: 6px; margin: 0 0 6px; scroll-margin-top: 96px; }
.lexique { margin: 0; }
.lexique-item { padding: 18px 0; border-bottom: 1px solid var(--brume); scroll-margin-top: 96px; }
.lexique-item:target { background: var(--givre); margin: 0 -14px; padding-left: 14px; padding-right: 14px; border-radius: 10px; }
.lexique-item dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--nuit); margin: 0 0 8px; }
.lexique-syn { font-weight: 400; color: var(--ardoise); font-size: 0.95rem; }
.lexique-anchor { color: var(--acier); text-decoration: none; margin-right: 8px; }
.lexique-anchor:hover { color: var(--link); }
.lexique-item dd { margin: 0; color: var(--ardoise); }
.lexique-item dd p { margin: 0 0 8px; }
.lexique-voir { font-size: 0.94rem; }

/* Sommaire des articles longs et liens vers le lexique */
.sommaire { background: var(--givre); border: 1px solid var(--brume); border-radius: 12px; padding: 16px 20px; margin: 0 0 28px; }
.sommaire-titre { font-family: var(--font-display); font-weight: 700; color: var(--nuit); margin: 0 0 8px; font-size: 0.98rem; }
.sommaire ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.sommaire li { margin: 0 0 6px; font-size: 0.94rem; break-inside: avoid; }
.sommaire a { color: var(--link); text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
@media (max-width: 640px) { .sommaire ol { columns: 1; } }
.article a.lex { color: inherit; text-decoration: underline dotted var(--link); text-underline-offset: 3px; }
.article a.lex:hover { color: var(--link); }
.article h2 { scroll-margin-top: 96px; }

/* Accessibilité (audit Lighthouse du 18/11/2026) : liens distinguables autrement que par la couleur, contraste sur fonds sombres, bouton menu nommé */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
main p a:not(.btn):not(.card-link):not(.lex), main blockquote a, main li a:not(.btn):not(.card-link) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.site-footer p a, .site-footer a { color: var(--acier); }
.site-footer a:hover { color: #fff; }
.card--featured a:not(.btn):not(.card-link), .section--nuit a:not(.btn):not(.card-link) { color: #fff; }

.page-maj { text-align: center; color: var(--ardoise); font-size: 0.84rem; padding: 0 var(--gutter) 22px; margin: 0; }
.page-maj a { color: var(--ardoise); }
