/* ================================================================
   45NET — V3 ARDOISE & VERT
   Style principal
   ================================================================ */

/* ── VARIABLES ──────────────────────────────────────────────────── */
:root {
  --bg:        #f7f5f0;
  --white:     #ffffff;
  --slate:     #2c3e50;
  --slate2:    #34495e;
  --card:      #ffffff;
  --border:    #e0dbd0;
  --border2:   #ccc6b8;
  --green:     #2d6a4f;
  --green-lt:  #3d8b66;
  --green-pale:#e8f4ef;
  --green-xlt: #52b788;
  --sand:      #e8e0d0;
  --warm:      #7a6652;
  --muted:     #8a8278;

  --font-d: 'Playfair Display', serif;
  --font-b: 'Outfit', 'Cabinet Grotesk', 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(--slate); 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(--green); color: #fff; }

::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); }

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

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

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.9rem;
  font-family: var(--font-b);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius: 2px;
}
.btn-g { background: var(--green); color: #fff; }
.btn-g:hover, .btn-g:focus { background: var(--green-lt); }
.btn-o { background: transparent; color: var(--slate); border: 1.5px solid var(--border2); }
.btn-o:hover, .btn-o:focus { border-color: var(--green); color: var(--green); }

/* ── REVEAL ─────────────────────────────────────────────────────── */
[data-r] { opacity: 0; transform: translateY(24px); 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-d); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--slate); margin-top: .65rem; line-height: 1.15; }

.sec      { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec-sand { background: var(--sand); }


/* ================================================================
   HEADER
   ================================================================ */
#hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(247,245,240,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .9rem 0;
  transition: box-shadow .3s;
}
#hd.sc { box-shadow: 0 2px 24px rgba(44,62,80,.08); }
#hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { font-family: var(--font-d); font-size: 1.75rem; font-weight: 900; letter-spacing: -.01em; color: var(--slate); line-height: 1; }
.logo b { color: var(--green); font-weight: 900; }

nav.desk ul { list-style: none; display: flex; gap: .15rem; align-items: center; }
nav.desk a { font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .45rem .85rem; transition: color .3s; white-space: nowrap; }
nav.desk a:hover { color: var(--green); }

.nav-cta { background: var(--green) !important; color: #fff !important; border-radius: 2px; padding: .45rem 1.1rem !important; }
.nav-cta:hover { background: var(--green-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(--slate); 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: .6rem; padding: 2rem; }
#mnav.open { display: flex; }
#mnav a { font-family: var(--font-d); font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 700; color: var(--muted); padding: .4rem 1rem; transition: color .3s; text-align: center; }
#mnav a:hover { color: var(--green); }


/* ================================================================
   HERO
   ================================================================ */
#hero { min-height: 100svh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.h-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #f7f5f0 0%, #ede8de 40%, #e2ddd3 100%); }
.h-shape { position: absolute; bottom: 0; right: -5%; width: 55%; height: 90%; background: var(--green); clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%); opacity: .06; }
.h-dots { position: absolute; top: 15%; right: 10%; width: 200px; height: 200px; background-image: radial-gradient(circle, var(--green) 1.5px, transparent 1.5px); background-size: 18px 18px; opacity: .15; }

.h-main { flex: 1; display: flex; align-items: center; padding-top: clamp(5rem, 12vw, 7rem); padding-bottom: 3rem; position: relative; z-index: 2; }
.h-main .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.h-pre { font-family: var(--font-b); font-size: .75rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.h-title { font-family: var(--font-d); font-size: clamp(3.2rem, 8.5vw, 7rem); line-height: .92; font-weight: 900; color: var(--slate); margin-bottom: 1.5rem; }
.h-title em { display: block; font-style: italic; font-weight: 700; color: var(--green); font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
.h-sub { font-size: clamp(.9rem, 2vw, 1rem); color: var(--warm); max-width: 40ch; margin-bottom: 2.2rem; line-height: 1.85; font-weight: 400; }
.h-btns { display: flex; gap: .85rem; flex-wrap: wrap; }

.h-panel {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(44,62,80,.08);
  position: relative;
}
.h-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--green-xlt));
}
.hc-g { display: flex; flex-direction: column; gap: 1.25rem; }

.stat-n { font-family: var(--font-d); font-size: 3rem; font-weight: 900; line-height: 1; color: var(--slate); }
.stat-n b { color: var(--green); font-weight: 900; }
.stat-l { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); 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(--border2); flex-shrink: 0; }
.sc-txt  { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.sc-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pdot 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pdot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); opacity: .5; } }


/* ================================================================
   MARQUEE
   ================================================================ */
.marq { background: var(--slate); padding: .85rem 0; overflow: hidden; }
.marq-t { display: flex; animation: marq 22s linear infinite; width: max-content; }
.marq-t span { font-family: var(--font-b); font-size: .8rem; font-weight: 600; letter-spacing: .22em; color: rgba(255,255,255,.65); padding: 0 1.75rem; white-space: nowrap; text-transform: uppercase; }
.marq-t .dot { color: var(--green-xlt); }
@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(--warm); font-size: .93rem; line-height: 1.9; margin-bottom: 1.25rem; }
.about-q { padding: 1.5rem 1.5rem 1.5rem 1.75rem; border-left: 3px solid var(--green); background: var(--green-pale); font-size: 1rem; color: var(--slate); font-family: var(--font-d); font-style: italic; line-height: 1.6; margin-top: 1.5rem; }

