:root {
  /* Core Brand Colors */
  --dejuc-blue: #0d5e82;
  --dejuc-blue-dark: #083c54;
  --dejuc-orange: #c0392b;
  --dejuc-orange-light: #e74c3c;
  --dejuc-orange-dark: #962d22;
  --dejuc-turquoise: #1abc9c;
  --text-dark: #1a202c;
  --text-muted: #718096;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --shadow-premium: 0 20px 40px -5px rgba(27, 150, 200, 0.15);
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --section-padding: 8rem 0;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

/* ---- Suppression TOTALE de toute barre de défilement visible ---- */
::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html {
  overflow-x: hidden !important;
  width: 100%;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / ancien Edge */
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
  -ms-overflow-style: none;     /* IE / ancien Edge */
  scrollbar-width: none;        /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  /* CSS failsafe: force hidden after 5s no matter what */
  animation: preloader-kill 5s forwards;
}

@keyframes preloader-kill {
  0%, 90% { opacity: 1; visibility: visible; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.loader-logo {
  height: 70px;
  width: auto !important;
  max-width: 200px;
  object-fit: contain;
  aspect-ratio: auto;
  animation: pulse 1.4s infinite ease-in-out;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

h1, h2, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--dejuc-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dejuc-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.text-primary { color: var(--dejuc-blue) !important; }
.text-secondary { color: var(--dejuc-orange) !important; }
.text-accent { color: var(--dejuc-turquoise) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-muted { color: var(--text-muted) !important; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--dejuc-orange);
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 100%;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dejuc-blue);
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-dejuc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid transparent;
}

.btn-dejuc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  z-index: -1;
  transition: width 0.3s ease;
}

.btn-dejuc:hover::before {
  width: 100%;
}

/* Primary Button (Orange) */
.btn-primary {
  background-color: var(--dejuc-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.btn-primary::before {
  background-color: var(--dejuc-orange-dark);
}

/* Secondary Button (Blue) */
.btn-secondary {
  background-color: var(--dejuc-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(27, 150, 200, 0.3);
}

.btn-secondary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 150, 200, 0.4);
}

.btn-secondary::before {
  background-color: var(--dejuc-blue-dark);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  border-color: var(--dejuc-blue);
  color: var(--dejuc-blue);
}

.btn-outline:hover {
  color: white;
}

.btn-outline::before {
  background-color: var(--dejuc-blue);
}

/* Outline White Button */
.btn-outline-white {
  background-color: transparent;
  border-color: white;
  color: white;
}

.btn-outline-white:hover {
  color: var(--text-dark);
}

.btn-outline-white::before {
  background-color: white;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

.bg-gray {
  background-color: var(--bg-gray) !important;
}

.bg-dark-blue {
  background-color: var(--dejuc-blue-dark) !important;
  color: white;
}

.pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  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="%231a202c" fill-opacity="1"%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');
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Navbar */
.navbar {
  padding: 1.2rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  background-color: transparent;
}

.navbar-scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.navbar-brand img {
  height: 55px;
  width: auto !important;
  transition: all 0.4s ease;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 6px;
  background: white;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navbar-scrolled .navbar-brand img {
  height: 45px;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 48px;
    width: auto !important;
  }
}

.navbar-toggler {
  color: white !important;
  font-size: 1.4rem;
  padding: 4px;
  transition: all 0.3s ease;
  border: none !important;
  line-height: 1;
  background: transparent !important;
  border-radius: 0;
}

.navbar-scrolled .navbar-toggler {
  color: var(--dejuc-blue-dark) !important;
  background: transparent !important;
}

.navbar-toggler:active {
  transform: scale(0.9);
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark) !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.6rem 1.2rem !important;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--dejuc-orange);
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 2px;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 60%;
}

/* Dark Navbar (Transparent at top) */
.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-dark .nav-link:hover {
  color: white !important;
}

.navbar-dark .nav-item.active .nav-link {
  color: var(--dejuc-orange) !important;
  opacity: 1;
}

/* Scrolled Navbar (White background) */
.navbar-scrolled .nav-link {
  color: var(--text-dark) !important;
}

.navbar-scrolled .nav-link:hover {
  color: var(--dejuc-blue) !important;
}

.navbar-scrolled .nav-item.active .nav-link {
  color: var(--dejuc-orange) !important;
  opacity: 1;
}

/* Mobile Menu Fixes */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-top: 0;
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .navbar:not(.navbar-scrolled) .nav-link {
    color: var(--text-dark) !important;
  }

  .navbar-scrolled .navbar-toggler {
    color: var(--dejuc-blue-dark);
  }
  
  .navbar-collapse .btn-dejuc {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Navbar toggler modern */
.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 94, 130, 0.9) 0%, rgba(26, 32, 44, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(1.7rem, 9vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 3vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-maxim {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dejuc-orange);
  margin-bottom: 2.5rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  color: var(--dejuc-orange);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border-light);
  border-bottom: 4px solid var(--dejuc-blue);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dejuc-blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.service-card[data-color="orange"] { border-bottom-color: var(--dejuc-orange); }
.service-card[data-color="orange"]::before { background: var(--dejuc-orange); }

.service-card[data-color="teal"] { border-bottom-color: var(--dejuc-turquoise); }
.service-card[data-color="teal"]::before { background: var(--dejuc-turquoise); }

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-gray);
  position: absolute;
  top: -10px;
  right: 10px;
  transition: color 0.4s;
  z-index: 0;
}

.service-card:hover .service-number {
  color: rgba(255, 255, 255, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--dejuc-blue);
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}

@media (max-width: 768px) {
  .service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

.service-card[data-color="orange"] .service-icon { color: var(--dejuc-orange); }
.service-card[data-color="teal"] .service-icon { color: var(--dejuc-turquoise); }

.service-card:hover .service-icon {
  color: white;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: color 0.4s;
}

.service-card:hover .service-title {
  color: white;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}

.service-card:hover .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dejuc-blue);
  display: inline-flex;
  align-items: center;
  transition: color 0.4s;
}

