/* RMNSolution — One-page V4 (light, simple, accessible) */
:root{
  --bg:#F6F7FB;
  --surface:#FFFFFF;
  --surface2:#F0F2F8;
  --text:#0B2A3A;
  --muted:rgba(11,42,58,.72);
  --stroke:rgba(23,37,84,.16);
  --accent:#1C7FA1;
  --shadow: 0 14px 30px rgba(15,23,42,.08);
  --r: 18px;
  --container: 1120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(28,127,161,.10), rgba(0,0,0,0)),
    radial-gradient(900px 600px at 80% 0%, rgba(99,102,241,.07), rgba(0,0,0,0)),
    var(--bg);
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container); margin:0 auto; padding:0 18px}

/* Header */
.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(246,247,251,.82);
  border-bottom: 1px solid var(--stroke);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
  gap: 16px;
}
.brand{display:flex; align-items:center; padding:8px 10px; border-radius: 14px}
.brand:hover{background: rgba(11,42,58,.04)}
.brand__logo{height:40px; width:auto; display:block}

.nav{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.nav a{
  color: var(--muted);
  font-weight:800;
  font-size:14px;
  padding:10px 10px;
  border-radius: 12px;
}
.nav a:hover{background: rgba(11,42,58,.05); color: var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px;
  border-radius: 999px;
  font-weight:900;
  font-size:13px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.85);
}
.btn:hover{background: rgba(255,255,255,1)}
.btn--primary{
  border-color: rgba(28,127,161,.35);
  background: rgba(28,127,161,.12);
}
.btn--primary:hover{background: rgba(28,127,161,.16)}

.burger{
  display:none;
  width:42px; height:42px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.85);
  align-items:center; justify-content:center;
  gap:5px;
}
.burger span{
  display:block; width:18px; height:2px;
  background: var(--text); opacity:.9; border-radius: 2px;
}
.mobile-nav{
  display:none;
  padding: 12px 18px 16px 18px;
  border-top: 1px solid var(--stroke);
}
.mobile-nav a{
  display:block;
  padding:12px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight:800;
}
.mobile-nav a:hover{background: rgba(11,42,58,.05); color:var(--text)}
.mobile-nav .btn{margin-top:10px; width:100%}

main{padding: 26px 0 70px}

/* Hero */
.hero{padding: 54px 0 10px}
.hero__wrap{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: calc(var(--r) + 10px);
  padding: 66px 26px;
  box-shadow: var(--shadow);
}
h1{
  margin:0;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.03;
  letter-spacing: -1.1px;
}
.hero__sub{
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 68ch;
}
.hero__sub b{color: var(--text)}
.hero__cta{margin-top: 18px; display:flex; gap:10px; flex-wrap:wrap}

/* Sections */
.section{margin-top: 38px}
.section--alt{
  background: var(--surface2);
  border: 1px solid rgba(23,37,84,.08);
  border-left: 0; border-right:0;
  padding: 30px 0;
}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px;
  margin-bottom: 12px;
}
.section__head h2{margin:0; font-size: 22px; letter-spacing: -0.3px}
.section__head p{margin:0; color: var(--muted); font-weight:700; font-size: 13px}

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

.card{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  padding: 16px;
}
.card h3{margin:0 0 8px; font-size: 16px}
.card p{margin:0; color: var(--muted); line-height: 1.55; font-size: 14px}

.bullets{margin:0; padding-left: 18px; color: var(--muted)}
.bullets li{margin: 8px 0; line-height: 1.5}

/* Situations (vertical, sober) */
.situations{margin-top: 10px; display:grid; gap: 10px}
.sit{
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--stroke);
  background: var(--surface);
}
.sit b{display:block; margin-bottom: 6px; font-size: 14px}
.sit span{color: var(--muted); font-size: 14px; line-height:1.55}

/* Méthode */
.method-wrap{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow);
}
.method-wrap img{width:100%; height:auto; display:block}

/* Contact */
.contact{display:grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items:stretch}
.mini{font-size: 13px; color: var(--muted); line-height: 1.6}
.kv{display:grid; grid-template-columns: 140px 1fr; gap: 10px 12px; margin-top: 10px}
.kv div{color: var(--muted); font-weight: 800; font-size: 13px}
.kv a{color: var(--text); font-weight: 900}

.footer{margin-top: 34px; color: rgba(11,42,58,.55); font-size: 12px; text-align:center}

/* Modal */
.modal-backdrop{
  position: fixed; inset: 0;
  background: rgba(2,6,23,.50);
  display:none;
  align-items:center; justify-content:center;
  padding: 18px;
  z-index: 50;
}
.modal{
  width: min(720px, 100%);
  background: var(--surface);
  border-radius: calc(var(--r) + 6px);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow:hidden;
}
.modal__head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 16px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(246,247,251,.75);
}
.modal__head h3{margin:0; font-size: 16px}
.modal__close{
  width:38px; height:38px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.9);
  cursor:pointer;
}
.modal__body{padding: 16px}
.form{display:grid; grid-template-columns: 1fr 1fr; gap: 10px 10px}
.field{display:flex; flex-direction:column; gap:6px}
label{font-size: 12px; font-weight: 900; color: rgba(11,42,58,.75); letter-spacing:.02em}
input, textarea, select{
  font: 700 14px Inter, system-ui, Arial, sans-serif;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--text);
}
textarea{min-height: 110px; resize: vertical}
.full{grid-column: 1 / -1}
.modal__foot{
  padding: 14px 16px;
  border-top: 1px solid var(--stroke);
  display:flex; justify-content:space-between;
  gap: 10px; flex-wrap:wrap;
  background: rgba(246,247,251,.75);
}
.small-note{font-size:12px; color: rgba(11,42,58,.60); line-height:1.4}

@media (max-width: 980px){
  .grid-4{grid-template-columns: 1fr 1fr}
  .contact{grid-template-columns: 1fr}
}
@media (max-width: 720px){
  .nav{display:none}
  .burger{display:flex}
  .mobile-nav{display:block}
  .grid-2{grid-template-columns: 1fr}
  .grid-4{grid-template-columns: 1fr}
  .form{grid-template-columns: 1fr}
  .hero__wrap{padding: 52px 18px}
}
