/* =====================================================================
   HNAT Consult & Engineering — Design system
   Premium, clair et accessible. Bleu hydrogène + vert nature.
   ===================================================================== */

:root{
  --primary:    #E14B0C;   /* orange de marque HNAT (document) — action, liens, actifs */
  --primary-d:  #BE3E07;
  --primary-rgb: 225,75,12;
  --accent:     #F2703A;   /* même famille, ton plus clair pour les mises en avant */
  --accent-d:   #D9560F;
  --accent-rgb: 242,112,58;
  --navy:       #17181A;   /* fond sombre (noir/charbon) — hero, footer */
  --ink:        #1A1C1E;   /* titres (quasi noir) */
  --soft:       #5E5A57;   /* texte secondaire (gris chaud) */
  --line:       #ECE6E1;   /* bordures discrètes */
  --surface:    #FFFFFF;
  --bg:         #F8F5F2;   /* fond blanc cassé chaud */
  --bg-soft:    #F3ECE6;
  --success:    #16A96B;
  --danger:     #D4432E;
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 45px rgba(12,30,51,.10);
  --shadow-sm:  0 8px 24px rgba(12,30,51,.08);
  --shadow-lg:  0 30px 70px rgba(12,30,51,.16);
  --font:       "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  --title:      "Sora", "Poppins", sans-serif;
  --maxw:       1200px;
}

/* --------------------------------------------------------------------- */
/*  Base                                                                 */
/* --------------------------------------------------------------------- */

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font); font-size:16px; line-height:1.6; font-weight:400;
  overflow-x:hidden; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{ max-width:100%; height:auto; }
a{ color:var(--primary); text-decoration:none; }
h1,h2,h3,h4,h5{ font-family:var(--title); color:var(--ink); margin:0; line-height:1.2; }
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; }
button{ font-family:inherit; }
:focus-visible{ outline:3px solid rgba(var(--primary-rgb),.45); outline-offset:2px; border-radius:6px; }
::selection{ background:rgba(var(--primary-rgb),.16); }