.service-card[data-color="orange"] .service-link { color: var(--dejuc-orange); }
.service-card[data-color="teal"] .service-link { color: var(--dejuc-turquoise); }

.service-card:hover .service-link {
  color: white;
}

.service-link i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* Marquee / Ticker */
.ticker-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;             /* clip le contenu animé */
  clip: rect(auto, auto, auto, auto);
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  background-color: var(--dejuc-blue-dark);
  padding: 15px 0;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
  position: relative;           /* contient l'animation */
  isolation: isolate;           /* couche d'isolation */
}

.ticker {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 3s linear infinite;
  will-change: transform;       /* optimise l'animation GPU */
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-icon {
  color: var(--dejuc-orange);
  margin: 0 15px;
  font-size: 1.2rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Assuming content is duplicated */
}

/* Feature/Value Item */
.feature-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: rgba(27, 150, 200, 0.1);
  color: var(--dejuc-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon-wrapper {
  background-color: var(--dejuc-blue);
  color: white;
  transform: scale(1.1);
}

.feature-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-desc {
  color: var(--text-muted);
}

/* Maxims Carousel Section */
.maxims-section {
  background: linear-gradient(135deg, #1A202C 0%, #0D5E82 100%);
  color: white;
  position: relative;
  padding: 6rem 0;
  text-align: center;
}

.maxims-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
}

.maxim-slide {
  padding: 2rem;
}

.maxim-latin {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--dejuc-orange);
  margin-bottom: 1.5rem;
}

.maxim-french {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
}

/* ==========================================================================
   TIMELINE (About Page)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 3rem;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  right: -12px;
  background-color: white;
  border: 4px solid var(--dejuc-orange);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}

.timeline-item.right::after {
  left: -12px;
}

.timeline-item:hover::after {
  background-color: var(--dejuc-orange);
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(192, 57, 43, 0.2);
}

.timeline-content {
  padding: 2.5rem;
  background: white;
  position: relative;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: var(--dejuc-blue);
}

.timeline-date {
  font-family: var(--font-heading);
  color: var(--dejuc-blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(27, 150, 200, 0.1);
  border-radius: 20px;
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  .timeline-item.left::after, 
  .timeline-item.right::after {
    left: 19px;
  }
  .timeline-item.right {
    left: 0;
  }
}


/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Fix Swiper slider heights to align all cards */
.testimonials-slider .swiper-slide {
  height: auto;
}

.testimonial-rating {
  color: #F59E0B;
  margin-bottom: 1rem;
}

.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.testimonial-info h5 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Swiper custom styles */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--border-light);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--dejuc-orange);
  transform: scale(1.2);
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrapper {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.blog-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--dejuc-blue);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.blog-meta i {
  margin-right: 5px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-title a {
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--dejuc-blue);
}

.blog-excerpt {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.blog-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.blog-card:hover .blog-link i {
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dejuc-blue) 0%, var(--dejuc-turquoise) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background-color: var(--text-dark);
  color: white;
  padding-top: 5rem;
}

.footer-widget {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  /* Filter to make the blue part white but keep the orange */
  /* filter: brightness(0) invert(1); */
}

.footer-text {
  color: #A0AEC0;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--dejuc-orange);
  color: white;
  transform: translateY(-3px);
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--dejuc-orange);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #A0AEC0;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--dejuc-orange);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 1rem;
  color: #A0AEC0;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--dejuc-orange);
  margin-right: 15px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: #A0AEC0;
  font-size: 0.9rem;
}

/* Forms */
.dejuc-input {
  border: 1px solid var(--border-light);
  padding: 12px 15px;
  border-radius: 4px;
  transition: all 0.3s;
}

