/* ===================================================
   NRV Informatique — Style Professionnel IT/Tech
   Mode sombre (défaut) + Mode clair
   =================================================== */

/* ─── Variables MODE SOMBRE (défaut) ────────────── */
:root {
  --cyan:       #00C4D4;
  --cyan-dark:  #0099AA;
  --violet:     #8B3DAF;
  --violet-dark:#6A2D8A;
  --border:     rgba(0,196,212,.18);
  --text:       #E2E8F0;
  --text-muted: #94A3B8;
  --bg:         #0D1424;
  --card-bg:    rgba(17,24,39,.85);
  --header-bg:  rgba(10,15,30,.94);
  --header-border: rgba(0,196,212,.18);
  --nav-mobile-bg: rgba(10,15,30,.98);
  --footer-bg:  rgba(10,15,30,.96);
  --input-bg:   rgba(10,15,30,.7);
  --grid-line:  rgba(0,196,212,.04);
  --scrollbar-track: #0A0F1E;
  --scrollbar-thumb: #243049;
  --shadow:     0 4px 24px rgba(0,0,0,.4);
  --glow:       0 0 20px rgba(0,196,212,.25);
  --header-h:   72px;
  --radius:     12px;
  --radius-lg:  18px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
  /* Couleurs fixes typographie dark */
  --h1-color:   #ffffff;
  --h3-color:   #ffffff;
  --service-card-bg: rgba(28,37,55,.65);
  --service-h5: #ffffff;
  --benefice-bg: rgba(28,37,55,.55);
  --benefice-h3: #ffffff;
  --stat-bg:    rgba(28,37,55,.65);
  --action-bg:  rgba(17,24,39,.65);
  --action-color: #E2E8F0;
  --actu-h2:    #ffffff;
  --table-td:   #E2E8F0;
  --table-hover: rgba(0,196,212,.025);
  --btn-color:  #E2E8F0;
  --toggle-bg:  rgba(255,255,255,.08);
  --toggle-icon-d: block;
  --toggle-icon-l: none;
}

/* ─── Variables MODE CLAIR ───────────────────────── */
html.light {
  --border:     rgba(0,150,160,.2);
  --text:       #1E293B;
  --text-muted: #64748B;
  --bg:         #F0F4F8;
  --card-bg:    #ffffff;
  --header-bg:  rgba(255,255,255,.95);
  --header-border: rgba(0,150,160,.15);
  --nav-mobile-bg: rgba(255,255,255,.99);
  --footer-bg:  #1E293B;
  --input-bg:   #ffffff;
  --grid-line:  rgba(0,150,160,.06);
  --scrollbar-track: #E2E8F0;
  --scrollbar-thumb: #CBD5E1;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --glow:       0 0 16px rgba(0,196,212,.15);
  --h1-color:   #0F172A;
  --h3-color:   #1E293B;
  --service-card-bg: #ffffff;
  --service-h5: #0F172A;
  --benefice-bg: #ffffff;
  --benefice-h3: #0F172A;
  --stat-bg:    #ffffff;
  --action-bg:  #F8FAFC;
  --action-color: #1E293B;
  --actu-h2:    #0F172A;
  --table-td:   #1E293B;
  --table-hover: rgba(0,196,212,.04);
  --btn-color:  #1E293B;
  --toggle-bg:  rgba(0,0,0,.06);
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Typography ────────────────────────────────── */
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--h1-color); margin-bottom: .9rem; letter-spacing: -.02em; }
/*h2 { font-size: clamp(1.1rem, 2.5vw, 1.55rem); font-weight: 600; color: var(--cyan); margin-bottom: .7rem; letter-spacing: -.01em; }*/
h2 { font-size: clamp(1.1rem, 2.5vw, 1.55rem); font-weight: 600; color: #8147b1; margin-bottom: .7rem; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--h3-color); margin-bottom: .45rem; }
h4 { font-size: .95rem; font-weight: 600; color: var(--text-muted); margin-bottom: .35rem; }
h5 { font-size: .95rem; font-weight: 600; color: var(--text-muted); margin-bottom: .35rem; }
p { color: var(--text-muted); margin-bottom: .7rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan-dark); }
ul, ol { padding-left: 1.4rem; color: var(--text-muted); }
li { margin-bottom: .3rem; }
li b, li strong { color: var(--text); }
hr { border: none; border-top: 1px solid var(--border); margin: .9rem 0; }

