/* ============================================================
   DAM IT SÉCURITÉ — Maquette site complet (8 pages publiques)
   Thème mixte sombre / clair · palette issue du logo
   ============================================================ */

:root {
  --orange:        #ED6A0A;
  --orange-bright: #F5943A;
  --orange-deep:   #C24E02;
  --orange-ink:    #2A1503;

  --ink-0:  #0C0F13;
  --ink-1:  #12161C;
  --ink-2:  #191F27;
  --ink-3:  #222A34;
  --ink-line: rgba(255,255,255,0.08);
  --ink-text: #EDEFF2;
  --ink-muted: #9AA4AF;

  --paper-0: #F5F6F8;
  --paper-1: #FFFFFF;
  --paper-line: #E4E7EB;
  --paper-text: #1A2027;
  --paper-muted: #5B6570;

  --ok-bg: rgba(74,222,128,0.12);
  --ok-fg: #86EFAC;
  --ok-deep: #15803D;

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --th-bg: #0F1318;
  --th-bg2: #141A21;
  --th-card: #1A212A;
  --th-line: rgba(255,255,255,0.08);
  --th-text: #EDEFF2;
  --th-muted: #9AA4AF;
  --th-accent-text: var(--orange-bright);
}
[data-theme="light"] {
  --th-bg: #FAFBFC;
  --th-bg2: #F2F4F6;
  --th-card: #FFFFFF;
  --th-line: #E4E7EB;
  --th-text: #1A2027;
  --th-muted: #5B6570;
  --th-accent-text: var(--orange-deep);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  background: var(--th-bg);
  color: var(--th-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,15,19,0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 25px; width: auto; display: block; }
.nav-links { display: flex; gap: 2px; list-style: none; margin-left: auto; }
.nav-links a {
  color: #C9D0D8; font-size: 14px; font-weight: 500;
  padding: 9px 11px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--orange-bright); }

.btn-assist {
  display: inline-flex; align-items: center; gap: 8px;
  color: #E4E8ED; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  padding: 9px 15px; border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-family: inherit;
}
.btn-assist:hover { border-color: var(--orange-bright); background: rgba(237,106,10,0.1); }
.btn-assist svg { width: 16px; height: 16px; color: var(--orange-bright); }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--orange); color: var(--orange-ink);
  font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 10px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--orange-bright); transform: translateY(-1px); }

.theme-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--ink-line);
  color: #C9D0D8;
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, color .2s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.14); color: #fff; }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  color: #C9D0D8;
}
.burger svg { width: 22px; height: 22px; }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(237,106,10,0.16), transparent 60%),
    radial-gradient(700px 380px at -8% 108%, rgba(237,106,10,0.07), transparent 55%),
    linear-gradient(180deg, var(--ink-0), var(--ink-1));
  color: var(--ink-text);
  overflow: hidden;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 480px at 70% 20%, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(720px 480px at 70% 20%, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-bright);
  background: rgba(237,106,10,0.12);
  border: 1px solid rgba(237,106,10,0.3);
  padding: 7px 14px; border-radius: 100px;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-bright); }
h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12; font-weight: 750; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
h1 .accent { color: var(--orange-bright); }
.hero p.lead { font-size: 18px; color: var(--ink-muted); max-width: 540px; margin-bottom: 34px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 650; font-size: 15.5px;
  padding: 14px 26px; border-radius: 12px;
  cursor: pointer; border: none; font-family: inherit;
  transition: background .2s, transform .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-text); border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.hero-tags span {
  font-size: 13px; color: var(--ink-muted);
  border: 1px solid var(--ink-line);
  background: rgba(255,255,255,0.03);
  padding: 6px 13px; border-radius: 100px;
}