.cards { display: flex; flex-direction: column; gap: .75rem; }
.fc {
  display: flex; gap: 1.1rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  cursor: default;
}
.fc:hover { border-color: var(--green); box-shadow: 0 4px 24px rgba(45,106,79,.1); transform: translateY(-2px); }
.fc-ico { width: 44px; height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; background: var(--green-pale); color: var(--green); font-size: 1.2rem; border-radius: 50%; flex-shrink: 0; }
.fc-ttl { font-weight: 600; color: var(--slate); font-size: .9rem; margin-bottom: .2rem; }
.fc-dsc { font-size: .8rem; color: var(--warm); 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: 1rem; }
.si {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  cursor: default;
}
.si:hover { border-color: var(--green); box-shadow: 0 8px 32px rgba(45,106,79,.1); transform: translateY(-3px); }
.si-n { font-family: var(--font-d); font-size: 2.5rem; font-weight: 900; line-height: 1; color: rgba(45,106,79,.1); margin-bottom: .65rem; transition: color .3s; }
.si:hover .si-n { color: rgba(45,106,79,.2); }
.si-ic { font-size: 1.6rem; margin-bottom: .65rem; }
.si-t  { font-weight: 600; color: var(--slate); font-size: .9rem; margin-bottom: .5rem; }
.si-d  { font-size: .8rem; color: var(--warm); line-height: 1.65; }


/* ================================================================
   PROCESS
   ================================================================ */
.proc-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.step {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.step:hover { border-color: var(--green); box-shadow: 0 6px 28px rgba(45,106,79,.1); transform: translateY(-3px); }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-bottom: .75rem; }
.step-nb { font-family: var(--font-d); font-size: 2.8rem; font-weight: 900; color: rgba(45,106,79,.15); line-height: 1; margin-bottom: .75rem; transition: color .3s; }
.step:hover .step-nb { color: rgba(45,106,79,.25); }
.step-t { font-weight: 600; color: var(--slate); font-size: .9rem; margin-bottom: .4rem; }
.step-d { font-size: .8rem; color: var(--warm); 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(--warm); 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 .95rem;
  font-size: .76rem; font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1.5px solid var(--border2);
  border-radius: 20px;
  color: var(--muted);
  transition: border-color .3s, color .3s, background .3s;
  cursor: default;
}
.tag:hover, .tag.on { border-color: var(--green); color: var(--green); background: var(--green-pale); }

.map-w { height: clamp(280px, 45vw, 420px); background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 40px rgba(44,62,80,.08); }
#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: .5rem; }
.sched-r { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: 4px; gap: 1rem; transition: border-color .3s; }
.sched-r.hl { border-color: var(--green); background: var(--green-pale); }
.sched-day  { font-size: .88rem; color: var(--slate); }
.sched-t    { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--green); }
.sched-t.cl { font-family: var(--font-b); font-size: .82rem; color: var(--muted); font-style: italic; font-weight: 300; }

.ci { display: flex; flex-direction: column; gap: 1.25rem; }
.ci-it { display: flex; gap: 1.1rem; align-items: flex-start; }
.ci-ico { width: 44px; height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; background: var(--green-pale); color: var(--green); font-size: 1rem; border-radius: 50%; flex-shrink: 0; }
.ci-lbl { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.ci-val { font-size: .95rem; color: var(--slate); }
.ci-val a:hover { color: var(--green); }


/* ================================================================
   CONTACT FORM
   ================================================================ */
.cform-g { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cf-p { color: var(--warm); 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: var(--green-pale); border: 1px solid rgba(45,106,79,.3); border-radius: 4px; font-size: .8rem; color: var(--green); font-weight: 500; }

.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: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.finp, .fsel, .ftxt {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--slate);
  font-family: var(--font-b);
  font-size: .88rem;
  padding: .8rem .95rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  resize: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 4px;
}
.finp:focus, .fsel:focus, .ftxt:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,79,.1); }
.finp::placeholder, .ftxt::placeholder { color: var(--border2); }
.ftxt { min-height: 120px; }

.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(--green); 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: var(--green-pale); border: 1px solid var(--green); border-radius: 4px; color: var(--green); font-size: .85rem; margin-top: .5rem; }


/* ================================================================
   FOOTER
   ================================================================ */
footer { background: var(--slate); padding: 2.75rem 0 2rem; }
.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.6rem; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.ft-logo b { color: var(--green-xlt); font-weight: 900; }
.ft-tag { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: .25rem; }

.ft-soc { display: flex; gap: .65rem; }
.soc-a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.5); transition: border-color .3s, color .3s; }
.soc-a:hover { border-color: var(--green-xlt); color: var(--green-xlt); }

.ft-bot { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .72rem; color: rgba(255,255,255,.3); }
.ft-lnk { display: flex; gap: 1.75rem; }
.ft-lnk a:hover { color: rgba(255,255,255,.8); }


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

  .h-main .wrap { grid-template-columns: 1fr; }
  .h-panel .hc-g { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .stat-hr { width: 1px; height: 3rem; }

  .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: 1rem; }
  .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-panel .hc-g { flex-direction: column; align-items: flex-start; }
  .stat-hr { width: 100%; height: 1px; }
  .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 (hover: none) {
  .btn, .fc, .si, .step, .tag, .soc-a { min-height: 44px; }
  .btn { padding: .9rem 1.8rem; }
}
