/* ═══════════════════════════════════════════════════════════
   SERRURERIE VANIER — styles.css
   Typo display : Oswald Extra Bold (≈ Gloucester MT Extra Condensed)
   Typo corps   : Lato (≈ Gill Sans MT)
   Palette      : Noir forge · Ivoire · Or patiné · Rouge urgence
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --noir:        #131110;
  --noir-doux:   #1d1a16;
  --noir-med:    #2a2520;
  --ivoire:      #f4f0e8;
  --creme:       #ece7da;
  --blanc:       #ffffff;
  --or:          #b8922a;
  --or-clair:    #d4aa46;
  --or-pale:     #f0dfa0;
  --rouge:       #b01c1c;
  --rouge-clair: #fff0f0;
  --rouge-bord:  #e8c0c0;
  --muted:       #6b6256;
  --line:        #ddd5c4;
  --vert:        #25d366;
  --vert-dark:   #1a9e4e;

  --font-titre: 'Oswald', 'Arial Narrow', sans-serif;
  --font-corps: 'Lato', 'Gill Sans', 'Trebuchet MS', sans-serif;

  --wrap: 1160px;
  --r: 4px;
  --shadow: 0 4px 20px rgba(19,17,16,.10);
  --shadow-lg: 0 12px 48px rgba(19,17,16,.18);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-corps);
  font-size: 16px; line-height: 1.65;
  color: var(--noir); background: var(--ivoire);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

/* ══════════════ HEADER ══════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--blanc);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 2px 12px rgba(19,17,16,.07);
}
.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 10px 24px;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

/* Logo image à gauche — transparent PNG, pas d'inversion */
.hdr-logo-img {
  height: 52px; width: auto;
  flex-shrink: 0;
}

.hdr-zone {
  font-family: var(--font-corps);
  font-size: .78rem; color: var(--muted);
  letter-spacing: .07em; margin-left: 14px;
  border-left: 1px solid var(--line);
  padding-left: 14px; white-space: nowrap;
}

.hdr-actions { display: flex; gap: 10px; align-items: center; }

.btn-call, .btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r);
  font-family: var(--font-corps); font-weight: 700;
  font-size: .85rem; white-space: nowrap;
  transition: opacity .15s, transform .15s;
}
.btn-call:hover, .btn-wa:hover { opacity: .88; transform: translateY(-1px); }
.btn-call { background: var(--noir); color: var(--blanc); }
.btn-wa   { background: var(--vert); color: var(--blanc); }

/* ══════════════ MOBILE BAR ══════════════ */
.mobile-bar {
  display: none;
  position: fixed; inset-inline: 0; bottom: 0; z-index: 300;
  padding: 10px 16px; gap: 10px;
  background: rgba(19,17,16,.97); border-top: 2px solid var(--or);
  backdrop-filter: blur(8px);
}
.mb-call, .mb-wa {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 13px 10px; border-radius: var(--r);
  font-family: var(--font-corps); font-weight: 700; font-size: .9rem;
}
.mb-call { background: var(--blanc); color: var(--noir); }
.mb-wa   { background: var(--vert); color: var(--blanc); }

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 560px;
}

/* BANDEAU = fond plein écran, pas de dégradé */
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Contenu hero par-dessus la photo */
.hero-inner {
  position: relative; z-index: 2;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
  display: flex; align-items: center;
  min-height: 560px;
  padding: 60px 0;
}
.hero-copy {
  flex: 0 0 auto;
  width: 50%;
  display: flex; flex-direction: column; gap: 0;
}

.hero-urgence {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rouge); color: var(--blanc);
  padding: 5px 14px; border-radius: 3px;
  font-family: var(--font-corps); font-size: .75rem;
  font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  width: fit-content; margin-bottom: 20px;
}

.hero-h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700; text-transform: uppercase;
  color: var(--blanc); line-height: 1.0;
  letter-spacing: .02em; margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