.hero-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.hero-panel .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--ink-line);
}
.hero-panel .panel-head strong { font-size: 14px; font-weight: 600; color: #D7DCE2; }
.hero-panel .panel-head .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ok-fg); }
.hero-panel .panel-head .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,0.15);
}
.prow { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 10px; transition: background .2s; }
.prow:hover { background: rgba(255,255,255,0.04); }
.prow .pico {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,106,10,0.14); color: var(--orange-bright); flex-shrink: 0;
}
.prow .pico svg { width: 19px; height: 19px; }
.prow .ptxt { flex: 1; min-width: 0; }
.prow .ptxt b { display: block; font-size: 14px; font-weight: 600; color: #E4E8ED; }
.prow .ptxt small { font-size: 12.5px; color: var(--ink-muted); }
.prow .pstate {
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 100px;
  background: var(--ok-bg); color: var(--ok-fg); flex-shrink: 0;
}
.prow .pstate.plan { background: rgba(237,106,10,0.14); color: var(--orange-bright); }

/* ---------- Hero des pages internes (toujours sombre) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(760px 320px at 85% -20%, rgba(237,106,10,0.15), transparent 60%),
    linear-gradient(180deg, var(--ink-0), var(--ink-1));
  color: var(--ink-text);
  overflow: hidden;
  padding: 64px 0 58px;
}
.page-hero .wrap { position: relative; }
.page-hero .kicker {
  font-size: 13px; font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange-bright);
  margin-bottom: 14px;
}
.page-hero h1 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 16px; max-width: 760px; }
.page-hero p { font-size: 17px; color: var(--ink-muted); max-width: 640px; }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head .kicker {
  font-size: 13px; font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange-deep);
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18; font-weight: 720; letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.sec-head p { font-size: 16.5px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-theme { background: var(--th-bg); color: var(--th-text); transition: background .35s, color .35s; }
.sec-theme .sec-head p { color: var(--th-muted); }
.sec-theme .sec-head .kicker { color: var(--th-accent-text); }

.sec-paper { background: var(--paper-0); color: var(--paper-text); }
.sec-paper .sec-head p { color: var(--paper-muted); }
.sec-paper .link-arrow { color: var(--orange-deep); }

.sec-ink { background: linear-gradient(180deg, var(--ink-1), var(--ink-0)); color: var(--ink-text); }
.sec-ink .sec-head p { color: var(--ink-muted); }
.sec-ink .sec-head .kicker { color: var(--orange-bright); }

/* ---------- Cartes domaines (accueil) ---------- */
.domains { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.domain-card {
  position: relative;
  background: var(--th-card);
  border: 1px solid var(--th-line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .35s;
}
.domain-card:hover { transform: translateY(-4px); border-color: rgba(237,106,10,0.45); box-shadow: 0 24px 50px rgba(0,0,0,0.18); }
.domain-card::after {
  content: "";
  position: absolute; top: 0; left: 34px; right: 34px; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 0 0 4px 4px; opacity: 0.85;
}
.domain-card .dico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,106,10,0.13); color: var(--th-accent-text);
  margin-bottom: 22px;
}
.domain-card .dico svg { width: 26px; height: 26px; }
.domain-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.domain-card p { color: var(--th-muted); font-size: 15.5px; margin-bottom: 22px; }
.domain-card ul { list-style: none; margin-bottom: 26px; }
.domain-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--th-muted); padding: 5px 0; }
.domain-card li svg { width: 16px; height: 16px; color: var(--th-accent-text); flex-shrink: 0; margin-top: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; color: var(--th-accent-text); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Grille services (accueil + page services) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: var(--paper-1);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,26,33,0.10); border-color: rgba(237,106,10,0.5); }
.svc .sico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(237,106,10,0.14), rgba(237,106,10,0.06));
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.svc .sico svg { width: 22px; height: 22px; }
.svc h3 { font-size: 16.5px; font-weight: 680; margin-bottom: 8px; }
.svc p { font-size: 14px; color: var(--paper-muted); }
.svc .cats { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.services-foot { text-align: center; margin-top: 44px; }

/* ---------- Blocs détaillés (infogérance / cybersécurité) ---------- */
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.block {
  background: var(--paper-1);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.block:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(20,26,33,0.10); border-color: rgba(237,106,10,0.45); }
.block .bhead { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.block .bhead .sico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(237,106,10,0.14), rgba(237,106,10,0.06));
  color: var(--orange-deep);
}
.block .bhead .sico svg { width: 22px; height: 22px; }
.block h3 { font-size: 18.5px; font-weight: 700; }
.block > p { font-size: 14.5px; color: var(--paper-muted); margin-bottom: 18px; }
.block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; flex: 1; }
.block h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--paper-muted);
  margin-bottom: 9px;
}
.block ul { list-style: none; }
.block .cols li { display: flex; gap: 8px; font-size: 13.5px; color: var(--paper-text); padding: 3px 0; }
.block .cols li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 5px; }
.block .pb li svg { color: var(--paper-muted); }
.block .bn li svg { color: var(--ok-deep); }
.block .bfoot { border-top: 1px solid var(--paper-line); padding-top: 16px; }
.block .bfoot a { font-size: 14px; font-weight: 650; color: var(--orange-deep); display: inline-flex; align-items: center; gap: 7px; }
.block .bfoot a svg { width: 15px; height: 15px; transition: transform .2s; }
.block .bfoot a:hover svg { transform: translateX(3px); }

