
/* ════════════════════════════════════════════════════════════════
   SERRURERIE GRENOBLE — CSS v1
   Theme : bleu #5ab7f3 / bleu fonce #1a6fa8 / marine #0e2a45
   ════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --primary:   #5ab7f3;
  --primary-d: #1a6fa8;
  --dark:      #0e2a45;
  --dark2:     #132d45;
  --text:      #444;
  --light:     #f5f8fc;
  --border:    #dce8f5;
  --shadow:    0 4px 20px rgba(90,183,243,0.15);
  --gold:      #ffc426;
}

/* ── Reset & base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Container ──────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ── Typographie sections ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(90,183,243,0.12);
  color: var(--primary-d);
  font-size: 11px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900; color: #222; line-height: 1.2;
  margin-bottom: 0;
}
.section-title span { color: var(--primary); }
.divider {
  width: 48px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 14px 0 28px;
}
.divider.center { margin: 14px auto 28px; }

/* ── Hero slider ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-slider {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,42,69,0.88) 0%, rgba(14,42,69,0.6) 60%, rgba(14,42,69,0.3) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  max-width: 1200px; margin: 0 auto;
  width: 100%;
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text { flex: 1; max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,183,243,0.18);
  border: 1px solid rgba(90,183,243,0.35);
  color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 30px;
  margin-bottom: 20px; letter-spacing: .3px;
}
.hero-text h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; color: #fff;
  line-height: 1.12; letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-text h1 span { color: var(--primary); }
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.8);
  line-height: 1.75; margin-bottom: 30px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-hero-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 900; padding: 18px 36px;
  border-radius: 10px; letter-spacing: .3px;
  box-shadow: 0 6px 28px rgba(90,183,243,0.5);
  transition: transform .2s, box-shadow .2s;
}
.btn-hero-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(90,183,243,0.65);
}
.hero-reassure {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.hero-reassure-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-reassure-item .fa { color: var(--primary); font-size: 14px; }

/* ── Hero card ──────────────────────────────────────────────────── */
.hero-card {
  background: rgba(14,42,69,0.92);
  border: 1px solid rgba(90,183,243,0.25);
  border-radius: 16px;
  padding: 30px 28px;
  min-width: 280px; max-width: 320px;
  backdrop-filter: blur(10px);
}
.hero-card-title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.hero-card-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.hero-card-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 900; padding: 15px 20px;
  border-radius: 10px; margin-bottom: 10px;
  box-shadow: 0 4px 18px rgba(90,183,243,0.45);
  transition: transform .2s;
}
.hero-card-phone:hover { transform: translateY(-2px); }
.hero-card-info { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; margin-bottom: 4px; }
.hero-card-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 14px 0; }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 20px; font-weight: 900; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── Hero slide dots ────────────────────────────────────────────── */
.hero-slide-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.hero-slide-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.hero-slide-dot.active { background: var(--primary); transform: scale(1.3); }

/* ── Page hero (pages internes) ─────────────────────────────────── */
.page-hero {
  position: relative; min-height: 420px;
  display: flex; align-items: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,42,69,0.9) 0%, rgba(14,42,69,0.55) 100%);
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 70px 24px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; width: 100%;
}
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,183,243,0.2);
  border: 1px solid rgba(90,183,243,0.4);
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 16px; letter-spacing: .5px;
}
.page-hero-inner h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 14px;
}
.page-hero-inner h1 span { color: var(--primary); }
.page-hero-desc {
  font-size: 15px; color: rgba(255,255,255,0.78);
  line-height: 1.75; margin-bottom: 24px; max-width: 500px;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  font-size: 18px; font-weight: 900;
  padding: 16px 30px; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(90,183,243,0.4);
  transition: transform .2s;
}
.btn-hero:hover { transform: translateY(-2px); }
.page-hero-reassure {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px;
}
.page-hero-reassure-item {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; gap: 6px;
}
.page-hero-reassure-item .fa { color: var(--primary); }

/* ── Hero CTA card (pages internes) ─────────────────────────────── */
.hero-cta-card {
  background: rgba(14,42,69,0.9);
  border: 1px solid rgba(90,183,243,0.25);
  border-radius: 14px; padding: 28px 26px;
  min-width: 260px; max-width: 300px;
  backdrop-filter: blur(8px);
}
.hero-cta-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.hero-cta-card p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.hero-cta-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: #fff;
  font-size: 20px; font-weight: 900;
  padding: 14px 20px; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(90,183,243,0.4);
  transition: transform .2s; margin-bottom: 8px;
}
.hero-cta-phone:hover { transform: translateY(-2px); }
.hero-cta-info { font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; }

/* ── About section ──────────────────────────────────────────────── */
.about-section { padding: 90px 0; background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(90,183,243,0.2);
}
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: var(--primary); color: #fff;
  padding: 14px 18px; border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(90,183,243,0.4);
}
.about-img-badge-num { font-size: 28px; font-weight: 900; line-height: 1; }
.about-img-badge-label { font-size: 11px; font-weight: 600; opacity: .85; }
.about-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.about-list-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: #333;
}
.about-list-item .fa { color: var(--primary); font-size: 14px; }
.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  font-size: 17px; font-weight: 800;
  padding: 15px 28px; border-radius: 10px;
  margin-top: 28px;
  box-shadow: 0 4px 18px rgba(90,183,243,0.4);
  transition: transform .2s;
}
.btn-call:hover { transform: translateY(-2px); }