/* hero-city : même taille que le reste du h1 */
.hero-city {
  color: var(--or-clair);
  display: block;
}
.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: .8rem; letter-spacing: .05em;
  margin-bottom: 32px; font-style: italic;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* ── BLASON infos ── */
.hero-blason {
  position: relative;
  width: 340px;
}
.blason-svg {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.55));
}
/* 
  ViewBox SVG : 340×400
  Zone rectangulaire utile : y=4 → y=242 soit 238px sur 400 = 59.5%
  On positionne le contenu à l'intérieur avec padding pour rester loin des bords
*/
.blason-content {
  position: absolute;
  top: 3%;        /* commence juste après le bord haut de l'écusson */
  left: 11%;
  right: 11%;
  height: 57%;    /* s'arrête avant la pointe */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 9px;
  /* padding interne pour que le texte ne touche pas les traits */
  padding: 10% 6% 8%;
}
.blason-checks {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px; width: 100%;
}
.blason-checks li {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-corps); font-size: .8rem;
  font-weight: 700; color: var(--blanc);
  text-align: center; line-height: 1.25;
}
.blason-checks li::before {
  content: '✓';
  color: var(--or-clair); font-weight: 900;
  font-size: .85rem; flex-shrink: 0;
}
.blason-sep {
  width: 60%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,146,42,.5), transparent);
  margin: 2px auto;
}
.blason-ctas {
  display: flex; flex-direction: column; gap: 8px; width: 100%;
}
.bcta-call, .bcta-wa {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 12px; border-radius: 3px;
  font-family: var(--font-corps); font-weight: 700; font-size: .82rem;
  white-space: nowrap; transition: opacity .15s, transform .15s;
  width: 100%;
}
.bcta-call:hover, .bcta-wa:hover { opacity: .9; transform: translateY(-1px); }
.bcta-call { background: var(--blanc); color: var(--noir); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.bcta-wa   { background: var(--vert); color: var(--blanc); box-shadow: 0 4px 14px rgba(37,211,102,.3); }

/* ══════════════ SECTIONS ══════════════ */
.section { padding: 80px 0; }
.section-light { background: var(--blanc); }
.section-cream { background: var(--creme); }
.section-dark  { background: var(--noir-doux); color: var(--blanc); }

.sec-head {
  max-width: 700px; margin: 0 auto 48px; text-align: center;
}
.sec-eyebrow {
  font-family: var(--font-corps);
  font-size: .72rem; font-weight: 900;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--or); margin-bottom: 10px; display: block;
}
.eyebrow-light { color: var(--or-clair); }
.sec-head h2 {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 14px;
}
.sec-head p { color: var(--muted); font-size: .93rem; line-height: 1.75; }

