:root{
  --bg:#0b0b0c;
  --bg2:#111214;
  --fg:#f4f4f5;
  --muted:#b7b7bb;
  --line:rgba(255,255,255,.12);
  --card:rgba(255,255,255,.06);
  --urgent:#e31b23;
  --primary:#ffffff;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial}
body{background:linear-gradient(180deg,var(--bg) 0%, var(--bg2) 100%);color:var(--fg)}
a{color:inherit;text-decoration:none}
.muted{color:var(--muted)}
.header{position:sticky;top:0;z-index:50;background:rgba(10,10,12,.85);backdrop-filter: blur(10px);border-bottom:1px solid var(--line)}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 18px}
.brand__name{font-weight:800;font-size:28px;letter-spacing:.4px}
.brand__tagline{font-weight:600;font-size:14px;color:var(--muted);margin-left:10px}
.phone{display:flex;align-items:center;gap:10px}
.phone__number{font-weight:800}
.phone__label{color:var(--muted);font-size:13px}
.nav{display:flex;align-items:center;gap:14px;padding:10px 18px;border-top:1px solid var(--line)}
.logoMark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.10);border:1px solid var(--line);font-weight:900}
.nav__logo img{height:28px;width:auto;display:block}
.nav__items{display:flex;gap:12px;list-style:none;margin:0;padding:0;align-items:center;flex:1}
.nav__item{position:relative}
.nav__link{padding:10px 10px;border-radius:10px}
.nav__item:hover .nav__link{background:rgba(255,255,255,.06)}
.nav__item--highlight .nav__link{background:rgba(227,27,35,.12);border:1px solid rgba(227,27,35,.35)}
.nav__dropdown{display:none;position:absolute;top:42px;left:0;background:rgba(12,12,14,.98);border:1px solid var(--line);border-radius:14px;padding:10px;min-width:220px;box-shadow:var(--shadow)}
.nav__item:hover .nav__dropdown{display:flex;flex-direction:column;gap:6px}
.nav__dropdownItem{padding:10px;border-radius:10px}
.nav__dropdownItem:hover{background:rgba(255,255,255,.06)}
.nav__ctas{display:flex;gap:10px;align-items:center}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;border:1px solid var(--line);font-weight:800}
.btn--ghost{background:transparent}
.btn--primary{background:var(--primary);color:#0b0b0c;border-color:transparent}
.btn--urgent{background:linear-gradient(180deg, #ff3b30 0%, var(--urgent) 100%);border-color:transparent}
.btn--urgent:hover{filter:brightness(1.05)}
.btn--primary:hover{filter:brightness(1.05)}
.main{max-width:1100px;margin:0 auto;padding:22px 18px 60px}
.hero{border:1px solid var(--line);background:radial-gradient(900px 400px at 20% 10%, rgba(255,255,255,.14), rgba(255,255,255,0)) , rgba(255,255,255,.04);
  border-radius:22px;padding:36px;box-shadow:var(--shadow)
}
.hero__title{font-size:44px;line-height:1.05;margin:0 0 10px}
.hero__subtitle{color:var(--muted);margin:0 0 16px;font-size:16px;max-width:720px}
.hero__actions{display:flex;gap:10px;flex-wrap:wrap}
.section{margin-top:22px}
.section h2{margin:0 0 14px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.card{border:1px solid var(--line);background:var(--card);border-radius:18px;padding:16px;min-height:120px}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted)}
.card:hover{transform:translateY(-2px);transition:.15s}
.serviceGrid{grid-template-columns:repeat(3,1fr)}
.trustGrid{grid-template-columns:repeat(3,1fr)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.steps p{margin:7px 0 0}
.projectGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.projectCard{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--card)}
.projectCard__visual{height:150px;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.2),rgba(255,255,255,.03))}
.projectCard__body{padding:16px}.projectCard__body h2{font-size:18px;margin:0 0 8px}.projectCard__body p{color:var(--muted);margin:0}
.section--split{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.panel{border:1px solid var(--line);background:rgba(255,255,255,.04);border-radius:22px;padding:18px;box-shadow:var(--shadow)}
.callout{margin-top:14px;border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.callout ul{margin:10px 0 0 18px;color:var(--muted)}
.form label{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-weight:700}
.form input,.form textarea{border-radius:14px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--fg);padding:12px 12px;font-weight:600}
.form input:focus,.form textarea:focus{outline:2px solid rgba(255,255,255,.12)}
.form small{font-weight:600}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.footer{border-top:1px solid var(--line);padding:18px;background:rgba(10,10,12,.7)}
.footer__inner{max-width:1100px;margin:0 auto;display:flex;justify-content:space-between;gap:14px;padding:0 18px;color:var(--muted)}
.footer__links{display:flex;gap:12px}
.nav__burger{display:none;background:transparent;border:1px solid var(--line);color:var(--fg);padding:10px 12px;border-radius:12px;font-weight:900}
@media (max-width: 980px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .serviceGrid,.trustGrid,.projectGrid{grid-template-columns:repeat(2,1fr)}
  .section--split{grid-template-columns:1fr}
  .nav__ctas{display:none}
}
@media (max-width: 720px){
  .topbar{flex-direction:column;align-items:flex-start;gap:10px}
  .nav__burger{display:inline-flex}
  .nav__items{display:none;flex-direction:column;align-items:stretch;background:rgba(12,12,14,.98);border:1px solid var(--line);padding:12px;border-radius:18px}
  .nav__items--open{display:flex}
  .nav__dropdown{position:static;display:flex;flex-direction:column;border:none;box-shadow:none;background:transparent;padding:0;margin-top:6px}
  .nav__dropdownItem{padding-left:18px}
  .hero{padding:24px 20px}
  .hero__title{font-size:28px;line-height:1.12}
  .grid{grid-template-columns:1fr}
  .cards,.serviceGrid,.trustGrid,.projectGrid,.steps{grid-template-columns:1fr}
}
.brand__link{
  display:flex;
  align-items:baseline;
  gap:8px;
  text-decoration:none;
  color:inherit;
  font-weight:400;
}

.brand__name{
  font-weight:800;
  font-size:28px;
  letter-spacing:0.5px;
}

.brand__tagline{
  font-weight:400;
  font-size:12px;
  opacity:0.75;
}

/* --- Boutique (simple & propre) --- */
.hero--compact{padding:26px}

.productGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.productCard{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.productCard__media{
  position:relative;
  height:170px;
  background:rgba(0,0,0,.22);
  border-bottom:1px solid var(--line);
}
.productCard__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.productCard__placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  font-weight:900;
  color:rgba(255,255,255,.65);
}
.productCard__placeholderIcon{font-size:46px}
.productCard__placeholderSlash{
  position:absolute;
  font-size:34px;
  transform:rotate(-18deg);
  opacity:.9;
}

.productCard__badges{
  position:absolute;
  top:10px;
  left:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
}
.badge--ok{background:rgba(0,200,120,.15);border-color:rgba(0,200,120,.35)}
.badge--warn{background:rgba(255,160,0,.15);border-color:rgba(255,160,0,.35)}
.badge--soft{background:rgba(255,255,255,.08)}

.productCard__body{padding:14px}
.productCard__title{font-weight:900;font-size:18px;margin-bottom:6px}
.productCard__meta{color:var(--muted);font-weight:700;font-size:13px;margin-bottom:10px}
.dot{margin:0 6px;opacity:.5}
.productCard__price{margin-bottom:12px}
.productCard__actions{display:flex;gap:10px;flex-wrap:wrap}

.emptyState{
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  background:rgba(255,255,255,.04);
}
.emptyState__icon{font-size:28px}
.emptyState__title{font-weight:900;margin-top:8px}
.emptyState__text{color:var(--muted);margin-top:6px}

@media (max-width: 980px){
  .productGrid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 720px){
  .productGrid{grid-template-columns:1fr}
}

/* ===== Page Produit (layout pro) ===== */
.product{padding-top:10px}
.product__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.product__meta{flex:1;min-width:0}
.product__title{font-size:28px;font-weight:950;letter-spacing:-.02em}
.product__sub{margin-top:6px;font-weight:700}
.dot{margin:0 8px;opacity:.6}

.product__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 980px){
  .product__grid{grid-template-columns:1fr}
  .product__top{flex-direction:column;align-items:stretch}
}

