/* =====================================================================
   PICARDIE SERRURERIE — Feuille de style (site statique, thème sombre premium)
   Palette : noir/anthracite + or, pour coller au logo griffon doré.
   ===================================================================== */

/* ---------- Variables ---------- */
:root {
  --ink:        #0a0a0c;
  --ink-2:      #0f0f12;
  --panel:      #16161a;
  --panel-2:    #1d1d22;
  --line:       rgba(216, 178, 90, 0.16);
  --line-soft:  rgba(255, 255, 255, 0.06);

  --gold:        #d8b25a;
  --gold-bright: #f3d488;
  --gold-deep:   #a9802f;
  --gold-grad:   linear-gradient(135deg, #f3d488 0%, #d8b25a 45%, #b6883a 100%);

  --text:       #ece7dd;
  --muted:      #a39d92;
  --muted-2:    #7c776e;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 12px 40px -12px rgba(216, 178, 90, 0.35);

  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.12; margin: 0 0 0.4em; letter-spacing: 0.2px; }
p { margin: 0 0 1.1em; }
::selection { background: var(--gold); color: #1a1408; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--panel { background: var(--ink-2); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Kicker / eyebrow */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7; }
.section-head.center .kicker::after { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7; }

h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.32rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--ff-body); font-weight: 600; font-size: 0.98rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gold-grad); color: #1a1408; box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -12px rgba(216, 178, 90, 0.55); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--muted);
  position: relative; padding: 6px 0; transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold-grad); transition: width 0.28s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); }
.nav-phone svg { width: 17px; height: 17px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-soft); border-radius: 10px; padding: 9px; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* Mobile drawer */
.mobile-menu { position: fixed; inset: 0; z-index: 70; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 340px);
  background: var(--ink-2); border-left: 1px solid var(--line);
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.3s var(--ease);
}
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-menu__top img { height: 38px; }
.mobile-menu__panel a.m-link { padding: 13px 10px; border-radius: 10px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line-soft); }
.mobile-menu__panel a.m-link:hover { background: rgba(216,178,90,0.08); color: var(--gold); }
.mobile-close { background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; }
.mobile-close svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(620px 480px at 78% 18%, rgba(216,178,90,0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 90%, rgba(216,178,90,0.06), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; color: var(--text); background: rgba(216,178,90,0.05);
}
.badge svg { width: 15px; height: 15px; color: var(--gold); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta { margin-top: 34px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero__meta .stat strong { display: block; font-family: var(--ff-display); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.hero__meta .stat span { font-size: 0.85rem; color: var(--muted); }
.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__visual .ring {
  position: relative; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(216,178,90,0.16), rgba(10,10,12,0.2) 62%);
  border: 1px solid var(--line); display: grid; place-items: center;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.6);
}
.hero__visual .ring::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid transparent; background: var(--gold-grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.35;
}
.hero__visual img { width: 76%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--ink-2); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.95rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }

/* ---------- Cards grid (services) ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold-grad); transition: width 0.35s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.card:hover::before { width: 100%; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(216,178,90,0.1); border: 1px solid var(--line); margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; color: var(--gold); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.97rem; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.card__link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); aspect-ratio: 4/3; display: grid; place-items: center; }
.split__media img { width: 70%; }
.check-list { display: grid; gap: 14px; margin: 26px 0 0; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text); }
.check-list svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.check-list b { color: var(--text); }
.check-list span { color: var(--muted); display: block; font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; }
.step__num {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.5rem; color: var(--gold);
  border: 1px solid var(--line); background: rgba(216,178,90,0.06);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }

/* ---------- Zones ---------- */
.zones-list { display: flex; flex-wrap: wrap; gap: 12px; }
.zone-pill {
  padding: 9px 18px; border: 1px solid var(--line-soft); border-radius: 999px;
  font-size: 0.92rem; color: var(--muted); background: rgba(255,255,255,0.02); transition: 0.25s;
}
.zone-pill:hover, .zone-pill.is-main { border-color: var(--gold); color: var(--gold); }

/* ---------- Blog cards ---------- */
.post {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.post:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.post__thumb { aspect-ratio: 16/10; background: radial-gradient(circle at 50% 35%, rgba(216,178,90,0.16), var(--ink) 70%); display: grid; place-items: center; border-bottom: 1px solid var(--line-soft); }
.post__thumb svg { width: 64px; height: 64px; color: var(--gold); opacity: 0.85; }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.post h3 { font-size: 1.22rem; margin-bottom: 10px; }
.post p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.post__link { margin-top: 16px; color: var(--gold); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 7px; align-items: center; }

/* ---------- Article ---------- */
.article-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line-soft); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold); }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; margin-top: 16px; }
.article-body { max-width: 760px; margin: 0 auto; padding: clamp(40px,6vw,72px) 0; font-size: 1.08rem; }
.article-body h2 { font-size: 1.7rem; margin: 1.6em 0 0.5em; }
.article-body h3 { font-size: 1.25rem; margin: 1.4em 0 0.4em; color: var(--gold); }
.article-body p, .article-body li { color: #d7d2c8; }
.article-body ul { margin: 0 0 1.3em; display: grid; gap: 9px; }
.article-body ul li { position: relative; padding-left: 28px; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-grad); transform: rotate(45deg); }
.article-body blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--gold);
  background: var(--ink-2); border-radius: 0 10px 10px 0; color: var(--text); font-style: italic;
}
.article-body strong { color: #fff; }
.callout {
  margin: 2em 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(216,178,90,0.06); display: flex; gap: 18px; align-items: flex-start;
}
.callout svg { width: 30px; height: 30px; color: var(--gold); flex-shrink: 0; }
.callout p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 0%, rgba(216,178,90,0.14), transparent 65%); }
.cta-band .container { position: relative; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info .info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--ink-2); }
.contact-info .info-row svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info .info-row b { display: block; margin-bottom: 2px; }
.contact-info .info-row span, .contact-info .info-row a { color: var(--muted); font-size: 0.95rem; }
.contact-info .info-row a:hover { color: var(--gold); }

.form { background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem;
  color: var(--text); background: var(--ink); border: 1px solid var(--line-soft); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,178,90,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 84px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 280px; }
.footer-col h4 { font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact .row { display: flex; gap: 10px; align-items: center; color: var(--muted); margin-bottom: 11px; font-size: 0.94rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted-2); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__visual .ring { width: min(320px, 70%); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .nav-phone, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  body { font-size: 16px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 22px; }
}
