/* ================================================================
   45NET — V1 NOIR & OR
   Style principal
   ================================================================ */

/* ── VARIABLES ──────────────────────────────────────────────────── */
:root {
  --bg:       #0a0a0b;
  --dark:     #111114;
  --card:     #16161a;
  --border:   #2a2a30;
  --gold:     #c8922a;
  --gold-lt:  #e8b84b;
  --cream:    #f0ead8;
  --muted:    #7a7a85;
  --white:    #ffffff;

  --font-d: 'Bebas Neue', sans-serif;
  --font-s: 'DM Serif Display', serif;
  --font-b: 'DM Sans', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --tr:   .4s var(--ease);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body  { background: var(--bg); color: var(--cream); font-family: var(--font-b); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

/* ── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ── LABEL ──────────────────────────────────────────────────────── */
.lbl {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.lbl::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.8rem;
  font-family: var(--font-b);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-g { background: var(--gold); color: var(--bg); }
.btn-g::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-lt);
  transform: translateX(-101%);
  transition: transform .3s var(--ease);
}
.btn-g:hover::after,
.btn-g:focus::after { transform: translateX(0); }
.btn-g span,
.btn-g svg { position: relative; z-index: 1; }

.btn-o { background: transparent; color: var(--cream); border: 1px solid var(--border); }
.btn-o:hover,
.btn-o:focus { border-color: var(--gold); color: var(--gold-lt); }

/* ── REVEAL ANIMATIONS ──────────────────────────────────────────── */
[data-r] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-r].on { opacity: 1; transform: translateY(0); }
[data-r][data-d="1"] { transition-delay: .1s; }
[data-r][data-d="2"] { transition-delay: .2s; }
[data-r][data-d="3"] { transition-delay: .3s; }
[data-r][data-d="4"] { transition-delay: .4s; }

/* ── SECTION HEADING ────────────────────────────────────────────── */
.sh-t {
  font-family: var(--font-s);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  color: var(--white);
  margin-top: .75rem;
  line-height: 1.2;
}

/* ── SECTIONS ───────────────────────────────────────────────────── */
.sec     { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec-alt { background: var(--dark); }


/* ================================================================
   HEADER
   ================================================================ */
#hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.2rem 0;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#hd.sc {
  background: rgba(10,10,11,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: .7rem 0;
  border-color: var(--border);
}
#hd .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-d);
  font-size: 1.75rem;
  letter-spacing: .1em;
  color: var(--white);
  line-height: 1;
}
.logo b { color: var(--gold); font-weight: 400; }

nav.desk ul {
  list-style: none;
  display: flex;
  gap: .2rem;
  align-items: center;
}
nav.desk a {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .45rem .8rem;
  transition: color .3s;
  white-space: nowrap;
}
nav.desk a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  font-weight: 500 !important;
  padding: .45rem 1.1rem !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.ham span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--cream);
  transition: var(--tr);
}
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ================================================================
   MOBILE NAV
   ================================================================ */
#mnav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 899;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 2rem;
}
#mnav.open { display: flex; }
#mnav a {
  font-family: var(--font-d);
  font-size: clamp(2rem, 8vw, 2.8rem);
  letter-spacing: .08em;
  color: var(--muted);
  padding: .4rem 1rem;
  transition: color .3s;
  text-align: center;
}
#mnav a:hover,
#mnav a:focus { color: var(--gold-lt); }


