/* =========================================================
   Serrurier Métallier Paris — Feuille de styles principale
   Palette : orange #EE7623 / noir #141414 / gris clair
   ========================================================= */

:root {
  --orange: #ee7623;
  --orange-dark: #d5631a;
  --black: #141414;
  --dark: #1e1e1e;
  --gray: #6b6b6b;
  --gray-light: #f4f4f5;
  --gray-border: #e4e4e7;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .15);
  --radius: 12px;
  --maxw: 1200px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; }

.section { padding: 80px 0; }
.section--gray { background: var(--gray-light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--gray); margin-top: 14px; font-size: 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 8px 20px rgba(238,118,35,.4); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: #fff; }
.btn--white { background: #fff; color: var(--black); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: #fff; color: var(--black); }

/* =========================================================
   HEADER
   ========================================================= */
.topbar {
  background: var(--black);
  color: #d4d4d8;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #d4d4d8; }
.topbar a:hover { color: var(--orange); }
.topbar svg { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.logo img { height: 54px; width: auto; }

/* ---------- Navigation ---------- */
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav .current > a { color: var(--orange); }

.has-sub { position: relative; }
.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  gap: 4px;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li { width: auto; }
.submenu a { padding: 10px 16px; border-radius: 6px; }
.submenu a:hover { background: var(--gray-light); color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Burger ---------- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 26px; height: 3px; background: var(--black); border-radius: 3px;
  transition: .3s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  /* Image de fond : assets/img/hero-accueil.jpg (voile léger pour lisibilité) */
  background:
    linear-gradient(rgba(20,20,20,.45), rgba(20,20,20,.62)),
    url("../img/hero-accueil.jpg") center center / cover no-repeat;
  background-color: var(--black);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(238,118,35,.28), transparent 55%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238,118,35,.15);
  border: 1px solid rgba(238,118,35,.5);
  color: var(--orange);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 19px; color: #d4d4d8; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn svg { width: 18px; height: 18px; fill: currentColor; }

.hero-features { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 24px; }
.hero-features li {
  list-style: none;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
}
.hero-features svg { width: 22px; height: 22px; fill: var(--orange); }

/* Carte "urgence" à droite du hero */
.hero-card {
  background: #fff;
  color: var(--black);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 22px; margin-bottom: 6px; }
.hero-card .price { color: var(--gray); margin-bottom: 22px; }
.hero-card ul { list-style: none; margin-bottom: 26px; }
.hero-card li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-border); }
.hero-card li:last-child { border-bottom: none; }
.hero-card li svg { width: 22px; height: 22px; fill: var(--orange); flex-shrink: 0; }
.hero-card .btn { width: 100%; justify-content: center; }
.hero-card .phone-big {
  display: block; text-align: center; margin-top: 14px;
  font-size: 26px; font-weight: 800; color: var(--black);
}
.hero-card .phone-big small { display:block; font-size:13px; color:var(--gray); font-weight:600; }

/* =========================================================
   PAGE HERO (bannière des pages intérieures)
   ========================================================= */
.page-hero {
  position: relative;
  background: #1a1a1a center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20,20,20,.62), rgba(20,20,20,.78));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow {
  color: var(--orange); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 14px; display: inline-block; margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.page-hero p { color: #d4d4d8; font-size: 18px; max-width: 680px; margin: 0 auto; }
.breadcrumb {
  margin-top: 20px; font-size: 14px; color: #a1a1aa;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* =========================================================
   STEPS (processus)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { text-align: center; padding: 0 10px; position: relative; }
.step .n {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(238,118,35,.35);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 15px; }

/* =========================================================
   ZONES (liste des secteurs couverts)
   ========================================================= */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.zone-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.zone-item:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); }
.zone-item svg { width: 18px; height: 18px; fill: var(--orange); flex-shrink: 0; }
.zone-item small { display: block; color: var(--gray); font-weight: 500; font-size: 13px; }

/* Carte intégrée */
.map-embed {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
}
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; }

/* =========================================================
   CONTACT & FORMULAIRE
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }

.form-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field label .req { color: var(--orange); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(238,118,35,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 14px; text-align: center; }

/* Colonne infos de contact */
.info-block {
  background: var(--black);
  color: #d4d4d8;
  border-radius: var(--radius);
  padding: 34px;
}
.info-block h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.info-block > p { margin-bottom: 24px; font-size: 15px; }
.info-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #2a2a2a; }
.info-line:last-of-type { border-bottom: none; }
.info-line .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(238,118,35,.15); border-radius: 10px;
  display: grid; place-items: center;
}
.info-line .ic svg { width: 22px; height: 22px; fill: var(--orange); }
.info-line .lbl { font-size: 13px; color: #a1a1aa; }
.info-line .val { font-size: 16px; font-weight: 700; color: #fff; }
.info-line .val a:hover { color: var(--orange); }
.info-block .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust { background: var(--orange); color: #fff; }
.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 24px;
  text-align: center;
}
.trust .num { font-size: 34px; font-weight: 800; }
.trust .lbl { font-size: 15px; opacity: .95; }

/* =========================================================
   SERVICES / FEATURES CARDS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: rgba(238,118,35,.12);
  border-radius: 12px;
  margin-bottom: 20px;
}
.card .icon svg { width: 30px; height: 30px; fill: var(--orange); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 15px; }
.card .more { color: var(--orange); font-weight: 700; margin-top: 16px; display: inline-block; }

/* =========================================================
   BLOC TEXTE + IMAGE
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .eyebrow {
  color: var(--orange); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 14px; display:inline-block; margin-bottom: 12px;
}
.split h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.split p { color: var(--gray); margin-bottom: 16px; font-size: 16px; }
.check-list { list-style: none; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-weight: 600; }
.check-list svg { width: 24px; height: 24px; fill: var(--orange); flex-shrink: 0; margin-top: 1px; }

.split-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  /* Image de fond : assets/img/accueil-serrurier.jpg (voile sombre pour lisibilité) */
  background:
    linear-gradient(135deg, rgba(20,20,20,.72), rgba(20,20,20,.86)),
    url("../img/accueil-serrurier.jpg") center center / cover no-repeat;
  background-color: #1e1e1e;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  padding: 40px;
}
.split-visual .visual-inner { text-align: center; color: #fff; }
.split-visual svg.big { width: 110px; height: 110px; fill: var(--orange); margin: 0 auto 20px; }
.split-visual h3 { font-size: 24px; margin-bottom: 8px; }
.split-visual p { color: #a1a1aa; }
.split-visual .tag {
  position: absolute; top: 24px; right: 24px;
  background: var(--orange); color: #fff;
  padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 14px;
}

/* =========================================================
   AVIS CLIENTS
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.stars { color: var(--orange); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review p { font-size: 15px; margin-bottom: 20px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  overflow: hidden; flex-shrink: 0;
}
.review .avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.review .who strong { display: block; font-size: 15px; }
.review .who span { color: var(--gray); font-size: 13px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--black);
}
.faq-q .sign {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(238,118,35,.12);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700;
  transition: transform .3s, background .3s, color .3s;
}
.faq-item.open .faq-q .sign { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--gray); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background:
    linear-gradient(rgba(20,20,20,.92), rgba(20,20,20,.92)),
    radial-gradient(circle at 20% 50%, rgba(238,118,35,.4), transparent 50%);
  background-color: var(--black);
  color: #fff;
  text-align: center;
}
.cta-band .container { padding: 72px 24px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { font-size: 19px; color: #d4d4d8; max-width: 640px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-actions .btn svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: #a1a1aa; padding-top: 64px; }
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer p { font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--orange); }
.footer .foot-logo { background:#fff; padding:14px; border-radius:10px; display:inline-block; margin-bottom:20px; }
.footer .foot-logo img { height: 46px; }
.footer .contact-line { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.footer .contact-line svg { width: 20px; height: 20px; fill: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 22px 0;
  text-align: center;
  font-size: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split-visual { min-height: 320px; }
  .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 82%; max-width: 340px; height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    padding: 90px 24px 24px;
    transition: right .3s ease;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 14px 12px; border-bottom: 1px solid var(--gray-border); border-radius: 0; }
  .has-sub > a::after { float: right; }
  .submenu {
    position: static;
    flex-direction: column; gap: 0; white-space: normal;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 16px;
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .has-sub.open .submenu { max-height: 300px; }
  .header-cta .btn span.txt { display: none; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    opacity: 0; visibility: hidden; transition: .3s; z-index: 99;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .cards, .reviews, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer .grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: flex-start; }
}
