/* ========================================
   SECUFER EN LIGNE - CSS PRINCIPAL
   ======================================== */

:root {
  --c-orange: #f97316;
  --c-blue: #1d6feb;
  --c-navy: #f0f6ff;
  --c-dark: #0c2461;
  --c-title: #0c2461;
  --c-text: #374151;
  --c-muted: #6b7280;
  --c-border: #e5e7eb;
  --shadow: 0 4px 24px rgba(12, 36, 97, 0.10);
  --radius: 16px;
}

/* 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: #fff;
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--c-title); }

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOPBAR */
.topbar {
  background: var(--c-orange);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

/* NAV */
nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(12,36,97,0.12); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--c-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-dark);
  display: block;
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: 0.72rem;
  color: var(--c-orange);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--c-text);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-orange); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  font-weight: 700;
  color: var(--c-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--c-orange); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--c-border);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(12,36,97,0.10);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu a:hover { color: var(--c-orange); }
.mobile-menu .btn { width: 100%; text-align: center; margin-top: 8px; }
.mobile-phone {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-orange);
  padding: 8px 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
}
.btn-primary:hover {
  background: #ea6c0a;
  border-color: #ea6c0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--c-orange);
  border-color: var(--c-orange);
}
.btn-secondary:hover {
  background: var(--c-orange);
  color: #fff;
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--c-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--c-navy);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 10px;
}
.btn-phone {
  background: var(--c-dark);
  color: #fff;
  border-color: var(--c-dark);
}
.btn-phone:hover {
  background: #0a1d52;
  transform: translateY(-1px);
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--c-dark) 0%, #1d3a7a 60%, #1d6feb 100%);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(249,115,22,0.08);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.page-hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-badge .check { color: #86efac; }

/* SECTIONS */
section { padding: 80px 0; }
section.light { background: var(--c-navy); }
section.white { background: #fff; }

/* LABELS & TITLES */
.label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--c-title);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  color: var(--c-muted);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* CARDS */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(12,36,97,0.14);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-title);
}
.card p { color: var(--c-muted); font-size: 0.95rem; }

/* CHECK LIST */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-text);
  font-size: 0.97rem;
}
.check-list li::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* INFO BOXES */
.info-box {
  border-radius: 12px;
  padding: 24px;
}
.info-box-orange {
  background: #fff8f3;
  border-left: 4px solid var(--c-orange);
}
.info-box-navy {
  background: var(--c-navy);
  border-left: 4px solid var(--c-dark);
}
.info-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--c-title);
}
.info-box .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.93rem;
}
.info-box .info-row:last-child { border-bottom: none; }
.info-box .info-row .label-key { color: var(--c-muted); }
.info-box .info-row .label-val { font-weight: 700; color: var(--c-title); }

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--c-title);
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--c-orange); }
.faq-icon {
  color: var(--c-orange);
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  color: var(--c-muted);
  padding: 0 0 20px;
  font-size: 0.97rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* STATS BAND */
.stats-band {
  background: var(--c-navy);
  padding: 60px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--c-orange);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--c-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* STEPS */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.step-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: var(--c-border);
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--c-orange);
}
.step-item h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-title);
}
.step-item p { color: var(--c-muted); font-size: 0.88rem; }

/* OPCO BAND */
.opco-band {
  background: #fff8f3;
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid rgba(249,115,22,0.2);
}

/* CAROUSEL */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.carousel-track {
  display: flex;
  gap: 24px;
  animation: scroll-carousel 40s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes scroll-carousel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
}
.review-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { color: var(--c-text); font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-author { font-weight: 700; font-size: 0.9rem; color: var(--c-title); }
.review-role { font-size: 0.82rem; color: var(--c-muted); margin-top: 2px; }

/* CTA BAND */
.cta-band {
  background: var(--c-dark);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.05rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-band .cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* FLOAT CALL */
.float-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--c-orange);
  color: #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(249,115,22,0.45);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.55);
  color: #fff;
}
.float-call .icon { font-size: 1.2rem; }

/* BACK TO TOP */
.back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--c-orange);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  border: none;
  box-shadow: 0 2px 12px rgba(249,115,22,0.35);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover { transform: translateY(-2px); }

/* FOOTER */
footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--c-orange); }
.footer-phone-big {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--c-orange);
  display: block;
  margin-bottom: 8px;
}
.footer-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 40px; height: 40px;
  background: var(--c-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 0.95rem;
}
.footer-logo-name { font-weight: 700; color: #fff; font-size: 1rem; }
.footer-logo-sub { font-size: 0.72rem; color: var(--c-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--c-orange); }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* COMPARISON TABLE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.compare-table th {
  background: var(--c-dark);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
}
.compare-table th:first-child { background: var(--c-dark); }
.compare-table th.orange-head { background: var(--c-orange); }
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9fafb; }
.compare-table .check-ok { color: #16a34a; font-weight: 700; }
.compare-table .check-no { color: #dc2626; }

/* MODULES LIST */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.module-item {
  background: var(--c-navy);
  border-radius: 10px;
  padding: 18px 20px;
  border-left: 3px solid var(--c-orange);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--c-title);
  display: flex;
  align-items: center;
  gap: 10px;
}
.module-item .mod-num {
  background: var(--c-orange);
  color: #fff;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* PHONE BAND */
.phone-band {
  background: var(--c-orange);
  padding: 48px 0;
  text-align: center;
}
.phone-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin-bottom: 12px; }
.phone-band p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.phone-band a.big-phone {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ENGAGEMENTS BOX */
.engagements-box {
  background: var(--c-navy);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.engagements-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 16px;
}
.engagement-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.93rem;
}
.engagement-row:last-child { border-bottom: none; }
.engagement-row .e-icon { font-size: 1.2rem; flex-shrink: 0; }
.engagement-row .e-text strong { display: block; font-weight: 700; color: var(--c-title); }
.engagement-row .e-text span { color: var(--c-muted); font-size: 0.85rem; }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2-col { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .step-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .opco-band { padding: 28px 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .cta-band .cta-buttons { flex-direction: column; align-items: center; }
  .float-call span.float-text { display: none; }
  .float-call { padding: 14px; border-radius: 50%; }
  .page-hero { padding: 56px 0 48px; }
  .compare-table { font-size: 0.82rem; }
  .compare-table td, .compare-table th { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .breadcrumb { font-size: 0.78rem; }
  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.55rem; }
}
