/* =============================================
   SECUFER BORDEAUX - Feuille de style principale
   ============================================= */

:root {
  --c-navy: #0a1f44;
  --c-orange: #e85d04;
  --c-orange-light: #ff7c2a;
  --c-bg: #f8f9fa;
  --c-text: #1a1a2e;
  --c-muted: #6c757d;
  --c-white: #ffffff;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--c-text); background: var(--c-bg); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
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); 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 24px;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.navbar-logo {
  color: var(--c-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.navbar-logo span { color: var(--c-orange); }
.navbar-links { display: flex; gap: 28px; align-items: center; }
.navbar-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 4px 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: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Mobile menu ---- */
.mobile-menu {
  display: none;
  background: var(--c-navy);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:hover { color: var(--c-orange); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3a6e 100%);
  color: var(--c-white);
  text-align: center;
  padding: 80px 24px 72px;
}
.hero h1 {
  font-size: clamp(1.8rem, 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.15rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 24px auto;
  max-width: 700px;
}
.trust-items span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}
.btn-primary:hover { background: var(--c-orange-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: 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 180px;
  text-align: center;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.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 { color: rgba(255,255,255,0.75); font-size: 0.88rem; font-weight: 500; }

/* ---- Section helpers ---- */
.section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  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-sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 680px;
  margin-bottom: 40px;
}
.section-bg { background: var(--c-bg); }
.section-white { background: var(--c-white); }

/* ---- Cards ---- */
.card {
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(10,31,68,0.08);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(10,31,68,0.13); }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 10px; }
.card p { color: var(--c-muted); font-size: 0.95rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Check list ---- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--c-text);
}
.check-list li::before {
  content: "✓";
  color: var(--c-orange);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Info boxes ---- */
.info-box-navy {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 12px;
  padding: 28px 28px;
}
.info-box-navy h3, .info-box-navy h4 { color: var(--c-white); }
.info-box-navy p { color: rgba(255,255,255,0.85); }
.info-box-orange {
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: 12px;
  padding: 28px 28px;
}
.info-box-orange h3, .info-box-orange h4 { color: var(--c-white); }
.info-box-orange p { color: rgba(255,255,255,0.9); }

/* ---- Steps ---- */
.steps { display: flex; flex-wrap: wrap; gap: 20px; counter-reset: step; }
.step-item {
  flex: 1 1 220px;
  background: var(--c-white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(10,31,68,0.07);
  position: relative;
  counter-increment: step;
}
.step-item::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 900;
  font-size: 0.95rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item h4 { font-size: 1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 8px; margin-top: 6px; }
.step-item p { font-size: 0.92rem; color: var(--c-muted); }

/* ---- Carousel ---- */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
}
.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--c-bg), transparent); }
.carousel-wrapper::after { right: 0; background: linear-gradient(to left, var(--c-bg), transparent); }
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: carousel-scroll 38s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Review card ---- */
.review-card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 22px 20px;
  min-width: 280px;
  max-width: 300px;
  box-shadow: 0 4px 16px rgba(10,31,68,0.07);
  flex-shrink: 0;
}
.review-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 8px; letter-spacing: 1px; }
.review-company { font-weight: 700; font-size: 0.92rem; color: var(--c-navy); margin-bottom: 2px; }
.review-city { font-size: 0.8rem; color: var(--c-muted); margin-bottom: 10px; }
.review-text { font-size: 0.9rem; color: var(--c-text); line-height: 1.55; font-style: italic; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--c-white); border-radius: 10px; box-shadow: 0 2px 10px rgba(10,31,68,0.06); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-orange);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 20px;
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 20px 18px; }

/* ---- Float CTA ---- */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(232,93,4,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.float-cta:hover { background: var(--c-orange-light); transform: translateY(-2px); }

/* ---- CTA section ---- */
.cta-section {
  background: var(--c-orange);
  text-align: center;
  padding: 72px 24px;
  color: var(--c-white);
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 14px; }
.cta-section p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 32px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--c-navy); }
.cta-section .btn-primary:hover { background: #0d2a5e; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.8); }

/* ---- Footer ---- */
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--c-white); margin-bottom: 12px; }
.footer-logo span { color: var(--c-orange); }
.footer-desc { font-size: 0.9rem; line-height: 1.65; max-width: 320px; }
.footer-col h4 { color: var(--c-white); font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--c-orange); }
.footer-badge {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-top: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  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; }

/* ---- Two-col layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ---- Rich text ---- */
.rich-text h2 { font-size: 1.5rem; font-weight: 800; color: var(--c-navy); margin: 28px 0 12px; }
.rich-text h3 { font-size: 1.15rem; font-weight: 700; color: var(--c-navy); margin: 22px 0 10px; }
.rich-text p { margin-bottom: 14px; font-size: 0.97rem; line-height: 1.75; }
.rich-text ul { margin: 12px 0 18px 0; }
.rich-text ul li { padding-left: 22px; position: relative; margin-bottom: 6px; font-size: 0.96rem; }
.rich-text ul li::before { content: "•"; color: var(--c-orange); position: absolute; left: 6px; font-weight: 900; }

/* ---- Contact layout ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 1000px; margin: 0 auto; }
.contact-phone { font-size: 1.8rem; font-weight: 900; color: var(--c-orange); margin: 16px 0; display: block; }
.legal-block { background: var(--c-bg); border-radius: 10px; padding: 22px 24px; margin-top: 24px; font-size: 0.88rem; color: var(--c-muted); border: 1px solid rgba(10,31,68,0.08); }
.legal-block h4 { color: var(--c-navy); font-size: 0.92rem; font-weight: 700; margin-bottom: 10px; }

/* ---- Zone tags ---- */
.zone-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zone-tag {
  background: rgba(10,31,68,0.07);
  border: 1px solid rgba(10,31,68,0.12);
  color: var(--c-navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar-links { display: none; }
  .burger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 56px 16px 52px; }
  .section { padding: 52px 16px; }
  .hero h1 { font-size: 1.6rem; }
  .float-cta { bottom: 16px; right: 12px; font-size: 0.85rem; padding: 12px 16px; }
}