/* ================================================================
   HERO
   ================================================================ */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.h-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 68% 38%, rgba(200,146,42,.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 75% at 18% 78%, rgba(200,146,42,.05) 0%, transparent 55%),
    linear-gradient(155deg, #0a0a0b 0%, #130f0a 50%, #0a0a0b 100%);
}
.h-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,146,42,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,146,42,.055) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black 25%, transparent 75%);
}
.h-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: clamp(5rem, 15vw, 8rem);
  padding-bottom: 3rem;
}
.h-main .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.h-title {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .92;
  letter-spacing: .02em;
  color: var(--white);
  margin: 1rem 0 1.25rem;
}
.h-title i {
  display: block;
  font-family: var(--font-s);
  font-style: italic;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--gold);
}
.h-sub {
  font-size: clamp(.9rem, 2vw, 1rem);
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 2.2rem;
  line-height: 1.85;
}
.h-btns {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

.h-stats {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.h-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.stat-n {
  font-family: var(--font-d);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: .02em;
}
.stat-n b  { color: var(--gold); font-weight: 400; }
.stat-l {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .2rem;
}
.stat-hr {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.h-scroll {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.h-scroll .wrap {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.sc-line { width: 36px; height: 1px; background: var(--border); flex-shrink: 0; }
.sc-txt  { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sc-dot  {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pdot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pdot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: .5; }
}


/* ================================================================
   MARQUEE BAND
   ================================================================ */
.marq { background: var(--gold); padding: .8rem 0; overflow: hidden; }
.marq-t {
  display: flex;
  animation: marq 22s linear infinite;
  width: max-content;
}
.marq-t span {
  font-family: var(--font-d);
  font-size: .95rem;
  letter-spacing: .16em;
  color: var(--bg);
  padding: 0 1.8rem;
  white-space: nowrap;
}
.marq-t .dot { color: rgba(0,0,0,.3); }
@keyframes marq {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================
   ABOUT
   ================================================================ */
.about-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-txt p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.about-q {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
  background: var(--card);
  font-size: 1rem;
  color: var(--cream);
  font-style: italic;
  font-family: var(--font-s);
  line-height: 1.6;
  margin-top: 1.5rem;
}

.cards { display: flex; flex-direction: column; gap: .85rem; }
.fc {
  display: flex;
  gap: 1.1rem;
  padding: 1.35rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
  cursor: default;
}
.fc:hover { border-color: var(--gold); transform: translateX(4px); }
.fc-ico {
  width: 44px; height: 44px; min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,146,42,.1);
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.fc-ttl { font-weight: 500; color: var(--white); font-size: .9rem; margin-bottom: .25rem; }
.fc-dsc { font-size: .8rem; color: var(--muted); line-height: 1.65; }


/* ================================================================
   SERVICES
   ================================================================ */
.svc-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.svc-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.si {
  background: var(--dark);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background .3s;
}
.si::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.si:hover              { background: var(--card); }
.si:hover::after       { width: 100%; }
.si-n {
  font-family: var(--font-d);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(200,146,42,.12);
  margin-bottom: .85rem;
  transition: color .3s;
}
.si:hover .si-n { color: rgba(200,146,42,.25); }
.si-ic { font-size: 1.6rem; margin-bottom: .75rem; }
.si-t  { font-weight: 500; color: var(--white); font-size: .9rem; margin-bottom: .6rem; }
.si-d  { font-size: .8rem; color: var(--muted); line-height: 1.65; }


/* ================================================================
   PROCESS
   ================================================================ */
.proc-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.proc-g::before {
  content: '';
  position: absolute;
  top: 1.9rem;
  left: calc(12.5% + 1.2rem);
  right: calc(12.5% + 1.2rem);
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--border), var(--gold));
  pointer-events: none;
}
.step { padding-right: 1rem; }
.step-nb {
  width: 3.8rem; height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  font-family: var(--font-d);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 1;
  transition: background .3s, border-color .3s, color .3s;
}
.step:hover .step-nb { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.step-t { font-weight: 500; color: var(--white); font-size: .9rem; margin-bottom: .4rem; }
.step-d { font-size: .8rem; color: var(--muted); line-height: 1.65; }


/* ================================================================
   ZONE
   ================================================================ */
.zone-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.zone-p { color: var(--muted); font-size: .93rem; line-height: 1.9; margin-bottom: 1.5rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.tag {
  padding: .35rem .9rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color .3s, color .3s, background .3s;
  cursor: default;
}
.tag:hover,
.tag.on { border-color: var(--gold); color: var(--gold-lt); background: rgba(200,146,42,.07); }

.map-w {
  position: relative;
  height: clamp(280px, 45vw, 420px);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-w::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,146,42,.04) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
#map { width: 100%; height: 100%; }


/* ================================================================
   HORAIRES
   ================================================================ */
.hor-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.sched {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.sched-r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.1rem;
  background: var(--card);
  gap: 1rem;
}
.sched-r.hl { background: rgba(200,146,42,.07); }
.sched-day  { font-size: .85rem; color: var(--cream); }
.sched-t    { font-family: var(--font-d); font-size: 1.05rem; color: var(--gold-lt); letter-spacing: .05em; }
.sched-t.cl { font-family: var(--font-b); font-size: .82rem; color: var(--muted); font-style: italic; }

.ci { display: flex; flex-direction: column; gap: 1.35rem; }
.ci-it { display: flex; gap: 1.1rem; align-items: flex-start; }
.ci-ico {
  width: 42px; height: 42px; min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-lbl { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.ci-val { font-size: .95rem; color: var(--white); }
.ci-val a:hover { color: var(--gold-lt); }


/* ================================================================
   CONTACT FORM
   ================================================================ */
.cform-g {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.cf-p    { color: var(--muted); font-size: .93rem; line-height: 1.9; margin-bottom: 1.5rem; }
.cf-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.15rem;
  background: rgba(200,146,42,.07);
  border: 1px solid rgba(200,146,42,.28);
  font-size: .8rem;
  color: var(--gold-lt);
}

.form  { display: flex; flex-direction: column; gap: 1.1rem; }
.frow  { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fg    { display: flex; flex-direction: column; gap: .35rem; }
.flbl  { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.finp,
.fsel,
.ftxt {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-b);
  font-size: .88rem;
  padding: .8rem .95rem;
  outline: none;
  transition: border-color .3s;
  resize: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.finp:focus,
.fsel:focus,
.ftxt:focus { border-color: var(--gold); }
.finp::placeholder,
.ftxt::placeholder { color: var(--border); }
.ftxt { min-height: 120px; }

.fsel option { background: var(--card); }

.fconsent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.55;
}
.fconsent input[type="checkbox"] {
  width: 15px; height: 15px; min-width: 15px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.fsub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.fnote { font-size: .72rem; color: var(--muted); }
.fsuc {
  display: none;
  padding: .9rem 1rem;
  background: rgba(200,146,42,.09);
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  font-size: .85rem;
  margin-top: .5rem;
}


/* ================================================================
   FOOTER
   ================================================================ */
footer { padding: 2.5rem 0 1.75rem; border-top: 1px solid var(--border); }
.ft-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.ft-logo { font-family: var(--font-d); font-size: 1.35rem; letter-spacing: .1em; color: var(--white); }
.ft-logo b { color: var(--gold); font-weight: 400; }
.ft-tag  { font-size: .75rem; color: var(--muted); margin-top: .2rem; }

.ft-soc { display: flex; gap: .65rem; }
.soc-a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color .3s, color .3s;
}
.soc-a:hover { border-color: var(--gold); color: var(--gold-lt); }

.ft-bot {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .72rem;
  color: var(--muted);
}
.ft-lnk { display: flex; gap: 1.75rem; }
.ft-lnk a:hover { color: var(--gold-lt); }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  nav.desk { display: none; }
  .ham     { display: flex; }

  .h-main .wrap { grid-template-columns: 1fr; }
  .h-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
  }
  .stat-hr { display: none; }

  .about-g,
  .zone-g,
  .hor-g,
  .cform-g { grid-template-columns: 1fr; gap: 2.5rem; }

  .svc-g   { grid-template-columns: 1fr 1fr; }
  .proc-g  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .proc-g::before { display: none; }
  .svc-hd  { align-items: flex-start; }
}

@media (max-width: 640px) {
  .svc-g  { grid-template-columns: 1fr; }
  .frow   { grid-template-columns: 1fr; }
  .proc-g { grid-template-columns: 1fr; }
  .h-stats { grid-template-columns: 1fr 1fr; }

  .h-btns { flex-direction: column; align-items: flex-start; }
  .h-btns .btn { width: 100%; justify-content: center; }

  .ft-in  { flex-direction: column; align-items: flex-start; }
  .ft-bot { flex-direction: column; gap: .5rem; }
  .fsub   { flex-direction: column; align-items: flex-start; }
  .fsub .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .h-stats { grid-template-columns: 1fr; }
}

/* Touch targets min 44px */
@media (hover: none) {
  .btn, .fc, .si, .tag, .soc-a, .ft-lnk a { min-height: 44px; }
  .btn { padding: .9rem 1.8rem; }
}