.dejuc-input:focus {
  border-color: var(--dejuc-blue);
  box-shadow: 0 0 0 0.2rem rgba(27, 150, 200, 0.25);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Map */
.map-container {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Breadcrumbs */
.page-header {
  background: linear-gradient(135deg, var(--dejuc-blue-dark) 0%, var(--dejuc-blue) 100%);
  padding: 140px 0 60px;
  color: white;
  text-align: center;
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 0 50px;
  }
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.breadcrumb-custom li {
  display: flex;
  align-items: center;
}

.breadcrumb-custom li:not(:last-child)::after {
  content: '\f105'; /* FontAwesome angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom a:hover {
  color: white;
}

.breadcrumb-custom .active {
  color: var(--dejuc-orange);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--dejuc-blue);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--dejuc-orange);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }

.timeline-content {
  padding: 20px 30px;
  background: white;
  position: relative;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.timeline-date {
  color: var(--dejuc-orange);
  font-family: var(--font-heading);
  font-weight: bold;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section { padding: 3rem 0; }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 21px; }
  .right { left: 0; }
  .footer-widget { margin-bottom: 3rem; }
}

/* Dynamic color classes for templates */
.text-dejuc-blue { color: var(--dejuc-blue) !important; }
.text-dejuc-orange { color: var(--dejuc-orange) !important; }
.text-dejuc-teal { color: var(--dejuc-turquoise) !important; }

.bg-dejuc-blue { background-color: var(--dejuc-blue) !important; }
.bg-dejuc-orange { background-color: var(--dejuc-orange) !important; }
.bg-dejuc-teal { background-color: var(--dejuc-turquoise) !important; }

.border-dejuc-blue { border-color: var(--dejuc-blue) !important; }
.border-dejuc-orange { border-color: var(--dejuc-orange) !important; }
.border-dejuc-teal { border-color: var(--dejuc-turquoise) !important; }

.gradient-dejuc-blue { background: linear-gradient(135deg, var(--dejuc-blue-dark) 0%, var(--dejuc-blue) 100%) !important; }
.gradient-dejuc-orange { background: linear-gradient(135deg, var(--dejuc-blue-dark) 0%, var(--dejuc-orange) 100%) !important; }
.gradient-dejuc-teal { background: linear-gradient(135deg, var(--dejuc-blue-dark) 0%, var(--dejuc-turquoise) 100%) !important; }


/* Ultra Premium Forms */
.form-premium .form-control {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white !important;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.form-premium .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}
.form-premium .form-control:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--dejuc-orange);
  box-shadow: 0 0 15px rgba(192, 57, 43, 0.3);
  outline: none;
}
.form-premium select.form-control option {
  background-color: var(--dejuc-blue-dark);
  color: white;
}
.btn-premium {
  background: linear-gradient(135deg, var(--dejuc-orange) 0%, var(--dejuc-orange-dark) 100%);
  color: white !important;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
  transition: all 0.3s ease;
}
.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.6);
}
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Sleek Navbar Button */
.btn-nav-consult {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white !important;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.btn-nav-consult:hover {
  background: white;
  color: var(--dejuc-blue-dark) !important;
  border-color: white;
}
.navbar-scrolled .btn-nav-consult {
  border-color: var(--dejuc-orange);
  color: var(--dejuc-orange) !important;
}
.navbar-scrolled .btn-nav-consult:hover {
  background: var(--dejuc-orange);
  color: white !important;
}

/* Minimalist Hero Form */
.form-minimalist .form-control {
  background: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: white !important;
  padding: 10px 0;
  box-shadow: none !important;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}
.form-minimalist .form-control:focus {
  border-bottom-color: var(--dejuc-orange);
}
.form-minimalist .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}
.form-minimalist select.form-control {
  color: rgba(255, 255, 255, 0.7) !important;
}
.form-minimalist select.form-control option {
  background: var(--text-dark);
  color: white;
}
.hero-glass-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Logo Enhancement */
.navbar-brand img {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 2px;
  background: white;
}
.navbar-scrolled .navbar-brand img {
  box-shadow: none;
  background: transparent;
}

/* Premium Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--dejuc-blue-dark) 0%, #081119 100%) !important;
  border-top: 4px solid var(--dejuc-orange);
  padding-top: 80px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(192,57,43,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.footer-title {
  color: white !important;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.footer-links li a {
  color: rgba(255,255,255,0.6) !important;
  transition: all 0.3s ease;
  padding-left: 0;
}
.footer-links li a:hover {
  color: var(--dejuc-orange) !important;
  padding-left: 8px;
}
.footer-links li a i {
  color: var(--dejuc-orange) !important;
  transition: transform 0.3s ease;
}
.footer-links li a:hover i {
  transform: translateX(4px);
}
.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--dejuc-turquoise);
}

/* Premium Section Titles & Backgrounds */
.bg-gray {
  background-color: #f4f6f9 !important;
}
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-weight: 700;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--dejuc-orange), transparent);
  border-radius: 3px;
}
.text-start .section-title::after {
  left: 0;
  transform: none;
}

