/* Kiwi IT Services — feuille de style commune */
@font-face{ font-family:'Manrope'; font-style:normal; font-weight:500 800; font-display:swap;
  src:url('/assets/fonts/manrope.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:400 600; font-display:swap;
  src:url('/assets/fonts/inter.woff2') format('woff2'); }

:root{
  --petrol:      #1F4E5F;
  --petrol-deep: #12313B;
  --ink:         #1C1C1A;
  --paper:       #F5F2EA;
  --paper-line:  #DAD4C2;
  --kiwi:        #8FAE3A;
  --kiwi-deep:   #6C8A2B;
  --cream-text:  #F1EEE4;
  --muted:       #A9BAC0;
  --muted-dark:  #4B4A44;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after{ box-sizing: inherit; }
html{ scroll-behavior: smooth; scroll-padding-top: env(safe-area-inset-top, 0px); }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg{ max-width:100%; display:block; }
a{ color: inherit; }
button{ font-family: inherit; }
.is-hidden{ display:none !important; }
.hp, input[type="hidden"]{ display:none; }

.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
h1,h2,h3{ font-family: var(--font-head); font-weight: 800; line-height: 1.08; margin: 0; }

/* ---------- Barre du haut ---------- */
.topbar{
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--petrol); border-bottom: 1px solid rgba(255,255,255,.12);
}
.topbar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  min-height: 60px; padding: 10px 0; gap: 12px; flex-wrap: wrap;
}
.brand-mini{
  font-family: var(--font-head); font-weight: 800; font-size: .98rem;
  color: var(--cream-text); text-decoration:none;
  display:flex; align-items:center; gap:.4rem; white-space:nowrap;
}
.brand-mini span{ color: var(--kiwi); }
.logo-mark{ height:20px; width:auto; flex:none; margin-right:8px; }
.topbar-actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.pill-switch{
  display:flex; background: rgba(255,255,255,.08); border-radius: 999px;
  padding: 3px; font-size: .82rem;
}
.pill-switch a{
  color: var(--muted); text-decoration:none;
  padding: 6px 14px; border-radius:999px;
}
.pill-switch a.active{ background: var(--kiwi); color: var(--petrol-deep); font-weight:700; }
.topbar .btn-mini{
  background: var(--kiwi); color: var(--petrol-deep);
  font-weight:700; font-size:.85rem;
  padding:.5rem .95rem; border-radius:3px; text-decoration:none;
}
@media (max-width: 480px){
  .brand-mini{ font-size:.86rem; }
  .logo-mark{ height:18px; margin-right:5px; }
  .pill-switch{ font-size:.76rem; }
  .pill-switch a{ padding:5px 10px; }
  .topbar .btn-mini{ font-size:.8rem; padding:.45rem .8rem; }
}

/* ---------- Boutons ---------- */
.btn{
  display:inline-block; font-family: var(--font-body); font-weight:600; font-size:.97rem;
  text-decoration:none; padding: .85rem 1.5rem; border-radius: 3px;
  border: 1px solid transparent; cursor:pointer;
}
.btn-primary{ background: var(--kiwi); color: var(--petrol-deep); }
.btn-primary:hover{ background:#a2c250; }
.btn-ghost-dark{ border: 1px solid rgba(28,28,26,.25); color: var(--ink); background:none; }
.btn-ghost-dark:hover{ border-color: var(--ink); }

/* =====================================================
   ACCUEIL
===================================================== */
.land{
  min-height: 100dvh; display:flex; flex-direction:column;
  background: var(--petrol); color: var(--cream-text);
  position:relative; overflow:hidden;
}
.land-net{ position:absolute; inset:0; z-index:0; opacity:.5; }
.land-net svg{ width:100%; height:100%; }
.land-net line{ stroke: rgba(241,238,228,.14); stroke-width:1; }
.land-net circle{ fill: rgba(143,174,58,.4); }
.land-main{
  position:relative; z-index:1; flex:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding: clamp(40px,8vw,72px) clamp(20px,6vw,56px);
}
.land-mark{
  font-family: var(--font-head); font-weight:800;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 10px;
}
.land-mark span{ color: var(--kiwi); }
.land-mark .logo-mark{ height:64px; margin:0 auto 6px; }
h1.land-tag{
  font-family: var(--font-body); font-weight:400; line-height:1.55;
  color: var(--muted); font-size: 1.05rem; max-width: 40ch; margin: 0 0 12px;
}
.land-intro{ color: var(--muted); font-size: .98rem; max-width: 46ch; margin: 0 0 clamp(32px,5vw,48px); }
.land-choices{
  display:grid; gap: 18px; width: 100%; max-width: 640px; grid-template-columns: 1fr;
}
@media (min-width: 620px){ .land-choices{ grid-template-columns: 1fr 1fr; } }
.choice{
  display:block; text-align:left;
  background: rgba(255,255,255,.04); border: 1px solid rgba(241,238,228,.18);
  border-radius: 4px; padding: 26px 24px; text-decoration:none; color: var(--cream-text);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.choice:hover, .choice:focus-visible{
  border-color: var(--kiwi); background: rgba(143,174,58,.09); transform: translateY(-2px);
}
.choice .lab{ font-family:var(--font-head); font-weight:800; font-size:1.2rem; margin-bottom:6px; display:block; }
.choice .sub{ color: var(--muted); font-size:.92rem; display:block; }
.choice .arrow{ color: var(--kiwi); font-weight:700; margin-top:14px; display:block; font-size:.9rem; }
.land-foot{
  position:relative; z-index:1; text-align:center;
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom,0px));
  font-size:.85rem; color: var(--muted);
}
.land-foot a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.land-foot .land-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:4px 18px; margin-top:6px; }

