/* ============================================================
   expertise.css — Styles partagés pages d'expertise SOLITEL
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --blue-900: #071828;
  --blue-400: #1E3A8A;
  --accent: #F97316;
}

/* ── Logo ────────────────────────────────────────────────── */
.logo-img { height: 114px; border-radius: 10px; }

/* ── Hero ────────────────────────────────────────────────── */
.exp-hero {
  width: 100%;
  background: linear-gradient(135deg, #071828 0%, #142d60 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Image de fond via variable CSS définie inline sur chaque page */
.exp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.exp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

/* Breadcrumb */
.exp-breadcrumb {
  font-size: .82rem;
  color: #F97316;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.exp-breadcrumb a {
  color: #F97316;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s;
}

.exp-breadcrumb a:hover {
  opacity: 1;
}

.exp-breadcrumb .sep {
  font-size: .9rem;
  opacity: .6;
}

/* Hero heading */
.exp-hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.exp-hero-sub {
  color: rgba(255, 255, 255, .72);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

/* Variante lead + paragraphes libres dans le hero */
.exp-hero-lead {
  color: rgba(255, 255, 255, .90);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
}

.exp-hero-text p:not(.exp-hero-sub):not(.exp-hero-lead) {
  color: rgba(255, 255, 255, .70);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Hero visual */
.exp-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.exp-hero-visual svg {
  max-width: 420px;
  width: 100%;
}

/* ── Sections ────────────────────────────────────────────── */
.exp-section {
  padding: 80px 0;
}

.exp-section.bg-light {
  background: #f8fafc;
}

.exp-section.bg-dark {
  background: #071828;
}

/* Section avec image de fond (stats) */
.exp-section.bg-img {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.exp-section.bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.exp-section.bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,24,40,.87), rgba(7,24,40,.84));
  z-index: 1;
}

.exp-section.bg-img .container {
  position: relative;
  z-index: 2;
}

.exp-section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.exp-section-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #071828;
  margin-bottom: 12px;
}

.exp-section-header p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.exp-section.bg-dark .exp-section-header h2 {
  color: #ffffff;
}

.exp-section.bg-dark .exp-section-header p {
  color: rgba(255, 255, 255, .6);
}

/* ── Feature cards grid ──────────────────────────────────── */
.exp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exp-feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  transition: transform .25s ease, box-shadow .25s ease;
}

.exp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(7, 24, 40, .12);
}

.exp-feature-icon {
  width: 48px;
  height: 48px;
  background: #dce6f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.exp-feature-icon svg {
  width: 22px;
  height: 22px;
  color: #1E3A8A;
}

.exp-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #071828;
  margin-bottom: 8px;
}

.exp-feature-card p {
  font-size: .88rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ── Process steps ───────────────────────────────────────── */
.exp-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.exp-process::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #1E3A8A, #F97316);
  z-index: 0;
}

.exp-step {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.exp-step:last-child {
  margin-bottom: 0;
}

.exp-step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #1E3A8A;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.exp-step-content {
  padding-top: 10px;
}

.exp-step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #071828;
  margin-bottom: 6px;
}

.exp-step-content p {
  font-size: .9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ── Split layout ────────────────────────────────────────── */
.exp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.exp-split-visual {
  background: linear-gradient(135deg, #dce6f7, rgba(30, 58, 138, .08));
  border-radius: 24px;
  padding: 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-split-visual svg {
  width: 100%;
  max-width: 340px;
}

.exp-split-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #071828;
  margin-bottom: 16px;
}

.exp-split-text p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Checklist ───────────────────────────────────────────── */
.exp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.exp-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .92rem;
  color: #475569;
  line-height: 1.5;
}

.exp-checklist li::before {
  content: '✓';
  color: #F97316;
  font-weight: 800;
  min-width: 20px;
  font-size: 1rem;
  line-height: 1.4;
}

/* ── Stats row ───────────────────────────────────────────── */
.exp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}

.exp-stat {
  padding: 20px;
}

.exp-stat strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1E3A8A;
  margin-bottom: 6px;
  line-height: 1.1;
}

.exp-stat span {
  font-size: .85rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.4;
}

/* Classes alternatives utilisées sur certaines pages */
.exp-stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1E3A8A;
  margin-bottom: 6px;
  line-height: 1.1;
}

.exp-stat-label {
  font-size: .85rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.4;
}

.exp-section.bg-dark .exp-stat strong {
  color: #F97316;
}

