/* ==========================================================================
   Nocturne — theme du site public click-internet.fr (2026-10)

   Remplace style.css, components.css, default.css et responsive.css. Le HTML
   des 499 pages de contenu n'a pas change : cette feuille redessine leurs
   classes (page-banner, blog-details-section, widget, faq-area, cta-area...)
   et neutralise les styles inline clairs qu'elles portent, par selecteurs
   d'attribut cibles sur l'inventaire exact de ces motifs.

   Contraste : palette mesuree a la formule WCAG — 7:1 et plus sur le texte
   courant (AAA), 3:1 sur les bordures de champs. Ne pas changer une couleur
   de texte sans repasser tools/contraste-nocturne.php.
   ========================================================================== */

:root {
  --bg: #0b1220;
  --bg-2: #0f172a;
  --surface: #121b2e;
  --surface-2: #182339;
  --line: #243352;          /* decorative : separateurs, bords de carte      */
  --line-ui: #5a6d94;       /* porteuse de sens : champs, focus — 3,3:1 min  */
  --text: #b7c2d3;          /* 9,5:1 sur carte                               */
  --heading: #f1f5f9;
  --muted: #9aa8bf;         /* 7,1:1 sur carte                               */
  --accent: #22d3ee;        /* 9,5:1 sur carte                               */
  --accent-2: #0ea5c3;
  --accent-deep: #0b6f85;   /* fond de bandeau : blanc dessus a 5,8:1        */
  --violet: #4f46e5;        /* fond de bandeau : blanc dessus a 6,3:1        */
  --violet-light: #b9a6fb;
  --warm: #fbbf24;
  --accent-soft: rgba(34, 211, 238, .12);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --font-h: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-b: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grad: linear-gradient(135deg, var(--accent-deep), var(--violet));
  --grad-text: linear-gradient(90deg, var(--accent), var(--violet-light));

  /* Variables de l'ancien theme, encore lues par 213 styles inline des pages
     (background-color: var(--blue-dark)) : elles designent desormais un fond
     sombre sur lequel le texte blanc reste lisible. */
  --blue-dark: var(--accent-deep);
  --text-color: var(--text);
  --light-gray: var(--bg-2);
  --dmsans: var(--font-b);

  /* Bootstrap 5.3 */
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-b);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.7;
  --bs-heading-color: var(--heading);
  --bs-link-color: var(--accent);
  --bs-link-hover-color: #67e8f9;
  --bs-border-color: var(--line);
  --bs-primary: var(--accent-2);
  --bs-primary-rgb: 14, 165, 195;
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--bg-2);
  --bs-emphasis-color: var(--heading);
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  font-family: var(--font-h);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #67e8f9; }
img { max-width: 100%; height: auto; }
strong, b { color: var(--heading); }
hr { border-color: var(--line); opacity: 1; }
::selection { background: rgba(34, 211, 238, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

main { display: block; }

/* Classes de couleur de l'ancien theme. .blue-dark est une couleur de TEXTE
   dans les pages (197 occurrences) : sur fond sombre, c'est l'accent clair. */
.blue-dark { color: var(--accent); }
.text-gradient-primary,
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bg-light-section, .light-gray-bg, .bg-light { background: var(--bg-2) !important; }
.bg-white { background: var(--surface) !important; }
.text-dark { color: var(--heading) !important; }
.text-muted { color: var(--muted) !important; }
.text-white, .text-white h2, .text-white h3, .text-white p { color: #fff; }
.bg_cover { background-size: cover; background-position: center; }
.z-1 { z-index: 1; }

/* --------------------------------------------------------------------------
   Espacements de l'ancien theme (pt-130, mb-35...). Bootstrap n'en fournit
   que jusqu'a 5 ; les pages en utilisent trente valeurs en pixels.
   -------------------------------------------------------------------------- */
.pt-15{padding-top:15px}.pt-20{padding-top:20px}.pt-30{padding-top:30px}.pt-40{padding-top:40px}
.pt-50{padding-top:50px}.pt-60{padding-top:60px}.pt-70{padding-top:70px}.pt-75{padding-top:75px}
.pt-80{padding-top:80px}.pt-90{padding-top:90px}.pt-100{padding-top:100px}.pt-120{padding-top:120px}.pt-130{padding-top:130px}
.pb-15{padding-bottom:15px}.pb-20{padding-bottom:20px}.pb-30{padding-bottom:30px}.pb-40{padding-bottom:40px}
.pb-50{padding-bottom:50px}.pb-60{padding-bottom:60px}.pb-70{padding-bottom:70px}.pb-80{padding-bottom:80px}
.pb-85{padding-bottom:85px}.pb-90{padding-bottom:90px}.pb-100{padding-bottom:100px}.pb-130{padding-bottom:130px}
.py-50{padding-top:50px;padding-bottom:50px}.py-100{padding-top:100px;padding-bottom:100px}
.mt-15{margin-top:15px}.mt-20{margin-top:20px}.mt-25{margin-top:25px}.mt-30{margin-top:30px}.mt-35{margin-top:35px}
.mt-40{margin-top:40px}.mt-50{margin-top:50px}.mt-60{margin-top:60px}
.mb-10{margin-bottom:10px}.mb-15{margin-bottom:15px}.mb-20{margin-bottom:20px}.mb-25{margin-bottom:25px}
.mb-30{margin-bottom:30px}.mb-35{margin-bottom:35px}.mb-40{margin-bottom:40px}.mb-45{margin-bottom:45px}
.mb-50{margin-bottom:50px}.mb-55{margin-bottom:55px}.mb-60{margin-bottom:60px}
.ml-15{margin-left:15px}
@media (max-width: 767.98px) {
  .pt-130, .pt-120, .pt-100, .pt-90, .pt-80 { padding-top: 56px; }
  .pb-130, .pb-100, .pb-90, .pb-85, .pb-80 { padding-bottom: 56px; }
  .py-100 { padding-top: 56px; padding-bottom: 56px; }
  .mb-60, .mb-55, .mb-50 { margin-bottom: 36px; }
}

/* --------------------------------------------------------------------------
   Animations d'apparition. L'opacite 0 n'est posee que si le script tourne
   (classe js sur <html>) : sans JavaScript, tout reste visible.
   -------------------------------------------------------------------------- */
html.js .wow { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .wow.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .wow { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------------------------
   En-tete
   -------------------------------------------------------------------------- */
.nv {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nv.is-stuck { border-bottom-color: var(--line); background: rgba(11, 18, 32, .92); }
.nv-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nv-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--heading); font-family: var(--font-h); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.nv-brand:hover { color: var(--heading); }
.nv-brand img { height: 31px; width: auto; display: block; }
.nv-brand span { white-space: nowrap; }
.nv-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nv-menu a { color: var(--heading); font-weight: 500; font-size: 1rem; position: relative; padding: 6px 0; }
.nv-menu a:hover { color: var(--accent); }
.nv-menu a.is-active { color: var(--accent); }
.nv-menu a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--grad-text); border-radius: 2px;
}
.nv-menu .nv-cta { padding: .62rem 1.15rem; border-radius: 12px; background: var(--accent); color: #06121a; font-weight: 700; }
.nv-menu .nv-cta:hover { background: #67e8f9; color: #06121a; }
.nv-menu .nv-cta::after { display: none; }
.nv-phone { color: var(--heading); font-weight: 600; white-space: nowrap; }
.nv-phone:hover { color: var(--accent); }
.nv-burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.nv-burger span { display: block; width: 24px; height: 2px; background: var(--heading); transition: transform .25s, opacity .25s; }
.nv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .nv-inner { height: 68px; }
  .nv-burger { display: flex; }
  .nv-phone { display: none; }
  .nv-menu {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; box-shadow: var(--shadow);
  }
  .nv-menu.open { display: flex; }
  .nv-menu li { border-bottom: 1px solid var(--line); }
  .nv-menu li:last-child { border-bottom: 0; padding-top: 16px; }
  .nv-menu a { display: block; padding: 15px 0; font-size: 1.05rem; }
  .nv-menu a.is-active::after { display: none; }
  .nv-menu .nv-cta { display: inline-block; text-align: center; }
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.main-btn, .btn-link.main-btn, .btn-blue {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 12px;
  background: var(--accent); color: #06121a;
  font-family: var(--font-b); font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 8px 22px rgba(34, 211, 238, .18);
}
.main-btn:hover { background: #67e8f9; color: #06121a; transform: translateY(-2px); }
.main-btn i { font-size: .9em; }
.main-btn.btn-purple { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(79, 70, 229, .3); }
.main-btn.btn-purple:hover { color: #fff; filter: brightness(1.08); }
.main-btn.btn-white { background: #fff; color: #0b1220; box-shadow: none; }
.main-btn.btn-white:hover { background: #e2e8f0; color: #0b1220; }
.main-btn.btn-outline, .main-btn.bordered-btn {
  background: transparent; color: var(--heading); border: 1.5px solid var(--line-ui); box-shadow: none;
}
.main-btn.btn-outline:hover, .main-btn.bordered-btn:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.main-btn.btn-sm { padding: .6rem 1.05rem; font-size: .92rem; }
.btn-link { color: var(--accent); font-weight: 600; text-decoration: none; padding: 0; }
.btn-link:hover { color: #67e8f9; }
.btn-link::after { content: ' \2192'; }
.btn-link.main-btn::after { content: none; }
.btn-outline-primary {
  --bs-btn-color: var(--accent); --bs-btn-border-color: var(--line-ui);
  --bs-btn-hover-bg: var(--accent); --bs-btn-hover-color: #06121a; --bs-btn-hover-border-color: var(--accent);
  border-radius: 10px;
}
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: #06121a;
  --bs-btn-hover-bg: #67e8f9; --bs-btn-hover-border-color: #67e8f9; --bs-btn-hover-color: #06121a; border-radius: 10px; }

/* --------------------------------------------------------------------------
   Titres de section
   -------------------------------------------------------------------------- */
.section-title .sub-title, .sub-title {
  display: inline-block; margin-bottom: .8rem;
  color: var(--accent); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.section-title .sub-title i { margin-right: .35rem; }
.section-title h2 { margin-bottom: .5rem; }
.section-title .section-subtitle, .section-subtitle, .section-text { color: var(--muted); font-size: 1.1rem; }
.accent-heading { color: var(--accent); font-size: 1.15rem; font-weight: 500; margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Banniere de page (492 pages) et fil d'Ariane
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative; padding: 72px 0 56px;
  background:
    radial-gradient(800px 360px at 12% 0%, rgba(34, 211, 238, .16), transparent 60%),
    radial-gradient(600px 320px at 90% 100%, rgba(99, 102, 241, .16), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-banner .page-title h1 { margin-bottom: .4rem; }
.page-banner .page-title .lead { color: var(--text); }
.page-banner .page-banner-img { text-align: center; }
.page-banner .page-banner-img img { max-height: 240px; width: auto; display: inline-block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
@media (max-width: 991.98px) { .page-banner { padding: 48px 0 40px; } .page-banner .page-banner-img { display: none; } }

.breadcrumb-nav { margin-top: 28px; }
.breadcrumb-nav .breadcrumb { margin: 0; padding: 0; font-size: .9rem; --bs-breadcrumb-divider: '\203A'; --bs-breadcrumb-divider-color: var(--muted); }
.breadcrumb-nav .breadcrumb-item a { color: var(--muted); }
.breadcrumb-nav .breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-nav .breadcrumb-item.active { color: var(--text); }
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* --------------------------------------------------------------------------
   Corps d'article (blog-details-section) et textes longs (features-area)
   -------------------------------------------------------------------------- */
.post-content, .text-wrapper, .content-text, .blog-details-content { font-size: 1.0625rem; }
.post-content h2, .text-wrapper h2, .features-area h2 { font-size: 1.7rem; margin-top: 2.4rem; margin-bottom: .8rem; }
.post-content h3, .text-wrapper h3, .features-area h3 { font-size: 1.3rem; margin-top: 1.8rem; margin-bottom: .6rem; }
.post-content h4, .text-wrapper h4 { margin-top: 1.4rem; }
.post-content > h2:first-child, .text-wrapper > h2:first-child { margin-top: 0; }
.post-content p.lead, .lead { font-size: 1.2rem; color: var(--heading); font-weight: 400; line-height: 1.6; }
.post-content img { border-radius: var(--radius); }
.post-content blockquote, blockquote {
  margin: 1.6rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--heading);
}

/* Listes a coche (4 154 occurrences). La coche est dessinee en CSS, pas en
   icone : elle ne depend d'aucune police. */
.list-style-one, .post-content ul:not([class]), .text-wrapper ul:not([class]) { list-style: none; padding-left: 0; margin: 0 0 1.2rem; }
.list-style-one li, .post-content ul:not([class]) li, .text-wrapper ul:not([class]) li {
  position: relative; padding-left: 1.9rem; margin: .45rem 0;
}
.list-style-one li::before, .post-content ul:not([class]) li::before, .text-wrapper ul:not([class]) li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent-soft); border: 1.5px solid var(--accent);
}
.list-style-one li::after, .post-content ul:not([class]) li::after, .text-wrapper ul:not([class]) li::after {
  content: ''; position: absolute; left: .34rem; top: calc(.5em + .22rem);
  width: .34rem; height: .58rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.list-style-one li i.fa-check, .list-style-one li i.fa-check-circle { display: none; }
.post-content ol, .text-wrapper ol { padding-left: 1.4rem; }
.post-content ol li, .text-wrapper ol li { margin: .4rem 0; }

/* Tableaux : les pages en portent 41, tous en styles inline clairs. */
table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .98rem; }
th, td { padding: .75rem .9rem; border: 1px solid var(--line-ui); text-align: left; vertical-align: top; }
th { background: var(--surface-2); color: var(--heading); font-weight: 600; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line-ui);
  --bs-table-striped-bg: rgba(255,255,255,.03); --bs-table-striped-color: var(--text); --bs-table-hover-bg: rgba(34,211,238,.06); }

/* Mots-cles en fin d'article */
.post-tags { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.post-tags span { color: var(--muted); margin-right: .3rem; }
.post-tags a { padding: .4rem .85rem; border: 1px solid var(--line-ui); border-radius: 999px; color: var(--text); font-size: .9rem; }
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* Encadre d'appel a l'action dans le texte */
.cta-box {
  background: var(--surface) !important; border-left: 3px solid var(--accent) !important;
  border-radius: 0 var(--radius) var(--radius) 0; padding: 28px !important;
}
.cta-box h3 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Barre laterale (200 pages)
   -------------------------------------------------------------------------- */
.sidebar-widget-area, .blog-sidebar, .portfolio-sidebar, .sidebar { position: sticky; top: 96px; }
@media (max-width: 991.98px) { .sidebar-widget-area, .blog-sidebar, .portfolio-sidebar, .sidebar { position: static; margin-top: 40px; } }
.widget, .sidebar-widget, .categories-widget, .services-cat-widget, .related-articles-widget {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-bottom: 24px;
}
.widget .widget-title, .sidebar-widget .widget-title, .widget-title { font-size: 1.1rem; margin-bottom: .9rem; color: var(--heading); }
.widget ul, .sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li, .sidebar-widget ul li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.widget ul li:last-child, .sidebar-widget ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget ul li a, .sidebar-widget ul li a { color: var(--text); display: block; }
.widget ul li a:hover, .sidebar-widget ul li a:hover { color: var(--accent); padding-left: 4px; transition: padding .2s, color .2s; }
.widget ul li i { color: var(--accent); margin-right: .4rem; }
.widget-cta, .cta-widget { background: var(--grad); border: 0; color: #fff; }
.cta-widget .widget-title, .cta-widget p, .cta-widget h4 { color: #fff; }
.widget-cta .widget-title, .widget-cta p, .widget-cta h4 { color: #fff; }
.widget-cta .main-btn { background: #fff; color: #0b1220; box-shadow: none; }
.widget-cta .main-btn:hover { background: #e2e8f0; color: #0b1220; }
.contact-widget p, .info-widget p { margin: 0; }
.contact-widget a, .info-widget a { color: var(--heading); font-weight: 600; }
.widget-nav-menu li a::before { content: '\203A'; margin-right: .5rem; color: var(--accent); }

/* --------------------------------------------------------------------------
   FAQ (186 pages) — question + reponse en carte
   -------------------------------------------------------------------------- */
.faq-area { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-wrapper { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 14px !important; transition: border-color .2s;
}
.faq-item:hover { border-color: var(--line-ui); }
.faq-item h3, .faq-item h4 { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--heading); }
.faq-item h3::before, .faq-item h4::before { content: '?'; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: .6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 700; vertical-align: 2px; }
.faq-item p { margin: 0; color: var(--text); }
.faq-item p:not(:last-child) { margin-bottom: .6rem; }

/* --------------------------------------------------------------------------
   Bandeaux d'appel a l'action (cta-area : 198 pages, cta-gradient, cta-section)
   Le fond inline var(--blue-dark) est remplace par le degrade du theme.
   -------------------------------------------------------------------------- */
.cta-area, .cta-gradient, .cta-section { position: relative; overflow: hidden; color: #fff; }
.cta-area, .cta-area[style*="var(--blue-dark)"], .cta-gradient, .cta-section { background: var(--grad) !important; }
.cta-area::before, .cta-gradient::before, .cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255,255,255,.12), transparent 60%);
}
.cta-area .container, .cta-gradient .container, .cta-section .container { position: relative; }
.cta-content h2, .cta-content p, .cta-gradient h2, .cta-gradient p, .cta-section h2, .cta-section p { color: #fff; }
.cta-content p, .cta-gradient p, .cta-section p { opacity: .9; margin-bottom: 0; }
.cta-content h2 { margin-bottom: .5rem; }
.cta-btn .main-btn, .cta-buttons .main-btn, .cta-gradient .main-btn, .cta-section .main-btn { background: #fff; color: #0b1220; box-shadow: none; }
.cta-btn .main-btn:hover, .cta-buttons .main-btn:hover, .cta-gradient .main-btn:hover, .cta-section .main-btn:hover { background: #e2e8f0; color: #0b1220; }
@media (max-width: 991.98px) { .cta-btn.text-lg-end { margin-top: 18px; } }

/* --------------------------------------------------------------------------
   Cartes de la page d'accueil et des pages de service
   -------------------------------------------------------------------------- */
.service-card, .resource-card, .cms-card, .stat-item, .portfolio-item .portfolio-content {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%;
  transition: transform .25s, border-color .25s;
}
.service-card:hover, .resource-card:hover, .cms-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.service-card h3 a, .resource-card h4 a { color: var(--heading); }
.service-card h3 a:hover, .resource-card h4 a:hover { color: var(--accent); }
.service-card p, .resource-card p { color: var(--muted); }
.service-icon, .resource-icon, .feature-icon, .stat-icon, .contact-info-item .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; font-size: 1.3rem; color: #fff; background: var(--grad);
}
.service-features { list-style: none; padding: 0; margin: 14px 0 20px; }
.service-features li { padding: .25rem 0; color: var(--text); font-size: 1rem; }
.service-features li i { color: var(--accent) !important; margin-right: .4rem; }
.service-card .btn-link[style] { color: var(--accent) !important; }

/* Degrades d'icones de l'ancien theme : assombris, le blanc reste a 4,5:1+ */
.bg-gradient-primary { background: linear-gradient(135deg, #0b6f85, #0e7490) !important; }
.bg-gradient-orange  { background: linear-gradient(135deg, #b45309, #c2410c) !important; }
.bg-gradient-green   { background: linear-gradient(135deg, #047857, #0f766e) !important; }
.bg-gradient-pink    { background: linear-gradient(135deg, #be185d, #a21caf) !important; }
.bg-gradient-indigo  { background: linear-gradient(135deg, #4338ca, #6d28d9) !important; }
.bg-gradient-teal    { background: linear-gradient(135deg, #0f766e, #0e7490) !important; }

.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .feature-icon { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; font-size: 1.1rem; }
.feature-item h4 { margin-bottom: .25rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: 1rem; }

.trust-badges { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item h3 { font-size: 2.3rem; margin: 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item p { margin: .3rem 0 0; color: var(--muted); font-size: 1rem; }

.sector-link, .city-link {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.1rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--heading); font-weight: 500;
  transition: border-color .2s, transform .2s, color .2s;
}
.sector-link:hover, .city-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.sector-link i, .city-link i { color: var(--accent); }
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 991.98px) { .cities-grid { grid-template-columns: repeat(2, 1fr); } }

.img-rounded, .img-rounded-lg, .rounded-lg, .img-holder img, .intro-image img, .portfolio-main-image img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.experience-badge {
  position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.experience-badge .number { display: block; font-family: var(--font-h); font-size: 1.7rem; font-weight: 700; color: var(--heading); line-height: 1; }
.experience-badge .label { color: var(--muted); font-size: .9rem; }

/* Hero de l'accueil : texte a gauche, visuel portrait a droite avec son badge.
   Les halos radiaux sont le seul decor ; aucune image de fond a charger. */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 400px at 15% 20%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(700px 400px at 90% 80%, rgba(99, 102, 241, .18), transparent 60%), var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--text); max-width: 600px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { position: relative; max-width: 420px; margin-left: auto; }
.hero-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; }
.hero-badge {
  position: absolute; left: -22px; bottom: 32px; padding: 14px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-badge b { display: block; font-family: var(--font-h); font-size: 1.7rem; color: var(--heading); line-height: 1; }
.hero-badge span { color: var(--muted); font-size: .9rem; }
@media (max-width: 991.98px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 340px; margin: 0 auto; }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* Pages de service : points avec icone inline, bandeau de chiffres */
.intro-features .feature-item { align-items: center; gap: 10px; font-weight: 500; color: var(--heading); }
.intro-features .feature-item i { color: var(--accent) !important; }
.stats-section { color: #fff; }
.stats-section h3, .stats-section .stat-item h3 { color: #fff; }

/* Contact */
.contact-info-item { display: flex; gap: 16px; align-items: center; }
.contact-info-item .icon { margin: 0; flex: 0 0 50px; width: 50px; height: 50px; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.contact-info-item .label { display: block; color: var(--muted); font-size: .9rem; }
.contact-info-item .value { color: var(--heading); font-weight: 600; }
.contact-form-wrapper, .contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.form_group { margin-bottom: 14px; }
.form_control {
  width: 100%; padding: .95rem 1.1rem; border-radius: 12px;
  background: var(--bg-2); border: 1.5px solid var(--line-ui); color: var(--heading);
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.form_control::placeholder { color: var(--muted); }
.form_control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.form_control { min-height: 150px; resize: vertical; }
.recaptcha-notice { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }
.recaptcha-notice a { color: var(--muted); text-decoration: underline; }
#warn { color: #fda4af !important; }
.contact-form h1 { font-size: 1.6rem; }

/* References (portfolio) — mise au sombre minimale, reprise a l'etape 3 */
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.portfolio-item img { width: 100%; display: block; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.95), transparent 60%); display: flex; align-items: flex-end; padding: 22px; color: #fff; }
.portfolio-overlay h3, .portfolio-overlay .title { color: #fff; }
.filter-btn li { color: var(--muted); cursor: pointer; }
.filter-btn li.active { color: var(--accent); }
.stat-item { text-align: center; }
.stat-item .stat-icon { margin: 0 auto 14px; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.ft { background: #070d19; border-top: 1px solid var(--line); color: #a3afc3; padding: 64px 0 28px; font-size: .95rem; }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.ft-top .nv-brand { font-size: 1.3rem; }
.ft-top p { margin: 0; color: var(--muted); max-width: 520px; }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 991.98px) { .ft-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .ft-cols { grid-template-columns: 1fr; } }
.ft h5 { color: var(--heading); font-family: var(--font-b); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { padding: .25rem 0; }
.ft a { color: #a3afc3; }
.ft a:hover { color: #fff; }
.ft strong { color: #cbd5e1; font-weight: 600; }
.ft-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.ft-bottom p { margin: 0; }
.ft-bottom a { color: #cbd5e1; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: none;
  width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-ui);
  color: var(--heading); text-align: center; line-height: 42px; font-size: 1rem;
}
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   Neutralisation des styles inline des pages de contenu.
   Chaque selecteur correspond a un motif de l'inventaire (grep de v2/) ; un
   motif absent de cette liste reste tel quel. Les !important sont voulus :
   un style inline l'emporte sur tout le reste.
   -------------------------------------------------------------------------- */
/* Fonds clairs -> surface sombre */
[style*="background: #fff"], [style*="background:#fff"], [style*="background-color: #fff"],
[style*="background: #f5f5f5"], [style*="background: #f8f9fa"], [style*="background-color: #f8f9fa"],
[style*="background: #f8fafc"], [style*="background: #f5f3ff"], [style*="background: #fdf2f8"],
[style*="background: #f7fbfc"], [style*="background:#f7fbfc"], [style*="background: #fffbeb"],
[style*="background: #f0fdfa"], [style*="background: #eff6ff"],
[style*="linear-gradient(135deg, #f8f9fa"] {
  background: var(--surface) !important; color: var(--text);
}
[style*="background: #fff"] h3, [style*="background: #f8f9fa"] h3, [style*="background: #f5f5f5"] h3,
[style*="background: #fff"] h4, [style*="background: #f8f9fa"] h4, [style*="background: #f5f5f5"] h4 { color: var(--heading); }
/* Bordures grises -> bordures du theme */
[style*="border: 1px solid #ddd"], [style*="border: 1px solid #e5e7eb"], [style*="border: 2px solid #e5e7eb"] { border-color: var(--line-ui) !important; }
[style*="border-bottom: 1px solid #f0f0f0"] { border-bottom-color: var(--line) !important; }
/* Degrades cyan et consorts, avec texte blanc : assombris pour le contraste */
[style*="linear-gradient(135deg, #0e8ca0 0%, #14b8cc"], [style*="linear-gradient(135deg, #0e8ca0 0%, #4540d4"],
[style*="background-color: #0e8ca0"], [style*="background: #0e8ca0"], [style*="background: var(--blue-dark)"] { background: var(--grad) !important; }
[style*="linear-gradient(135deg, #14b8a6"] { background: linear-gradient(135deg, #0f766e, #0e7490) !important; }
[style*="linear-gradient(135deg, #3b82f6"] { background: linear-gradient(135deg, #1d4ed8, #1e3a8a) !important; }
[style*="linear-gradient(135deg, #f59e0b"] { background: linear-gradient(135deg, #b45309, #92400e) !important; }
[style*="linear-gradient(135deg, #10b981"] { background: linear-gradient(135deg, #047857, #065f46) !important; }
[style*="linear-gradient(135deg, #ec4899"] { background: linear-gradient(135deg, #be185d, #9d174d) !important; }
[style*="linear-gradient(135deg, #6366f1"] { background: linear-gradient(135deg, #4338ca, #5b21b6) !important; }
/* Couleurs de texte posees pour un fond clair */
[style*="color: #0e8ca0"] { color: var(--accent) !important; }
[style*="color: #666"], [style*="color: #555"] { color: var(--muted) !important; }
[style*="color: #333"], [style*="color: #1e1e2f"] { color: var(--heading) !important; }
[style*="color: #3b82f6"] { color: #60a5fa !important; }
[style*="color: #6366f1"] { color: #a5b4fc !important; }
[style*="color: green"] { color: #4ade80 !important; }
[style*="border-left: 4px solid #0e8ca0"], [style*="border-left:4px solid #0e8ca0"], [style*="border-bottom: 2px solid #0e8ca0"] { border-color: var(--accent) !important; }
/* Ombres calculees pour du blanc : invisibles ici, on les retire */
[style*="box-shadow: 0 5px 20px rgba(0,0,0,0.05)"], [style*="box-shadow: 0 10px 40px rgba(0,0,0,0.08)"],
[style*="box-shadow: 0 10px 40px rgba(0,0,0,0.06)"], [style*="box-shadow: 0 5px 20px rgba(0,0,0,0.06)"] { box-shadow: none !important; border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Impression : fond blanc, texte noir, pas d'interface
   -------------------------------------------------------------------------- */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --surface: #fff; --text: #222; --heading: #000; --muted: #555; --line: #ccc; }
  .nv, .ft, .back-to-top, .cta-area, .widget-cta, .sidebar-widget-area { display: none !important; }
  a { color: #000; text-decoration: underline; }
}
