/* RD IT Informatique — thème « futuriste » (néon cyan / bleu électrique / orange sur bleu nuit)
   Chargé en dernier sur toutes les pages : il surcharge pages.css, site-pro.css et les styles de l'accueil. */
:root {
  color-scheme: dark;
  --fx-bg: #060c17;
  --fx-bg-2: #0a1424;
  --fx-panel: rgba(16, 26, 43, .72);
  --fx-panel-solid: #101a2b;
  --fx-glass: rgba(255, 255, 255, .035);
  --fx-cyan: #00e5ff;
  --fx-blue: #3d8bff;
  --fx-orange: #ffb020;
  --fx-text: #e6eef7;
  --fx-soft: #9fb0c3;
  --fx-line: rgba(0, 229, 255, .14);
  --fx-line-strong: rgba(0, 229, 255, .38);
  --fx-glow: 0 0 0 1px rgba(0, 229, 255, .35), 0 0 24px rgba(0, 229, 255, .25);
  --font-title: "Space Grotesk", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ink: var(--fx-text);
  --ink-soft: var(--fx-soft);
  --paper: var(--fx-bg);
  --line: var(--fx-line);
  --navy: var(--fx-panel-solid);
  --shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 229, 255, .25);
}

/* ---------- Fond : grille lumineuse + halos ---------- */
html body { background: var(--fx-bg); color: var(--fx-text); }
html body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(61, 139, 255, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(0, 229, 255, .10), transparent 60%),
    radial-gradient(800px 600px at 60% 110%, rgba(61, 139, 255, .12), transparent 60%),
    var(--fx-bg);
}
html body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(0, 229, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
::selection { background: rgba(0, 229, 255, .35); color: #fff; }
html { scrollbar-color: #1d3557 var(--fx-bg); }

/* ---------- Typographie ---------- */
html h1, html h2, html h3, html .section-title, html .brand, html .button, html .footer-brand,
html .reviews-score strong, html .step-number, html .web-core strong, html .promo-cadre-prix { font-family: var(--font-title); }
html h1, html h2, html h3 { color: #fff; }
html .section-title { color: #fff; letter-spacing: -.03em; }
html .section-intro, html p { color: var(--fx-soft); }
html .eyebrow {
  font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .16em;
  color: var(--fx-cyan) !important; text-shadow: 0 0 12px rgba(0, 229, 255, .45);
}
html .eyebrow::before { content: "//"; width: auto; height: auto; background: none; color: var(--fx-blue); letter-spacing: 0; }
html .eyebrow::after { content: "_"; margin-left: -.2rem; animation: fx-blink 1.1s steps(1) infinite; }
@keyframes fx-blink { 50% { opacity: 0; } }
html .hero h1 span, html .page-hero h1 span, html .section-title span {
  background: linear-gradient(90deg, var(--fx-cyan), var(--fx-blue) 60%, var(--fx-cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, .35));
  animation: fx-sheen 6s linear infinite;
}
@keyframes fx-sheen { to { background-position: -200% 0; } }

/* ---------- Boutons ---------- */
html .button {
  position: relative; overflow: hidden; border-radius: 12px; color: #04121c !important;
  background: linear-gradient(135deg, var(--fx-cyan), #4fd8ff 55%, var(--fx-blue));
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .6), 0 8px 28px rgba(0, 229, 255, .28);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
html .button::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transition: transform .7s ease;
}
html .button:hover { background: linear-gradient(135deg, #6ff2ff, var(--fx-cyan) 55%, #6aa8ff); box-shadow: 0 0 0 1px var(--fx-cyan), 0 0 34px rgba(0, 229, 255, .55); }
html .button:hover::after { transform: translateX(120%); }
html .button.ghost, html .hero-call, html .promo-vhs-alt, html .promo-cadre-alt {
  background: rgba(0, 229, 255, .06) !important; color: var(--fx-text) !important;
  border: 1px solid var(--fx-line-strong) !important; box-shadow: none !important;
}
html .button.ghost:hover, html .hero-call:hover, html .promo-vhs-alt:hover, html .promo-cadre-alt:hover {
  background: rgba(0, 229, 255, .14) !important; box-shadow: 0 0 22px rgba(0, 229, 255, .3) !important;
}
html .text-link, html .card-more { color: var(--fx-cyan); }

/* ---------- En-tête ---------- */
html .topbar.is-scrolled { background: rgba(6, 12, 23, .78); box-shadow: 0 1px 0 var(--fx-line), 0 12px 40px rgba(0, 0, 0, .5); }
html .nav { border-bottom-color: var(--fx-line); }
html .brand-mark { color: #04121c; background: linear-gradient(135deg, var(--fx-cyan), var(--fx-blue)); box-shadow: 0 0 18px rgba(0, 229, 255, .55); }
html .nav-links { color: #b8c7d8; }
html .nav-links > a:not(.button), html .nav-parent { position: relative; }
html .nav-links > a:not(.button)::after, html .nav-parent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; transform: scaleX(0);
  background: var(--fx-cyan); box-shadow: 0 0 8px var(--fx-cyan); transition: transform .25s ease;
}
html .nav-links > a:not(.button):hover::after, html .nav-parent:hover::after { transform: scaleX(1); }
html .sub, html .nav-links.is-open { background: rgba(8, 16, 30, .96); border: 1px solid var(--fx-line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 30px rgba(0, 229, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (max-width: 980px) { html .nav-links.is-open .sub { background: none; border: 0; box-shadow: none; } }
html .sub a:hover, html .sub a[aria-current="page"] { background: rgba(0, 229, 255, .1); color: #fff; }
html .menu-toggle { border-color: var(--fx-line-strong); }
html .assist-btn { border-radius: 12px; background: var(--fx-orange); color: #1a1200 !important; box-shadow: 0 0 0 1px rgba(255, 176, 32, .6), 0 0 24px rgba(255, 176, 32, .4); }
html .assist-btn:hover { background: #ffc24d; box-shadow: 0 0 0 1px #ffc24d, 0 0 34px rgba(255, 176, 32, .6); }
html .assist-pulse { border-color: var(--fx-bg); }
html .call-fab { color: #04121c; background: linear-gradient(135deg, var(--fx-cyan), var(--fx-blue)); box-shadow: 0 0 0 1px var(--fx-cyan), 0 0 30px rgba(0, 229, 255, .5); }

/* ---------- Héros (accueil + pages) ---------- */
html .hero, html .page-hero { background: transparent; isolation: isolate; }
html .hero::before, html .page-hero::before {
  background:
    radial-gradient(ellipse at 76% 45%, rgba(61, 139, 255, .30) 0, rgba(0, 229, 255, .08) 28%, transparent 58%),
    linear-gradient(180deg, rgba(6, 12, 23, .2), var(--fx-bg) 98%);
}
html .hero::after, html .page-hero::after { border-color: rgba(0, 229, 255, .12); box-shadow: 0 0 0 55px rgba(0, 229, 255, .025), 0 0 0 110px rgba(61, 139, 255, .02); animation: fx-pulse-ring 8s ease-in-out infinite; }
@keyframes fx-pulse-ring { 50% { transform: scale(1.04); opacity: .6; } }
.fx-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; }
html .hero .wrap, html .page-hero .wrap { position: relative; z-index: 2; }
html .hero-copy, html .page-hero p { color: #c4d2e1; }
html .crumbs { font-family: var(--font-mono); font-size: .74rem; color: #7f93aa; }
html .hero-proof { border-top-color: var(--fx-line); }
html .hero-points svg { color: var(--fx-cyan); }
html .hero h1 { text-shadow: 0 0 40px rgba(61, 139, 255, .25); }

/* Hologramme de l'accueil */
html .hero-art { z-index: 2; }
html .orbit { border: 1px dashed rgba(0, 229, 255, .35); animation: fx-spin 40s linear infinite; }
html .orbit:nth-child(2) { border: 1px solid rgba(61, 139, 255, .45); border-left-color: transparent; border-right-color: transparent; animation-duration: 18s; animation-direction: reverse; }
html .orbit:nth-child(3) { border: 2px solid transparent; border-top-color: var(--fx-cyan); border-bottom-color: rgba(0, 229, 255, .25); animation-duration: 9s; filter: drop-shadow(0 0 6px var(--fx-cyan)); }
html .orbit::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--fx-cyan); box-shadow: 0 0 14px 3px var(--fx-cyan); }
@keyframes fx-spin { to { transform: rotate(360deg); } }
html .server-card {
  overflow: hidden; border: 1px solid var(--fx-line-strong); border-radius: 18px;
  background: linear-gradient(160deg, rgba(10, 30, 55, .85), rgba(6, 14, 28, .9));
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .15), 0 0 50px rgba(0, 229, 255, .22), 0 30px 80px rgba(0, 0, 0, .6);
  transform: rotate(-6deg); animation: fx-hover 6s ease-in-out infinite;
}
html .server-card::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(180deg, transparent, rgba(0, 229, 255, .18), transparent); animation: fx-scan 3.2s linear infinite; }
@keyframes fx-scan { to { top: 100%; } }
@keyframes fx-hover { 50% { transform: rotate(-6deg) translateY(-10px); } }
html .server-top { font-family: var(--font-mono); color: var(--fx-cyan); }
html .server-light { background: #22c55e; box-shadow: 0 0 12px #22c55e; animation: fx-blink 1.4s steps(1) infinite; }
html .server-slot { border-color: rgba(0, 229, 255, .2); background: rgba(0, 229, 255, .05); }
html .server-slot::before { width: 40%; background: linear-gradient(90deg, var(--fx-cyan), var(--fx-blue)); box-shadow: 0 0 8px var(--fx-cyan); animation: fx-load 2.6s ease-in-out infinite alternate; }
html .server-slot:nth-child(3)::before { animation-delay: -.8s; } html .server-slot:nth-child(4)::before { animation-delay: -1.6s; }
@keyframes fx-load { from { width: 18%; } to { width: 62%; } }
html .server-slot span { background: var(--fx-cyan); box-shadow: 0 0 6px var(--fx-cyan); }
html .floating-chip { font-family: var(--font-mono); font-size: .72rem; border-color: var(--fx-line-strong); background: rgba(6, 14, 28, .85); box-shadow: 0 0 24px rgba(0, 229, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fx-hover-chip 5s ease-in-out infinite; }
html .chip-two { animation-delay: -2.5s; }
@keyframes fx-hover-chip { 50% { transform: translateY(-8px); } }
html .floating-chip svg { color: var(--fx-cyan); }
@media (max-width: 640px) { html .hero-art::before { background: linear-gradient(90deg, var(--fx-bg), transparent 70%); } }

/* Photo des pages intérieures */
html .hero-photo::before { border-color: var(--fx-line-strong); box-shadow: 0 0 30px rgba(0, 229, 255, .15); }
html .hero-photo img { box-shadow: 0 0 0 1px rgba(0, 229, 255, .3), 0 30px 70px rgba(0, 0, 0, .6); }

/* ---------- Bandeau de confiance ---------- */
html .trust-strip { background: rgba(10, 20, 36, .6); border-top: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html .trust-label { font-family: var(--font-mono); color: var(--fx-cyan); }
html .trust-item { color: #d5e1ee; }
html .trust-item svg { color: var(--fx-cyan); filter: drop-shadow(0 0 6px rgba(0, 229, 255, .6)); }

/* ---------- Panneaux et cartes (verre + néon) ---------- */
html .service-card, html .flip-front, html .card, html .block.white .card, html .review-card, html .faq-item, html .faq details,
html .checklist li, html .related a, html .zone-inner, html .promo-cadre-panel, html .web-node, html .step, html .works-empty, html .work-card {
  position: relative; color: var(--fx-text);
  background: linear-gradient(160deg, rgba(20, 35, 60, .7), rgba(10, 18, 34, .75));
  border: 1px solid var(--fx-line); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html .service-card.flip { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html .fx-spot { --mx: 50%; --my: 50%; }
html .fx-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; z-index: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(0, 229, 255, .14), transparent 60%);
}
html .fx-spot:hover::before { opacity: 1; }
html .fx-spot > * { position: relative; z-index: 1; }
html .card:hover, html .flip-front:hover, html .related a:hover, html .web-node:hover, html .review-card:hover, html .zone-inner:hover, html .faq-item:hover, html .work-card:hover {
  border-color: var(--fx-line-strong); box-shadow: 0 0 0 1px rgba(0, 229, 255, .25), 0 0 34px rgba(0, 229, 255, .16), 0 20px 50px rgba(0, 0, 0, .45);
}
html .card p, html .service-card p, html .checklist li, html .faq-item p, html .faq details p, html .review-card figcaption { color: var(--fx-soft); }
html .card h3, html .flip-front h3, html .faq-item summary, html .faq summary, html .related a, html .review-card blockquote, html .web-node, html .zone-list li, html .checklist li { color: var(--fx-text); }
html .card h3 a:hover { color: var(--fx-cyan); }
html .card-icon, html .service-icon, html .web-ico, html .diagnostic-icon, html .review-avatar {
  color: var(--fx-cyan); background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .3);
  box-shadow: inset 0 0 14px rgba(0, 229, 255, .15), 0 0 16px rgba(0, 229, 255, .15);
}
html .flip-hint { color: #7f93aa; font-family: var(--font-mono); }
html .flip-back { border: 1px solid var(--fx-line-strong); background: radial-gradient(circle at 85% 15%, rgba(61, 139, 255, .45) 0, transparent 55%), linear-gradient(145deg, #08142a, #0f2348); box-shadow: 0 0 40px rgba(0, 229, 255, .2), 0 22px 50px rgba(0, 0, 0, .5); }
html .flip-back .card-more { border-radius: 10px; color: #04121c; background: var(--fx-cyan); }
html .checklist svg, html .recovery-list svg, html .related svg, html .faq summary::after, html .faq-item summary::after, html .promo-cadre-points li::before { color: var(--fx-cyan) !important; }
html .card:hover { transform: translateY(-4px); }

/* Étapes / sections sombres */
html .steps, html .approach { background: linear-gradient(180deg, rgba(10, 20, 38, .6), rgba(6, 12, 23, .2)); border-top: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); }
html .step-number { font-family: var(--font-mono); color: var(--fx-cyan); background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .35); box-shadow: 0 0 14px rgba(0, 229, 255, .2); }
html .step p, html .steps .section-intro, html .approach .section-intro { color: var(--fx-soft); }

/* Blocs génériques des pages */
html .block.white, html .block { background: transparent; }
html .block.white { background: linear-gradient(180deg, rgba(16, 26, 43, .35), rgba(16, 26, 43, .1)); border-top: 1px solid rgba(0, 229, 255, .07); border-bottom: 1px solid rgba(0, 229, 255, .07); }
html .cta-panel, html .contact-panel, html .promo-vhs-panel, html .dl-panel {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 90% 0%, rgba(61, 139, 255, .3), transparent 50%), linear-gradient(145deg, rgba(14, 28, 52, .9), rgba(6, 12, 24, .92));
  border: 1px solid var(--fx-line-strong); box-shadow: 0 0 0 1px rgba(0, 229, 255, .1), 0 0 60px rgba(0, 229, 255, .12), 0 30px 80px rgba(0, 0, 0, .5);
}
html .cta-panel::before, html .contact-panel::before, html .promo-vhs-panel::before, html .promo-cadre-panel::after, html .zone-inner::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(var(--fx-cyan), var(--fx-cyan)) top left / 26px 2px no-repeat,
              linear-gradient(var(--fx-cyan), var(--fx-cyan)) top left / 2px 26px no-repeat,
              linear-gradient(var(--fx-cyan), var(--fx-cyan)) bottom right / 26px 2px no-repeat,
              linear-gradient(var(--fx-cyan), var(--fx-cyan)) bottom right / 2px 26px no-repeat;
  filter: drop-shadow(0 0 4px var(--fx-cyan));
}
html .cta-panel > *, html .contact-panel > *, html .promo-vhs-panel > * { position: relative; }
html .legal p, html .legal li { color: #c4d2e1; }
html .legal a { color: var(--fx-cyan); }
html .assist-warn { color: var(--fx-text); background: rgba(255, 176, 32, .08); border-color: rgba(255, 176, 32, .45); border-left-color: var(--fx-orange); }

/* ---------- Sections de l'accueil ---------- */
html .web-section, html .contact { background: transparent; }
html .web-core { background: rgba(10, 20, 38, .85); border: 1px solid var(--fx-line-strong); }
html .web.is-radial .web-core { background: #08142a; box-shadow: 0 0 0 10px rgba(0, 229, 255, .07), 0 0 0 1px var(--fx-line-strong), 0 0 60px rgba(0, 229, 255, .3); }
html .web.is-radial .web-core-mark { background: radial-gradient(circle at 30% 25%, #14366e, #060c17 70%); }
html .web-core-mark svg { color: #04121c; background: linear-gradient(135deg, var(--fx-cyan), var(--fx-blue)); box-shadow: 0 0 24px rgba(0, 229, 255, .6); }
html .web-ring { stroke: rgba(0, 229, 255, .12); }
html .web-leg { stroke: rgba(61, 139, 255, .4); }
html .web-leg.is-active { stroke: var(--fx-cyan); filter: drop-shadow(0 0 4px var(--fx-cyan)); }
html .web-list::before, html .web-list .web-node::before { background: rgba(0, 229, 255, .35); }

html .recovery-panel { background: radial-gradient(circle at 15% 20%, rgba(0, 229, 255, .14), transparent 55%), linear-gradient(145deg, rgba(14, 28, 52, .85), rgba(6, 12, 24, .9)); border: 1px solid var(--fx-line-strong); }
html .recovery-panel::after { border-color: rgba(0, 229, 255, .15); box-shadow: 0 0 0 38px rgba(0, 229, 255, .04), 0 0 0 76px rgba(0, 229, 255, .025); }
html .recovery-copy p { color: var(--fx-soft); }
html .recovery-list li { color: var(--fx-text); }
html .recovery-visual { color: var(--fx-text); background: rgba(6, 14, 28, .8); border: 1px solid var(--fx-line-strong); box-shadow: 0 0 40px rgba(0, 229, 255, .2); }
html .recovery-visual-head { font-family: var(--font-mono); color: #7f93aa; }
html .recovery-visual-head span:last-child { color: var(--fx-cyan); }
html .recovery-visual p { color: var(--fx-soft); }

/* Offres / produits */
html .promo-vhs-prix { background: rgba(0, 229, 255, .04); border-color: var(--fx-line); }
html .promo-vhs-prix li { background: rgba(0, 229, 255, .05); border: 1px solid rgba(0, 229, 255, .1); color: #d5e1ee; }
html .promo-vhs-prix li strong, html .promo-cadre-prix { color: var(--fx-cyan); text-shadow: 0 0 18px rgba(0, 229, 255, .45); }
html .promo-cadre-copy p { color: var(--fx-soft); }
html .promo-cadre-points li { color: var(--fx-text); }
html .promo-cadre-stock { color: var(--fx-orange) !important; }
html .promo-cadre-panel { overflow: hidden; }
html .promo-cadre-img { padding: 1rem; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #ffffff, #e6eef7); box-shadow: 0 0 0 1px rgba(0, 229, 255, .3), 0 0 40px rgba(0, 229, 255, .2); }
html .promo-vhs-prix img { filter: drop-shadow(0 0 20px rgba(0, 229, 255, .3)); }

/* Avis, zone, FAQ */
html .reviews-score span:not(.stars) { color: var(--fx-soft); }
html .reviews-score strong { color: #fff; text-shadow: 0 0 20px rgba(0, 229, 255, .4); }
html .reviews-more { color: var(--fx-text); background: rgba(0, 229, 255, .06); border-color: var(--fx-line-strong); border-radius: 12px; }
html .reviews-more:hover { background: rgba(0, 229, 255, .14); border-color: var(--fx-cyan); }
html .zone-list li { background: rgba(0, 229, 255, .05); border-color: rgba(0, 229, 255, .25); font-family: var(--font-mono); font-size: .82rem; font-weight: 500; }
html .zone-list li:has(a):hover { background: rgba(0, 229, 255, .15); border-color: var(--fx-cyan); box-shadow: 0 0 14px rgba(0, 229, 255, .3); }
html .zone .section-intro a { color: var(--fx-cyan); }
html .faq-item[open], html .faq details[open] { border-color: var(--fx-line-strong); box-shadow: 0 0 24px rgba(0, 229, 255, .12); }

/* Contact */
html .contact-detail { border-color: var(--fx-line); background: rgba(0, 229, 255, .03); }
html a.contact-detail:hover { border-color: var(--fx-cyan); background: rgba(0, 229, 255, .08); box-shadow: 0 0 18px rgba(0, 229, 255, .2); }
html .contact-detail svg { color: var(--fx-cyan); }
html .contact-person img { border-color: var(--fx-cyan); box-shadow: 0 0 18px rgba(0, 229, 255, .45); }
html .contact-form { color: var(--fx-text); background: rgba(4, 10, 20, .75); border: 1px solid var(--fx-line-strong); box-shadow: inset 0 0 40px rgba(0, 229, 255, .05); }
html .contact-form h3 { color: #fff; }
html .contact-form-intro, html .form-note { color: var(--fx-soft) !important; }
html .form-field label { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fx-cyan); }
html .form-field input, html .form-field textarea { color: var(--fx-text); background: rgba(0, 229, 255, .04); border: 1px solid rgba(0, 229, 255, .22); }
html .form-field input:focus, html .form-field textarea:focus { outline: none; border-color: var(--fx-cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, .18), 0 0 20px rgba(0, 229, 255, .25); }
html .form-field input:-webkit-autofill { -webkit-text-fill-color: var(--fx-text); -webkit-box-shadow: 0 0 0 40px #0b1a2e inset; }

/* Assistance à distance */
html .dl-item { border-color: var(--fx-line); background: rgba(0, 229, 255, .04); }
html .dl-item:hover { border-color: var(--fx-cyan); background: rgba(0, 229, 255, .1); }
html .dl-item.main { background: var(--fx-orange); color: #1a1200; box-shadow: 0 0 30px rgba(255, 176, 32, .45); }

/* Galerie */
html .lightbox { background: rgba(4, 8, 16, .95); }

/* ---------- Pied de page ---------- */
html footer { background: rgba(4, 8, 16, .85); border-top: 1px solid var(--fx-line); }
html .footer-inner { color: #7f93aa; }
html .footer-brand { color: #fff; }
html .footer-note a:hover { color: var(--fx-cyan); }

/* ---------- Apparition au défilement ---------- */
.fx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.fx-reveal.fx-in { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--fx-cyan) !important; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html .orbit, html .server-card, html .server-card::after, html .server-slot::before, html .floating-chip,
  html .hero::after, html .page-hero::after, html .eyebrow::after, html .hero h1 span, html .page-hero h1 span, html .section-title span { animation: none !important; }
  .fx-reveal { opacity: 1; transform: none; transition: none; }
  .fx-canvas { display: none; }
}

/* Les faces des cartes qui se retournent restent superposées */
html .flip-face { position: absolute; }

/* ---------- Effets 3D (assets/fx-3d.js) ---------- */
/* Cartes inclinables */
html .fx-tilt { --rx: 0deg; --ry: 0deg; transform-style: preserve-3d; will-change: transform; }
html .fx-tilt.is-tilting {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(6px) !important;
  transition: transform .12s ease-out, box-shadow .3s ease !important;
  box-shadow: calc(var(--ry) * -1.6) calc(var(--rx) * 1.6 + 18px) 40px rgba(0, 0, 0, .45), 0 0 26px rgba(0, 229, 255, .18);
}
html .fx-tilt:not(.is-tilting) { transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, opacity .8s ease; }
html .service-card.flip.fx-tilt.is-tilting { box-shadow: none; }
html .service-card.flip.fx-tilt.is-tilting .flip-face { box-shadow: calc(var(--ry) * -1.6) calc(var(--rx) * 1.6 + 18px) 40px rgba(0, 0, 0, .45), 0 0 26px rgba(0, 229, 255, .18); }
html .fx-tilt.fx-glare.is-tilting::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .10), transparent 55%);
}
html .card.fx-tilt, html .review-card.fx-tilt, html .related a.fx-tilt, html .zone-inner.fx-tilt, html .hero-photo.fx-tilt { position: relative; }

/* Cartes qui se retournent : rotation plus vivante, avec élan */
html .flip-inner { transition: transform .9s cubic-bezier(.3, 1.45, .45, 1); }
html .service-card.flip:hover .flip-front .service-icon { transform: scale(1.12) rotate(-8deg) translateZ(20px); }

/* Ordinateur 3D de l'accueil */
html .hero-art.has-3d .orbit, html .hero-art.has-3d .server-card { display: none; }
html .fx-3d-canvas { position: absolute; inset: -14%; width: 128%; height: 128%; z-index: 0; pointer-events: none; }
html .hero-art.has-3d .floating-chip { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  html .fx-tilt.is-tilting { transform: none !important; }
  html .flip-inner { transition: none; }
}

/* ---------- Confort sur smartphone ---------- */
html .call-fab { transition: opacity .25s ease, transform .25s ease; }
html .call-fab.is-hidden { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
@media (max-width: 640px) {
  html footer a { display: inline-block; padding: .45rem 0; }
  html .crumbs a { display: inline-block; padding: .5rem 0; }
  html .card h3 a { display: inline-block; padding: .3rem 0; }
}