.exp-section.bg-dark .exp-stat span {
  color: rgba(255, 255, 255, .6);
}

.exp-section.bg-dark .exp-stat-value {
  color: #F97316;
}

.exp-section.bg-dark .exp-stat-label {
  color: rgba(255, 255, 255, .6);
}

/* ── Tags ────────────────────────────────────────────────── */
.exp-tag {
  display: inline-block;
  background: #dce6f7;
  color: #1E3A8A;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.exp-tag.orange {
  background: #fed7aa;
  color: #c05600;
}

/* ── Comparison cards ────────────────────────────────────── */
.exp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.exp-compare-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  border: 2px solid #e2e8f0;
  transition: border-color .25s, box-shadow .25s;
}

.exp-compare-card:hover {
  border-color: #1E3A8A;
  box-shadow: 0 12px 36px rgba(30, 58, 138, .12);
}

.exp-compare-card .exp-compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dce6f7;
  color: #1E3A8A;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.exp-compare-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #071828;
  margin-bottom: 10px;
}

.exp-compare-card .exp-compare-desc {
  font-size: .92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

.exp-compare-card .exp-compare-ideal {
  font-size: .84rem;
  color: #1E3A8A;
  font-weight: 600;
  padding: 10px 14px;
  background: #f0f5ff;
  border-radius: 10px;
  border-left: 3px solid #1E3A8A;
}

/* ── Operator logos row ──────────────────────────────────── */
.exp-operators {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

.exp-operator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
}

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(7,24,40,.88), rgba(20,45,96,.87)),
    url('assets/images/section-cta.jpg') center/cover no-repeat;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .exp-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 48px;
  }
  .exp-hero-visual { order: -1; }
  .exp-hero-sub    { max-width: 100%; }
  .exp-split       { grid-template-columns: 1fr; gap: 40px; }
  .exp-stats-row   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Navbar & logo */
  .nav-inner { height: 64px; }
  .logo-img  { height: 44px; width: auto; }

  /* Hero — priorité au texte, on masque le visuel SVG */
  .exp-hero          { min-height: auto; }
  .exp-hero-inner    { padding-top: 48px; padding-bottom: 36px; gap: 0; text-align: left; }
  .exp-hero-visual   { display: none; }
  .exp-hero h1       { font-size: clamp(1.5rem, 5vw, 2rem); }
  .exp-hero-sub      { font-size: .95rem; margin-bottom: 24px; }
  .exp-hero-lead     { font-size: 1rem; }

  /* Sections */
  .exp-section        { padding: 48px 0; }
  .exp-section-header { margin-bottom: 32px; }
  .exp-section-header h2 { font-size: 1.45rem; }
  .exp-section-header p  { font-size: .92rem; }

  /* Stats */
  .exp-stats-row           { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 32px 0; }
  .exp-stat                { padding: 12px; }
  .exp-stat strong,
  .exp-stat-value          { font-size: 1.65rem; }
  .exp-stat span,
  .exp-stat-label          { font-size: .72rem; letter-spacing: .03em; }

  /* Features */
  .exp-features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .exp-feature-card  { padding: 20px 16px; }

  /* Compare */
  .exp-compare-grid { grid-template-columns: 1fr; }
  .exp-compare-card { padding: 24px 20px; }

  /* Split */
  .exp-split        { gap: 28px; }
  .exp-split-visual { min-height: 180px; padding: 24px; }

  /* Process */
  .exp-step         { gap: 16px; margin-bottom: 28px; }
  .exp-step-number  { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }

  /* CTA */
  .cta-band  { padding: 40px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
  .cta-text h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .nav-inner { height: 56px; }
  .logo-img  { height: 38px; width: auto; }

  .exp-section     { padding: 36px 0; }
  .exp-hero-inner  { padding-top: 40px; padding-bottom: 28px; }
  .exp-hero h1     { font-size: 1.4rem; }

  /* Stats : rester en 2 colonnes, texte encore plus compact */
  .exp-stats-row          { padding: 24px 0; gap: 10px; }
  .exp-stat strong,
  .exp-stat-value         { font-size: 1.45rem; }
  .exp-stat span,
  .exp-stat-label         { font-size: .68rem; }

  /* Features : 1 colonne */
  .exp-features-grid { grid-template-columns: 1fr !important; }

  /* Operators */
  .exp-operators      { gap: 10px; }
  .exp-operator-badge { padding: 8px 12px; font-size: .82rem; }
}
