/* ─────────────────────────────────────────────
   G&O Studio — Design System Shared CSS
   ───────────────────────────────────────────── */
:root {
  --bg:    #f8f7f4;
  --bg2:   #f0efe9;
  --bg3:   #ffffff;
  --ink:   #111111;
  --ink2:  #4a4a4a;
  --ink3:  #888888;
  --blue:  #1a6cff;
  --blue-bg: #eef3ff;
  --blue-dark: #0044cc;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --border:  #e2e0da;
  --border2: #cccac4;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 4px 6px rgba(0,0,0,.05), 0 24px 60px rgba(0,0,0,.14);
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  padding-bottom: 0;
}
body.has-mobile-nav { padding-bottom: 68px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ─────────────────────── */
.btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 10px;
  transition: background .15s, transform .1s;
}
.btn-main:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-main.lg { font-size: 17px; padding: 16px 36px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  padding: 13px 22px; border: 1.5px solid var(--border2); border-radius: 10px;
  transition: border-color .15s, transform .1s;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ── SECTION HEADERS ─────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--blue); }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.8vw, 50px); line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--ink3); }
.section-title.white { color: #fff; }
.section-title.white em { color: rgba(255,255,255,.5); }
.section-lead {
  font-size: 17px; color: var(--ink2); max-width: 52ch;
  line-height: 1.65; margin-bottom: 52px;
}
.section-lead.white { color: rgba(255,255,255,.65); }

/* ── NAV ─────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(248,247,244,.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-i {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 0; flex-shrink: 0;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-weight: 700; font-size: 18px;
  letter-spacing: 0; color: var(--ink);
  text-decoration: none; line-height: 1;
}
.logo-bracket { color: var(--blue); font-weight: 300; font-size: 22px; line-height: 1; opacity: .7; }
.logo-name { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.logo-slash { color: var(--blue); font-weight: 300; opacity: .8; }
.logo-dot { display: none; }
.logo-amp { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink2);
  transition: color .15s; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-cta {
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 10px;
  transition: background .15s; white-space: nowrap;
}
.nav-cta:hover { background: #333; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; display: block; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: absolute; top: 64px; left: 0; right: 0;
  background: var(--bg3); border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px; flex-direction: column; gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px; font-weight: 500; color: var(--ink2);
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .mm-cta {
  margin-top: 14px; background: var(--blue); color: #fff;
  text-align: center; padding: 14px; border-radius: 10px;
  font-weight: 600; border: none; font-size: 15px;
}

/* ── MOBILE BOTTOM NAV (PWA) ──────── */
.mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0 0 env(safe-area-inset-bottom);
}
.mobile-nav-i {
  display: flex; align-items: stretch;
  height: 60px;
}
.mobile-nav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink3);
  background: none; border: none; cursor: pointer; text-decoration: none;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-btn .mni { font-size: 20px; line-height: 1; }
.mobile-nav-btn:active, .mobile-nav-btn.active { color: var(--blue); }
.mobile-nav-btn.devis-btn {
  background: var(--blue); color: #fff; margin: 8px 12px;
  border-radius: 10px; flex: 1.5;
}
.mobile-nav-btn.devis-btn .mni { font-size: 18px; }
.mobile-nav-btn.devis-btn:active { background: var(--blue-dark); }

/* ── PWA INSTALL BANNER ───────────── */
.pwa-banner {
  display: none; position: fixed; bottom: 74px; left: 12px; right: 12px;
  background: var(--ink); color: #fff; border-radius: 14px;
  padding: 14px 16px; z-index: 500;
  flex-direction: row; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  animation: slideUp .3s ease-out;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.pwa-banner.show { display: flex; }
.pwa-banner-icon { font-size: 28px; flex-shrink: 0; }
.pwa-banner-text strong { display: block; font-size: 14px; font-weight: 700; }
.pwa-banner-text span { font-size: 12px; color: rgba(255,255,255,.6); }
.pwa-banner-actions { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
.pwa-install-btn {
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700; border: none;
  padding: 8px 16px; border-radius: 8px; cursor: pointer;
}
.pwa-dismiss-btn {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 500; border: none;
  padding: 8px 12px; border-radius: 8px; cursor: pointer;
}

/* ── FOOTER ──────────────────────── */
footer {
  background: #0a0a0a; padding: 56px 0 28px;
}
.foot-i {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; max-width: 26ch; }
.foot-brand .foot-email {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 13px; font-weight: 600;
  color: #86d8ff;
}
.foot-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.foot-col ul a:hover { color: #fff; }
.foot-bottom {
  max-width: var(--max); margin: 32px auto 0;
  padding: 20px 24px 0; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; font-size: 12px; color: rgba(255,255,255,.25);
}

/* ── RESPONSIVE ──────────────────── */
@media (max-width: 1024px) {
  .foot-i { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .foot-i { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 580px) {
  .foot-i { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}

/* ── WHATSAPP BUTTON ─────────────── */
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 15px 30px; border-radius: 10px;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,.45); }
.btn-wa svg { flex-shrink: 0; }

.btn-wa-sm {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 9px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn-wa-sm:hover { background: #1ebe5d; transform: translateY(-1px); }

.wa-btn-footer {
  display: inline-flex; align-items: center; gap: 7px;
  color: #25d366; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: opacity .15s;
}
.wa-btn-footer:hover { opacity: .8; }

.wa-link {
  color: #25d366; font-weight: 600;
  text-decoration: none; transition: opacity .15s;
}
.wa-link:hover { opacity: .8; }
