/* ============================================================
   SECUFER MONTPELLIER - CSS COMPLET
   ============================================================ */

/* VARIABLES */
:root {
  --c-navy: #0a1f44;
  --c-orange: #e85d04;
  --c-orange-light: #ff7c2a;
  --c-bg: #f8f9fa;
  --c-text: #1a1a2e;
  --c-muted: #6c757d;
  --c-white: #ffffff;
}

/* RESET + BOX-SIZING */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background-color: var(--c-orange);
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar a,
.topbar span {
  color: var(--c-white);
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.navbar-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.03em;
}

.navbar-logo span {
  color: var(--c-orange);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--c-white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  background-color: var(--c-navy);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--c-orange);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3a6e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  color: var(--c-white);
}

.hero-badge {
  display: inline-block;
  background-color: var(--c-orange);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 2rem;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.trust-item::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 800;
  font-size: 1.1rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background-color: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #c94f00;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--c-white);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background-color: var(--c-white);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stat-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid #eee;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-orange);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 500;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background-color: rgba(232,93,4,0.12);
  color: var(--c-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.section p {
  color: var(--c-text);
  margin-bottom: 1rem;
  font-size: 1.025rem;
}

.section-navy {
  background-color: var(--c-navy);
  color: var(--c-white);
}

.section-navy h2 {
  color: var(--c-white);
}

.section-navy p {
  color: rgba(255,255,255,0.82);
}

.section-orange {
  background-color: var(--c-orange);
  color: var(--c-white);
}

.section-orange h2 {
  color: var(--c-white);
}

.section-light {
  background-color: var(--c-bg);
}

.section-white {
  background-color: var(--c-white);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--c-white);
  box-shadow: 0 2px 16px rgba(10,31,68,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10,31,68,0.14);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* ============================================================
   CHECK LIST
   ============================================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 1rem;
  color: var(--c-text);
}

.check-list li::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box-navy {
  background-color: var(--c-navy);
  color: var(--c-white);
  border-radius: 12px;
  padding: 2rem;
}

.info-box-navy h3 {
  color: var(--c-orange);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.info-box-navy p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
}

.info-box-orange {
  background-color: var(--c-orange);
  color: var(--c-white);
  border-radius: 12px;
  padding: 2rem;
}

.info-box-orange h3 {
  color: var(--c-white);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.info-box-orange p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step-counter;
}

.step-item {
  background: var(--c-white);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(10,31,68,0.07);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: 0;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-section {
  overflow: hidden;
  padding: 4rem 0;
  background-color: var(--c-bg);
}

.carousel-header {
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: carousel-scroll 40s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 16px rgba(10,31,68,0.08);
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.review-text {
  font-size: 0.95rem;
  color: var(--c-text);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-navy);
}

.review-location {
  font-size: 0.82rem;
  color: var(--c-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 2.5rem auto 0;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--c-orange);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--c-orange);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.97rem;
  color: var(--c-text);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   FLOAT CTA
   ============================================================ */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 60px;
  height: 60px;
  background-color: var(--c-orange);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(232,93,4,0.45);
  transition: transform 0.2s, background-color 0.2s;
  text-decoration: none;
}

.float-cta:hover {
  background-color: #c94f00;
  transform: scale(1.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--c-navy);
  color: var(--c-white);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-orange);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.footer a:hover {
  color: var(--c-orange);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--c-orange);
}

.footer-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-orange);
  margin: 1.25rem 0;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-phone-big:hover {
  color: #c94f00;
}

.mentions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ============================================================
   HERO COMPACT
   ============================================================ */
.hero-compact {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3a6e 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  color: var(--c-white);
}

.hero-compact h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-compact p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ============================================================
   TWO COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col-60-40 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background-color: var(--c-orange);
  padding: 5rem 1.5rem;
  text-align: center;
  color: var(--c-white);
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-white {
  display: inline-block;
  background-color: var(--c-white);
  color: var(--c-orange);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  transition: background-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-block;
  background-color: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 2px solid var(--c-white);
  transition: background-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ============================================================
   ZONE INTERVENTION
   ============================================================ */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.zone-item {
  background: var(--c-white);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(10,31,68,0.07);
  border-top: 3px solid var(--c-orange);
}

.zone-item strong {
  display: block;
  color: var(--c-navy);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.zone-item span {
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .two-col,
  .two-col-60-40,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    flex: 1 1 150px;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentions-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem 3rem;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }
}
