/* ========================================
   Hello Serrurier Paris 13 — Style
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0b1a3e;
  --blue-800: #102a5a;
  --blue-700: #1a3a6e;
  --blue-600: #1e4d8c;
  --blue-500: #2563a8;
  --blue-400: #3b82c4;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-700); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.25; color: var(--blue-900); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .6em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .5em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: .4em; }
p { margin-bottom: 1em; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--gray-900);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-900);
}

.btn-blue {
  background: var(--blue-600);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,77,140,.3);
}

.btn-sm { padding: 10px 24px; font-size: .95rem; }

/* --- Phone Link --- */
.phone-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}
.phone-link:hover { color: var(--gold-dark); }

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-900);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.logo img, .logo svg { width: 160px; flex-shrink: 0; }
.logo:hover { color: var(--white); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav a:hover, .nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-phone .phone-link { font-size: 1.15rem; }
.header-phone .phone-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
  50% { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  color: var(--white);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 350px; height: 350px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 1.5em; }
.hero .badge {
  display: inline-block;
  background: rgba(245,158,11,.2);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1.2em;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Sections --- */
.section { padding: 60px 0; }
.section-alt { background: var(--gray-50); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* --- Cards Grid --- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--blue-500);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.card p { color: var(--gray-600); font-size: .95rem; }

/* --- Reassurance bar --- */
.reassurance {
  background: var(--blue-800);
  color: var(--white);
  padding: 20px 0;
}
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}
.reassurance-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.reassurance-item .icon { font-size: 1.6rem; }
.reassurance-item strong { font-size: .95rem; }

/* --- FAQ --- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-800);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--blue-50); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue-500);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 24px; font-size: 1.1rem; }

/* --- Partners --- */
.partners {
  background: var(--blue-50);
  padding: 40px 0;
}
.partner-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.partner-box h3 { margin-bottom: 12px; }
.partner-box p { color: var(--gray-600); margin-bottom: 20px; }

/* --- Contact Info --- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--gray-600); }

/* --- Content --- */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { margin-top: 2em; }
.content-block h2:first-child { margin-top: 0; }
.content-block ul { padding-left: 0; margin-bottom: 1.5em; }
.content-block li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
}
.content-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

/* Service detail cards */
.service-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--blue-500);
}
.service-detail h2 { margin-top: 0; }
.service-detail p:last-child { margin-bottom: 0; }

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--white); }
.footer ul li { padding: 4px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  font-size: .9rem;
  color: var(--gray-600);
}
.breadcrumb a { color: var(--blue-500); }
.breadcrumb span { margin: 0 8px; color: var(--gray-200); }

/* --- Zone Grid --- */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.zone-grid span {
  background: var(--blue-50);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--blue-700);
  text-align: center;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blue-900);
    padding: 16px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
  }
  .nav.open a { padding: 12px 16px; }
  .header-inner { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 50px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 40px 0; }
  .cards { grid-template-columns: 1fr; }
  .header-phone .phone-link span { display: none; }
}

/* --- Print --- */
@media print {
  .header, .footer, .cta-banner { display: none; }
  body { color: #000; }
}