/* Ultra Premium Consultation Section */
.consultation-section {
  background: white;
  padding: 100px 0;
  position: relative;
}
.consultation-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.consultation-form-wrapper {
  padding: 60px;
}
.consultation-info-wrapper {
  background: linear-gradient(135deg, var(--dejuc-blue-dark) 0%, var(--dejuc-blue) 100%);
  padding: 60px;
  color: white;
  height: 100%;
}
.form-floating-premium .form-control {
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none !important;
  font-size: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}
.form-floating-premium .form-control:focus {
  border-color: var(--dejuc-orange);
}

/* Premium Testimonials */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.4s ease;
  height: 100%;
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  font-style: italic;
  margin-bottom: 30px;
}
.testimonial-rating i {
  color: var(--dejuc-orange);
  font-size: 0.9rem;
}

/* Super Premium Footer */
.site-footer {
  background: #0f172a !important; /* Elegant dark slate */
  border-top: none;
  padding-top: 50px;
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-logo-wrapper {
  background: white;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 25px;
}
.footer-logo {
  height: 50px;
  mix-blend-mode: multiply;
}
.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-social .social-link:hover {
  background: var(--dejuc-orange);
  border-color: var(--dejuc-orange);
  transform: translateY(-3px);
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links li a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}
.footer-links li a:hover {
  color: white !important;
  transform: translateX(5px);
}
.footer-links li a i {
  color: var(--dejuc-orange) !important;
  margin-right: 10px;
  font-size: 0.8rem;
}
.footer-contact-item {
  display: flex;
  margin-bottom: 25px;
}
.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--dejuc-orange);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 3px;
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}



/* PREMIUM TIMELINE */
.premium-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}
.premium-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(0,0,0,0.05);
  transform: translateX(-50%);
}
.premium-timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.premium-timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
.premium-timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--dejuc-orange);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(192,57,43,0.1);
  z-index: 2;
  transition: all 0.3s ease;
}
.premium-timeline-item:hover .premium-timeline-marker {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 15px rgba(192,57,43,0.4);
}
.premium-timeline-content {
  width: 45%;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
  border: 1px solid rgba(0,0,0,0.02);
}
.premium-timeline-item:hover .premium-timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.premium-timeline-date {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(192,57,43,0.1);
  color: var(--dejuc-orange);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .premium-timeline::before { left: 30px; }
  .premium-timeline-marker { left: 30px; }
  .premium-timeline-content { width: calc(100% - 70px); margin-left: 70px !important; }
  .premium-timeline-item { flex-direction: row !important; justify-content: flex-start; }
}

/* PREMIUM IMAGE EFFECTS */
.img-premium-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.img-premium-wrapper img {
  transition: transform 0.7s ease;
}
.img-premium-wrapper:hover img {
  transform: scale(1.05);
}
.glass-badge {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.4);
}

/* PREMIUM CONTACT CARDS */
.contact-card-premium {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}
.contact-card-premium::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  transition: border-color 0.4s ease;
  pointer-events: none;
}
.contact-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.contact-card-premium:hover::after {
  border-color: rgba(192,57,43,0.2);
}
.contact-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.4s ease;
}
.contact-card-premium:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

/* PREMIUM FORM */
.premium-form-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  padding: 3rem;
  position: relative;
}
.premium-form-wrapper::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: 15px; bottom: 15px;
  background: rgba(192,57,43,0.05);
  border-radius: 20px;
  z-index: -1;
}