/* ===== Galerie ===== */
.gallery{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.gallery__main{
  position:relative;
  width:100%;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  box-shadow:var(--shadow);
  padding:0;
  cursor:zoom-in;
}
.gallery__main img{
  width:100%;
  height:520px;
  object-fit:cover;
  display:block;
}
@media (max-width: 720px){
  .gallery__main img{height:340px}
}
.gallery__zoom{
  position:absolute;
  right:12px;
  bottom:12px;
  padding:8px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.35);
  font-weight:900;
  font-size:13px;
  color:var(--fg);
  backdrop-filter: blur(6px);
}

.gallery__empty{
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  padding:28px;
  text-align:center;
  box-shadow:var(--shadow);
}
.gallery__emptyIcon{font-size:46px;margin-bottom:10px}

/* Miniatures dessous */
.gallery__thumbs{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-bottom:6px;
}
.thumb{
  flex:0 0 auto;
  width:92px;
  height:70px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  cursor:pointer;
  padding:0;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.thumb.is-active{
  outline:2px solid rgba(255,255,255,.35);
}

/* ===== Infos droite ===== */
.info{padding:18px}
.info__row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.info__label{font-weight:900}
.info__value{font-size:22px;font-weight:950}

.info__badges{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.info__divider{
  height:1px;
  background:rgba(255,255,255,.08);
  margin:14px 0;
}
.info__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* ===== Lightbox ===== */
.lightbox{position:fixed;inset:0;display:none;z-index:999}
.lightbox.is-open{display:block}
.lightbox__backdrop{
  position:absolute;inset:0;
  background:rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
}
.lightbox__content{
  position:relative;
  width:min(1100px, calc(100% - 26px));
  height:min(86vh, 820px);
  margin:7vh auto 0;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(10,10,12,.92);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.lightbox__img{width:100%;height:100%;object-fit:contain}
.lightbox__close{
  position:absolute;top:12px;right:12px;
  width:42px;height:42px;border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--fg);
  font-weight:950;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute;top:50%;
  transform:translateY(-50%);
  width:48px;height:56px;border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--fg);
  font-size:28px;font-weight:950;
  cursor:pointer;
}
.lightbox__prev{left:12px}
.lightbox__next{right:12px}

.captchaBox{
  display:flex;
  align-items:end;
  gap:14px;
  flex-wrap:wrap;
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.035);
}
.captchaBox > div:first-child{flex:1 1 230px}
.captchaBox__answer{flex:0 1 150px;margin:0}
.captchaBox__answer input{width:100%}

