/* =========================================================
   SECUFER TOULON — secufer.css
   ========================================================= */

/* --- 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 & base --- */
*, *::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;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
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; }
.topbar a:hover { text-decoration: underline; }

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-navy);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.navbar-logo {
  color: var(--c-white);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo span { color: var(--c-orange); }
.navbar-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.navbar-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active {
  background: var(--c-orange);
  color: var(--c-white);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}
.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: var(--c-navy);
  padding: 16px 24px 24px;
  border-top: 2px solid var(--c-orange);
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--c-orange); }
.mobile-menu .btn-primary { margin-top: 16px; text-align: center; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3a6e 60%, #0d2d5e 100%);
  color: var(--c-white);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--c-orange); font-style: normal; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 32px;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}
.trust-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item .check { color: var(--c-orange); font-size: 1rem; }
.hero-buttons {
  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: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  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 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--c-white);
  transform: translateY(-2px);
}

/* --- Stats bar --- */
.stats-bar {
  background: var(--c-navy);
  color: var(--c-white);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1 1 180px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-orange);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
  display: block;
}

/* --- Sections --- */
.section { padding: 72px 24px; }
.section-alt { background: var(--c-white); }
.container { 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.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-title em { color: var(--c-orange); font-style: normal; }
.section-intro {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 720px;
  margin-bottom: 40px;
}

/* --- Cards --- */
.card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 18px rgba(10,31,68,0.08);
  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: 2rem;
  margin-bottom: 14px;
}
.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.card-text { font-size: 0.93rem; color: var(--c-muted); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* --- Check list --- */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
}
.check-list li::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Info boxes --- */
.info-box-navy {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 14px;
  padding: 32px;
}
.info-box-navy h3 { color: var(--c-orange); margin-bottom: 12px; font-size: 1.15rem; }
.info-box-orange {
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: 14px;
  padding: 32px;
}
.info-box-orange h3 { color: var(--c-white); margin-bottom: 12px; font-size: 1.15rem; font-weight: 800; }

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  text-align: center;
  padding: 24px 16px;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-title {
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
  font-size: 1rem;
}
.step-text { font-size: 0.88rem; color: var(--c-muted); }

/* --- Carousel --- */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 8px 0 24px;
}
.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: 22px;
  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 24px;
  box-shadow: 0 2px 16px rgba(10,31,68,0.09);
  width: 300px;
  flex-shrink: 0;
}
.review-stars { color: #f5a623; font-size: 1rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text {
  font-size: 0.87rem;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}
.review-author { font-weight: 700; font-size: 0.88rem; color: var(--c-navy); }
.review-company { font-size: 0.8rem; color: var(--c-orange); font-weight: 600; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--c-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(10,31,68,0.07);
  overflow: hidden;
  border: 1px solid rgba(10,31,68,0.06);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--c-navy);
  text-align: left;
  transition: background 0.2s;
  gap: 12px;
}
.faq-question:hover { background: var(--c-bg); }
.faq-icon {
  font-size: 1.3rem;
  color: var(--c-orange);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.93rem;
  color: var(--c-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* --- Float CTA --- */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(232,93,4,0.45);
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-cta:hover {
  background: var(--c-orange-light);
  transform: translateY(-3px);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--c-orange);
  padding: 72px 24px;
  text-align: center;
  color: var(--c-white);
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.9);
  max-width: 580px;
  margin: 0 auto 32px;
}
.btn-white {
  display: inline-block;
  background: var(--c-white);
  color: var(--c-orange);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-white-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --- Footer --- */
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand { font-size: 1.3rem; font-weight: 900; color: var(--c-white); margin-bottom: 12px; }
.footer-brand span { color: var(--c-orange); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 18px; }
.footer-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.footer h4 {
  color: var(--c-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--c-orange); }
.footer-tel {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--c-orange);
  display: block;
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- Misc utilities --- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.two-cols-6040 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}
p + p { margin-top: 14px; }
h2 + p, h3 + p { margin-top: 10px; }
.text-orange { color: var(--c-orange); }
.text-navy { color: var(--c-navy); }
.text-white { color: var(--c-white); }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: rgba(10,31,68,0.08);
  color: var(--c-navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}
.tag-orange {
  background: rgba(232,93,4,0.1);
  color: var(--c-orange);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.zone-item {
  background: var(--c-white);
  border-left: 3px solid var(--c-orange);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-navy);
}

/* --- Mentions légales --- */
.legal-box {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 22px;
  margin-top: 24px;
}
.legal-box h4 { color: var(--c-white); margin-bottom: 10px; }
.legal-box p { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* --- Contact columns --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-phone {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.contact-phone a { color: var(--c-orange); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .two-cols, .two-cols-6040 { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .navbar-links { display: none; }
  .burger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { flex: 1 1 140px; }
  .hero { padding: 60px 20px 56px; }
  .section { padding: 52px 20px; }
  .float-cta { bottom: 16px; right: 16px; font-size: 0.85rem; padding: 12px 20px; }
  .carousel-wrapper::before, .carousel-wrapper::after { width: 40px; }
}
