/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #B0A890;   /* beige ardoise — accent principal */
  --gold-dk: #CCB898;   /* beige clair — hover / highlight */
  --dark:    #1E2028;   /* ardoise profond */
  --dark2:   #282C38;   /* ardoise secondaire */
  --mid:     #4A4E5A;   /* gris ardoise moyen */
  --light:   #F4F0E8;   /* ivoire chaud */
  --white:   #FFFFFF;
  --text:    #1E2028;
  --muted:   #626070;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  padding-top: 68px; /* compense la navbar fixed */
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--gold-dk); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-full  { width: 100%; text-align: center; }

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.topbar {
  background: var(--dark);
  color: #ccc;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-phone {
  color: var(--gold);
  font-weight: 600;
}
.topbar-phone:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  background: rgba(12, 12, 12, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(196,160,82,0.15);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(12, 12, 12, 0.97);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo { display: flex; align-items: center; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

/* Monogramme CSS K/S */
.logo-monogram { display:none; }
.logo-monogram span { font-style: italic; margin: 0 1px; }

/* Texte KUME SERRURIER */
.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
  font-weight: 300;
}
.logo-text strong {
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
}

/* Footer logo */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-logo-wrap .logo-monogram {
  border-color: rgba(196,160,82,0.4);
  color: rgba(196,160,82,0.7);
}
.footer-logo-wrap .logo-text {
  color: #8A8078;
}
.footer-logo-wrap .logo-text strong { color: var(--white); }

nav { display: flex; gap: 28px; }
nav a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--gold-dk); border-bottom-color: var(--gold); }
nav a.active { color: var(--gold-dk); border-bottom-color: var(--gold); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  background:
    linear-gradient(135deg, #0C0C0C 0%, #181410 55%, #1E1810 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
/* Halo doré subtil en haut à droite */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,160,82,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(196,160,82,0.12);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.accent { color: var(--gold); }

.hero-desc {
  color: #A8A098;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.9rem;
  color: #908880;
  font-weight: 500;
}

/* Carte urgence */
.urgency-card {
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  text-align: center;
}
.urgency-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #c0392b;
  margin-bottom: 6px;
}
.urgency-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.urgency-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.rating {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.stars { color: #f39c12; font-size: 1.1rem; display: block; margin-bottom: 4px; }

/* ═══════════════════════════════════════
   SECTIONS COMMUNES
═══════════════════════════════════════ */
.section { padding: 80px 0; }
.section-dark  { background: linear-gradient(180deg, #111 0%, #0C0C0C 100%); color: var(--white); }
.section-light { background: var(--light); }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-dark .section-title { color: var(--white); }

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 52px;
  font-size: 1rem;
}
.section-dark .section-sub { color: #8A8078; }

/* ═══════════════════════════════════════
   CARDS SERVICES
═══════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  border: 1px solid rgba(176,168,144,0.3);
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--light);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(176,168,144,0.18);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card p  { color: var(--muted); font-size: 0.95rem; }

/* ═══════════════════════════════════════
   INTERVENTIONS PHARES
═══════════════════════════════════════ */
.interventions-phares {
  background: linear-gradient(180deg, #161410 0%, #111 100%);
  padding: 52px 0;
  border-top: 1px solid rgba(196,160,82,0.15);
  border-bottom: 1px solid rgba(196,160,82,0.15);
}
.phares-header {
  text-align: center;
  margin-bottom: 36px;
  color: var(--white);
}
.phares-header h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.phares-header p  { color: #8fa8c8; font-size: 0.95rem; }

.phares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.phare-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.phare-card:hover {
  background: rgba(212,160,23,0.08);
  border-color: var(--gold);
}
.phare-icon  { font-size: 2.2rem; margin-bottom: 12px; }
.phare-titre { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.phare-desc  { font-size: 0.82rem; color: #8fa8c8; margin-bottom: 14px; }
.phare-prix  {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 18px;
}
.phare-card .btn-primary {
  width: 100%;
  font-size: 0.88rem;
  padding: 10px;
}

/* ═══════════════════════════════════════
   TARIFS
═══════════════════════════════════════ */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.tarif-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
  min-width: 0; /* empêche l'overflow */
  overflow: hidden;
}
.tarif-cat {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tarif-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tarif-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.tarif-table tr:last-child { border-bottom: none; }
.tarif-table td {
  padding: 9px 0;
  font-size: 0.85rem;
  color: #C0B8AE;
  vertical-align: middle;
  word-break: break-word;
}
.tarif-table td:first-child { padding-right: 8px; }
.tarif-table td.price {
  text-align: right;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  width: 115px;
  font-size: 0.82rem;
}
.tarif-note {
  text-align: center;
  color: #8fa8c8;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px;
}

/* ═══════════════════════════════════════
   AVANTAGES
═══════════════════════════════════════ */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.avantage {
  text-align: center;
  padding: 28px 20px;
  background: var(--light);
  border: 1px solid rgba(176,168,144,0.3);
  border-radius: 14px;
}
.av-icon { font-size: 2.5rem; margin-bottom: 14px; }
.avantage h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.avantage p  { color: var(--muted); font-size: 0.9rem; }

/* ═══════════════════════════════════════
   AVIS GOOGLE
═══════════════════════════════════════ */
.avis-header { margin-bottom: 36px; }
.google-rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}
.google-rating-bar .stars { font-size: 1.2rem; color: #f39c12; }
.google-rating-bar strong { font-size: 1.1rem; }
.google-rating-bar span   { font-size: 0.88rem; color: var(--muted); }
.google-logo { height: 18px; opacity: 0.7; }

/* ═══════════════════════════════════════
   TÉMOIGNAGES
═══════════════════════════════════════ */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.temoignage {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  border-left: 3px solid var(--gold);
  border-top: 1px solid #EDE8E0;
}
.temoignage .stars { font-size: 1rem; color: #f39c12; margin-bottom: 12px; display: block; }
.temoignage p { font-style: italic; color: var(--text); margin-bottom: 14px; font-size: 0.95rem; }
.client-name { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--light);
  border: 1px solid rgba(176,168,144,0.3);
  border-radius: 12px;
  padding: 18px 20px;
}
.ci-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-item a { color: var(--gold); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.contact-item small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

/* Formulaire */
.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--light);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #dde3ec;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.form-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 4px; }
.form-success {
  background: #e6f9ee;
  border: 1.5px solid #34d399;
  color: #065f46;
  border-radius: 12px;
  padding: 20px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.hidden { display: none; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: #080808;
  color: #8A8078;
  padding: 40px 0;
  border-top: 1px solid rgba(196,160,82,0.2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { font-size: 1.2rem; color: var(--white); }
.footer-logo strong { color: var(--gold); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.82rem; line-height: 1.6; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-card        { max-width: 400px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 40px; }
  nav               { display: none; }
  .navbar-inner     { justify-content: space-between; }
}

@media (max-width: 560px) {
  .form-row         { grid-template-columns: 1fr; }
  .hero-actions     { flex-direction: column; }
  .btn-large        { width: 100%; text-align: center; }
  .topbar-inner     { flex-direction: column; text-align: center; }
}