.hn-wrap{ max-width:var(--maxw); margin:0 auto; padding-left:22px; padding-right:22px; }
.hn-section{ padding:78px 0; }
.hn-section.tight{ padding:44px 0; }
.hn-section.alt{ background:var(--surface); }
.hn-section.dark{ background:var(--navy); color:#fff; }
.text-center{ text-align:center; }

/* --------------------------------------------------------------------- */
/*  En-têtes de section                                                  */
/* --------------------------------------------------------------------- */

.hn-eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--title); font-weight:600; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--accent-d); margin-bottom:14px;
}
.hn-eyebrow::before{ content:""; width:26px; height:3px; border-radius:3px; background:var(--accent); }
.dark .hn-eyebrow{ color:#F6A579; }
.hn-h2{ font-weight:800; font-size:clamp(28px,3.6vw,40px); letter-spacing:-.5px; margin:0 0 14px; }
.hn-h2 .accent{ color:var(--primary); }
.dark .hn-h2{ color:#fff; }
.hn-lead{ color:var(--soft); font-size:clamp(15px,1.5vw,17.5px); line-height:1.75; max-width:640px; }
.dark .hn-lead{ color:#c2d4e2; }
.hn-head-center{ max-width:720px; margin:0 auto 48px; text-align:center; }
.hn-head-center .hn-lead{ margin-left:auto; margin-right:auto; }

/* --------------------------------------------------------------------- */
/*  Boutons                                                              */
/* --------------------------------------------------------------------- */

.hn-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--title); font-weight:600; font-size:15px; line-height:1;
  padding:15px 28px; border-radius:50px; border:1.6px solid transparent;
  cursor:pointer; transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-decoration:none; white-space:nowrap;
}
.hn-btn-primary{ background:var(--primary); color:#fff; box-shadow:0 12px 26px rgba(var(--primary-rgb),.28); }
.hn-btn-primary:hover{ background:var(--primary-d); transform:translateY(-3px); box-shadow:0 16px 32px rgba(var(--primary-rgb),.36); color:#fff; }
.hn-btn-accent{ background:var(--accent); color:#fff; box-shadow:0 12px 26px rgba(var(--accent-rgb),.28); }
.hn-btn-accent:hover{ background:var(--accent-d); transform:translateY(-3px); box-shadow:0 16px 32px rgba(var(--accent-rgb),.36); color:#fff; }
.hn-btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.hn-btn-ghost:hover{ border-color:var(--primary); color:var(--primary); transform:translateY(-3px); }
.hn-btn-white{ background:#fff; color:var(--navy); }
.hn-btn-white:hover{ background:var(--accent); color:#fff; transform:translateY(-3px); }
.hn-btn-outline-light{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.4); backdrop-filter:blur(6px); }
.hn-btn-outline-light:hover{ background:#fff; color:var(--navy); transform:translateY(-3px); }
.hn-btn.block{ width:100%; }

/* --------------------------------------------------------------------- */
/*  Preloader                                                            */
/* --------------------------------------------------------------------- */

.hn-preloader{
  position:fixed; inset:0; z-index:100000; background:var(--navy);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:26px;
  transition:opacity .6s ease, visibility .6s ease;
}
.hn-preloader.done{ opacity:0; visibility:hidden; }
.hn-preloader .box{ position:relative; width:132px; height:132px; display:flex; align-items:center; justify-content:center; }
.hn-preloader .ring{ position:absolute; inset:0; border-radius:50%; border:4px solid rgba(255,255,255,.08);
  border-top-color:var(--accent); border-right-color:var(--primary); animation:hnSpin 1s linear infinite; }
.hn-preloader .ring::after{ content:""; position:absolute; inset:11px; border-radius:50%;
  border:3px solid rgba(255,255,255,.06); border-bottom-color:rgba(255,255,255,.35); animation:hnSpin 1.7s linear infinite reverse; }
.hn-preloader .logo{ position:relative; z-index:1; animation:hnPop .6s cubic-bezier(.2,1.3,.4,1) both; }
.hn-preloader .logo svg,.hn-preloader .logo img{ height:70px; width:auto; }
.hn-preloader .tag{ color:#cfe0ee; font-family:var(--title); font-weight:600; font-size:14px; letter-spacing:.04em;
  opacity:0; animation:hnFade .8s ease .35s forwards; }
.hn-preloader .molecule{ position:relative; width:120px; height:8px; }
.hn-preloader .molecule span{ position:absolute; top:0; width:8px; height:8px; border-radius:50%; background:var(--accent); animation:hnBounce 1.4s ease-in-out infinite; }
.hn-preloader .molecule span:nth-child(1){ left:10%; animation-delay:0s; }
.hn-preloader .molecule span:nth-child(2){ left:45%; background:var(--primary); animation-delay:.2s; }
.hn-preloader .molecule span:nth-child(3){ left:80%; animation-delay:.4s; }
@keyframes hnSpin{ to{ transform:rotate(360deg); } }
@keyframes hnPop{ from{ transform:scale(.6); opacity:0; } to{ transform:scale(1); opacity:1; } }
@keyframes hnFade{ to{ opacity:1; } }
@keyframes hnBounce{ 0%,100%{ transform:translateY(0); opacity:.5; } 50%{ transform:translateY(-8px); opacity:1; } }

/* --------------------------------------------------------------------- */
/*  En-tête / navigation                                                 */
/* --------------------------------------------------------------------- */

.hn-header{ position:fixed; top:0; left:0; width:100%; z-index:9000; padding:14px 0; transition:.35s; }
.hn-header .bar{ max-width:var(--maxw); margin:0 auto; padding:0 22px; display:flex; align-items:center; gap:24px; }
.hn-brand{ display:inline-flex; align-items:center; margin-right:auto; text-decoration:none; }
.hn-logo{ height:46px; width:auto; display:block; }
.hn-logo-dark{ display:none; }
.hn-header.scrolled .hn-logo-light{ display:none; }
.hn-header.scrolled .hn-logo-dark{ display:block; }
.hn-brand.on-dark .hn-logo-light{ display:block; } .hn-brand.on-dark .hn-logo-dark{ display:none; }
.hn-brand.on-light .hn-logo-light{ display:none; } .hn-brand.on-light .hn-logo-dark{ display:block; }
.hn-header.scrolled{ background:rgba(255,255,255,.94); backdrop-filter:blur(12px); box-shadow:0 6px 24px rgba(12,30,51,.09); padding:8px 0; }

.hn-nav{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.hn-nav > li{ position:relative; }
.hn-nav > li > a{
  display:inline-flex; align-items:center; gap:7px; font-family:var(--title); font-weight:500; font-size:15.5px;
  color:#fff; padding:10px 16px; border-radius:50px; transition:.25s; white-space:nowrap;
}
.hn-header.scrolled .hn-nav > li > a{ color:var(--ink); }
.hn-nav > li > a:hover,.hn-nav > li.current > a{ color:#fff; background:var(--primary); }
.hn-header.scrolled .hn-nav > li > a:hover,.hn-header.scrolled .hn-nav > li.current > a{ color:#fff; }
.hn-nav > li > a .caret{ font-size:10px; opacity:.75; transition:transform .25s; }
.hn-nav > li:hover > a .caret{ transform:rotate(180deg); }

.hn-sub{
  position:absolute; left:0; top:calc(100% + 10px); min-width:250px; background:#fff;
  border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:8px;
  margin:0; list-style:none; opacity:0; visibility:hidden; transform:translateY(10px); transition:.28s; z-index:20;
}
.hn-nav > li:hover .hn-sub{ opacity:1; visibility:visible; transform:translateY(0); }
.hn-sub li a{ display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:9px;
  font-size:14.5px; font-weight:500; color:var(--ink); transition:.2s; }
.hn-sub li a i{ color:var(--primary); font-size:13px; width:18px; text-align:center; }
.hn-sub li a:hover{ background:var(--bg-soft); color:var(--primary); }

.hn-header .extra{ display:flex; align-items:center; gap:12px; }
.hn-burger{ display:none; width:46px; height:46px; border-radius:12px; border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.12); color:#fff; cursor:pointer; align-items:center; justify-content:center; font-size:19px; }
.hn-header.scrolled .hn-burger{ border-color:var(--line); background:#fff; color:var(--ink); }

/* Drawer mobile */
.hn-drawer-overlay{ position:fixed; inset:0; background:rgba(8,20,34,.55); z-index:9500; opacity:0; visibility:hidden; transition:.3s; }
.hn-drawer-overlay.open{ opacity:1; visibility:visible; }
.hn-drawer{
  position:fixed; top:0; right:-340px; width:320px; max-width:88vw; height:100%; background:#fff; z-index:9600;
  box-shadow:-20px 0 60px rgba(12,30,51,.2); transition:right .38s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; overflow-y:auto;
}
.hn-drawer.open{ right:0; }
.hn-drawer .dhead{ display:flex; align-items:center; justify-content:space-between; padding:20px; border-bottom:1px solid var(--line); }
.hn-drawer .dclose{ width:40px; height:40px; border-radius:10px; border:1px solid var(--line); background:#fff; cursor:pointer; font-size:18px; color:var(--ink); }
.hn-drawer nav{ padding:12px 16px; }
.hn-drawer nav a{ display:block; padding:13px 12px; font-family:var(--title); font-weight:500; font-size:16px; color:var(--ink); border-bottom:1px solid var(--line); }
.hn-drawer nav a.sub{ padding-left:28px; font-size:14.5px; font-weight:400; color:var(--soft); }
.hn-drawer nav a:hover{ color:var(--primary); }
.hn-drawer .dfoot{ margin-top:auto; padding:20px; }
.hn-drawer .dsoc{ display:flex; gap:10px; justify-content:center; margin-top:16px; }
.hn-drawer .dsoc a{ width:40px; height:40px; border-radius:10px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--primary); }

/* --------------------------------------------------------------------- */
/*  Sélecteur de langue                                                  */
/* --------------------------------------------------------------------- */

.hn-lang{ position:relative; direction:ltr; font-family:var(--title); }
.hn-lang-toggle{ display:flex; align-items:center; gap:7px; height:44px; padding:0 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.12); color:#fff; cursor:pointer; font:600 13px/1 var(--title); }
.hn-header.scrolled .hn-lang-toggle{ border-color:var(--line); background:#fff; color:var(--ink); }
.hn-lang-toggle i{ font-size:10px; transition:transform .2s; }
.hn-lang-toggle[aria-expanded="true"] i{ transform:rotate(180deg); }
.hn-lang-flag{ width:20px; height:14px; display:block; object-fit:cover; border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.3); }
.hn-lang-menu{ position:absolute; top:calc(100% + 8px); right:0; width:186px; padding:6px; background:#fff;
  border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); z-index:50; }
.hn-lang-menu[hidden]{ display:none; }
.hn-lang-menu button{ display:flex; align-items:center; gap:10px; width:100%; padding:9px 10px; border:0; border-radius:8px;
  background:transparent; color:var(--ink); cursor:pointer; text-align:left; font:600 13.5px/1.2 var(--title); }
.hn-lang-menu button img{ width:22px; height:15px; flex:0 0 auto; object-fit:cover; border-radius:2px; box-shadow:0 0 0 1px rgba(16,24,40,.12); }
.hn-lang-menu button:hover,.hn-lang-menu button[aria-selected="true"]{ background:var(--bg-soft); color:var(--primary); }
html[dir="rtl"] .hn-lang-menu{ right:auto; left:0; }
.hn-lang-mobile .hn-lang-menu{ top:auto; bottom:calc(100% + 8px); left:50%; right:auto; transform:translateX(-50%); }

/* --------------------------------------------------------------------- */
/*  Hero                                                                 */
/* --------------------------------------------------------------------- */

.hn-hero{ position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; background:var(--navy); }
/* Slider d'images en fond */
.hn-hero-slides{ position:absolute; inset:0; z-index:0; }
.hn-hero-slide{ position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.08); transition:opacity 1.3s ease, transform 7s ease; }
.hn-hero-slide.on{ opacity:1; transform:scale(1); }
.hn-hero-overlay{ position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(15,15,17,.93) 0%, rgba(20,18,16,.85) 38%, rgba(20,18,16,.6) 70%, rgba(20,18,16,.46) 100%); }
.hn-hero-overlay::after{ content:""; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:54px 54px; mask-image:radial-gradient(circle at 72% 30%, #000 0%, transparent 72%); }
.hn-hero .inner{ position:relative; z-index:3; max-width:var(--maxw); margin:0 auto; padding:160px 22px 120px; width:100%; }
.hn-hero .col{ max-width:680px; }
/* Puces du slider */
.hn-hero-dots{ position:absolute; z-index:4; left:0; right:0; bottom:34px; display:flex; gap:10px; justify-content:center; }
.hn-hero-dots button{ width:11px; height:11px; border-radius:50px; border:none; background:rgba(255,255,255,.4); cursor:pointer; padding:0; transition:.3s; }
.hn-hero-dots button.on{ background:var(--accent); width:30px; }
.hn-hero .kick{ display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(6px); color:#fff; font-family:var(--title);
  font-weight:600; font-size:13px; letter-spacing:.03em; padding:9px 18px; border-radius:50px; margin-bottom:24px; }
.hn-hero .kick i{ color:var(--accent); }
.hn-hero h1{ color:#fff; font-weight:800; font-size:clamp(36px,5.2vw,60px); line-height:1.06; letter-spacing:-1.4px; margin:0 0 22px; }
.hn-hero h1 .g{ color:var(--accent); }
.hn-hero p.sub{ color:#c9dcec; font-size:clamp(16px,1.6vw,18.5px); line-height:1.7; max-width:520px; margin:0 0 34px; }
.hn-hero .acts{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px; }
.hn-hero .mini{ display:flex; gap:38px; flex-wrap:wrap; }
.hn-hero .mini .m .n{ font-family:var(--title); font-weight:800; font-size:clamp(26px,3vw,36px); color:#fff; line-height:1; }
.hn-hero .mini .m .n .u{ color:var(--accent); }
.hn-hero .mini .m .l{ color:#9fb8cc; font-size:13px; margin-top:7px; max-width:150px; }

/* Visuel hero : molécules d'hydrogène / carte */
.hn-hero .visual{ position:relative; height:420px; }
.hn-hero .orb{ position:absolute; inset:0; margin:auto; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(var(--primary-rgb),.55), rgba(12,30,51,0) 62%);
  border:1px solid rgba(255,255,255,.12); box-shadow:inset 0 0 60px rgba(var(--accent-rgb),.2); animation:hnFloat 7s ease-in-out infinite; }
.hn-hero .orb::before,.hn-hero .orb::after{ content:""; position:absolute; inset:-1px; border-radius:50%; border:1px dashed rgba(255,255,255,.14); }
.hn-hero .orb::after{ inset:34px; border-style:solid; border-color:rgba(var(--accent-rgb),.18); }
.hn-hero .chip{ position:absolute; display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18); backdrop-filter:blur(8px); color:#fff; font-family:var(--title); font-weight:600;
  font-size:13px; padding:11px 16px; border-radius:14px; box-shadow:var(--shadow); }
.hn-hero .chip i{ color:var(--accent); }
.hn-hero .chip.c1{ top:8%; left:-6%; animation:hnFloat 5.5s ease-in-out infinite; }
.hn-hero .chip.c2{ top:42%; right:-8%; animation:hnFloat 6.5s ease-in-out .4s infinite; }
.hn-hero .chip.c3{ bottom:6%; left:14%; animation:hnFloat 6s ease-in-out .8s infinite; }
.hn-hero .atom{ position:absolute; inset:0; margin:auto; width:16px; height:16px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 24px rgba(var(--accent-rgb),.8); }
.hn-hero .scroll-cue{ position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3; color:rgba(255,255,255,.7);
  font-size:12px; font-family:var(--title); letter-spacing:.1em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; }
.hn-hero .scroll-cue .mouse{ width:22px; height:36px; border:2px solid rgba(255,255,255,.5); border-radius:12px; position:relative; }
.hn-hero .scroll-cue .mouse::after{ content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:4px; height:7px; background:#fff; border-radius:3px; animation:hnWheel 1.6s ease infinite; }
@keyframes hnFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
@keyframes hnWheel{ 0%{ opacity:0; transform:translate(-50%,0); } 40%{ opacity:1; } 100%{ opacity:0; transform:translate(-50%,10px); } }

/* --------------------------------------------------------------------- */
/*  Piliers (bandeau sous le hero)                                       */
/* --------------------------------------------------------------------- */

.hn-pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.hn-pillar{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px;
  box-shadow:var(--shadow-sm); transition:.3s; }
.hn-pillar:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:rgba(var(--primary-rgb),.25); }
.hn-pillar .ic{ width:58px; height:58px; border-radius:15px; display:flex; align-items:center; justify-content:center;
  font-size:23px; color:#fff; background:linear-gradient(135deg,var(--primary),var(--primary-d)); box-shadow:0 12px 24px rgba(var(--primary-rgb),.28); margin-bottom:18px; }
.hn-pillar:nth-child(2) .ic{ background:linear-gradient(135deg,var(--accent),var(--accent-d)); box-shadow:0 12px 24px rgba(var(--accent-rgb),.28); }
.hn-pillar h3{ font-weight:700; font-size:19px; margin:0 0 8px; }
.hn-pillar p{ color:var(--soft); font-size:14.5px; line-height:1.65; margin:0; }

/* --------------------------------------------------------------------- */
/*  Cartes & features                                                    */
/* --------------------------------------------------------------------- */

.hn-grid{ display:grid; gap:26px; }
.hn-grid-2{ grid-template-columns:repeat(2,1fr); }
.hn-grid-3{ grid-template-columns:repeat(3,1fr); }
.hn-grid-4{ grid-template-columns:repeat(4,1fr); }
.hn-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow-sm); }
.hn-feature{ display:flex; gap:16px; align-items:flex-start; }
.hn-feature .ic{ flex:0 0 auto; width:52px; height:52px; border-radius:14px; background:rgba(var(--primary-rgb),.1);
  color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:21px; }
.hn-feature h4{ font-weight:700; color:var(--ink); margin:2px 0 6px; font-size:17px; }
.hn-feature p{ color:var(--soft); font-size:14px; line-height:1.6; margin:0; }

/* Cartes services */
.hn-service{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px 28px; box-shadow:var(--shadow-sm); transition:.32s; overflow:hidden; display:flex; flex-direction:column; }
.hn-service::before{ content:""; position:absolute; left:0; top:0; height:4px; width:100%; background:linear-gradient(90deg,var(--primary),var(--accent)); transform:scaleX(0); transform-origin:left; transition:.35s; }
.hn-service:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.hn-service:hover::before{ transform:scaleX(1); }
.hn-service .ic{ width:62px; height:62px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  font-size:25px; color:var(--primary); background:rgba(var(--primary-rgb),.1); margin-bottom:20px; transition:.32s; }
.hn-service:hover .ic{ background:var(--primary); color:#fff; transform:rotate(-6deg); }
.hn-service h3{ font-weight:700; font-size:19.5px; margin:0 0 12px; }
.hn-service p{ color:var(--soft); font-size:14.5px; line-height:1.68; margin:0 0 20px; }
.hn-service .rl{ margin-top:auto; display:inline-flex; align-items:center; gap:8px; color:var(--primary);
  font-family:var(--title); font-weight:600; font-size:14.5px; }
.hn-service .rl i{ transition:transform .25s; }
.hn-service:hover .rl i{ transform:translateX(5px); }

/* Liste de points cochés */
.hn-checks{ list-style:none; padding:0; margin:0; }
.hn-checks li{ position:relative; padding:8px 0 8px 32px; color:var(--soft); line-height:1.6; }
.hn-checks li::before{ content:"\f00c"; font-family:"Font Awesome 6 Free"; font-weight:900; color:var(--accent);
  position:absolute; left:0; top:9px; font-size:13px; width:20px; height:20px; background:rgba(var(--accent-rgb),.12);
  border-radius:50%; display:flex; align-items:center; justify-content:center; }

/* Média + texte */
.hn-split{ display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center; }
.hn-split .media{ border-radius:24px; overflow:hidden; box-shadow:var(--shadow); position:relative; }
.hn-split .media img{ width:100%; display:block; }
/* Carte fondateur : portrait compact, texte équilibré */
.hn-founder{ grid-template-columns:380px 1fr; gap:56px; align-items:center; }
.hn-founder .media{ width:380px; max-width:100%; margin:0; align-self:center; }
.hn-founder .media img{ width:100%; aspect-ratio:4/5; object-fit:cover; height:auto; display:block; }
@media(max-width:960px){ .hn-founder .media{ width:100%; max-width:380px; margin:0 auto; } }
.hn-figure{ border-radius:24px; overflow:hidden; box-shadow:var(--shadow); background:var(--navy); }

/* Diaporama de terrain dans la présentation */
.hn-split .hn-about-slider{ aspect-ratio:4/3; background:#132e50; }
.hn-about-slides,.hn-about-slides figure{ position:absolute; inset:0; }
.hn-about-slides figure{ margin:0; opacity:0; visibility:hidden; transition:opacity .55s ease,visibility .55s ease; }
.hn-about-slides figure.on{ opacity:1; visibility:visible; }
.hn-split .hn-about-slides img{ width:100%; height:100%; display:block; object-fit:cover; }
.hn-about-slides figure.ill{ background:#132e50; }
.hn-split .hn-about-slides figure.ill img{ object-fit:contain; padding:8px; }
.hn-prose .hn-inline-img{ margin:30px auto; max-width:640px; }
.hn-prose .hn-inline-img img{ width:100%; height:auto; display:block; border-radius:14px; box-shadow:var(--shadow-sm); }
.hn-about-arrow{ position:absolute; top:50%; z-index:3; width:42px; height:42px; border:1px solid rgba(255,255,255,.38); border-radius:50%; background:rgba(12,30,51,.62); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transform:translateY(-50%); transition:.2s; }
.hn-about-arrow:hover{ background:var(--primary); }
.hn-about-arrow.prev{ left:14px; }
.hn-about-arrow.next{ right:14px; }
.hn-about-dots{ position:absolute; z-index:3; left:50%; bottom:14px; display:flex; gap:8px; transform:translateX(-50%); padding:7px 10px; border-radius:30px; background:rgba(12,30,51,.55); }
.hn-about-dots button{ width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.55); cursor:pointer; transition:.2s; }
.hn-about-dots button.on{ width:24px; border-radius:8px; background:var(--accent); }

/* --------------------------------------------------------------------- */
/*  Stats                                                                */
/* --------------------------------------------------------------------- */

.hn-stats{ background:linear-gradient(135deg,#17181A,#2B2320); color:#fff; border-radius:24px; padding:52px 44px; position:relative; overflow:hidden; }
.hn-stats::after{ content:""; position:absolute; inset:0; opacity:.4;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:40px 40px; mask-image:radial-gradient(circle at 80% 20%,#000,transparent 70%); }
.hn-stats .row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; z-index:1; }
.hn-stat{ text-align:center; }
.hn-stat .num{ font-family:var(--title); font-weight:800; font-size:clamp(30px,4vw,46px); line-height:1; }
.hn-stat .num .u{ color:var(--accent); }
.hn-stat .lbl{ margin-top:10px; font-size:14px; color:#c3d6e6; }

/* --------------------------------------------------------------------- */
/*  Pays                                                                 */
/* --------------------------------------------------------------------- */

.hn-countries{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.hn-country{ display:inline-flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line);
  border-radius:50px; padding:13px 24px; font-family:var(--title); font-weight:600; font-size:15px; color:var(--ink); transition:.25s; }
.hn-country:hover{ border-color:var(--primary); color:var(--primary); transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.hn-country .flag{ width:32px; height:22px; display:block; flex:0 0 auto; object-fit:cover; border-radius:3px; box-shadow:0 0 0 1px rgba(16,24,40,.12); }

/* Bandeau logos partenaires */
.hn-logos{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; align-items:center; }
.hn-logos .lg{ height:76px; min-width:150px; padding:0 26px; background:var(--surface); border:1px solid var(--line);
  border-radius:14px; display:flex; align-items:center; justify-content:center; color:var(--soft); font-family:var(--title);
  font-weight:700; font-size:15px; letter-spacing:.02em; box-shadow:var(--shadow-sm); transition:.25s; text-align:center; }
.hn-logos .lg:hover{ color:var(--primary); border-color:rgba(var(--primary-rgb),.3); transform:translateY(-3px); }

/* --------------------------------------------------------------------- */
/*  News                                                                 */
/* --------------------------------------------------------------------- */

.hn-news{ background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden;
  box-shadow:var(--shadow-sm); transition:.32s; display:flex; flex-direction:column; }
.hn-news:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.hn-news .top{ display:block; height:200px; overflow:hidden; position:relative; }
.hn-news .top img{ width:100%; height:100%; object-fit:cover; object-position:center top; transition:transform .5s; }
.hn-news:hover .top img{ transform:scale(1.07); }
.hn-news .tag{ position:absolute; top:14px; left:14px; background:var(--accent); color:#fff; font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em; padding:6px 12px; border-radius:50px; font-family:var(--title); }
.hn-news .in{ padding:22px; flex:1; display:flex; flex-direction:column; }
.hn-news .date{ font-size:12.5px; color:var(--soft); margin-bottom:9px; }
.hn-news .date i{ color:var(--primary); }
.hn-news h3{ font-weight:700; font-size:18px; margin:0 0 11px; line-height:1.35; }
.hn-news h3 a{ color:var(--ink); } .hn-news h3 a:hover{ color:var(--primary); }
.hn-news p{ color:var(--soft); font-size:13.5px; line-height:1.6; margin:0 0 14px; }
.hn-news .rl{ margin-top:auto; color:var(--primary); font-weight:600; font-family:var(--title); font-size:14px; display:inline-flex; align-items:center; gap:7px; }
.hn-news .rl i{ transition:transform .25s; } .hn-news:hover .rl i{ transform:translateX(4px); }

/* --------------------------------------------------------------------- */
/*  Bandeau + fil d'Ariane                                               */
/* --------------------------------------------------------------------- */

.hn-banner{ position:relative; background:linear-gradient(135deg,#141416,#2A231E); color:#fff; padding:160px 0 74px; overflow:hidden; text-align:center; }
.hn-banner .grid-bg{ position:absolute; inset:0; opacity:.4;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:48px 48px; mask-image:radial-gradient(circle at 50% 0%,#000,transparent 75%); }
.hn-banner .glow{ position:absolute; width:420px; height:420px; border-radius:50%; filter:blur(90px); background:rgba(var(--primary-rgb),.3); top:-160px; right:10%; }
.hn-banner .hn-wrap{ position:relative; z-index:2; }
.hn-banner h1{ color:#fff; font-weight:800; font-size:clamp(30px,4vw,46px); margin:0; }
.hn-banner h1::after{ content:""; display:block; width:54px; height:4px; border-radius:4px; background:var(--accent); margin:18px auto 0; }
.hn-crumb{ display:flex; justify-content:center; align-items:center; gap:8px; font-size:13.5px; color:#c7dbea; margin:0 0 18px; flex-wrap:wrap; }
.hn-crumb a{ color:#fff; opacity:.9; } .hn-crumb a:hover{ color:var(--accent); opacity:1; }
.hn-crumb .sep{ color:var(--accent); }
.hn-crumb .cur{ color:#c7dbea; }

/* --------------------------------------------------------------------- */
/*  Prose (article)                                                      */
/* --------------------------------------------------------------------- */

.hn-prose{ max-width:760px; font-family:var(--font); font-weight:400; }
.hn-prose h2{ font-family:var(--title); font-weight:500; color:var(--ink); font-size:24px; line-height:1.35; margin:36px 0 12px; }
.hn-prose h3{ font-family:var(--title); font-weight:500; color:var(--ink); font-size:20px; line-height:1.4; margin:26px 0 10px; }
.hn-prose p{ color:var(--soft); font-family:var(--font); font-weight:400; line-height:1.85; margin:0 0 20px; font-size:16.5px; }
.hn-prose a{ color:var(--primary); text-decoration:underline; }

/* --------------------------------------------------------------------- */
/*  Formulaires                                                          */
/* --------------------------------------------------------------------- */

.hn-form{ display:grid; gap:17px; }
.hn-form .two{ display:grid; grid-template-columns:1fr 1fr; gap:17px; }
.hn-field{ display:flex; flex-direction:column; gap:7px; }
.hn-field label{ font-family:var(--title); font-weight:600; font-size:13.5px; color:var(--ink); }
.hn-input{ width:100%; height:50px; padding:0 15px; border:1.5px solid var(--line); border-radius:12px; background:#fff;
  font-family:var(--font); font-size:15px; color:var(--ink); transition:.2s; }
textarea.hn-input{ height:auto; padding:14px 15px; resize:vertical; min-height:140px; line-height:1.6; }
select.hn-input{ appearance:none; cursor:pointer;
  background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230C2036' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 15px center; padding-right:40px; }
.hn-input:focus{ border-color:var(--primary); box-shadow:0 0 0 4px rgba(var(--primary-rgb),.12); outline:none; }
.hn-input::placeholder{ color:#9fb0bd; }
.hn-form-msg{ display:none; padding:13px 16px; border-radius:11px; font-size:14px; }
.hn-form-msg.ok{ display:block; background:#eaf8f0; color:#116b3a; }
.hn-form-msg.err{ display:block; background:#fdeeec; color:#a2231a; }

/* Carte contact */
.hn-contact-card{ display:flex; gap:16px; align-items:flex-start; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); margin-bottom:14px; transition:.25s; text-decoration:none; }
.hn-contact-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.hn-contact-card .ic{ flex:0 0 auto; width:52px; height:52px; border-radius:14px; background:rgba(var(--primary-rgb),.1); color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:20px; }
.hn-contact-card h4{ font-weight:700; color:var(--ink); font-size:16px; margin:0 0 4px; }
.hn-contact-card p{ color:var(--soft); font-size:14px; margin:0; line-height:1.55; }

/* CTA final */
.hn-cta{ position:relative; overflow:hidden; background:linear-gradient(135deg,var(--primary),var(--primary-d)); color:#fff;
  border-radius:26px; padding:56px 48px; text-align:center; box-shadow:var(--shadow-lg); }
.hn-cta::before{ content:""; position:absolute; inset:0; opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:40px 40px; mask-image:radial-gradient(circle at 20% 20%,#000,transparent 70%); }
.hn-cta > *{ position:relative; z-index:1; }
.hn-cta h2{ color:#fff; font-weight:800; font-size:clamp(26px,3.4vw,38px); margin:0 0 14px; }
.hn-cta p{ color:rgba(255,255,255,.9); font-size:17px; max-width:560px; margin:0 auto 28px; }

/* --------------------------------------------------------------------- */
/*  Footer                                                               */
/* --------------------------------------------------------------------- */

.hn-footer{ background:var(--navy); color:#a8bccc; position:relative; }
.hn-footer .ftop{ max-width:var(--maxw); margin:0 auto; padding:60px 22px 34px; display:grid;
  grid-template-columns:2fr 1fr 1fr 1.2fr; gap:40px; }
.hn-footer .brand img,.hn-footer .brand svg{ height:48px; width:auto; margin-bottom:16px; display:block; }
.hn-footer .slogan{ color:#fff; font-family:var(--title); font-weight:600; font-size:15px; margin:0 0 10px; }
.hn-footer .desc{ font-size:13.5px; line-height:1.7; margin:0 0 18px; max-width:320px; }
.hn-footer .soc{ display:flex; gap:9px; }
.hn-footer .soc a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; color:#cfe0ee; transition:.25s; }
.hn-footer .soc a:hover{ background:var(--primary); color:#fff; border-color:var(--primary); transform:translateY(-3px); }
.hn-footer h5{ font-family:var(--title); font-weight:700; font-size:14px; color:#fff; margin:0 0 16px; letter-spacing:.02em; }
.hn-footer ul{ list-style:none; padding:0; margin:0; }
.hn-footer ul li{ margin-bottom:10px; }
.hn-footer ul a{ color:#a8bccc; font-size:13.5px; transition:.2s; }
.hn-footer ul a:hover{ color:#fff; padding-left:4px; }
.hn-footer .contact-li{ display:flex; gap:11px; align-items:flex-start; margin-bottom:13px; font-size:13.5px; line-height:1.55; }
.hn-footer .contact-li i{ color:var(--accent); margin-top:3px; }
.hn-footer .contact-li a{ color:#a8bccc; } .hn-footer .contact-li a:hover{ color:#fff; }
.hn-footer .fbottom{ border-top:1px solid rgba(255,255,255,.1); }
.hn-footer .fbottom .in{ max-width:var(--maxw); margin:0 auto; padding:20px 22px; display:flex; justify-content:space-between;
  align-items:center; gap:16px; flex-wrap:wrap; font-size:13px; }
.hn-footer .fbottom a{ color:#cfe0ee; } .hn-footer .fbottom a:hover{ color:#fff; }
.hn-footer .flinks{ display:flex; gap:20px; flex-wrap:wrap; }
.hn-footer .hn-credit{ color:#a8bccc; font-size:13px; }
.hn-footer .hn-credit a{ color:#fff; font-weight:600; }
.hn-footer .hn-credit a:hover{ color:var(--accent); }
.hn-footer .hn-credit .heart{ color:#ff5a7a; }

/* --------------------------------------------------------------------- */
/*  Scroll-top & divers                                                  */
/* --------------------------------------------------------------------- */

.hn-scrolltop{ position:fixed; right:22px; bottom:22px; z-index:8000; width:50px; height:50px; border-radius:50%;
  border:none; background:var(--primary); color:#fff; cursor:pointer; box-shadow:0 12px 28px rgba(var(--primary-rgb),.4);
  opacity:0; pointer-events:none; transition:.3s; display:flex; align-items:center; justify-content:center; font-size:16px; }
.hn-scrolltop.on{ opacity:1; pointer-events:auto; }
.hn-scrolltop:hover{ background:var(--primary-d); transform:translateY(-3px); }

.hn-cookies{ position:fixed; left:20px; right:20px; bottom:20px; z-index:8500; background:#fff; border:1px solid var(--line);
  box-shadow:var(--shadow-lg); border-radius:16px; padding:18px 22px; display:none; gap:18px; align-items:center;
  justify-content:space-between; flex-wrap:wrap; max-width:1000px; margin:0 auto; }
.hn-cookies.show{ display:flex; }
.hn-cookies p{ margin:0; color:var(--soft); font-size:13.5px; flex:1; min-width:240px; }
.hn-cookies .acts{ display:flex; gap:10px; }
.hn-cookies .acts .hn-btn{ padding:10px 22px; font-size:14px; }

/* --------------------------------------------------------------------- */
/*  Reveal au scroll                                                     */
/* --------------------------------------------------------------------- */

html.reveal-ready .hn-reveal{ opacity:0; transform:translateY(30px); transition:opacity .6s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
html.reveal-ready .hn-reveal.in{ opacity:1; transform:none; }
.hn-reveal[data-d="1"]{ transition-delay:.08s } .hn-reveal[data-d="2"]{ transition-delay:.16s }
.hn-reveal[data-d="3"]{ transition-delay:.24s } .hn-reveal[data-d="4"]{ transition-delay:.32s }

/* --------------------------------------------------------------------- */
/*  Responsive                                                           */
/* --------------------------------------------------------------------- */

@media (max-width:1100px){
  .hn-hero .inner{ grid-template-columns:1fr; gap:20px; }
  .hn-hero .visual{ display:none; }
  .hn-hero{ min-height:auto; }
}
@media (max-width:960px){
  .hn-nav,.hn-lang.hn-lang-desktop,.hn-header-cta{ display:none; }
  .hn-burger{ display:flex; }
  .hn-logo{ height:38px; }
  .hn-grid-3,.hn-grid-4,.hn-pillars,.hn-stats .row{ grid-template-columns:repeat(2,1fr); }
  .hn-split{ grid-template-columns:1fr; gap:34px; }
  .hn-footer .ftop{ grid-template-columns:1fr 1fr; gap:30px; }
  .hn-section{ padding:58px 0; }
}
@media (max-width:640px){
  .hn-grid-2,.hn-grid-3,.hn-grid-4,.hn-pillars,.hn-stats .row,.hn-form .two{ grid-template-columns:1fr; }
  .hn-footer .ftop{ grid-template-columns:1fr; }
  .hn-footer .fbottom .in{ flex-direction:column; text-align:center; }
  .hn-hero .inner{ padding:130px 22px 80px; }
  .hn-stats{ padding:38px 24px; }
  .hn-cta{ padding:40px 26px; }
  .hn-banner{ padding:130px 0 56px; }
}

/* --------------------------------------------------------------------- */
/*  RTL (arabe)                                                          */
/* --------------------------------------------------------------------- */

html[dir="rtl"] body{ text-align:right; }
html[dir="rtl"] .hn-eyebrow::before{ order:2; }
html[dir="rtl"] .hn-checks li{ padding:8px 32px 8px 0; }
html[dir="rtl"] .hn-checks li::before{ left:auto; right:0; }
html[dir="rtl"] .hn-header .brand{ margin-right:0; margin-left:auto; }
html[dir="rtl"] .hn-footer ul a:hover{ padding-left:0; padding-right:4px; }
html[dir="rtl"] .hn-drawer{ right:auto; left:-340px; }
html[dir="rtl"] .hn-drawer.open{ left:0; }
html[dir="rtl"] .hn-scrolltop{ right:auto; left:22px; }

/* --------------------------------------------------------------------- */
/*  Préférences de mouvement réduit                                      */
/* --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
  html.reveal-ready .hn-reveal{ opacity:1; transform:none; }
}


/* ===================== PRÉSENCE — CARTE INTERACTIVE ===================== */
.hn-presence{ display:grid; grid-template-columns:1.35fr .85fr; gap:40px; align-items:center; margin-top:10px; }
.hn-presence-map{ position:relative; }
.hn-presence .map-frame{ position:relative; width:100%; max-width:620px; margin:0 auto; aspect-ratio:0.887; }
.hn-presence .map-frame > img{ width:100%; height:100%; object-fit:contain; display:block; -webkit-user-drag:none; user-select:none; filter:drop-shadow(0 22px 42px rgba(var(--primary-rgb),.14)); }

.hn-presence .spokes{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; z-index:2; }
.hn-presence .spoke{ stroke:rgba(var(--primary-rgb),.5); stroke-width:1.4; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-dasharray:3 4; stroke-dashoffset:140; opacity:0; transition:stroke .25s ease; }
.hn-presence.in .spoke{ opacity:.85; animation:hnSpoke 1s ease forwards; animation-delay:calc(.3s + var(--sd,0s)); }
@keyframes hnSpoke{ to{ stroke-dashoffset:0; } }
.hn-presence .spoke.active{ stroke:var(--primary); stroke-width:2; stroke-dasharray:none; opacity:1; }

.hn-pin{ position:absolute; transform:translate(-50%,-50%); width:0; height:0; padding:0; border:0; background:none; cursor:pointer; z-index:3; }
.hn-pin.hq{ z-index:5; }
.hn-pin .dot{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) scale(0); width:15px; height:15px; border-radius:50%; background:var(--primary); border:2.5px solid #fff; box-shadow:0 4px 12px rgba(var(--primary-rgb),.5); display:grid; place-items:center; color:#fff; font-size:7px; transition:transform .35s cubic-bezier(.34,1.56,.64,1); }
.hn-presence.in .hn-pin .dot{ transform:translate(-50%,-50%) scale(1); transition-delay:calc(.55s + var(--i,0) * .12s); }
.hn-pin.hq .dot{ width:28px; height:28px; background:linear-gradient(135deg,var(--accent),var(--primary-d)); font-size:13px; box-shadow:0 7px 20px rgba(var(--primary-rgb),.6); transition-delay:.45s; }

.hn-pin .pulse,.hn-pin .beacon{ position:absolute; left:50%; top:50%; border-radius:50%; transform:translate(-50%,-50%) scale(1); pointer-events:none; }
.hn-pin .pulse{ width:15px; height:15px; background:rgba(var(--primary-rgb),.45); }
.hn-presence.in .hn-pin.filiale .pulse{ animation:hnPulse 2.6s ease-out infinite; animation-delay:calc(1s + var(--i,0) * .35s); }
.hn-pin.hq .beacon{ width:28px; height:28px; background:rgba(var(--primary-rgb),.3); }
.hn-presence.in .hn-pin.hq .beacon{ animation:hnPulse 2.2s ease-out infinite; }
.hn-presence.in .hn-pin.hq .beacon.b2{ animation-delay:1.1s; }
@keyframes hnPulse{ 0%{ opacity:.7; transform:translate(-50%,-50%) scale(1); } 70%,100%{ opacity:0; transform:translate(-50%,-50%) scale(3.6); } }

.hn-pin:hover .dot,.hn-pin:focus-visible .dot,.hn-pin.active .dot{ transform:translate(-50%,-50%) scale(1.4); }
.hn-pin.hq:hover .dot,.hn-pin.hq:focus-visible .dot,.hn-pin.hq.active .dot{ transform:translate(-50%,-50%) scale(1.18); }
.hn-pin .tip{ position:absolute; left:50%; bottom:calc(50% + 15px); transform:translateX(-50%) translateY(6px); background:var(--navy); color:#fff; padding:7px 12px; border-radius:10px; font-size:12.5px; font-weight:650; white-space:nowrap; line-height:1.25; text-align:center; opacity:0; visibility:hidden; transition:opacity .2s ease, transform .2s ease, visibility .2s; box-shadow:0 12px 26px rgba(0,0,0,.28); z-index:6; }
.hn-pin .tip small{ display:block; font-weight:500; font-size:10.5px; opacity:.78; letter-spacing:.3px; margin-top:1px; }
.hn-pin .tip.hq{ background:linear-gradient(135deg,var(--primary),var(--primary-d)); }
.hn-pin .tip::after{ content:""; position:absolute; left:50%; top:100%; transform:translateX(-50%); border:6px solid transparent; border-top-color:var(--navy); }
.hn-pin.hq .tip::after{ border-top-color:var(--primary-d); }
.hn-pin:hover .tip,.hn-pin:focus-visible .tip,.hn-pin.active .tip{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }

.hn-presence-side{ display:flex; flex-direction:column; gap:20px; }
.hn-presence-count{ display:flex; align-items:center; gap:15px; }
.hn-presence-count .big{ font-family:var(--title); font-size:clamp(46px,6vw,66px); font-weight:800; line-height:.9; color:var(--primary); }
.hn-presence-count .lbl{ font-weight:650; color:var(--ink); line-height:1.15; font-size:15px; }
.hn-presence-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:5px; }
.hn-presence-list li{ display:flex; align-items:center; gap:13px; padding:10px 14px; border-radius:var(--radius-sm); cursor:default; transition:background .2s ease, transform .2s ease; }
.hn-presence-list li .mk{ flex:0 0 auto; width:13px; height:13px; border-radius:50%; background:var(--primary); box-shadow:0 0 0 4px rgba(var(--primary-rgb),.12); }
.hn-presence-list li.hq .mk{ width:26px; height:26px; display:grid; place-items:center; background:linear-gradient(135deg,var(--accent),var(--primary-d)); color:#fff; font-size:11px; box-shadow:0 5px 13px rgba(var(--primary-rgb),.4); }
.hn-presence-list li .txt{ display:flex; flex-direction:column; min-width:0; }
.hn-presence-list li .txt strong{ font-weight:650; color:var(--ink); font-size:15px; }
.hn-presence-list li .txt em{ font-style:normal; font-size:12px; color:var(--soft); }
.hn-presence-list li.hq .txt em{ color:var(--primary); font-weight:600; }
.hn-presence-list li:hover,.hn-presence-list li.active{ background:var(--bg-soft); transform:translateX(5px); }

@media (max-width:860px){
  .hn-presence{ grid-template-columns:1fr; gap:24px; }
  .hn-presence-side{ max-width:520px; width:100%; margin:0 auto; }
}