/* =====================================================
   PAGES PARTICULIERS / PRO
===================================================== */
.u-hero{
  background: var(--petrol); color: var(--cream-text);
  padding: clamp(44px,7vw,72px) 0 clamp(40px,6vw,60px);
}
.u-hero .kicker{ color: var(--kiwi); font-weight:600; font-size:.92rem; margin:0 0 10px; }
.u-hero h1{ font-size: clamp(1.9rem, 4.2vw, 2.7rem); max-width: 26ch; letter-spacing:-.01em; }
.u-hero p.lede{ color: var(--muted); max-width: 54ch; font-size:1.08rem; margin: 18px 0 28px; }

section{ padding: clamp(48px, 8vw, 88px) 0; }
.section-head{ max-width: 56ch; margin-bottom: clamp(28px,4.5vw,48px); }
.section-head h2{ font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing:-.01em; }
.section-head p{ margin:12px 0 0; color: var(--muted-dark); font-size:1rem; }
.svc-block{ background: var(--paper); }
.pt0{ padding-top:0; }
.service-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--paper-line); }
.service-list li{
  padding: 16px 0; border-bottom:1px solid var(--paper-line);
  display:flex; justify-content:space-between; gap:16px; align-items:baseline;
}
.service-list .name{ font-weight:600; }
.service-list .desc{ color: var(--muted-dark); font-size:.9rem; text-align:right; max-width:52%; }
.service-list .price{ font-family: var(--font-head); font-weight:800; color: var(--petrol); white-space:nowrap; }
.price-note{ margin: 24px 0 0; color: var(--ink); font-size:.97rem; line-height:1.6; }
.price-foot{ margin: 14px 0 0; color: var(--muted-dark); font-size:.97rem; }

.facts{ display:flex; flex-wrap:wrap; border-top:1px solid var(--paper-line); border-bottom:1px solid var(--paper-line); margin-top:8px; }
.fact{ flex:1 1 200px; padding:24px; border-right:1px solid var(--paper-line); text-align:center; }
.fact:last-child{ border-right:none; }
.fact .num{ font-family:var(--font-head); font-weight:800; font-size:1.7rem; color:var(--petrol); display:block; margin-bottom:5px; }
.fact .lab{ font-size:.9rem; color:var(--muted-dark); max-width:22ch; margin:0 auto; }
.diff-list{ list-style:none; margin:40px 0 0; padding:0; display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:780px){ .diff-list{ grid-template-columns:1fr 1fr; } }
.diff-list li{ display:flex; gap:12px; align-items:flex-start; }
.diff-list .mark{ width:7px; height:7px; background:var(--kiwi); border-radius:50%; margin-top:8px; flex:none; }
.diff-list strong{ display:block; font-family:var(--font-head); font-weight:800; font-size:1rem; margin-bottom:3px; }
.diff-list p{ margin:0; color:var(--muted-dark); font-size:.94rem; max-width:38ch; }

.two-col{ display:grid; gap:40px; grid-template-columns:1fr; }
@media (min-width:780px){ .two-col{ grid-template-columns:1fr 1fr; gap:56px; } }
.two-col h2{ font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing:-.01em; margin-bottom:16px; }
.two-col p{ margin:0 0 12px; color: var(--muted-dark); }
.steps{ list-style:none; margin:0; padding:0; counter-reset: step; }
.steps li{ position:relative; padding: 0 0 18px 44px; counter-increment: step; }
.steps li::before{
  content: counter(step); position:absolute; left:0; top:0;
  width:30px; height:30px; border-radius:50%; background: var(--petrol); color: var(--cream-text);
  font-family: var(--font-head); font-weight:800; font-size:.9rem;
  display:flex; align-items:center; justify-content:center;
}
.steps strong{ display:block; font-family: var(--font-head); font-weight:800; color: var(--ink); }
.steps span{ color: var(--muted-dark); font-size:.95rem; }

.p-strip{ background: var(--petrol-deep); color: var(--cream-text); }
.p-strip .wrap{ display:flex; flex-wrap:wrap; gap:28px; justify-content:center; align-items:center; text-align:center; }
.p-strip p{ margin:0 auto; max-width:60ch; color: var(--muted); font-size:1rem; }
.p-strip strong{ color: var(--cream-text); }
.u-cta{ padding: clamp(40px,7vw,64px) 0; text-align:center; background: var(--paper); }
.u-cta h2{ font-size: clamp(1.5rem,3vw,2rem); margin-bottom:10px; }
.u-cta p{ color: var(--muted-dark); margin:0 0 24px; }