/* ---------- Filtres (chips) ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.fchip {
  font-family: inherit; cursor: pointer;
  font-size: 13.5px; font-weight: 600;
  color: var(--paper-muted);
  background: var(--paper-1);
  border: 1px solid var(--paper-line);
  padding: 8px 16px; border-radius: 100px;
  transition: color .2s, border-color .2s, background .2s;
}
.fchip:hover { border-color: var(--orange); color: var(--orange-deep); }
.fchip.on { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); }

.chip {
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.03em;
  color: var(--orange-deep);
  background: rgba(237,106,10,0.10);
  border: 1px solid rgba(237,106,10,0.28);
  padding: 3px 10px; border-radius: 100px;
}
.chip.neutral { color: var(--paper-muted); background: transparent; border-color: var(--paper-line); }

/* ---------- Avantages / listes à icônes ---------- */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefit-list { list-style: none; display: grid; gap: 16px; }
.benefit-list li {
  display: flex; gap: 16px;
  background: var(--th-card);
  border: 1px solid var(--th-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: background .35s, border-color .35s;
}
.benefit-list .bico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,106,10,0.13); color: var(--th-accent-text);
}
.benefit-list .bico svg { width: 20px; height: 20px; }
.benefit-list b { display: block; font-size: 15.5px; font-weight: 650; margin-bottom: 3px; }
.benefit-list p { font-size: 14px; color: var(--th-muted); }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: rgba(255,255,255,0.035); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 28px 24px; }
.step .num { font-size: 13px; font-weight: 700; color: var(--orange-bright); letter-spacing: 0.08em; margin-bottom: 14px; }
.step h3 { font-size: 17.5px; font-weight: 680; margin-bottom: 9px; }
.step p { font-size: 14px; color: var(--ink-muted); }