/* ══════════════ SERVICES ══════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.svc-card {
  background: var(--ivoire); border: 1px solid var(--line);
  border-top: 3px solid var(--or);
  border-radius: var(--r); padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-icon {
  width: 42px; height: 42px; margin-bottom: 14px; color: var(--or);
}
.svc-icon svg { width: 42px; height: 42px; }
.svc-card h3 {
  font-family: var(--font-titre);
  font-size: 1.15rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  margin: 0 0 10px;
}
.svc-card p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ══════════════ PROCESS ══════════════ */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step-card {
  background: var(--blanc); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 20px;
  box-shadow: var(--shadow); text-align: center;
  position: relative;
}
.step-card::before {
  content: attr(data-step);
  position: absolute; top: -1px; left: -1px;
  background: var(--or); color: var(--blanc);
  font-family: var(--font-titre); font-size: .85rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--r) 0 var(--r) 0;
  letter-spacing: .08em;
}
.step-icon { width: 48px; height: 48px; margin: 16px auto 14px; color: var(--or); }
.step-icon svg { width: 48px; height: 48px; }
.step-card h3 {
  font-family: var(--font-titre);
  font-size: 1.05rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px;
}
.step-card p { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ══════════════ REVIEWS ══════════════ */
.reviews-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.reviews-left h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; margin: 10px 0 16px;
}
.reviews-left > p { color: var(--muted); font-size: .9rem; line-height: 1.75; margin-bottom: 22px; }
.trust-list { display: grid; gap: 9px; margin-bottom: 20px; }
.trust-item { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--muted); }
.t-check { color: var(--or); font-weight: 900; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.scam-box {
  background: var(--rouge-clair); border: 1px solid var(--rouge-bord);
  border-left: 3px solid var(--rouge);
  border-radius: var(--r); padding: 16px 18px;
}
.scam-box strong { color: var(--rouge); display: block; margin-bottom: 5px; font-size: .9rem; }
.scam-box p { font-size: .83rem; color: var(--muted); }
.reviews-right { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-card {
  background: var(--ivoire); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
  box-shadow: var(--shadow);
}
.rc-stars { color: #c8900a; font-size: 13px; letter-spacing: .05em; margin-bottom: 9px; }
.review-card p { font-size: .82rem; color: var(--muted); line-height: 1.7; margin-bottom: 9px; font-style: italic; }
.review-card strong { font-size: .78rem; color: var(--noir); font-weight: 700; }

/* ══════════════ MAP ══════════════ */
.map-wrap {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}
.zones-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.zone-pill {
  padding: 7px 15px; border-radius: 999px;
  background: var(--blanc); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700;
  color: var(--muted); box-shadow: var(--shadow);
  font-family: var(--font-corps);
  text-decoration: none; transition: background .2s, color .2s;
}
a.zone-pill:hover, a.zone-pill:focus {
  background: var(--noir); color: var(--blanc); border-color: var(--noir);
}

/* ══════════════ CONTACT ══════════════ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.contact-copy { border-right: 1px solid rgba(255,255,255,.08); padding-right: 48px; }
.contact-h2 {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--blanc);
  margin: 12px 0 16px; line-height: 1.05;
}
.contact-copy > p { color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.75; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-big-call, .cta-big-wa {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 28px; border-radius: var(--r);
  font-family: var(--font-titre); font-size: 1.5rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  transition: transform .16s, opacity .16s;
}
.cta-big-call:hover, .cta-big-wa:hover { transform: translateY(-2px); opacity: .9; }
.cta-big-call { background: var(--blanc); color: var(--noir); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.cta-big-wa   { background: var(--vert); color: var(--blanc); box-shadow: 0 8px 28px rgba(37,211,102,.28); }
.contact-info { display: grid; gap: 7px; padding-top: 4px; }
.ci-row { font-size: .84rem; color: rgba(255,255,255,.45); display: flex; align-items: center; gap: 8px; }

/* ══════════════ FOOTER ══════════════ */
.site-footer {
  background: var(--noir); border-top: 2px solid var(--or);
  padding: 30px 0 80px;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-logo { height: 44px; width: auto; opacity: .85; }
.foot-brand strong {
  font-family: var(--font-titre); font-size: 1.1rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--blanc);
}
.foot-brand span { font-size: .78rem; color: rgba(255,255,255,.38); display: block; margin-top: 2px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-nav a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color .15s; }
.foot-nav a:hover { color: var(--or-clair); }
.foot-legal { display: flex; gap: 16px; }
.foot-legal a { font-size: .76rem; color: rgba(255,255,255,.28); }
.foot-legal a:hover { color: rgba(255,255,255,.55); }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { width: 55%; }
  .hero-blason { width: 290px; }
}
@media (max-width: 860px) {
  .reviews-layout, .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { border-right: none; padding-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 28px; }
  .reviews-right { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hdr-actions { display: none; }
  .hdr-zone { display: none; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 90px; }
  /* Hero mobile : empilement */
  .hero { min-height: auto; }
  .hero-photo { display: none; }
  .hero-inner {
    flex-direction: column; align-items: flex-start;
    padding: 40px 16px 48px; min-height: auto;
  }
  .hero-copy { width: 100%; }
  .hero-blason { width: 100%; max-width: 340px; margin: 24px auto 0; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .reviews-right { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .foot-legal, .foot-nav { flex-direction: column; gap: 8px; }
}
