/*
 * Vigilus Technologie — editorial modernization
 * Inspired by the visual language used on Kiwango and OneCase:
 * light surfaces, restrained typography, strong photography and compact UI overlays.
 */

:root{
  --tech-blue:#13a3e3;
  --tech-blue-dark:#087eb6;
  --tech-blue-soft:#eaf7fc;
  --tech-red:#c30c29;
  --tech-red-dark:#a60b24;
  --tech-ink:#101820;
  --tech-muted:#5d6872;
  --tech-soft:#f4f7f7;
  --tech-warm:#fbfaf6;
  --tech-white:#fff;
  --tech-line:#dfe5e7;
  --tech-navy:#0b1b27;
  --tech-radius:16px;
  --tech-shadow:0 24px 64px rgba(12,28,38,.10);
}

*{box-sizing:border-box}
body{
  color:var(--tech-ink);
  background:var(--tech-warm);
  font-feature-settings:"kern" 1,"liga" 1;
  text-rendering:optimizeLegibility;
}
.wrap{width:min(1260px,calc(100% - 56px))}
.section{padding:88px 0}
.section.muted{background:#f3f6f6}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(251,250,246,.94);
  border-bottom:1px solid rgba(223,229,231,.9);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.header-inner{min-height:78px;gap:28px}
.brand{gap:12px;flex-shrink:0}
.brand img{width:116px}
.brand-mark{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding-left:12px;
  border-left:1px solid var(--tech-line);
  line-height:1;
}
.brand-mark strong{color:var(--tech-blue-dark);font-size:.63rem;letter-spacing:.17em}
.brand-mark span{margin-top:4px;color:#8b959c;font-size:.56rem;letter-spacing:.06em;text-transform:uppercase}
.site-header nav{gap:28px}
.site-header nav a{position:relative;color:#37434b;font-size:.82rem;font-weight:650}
.site-header nav a:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-8px;
  height:1px;
  background:var(--tech-blue-dark);
  transition:right .18s ease;
}
.site-header nav a:hover:after{right:0}
.site-header .button.small{min-height:42px;padding:0 16px;border-radius:9px;font-size:.78rem}
.nav-toggle{border:1px solid var(--tech-line);border-radius:9px;color:var(--tech-ink)}

/* Type */
.eyebrow{
  margin:0 0 18px;
  color:var(--tech-blue-dark);
  font-size:.66rem;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.eyebrow:before{display:none}
.eyebrow.dark{color:var(--tech-blue-dark)}
h1{font-size:clamp(2.55rem,4.7vw,4.35rem);line-height:1.01;letter-spacing:-.047em;font-weight:650}
h2{font-size:clamp(1.95rem,3.25vw,3.05rem);line-height:1.06;letter-spacing:-.038em;font-weight:650}
h3{letter-spacing:-.026em}
.lead{font-size:1rem;line-height:1.72}

.button{
  min-height:50px;
  padding:0 21px;
  border-radius:10px;
  background:var(--tech-red);
  border-color:var(--tech-red);
  font-size:.84rem;
  font-weight:750;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.button:hover{background:var(--tech-red-dark);border-color:var(--tech-red-dark);transform:translateY(-2px);box-shadow:none}
.button.light{background:#fff;border-color:#fff;color:var(--tech-ink)}
.button.secondary{background:transparent;color:var(--tech-ink);border-color:#9fa9ae}

.editorial-link{
  display:inline-flex;
  align-items:center;
  gap:18px;
  border-bottom:1px solid var(--tech-blue-dark);
  color:#0b5e86;
  text-decoration:none;
  font-size:.84rem;
  font-weight:750;
  line-height:2.25;
}
.editorial-link span{transition:transform .18s ease}
.editorial-link:hover span{transform:translateX(4px)}

/* Hero */
.tech-hero{padding:62px 0 76px;background:var(--tech-warm);overflow:hidden}
.tech-hero-grid{display:grid;grid-template-columns:minmax(390px,.82fr) minmax(560px,1.18fr);align-items:center;gap:72px}
.tech-hero-copy{padding:34px 0}
.tech-hero-copy h1{max-width:650px;margin:0 0 24px}
.tech-hero-lead{max-width:590px;margin:0;color:var(--tech-muted);font-size:1.02rem;line-height:1.78}
.tech-hero-actions{display:flex;align-items:center;gap:28px;margin-top:31px}
.tech-trust-line{display:flex;align-items:center;gap:10px;margin-top:38px;color:#68747b;font-size:.75rem;font-weight:650}
.tech-trust-line i{width:4px;height:4px;border-radius:50%;background:#b7c0c4}

.tech-hero-gallery{position:relative;min-height:585px}
.tech-photo{position:absolute;overflow:hidden;background:#e6ecee}
.tech-photo img{width:100%;height:100%;object-fit:cover}
.tech-photo-main{top:0;right:0;width:86%;height:57%}
.tech-photo-access{left:0;bottom:0;width:43%;height:47%;border:7px solid var(--tech-warm)}
.tech-photo-control{right:0;bottom:0;width:51%;height:39%;border:7px solid var(--tech-warm)}
.tech-system-card{
  position:absolute;
  z-index:3;
  left:34%;
  bottom:2%;
  width:min(370px,54%);
  padding:18px 20px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--tech-line);
  box-shadow:0 20px 50px rgba(12,28,38,.16);
}
.tech-system-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#7b868d;font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.tech-system-card-top strong{display:flex;align-items:center;gap:6px;color:#18764f;font-size:.62rem;letter-spacing:0;text-transform:none}
.tech-system-card-top strong i{width:6px;height:6px;border-radius:50%;background:#34b778;box-shadow:0 0 0 4px rgba(52,183,120,.11)}
.tech-system-flow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px;color:var(--tech-ink);font-size:.78rem;font-weight:760}
.tech-system-flow b{color:var(--tech-blue-dark);font-weight:500}
.tech-system-card p{margin:13px 0 0;padding-top:12px;border-top:1px solid #edf0f1;color:#7a858c;font-size:.68rem;line-height:1.5}

/* Trust / stats */
.trust-bar{background:#fff;border-top:1px solid var(--tech-line);border-bottom:1px solid var(--tech-line)}
.trust-grid>div{padding:22px 24px;border-color:var(--tech-line)}
.trust-grid strong{font-size:1.05rem;letter-spacing:-.02em}
.trust-grid span{font-size:.72rem;line-height:1.5}

/* Editorial headings */
.editorial-heading,.digital-heading{display:grid;grid-template-columns:1fr .72fr;align-items:end;gap:80px}
.editorial-heading>p,.digital-heading>p{margin:0;color:var(--tech-muted);font-size:.91rem;line-height:1.78}
.editorial-heading h2,.digital-heading h2{max-width:730px;margin-bottom:0}

/* Solutions as editorial stories */
.tech-solutions{background:#fff}
.editorial-stories{display:grid;gap:96px;margin-top:58px}
.editorial-story{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:72px}
.editorial-story-reverse .editorial-story-media{order:2}
.editorial-story-reverse .editorial-story-copy{order:1}
.editorial-story-media{position:relative;display:block;height:455px;overflow:hidden;background:#e4eaec;text-decoration:none}
.editorial-story-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.editorial-story-media:hover img{transform:scale(1.018)}
.editorial-story-media>span{position:absolute;left:18px;bottom:18px;display:grid;width:40px;height:40px;place-items:center;background:#fff;color:var(--tech-blue-dark);font-size:.68rem;font-weight:850}
.editorial-story-copy{max-width:540px}
.story-kicker{margin:0 0 14px;color:var(--tech-blue-dark);font-size:.69rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.editorial-story-copy h3{margin:0 0 18px;font-size:clamp(1.65rem,2.5vw,2.35rem);line-height:1.08}
.editorial-story-copy>p:not(.story-kicker){margin:0;color:var(--tech-muted);font-size:.92rem;line-height:1.75}
.editorial-story-copy ul{list-style:none;margin:24px 0 28px;padding:0;border-top:1px solid var(--tech-line)}
.editorial-story-copy li{position:relative;padding:11px 0 11px 20px;border-bottom:1px solid var(--tech-line);color:#3e4a51;font-size:.82rem}
.editorial-story-copy li:before{content:"";position:absolute;left:2px;top:17px;width:5px;height:5px;border-radius:50%;background:var(--tech-blue)}

.expertise-index{margin-top:92px;border-top:1px solid var(--tech-line)}
.expertise-index-head{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:28px 0 20px}
.expertise-index-head .eyebrow{margin:0}
.expertise-index-head>span{color:var(--tech-muted);font-size:.78rem}
.expertise-index-list{border-top:1px solid var(--tech-line)}
.expertise-index-list a{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:18px;min-height:72px;border-bottom:1px solid var(--tech-line);text-decoration:none;transition:padding .18s ease,color .18s ease}
.expertise-index-list a>span{color:#929ca2;font-size:.68rem;font-weight:800}
.expertise-index-list a strong{font-size:.96rem;font-weight:700}
.expertise-index-list a i{color:var(--tech-blue-dark);font-style:normal}
.expertise-index-list a:hover{padding-left:8px;color:var(--tech-blue-dark)}

/* Intelligence */
.intelligence-editorial{background:var(--tech-blue-soft);border-top:1px solid #d8edf6;border-bottom:1px solid #d8edf6}
.intelligence-editorial-grid{display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:72px}
.intelligence-editorial-copy>p:not(.eyebrow){max-width:540px;margin:0;color:var(--tech-muted);font-size:.92rem;line-height:1.76}
.intelligence-points{display:grid;margin:28px 0 26px;border-top:1px solid #cfe4ed}
.intelligence-points>div{display:grid;grid-template-columns:38px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid #cfe4ed}
.intelligence-points>div>span{padding-top:2px;color:var(--tech-blue-dark);font-size:.64rem;font-weight:850}
.intelligence-points p{margin:0}
.intelligence-points strong,.intelligence-points small{display:block}
.intelligence-points strong{font-size:.84rem}
.intelligence-points small{margin-top:3px;color:#71808a;font-size:.7rem;line-height:1.45}
.intelligence-editorial-visual{position:relative;min-height:530px}
.intelligence-editorial-visual>img{width:100%;height:530px;object-fit:cover}
.supervision-card{position:absolute;left:24px;right:24px;bottom:24px;max-width:520px;margin-left:auto;padding:19px;background:rgba(11,27,39,.93);border:1px solid rgba(255,255,255,.12);color:#fff;box-shadow:0 20px 48px rgba(0,0,0,.22)}
.supervision-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:#a9b6be;font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.supervision-card-head strong{display:flex;align-items:center;gap:6px;color:#7de1b1;font-size:.62rem;letter-spacing:0;text-transform:none}
.supervision-card-head strong i{width:6px;height:6px;border-radius:50%;background:#58d397}
.supervision-row{display:grid;grid-template-columns:92px 1fr;gap:16px;padding:9px 0;border-top:1px solid rgba(255,255,255,.09)}
.supervision-row span{color:#8294a0;font-size:.65rem}
.supervision-row b{font-size:.72rem;font-weight:650}

/* Equipment and digital products */
.tech-products{background:var(--tech-warm)}
.equipment-story{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:72px}
.equipment-story-media{height:430px;overflow:hidden;background:#e9edef}
.equipment-story-media img{width:100%;height:100%;object-fit:cover}
.equipment-story-copy>p:not(.eyebrow){margin:0;color:var(--tech-muted);font-size:.92rem;line-height:1.76}
.equipment-tags{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.equipment-tags span{padding:7px 10px;background:#fff;border:1px solid var(--tech-line);border-radius:999px;color:#55626a;font-size:.68rem;font-weight:700}
.digital-heading{margin-top:94px;padding-top:68px;border-top:1px solid var(--tech-line)}
.digital-product-list{margin-top:40px;border-top:1px solid var(--tech-line)}
.digital-product-row{display:grid;grid-template-columns:58px 210px 1fr auto;align-items:center;gap:24px;min-height:118px;border-bottom:1px solid var(--tech-line)}
.digital-product-row>span{color:#929ca2;font-size:.68rem;font-weight:850}
.digital-product-row small{display:block;margin-bottom:4px;color:var(--tech-blue-dark);font-size:.6rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.digital-product-row h3{margin:0;font-size:1.28rem}
.digital-product-row>p{max-width:560px;margin:0;color:var(--tech-muted);font-size:.78rem;line-height:1.62}
.digital-product-row>a{display:flex;align-items:center;gap:12px;color:var(--tech-blue-dark);font-size:.75rem;font-weight:800;text-decoration:none}
.digital-product-row>a i{font-style:normal}

/* Existing sections and internal pages */
.split-heading{grid-template-columns:1fr .74fr;gap:74px}
.split-heading>p,.center-heading>p{color:var(--tech-muted);font-size:.9rem;line-height:1.76}
.center-heading{max-width:750px}
.service-hero,.simple-hero,.catalog-hero{background:var(--tech-navy);color:#fff}
.service-hero,.simple-hero{padding:64px 0}
.catalog-hero{padding:60px 0}
.service-hero h1,.catalog-hero h1,.product-detail-hero h1{font-size:clamp(2.35rem,4vw,3.8rem)}
.service-hero .lead,.catalog-hero .lead{font-size:.94rem}
.service-hero-media,.service-story-media,.product-main-image{border-radius:14px;box-shadow:var(--tech-shadow)}
.service-card,.related-card,.shop-card,.use-grid article,.deliverable-grid article,.process-grid li,.feature-cards article,.lead-form,.spec-table,.badge-card,.brand-cloud>div,.client-logo,.faq-list details{border-color:var(--tech-line);border-radius:12px;box-shadow:none}
.service-card:hover,.related-card:hover,.shop-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(12,28,38,.08)}
.service-note{background:#eef7fb;border-left-color:var(--tech-blue)}
.deliverable-grid article,.use-grid article,.process-grid li{padding:21px}
.catalog-hero-card{border-radius:12px}
.catalog-filters a{border-radius:999px;font-size:.75rem}
.shop-image{background:#eef2f3}
.shop-card{overflow:hidden}
.shop-body{padding:20px}
.product-use-panel{border-radius:14px;background:var(--tech-navy)}
.contact-grid{gap:72px}
.contact-points a{border-radius:10px;background:#fff}
.lead-form{padding:28px;background:#f3f6f6}
.lead-form input,.lead-form select,.lead-form textarea{border-radius:8px;min-height:46px}
.faq-list details{background:#fff}
.brand-cloud img{filter:grayscale(1);opacity:.65;transition:filter .18s ease,opacity .18s ease}
.brand-cloud>div:hover img{filter:none;opacity:1}
footer{background:#07121a}
.footer-grid{padding:58px 0 48px}
.footer-grid p,.footer-grid span,footer a{color:#89969f}

@media(max-width:1100px){
  .site-header nav{gap:18px}
  .tech-hero-grid{grid-template-columns:.9fr 1.1fr;gap:42px}
  .tech-hero-gallery{min-height:530px}
  .editorial-story,.intelligence-editorial-grid,.equipment-story{gap:48px}
}

@media(max-width:1000px){
  .wrap{width:min(100% - 40px,1260px)}
  .site-header nav{top:78px;padding:14px 20px 20px;background:var(--tech-warm);box-shadow:0 16px 35px rgba(12,28,38,.08)}
  .site-header nav a{padding:11px 4px;font-size:.84rem}
  .site-header nav a:after{display:none}
  .tech-hero-grid,.editorial-heading,.digital-heading,.editorial-story,.intelligence-editorial-grid,.equipment-story{grid-template-columns:1fr}
  .tech-hero-copy{padding:8px 0}
  .tech-hero-gallery{min-height:560px}
  .editorial-heading,.digital-heading{gap:20px}
  .editorial-story{gap:34px}
  .editorial-story-reverse .editorial-story-media,.editorial-story-reverse .editorial-story-copy{order:initial}
  .editorial-story-media{height:420px}
  .editorial-story-copy{max-width:680px}
  .intelligence-editorial-grid{gap:40px}
  .equipment-story{gap:36px}
  .digital-product-row{grid-template-columns:48px 180px 1fr auto;gap:16px}
}

@media(max-width:760px){
  .section{padding:68px 0}
  .wrap{width:min(100% - 28px,1260px)}
  .header-inner{min-height:70px}
  .brand img{width:104px}
  .brand-mark span{display:none}
  .site-header nav{top:70px}
  h1{font-size:clamp(2.25rem,10vw,3.35rem)}
  h2{font-size:clamp(1.75rem,7.4vw,2.5rem)}
  .tech-hero{padding:42px 0 54px}
  .tech-hero-grid{gap:34px}
  .tech-hero-lead{font-size:.94rem}
  .tech-hero-actions{align-items:flex-start;flex-direction:column;gap:15px;margin-top:25px}
  .tech-trust-line{flex-wrap:wrap;margin-top:28px}
  .tech-hero-gallery{min-height:445px}
  .tech-photo-main{width:91%;height:57%}
  .tech-photo-access{width:48%;height:44%;border-width:5px}
  .tech-photo-control{width:52%;height:36%;border-width:5px}
  .tech-system-card{left:25%;width:68%;padding:14px 15px}
  .tech-system-flow{font-size:.68rem}
  .trust-grid>div{padding:18px}
  .editorial-stories{gap:60px;margin-top:42px}
  .editorial-story-media{height:330px}
  .expertise-index{margin-top:64px}
  .expertise-index-head{align-items:flex-start;flex-direction:column;gap:10px}
  .expertise-index-list a{grid-template-columns:38px 1fr auto;min-height:64px}
  .intelligence-editorial-visual,.intelligence-editorial-visual>img{height:390px;min-height:0}
  .supervision-card{left:14px;right:14px;bottom:14px;padding:15px}
  .supervision-row{grid-template-columns:78px 1fr}
  .equipment-story-media{height:340px}
  .digital-heading{margin-top:68px;padding-top:52px}
  .digital-product-row{grid-template-columns:38px 1fr auto;gap:12px;padding:20px 0}
  .digital-product-row>p{grid-column:2/-1;margin-top:-4px}
  .contact-grid{gap:42px}
}

@media(max-width:500px){
  .tech-hero-gallery{min-height:390px}
  .tech-photo-main{height:55%}
  .tech-photo-access{height:42%}
  .tech-photo-control{height:35%}
  .tech-system-card{left:14%;width:82%;bottom:0}
  .tech-system-card-top{font-size:.56rem}
  .tech-system-flow span:nth-of-type(2){display:none}
  .tech-system-flow b:nth-of-type(2){display:none}
  .editorial-story-media{height:285px}
  .supervision-card{max-width:none}
  .supervision-row{grid-template-columns:1fr;gap:3px}
  .equipment-story-media{height:290px}
  .digital-product-row{grid-template-columns:32px 1fr auto}
}


/* Floating navigation — aligned with Vigilus Monétique */
body.menu-open{overflow:hidden}
.site-header{position:sticky;top:0;z-index:80;padding:10px 0;border:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.header-inner{position:relative;min-height:68px;padding:0 9px 0 18px;gap:18px;border:1px solid rgba(12,28,38,.08);border-radius:19px;background:rgba(255,255,255,.94);box-shadow:0 12px 38px rgba(12,28,38,.09);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
.brand{gap:12px}
.brand img{width:88px;height:50px;object-fit:contain}
.brand-lockup{display:grid;gap:3px;padding-left:12px;border-left:1px solid var(--tech-line);line-height:1}
.brand-lockup b{color:var(--tech-ink);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase}
.brand-lockup small{color:#84919b;font-size:.6rem;letter-spacing:.04em}
.site-header nav{display:flex;align-items:center;gap:3px;margin-left:auto;padding:0;background:transparent;box-shadow:none}
.site-header nav a{position:relative;padding:10px 11px;border-radius:10px;color:#52606d;font-size:.75rem;font-weight:720;white-space:nowrap;transition:color .18s ease,background .18s ease}
.site-header nav a:after{display:none}
.site-header nav a:hover,.site-header nav a.active{color:var(--tech-ink);background:#edf4f7}
.site-header nav .nav-mobile-cta{display:none}
.header-cta{min-height:46px!important;margin-left:7px;padding:0 7px 0 16px!important;border-radius:13px!important}
.header-cta b{display:grid;width:30px;height:30px;place-items:center;margin-left:10px;border-radius:9px;background:rgba(255,255,255,.17);font-size:.75rem}
.nav-toggle{display:none;align-items:center;gap:9px;padding:10px 0;border:0;border-radius:0;background:transparent;color:var(--tech-ink);font-size:.82rem;font-weight:800}
.nav-toggle i,.nav-toggle i:before,.nav-toggle i:after{display:block;width:18px;height:1.5px;background:currentColor;border-radius:2px;content:"";transition:.2s}
.nav-toggle i{position:relative}.nav-toggle i:before{position:absolute;top:-5px}.nav-toggle i:after{position:absolute;top:5px}
.nav-toggle[aria-expanded="true"] i{background:transparent}.nav-toggle[aria-expanded="true"] i:before{top:0;transform:rotate(45deg)}.nav-toggle[aria-expanded="true"] i:after{top:0;transform:rotate(-45deg)}
@media(max-width:1180px){
  .brand-lockup{display:none}
  .nav-toggle{display:flex;margin-left:auto}
  .site-header nav{display:none;position:absolute;top:78px;left:0;right:0;margin:0;padding:12px;border:1px solid var(--tech-line);border-radius:18px;background:rgba(255,255,255,.99);box-shadow:0 18px 44px rgba(12,28,38,.14);flex-direction:column;align-items:stretch;gap:2px}
  .site-header nav.open{display:flex}
  .site-header nav a{padding:13px 14px;font-size:.93rem}
  .site-header nav .nav-mobile-cta{display:flex;margin-top:6px;justify-content:center;background:var(--tech-red);color:#fff}
  .site-header nav .nav-mobile-cta:hover{background:var(--tech-red-dark);color:#fff}
  .header-cta{display:none!important}
}
@media(max-width:650px){
  .site-header{padding:7px 0}
  .header-inner{min-height:62px;padding-left:14px;border-radius:16px}
  .brand img{width:76px;height:44px}
  .site-header nav{top:70px}
}