.contactStatus{
  margin:0 0 16px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  font-weight:800;
  line-height:1.5;
  outline:none;
}
.contactStatus--ok{
  color:#d9ffeb;
  background:rgba(0,196,98,.16);
  border-color:rgba(52,211,153,.55);
  box-shadow:0 10px 28px rgba(0,120,70,.16);
}
.contactStatus--err{
  color:#ffe5e5;
  background:rgba(220,38,38,.15);
  border-color:rgba(248,113,113,.55);
}
.fileSelection{
  margin-top:-2px;
  padding:14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.fileSelection__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.fileSelection__header span{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.fileSelection__list{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.fileSelection__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
}
.fileSelection__details{
  display:grid;
  min-width:0;
}
.fileSelection__details strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fileSelection__details span{
  color:var(--muted);
  font-size:12px;
}
.fileSelection__remove{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid rgba(248,113,113,.45);
  border-radius:8px;
  color:#ffd7d7;
  background:rgba(220,38,38,.12);
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.fileSelection__remove:hover{background:rgba(220,38,38,.24)}
.fileSelection__empty{margin:0;font-size:13px}

.legalPage{display:grid;gap:18px}
.legalPage__header{
  padding:22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
}
.legalPage__header h1{margin:6px 0 8px}
.legalPage__header p{margin:0;color:var(--muted);max-width:760px;line-height:1.6}
.legalPage__empty{margin-top:0}
.legalGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.legalCard{
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.04);
  box-shadow:var(--shadow);
}
.legalCard h2{margin:0 0 14px;font-size:19px}
.legalCard > p{margin:0;color:var(--muted);line-height:1.6}
.legalDetails{display:grid;gap:0;margin:0}
.legalDetails > div{
  display:grid;
  grid-template-columns:minmax(130px,.75fr) minmax(0,1.25fr);
  gap:16px;
  padding:10px 0;
  border-top:1px solid var(--line);
}
.legalDetails > div:first-child{border-top:0;padding-top:0}
.legalDetails dt{color:var(--muted);font-weight:700}
.legalDetails dd{margin:0;font-weight:800;white-space:pre-line;overflow-wrap:anywhere}

@media (max-width: 780px){
  .legalGrid{grid-template-columns:1fr}
  .legalDetails > div{grid-template-columns:1fr;gap:4px}
}

/* ===== Expérience mobile ===== */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  scroll-padding-top:88px;
}
body{
  min-width:0;
  line-height:1.5;
  overflow-x:hidden;
}
img,svg,video,iframe{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
:focus-visible{outline:3px solid rgba(255,255,255,.72);outline-offset:3px}

@media (max-width: 720px){
  html{scroll-padding-top:76px}

  .header{
    background:rgba(10,10,12,.96);
    backdrop-filter:blur(14px);
  }
  .topbar{
    min-height:64px;
    padding:10px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
    flex-direction:row;
    align-items:center;
    gap:12px;
  }
  .brand{min-width:0;flex:1}
  .brand__link{min-width:0;min-height:44px;gap:7px;align-items:center}
  .brand__name{font-size:24px!important;line-height:1!important;flex:0 0 auto}
  .brand__tagline{
    min-width:0;
    font-size:11px!important;
    line-height:1.2!important;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .nav__burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    width:46px;
    height:46px;
    padding:0;
    font-size:24px;
    line-height:1;
  }
  .nav{
    display:block;
    padding:0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
    border-top:0;
  }
  .nav__items{
    width:100%;
    max-height:calc(100dvh - 82px);
    margin:0;
    padding:8px;
    gap:2px;
    overflow-y:auto;
    border-radius:14px;
  }
  .nav__items--open{display:flex}
  .nav__item{width:100%}
  .nav__link,.nav__dropdownItem{
    display:flex;
    align-items:center;
    width:100%;
    min-height:46px;
    padding:11px 12px;
    border-radius:10px;
  }
  .nav__dropdown{gap:2px;margin:0 0 4px;padding:0 0 0 10px}
  .nav__dropdownItem{padding-left:14px;color:var(--muted)}
  .nav__ctas{display:none}
  .nav__items--open + .nav__ctas{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
    gap:8px;
    padding:8px 0 12px;
  }

  .main{
    width:100%;
    padding:16px max(14px, env(safe-area-inset-right)) max(42px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }
  .section{margin-top:18px}
  .section h2{margin-bottom:10px}
  .hero,.hero--compact{
    padding:20px 18px;
    border-radius:18px;
    box-shadow:0 10px 24px rgba(0,0,0,.28);
  }
  .main h1,.hero__title{
    max-width:100%;
    margin-top:0;
    font-size:clamp(28px,8vw,36px)!important;
    line-height:1.12!important;
    letter-spacing:-.02em;
    overflow-wrap:anywhere;
  }
  .main h2{font-size:clamp(21px,6.2vw,27px)!important;line-height:1.2!important;overflow-wrap:anywhere}
  .main h3{line-height:1.25;overflow-wrap:anywhere}
  .hero__subtitle{font-size:16px!important;line-height:1.5!important;margin-bottom:16px}
  .hero__actions,.productCard__actions,.info__cta{display:grid;grid-template-columns:1fr;gap:8px}
  .btn{
    min-height:46px;
    padding:11px 14px;
    text-align:center;
  }
  .hero__actions .btn,.callout > .btn,.form > .btn,.productCard__actions .btn,.info__cta .btn{width:100%}

  .cards,.serviceGrid,.trustGrid,.projectGrid,.steps,.productGrid{gap:10px}
  .card{
    min-height:0;
    padding:16px;
    border-radius:16px;
  }
  .card:hover{transform:none}
  .panel{padding:16px;border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.25)}
  .callout{padding:14px;border-radius:15px}
  .callout ul{padding-left:4px}
  .projectCard,.productCard{border-radius:16px}
  .projectCard__visual{height:128px}
  .projectCard__body,.productCard__body{padding:14px}
  .productCard__media{height:190px}
  .product__title{font-size:25px!important;line-height:1.18}
  .product__top{gap:10px}
  .gallery__main,.gallery__empty{border-radius:16px}
  .gallery__main img{height:min(68vw,300px)}
  .info{padding:16px}
  .info__row{align-items:flex-start;flex-direction:column;gap:2px}
  .info__value{font-size:21px}

  .form label{gap:7px;margin-top:14px}
  .form input,.form textarea,.form select{
    width:100%;
    min-width:0;
    min-height:48px;
    padding:12px 13px;
    border-radius:12px;
    font-size:16px;
    line-height:1.35;
  }
  .form textarea{min-height:140px;resize:vertical}
  .form input[type="file"]{height:auto;padding:10px;font-size:14px}
  .captchaBox{display:grid;grid-template-columns:1fr;align-items:stretch;gap:10px;padding:14px}
  .captchaBox > div:first-child,.captchaBox__answer{min-width:0;flex:none;width:100%;margin:0}
  .captchaBox .btn{width:100%}
  .fileSelection{padding:12px}
  .fileSelection__header{align-items:flex-start;flex-direction:column;gap:2px}
  .fileSelection__item{align-items:flex-start}
  .fileSelection__remove{min-width:44px;min-height:44px}
  .contactStatus{padding:14px}

  .legalPage{gap:14px}
  .legalPage__header,.legalCard{padding:16px;border-radius:17px}
  .legalDetails > div{padding:12px 0}

  .visualPageImage{padding:0 14px 12px}
  .visualPageImage img{
    width:100%!important;
    height:min(56vw,240px)!important;
    margin:0!important;
    border-radius:14px!important;
  }

  .footer{padding:18px max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left))}
  .footer__inner{padding:0;flex-direction:column;gap:12px;font-size:14px}
  .footer__links{display:grid;grid-template-columns:1fr;gap:2px;width:100%}
  .footer__links a{display:flex;align-items:center;min-height:44px;border-top:1px solid var(--line)}

  .lightbox__content{
    width:calc(100% - 16px);
    height:calc(100dvh - 32px);
    margin:16px auto 0;
    border-radius:16px;
  }
  .lightbox__close{width:46px;height:46px;top:8px;right:8px}
  .lightbox__nav{width:44px;height:54px}
  .lightbox__prev{left:8px}
  .lightbox__next{right:8px}
}