/* ─── Layout ────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 28px) 20px 48px;
  flex-grow: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ─── Header ────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--header-border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  gap: 14px;
}

.brand img { height: 50px; filter: drop-shadow(0 0 8px rgba(0,196,212,.28)); transition: filter var(--transition); }
.brand:hover img { filter: drop-shadow(0 0 14px rgba(0,196,212,.5)); }

/* En mode clair, pas de filtre sur le logo */
html.light .brand img { filter: none; }
html.light .brand:hover img { filter: drop-shadow(0 0 8px rgba(0,196,212,.4)); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--cyan);
  background: rgba(0,196,212,.1);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─── Toggle Thème ───────────────────────────────── */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--toggle-bg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: var(--text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,196,212,.08);
}
.theme-toggle .icon-dark { display: block; }
.theme-toggle .icon-light { display: none; }
html.light .theme-toggle .icon-dark { display: none; }
html.light .theme-toggle .icon-light { display: block; }

/* ─── Panier ─────────────────────────────────────── */
.cart-wrapper { position: relative; display: inline-flex; align-items: center; }
.cart-wrapper img {
  height: 34px; opacity: .8;
  filter: invert(1) brightness(1.1) sepia(1) hue-rotate(155deg) saturate(1.5);
  transition: opacity var(--transition);
}
html.light .cart-wrapper img { filter: invert(0) brightness(.7) sepia(1) hue-rotate(155deg) saturate(2); }
.cart-wrapper:hover img { opacity: 1; }
.cart-badge {
  position: absolute; top: -5px; right: -7px;
  background: var(--violet); color: #fff;
  font-size: .68rem; font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all var(--transition); }

/* ─── Cards ──────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0; transition: opacity var(--transition);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(0,196,212,.35); box-shadow: var(--glow); }

html.light .card { box-shadow: 0 2px 12px rgba(0,0,0,.06); }

/* ─── Grids ──────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 14px; }
.grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* Boutique : limiter à 3 colonnes max */
.grid.shop-grid { grid-template-columns: repeat(3, minmax(240px, 1fr)); }
@media (max-width: 1024px) {
  .grid.shop-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 560px) {
  .grid.shop-grid { grid-template-columns: 1fr; }
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,196,212,.07) 0%, rgba(139,61,175,.07) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px; margin-bottom: 14px; text-align: center;
  transition: background var(--transition);
}
html.light .hero { background: linear-gradient(135deg, rgba(0,196,212,.05) 0%, rgba(139,61,175,.05) 100%); }
.hero::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(0,196,212,.12), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: .9rem; }
.hero p { font-size: 1.05rem; max-width: 580px; margin: 0 auto 1.4rem; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 8px; font-size: .875rem; font-weight: 600;
  font-family: inherit; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--btn-color);
  transition: all var(--transition); text-decoration: none;
}
.btn:hover { border-color: rgba(0,196,212,.5); color: var(--cyan); background: rgba(0,196,212,.07); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #0A0F1E; border: none; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,196,212,.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #05d8ea, var(--cyan));
  box-shadow: 0 6px 20px rgba(0,196,212,.45);
  transform: translateY(-1px); color: #0A0F1E;
}
.btn-lg { padding: 13px 26px; font-size: .95rem; border-radius: 10px; }
.btn-sm { padding: 5px 12px; font-size: .78rem; }
.btn-danger { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); color: #EF4444; }
.btn-danger:hover { background: rgba(239,68,68,.2); }

/* ─── Services grid ──────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 8px; }
.service-card {
  background: var(--service-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px; text-align: center;
  transition: all var(--transition); text-decoration: none; display: block;
}
html.light .service-card { box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.service-card:hover { border-color: var(--cyan); background: rgba(0,196,212,.05); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,196,212,.18); }
.service-icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
/*.service-card h5 { font-size: .95rem; font-weight: 600; color: var(--service-h5); margin-bottom: 5px; }*/
.service-card h5 { font-size: .95rem; font-weight: 600; color: var(--cyan); margin-bottom: 5px; }
.service-card p { font-size: .8rem; margin: 0; }