/* =====================================================
   CONTACT et REMERCIEMENT
===================================================== */
body.page-contact, body.page-merci{
  background: var(--petrol); color: var(--cream-text);
  min-height: 100dvh; display:flex; flex-direction:column;
}
body.page-contact main, body.page-merci main{ flex:1; }
.contact-head{ padding: clamp(40px,7vw,64px) 0 8px; }
.contact-head h1{ font-size: clamp(1.8rem,3.6vw,2.4rem); max-width:20ch; }
.contact-head p{ color: var(--muted); max-width:50ch; margin:14px 0 0; }

.merci-main{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: clamp(40px,7vw,64px) clamp(20px,5vw,56px);
}
.merci-main h1{ font-size: clamp(1.8rem,3.6vw,2.4rem); }
.merci-main p{ color: var(--muted); max-width:50ch; margin:14px auto 0; }
.merci-main .btn{ margin-top:30px; }

form.kform{ padding: 20px 0 clamp(48px,8vw,80px); max-width: 640px; }
.f-row{ margin-bottom: 20px; }
.f-row label{ display:block; font-size:.88rem; color: var(--muted); margin-bottom:6px; }
.f-row input, .f-row select, .f-row textarea{
  width:100%; background: rgba(255,255,255,.06); border: 1px solid rgba(241,238,228,.25);
  color: var(--cream-text); border-radius: 3px; padding: .7rem .8rem;
  font-family: var(--font-body); font-size: .98rem;
}
.f-row input::placeholder, .f-row textarea::placeholder{ color: rgba(241,238,228,.4); }
.f-row select{
  appearance:none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size:5px 5px, 5px 5px; background-repeat:no-repeat;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus{ outline:2px solid var(--kiwi); outline-offset:1px; }
.f-row select option{ color: var(--ink); background: #ffffff; }
.f-row .check-row{ display:flex; align-items:center; gap:8px; cursor:pointer; margin-bottom:0; }
.f-row .check-row input{ width:auto; }
.f-two{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:560px){ .f-two{ grid-template-columns:1fr 1fr; } }
.type-toggle{ display:flex; gap:10px; margin-bottom: 26px; flex-wrap:wrap; }
.type-toggle input{ position:absolute; opacity:0; pointer-events:none; }
.type-toggle label{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(241,238,228,.25); border-radius:999px;
  padding:.55rem 1.1rem; font-size:.92rem; cursor:pointer; color: var(--muted);
}
.type-toggle input:checked + label{ background: var(--kiwi); border-color: var(--kiwi); color: var(--petrol-deep); font-weight:700; }
.type-toggle input:focus-visible + label{ outline:2px solid var(--kiwi); outline-offset:2px; }
.cond{ display:none; border-left: 2px solid rgba(241,238,228,.2); padding-left:18px; margin: 4px 0 26px; }
.cond.show{ display:block; }
.form-note{ font-size:.85rem; color: var(--muted); margin-top:14px; }
.form-note .note-link{ color: var(--kiwi); text-decoration: underline; }
.req{ color:#E07A5F; }
.required-note{ font-size:.85rem; color: var(--muted); margin: 0 0 24px; }
.rgpd-note{ font-size:.82rem; color: var(--muted); line-height:1.5; margin: 6px 0 18px; max-width: 62ch; }
.rgpd-note a{ color: var(--kiwi); text-decoration: underline; }
.ac-wrap{ position:relative; }
.ac-list{
  list-style:none; margin:4px 0 0; padding:4px 0;
  position:absolute; left:0; right:0; top:100%;
  background:#ffffff; border:1px solid rgba(0,0,0,.12); border-radius:3px;
  max-height:220px; overflow-y:auto; z-index:50; box-shadow:0 8px 20px rgba(0,0,0,.2);
  display:none;
}
.ac-list.show{ display:block; }
.ac-list li{ padding:.55rem .9rem; font-size:.95rem; color:var(--ink); cursor:pointer; }
.ac-list li:hover{ background: var(--kiwi); color: var(--petrol-deep); }

/* =====================================================
   MENTIONS LÉGALES
===================================================== */
.wrap.legal{ max-width: 820px; padding-top: clamp(40px,7vw,72px); padding-bottom: clamp(48px,8vw,88px); }
.legal h1{ font-size: clamp(1.7rem,3.4vw,2.3rem); margin-bottom: 28px; color: var(--petrol-deep); }
.legal h2{ font-size: 1.15rem; color: var(--petrol); margin: 34px 0 10px; }
.legal p, .legal li{ color: var(--ink); font-size: 1rem; margin: 0 0 12px; }
.legal ul{ padding-left: 1.2rem; margin: 0 0 12px; }
.legal a{ color: var(--petrol); text-decoration: underline; }
.legal .mediator{ text-align:center; line-height:1.7; margin: 14px 0 18px; }

/* ---------- Pied de page ---------- */
footer{
  background: var(--petrol-deep); color: var(--muted); font-size: .85rem;
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px));
}
footer .wrap{ display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; }
footer a{ text-decoration:none; color: var(--muted); }
footer a:hover{ color: var(--cream-text); }
