/* ============================================================
   FACILITIX — landing.css
   Styles spécifiques à la page d'accueil
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, #0A1E3D 0%, #0A2540 40%, #0055A8 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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");
}
/* Diagonal overlay */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 100px 0 130px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.18);
  border: 1px solid rgba(255,107,53,0.4);
  color: #FFB89A;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero-sub {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-checks {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  opacity: 0.92;
}
.hero-checks .check-icon {
  width: 22px;
  height: 22px;
  background: rgba(39,174,96,0.25);
  border: 1px solid rgba(39,174,96,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.83rem;
  opacity: 0.7;
  flex-wrap: wrap;
}
.hero-trust span { display: flex; align-items: center; gap: 5px; }

/* Hero visual / mockup side */
.hero-visual {
  position: relative;
}
.hero-mockup {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.hero-mockup-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 20px;
}
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.hero-stat {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.hero-stat-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-lbl { font-size: 0.7rem; opacity: 0.7; margin-top: 4px; }

/* Animated counters section */
.hero-counters {
  display: flex;
  gap: 40px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-counter {
  text-align: left;
}
.hero-counter-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.hero-counter-lbl { font-size: 0.75rem; opacity: 0.6; margin-top: 2px; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-inner { padding: 72px 0 100px; }
}

/* ── Partenaires bandeau ──────────────────────────────────── */
.partners {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Problem section ──────────────────────────────────────── */
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.problem-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow);
}
.problem-card:nth-child(1) { border-top-color: #F59E0B; }
.problem-card:nth-child(2) { border-top-color: var(--danger); }
.problem-card:nth-child(3) { border-top-color: var(--primary); }
.problem-emoji { font-size: 2rem; margin-bottom: 14px; }
.problem-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.problem-card p { font-size: 0.9rem; color: var(--text-muted); }
.problem-cta { text-align: center; margin-top: 48px; }
.problem-cta p { font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
.problem-cta strong { color: var(--primary); }
@media (max-width: 700px) { .problem-grid { grid-template-columns: 1fr; } }

/* ── Services ─────────────────────────────────────────────── */
.services { background: white; }
.service-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--primary-light); background: white; }
.service-card.featured {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.08);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-card.featured .service-icon { background: rgba(255,107,53,0.12); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 18px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--text);
}
.service-features .ico { color: var(--success); font-size: 1rem; }
.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
}
.service-card.featured .service-badge { background: rgba(255,107,53,0.12); color: var(--accent-dark); }
@media (max-width: 700px) { .service-cards { grid-template-columns: 1fr; } }

/* ── Calculator CTA ───────────────────────────────────────── */
.calc-cta {
  background: linear-gradient(135deg, #0A1628 0%, #0A2540 60%, #003380 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.calc-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  border-radius: 50%;
}
.calc-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.calc-cta-left h2 { color: white; margin-bottom: 16px; }
.calc-cta-left p { opacity: 0.8; margin-bottom: 28px; font-size: 1.05rem; }
.calc-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.calc-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; opacity: 0.9; }
.calc-features .ico { color: var(--accent); font-size: 1.1rem; }
.calc-cta-note {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.65;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.calc-cta-right {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.calc-preview-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: rgba(255,255,255,0.07);
  font-size: 0.9rem;
}
.step-num {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}
@media (max-width: 820px) {
  .calc-cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .calc-cta-right { display: none; }
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { background: var(--bg); }
.pricing-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.08);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}
.pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.pricing-tagline { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price small { font-size: 0.7em; color: var(--text-muted); font-family: var(--font-body); }
.pricing-unit { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .ico { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

.pricing-compare-toggle {
  text-align: center;
  margin-top: 32px;
}
.pricing-compare-toggle button {
  background: none;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.pricing-compare-table {
  display: none;
  margin-top: 24px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-compare-table.open { display: block; }
.pricing-compare-table table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pricing-compare-table th, .pricing-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #F1F5F9;
}
.pricing-compare-table th { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.pricing-compare-table td:not(:first-child) { text-align: center; }

@media (max-width: 820px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

/* ── Process steps ────────────────────────────────────────── */
.process { background: white; }
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
}
.process-step { flex: 1; padding: 0 12px; text-align: center; position: relative; }
.step-circle {
  width: 56px; height: 56px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .step-circle {
  background: var(--primary);
  color: white;
}
.process-step h4 { font-size: 0.9rem; margin-bottom: 6px; }
.process-step p { font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 700px) {
  .process-steps { flex-direction: column; gap: 24px; }
  .process-steps::before { display: none; }
  .process-step { display: flex; align-items: flex-start; gap: 16px; text-align: left; padding: 0; }
  .step-circle { flex-shrink: 0; margin: 0; }
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { background: var(--bg); }
.testi-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: serif;
  line-height: 1;
}
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.testi-text { font-size: 0.92rem; line-height: 1.7; color: var(--text); margin-bottom: 16px; font-style: italic; }
.testi-author { font-weight: 700; font-size: 0.88rem; }
.testi-company { font-size: 0.8rem; color: var(--text-muted); }
.testi-stars { color: #F59E0B; font-size: 0.9rem; margin-top: 8px; }
@media (max-width: 820px) { .testi-cards { grid-template-columns: 1fr; } }

/* ── Webinaires preview ───────────────────────────────────── */
.webinaires-preview { background: white; }
.webinar-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-bottom: 32px; }
.webinar-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.webinar-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.webinar-meta { display: flex; gap: 10px; margin-bottom: 12px; }
.webinar-date { font-size: 0.8rem; color: var(--text-muted); }
.webinar-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.webinar-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.webinar-footer { display: flex; justify-content: space-between; align-items: center; }
.webinar-info { font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 600px) { .webinar-cards { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--bg); }
.faq-inner { max-width: 780px; margin: 0 auto; }

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, #0A1628, #003380);
  color: white;
  text-align: center;
}
.final-cta h2 { color: white; margin-bottom: 12px; }
.final-cta p { opacity: 0.8; font-size: 1.1rem; margin-bottom: 36px; }
.final-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.final-cta-contact { opacity: 0.6; font-size: 0.9rem; }