/* ─── TypeClient ─────────────────────────────────── */
.TypeClient { margin: 10px 0 16px; }
.groupeClient p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ─── Actualité ───────────────────────────────────── */
#BlockActualite article { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 18px; }
#BlockActualite article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.actu { display: flex; gap: 16px; align-items: flex-start; }
.imgactu { flex-shrink: 0; }
.imgactu img, .imgactu picture img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); display: block; box-shadow: none; }
.texteactu { flex: 1; }
.texteactu h2 { font-size: 1.05rem; color: var(--actu-h2); margin-bottom: 5px; }
#BlockActualite footer { display: flex; justify-content: flex-end; margin-top: 8px; }
#BlockActualite footer time { font-size: .73rem; color: var(--text-muted); background: rgba(0,196,212,.07); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; }

/* ─── Bénéfices ───────────────────────────────────── */
.benefice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.benefice {
  text-align: center; padding: 22px 14px;
  background: var(--benefice-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
html.light .benefice { box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.benefice:hover { border-color: var(--cyan); }
.benefice-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.benefice h3 { font-size: .95rem; color: var(--benefice-h3); margin-bottom: 5px; }

/* ─── Tables ─────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
table thead { background: rgba(0,196,212,.06); }
table th { padding: 11px 13px; text-align: left; font-weight: 600; color: var(--cyan); border-bottom: 1px solid var(--border); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
table td { padding: 11px 13px; border-bottom: 1px solid var(--border); color: var(--table-td); }
table tr:hover td { background: var(--table-hover); }
table tr:last-child td { border-bottom: none; }

/* ─── Forms ──────────────────────────────────────── */
label { display: block; font-size: .84rem; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; }
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], textarea, select {
  width: 100%; padding: 10px 13px;
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: inherit; font-size: .88rem;
  transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,196,212,.13); }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .6; }