/* PREMIUM BLOG STYLES */
.blog-card-premium {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}
.blog-img-wrapper-premium {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  height: 240px;
}
.blog-img-wrapper-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.blog-card-premium:hover .blog-img-wrapper-premium img {
  transform: scale(1.08);
}
.blog-category-premium {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dejuc-orange);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
}
.blog-content-premium {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta-premium {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
  display: flex;
  gap: 15px;
  font-weight: 500;
}
.blog-title-premium {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.blog-title-premium a {
  color: var(--dejuc-blue-dark);
  text-decoration: none;
}
.blog-title-premium a:hover {
  color: var(--dejuc-orange);
}
.blog-excerpt-premium {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.blog-link-premium {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}
.blog-card-premium:hover .blog-link-premium {
  gap: 12px;
}

/* AWWWARDS MINIMAL FORM */
.minimal-input-group { position: relative; margin-top: 1.5rem; margin-bottom: 2rem; }
.minimal-input { width: 100%; background: transparent !important; border: none !important; padding: 10px 0 5px 0; color: #fff !important; font-size: 1rem; outline: none !important; box-shadow: none !important; }
.minimal-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,0.15); }
.minimal-line::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--dejuc-orange); transition: width 0.4s ease; }
.minimal-input:focus ~ .minimal-line::after, .minimal-input:not(:placeholder-shown) ~ .minimal-line::after { width: 100%; }
.minimal-label { position: absolute; top: 10px; left: 0; color: rgba(255,255,255,0.5); font-size: 0.95rem; pointer-events: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.minimal-input:focus ~ .minimal-label, .minimal-input:not(:placeholder-shown) ~ .minimal-label { top: -16px; font-size: 0.7rem; color: var(--dejuc-orange); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.minimal-input:-webkit-autofill, .minimal-input:-webkit-autofill:hover, .minimal-input:-webkit-autofill:focus, .minimal-input:-webkit-autofill:active{ -webkit-box-shadow: 0 0 0 30px #112233 inset !important; -webkit-text-fill-color: white !important; transition: background-color 5000s ease-in-out 0s; }

/* Modern Input Groups */
.modern-input-group .form-control, .modern-input-group .form-select {
    background: #f8f9fa;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 14px 16px 14px 45px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}
.modern-input-group textarea.form-control {
    padding: 16px;
}
.modern-input-group .form-control:focus, .modern-input-group .form-select:focus {
    background: #fff;
    border-color: var(--dejuc-blue);
    box-shadow: 0 0 0 4px rgba(27, 150, 200, 0.1);
}
.modern-input-group .icon-wrapper {
    position: absolute;
    left: 16px;
    top: 42px;
    color: var(--dejuc-blue);
    opacity: 0.7;
    z-index: 5;
}
.modern-input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
}

/* Ultra Premium Dark Blue Glass Form */
.premium-glass-form-card {
    background: rgba(10, 61, 94, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), inset 0 2px 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.premium-glass-form-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(27, 150, 200, 0.15) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(192, 57, 43, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.premium-glass-form-card .z-1 {
    position: relative;
    z-index: 1;
}

.glass-input-group label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.glass-input-group .form-control, .glass-input-group .form-select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px 14px 45px;
    font-size: 0.95rem;
    color: #fff;
    transition: all 0.3s ease;
}

.glass-input-group textarea.form-control {
    padding: 16px;
}

.glass-input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.glass-input-group .form-control:focus, .glass-input-group .form-select:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--dejuc-orange);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
    color: #fff;
}

.glass-input-group .icon-wrapper {
    position: absolute;
    left: 16px;
    top: 42px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 5;
    transition: all 0.3s ease;
}

.glass-input-group .form-control:focus ~ .icon-wrapper,
.glass-input-group .form-select:focus ~ .icon-wrapper {
    color: var(--dejuc-orange);
}

/* ==========================================================================
   RESPONSIVE SYSTEM — EXPERT MOBILE-FIRST AUDIT
   Breakpoints: 1440 | 1024 | 768 | 414 | 375 | 360
   ========================================================================== */

/* --- Global Anti-Overflow Protection --- */
section, .section, footer, main, header {
  overflow-x: hidden;
  max-width: 100%;
}

/* ==========================================================================
   TABLET LANDSCAPE — max-width: 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  /* Hero */
  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 90% !important;
  }

  /* Nav spacing */
  .nav-link {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.8rem;
  }

  .btn-nav-consult {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  /* Sections */
  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2.1rem;
  }
}

/* ==========================================================================
   TABLET PORTRAIT — max-width: 768px
   ========================================================================== */