/* ── Services ───────────────────────────────────────────────────── */
.services-section { padding: 90px 0; background: var(--light); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 50px;
}
.service-card {
  background: #fff; border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(90,183,243,0.1);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(90,183,243,0.2);
}
.service-card-img { width: 100%; height: 180px; object-fit: cover; }
.service-card-body { padding: 22px 20px; }
.service-card-body h3 { font-size: 16px; font-weight: 800; color: #222; margin-bottom: 8px; }
.service-card-body p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 16px; }
.service-card-link {
  font-size: 13px; font-weight: 700;
  color: var(--primary); display: inline-flex; align-items: center; gap: 6px;
}
.service-card-link:hover { color: var(--primary-d); }

/* ── Stats ──────────────────────────────────────────────────────── */
.stats-section { padding: 70px 0; background: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-card {
  text-align: center; padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.stat-card:last-child { border-right: none; }
.stat-icon { font-size: 28px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.stat-num { font-size: 38px; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; font-weight: 600; }

/* ── Reviews ────────────────────────────────────────────────────── */
.reviews-section { padding: 90px 0; background: #fff; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 50px;
}
.review-card {
  background: var(--light); border-radius: 12px;
  padding: 24px; border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.review-card:hover { box-shadow: var(--shadow); }
.review-stars { font-size: 18px; color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 18px; }
.review-footer { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary);
  color: #fff; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; color: #222; }
.review-source { font-size: 12px; color: #999; }
.google-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--primary);
  color: var(--primary-d); font-size: 15px; font-weight: 700;
  padding: 12px 24px; border-radius: 40px;
  margin-top: 36px; box-shadow: 0 2px 12px rgba(90,183,243,0.15);
}
.google-badge .fa { color: var(--gold); }

/* ── Zones ──────────────────────────────────────────────────────── */
.zones-section { padding: 90px 0; background: var(--light); }
.zones-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 48px;
}
.zone-card {
  position: relative; border-radius: 14px;
  overflow: hidden; height: 260px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.zone-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.zone-card:hover img { transform: scale(1.05); }
.zone-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,42,69,0.9) 0%, rgba(14,42,69,0.3) 60%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
}
.zone-name { font-size: 22px; font-weight: 900; color: #fff; }
.zone-sub { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section { padding: 90px 0; background: #fff; }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 44px;
}
.faq-item {
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  padding: 18px 20px; font-size: 15px; font-weight: 700;
  color: #222; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  background: var(--light); transition: background .2s;
  user-select: none;
}
.faq-q .fa { color: var(--primary); font-size: 16px; flex-shrink: 0; }
.faq-item.open .faq-q { background: rgba(90,183,243,0.1); color: var(--primary-d); }
.faq-a {
  padding: 0 20px; max-height: 0; overflow: hidden;
  font-size: 14px; color: #555; line-height: 1.7;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 16px 20px; }

/* ── Contact section ────────────────────────────────────────────── */
.contact-section { padding: 90px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px;
}
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(90,183,243,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 16px; flex-shrink: 0;
}
.contact-info-text { display: flex; flex-direction: column; gap: 2px; }
.contact-info-text strong { font-size: 14px; font-weight: 700; color: #222; }
.contact-info-text span, .contact-info-text a {
  font-size: 14px; color: #666;
}
.contact-info-text a:hover { color: var(--primary); }

/* ── Page content (pages internes) ──────────────────────────────── */
.page-content { padding: 80px 0; background: #fff; }
.page-content-alt { padding: 80px 0; background: var(--light); }
.content-block {
  display: flex; align-items: center; gap: 60px;
}
.content-block img {
  width: 48%; border-radius: 14px;
  box-shadow: 0 6px 30px rgba(90,183,243,0.15);
  flex-shrink: 0;
}
.content-block-text { flex: 1; }
.content-block-text p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.check-list { margin: 18px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: #333;
}
.check-list li .fa { color: var(--primary); font-size: 14px; }
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 50px;
}
.info-card {
  background: #fff; border-radius: 12px;
  padding: 28px 24px; text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(90,183,243,0.08);
  transition: box-shadow .2s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(90,183,243,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 24px;
  margin: 0 auto 16px;
}
.info-card h3 { font-size: 16px; font-weight: 800; color: #222; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* ── Reveal animations ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── Responsive mobile ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .content-block { flex-direction: column; gap: 30px; }
  .content-block img { width: 100%; }
}
@media (max-width: 767px) {
  .hero { min-height: 100svh; }
  .hero-inner { flex-direction: column; padding: 24px 16px 80px; gap: 24px; align-items: flex-start; }
  .hero-text { text-align: left; }
  .hero-card { width: 100%; max-width: 100%; min-width: unset; }
  .btn-hero-call { width: 100%; justify-content: center; font-size: 19px; }
  .hero-reassure { gap: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .info-grid { grid-template-columns: 1fr; }
  .page-hero-inner { flex-direction: column; padding: 36px 16px; gap: 24px; }
  .hero-cta-card { width: 100%; max-width: 100%; min-width: unset; }
  .about-section { padding: 52px 0; }
  .services-section { padding: 52px 0; }
  .reviews-section { padding: 52px 0; }
  .zones-section { padding: 52px 0; }
  .faq-section { padding: 52px 0; }
  .contact-section { padding: 52px 0; }
  .faq-q { font-size: 14px; padding: 14px 16px; }
}

/* ── Footer grid mobile ─────────────────────────────────────────── */
@media (max-width: 991px) {
  footer > div:first-child { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  footer > div:first-child { grid-template-columns: 1fr !important; }
}