@media (max-width: 390px){
  .brand__tagline{font-size:10px!important}
  .main{padding-left:12px;padding-right:12px}
  .hero,.hero--compact,.panel{padding:15px}
}

@media (hover:none) and (pointer:coarse){
  .card:hover,.btn:hover{transform:none;filter:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* ===== Identite visuelle SELEC-sud — energie 2026 ===== */
:root{
  --bg:#07111f;
  --bg2:#0d1827;
  --fg:#f7f9fc;
  --muted:#acb9ca;
  --line:rgba(159,184,214,.20);
  --card:linear-gradient(145deg,rgba(24,43,65,.92),rgba(12,27,44,.94));
  --primary:#f5c400;
  --electric:#1683ff;
  --electric-light:#58b7ff;
  --ink:#07111f;
  --surface-light:#f3f6fa;
  --shadow:0 18px 44px rgba(0,7,18,.34);
}

body{
  background:
    radial-gradient(circle at 82% 5%,rgba(22,131,255,.14),transparent 28rem),
    radial-gradient(circle at 8% 42%,rgba(245,196,0,.06),transparent 23rem),
    linear-gradient(180deg,var(--bg) 0%,var(--bg2) 55%,#081321 100%);
}

.header{
  background:rgba(5,14,26,.90);
  border-bottom-color:rgba(88,183,255,.20);
  box-shadow:0 8px 30px rgba(0,6,16,.20);
}

.topbar{
  position:relative;
  padding-top:16px;
  padding-bottom:15px;
}

.topbar::after{
  content:"";
  position:absolute;
  right:18px;
  bottom:0;
  width:72px;
  height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--primary),var(--electric));
  box-shadow:0 0 16px rgba(22,131,255,.7);
}

.brand__name{
  color:#fff;
  letter-spacing:.06em;
  text-shadow:0 0 26px rgba(88,183,255,.18);
}

.brand__name::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:6px;
  border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 14px rgba(245,196,0,.75);
  vertical-align:top;
}