@media (max-width: 768px) {

  /* --- Navbar --- */
  .navbar {
    padding: 10px 0;
  }

  .navbar-brand img {
    height: 46px;
  }

  /* --- Hero --- */
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: 80px;
    padding-bottom: 60px;
    align-items: center;
    text-align: center;
  }

  .hero-maxim {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }

  .hero-content .d-grid {
    gap: 0.8rem !important;
  }

  .hero-content .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Scroll indicator */
  .hero-scroll-indicator {
    font-size: 1.5rem;
    bottom: 20px;
  }

  /* --- Sections spacing --- */
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
  }

  /* --- Service Cards (single column) --- */
  .service-card {
    padding: 1.8rem 1.4rem;
    margin-bottom: 1.2rem;
  }

  .service-number {
    font-size: 2.5rem;
    right: 10px;
  }

  /* --- "Pourquoi nous choisir" image --- */
  .img-premium-wrapper {
    border-radius: 16px;
    margin-bottom: 2rem;
  }

  /* --- Maxims --- */
  .maxim-latin {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .maxim-french {
    font-size: 1rem;
  }

  /* --- Testimonials --- */
  .testimonial-card,
  .swiper-slide .card {
    padding: 1.5rem;
  }

  /* --- CTA Section --- */
  .cta-section {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .cta-desc {
    font-size: 1rem;
  }

  .cta-section .btn {
    width: 100%;
    max-width: 300px;
    margin: 0.4rem auto;
    display: block;
  }

  /* --- Page Headers (inner pages) --- */
  .page-header {
    padding: 100px 0 50px !important;
  }

  .page-header h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    line-height: 1.2;
  }

  .page-header span.text-uppercase {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  /* --- Blog Cards --- */
  .blog-card-premium {
    border-radius: 16px;
  }

  .blog-img-wrapper-premium {
    height: 180px;
  }

  .blog-content-premium {
    padding: 1.2rem;
  }

  /* --- Contact Form --- */
  .premium-light-form-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .contact-card-premium {
    padding: 1rem !important;
  }

  /* --- About Timeline --- */
  .premium-timeline {
    padding: 20px 0;
  }

  .premium-timeline::before {
    left: 20px;
  }

  .premium-timeline-marker {
    left: 20px;
  }

  .premium-timeline-content {
    width: 100%;
    padding: 20px;
  }

  /* --- Footer --- */
  footer {
    padding-top: 3rem !important;
  }

  /* --- Ticker --- */
  .ticker-item {
    font-size: 0.85rem;
    padding: 0 16px;
  }
}

/* ==========================================================================
   MOBILE LARGE — max-width: 480px (iPhone Plus, Pixel)
   ========================================================================== */
@media (max-width: 480px) {

  /* Hero */
  .hero {
    padding-top: 75px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7.5vw, 2.2rem);
  }

  .hero-maxim {
    font-size: 0.9rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-content .btn {
    font-size: 0.85rem;
    padding: 12px 20px;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  /* Service cards */
  .service-card {
    padding: 1.4rem 1.1rem;
  }

  /* Stats row visible on mobile */
  .hero .row.justify-content-center.mt-5 {
    display: flex !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
  }

  .hero .row.justify-content-center.mt-5 h2 {
    font-size: 2rem !important;
  }

  /* CTA buttons */
  .cta-section .d-flex,
  .cta-section .gap-3 {
    flex-direction: column;
    align-items: center;
  }

  /* Ticker */
  .ticker-item {
    font-size: 0.8rem;
    padding: 0 12px;
  }

  .ticker-icon {
    margin-left: 8px;
    font-size: 0.75rem;
  }

  /* Footer adjustments */
  footer .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   MOBILE STANDARD — max-width: 390px (iPhone 14, Samsung S22)
   ========================================================================== */
@media (max-width: 390px) {

  .hero-title {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-maxim {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-content .btn {
    font-size: 0.8rem;
    padding: 11px 18px;
    letter-spacing: 0.5px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }

  .service-card {
    padding: 1.2rem 1rem;
    border-radius: 10px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .maxim-latin {
    font-size: 1.4rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  /* Footer compact */
  .footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
  }

  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE SMALL — max-width: 360px (Galaxy A, older Android)
   ========================================================================== */
@media (max-width: 360px) {

  .hero {
    padding-top: 70px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .navbar-brand img {
    height: 38px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .btn-nav-consult {
    display: none; /* Trop étroit pour afficher le bouton consultation */
  }

  /* Compact footer on very small screens */
  .footer-bottom .text-muted {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   WHATSAPP FLOAT — All screen sizes
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 998;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
    bottom: 18px;
    right: 14px;
  }
}


/* --- Global Anti-Overflow Protection --- */
*, *::before, *::after {
  max-width: 100%;
}

section, .section, footer, main {
  overflow-x: hidden;
  max-width: 100%;
}

/* --- Navbar Mobile Fixes --- */
@media (max-width: 991px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar-brand img {
    height: 44px;
  }

  .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    width: 38px;
    height: 38px;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% - 12px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    padding: 0.75rem 1.5rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .navbar-collapse .nav-link {
    color: var(--text-dark) !important;
    padding: 0.75rem 0.5rem !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
  }

  .navbar-collapse .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-collapse .btn-nav-consult {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    display: block;
    padding: 12px;
  }
}

/* ==========================================================================
   MOBILE CONSOLIDATED REFINEMENTS (Expert-level)
   ========================================================================== */
@media (max-width: 768px) {
  /* --- Hero --- */
  .hero {
    min-height: 100svh;
    padding: 100px 0 60px;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 100%;
  }

  .hero-maxim {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }

  /* --- Page Headers --- */
  .page-header {
    padding: 110px 0 50px !important;
  }

  .page-header h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
    line-height: 1.2;
  }

  /* --- Sections & Titles --- */
  .section {
    padding: 4rem 0 !important;
    text-align: center; /* Center all text in sections by default on mobile */
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
  }

  .section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  /* --- Service Grid --- */
  .service-card {
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center; /* Center internal content */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-number {
    font-size: 2rem;
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 1rem;
    opacity: 0.3;
  }

  .service-icon {
    margin: 0 auto 1.5rem;
  }

  /* --- Features (Pourquoi nous choisir) --- */
  .img-premium-wrapper {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-item {
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon-wrapper {
    margin: 0 auto 1rem !important;
  }

  /* --- Timeline --- */
  .premium-timeline, .timeline {
    padding: 20px 0;
  }

  .premium-timeline-content {
    width: 100%;
    padding: 20px;
  }

  /* --- Contact & Forms --- */
  .contact-card-premium {
    padding: 1rem !important;
    margin-bottom: 1rem;
  }

  .contact-icon-wrapper {
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
  }
}

/* --- Blog Page Mobile --- */
@media (max-width: 768px) {
  .blog-card-premium {
    border-radius: 16px;
  }

  .blog-img-wrapper-premium {
    height: 180px;
  }

  .blog-content-premium {
    padding: 1.2rem;
  }
}

/* --- Footer Mobile Fixes --- */
@media (max-width: 768px) {
  .site-footer,
  footer {
    padding-top: 4rem !important;
    text-align: center;
  }

  footer .col-lg-3, footer .col-md-6 {
    margin-bottom: 3rem;
  }

  footer .row {
    justify-content: center;
  }
}

/* --- WhatsApp Float (no overlap with content) --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 998;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    bottom: 20px;
    right: 15px;
  }
}

/* --- CTA Section Mobile --- */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-desc {
    font-size: 1rem;
  }
}

/* --- Maxims Section Mobile --- */
@media (max-width: 768px) {
  .maxims-section {
    padding: 3.5rem 0;
  }

  .maxim-latin {
    font-size: 1.8rem;
  }

  .maxim-french {
    font-size: 1.1rem;
  }
}

/* --- Ticker Mobile --- */
@media (max-width: 768px) {
  .ticker-item {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  .hero .row.align-items-center {
    justify-content: center !important;
    text-align: center;
  }
}

/* ==========================================================================
   HOMEPAGE MOBILE — CORRECTIONS STRUCTURE COMPLÈTES
   Ciblage : 360px → 768px (Android + iPhone)
   ========================================================================== */

/* ── Utility: bouton pleine largeur sur mobile ── */
@media (max-width: 575px) {
  .w-100-mobile {
    width: 100% !important;
    max-width: 320px;
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

/* ── Hero Stats — centrage parfait sur mobile ── */
.hero-stat-number {
  font-size: clamp(1.6rem, 7vw, 3rem);
  line-height: 1;
}

.hero-stat-label {
  letter-spacing: 1px;
  font-size: clamp(0.6rem, 2.2vw, 0.75rem);
  margin-top: 4px;
}

.hero-stat-item {
  padding: 0 8px;
}

.hero-stat-border {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-stats-row {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stat-number {
    font-size: clamp(1.5rem, 8vw, 2.4rem);
  }

  .hero-stat-label {
    font-size: clamp(0.55rem, 2.5vw, 0.72rem);
  }

  .hero-stat-item {
    padding: 0 4px;
  }
}

@media (max-width: 390px) {
  .hero-stat-number {
    font-size: clamp(1.3rem, 9vw, 2rem);
  }
  .hero-stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
  }
  .hero-stat-item {
    padding: 0 2px;
  }
}

/* ── Hero CTA Group ── */
@media (max-width: 575px) {
  .hero-cta-group {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 300px;
    font-size: 0.85rem;
    padding: 12px 20px;
    justify-content: center;
    display: flex !important;
  }
}

/* ── Services — texte centré, fs adaptée ── */
@media (max-width: 768px) {
  .services-intro-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  #services .section-title {
    font-size: clamp(1.5rem, 5vw, 1.9rem);
  }
}

/* ── About Section — Floating Badge reposé sur mobile ── */
.about-img-wrapper {
  position: relative;
}

.about-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  padding: 14px 18px;
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--dejuc-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-badge-title {
  font-size: 0.95rem;
}

.about-badge-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    transform: none;
    margin-top: 1rem;
    display: inline-flex;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .about-img-wrapper {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .about-text-col {
    text-align: center;
  }

  .about-text-col .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-text-col .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text-col .feature-icon-wrapper {
    margin: 0 auto 1rem !important;
  }

  .about-text-col .btn-dejuc {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 1rem auto 0;
    text-align: center;
  }
}

/* ── Maxims Section ── */
@media (max-width: 768px) {
  .maxims-section {
    padding: 3rem 0;
    text-align: center;
  }

  .maxim-latin {
    font-size: clamp(1.2rem, 5vw, 1.7rem);
    line-height: 1.3;
  }

  .maxim-french {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
}

/* ── CTA Section ── */
@media (max-width: 768px) {
  .cta-btn-group {
    flex-direction: column !important;
    align-items: center !important;
  }

  .cta-btn-group .btn {
    width: 100% !important;
    max-width: 300px;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .cta-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    line-height: 1.25;
  }

  .cta-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* ── Section-title underline centrage en mobile ── */
@media (max-width: 768px) {
  .text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-title {
    display: block; /* force centrage quand dans text-center */
  }
}

/* ── Testimonials slider ── */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .testimonial-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* ── Anti-overflow global safeguard ── */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==========================================================================
   BOUTONS RESPONSIVE — RÉDUCTION PROGRESSIVE PAR ÉCRAN
   ≤ 768px  → tablette/grand mobile
   ≤ 480px  → mobile standard
   ≤ 360px  → petit Android
   ========================================================================== */

/* --- Tablette / Grand mobile (≤ 768px) --- */
@media (max-width: 768px) {

  /* btn-premium (orange gradient) */
  .btn-premium {
    padding: 11px 22px;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    border-radius: 50px; /* pill harmonisé */
  }

  /* Bootstrap outline-light (hero 2e bouton) */
  .btn.btn-outline-light {
    padding: 11px 22px;
    font-size: 0.88rem;
  }

  /* btn-dejuc (about, CTA secondaires) */
  .btn-dejuc {
    padding: 10px 22px;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
  }

  /* btn-nav-consult (navbar) */
  .btn-nav-consult {
    padding: 8px 16px;
    font-size: 0.78rem;
  }

  /* Tous les .btn Bootstrap génériques sur mobile */
  .btn {
    font-size: 0.88rem;
    padding: 10px 20px;
  }
}

/* --- Mobile standard (≤ 480px) --- */
@media (max-width: 480px) {

  .btn-premium {
    padding: 10px 18px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
  }

  .btn.btn-outline-light {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  .btn-dejuc {
    padding: 9px 18px;
    font-size: 0.82rem;
  }

  .btn {
    font-size: 0.82rem;
    padding: 9px 16px;
  }

  /* Hero CTA : pleine largeur, taille contenue */
  .hero-cta-group .btn,
  .hero-cta-group .btn-premium,
  .hero-cta-group .btn-outline-light {
    width: 100%;
    max-width: 280px;
    padding: 11px 16px;
    font-size: 0.84rem;
  }

  /* CTA section buttons */
  .cta-btn-group .btn {
    max-width: 270px;
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}

/* --- Petit mobile (≤ 360px) --- */
@media (max-width: 360px) {

  .btn-premium {
    padding: 9px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
  }

  .btn.btn-outline-light {
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  .btn-dejuc {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .btn {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .hero-cta-group .btn,
  .hero-cta-group .btn-premium,
  .hero-cta-group .btn-outline-light {
    max-width: 250px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .cta-btn-group .btn {
    max-width: 240px;
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  /* Navbar bouton consultation : masqué trop étroit */
  .btn-nav-consult {
    display: none;
  }
}

/* ==========================================================================
   PREMIUM CLEAN LIGHT FORM (mutualisé : contact.html + service_detail.html)
   ========================================================================== */
.premium-light-form-card {
  background: #ffffff;
  border: 1px solid rgba(27, 150, 200, 0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 80px rgba(27, 150, 200, 0.08), 0 0 0 1px rgba(27, 150, 200, 0.05);
  position: relative;
  overflow: hidden;
}
.premium-light-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--dejuc-blue), var(--dejuc-turquoise));
  z-index: 2;
}
.premium-light-form-card .z-1 {
  position: relative;
  z-index: 1;
}

.light-input-group label {
  color: var(--text-dark);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.light-input-group .form-control,
.light-input-group .form-select {
  background: #f8f9fa;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 14px 16px 14px 45px;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.3s ease;
}
.light-input-group textarea.form-control { padding-top: 16px; }
.light-input-group .form-control::placeholder { color: #a0aec0; }
.light-input-group .form-control:focus,
.light-input-group .form-select:focus {
  background: #ffffff;
  border-color: var(--dejuc-blue);
  box-shadow: 0 0 0 4px rgba(27, 150, 200, 0.1);
}
.light-input-group .icon-wrapper {
  position: absolute;
  left: 16px;
  top: 42px;
  color: var(--dejuc-blue);
  opacity: 0.6;
  z-index: 5;
  transition: all 0.3s ease;
}
.light-input-group .form-control:focus ~ .icon-wrapper,
.light-input-group .form-select:focus ~ .icon-wrapper {
  color: var(--dejuc-orange);
  opacity: 1;
}

@media (max-width: 768px) {
  .premium-light-form-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   POPUP CONSULTATION (mutualisé : base.html)
   ========================================================================== */
#lead-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
#lead-popup.active { display: flex; }
#lead-popup-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 17, 25, 0.75);
  backdrop-filter: blur(4px);
}
#lead-popup-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: popupSlide 0.4s ease;
}
@keyframes popupSlide {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
#lead-popup-card .dejuc-input {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.2s;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
#lead-popup-card .dejuc-input:focus {
  border-color: var(--dejuc-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
#lead-popup-card select.dejuc-input { background-color: #fff; }
#g_id_onload { display: none; }