
/* === Montmirail Informatique — style.css (FULL) === */
:root {
  --primary:#0b5394;
  --primary-2:#0e66b8;
  --accent:#ffb400;
  --text:#333;
  --muted:#f5f7fb;
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); line-height:1.6; background:#fff; }
a { color: var(--primary-2); text-decoration: none; }
img { max-width:100%; height:auto; display:block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
}
.hero .overlay { position:absolute; inset:0; background: rgba(11,83,148,.70); }
.hero-content { position: relative; z-index:1; text-align:center; padding: 90px 20px 70px; }
.hero .brand { display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:10px; }
.hero .brand img { width:72px; border-radius: 12px; background: rgba(255,255,255,.9); padding:6px; }
.hero h1 { margin:0; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.hero p.tagline { margin:.5rem 0 1.2rem; font-size: 1.05rem; opacity:.95; }

/* Nav moderne */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px);
  background: rgba(11,83,148,0.75); border-bottom: 1px solid rgba(255,255,255,0.15); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 20px; }
.nav-brand { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; }
.nav-brand img{ width:32px; height:32px; border-radius:8px; background:rgba(255,255,255,.9); padding:4px; }
.nav-links { display:flex; gap:4px; align-items:center; }
.nav a { position:relative; color:#fff; padding:10px 12px; border-radius:10px; font-weight:600; opacity:.95; }
.nav a::after { content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px; background:#ffb400; transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.nav a:hover { background:rgba(255,255,255,.10); }
.nav a:hover::after { transform:scaleX(1); }
.nav a.is-active, .nav a[aria-current="page"] { background:rgba(255,255,255,.14); }
.nav a.is-active::after, .nav a[aria-current="page"]::after { transform:scaleX(1); }
.nav-toggle { display:none; width:40px; height:40px; border:1px solid rgba(255,255,255,.3); border-radius:10px; background:transparent; color:#fff; font-size:18px; }
@media (max-width: 820px) {
  .nav-toggle { display:block; }
  .nav-links { position:absolute; left:0; right:0; top:64px; background:rgba(11,83,148,0.92); backdrop-filter: blur(8px); padding:10px; display:none; flex-direction:column; }
  .nav.open .nav-links { display:flex; }
}

/* Sections / Cards */
section { padding: 48px 0; }
section.alt { background: var(--muted); }
h2.section-title { color: var(--primary); margin-top:0; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.grid { display:grid; grid-template-columns: repeat(12, 1fr); gap:20px; }
.card { background:#fff; border-radius:12px; padding:20px; box-shadow:0 6px 18px rgba(0,0,0,.06); }
.card.center { text-align:center; }
.card .icon { width:44px; height:44px; display:block; margin: 0 auto 10px; }

/* CTA / Buttons */
.button { display:inline-block; background: var(--accent); color:#000; padding:12px 20px; border-radius: 10px; font-weight: 700; }
.button:hover { filter: brightness(1.05); }

/* Bloc Urgence */
.urgent { background: #fff3cd; border: 1px solid #ffe08a; padding: 16px; border-radius: 12px; }
.urgent strong { color:#7a5a00; }

/* Footer */
footer { background: var(--primary); color:#fff; padding: 24px 0; text-align:center; font-size:.95rem; }
footer a { color:#fff; text-decoration: underline; }

/* Bouton appel flottant (mobile) */
.call-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display:none; }
.call-float a { display:flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:999px; background:var(--accent); color:#000; font-weight:800; box-shadow:0 6px 18px rgba(0,0,0,.15); }
@media (max-width: 820px) { .call-float { display:block; } }
