/* --------------------------------------------------
   🎨 ETLnext Theme — aligned with RECEP CONSULTING
--------------------------------------------------- */

@import url("https://fonts.cdnfonts.com/css/aptos");

:root {
  /* Brand */
  --etlnext-primary: #1655a3;
  --etlnext-primary-dark: #0f3b74;
  --etlnext-primary-light: #e6eff9;

  --etlnext-bg: #f9f9fa;
  --etlnext-white: #ffffff;
  --etlnext-dark: #212529;
  --etlnext-muted: #6c757d;
  --etlnext-border: #dee2e6;

  /* Typography */
  --font-family-base: "Aptos", "Segoe UI", Roboto, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12);

  /* Spacing */
  --section-padding-y: 5rem;
  --section-padding-x: 1.5rem;
}

/* -----------------------------
   Base Layout
----------------------------- */

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--etlnext-dark);
  background-color: var(--etlnext-bg);
}

/* -----------------------------
   Section utilities
----------------------------- */

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section-light {
  background-color: var(--etlnext-bg);
}

.section-dark {
  background-color: var(--etlnext-primary-dark);
  color: var(--etlnext-white);
}

/* -----------------------------
   Typography utilities
----------------------------- */

.heading-lg {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.heading-md {
  font-size: 1.75rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--etlnext-muted);
  margin-bottom: 3rem;
}

.lead-sm {
  font-size: 1.125rem;
  color: var(--etlnext-muted);
}

/* -----------------------------
   Button overrides
----------------------------- */

.btn-brand {
  background-color: var(--etlnext-primary);
  border-color: var(--etlnext-primary);
  color: white;
}

.btn-brand:hover {
  background-color: var(--etlnext-primary-dark);
  border-color: var(--etlnext-primary-dark);
}

.btn-outline-brand {
  border: 2px solid var(--etlnext-primary);
  color: var(--etlnext-primary);
  background-color: transparent;
}

.btn-outline-brand:hover {
  background-color: var(--etlnext-primary);
  color: white;
}

.btn-outline-primary {
  color: var(--etlnext-primary) !important;
  border-color: var(--etlnext-primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--etlnext-primary) !important;
  color: white !important;
}

/* -----------------------------
   Badges & Labels
----------------------------- */

.badge-brand {
  background-color: var(--etlnext-primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
  border-radius: 0.4rem;
}

.badge-soft {
  display: inline-block;
  background-color: var(--etlnext-primary-light);
  color: var(--etlnext-primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4em 0.8em;
  border-radius: 0.6rem;
}

/* -----------------------------
   Cards and hover effects
----------------------------- */

.card-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* -----------------------------
   Brand colors
----------------------------- */

.bg-brand {
  background-color: var(--etlnext-primary) !important;
  color: var(--etlnext-white) !important;
}

.text-brand {
  color: var(--etlnext-primary) !important;
}

.border-brand {
  border-color: var(--etlnext-primary) !important;
}

.bg-recep {
  background-color: var(--etlnext-primary) !important;
  color: white !important;
}

/* -----------------------------
   Bootstrap override
----------------------------- */

.btn-primary,
.bg-primary,
.text-primary,
.border-primary {
  background-color: #1655a3 !important;
  color: white !important;
  border-color: #1655a3 !important;
}
.footer-logo {
  width: 140px;
  max-width: 100%;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* tu peux ajuster à 0.4 ou 0.6 */
  z-index: 1;
}
.container-xl,
.container-xxl {
  max-width: 1320px;
}
.logo-recep {
  height: 60px;
  max-height: 8vh;
  width: auto;
}

@media (max-width: 768px) {
  .logo-recep {
    height: 40px;
  }
}