.brand__tagline{color:#bfccdc;opacity:.88}
.nav{border-top-color:rgba(159,184,214,.13)}

.nav__link{
  position:relative;
  color:#dfe8f3;
  transition:color .18s ease,background .18s ease;
}

.nav__link::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:4px;
  height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--primary),var(--electric));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}

.nav__item:hover .nav__link{color:#fff;background:rgba(22,131,255,.09)}
.nav__item:hover .nav__link::after{transform:scaleX(1)}
.nav__dropdown{background:rgba(7,17,31,.98);border-color:rgba(88,183,255,.24)}
.nav__dropdownItem:hover{background:rgba(22,131,255,.13)}

.btn{
  min-height:44px;
  border-radius:11px;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,background .18s ease;
}

.btn--primary,
.nav__ctas .btn:last-child{
  color:var(--ink);
  background:linear-gradient(135deg,#ffdd35 0%,var(--primary) 72%);
  border-color:rgba(255,224,60,.88);
  box-shadow:0 10px 26px rgba(245,196,0,.20);
}

.btn--ghost{background:rgba(10,27,46,.54);border-color:rgba(88,183,255,.25)}
.btn:hover{transform:translateY(-2px)}
.btn--primary:hover,.nav__ctas .btn:last-child:hover{box-shadow:0 14px 34px rgba(245,196,0,.30);filter:brightness(1.04)}
.btn--ghost:hover{background:rgba(22,131,255,.14);border-color:rgba(88,183,255,.52)}

.main{max-width:1140px;padding-top:28px}

.hero{
  position:relative;
  min-height:310px;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-color:rgba(88,183,255,.28);
  background:
    radial-gradient(circle at 82% 45%,rgba(245,196,0,.16),transparent 17rem),
    radial-gradient(circle at 70% 8%,rgba(22,131,255,.36),transparent 26rem),
    linear-gradient(120deg,rgba(17,43,70,.98),rgba(7,20,36,.98) 62%,rgba(7,28,50,.98));
  box-shadow:0 24px 60px rgba(0,6,18,.42),inset 0 1px 0 rgba(255,255,255,.06);
}

.hero::before{
  content:"";
  position:absolute;
  z-index:0;
  width:340px;
  height:340px;
  right:-64px;
  top:-82px;
  border:1px solid rgba(88,183,255,.25);
  border-radius:50%;
  box-shadow:
    0 0 0 48px rgba(22,131,255,.045),
    0 0 0 96px rgba(245,196,0,.025);
}

.hero::after{
  content:"\26A1";
  position:absolute;
  z-index:0;
  right:104px;
  top:50%;
  transform:translateY(-50%) rotate(7deg);
  color:var(--primary);
  font-size:112px;
  line-height:1;
  filter:drop-shadow(0 0 22px rgba(245,196,0,.34));
  opacity:.92;
}

.hero__inner{position:relative;z-index:1;width:min(760px,72%)}
.hero__title{font-size:clamp(39px,4.5vw,55px);letter-spacing:-.035em;text-wrap:balance}
.hero__subtitle{color:#c3d0df;font-size:17px;line-height:1.62}

.section h2{
  display:flex;
  align-items:center;
  gap:11px;
  letter-spacing:-.02em;
}

.section h2::before{
  content:"";
  width:7px;
  height:27px;
  flex:0 0 auto;
  border-radius:99px;
  background:linear-gradient(180deg,var(--primary),var(--electric));
  box-shadow:0 0 15px rgba(22,131,255,.25);
}

.card,.panel,.projectCard,.productCard,.legalCard{
  border-color:rgba(113,154,198,.24);
  background:var(--card);
}

.card{
  position:relative;
  overflow:hidden;
  padding:20px;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,var(--electric),var(--electric-light));
  opacity:.9;
}

.cards > .card:nth-child(2n)::before{background:linear-gradient(90deg,var(--primary),#ffdf43)}
.card h3{color:#fff;font-size:19px}
.card p{line-height:1.55}
.card:hover{transform:translateY(-5px);border-color:rgba(88,183,255,.48);box-shadow:0 18px 38px rgba(0,8,20,.30)}

a.card::after{
  content:"\2192";
  position:absolute;
  right:16px;
  bottom:12px;
  color:var(--electric-light);
  font-size:21px;
  font-weight:900;
  opacity:0;
  transform:translateX(-6px);
  transition:opacity .18s ease,transform .18s ease;
}

a.card:hover::after{opacity:1;transform:translateX(0)}

body[data-site-style-key="page.home.background"] .main > .section:last-child{
  margin-top:30px;
  padding:26px;
  color:#0a1a2b;
  border:1px solid rgba(255,255,255,.76);
  border-radius:24px;
  background:
    radial-gradient(circle at 95% 0,rgba(22,131,255,.10),transparent 19rem),
    linear-gradient(145deg,#f8fafc,#eaf0f6);
  box-shadow:0 22px 48px rgba(0,7,18,.25);
}

body[data-site-style-key="page.home.background"] .main > .section:last-child .card{
  color:#0a1a2b;
  border-color:rgba(14,55,91,.15);
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 24px rgba(20,48,76,.08);
}

body[data-site-style-key="page.home.background"] .main > .section:last-child .card h3{color:#0a1a2b}
body[data-site-style-key="page.home.background"] .main > .section:last-child .card p{color:#536579}
body[data-site-style-key="page.home.background"] .main > .section:last-child .card:hover{border-color:rgba(22,131,255,.38);box-shadow:0 16px 32px rgba(20,48,76,.14)}

.panel,.legalCard{box-shadow:0 16px 38px rgba(0,7,18,.24)}
.form input,.form textarea,.form select{background:rgba(2,12,24,.52);border-color:rgba(113,154,198,.28)}
.form input:focus,.form textarea:focus,.form select:focus{outline:2px solid rgba(22,131,255,.52);border-color:var(--electric)}
.contactStatus--ok{border-left:4px solid #36d58b}
.contactStatus--err{border-left:4px solid #ff5b67}

.footer{
  border-top-color:rgba(88,183,255,.20);
  background:linear-gradient(135deg,rgba(4,13,25,.96),rgba(8,30,53,.96));
}
.footer__links a:hover{color:var(--primary)}
:focus-visible{outline-color:var(--primary)}

@media (max-width:720px){
  .header{background:rgba(5,14,26,.97)}
  .topbar::after{right:14px;width:48px}
  .nav__items{background:rgba(5,16,30,.98);border-color:rgba(88,183,255,.25)}
  .hero{min-height:0;padding:26px 20px 112px}
  .hero__inner{width:100%}
  .hero::before{width:210px;height:210px;right:-78px;top:auto;bottom:-95px}
  .hero::after{right:28px;top:auto;bottom:17px;transform:rotate(7deg);font-size:72px;opacity:.78}
  .hero__title{text-wrap:pretty}
  body[data-site-style-key="page.home.background"] .main > .section:last-child{margin-top:22px;padding:18px;border-radius:19px}
  .card{padding:17px}
  .btn:hover,.card:hover{transform:none}
}
