/* =============================================
   SECUFER REIMS - Feuille de styles complète
   ============================================= */

: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; background: var(--c-bg); color: var(--c-text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Topbar ---- */
.topbar {
  background: var(--c-orange);
  color: var(--c-white);
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar a { color: var(--c-white); text-decoration: underline; }
.topbar a:hover { color: #fff8; }

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  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); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--c-orange);
  width: 0;
  transition: width 0.2s;
  position: absolute;
  bottom: -2px;
  left: 0;
}
.nav-links a:hover { color: var(--c-white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--c-orange); }
.nav-links a.active::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- Mobile menu ---- */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--c-navy);
  padding: 1.5rem 2rem;
  gap: 1.2rem;
  border-top: 2px solid var(--c-orange);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---- Hero ---- */
.hero {
  min-height: 88vh;
  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;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(232,93,4,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.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.1em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.2;
  max-width: 860px;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--c-orange); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.trust-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-white);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item .check { color: var(--c-orange); font-size: 1rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.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: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--c-white); color: var(--c-white); transform: translateY(-2px); }
.btn-navy {
  display: inline-block;
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-navy:hover { background: #0d2a5a; transform: translateY(-2px); }

/* ---- Section labels ---- */
.section-label {
  display: inline-block;
  background: rgba(232,93,4,0.12);
  color: var(--c-orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ---- Sections ---- */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--c-white); }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--c-muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ---- Cards ---- */
.card {
  background: var(--c-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); transform: translateY(-3px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.6rem; }
.card p { color: var(--c-muted); font-size: 0.95rem; line-height: 1.6; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* ---- Check list ---- */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.97rem;
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---- Info boxes ---- */
.info-box-navy {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 12px;
  padding: 2rem 2.5rem;
}
.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.85); line-height: 1.7; }
.info-box-orange {
  background: var(--c-orange);
  color: var(--c-white);
  border-radius: 12px;
  padding: 2rem 2.5rem;
}
.info-box-orange h3 { color: var(--c-white); margin-bottom: 0.75rem; font-size: 1.2rem; font-weight: 800; }
.info-box-orange p { color: rgba(255,255,255,0.92); line-height: 1.7; }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--c-white);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--c-orange);
  line-height: 1;
  display: block;
}
.stat-label { color: var(--c-muted); font-size: 0.9rem; margin-top: 0.35rem; font-weight: 500; }

/* ---- Carousel ---- */
.carousel-section { background: var(--c-navy); padding: 4rem 0; overflow: hidden; }
.carousel-section .section-header h2 { color: var(--c-white); }
.carousel-section .section-header .section-label { background: rgba(232,93,4,0.2); }
.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;
  width: 300px;
  flex-shrink: 0;
}
.review-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 0.5rem; }
.review-text { font-size: 0.9rem; color: var(--c-text); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.review-author { font-weight: 700; font-size: 0.88rem; color: var(--c-navy); }
.review-city { font-size: 0.82rem; color: var(--c-muted); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--c-white); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--c-orange); }
.faq-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--c-orange);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--c-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---- CTA section ---- */
.cta-section {
  background: var(--c-orange);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn-white {
  display: inline-block;
  background: var(--c-white);
  color: var(--c-orange);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-outline-white:hover { border-color: var(--c-white); transform: translateY(-2px); }

/* ---- Float CTA ---- */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--c-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,93,4,0.5);
  font-size: 1.5rem;
  color: var(--c-white);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  animation: pulse-cta 2.5s infinite;
}
.float-cta:hover { background: var(--c-orange-light); transform: scale(1.1); }
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 20px rgba(232,93,4,0.5); }
  50% { box-shadow: 0 4px 36px rgba(232,93,4,0.8); }
}

/* ---- Footer ---- */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand { }
.footer-logo { font-size: 1.35rem; font-weight: 900; color: var(--c-white); margin-bottom: 0.75rem; }
.footer-logo span { color: var(--c-orange); }
.footer-desc { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; max-width: 320px; }
.footer-badge {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}
.footer-col h4 { color: var(--c-orange); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.92rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--c-orange); }
.footer-tel { display: flex; align-items: center; gap: 0.5rem; color: var(--c-orange); font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--c-white); }

/* ---- Steps / process ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; padding: 2rem 1rem; }
.step-number {
  width: 52px;
  height: 52px;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--c-muted); }

/* ---- Two-column layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.two-col-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--c-navy); margin-bottom: 1rem; line-height: 1.25; }
.two-col-text p { color: var(--c-muted); margin-bottom: 1rem; line-height: 1.75; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- Hero compact (pages internes) ---- */
.hero-compact {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3a6e 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.hero-compact h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-compact h1 span { color: var(--c-orange); }
.hero-compact p { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 620px; margin: 0 auto 2rem; }

/* ---- Contact layout ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-phone { font-size: 2.2rem; font-weight: 900; color: var(--c-orange); display: block; margin: 1rem 0; }
.contact-phone a { color: inherit; text-decoration: none; }
.mention-box { background: var(--c-white); border-radius: 12px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.07); font-size: 0.9rem; color: var(--c-muted); line-height: 1.7; }
.mention-box h3 { color: var(--c-navy); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ---- Zone grid ---- */
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .zone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .zone-grid { grid-template-columns: 1fr; } }
.zone-item { background: var(--c-white); border-left: 4px solid var(--c-orange); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.zone-item strong { display: block; color: var(--c-navy); font-weight: 700; font-size: 0.95rem; }
.zone-item span { color: var(--c-muted); font-size: 0.85rem; }

/* ---- Responsive navbar ---- */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .navbar { padding: 0 1.25rem; }
}

/* ---- Misc ---- */
.text-orange { color: var(--c-orange); }
.text-navy { color: var(--c-navy); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.centered { text-align: center; }
.gap-2 { gap: 1rem; }
.rich-text p { margin-bottom: 1.2rem; color: var(--c-muted); line-height: 1.8; }
.rich-text h3 { color: var(--c-navy); font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