textarea { resize: vertical; min-height: 100px; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Contact form compat */
#form-contact p { margin-bottom: 12px; }
#form-contact p label { font-size: .84rem; font-weight: 500; color: var(--text-muted); display: block; margin-bottom: 4px; }
#form-contact p input, #form-contact p.demande textarea { width: 100%; }
#form-contact p.nom { float: left; width: 49%; }
#form-contact p.prenom { float: right; width: 49%; }
#form-contact::after { content: ''; display: table; clear: both; }

/* ─── Dashboard client ───────────────────────────── */
.client-group { margin-bottom: 12px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat-card {
  background: var(--stat-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: center; transition: all var(--transition);
}
html.light .stat-card { box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.stat-card:hover { border-color: var(--cyan); }
.stat-card h3 { font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 1.9rem; font-weight: 700; color: var(--cyan); }

.action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.action-card {
  background: var(--action-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition);
}
html.light .action-card { box-shadow: 0 1px 6px rgba(0,0,0,.04); }
.action-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.action-card a { display: block; padding: 16px; text-align: center; color: var(--action-color); }
.action-card .action-icon { font-size: 1.5rem; margin-bottom: 7px; display: block; }
.action-card .action-label { font-size: .82rem; font-weight: 600; }
.btn-clientlogout { float: right; margin-top: -4px; }

/* ─── Status badges ──────────────────────────────── */
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: .73rem; font-weight: 600; white-space: nowrap; }
.status-badge::before { content: '●'; font-size: .55rem; }
.status-paid, .status-closed, .status-resolved { background: rgba(34,197,94,.13); color: #16A34A; border: 1px solid rgba(34,197,94,.28); }
html:not(.light) .status-paid, html:not(.light) .status-closed, html:not(.light) .status-resolved { color: #4ADE80; }
.status-pending { background: rgba(251,191,36,.1); color: #D97706; border: 1px solid rgba(251,191,36,.28); }
html:not(.light) .status-pending { color: #FCD34D; }
.status-progress { background: rgba(0,196,212,.1); color: var(--cyan-dark); border: 1px solid var(--border); }
html:not(.light) .status-progress { color: var(--cyan); }
.status-standby { background: rgba(100,116,139,.1); color: #64748B; border: 1px solid rgba(100,116,139,.28); }
.status-expired { background: rgba(239,68,68,.1); color: #DC2626; border: 1px solid rgba(239,68,68,.28); }
html:not(.light) .status-expired { color: #FC8181; }
span.echeance { font-size: .7rem; color: var(--text-muted); }

/* ─── Shop ───────────────────────────────────────── */
.product img, .product picture img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 10px; box-shadow: none; }

/* ─── Contact ────────────────────────────────────── */
img.suiveznous { width: 120px; margin-bottom: 10px; border-radius: 8px; opacity: .8; box-shadow: none; }
img.contact    { width: 110px; border-radius: 8px; opacity: .8; box-shadow: none; }
img.ct-fb, img.ct-insta, img.ct-lk { width: 38px; margin: 4px; border-radius: 8px; transition: filter var(--transition); box-shadow: none; }
img.sms, img.ct-whatsapp { width: 38px; border-radius: 8px; box-shadow: none; }

/* ─── About ──────────────────────────────────────── */
.depannage { float: right; width: 130px; margin: 0 0 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); opacity: .88; box-shadow: none; }
.team-member { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--stat-bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; transition: border-color var(--transition); }
.team-member:hover { border-color: rgba(0,196,212,.3); }
.team-avatar { font-size: 2rem; flex-shrink: 0; }

/* Global img */
img { border-radius: 8px; box-shadow: none; }

/* ─── Alerts ─────────────────────────────────────── */
.note  { color: var(--cyan-dark); background: rgba(0,196,212,.08); border: 1px solid var(--border); border-radius: 8px; padding: 10px 13px; font-size: .85rem; }
.error { color: #DC2626; background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.28); border-radius: 8px; padding: 10px 13px; font-size: .85rem; }
html:not(.light) .note { color: var(--cyan); }
html:not(.light) .error { color: #FC8181; }

/* ─── Footer ─────────────────────────────────────── */
footer.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 28px 20px 22px; text-align: center;
  position: relative; z-index: 1;
  bottom: auto; float: none; display: block; width: 100%;
  transition: background var(--transition);
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { font-size: .82rem; color: var(--text-muted); transition: color var(--transition); }
html.light .footer-links a { color: #94A3B8; }
.footer-links a:hover { color: var(--cyan); }
.footer-social { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-social a img { height: 30px; width: 30px; border-radius: 8px; opacity: .75; transition: opacity var(--transition); box-shadow: none; }
.footer-social a:hover img { opacity: 1; }
.footer-copy { font-size: .78rem; color: #94A3B8; }
.footer-copy a { color: var(--cyan); }
.whatsapp { display: none; }

/* ─── Boutons action dans tables ─────────────────── */
.action-btn { padding: 4px 11px; border-radius: 6px; font-size: .76rem; font-weight: 600; cursor: pointer; border: 1px solid; font-family: inherit; transition: all var(--transition); margin-right: 3px; }
.btn-view { background: rgba(0,196,212,.08); color: var(--cyan); border-color: var(--border); }
.btn-view:hover { background: rgba(0,196,212,.18); }
.btn-download { background: rgba(139,61,175,.08); color: var(--violet); border-color: rgba(139,61,175,.3); }
.btn-download:hover { background: rgba(139,61,175,.18); }

/* ─── Index table compat ─────────────────────────── */
table.index { width: 100%; border-collapse: collapse; }
th.index { font-weight: normal; vertical-align: top; padding: 12px 8px; text-align: center; }
th.index p { font-size: .83rem; text-align: justify; margin-top: 4px; font-weight: normal; }
th.index h5 { color: var(--cyan); font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
img.vignetteindex { width: 100%; max-width: 180px; height: 130px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); display: block; margin: 0 auto 8px; box-shadow: none; }

/* ─── Focus ──────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ─── Animations ─────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.card, .hero, .service-card, .benefice, .stat-card { animation: fadeInUp .36s ease both; }
.card:nth-child(2) { animation-delay: .05s; }
.card:nth-child(3) { animation-delay: .10s; }
.card:nth-child(4) { animation-delay: .15s; }

/* ─── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dark); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .nav-burger { display: flex; }
  .main-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--nav-mobile-bg); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); flex-direction: column; padding: 14px; gap: 3px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 11px 14px; }
  .hero { padding: 32px 18px; }
  .card { padding: 16px 18px; }
  .form-row { grid-template-columns: 1fr; }
  #form-contact p.nom, #form-contact p.prenom { width: 100%; display: block; float: none; }
  .actu { flex-direction: column; }
  .imgactu img, .imgactu picture img { width: 100%; height: 160px; }
  .depannage { float: none; width: 100%; margin: 0 0 14px; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  table { font-size: .78rem; }
  table th, table td { padding: 8px 9px; }
}
@media (max-width: 480px) {
  .dashboard-stats { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

