/* ============================================================
   SECUFER METZ - Feuille de styles principale
   ============================================================ */

/* --- Variables --- */
:root {
  --c-navy: #0a1f44;
  --c-orange: #e85d04;
  --c-orange-light: #ff7c2a;
  --c-bg: #f8f9fa;
  --c-text: #1a1a2e;
  --c-muted: #6c757d;
  --c-white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,31,68,0.10);
  --transition: 0.3s ease;
}

/* --- Reset & Box-sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Topbar --- */
.topbar {
  background: var(--c-orange);
  color: var(--c-white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar a {
  color: var(--c-white);
  font-weight: 700;
  text-decoration: underline;
}
.topbar a:hover { opacity: 0.85; }

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  box-shadow: 0 2px 12px rgba(10,31,68,0.18);
}
.navbar-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.03em;
}
.navbar-logo span { color: var(--c-orange); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-orange-light);
  border-bottom-color: var(--c-orange-light);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  background: var(--c-navy);
  padding: 16px 24px 24px;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(10,31,68,0.25);
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--c-orange-light); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3a6e 100%);
  color: var(--c-white);
  text-align: center;
  padding: 80px 20px 70px;
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 24px auto 32px;
  max-width: 700px;
}
.trust-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--c-orange);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--c-orange-light);
  border-color: var(--c-orange-light);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--c-white);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}
.btn-outline:hover {
  background: var(--c-white);
  color: var(--c-navy);
  transform: translateY(-2px);
}
.btn-orange-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-orange);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--c-orange);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-orange-outline:hover {
  background: var(--c-orange);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* --- Section générique --- */
.section { padding: 72px 20px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-title span { color: var(--c-orange); }
.section-sub {
  color: var(--c-muted);
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 40px;
}
.text-center { text-align: center; }
.section-bg { background: var(--c-white); }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--c-navy);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-orange);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* --- Cards --- */
.card {
  background: var(--c-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10,31,68,0.14);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
}
.card p {
  font-size: 0.93rem;
  color: var(--c-muted);
  line-height: 1.6;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Check List --- */
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.97rem;
  color: var(--c-text);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-orange);
  font-weight: 700;
  font-size: 1rem;
}

/* --- Info Boxes --- */
.info-box-navy {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.info-box-navy h3 { color: var(--c-orange); margin-bottom: 10px; }
.info-box-orange {
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.info-box-orange h3 { color: var(--c-white); margin-bottom: 10px; font-weight: 800; }

/* --- Etapes --- */
.steps { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.step {
  flex: 1 1 220px;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--c-orange);
}
.step-num {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 800;
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  margin-bottom: 12px;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--c-muted); }

/* --- Carousel --- */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}
.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: carousel-scroll 40s linear infinite;
}
.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Review Cards --- */
.review-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  width: 300px;
  flex-shrink: 0;
}
.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.55;
  margin-bottom: 14px;
  font-style: italic;
}
.review-name {
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.88rem;
}
.review-company {
  font-size: 0.8rem;
  color: var(--c-muted);
}

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--c-white);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--c-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-question:hover { background: #f0f4ff; }
.faq-icon {
  font-size: 1.3rem;
  color: var(--c-orange);
  font-weight: 700;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  font-size: 0.93rem;
  color: var(--c-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* --- CTA Section --- */
.cta-section {
  background: var(--c-orange);
  padding: 72px 20px;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 14px;
}
.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-white {
  display: inline-block;
  background: var(--c-white);
  color: var(--c-orange);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--c-white);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-white:hover {
  background: transparent;
  color: var(--c-white);
  transform: translateY(-2px);
}
.btn-white-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--c-white);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-white-outline:hover {
  background: var(--c-white);
  color: var(--c-orange);
  transform: translateY(-2px);
}

/* --- Float CTA --- */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(232,93,4,0.45);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.float-cta:hover {
  background: var(--c-orange-light);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 20px 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--c-white);
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.footer-col a:hover { color: var(--c-orange-light); }
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--c-orange); }
.footer-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  margin-top: 10px;
  margin-right: 6px;
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--c-orange-light); }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- Prose contenu --- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; font-weight: 800; color: var(--c-navy); margin: 36px 0 12px; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--c-navy); margin: 28px 0 8px; }
.prose p { margin-bottom: 16px; font-size: 0.97rem; color: var(--c-text); }
.prose strong { color: var(--c-navy); }

/* --- 2 colonnes contact --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Zone interventions --- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.zone-item {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--c-orange);
}
.zone-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.zone-item span { font-size: 0.85rem; color: var(--c-muted); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 52px 16px 48px; }
  .section { padding: 48px 16px; }
  .float-cta { bottom: 16px; right: 16px; font-size: 0.84rem; padding: 12px 18px; }
}
