:root{
  --bg: #0b0f17;
  --panel: #0f1624;
  --soft: #0c1422;
  --text: #eef3ff;
  --muted: rgba(238,243,255,.75);
  --line: rgba(238,243,255,.12);

  /* Couleurs du logo (approximations) */
  --brand-blue: #1f4cff;
  --brand-orange: #ff8a00;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,15,23,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand__logo{height:34px; width:auto; display:block}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  color: var(--muted);
  font-weight:700;
  font-size:14px;
  position:relative;
}
.nav a:hover{color:var(--text)}
.nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-10px;
  height:2px;
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
}
.nav a:hover::after{transform: scaleX(1)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: var(--brand-blue);
  color: #ffffff;
  font-weight:800;
  gap:10px;
  box-shadow: 0 10px 22px rgba(31,76,255,.18);
}
.btn:hover{filter: brightness(1.05)}
.btn--ghost{
  background: transparent;
  color: var(--text);
  box-shadow:none;
}
.btn--ghost:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.btn--orange{
  background: var(--brand-orange);
  box-shadow: 0 10px 22px rgba(255,138,0,.16);
}
.btn--small{padding:10px 14px; border-radius: 12px}

/* Links */
.link{
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px;
}
.link:hover{
  text-decoration-color: var(--brand-orange);
}

/* Hero */
.hero{
  position:relative;
  min-height: 78vh;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(11,15,23,.92) 0%, rgba(11,15,23,.55) 50%, rgba(11,15,23,.92) 100%),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}
.hero__glow{
  position:absolute; inset:-20%;
  background:
    radial-gradient(closest-side at 15% 30%, rgba(31,76,255,.20), transparent 55%),
    radial-gradient(closest-side at 85% 65%, rgba(255,138,0,.16), transparent 55%);
  pointer-events:none;
}
.hero__content{position:relative; padding: 66px 0}
.hero h1{font-size: clamp(32px, 5vw, 56px); margin:0 0 10px}
.lead{max-width: 720px; color: var(--muted); font-size: 18px; margin:0 0 22px}

.cta{display:flex; gap:12px; flex-wrap:wrap}
.cta--stack{flex-direction:column; align-items:flex-start}

.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.badge{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  padding:8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  font-weight:700;
}
.badge--orange{
  border-color: rgba(255,138,0,.35);
  color: rgba(255,255,255,.90);
}

/* Sections */
.section{padding: 68px 0}
.section--soft{background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0))}

h2{
  margin:0 0 10px;
  font-size: 30px;
  letter-spacing: .2px;
  display:inline-block;
  position:relative;
}
h2::after{
  content:"";
  position:absolute;
  left:0; bottom:-10px;
  width: 64px; height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
}
.sub{margin:18px 0 26px; color: var(--muted)}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  padding:18px;
  border-radius: 18px;
}
.card--soft{background: rgba(255,255,255,.05)}
.card h3{margin:0 0 8px}
.card p{margin:0; color: var(--muted)}

.mediaRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.media{
  width:100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  display:block;
  object-fit: cover;
  height: 260px;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.split--media{
  margin-top:16px;
  align-items:stretch;
}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.chip{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight:700;
  font-size: 12px;
}
.chip--blue{border-color: rgba(31,76,255,.35); color: rgba(255,255,255,.88)}
.chip--orange{border-color: rgba(255,138,0,.35); color: rgba(255,255,255,.92)}

.mediaGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.shot{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.shot img{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
}
.shot figcaption{
  padding:10px 12px;
  font-size: 13px;
  color: var(--muted);
}

.gItem{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.gItem img{
  width:100%;
  height: 260px;
  object-fit: cover;
  display:block;
}
.gItem--wide img{height: 260px}

/* Tarifs / Contact */
.tarifsBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  padding:18px;
  border-radius: 18px;
}

.contactGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
.contactLine{margin: 0 0 10px}
.small{font-size: 13px}
.muted{color: var(--muted)}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}
.footer__inner{display:flex; flex-direction:column; gap:6px}

@media (max-width: 980px){
  .nav{display:none}
  .grid3{grid-template-columns: 1fr}
  .mediaRow{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .mediaGrid{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr}
  .gItem img{height: 220px}
  .contactGrid{grid-template-columns: 1fr}
  .tarifsBox{flex-direction:column; align-items:flex-start}
  .media{height: 220px}
}


/* Contact image */
.shot--contact img{
  height: 240px;
}
.legal{margin-top:12px}


/* Service card images */
.card__img{
  width:100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(238,243,255,.12);
  margin-bottom: 12px;
  display:block;
}
@media (max-width: 900px){
  .card__img{height: 180px}
}


/* Media grid: allow a single image to span full width */
.shot--wide{
  grid-column: 1 / -1;
}


/* Logo contrast (fond clair derrière le logo) */
.brand{
  display:flex;
  align-items:center;
  padding:8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(238,243,255,.14);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.brand:hover{opacity:1; filter: brightness(1.02)}
.brand__logo{height:32px}


/* Anchor offset for sticky header */
section[id], #top{
  scroll-margin-top: 92px;
}

/* Confidentialité details */
.legalDetails{
  margin-top:10px;
  border: 1px solid rgba(238,243,255,.12);
  border-radius: 14px;
  padding:10px 12px;
  background: rgba(255,255,255,.04);
}
.legalDetails summary{
  cursor:pointer;
  font-weight:800;
  color: rgba(238,243,255,.88);
}
.legalDetails__content{padding-top:8px}

/* Cookie banner (info) */
.cookieBanner{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1000;
  display:none;
}
.cookieBanner__inner{
  width:min(1100px, 92vw);
  margin:0 auto;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(238,243,255,.14);
  background: rgba(11,15,23,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.cookieBanner p{margin:0; color: rgba(238,243,255,.92); font-weight:700}
@media (max-width: 700px){
  .cookieBanner__inner{flex-direction:column; align-items:flex-start}
}