/* ---------- Actualités ---------- */
.news-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.news-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.news-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--paper-muted); pointer-events: none;
}
.news-search input {
  width: 100%; font-family: inherit; font-size: 14.5px;
  padding: 11px 14px 11px 42px;
  border: 1px solid var(--paper-line); border-radius: 11px;
  background: var(--paper-1); color: var(--paper-text);
  transition: border-color .2s, box-shadow .2s;
}
.news-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237,106,10,0.15); }
.news-note { font-size: 12.5px; color: var(--paper-muted); font-style: italic; margin-bottom: 28px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: var(--paper-1);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,26,33,0.11); }
.news-card.hidden { display: none; }
.news-cover { height: 150px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); }
.news-cover svg { width: 38px; height: 38px; opacity: 0.9; }
.cover-a { background: linear-gradient(135deg, #2A1503, #7C3D0A 55%, var(--orange)); }
.cover-b { background: linear-gradient(135deg, #14181E, #2C3947 60%, #4A5B6E); }
.cover-c { background: linear-gradient(135deg, #3A2004, var(--orange-deep) 60%, var(--orange-bright)); }
.cover-d { background: linear-gradient(135deg, #101418, #1F2933 55%, #37475A); }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; flex-wrap: wrap; }
.news-meta time, .news-meta .rt { font-size: 12.5px; color: var(--paper-muted); }
.news-card h3 { font-size: 16.5px; font-weight: 680; line-height: 1.35; margin-bottom: 8px; }
.news-card h3 a:hover { color: var(--orange-deep); }
.news-card .excerpt { font-size: 13.5px; color: var(--paper-muted); flex: 1; }
.news-card .news-foot {
  margin-top: 16px; padding-top: 13px;
  border-top: 1px solid var(--paper-line);
  font-size: 13px; color: var(--paper-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.news-card .news-foot a { color: var(--orange-deep); font-weight: 600; }
.news-empty {
  display: none;
  text-align: center; color: var(--paper-muted);
  padding: 40px 0; font-size: 15px;
}
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--paper-line); background: var(--paper-1); color: var(--paper-text);
  transition: border-color .2s, color .2s;
}
.pagination a:hover { border-color: var(--orange); color: var(--orange-deep); }
.pagination .cur { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); }
.pagination .dots { border: none; background: none; color: var(--paper-muted); }

/* ---------- Page article ---------- */
.article-hero { padding: 56px 0 40px; }
.article-hero .backlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-muted);
  margin-bottom: 26px; transition: color .2s;
}
.article-hero .backlink:hover { color: var(--orange-bright); }
.article-hero .backlink svg { width: 15px; height: 15px; }
.article-hero h1 { font-size: clamp(28px, 3.4vw, 40px); max-width: 820px; }
.article-hero .amet { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; color: var(--ink-muted); font-size: 14px; }
.article-hero .amet .chip { color: var(--orange-bright); background: rgba(237,106,10,0.12); border-color: rgba(237,106,10,0.3); }
.article-hero .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(140deg, var(--orange), var(--orange-deep));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
}
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start; }
.prose { max-width: 720px; }
.prose .acover {
  height: 300px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.prose .acover svg { width: 54px; height: 54px; }
.prose h2 { font-size: 24px; font-weight: 720; letter-spacing: -0.01em; margin: 36px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.prose p { font-size: 16px; color: var(--paper-text); margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { font-size: 16px; margin-bottom: 7px; }
.prose .callout {
  border-left: 3px solid var(--orange);
  background: rgba(237,106,10,0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 26px 0;
  font-size: 15px;
}
.aside-card {
  background: var(--paper-1);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.aside-card h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--paper-muted); margin-bottom: 14px; }
.share-row { display: flex; gap: 10px; }
.share-row button {
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--paper-line); background: var(--paper-1); color: var(--paper-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s;
}
.share-row button:hover { color: var(--orange-deep); border-color: var(--orange); }
.share-row svg { width: 18px; height: 18px; }
.mini-news { display: grid; gap: 14px; }
.mini-news a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--paper-line); transition: border-color .2s; }
.mini-news a:hover { border-color: var(--orange); }
.mini-news b { font-size: 14px; font-weight: 650; line-height: 1.35; }
.mini-news small { font-size: 12.5px; color: var(--paper-muted); }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about-card {
  background: var(--th-card); border: 1px solid var(--th-line);
  border-radius: var(--radius-lg); padding: 30px;
  transition: background .35s, border-color .35s;
}
.about-card .sico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,106,10,0.13); color: var(--th-accent-text);
  margin-bottom: 16px;
}
.about-card .sico svg { width: 22px; height: 22px; }
.about-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.about-card p, .about-card li { font-size: 14.5px; color: var(--th-muted); }
.about-card ul { list-style: none; margin-top: 8px; }
.about-card li { display: flex; gap: 9px; padding: 4px 0; }
.about-card li svg { width: 15px; height: 15px; color: var(--th-accent-text); flex-shrink: 0; margin-top: 5px; }
.tbc { color: var(--orange-deep); font-weight: 600; }
.sec-ink .tbc, .sec-theme .tbc { color: var(--th-accent-text); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 48px; align-items: start; }
.form-card {
  background: var(--paper-1); border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg); padding: 36px;
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 650; }
.field .opt { font-weight: 500; color: var(--paper-muted); font-size: 13px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--paper-line); border-radius: 11px;
  background: var(--paper-0); color: var(--paper-text);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange);
  background: var(--paper-1);
  box-shadow: 0 0 0 3px rgba(237,106,10,0.15);
}
.field .err { display: none; font-size: 13px; color: #B91C1C; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #DC2626; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex-shrink: 0; }
.consent label { font-size: 13.5px; color: var(--paper-muted); }
.form-note { font-size: 12.5px; color: var(--paper-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: var(--ok-bg); border: 1px solid rgba(21,128,61,0.35);
  color: var(--ok-deep); border-radius: var(--radius);
  padding: 16px 18px; font-size: 14.5px; font-weight: 550;
  margin-bottom: 20px;
}
.form-success.show { display: block; }
.contact-side { display: grid; gap: 20px; }
.side-card {
  background: var(--paper-1); border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg); padding: 26px;
}
.side-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.side-card h3 svg { width: 19px; height: 19px; color: var(--orange-deep); }
.side-card p, .side-card li { font-size: 14px; color: var(--paper-muted); }
.side-card ul { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.side-card .btn { margin-top: 16px; font-size: 14.5px; padding: 12px 20px; }

/* ---------- Bande CTA ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 300px at 15% 120%, rgba(237,106,10,0.22), transparent 60%),
    linear-gradient(180deg, var(--ink-1), var(--ink-0));
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-text);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 720; letter-spacing: -0.015em; margin-bottom: 10px; }
.cta-inner p { color: var(--ink-muted); max-width: 520px; }

/* ---------- Modale Assistance ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,10,13,0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--th-card);
  color: var(--th-text);
  border: 1px solid var(--th-line);
  border-radius: var(--radius-lg);
  max-width: 520px; width: 100%;
  padding: 34px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
  position: relative;
}
.modal .mclose {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 10px;
  border: none; background: transparent; cursor: pointer;
  color: var(--th-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal .mclose:hover { background: rgba(237,106,10,0.12); color: var(--th-accent-text); }
.modal .mclose svg { width: 19px; height: 19px; }
.modal .mico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,106,10,0.13); color: var(--th-accent-text);
  margin-bottom: 18px;
}
.modal .mico svg { width: 26px; height: 26px; }
.modal h2 { font-size: 22px; font-weight: 720; margin-bottom: 10px; }
.modal > p { font-size: 14.5px; color: var(--th-muted); margin-bottom: 22px; }
.dl-row { display: grid; gap: 12px; margin-bottom: 20px; }
.dl-btn {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--th-line);
  background: var(--th-bg2);
  border-radius: var(--radius);
  padding: 15px 18px;
  transition: border-color .2s, transform .2s;
}
.dl-btn:hover { border-color: var(--orange); transform: translateY(-2px); }
.dl-btn .dico2 {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,106,10,0.13); color: var(--th-accent-text);
}
.dl-btn .dico2 svg { width: 20px; height: 20px; }
.dl-btn b { display: block; font-size: 15px; font-weight: 650; }
.dl-btn small { font-size: 12.5px; color: var(--th-muted); }
.dl-btn .dlarrow { margin-left: auto; color: var(--th-accent-text); }
.dl-btn .dlarrow svg { width: 18px; height: 18px; }
.modal .warn {
  display: flex; gap: 11px;
  font-size: 13px; color: var(--th-muted);
  background: rgba(237,106,10,0.07);
  border: 1px solid rgba(237,106,10,0.22);
  border-radius: var(--radius);
  padding: 13px 15px;
}
.modal .warn svg { width: 17px; height: 17px; color: var(--th-accent-text); flex-shrink: 0; margin-top: 2px; }
.modal .mnote { font-size: 12px; color: var(--th-muted); margin-top: 14px; font-style: italic; }

/* ---------- Footer ---------- */
footer { background: var(--ink-0); color: var(--ink-muted); padding: 64px 0 34px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 44px; padding-bottom: 44px;
  border-bottom: 1px solid var(--ink-line);
}
.foot-grid img { height: 22px; width: auto; margin-bottom: 18px; }
.foot-grid p { font-size: 14px; max-width: 300px; }
.foot-grid h4 {
  color: #D7DCE2; font-size: 13.5px; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-grid ul a { font-size: 14px; transition: color .2s; }
.foot-grid ul a:hover { color: var(--orange-bright); }
.foot-grid address { font-style: normal; font-size: 14px; display: grid; gap: 9px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 26px; font-size: 13px; flex-wrap: wrap;
}
.foot-bottom .legal { display: flex; gap: 22px; }
.foot-bottom a:hover { color: var(--orange-bright); }

/* ---------- Révélation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 60px; padding-bottom: 68px; }
  .hero-panel { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .blocks { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { gap: 10px; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: rgba(12,15,19,0.97);
    border-bottom: 1px solid var(--ink-line);
    padding: 14px 20px 20px; margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 14px; font-size: 16px; }
  .burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav-cta { display: none; }
  .btn-assist span { display: none; }
  .btn-assist { padding: 10px 12px; }
  .domains { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  section { padding: 64px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .block .cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; justify-content: center; }
}

/* ---------- Certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert {
  background: var(--th-card);
  border: 1px solid var(--th-line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  transition: transform .22s, border-color .22s, background .35s;
}
.cert:hover { transform: translateY(-3px); border-color: rgba(237,106,10,0.5); }
.cert .acr {
  display: inline-block;
  font-size: 20px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--th-accent-text);
  margin-bottom: 6px;
}
.cert b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.35; margin-bottom: 7px; }
.cert p { font-size: 13.5px; color: var(--th-muted); margin-bottom: 12px; }
.cert small {
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.04em;
  color: var(--th-muted);
  border: 1px solid var(--th-line);
  padding: 3px 10px; border-radius: 100px;
}
.certs-note { font-size: 12.5px; color: var(--th-muted); font-style: italic; margin-top: 22px; }
@media (max-width: 1020px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }
