/* ==========================================================
   CREASITE — CSS FINAL (HEADER + SLIDER)
   ========================================================== */

/* === VARIABLES & STRUCTURE GLOBALE === */
:root {
  --blue: #3b82f6;
  --green: #10b981;
  --orange: #f97316;
  --pink: #ec4899;
  --dark: #0f172a;
  --muted: rgba(15, 23, 42, 0.6);
  --shell-base: 1200px;
  --shell-wide: 1280px;
  --shell-pad: 32px;
}

/* === ANIMATIONS GLOBALES === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Alias pour slideDown (utilisé dans les messages) */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classes d'animation réutilisables */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

.animate-slide-in-down {
  animation: slideInDown 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale-up {
  animation: scaleUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 1s ease-in-out infinite;
}

.animate-rotate {
  animation: rotate 2s linear infinite;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-size: 16px;
  line-height: 1.6;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--dark);
  background-color: #ffffff;
}

/* Bootstrap Icons */
.bi {
  font-weight: 400;
  line-height: 1;
}

.container {
  width: 100%;
  max-width: var(--shell-base);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  box-sizing: border-box;
}

.shell-title {
  width: 100%;
  max-width: var(--shell-base);
  margin: 00px auto;
  box-sizing: border-box;
}

.shell-1200 {
  width: 100%;
  max-width: var(--shell-base);
  margin: 60px auto;
  box-sizing: border-box;
}

/* Padding responsive pour shell-1200 */
@media (max-width: 768px) {
  .shell-1200 {
    padding: 0 16px;
  }
}

.shell-1280 {
  width: 100%;
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  box-sizing: border-box;
}

.section {
  padding: 40px 0;
}

.lead {
  font-size: 1.125rem;
}

/* ==========================================================
   HEADER STICKY + NAVIGATION
   ========================================================== */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
}

/* Conteneur principal du header */
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgb(255 255 255);
  border-radius: 24px;
  padding: 14px 32px;
  box-shadow: 0 8px 28px rgb(191 191 191 / 65%);
  width: 100%;
  max-width: var(--shell-wide);
  box-sizing: border-box;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .nav-shell {
    padding: 10px 16px;
    justify-content: space-between;
  }
}

.brand {
  flex-shrink: 0;
}

/* === LOGO === */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.brand-text strong {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #f97316;
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
}

.custom-logo img {
  height: 48px;
  width: auto;
}

/* === MENU PRINCIPAL === */
.nav-main {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-main .menu {
  justify-content: center;
  width: 100%;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 24px;
}

/* === LIENS === */
a {
  text-decoration: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.menu>li>a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  color: #1f2937;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  outline: none;
}

.menu>li>a:hover {
  color: #f97316;
}

.menu>li>a:active,
.menu>li>a:focus {
  outline: none;
  color: #f97316;
}

/* Trait au hover */
.menu>li>a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f97316, #6419c7);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu>li>a:hover::after {
  width: 32px;
}

/* === Lien actif === */
.menu>li.current-menu-item>a,
.menu>li.current_page_parent>a {
  color: #f97316;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.9),
      rgba(249, 115, 22, 0.05),
      rgba(100, 25, 199, 0.05));
  border-radius: 14px;
  padding: 10px 18px;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.menu>li.current-menu-item>a::after,
.menu>li.current_page_parent>a::after {
  width: 32px;
  background: linear-gradient(90deg, #f97316, #6419c7);
}

/* === CTA === */
.btn.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #f97316, #6419c7);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.25);
  white-space: nowrap;
  transition: all 0.3s ease;
  margin-left: 10px;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.btn.cta .cta-icon,
.btn.cta .cta-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.btn.cta.BTNCTA {
  background: none;
  box-shadow: none;
  color: #f97316;
}

.btn.cta.BTNCTA:hover {
  filter: none;
}

.btn.cta:hover {
  filter: brightness(1.05);
}

/* === BURGER (mobile) === */
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #f97316, #6419c7);
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(100, 25, 199, 0.25);
  z-index: 1001;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  will-change: transform;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

/* Animation burger â†’ croix */
.nav-toggle.active span {
  background: transparent;
}

.nav-toggle.active span::before {
  transform: translate(-50%) rotate(45deg);
  top: 0;
}

.nav-toggle.active span::after {
  transform: translate(-50%) rotate(-45deg);
  top: 0;
}

/* === RESPONSIVE HEADER === */
/* Ã‰crans moyens (tablettes paysage / petits desktops) */
@media (min-width: 981px) and (max-width: 1200px) {
  .nav-shell {
    gap: 10px;
    padding: 10px 14px;
  }

  .btn.cta {
    padding: 10px 14px;
    gap: 6px;
    font-size: 0.9rem;
    margin-left: 6px;
  }

  /* Masquer les icÃ´nes pour Ã©conomiser de l'espace */
  .btn.cta .cta-icon,
  .btn.cta .cta-arrow {
    display: none;
  }

  /* RÃ©duire l'espacement du menu */
  .menu {
    gap: 8px;
  }

  .menu > li > a {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 980px) {
  .shell-1280 {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    padding: 0;
    box-sizing: border-box;
  }

  .header-shell {
    padding: 0 8px;
  }

  /* Neutraliser le container du header */
  .site-header .container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    box-sizing: border-box;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: block;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    backdrop-filter: blur(24px);
    z-index: 1000;
    box-sizing: border-box;
  }

  .nav-main.open {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .menu>li {
    width: 100%;
  }

  .menu>li>a {
    justify-content: flex-start;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: left;
    transition: all 0.3s ease;
    outline: none;
  }

  .menu>li>a:hover {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
  }

  .menu>li>a:active,
  .menu>li>a:focus {
    outline: none;
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
  }

  .menu>li.current-menu-item>a,
  .menu>li.current_page_parent>a {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
  }

  /* Effet cascade */
  .menu>li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }

  .nav-main.open .menu>li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-main.open .menu>li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav-main.open .menu>li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .nav-main.open .menu>li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav-main.open .menu>li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .nav-main.open .menu>li:nth-child(5) {
    transition-delay: 0.25s;
  }

  /* CTA mobile intÃ©grÃ© au menu */
  .site-header .btn.cta,
  .nav-main .btn.cta {
    display: none !important;
  }

  .nav-main.open .btn.cta {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 14px auto 18px;
    padding: 14px 0;
    border-radius: 14px;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    background: linear-gradient(90deg, #f97316 0%, #6419c7 100%);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.25);
    border: none;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.35s ease forwards;
    box-sizing: border-box;
  }

  .nav-main.open .btn.cta:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }

  .site-header.menu-open .nav-shell {
    border-radius: 24px 24px 0 0;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 981px) {
  .nav-main .btn.cta {
    display: none !important;
  }
}

/* Effet de flou du header fixÃ© */
.site-header.is-stuck .nav-shell {
  backdrop-filter: saturate(180%) blur(8px);
}

/* ==========================================================
   HERO SLIDER
   ========================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
}

.hero-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slider .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 23, 42, 0.8) 0%,
      rgba(249, 115, 22, 0.4) 100%);
}

/* === CONTENU === */
.hero-slider .content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
  box-sizing: border-box;
}

/* === BADGE === */
.hero-slider .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  margin-bottom: 18px;
}

.hero-slider .badge:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* === TEXTE === */
.hero-slider h1 {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
}
.hero-slider h2 {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
}

.hero-slider p {
  font-size: 1.1rem;
  color: #f2f4f6;
  margin-bottom: 30px;
  max-width: 600px;
}

/* === BOUTONS === */
.hero-slider .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-slider .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-slider .btn.primary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}

.hero-slider .btn.primary:hover {
  background: #f97316;
  color: #ffffff;
  border-color: #f97316;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.hero-slider .btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.hero-slider .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

/* === FLÃˆCHES === */
.hero-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-slider .nav.prev {
  left: 22px;
}

.hero-slider .nav.next {
  right: 22px;
}

.hero-slider .nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.05);
}

.hero-slider .nav .bi {
  font-size: 28px;
}

/* === DOTS === */
.hero-slider .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 15;
}

.hero-slider .dots button {
  width: 40px;
  height: 5px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.hero-slider .dots button.active {
  background: rgba(255, 255, 255, 0.9);
  width: 48px;
}

.hero-slider .dots button:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* === RESPONSIVE SLIDER === */
@media (max-width: 768px) {
  .hero-slider {
    height: 100vh;
    min-height: 600px;
  }

  .hero-slider .content {
    padding: 0 24px;
    padding-top: 40px;
    padding-bottom: 80px;
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero-slider .badge {
    font-size: 0.85rem;
    padding: 7px 14px;
    margin-bottom: auto;
    align-self: flex-start;
  }

  .hero-slider .dots {
    gap: 10px;
  }

  .hero-slider .dots button {
    width: 28px;
    height: 4px;
  }

  .hero-slider .dots button.active {
    width: 36px;
  }

  .hero-slider h1 {
    font-size: 44px;
    margin-bottom: 18px;
    line-height: 1.2;
    margin-top: auto;
  }

  .hero-slider p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-slider .nav {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .hero-slider .buttons {
    margin-bottom: 0;
  }
}

@media (max-width: 980px) {
  .site-header.is-stuck .nav-shell {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }

  .site-header.menu-open .nav-shell {
    border-radius: 28px 28px 0px 0px;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
  }
}

@media (max-width: 768px) {
  .hero-slider .buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }

  .hero-slider .buttons .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px 0;
  }
}

/* Ajustement des flÃ¨ches du slider sur mobile */
@media (max-width: 768px) {
  .hero-slider .nav.prev {
    /* left: 4px !important; /* rapproche la flÃ¨che gauche du bord */
    display: none;
  }

  .hero-slider .nav.next {
    /* right: 4px !important; /* rapproche la flÃ¨che droite du bord */
    display: none;
  }
}

/* Optimisation pour les trÃ¨s petits Ã©crans */
@media (max-width: 480px) {
  .hero-slider .content {
    padding: 28px 20px;
    padding-top: 110px;
  }

  .hero-slider .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .hero-slider h1 {
    font-size: 44px;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .hero-slider p {
    font-size: 1.05rem;
    margin-bottom: 26px;
    line-height: 1.6;
  }

  .hero-slider .buttons {
    margin-bottom: 50px;
  }

  .hero-slider .buttons .btn {
    padding: 14px 0;
    font-size: 1rem;
  }
}

/* === PAGE TITLE HERO SECTION === */
.page-title-hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 422px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 40px 0;
  margin: 0;
}

.page-title-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gradient-start, #ee721e) 0%, var(--gradient-end, #3b3663) 100%);
  opacity: 0.9;
  z-index: 0;
}

.page-title-hero .container-hero .shell-1200 {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
}

.page-title-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.page-title-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.page-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  color: white;
  text-transform: uppercase;
}

.page-title-badge i {
  font-size: 1rem;
}

.page-title-main {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.page-title-normal {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  display: block;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-title-accent {
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  display: block;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgb(197 197 197 / 40%);
  width: 100%;
  max-width: 100%;
  /* word-wrap: break-word; */
  overflow-wrap: break-word;
}

.page-title-description {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title-hero {
    min-height: 400px; 
    padding: 120px 20px 30px;
  }

  .page-title-normal {
    font-size: 1.75rem;
  }

  .page-title-accent {
    font-size: 2.5rem;
  }

  .page-title-description {
    font-size: 1rem;
  }

  .page-title-badge {
    font-size: 0.75rem;
    padding: 8px 18px;
  }
}

/* footer start */

/* === FOOTER GENERAL === */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', system-ui, sans-serif;
  padding-top: 60px;
}

/* === STRUCTURE === */
.footer-main {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  box-sizing: border-box;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

/* === LOGO ET TEXTE === */
.footer-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* === RÃ‰SEAUX SOCIAUX === */
.footer-social {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(249, 115, 22, 0.9);
}

/* === TITRES === */
.footer-title {
  color: #f97316;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* === LISTES === */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: relative;
  padding-left: 18px;
  transition: all 0.3s ease;
}

.footer-nav a::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  transition: color 0.3s ease;
}

.footer-nav a:hover::before {
  color: #ffffff;
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 24px;
}
.footer-contact a {
 color:rgba(255, 255, 255, 0.8);
}
.footer-contact a:hover {
     color: #fff;
    padding-left: 0px;
}
/* === CONTACT === */

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact i {
  color: #f97316;
  font-size: 1rem;
  margin-top: 4px;
}

/* === CTA === */
.footer-cta {
  background: linear-gradient(90deg, rgb(255 147 13 / 15%) 0%, rgba(59, 54, 99, 0.2) 50%, rgb(243 112 19 / 14%) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0px 15px 10px rgb(255 255 255 / 2%);
}

.footer-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cta-button {
  background: linear-gradient(90deg, #f97316, #6419c7);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 26px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.25);
  transition: all 0.3s ease;
}

.cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* === BAS DE PAGE === */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-container {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 16px;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

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

  .footer-contact .contact-item {
    justify-content: center;
  }

  .footer-cta {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav a {
    padding-left: 0;
  }

  .footer-nav a::before {
    display: none;
  }
}

/* footer end */

/* Section Contact */

.contact-container {
  width: 100%;
  max-width: var(--shell-base);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  box-sizing: border-box;
}

/* Info Cards Top Section */
/* Use unified .stats and .stat-card for all card sections (about, contact, portfolio) */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* Alias for contact page - uses stat-card styling */
.info-card {
  background: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.info-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #2d3748;
  margin: 15px 0 8px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #718096;
  font-weight: 600;
  margin: 0;
}

.info-card p a {
  color: #718096;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card p a:hover {
  color: #2d3748;
  text-decoration: underline;
}

/* Icon styling for contact page - use stat-icon styling */
.icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 28px;
  color: white;
  margin-bottom: 15px;
}

.icon-circle.blue {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.icon-circle.green {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.icon-circle.orange {
  background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%);
}

.icon-circle.pink {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

/* Main Content Layout */
.main-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 30px;
}

/* Contact Form Section */
.contact-form-section {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a202c;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label svg {
  width: 16px;
  height: 16px;
  color: #718096;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #2d3748;
  background: #f7fafc;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4A90E2;
  background: white;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 266px;
}

.form-group input[type="checkbox"] {
  flex-shrink: 0;
}

.contact-form .form-group:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-direction: row;
}

.form-group label[for="privacy_policy"] {
  white-space: nowrap;
}

.submit-btn {
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  box-sizing: border-box;
  max-width: 100%;
  margin-top: auto;
}

.submit-btn svg {
  width: 18px;
  height: 18px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Why Choose Us Card */
.why-choose-card {
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  padding: 35px;
  border-radius: 20px;
  color: white;
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.why-choose-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.benefits-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hours Card */
.hours-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.hours-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a202c;
  margin-bottom: 20px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #f7fafc;
}

.hours-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-item span:first-child {
  font-size: 14px;
  color: #2d3748;
  font-weight: 600;
}

.hours-item span:last-child {
  font-size: 14px;
  color: #718096;
  font-weight: 500;
}

/* Emergency Card */
.emergency-card {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

.emergency-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.emergency-icon svg {
  width: 32px;
  height: 32px;
}

.emergency-card h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.emergency-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.95;
}

.emergency-btn {
  background: white;
  color: #2ECC71;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.emergency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .info-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 180px;
  }

  .contact-form {
    gap: 15px;
    min-height: auto;
  }

  .contact-form-section {
    padding: 25px;
  }

  .submit-btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
  }

  .why-choose-card,
  .hours-card,
  .emergency-card {
    padding: 25px;
  }

  .contact-section {
    padding: 00px 15px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 00px 10px;
  }

  .contact-form-section {
    padding: 20px;
  }

  .contact-form-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  /* Ensure form rows are single column and fully visible */
  .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .form-row .form-group {
    width: 100% !important;
  }

  .form-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 5px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 12px;
    font-size: 16px;
    border-radius: 8px;
    width: 100% !important;
    box-sizing: border-box;
  }

  .form-group textarea {
    min-height: 140px;
  }

  .submit-btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 16px;
  }

  .why-choose-card,
  .hours-card,
  .emergency-card {
    padding: 20px;
  }

  .emergency-card h3,
  .why-choose-card h3,
  .hours-card h3 {
    font-size: 18px;
  }
}

/* ============================
   Prestations (services)
============================ */

.services-section {
  padding: 80px 0;
  background: #f8fafc;
  --service-icon-bg: #f97316;
  --service-icon-color: #ffffff;
  --service-badge-bg: #0f172a;
  --service-badge-color: #ffffff;
  --service-title-color: #0f172a;
  --service-arrow-bg: rgba(100, 25, 199, 0.12);
  --service-arrow-color: #6419c7;
  --service-icon-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}

/* En-tÃªte de section */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Grille des cartes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

/* Palette par carte pour coller au visuel fourni */
.service-card {
  --card-accent: var(--service-icon-bg);
  --card-accent-strong: var(--service-arrow-color);
  --card-accent-soft: #eef2ff;
  --card-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.services-grid .service-card:nth-child(6n + 1) {
  --card-accent: #27c5ff;
  --card-accent-strong: #1be9ff;
  --card-accent-soft: #e6f8ff;
}

.services-grid .service-card:nth-child(6n + 2) {
  --card-accent: #f85270;
  --card-accent-strong: #ff9c68;
  --card-accent-soft: #ffeff2;
}

.services-grid .service-card:nth-child(6n + 3) {
  --card-accent: #31d571;
  --card-accent-strong: #47e9b0;
  --card-accent-soft: #ebfff5;
}

.services-grid .service-card:nth-child(6n + 4) {
  --card-accent: #ff9a62;
  --card-accent-strong: #ff6f60;
  --card-accent-soft: #fff3eb;
}

.services-grid .service-card:nth-child(6n + 5) {
  --card-accent: #6f8bff;
  --card-accent-strong: #6b9bff;
  --card-accent-soft: #eef2ff;
}

.services-grid .service-card:nth-child(6n) {
  --card-accent: #ffc861;
  --card-accent-strong: #f97316;
  --card-accent-soft: #fff7e8;
}

.services-grid .service-card:nth-child(6n + 1) { --card-surface: var(--service-bg-1); }
.services-grid .service-card:nth-child(6n + 2) { --card-surface: var(--service-bg-2); }
.services-grid .service-card:nth-child(6n + 3) { --card-surface: var(--service-bg-3); }
.services-grid .service-card:nth-child(6n + 4) { --card-surface: var(--service-bg-4); }
.services-grid .service-card:nth-child(6n + 5) { --card-surface: var(--service-bg-5); }
.services-grid .service-card:nth-child(6n)     { --card-surface: var(--service-bg-6); }

.service-card:hover {
  background: var(--card-accent-soft);
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.service-card:hover h3 {
  color: var(--card-accent);
}

/* En-tÃªte avec icÃ´ne et badge */
.icon-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--card-accent-strong), var(--card-accent));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  font-size: 26px;
}

.service-icon .bi,
.service-icon .ph {
  font-size: 22px;
}

.service-icon .icon-glyph {
  font-size: 24px;
  line-height: 1;
}

.icon-tag .tag {
  padding: 6px 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--card-accent-strong), var(--card-accent));
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Corps de carte */
.service-card h1,
.service-card h3 {
  color: #0f172a;
  font-weight: 800;
  margin: 0 0 6px;
  transition: color 0.25s ease;
}

.service-card h1 { font-size: 1.8rem; }
.service-card h3 { font-size: 1.22rem; font-weight: 800; }

.service-card p {
  margin: 0 0 14px;
  color: #475569;
  font-size: 0.98rem;
}

.service-excerpt { font-size: 1rem; color: #0f172a; }
.service-card .muted-text { color: #64748b; }

.service-card ul {
  list-style: none;
  margin: 0 0 14px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  font-size: 0.94rem;
}

.service-card ul li .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card-accent-soft);
  color: var(--card-accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.no-services {
  color: #6b7280;
  font-weight: 600;
  text-align: center;
}

/* Pied de carte */
.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--card-accent);
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: auto;
  text-decoration: none;
  justify-content: space-between;
}

.service-card .read-more:hover .arrow-icon {
  transform: translateX(4px);
}

.service-card .arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 40%;
  background: linear-gradient(135deg, var(--card-accent-strong), var(--card-accent));
  color: white;
  font-weight: 800;
  transition: transform 0.2s ease;
    border: 1px solid white;

}



/* MÃ©thodologie & Pourquoi nous choisir */
.methodology-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 80px;
  align-items: stretch;
}

.methodology,
.why-us {
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.methodology {
  background: #ffffff;
  border: 1px solid #eef2ff;
}

.methodology-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.methodology-head .service-icon {
  background: linear-gradient(135deg, #7dd3fc, #4f46e5);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25);
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.methodology-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.methodology-head .service-icon {
  background: linear-gradient(135deg, #FF8C42, #F97316);
  box-shadow: 0 12px 30px rgba(255, 140, 66, 0.25);
}

.methodology h2,
.why-us h2 {
  margin: 6px 0 16px;
  font-size: 1.6rem;
  font-weight: 800;
}

.methodology .muted-text,
.why-us .muted-text {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.98rem;
}

.methodology ul,
.why-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.methodology li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 6px;
}

.methodology .step {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-title {
  font-weight: 800;
  font-size: 1rem;
}

.step-desc {
  color: #475569;
  font-size: 0.95rem;
}

.accent-blue { color: #4A90E2; }
.accent-green { color: #2ECC71; }
.accent-orange { color: #FF8C42; }
.accent-pink { color: #E91E63; }

.step-1 { background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%); }
.step-2 { background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%); }
.step-3 { background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%); }
.step-4 { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }

.why-us {
  background: linear-gradient(135deg, #FF8C42 0%, #E91E63 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-us::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.15), transparent 30%);
  pointer-events: none;
}

.why-us h2,
.why-us .section-eyebrow,
.why-us ul,
.why-us li {
  position: relative;
  z-index: 1;
}

.why-us .section-eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.why-us li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 6px;
  font-size: 1rem;
}

.why-us li i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.why-us h2 {
  color: #fff;
}

@media (max-width: 960px) {
  .methodology-why {
    grid-template-columns: 1fr;
  }
}

/* CTA final */
.cta-final {
  margin-top: 80px;
  padding: 50px 30px;
  border-radius: 16px;
  background: linear-gradient(to right, #f97316, #7c3aed);
  color: white;
  text-align: center;
  box-shadow: 0 15px 40px rgba(100, 25, 199, 0.25);
}

.cta-final h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 800;
}

.cta-final p {
  margin-bottom: 30px;
  font-size: 1rem;
}

.cta-final .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  background: white;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-final .cta-button:hover {
  background: #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .methodology-why {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Page Ã€ propos / About
============================ */

.section-title {
    text-align: center;
    margin: 70px 0 30px;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
}

/* STATS */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
}

.stat-icon.blue { background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%); }
.stat-icon.green { background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%); }
.stat-icon.orange { background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%); }
.stat-icon.pink { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }

.stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    color: #2d3748;
    margin: 15px 0 8px;
}

.stat-card p {
    font-size: 14px;
    color: #718096;
    font-weight: 600;
    margin: 0;
}

/* VALUES */
.values {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.value-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-bottom: 15px;
    font-size: 28px;
    color: white;
}

.value-icon.blue { background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%); }
.value-icon.green { background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%); }
.value-icon.orange { background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%); }
.value-icon.pink { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a202c;
    margin: 20px 0 12px;
}

.value-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 15px;
}

.value-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.value-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.value-card ul li i {
    color: var(--green);
    font-size: 16px;
}

/* TIMELINE */
.timeline-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 15px 0 10px;
}

.timeline-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.tag.blue { background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%); }
.tag.green { background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%); }
.tag.orange { background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%); }
.tag.pink { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }

/* TEAM */
.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 20px 0 8px;
    padding: 0 20px;
}

.team-card .role.blue { color: var(--blue); }
.role.green { color: var(--green); }
.role.orange { color: var(--orange); }
.role.pink { color: var(--pink); }
.role.red { color: var(--orange); }

/* TECHNOLOGIES */
.technologies {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.tech-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.tech-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.tech-card:nth-child(2) .tech-icon { background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%); }
.tech-card:nth-child(3) .tech-icon { background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%); }
.tech-card:nth-child(4) .tech-icon { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }
.tech-card:nth-child(5) .tech-icon { background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%); }
.tech-card:nth-child(6) .tech-icon { background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%); }
.tech-card:nth-child(7) .tech-icon { background: linear-gradient(135deg, #FF8C42 0%, #F97316 100%); }
.tech-card:nth-child(8) .tech-icon { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }

.tech-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 15px 0 10px;
}

.tech-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* OUR STORY */
.story-content {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: justify;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-content strong {
    color: #1a202c;
    font-weight: 700;
}
/* TWO COLS */
.one-col {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr ;
    gap: 25px;
}
/* TWO COLS */
.two-cols {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.mission,
.certifs {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.mission ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.mission ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mission ul li i {
    color: var(--blue);
    font-size: 16px;
}

.certifs {
    background: linear-gradient(135deg,#3b82f6,#10b981);
    color: white;
}

.cert-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.cert {
    background: rgba(255,255,255,.15);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.95rem;
    color: white;
}

.engagement-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.engagement-list li {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.engagement-list li i {
    color: white;
}

/* ICON WRAP */
.icon-wrap {
    font-size: 35px;
    margin-bottom: 15px;
}

.icon-wrap.blue { color: var(--blue); }
.icon-wrap.white { color: white; }

/* PROJECT LOGO */
.project-logo-wrap {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-logo-animated {
    max-width: 120px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: float-logo 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.project-logo-animated:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* JOIN */
.join {
    margin: 60px 0px 60px 0px;
    background: linear-gradient(135deg,#3b82f6,#10b981);
    padding: 50px;
    border-radius: 25px;
    color: white;
    text-align: center;
}

.join-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.join-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.25s;
    box-sizing: border-box;
    max-width: 100%;
}

.btn.white {
    background: white;
    color: var(--dark);
}

.btn.white-outline {
    border: 2px solid white;
    color: white;
}

.btn.white:hover {
    opacity: .8;
}

/* === PORTFOLIO === */
.portfolio-page {
    background: #fff;
}

.portfolio-hero {
    padding: 0px 0 0px;
    background: #ffffff;
}

.portfolio-hero .eyebrow {
    color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.portfolio-hero h1 {
    font-size: 2.6rem;
    margin: 10px 0;
}

.portfolio-hero .lead {
    color: var(--muted);
    max-width: 760px;
    margin-bottom: 25px;
}

/* Portfolio stats grid - now using unified .stats class for all card sections */

.portfolio-filter-bar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto 40px;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.portfolio-filters .filter {
    border: 0;
    background: #fff;
    color: var(--dark);
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
}

.portfolio-filters .filter.active {
    background: linear-gradient(135deg,#22c55e,#0ea5e9);
    color: white;
    box-shadow: 0 10px 30px rgba(14,165,233,.35);
}

.listing-head .eyebrow {
    margin: 0;
}

.listing-head h2 {
    margin: 4px 0 0;
}

.listing-head .portfolio-filters {
    justify-content: flex-end;
}

.portfolio-listing {

}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 28px;
    margin-top: 10px;
}

.portfolio-grid.single-project {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-card {
    --accent-start: #2563eb;
    --accent-end: #0ea5e9;
    background: white;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.portfolio-card:hover {
    transform: translateY(-2.5px);
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
}

.portfolio-card:hover .card-media::after {
    background: linear-gradient(370deg, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.38) 100%);
}

.portfolio-card:hover .card-media img {
    transform: scale(1.06);
}

.card-media {
    position: relative;
}

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25) 100%);
    border-radius: 0 0 0 0;
    pointer-events: none;
    transition: background .25s ease;
}

.card-media img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.media-overlay {
    position: absolute;
    inset: 0;
    padding: 14px;
    pointer-events: none;
}

.badge-year {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff;
    padding: 8px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(15,23,42,.2);
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 1;
}

.chips {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-block;
    padding: 4px 10px;
    background: #fff3;
    color: #ffffff;
    /* border: 1px solid rgb(147 147 147 / 40%); */
    border-radius: 28px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: none;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    /* box-shadow: 0 4px 12px rgb(181 181 181 / 30%); */
    z-index: 1;
}

.badge-year-hero {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.18);
}

.card-body {
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pill.success { background: #dcfce7; color: #166534; }
.pill.neutral { background: #e2e8f0; color: #0f172a; }
.badge-year-hero { margin-left: auto; }

.card-body h3 {
    font-size: 1.2rem;
    margin: 0;
}

.card-body h3 a { color: var(--dark); }

.card-desc {
    color: var(--muted);
    margin: 0;
}

.card-divider {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 6px 0 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.metric {
    background: transparent;
    padding: 0 8px;
    border-radius: 10px;
    text-align: center;
    border: none;
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    align-content: space-around;
    align-items: center;
}

.metric-label {
    display: block;
    color: var(--muted);
    font-weight: 700;
    font-size: .9rem;
    margin-top: 2px;
}

.metric-value {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg,var(--accent-start),var(--accent-end));
    -webkit-background-clip: text;
    color: transparent;
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.card-footer .btn.cta {
    background: linear-gradient(135deg,var(--accent-start),var(--accent-end));
    color: white;
    padding: 14px 16px;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1rem;
    box-sizing: border-box;
}

.portfolio-single .btn.cta {
    background: linear-gradient(135deg,var(--accent-start),var(--accent-end));
    box-shadow: 0 14px 30px rgba(14,165,233,.25);
}
button.btn.load-more-btn {
    align-items: center;
    display: flex;
}
.load-more-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.portfolio-categories {
    padding: 20px 0 70px;
    background: #0f172a;
    color: #e2e8f0;
}

.portfolio-categories .section-heading {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.portfolio-categories .section-heading h2 {
    color: #fff;
    margin: 6px 0 10px;
}

.portfolio-categories .lead {
    color: rgba(226,232,240,.82);
}

.category-shortcode .category-shortcode code {
    background: #0f172a;
    color: #e2e8f0;
    padding: 10px 12px;
    border-radius: 10px;
    display: block;
    word-break: break-all;
}

.portfolio-shortcode {
    padding: 10px 0 70px;
    background: #f8fafc;
}

.portfolio-shortcode h2 {
    margin-bottom: 10px;
}

.shortcode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 16px;
    margin-top: 20px;
}

.code-card code {
    background: #0f172a;
    color: #e2e8f0;
    padding: 10px 12px;
    border-radius: 10px;
    display: block;
    word-break: break-all;
}

.portfolio-cta {
    padding: 30px 0 80px;
}

.cta-card {
    background: linear-gradient(135deg,#1cc7a4,#148ae5);
    border-radius: 20px;
    padding: 26px 28px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color: white;
    box-shadow: 0 18px 45px rgba(20,138,229,.25);
    gap: 20px;
    text-align:center;
}

.cta-card h3 {
    margin: 6px 0 0;
    font-size: 1.4rem;
}

.cta-card .btn.cta {
    background: white;
    color: #0f172a;
    box-shadow: none;
}

.portfolio-single {
    background: #fdfdfd;
    padding: 0;
    border-radius: 26px;
    overflow: hidden;
}

/* Back Link */
.back-link a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #0f172a;
}

.back-link i {
    margin-right: 8px;
    font-size: 12px;
}

/* Case Hero Header */
.case-hero-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.project-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f97316;
    margin: 0 0 16px 0;
}

.project-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.case-hero-media img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(17, 24, 39, .24);
    margin-bottom: 4px;
    object-fit: cover;
}

.case-metric div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.case-card::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 18px;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f07935, #d33286);
    box-shadow: 0 12px 28px rgba(240,121,53,.35);
    opacity: .9;
}

.case-card h3 {
    margin: 4px 0 14px 48px;
}

.case-card p {
    color: #475569;
    line-height: 1.65;
}

.case-features h3 {
    text-align: center;
    margin: 0;
}

.case-features ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.case-feature + .feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    color: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.gradient-cta .cta-card {
    background: linear-gradient(135deg, #f97316 0%, #4c1d95 100%);
    color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 26px 64px rgba(249, 115, 22, .28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.gradient-cta .cta-card h3 {
    margin: 0;
    font-size: 1.32rem;
    font-weight: 800;
}

.gradient-cta .btn.cta {
    background: white;
    color: #0f172a;
    box-shadow: 0 12px 26px rgba(255,255,255,.28);
}

@media (max-width: 768px){
    .gradient-cta .cta-card { flex-direction: column; gap: 14px; text-align: center; }
}

.single-hero h1 { margin: 8px 0 12px; }
.single-hero .lead { color: var(--muted); max-width: 820px; }

.single-media img { width: 100%; border-radius: 18px; box-shadow: 0 14px 30px rgba(0,0,0,.08); }

@media (max-width: 1024px){
    .portfolio-hero {
        padding: 0px 0 32px;
    }

    .card-media img {
        height: 232px;
    }

    .portfolio-single {
        padding: 32px;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Responsive iPad / Tablette (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Stats cards responsive - now using unified .stats class */

    /* Padding pour tablettes */
    .shell-1200 {
        padding: 0 24px;
    }

    /* Hero section optimisÃ© pour tablette */
    .portfolio-hero {
        padding: 00px 0 40px;
    }

    .portfolio-hero h1 {
        font-size: 2.3rem;
    }

    .portfolio-hero .lead {
        font-size: 1.1rem;
    }

    /* Portfolio filters responsive */
    .portfolio-filters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* CTA Banner optimisÃ© */
    .cta-banner {
        padding: 60px 0;
    }

    .cta-banner-content h2 {
        font-size: 2rem;
    }

    .cta-banner-content p {
        font-size: 1rem;
    }

    /* Stats Vision Section */
    .stats-vision-section {
        padding: 60px 0;
    }

    .stats-vision-left {
        text-align: center;
    }

    .vision-list {
        margin: 24px auto;
        max-width: 500px;
    }

    .stats-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Tech Grid optimisÃ© */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Section titles */
    .section-header-center h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px){
    .portfolio-hero h1 {
        font-size: 2.1rem;
    }

    .portfolio-hero .lead {
        font-size: 1rem;
    }

    .portfolio-filters {
        overflow-x: auto;
        padding: 0 6px 6px;
        margin: 0 -6px;
    }

    .portfolio-filters .filter {
        white-space: nowrap;
    }

    .card-media img {
        height: 221px;
    }

    .card-body {
        padding: 18px;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .card-footer .btn.cta {
        width: auto;
        justify-content: center;
    }
}

@media (max-width: 540px){
    .portfolio-hero {
        padding: 0px 0 26px;
    }

    .portfolio-hero h1 {
        font-size: 1.9rem;
    }

    /* .stats responsive - now using unified class */

    .portfolio-single {
        padding: 24px;
    }
}

/* RESPONSIVE */
@media (max-width: 980px){
    .stats,
    .values,
    .technologies,
    .info-cards {
        grid-template-columns: repeat(2,1fr);
    }

    .two-cols {
        grid-template-columns: 1fr;
    }

    .join {
        padding: 40px 30px;
    }

    .join-buttons {
        flex-direction: column;
    }

    .cert-list {
        grid-template-columns: 1fr;
    }

    .mission,
    .certifs {
        padding: 25px;
    }
}

@media (max-width: 600px){
    .stats,
    .values,
    .technologies,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .join {
        margin: 40px 0;
        padding: 30px 20px;
    }

    .join h3 {
        font-size: 1.3rem;
    }

    .join-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        width: 100%;
    }

    .two-cols {
        gap: 16px;
    }

    .mission,
    .certifs {
        padding: 20px;
    }

    .cert-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cert {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .icon-wrap {
        font-size: 28px;
    }

    .values {
        gap: 16px;
        margin-top: 30px;
    }

    .value-card {
        padding: 20px;
    }

    .value-card h3 {
        font-size: 1.1rem;
    }

    .value-card ul li {
        font-size: 0.9rem;
    }
}

/* ===================================
   MODERN PORTFOLIO SINGLE PAGE
   =================================== */

/* Modern Container */
.modern-portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Modern Back Link */
.modern-back-link {
    margin-bottom: 40px;
}

.modern-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modern-back-link a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Modern Hero */
.modern-hero {
    margin-bottom: 60px;
}

.modern-hero-content {
    margin-bottom: 40px;
}

.project-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.modern-title {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 16px 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    margin: 0 0 20px 0;
}

.modern-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 800px;
    margin: 0;
}

.modern-hero-image {
    position: relative;
    width: 100%;
    height: auto;
}

.modern-hero-image::before {
    display: none;
}

.modern-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Gallery Layout */
/* Gallery Display - Center Large + Side Small */
.project-gallery-simple {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    width: 100%;
    align-items: center;
}

.gallery-item-simple {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Grande image du haut */
.gallery-row-top .gallery-item-simple {
    height: 450px;
}

.gallery-item-simple:nth-child(2) {
    aspect-ratio: 4/3;
}

.gallery-item-simple img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
    .project-gallery-simple {
        grid-template-columns: 1fr 1.5fr 1fr;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .project-gallery-simple {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item-simple {
        height: 250px;
        border-radius: 12px;
    }

    }

/* Modern Duo Section */
.modern-duo-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.modern-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.modern-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.modern-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.challenge-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.solution-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.modern-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.modern-card-body p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* Website Card Content */
.modern-website-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.modern-website-logo {
    width: 100%;
    max-width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}

.modern-website-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modern-website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.modern-website-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.modern-website-placeholder {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

/* Modern Features */
.modern-features-section {
    margin: 80px 0;
}

.modern-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 0 0 50px 0;
}

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-feature-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.modern-feature-item::before {
    display: none;
}

.modern-feature-number {
    display: none;
}

.modern-feature-icon {
    font-size: 24px;
    color: #f97316;
    flex-shrink: 0;
}

.modern-feature-text {
    flex: 1;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
}

.modern-feature-check {
    display: none;
}

/* Modern CTA */
.modern-cta-section {
    margin: 80px 0 0;
}

.modern-cta-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modern-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.modern-cta-content {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.modern-cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.modern-cta-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 16px 0;
}

.modern-cta-content p {
    font-size: 1.125rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

.modern-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.modern-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.modern-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .modern-title {
        font-size: 2rem;
    }

    .modern-subtitle {
        font-size: 1.25rem;
    }

    .modern-metrics {
        grid-template-columns: 1fr;
    }

    .modern-duo-section {
        grid-template-columns: 1fr;
    }

    .modern-features-grid {
        grid-template-columns: 1fr;
    }

    .modern-cta-card {
        padding: 40px 24px;
    }

    .modern-cta-content h3 {
        font-size: 1.75rem;
    }

    .modern-cta-actions {
        flex-direction: column;
    }

    .modern-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   HOMEPAGE STYLES
   =================================== */

/* Hero Home */
.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin: 0 0 24px 0;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 40px 0;
}

/* Section Badges */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Section Headers */
.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Technologies Section */
.technologies-section {
    padding: 80px 0;
    background: #f8fafc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.tech-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #e0e7ff;
}

.tech-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    color: white;
}

.tech-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.tech-icon.purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.tech-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.tech-icon.orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.tech-icon.yellow { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }

.tech-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 12px;
    margin-bottom: 12px;
    color: white;
}

.tech-badge.blue { background: #3b82f6; }
.tech-badge.purple { background: #8b5cf6; }
.tech-badge.green { background: #10b981; }
.tech-badge.orange { background: #f97316; }
.tech-badge.yellow { background: #fbbf24; }

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.tech-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.tech-link {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tech-link:hover {
    gap: 12px;
    color: #4f46e5;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin: 0 0 16px 0;
}

.cta-banner-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Vision Section */
.stats-vision-section {
    padding: 80px 0;
    background: white;
}

.stats-vision-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-intro {
    font-size: 1rem;
    color: #64748b;
    margin: 24px 0;
    line-height: 1.8;
}

.vision-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.vision-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vision-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.vision-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.vision-icon.purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.vision-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.vision-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.vision-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.stats-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card-home {
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

.stat-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon-home {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    color: white;
}

.stat-card-home.blue .stat-icon-home { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.stat-card-home.purple .stat-icon-home { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.stat-card-home.green .stat-icon-home { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.stat-card-home.orange .stat-icon-home { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

.stat-value-home {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 8px;
}

.stat-label-home {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
    font-weight: 600;
}

/* Portfolio Home Section */
.portfolio-home-section {
    padding: 80px 0;
    background: #f8fafc;
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* Prestations Home Section */
.prestations-home-section {
    padding: 80px 0;
    background: white;
}

.prestations-cta {
    text-align: center;
    margin-top: 48px;
}

/* Contact Home Section */
.contact-home-section {
    padding: 80px 0;
    background: white;
}

.contact-home-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-home-left h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.contact-home-left p {
    color: #64748b;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.home-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.home-contact-form input,
.home-contact-form select,
.home-contact-form textarea {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.home-contact-form input:focus,
.home-contact-form select:focus,
.home-contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-home-right h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 24px 0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.contact-info-item p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.contact-urgent {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    padding: 31px;
    border-radius: 16px;
    color: white;
    text-align: center;
}

.contact-urgent h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.contact-urgent p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.btn-primary {
    background: white;
    color: #f97316;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-white {
    background: white;
    color: #6366f1;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-primary-outline:hover {
    background: #6366f1;
    color: white;
}

.btn-urgent {
    background: white;
    color: #f97316;
    padding: 12px 24px;
}

.btn-urgent:hover {
    background: rgba(255, 255, 255, 0.95);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-vision-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-home-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid-home {
        grid-template-columns: 1fr;
    }

    .home-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SERVICE DETAIL PAGE - NEW DESIGN
   ============================================ */

/* Hero Section */
.service-hero {
    background-color: #f97316;
    background-image: linear-gradient(135deg, rgba(249, 115, 22, 0.95) 0%, rgba(236, 72, 153, 0.95) 50%, rgba(139, 92, 246, 0.95) 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.85) 0%, rgba(236, 72, 153, 0.85) 50%, rgba(139, 92, 246, 0.85) 100%);
    z-index: 0;
}

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

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.service-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin: 0 0 24px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-hero-title-accent {
    color: #10b981;
    display: block;
    text-transform: uppercase;
}

.service-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
.service-features {
    padding: 80px 0;
    background: white;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.service-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 16px;
    color: white;
    font-size: 28px;
}

.service-feature-icon i {
    font-size: 28px;
}

.service-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

.service-feature-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Process Section */
.service-process {
    padding: 80px 0;
    background: #f9fafb;
}

.service-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}

.service-section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #64748b;
    margin: 0 0 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-process-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-process-item {
    background: white;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-process-item:hover {
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.1);
    transform: translateX(8px);
}

.service-process-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.service-process-content {
    flex: 1;
}

.service-process-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.service-process-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.service-pricing {
    padding: 80px 0;
    background: white;
}

.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-pricing-card.featured {
    border-color: #10b981;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.service-pricing-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.service-pricing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.service-pricing-card-blue .service-pricing-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.service-pricing-card-green .service-pricing-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.service-pricing-card-orange .service-pricing-icon {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.service-pricing-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px;
}

.service-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.service-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.service-pricing-features li:last-child {
    border-bottom: none;
}

.service-pricing-features li i {
    color: #10b981;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-pricing-btn {
    display: block;
    width: 100%;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: auto;
}

.service-pricing-card-blue .service-pricing-btn {
    background: #3b82f6;
    color: white;
}

.service-pricing-card-blue .service-pricing-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.service-pricing-card-green .service-pricing-btn {
    background: #10b981;
    color: white;
}

.service-pricing-card-green .service-pricing-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.service-pricing-card-orange .service-pricing-btn {
    background: #f97316;
    color: white;
}

.service-pricing-card-orange .service-pricing-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
}

/* Realizations Section */
.service-realizations {
    padding: 80px 0;
}

.service-realizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-realization-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-realization-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.service-realization-image,
.service-realization-logo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-realization-image img,
.service-realization-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-realization-logo img {
    object-fit: contain;
    padding: 24px;
}

.service-realization-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-realization-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
}

.service-realization-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
    flex-grow: 1;
}

.service-realization-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.service-realization-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
}

/* Technologies Section */
.service-technologies {
    padding: 80px 0;
    background: #f9fafb;
}

.service-technologies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.service-tech-badge {
    background: white;
    border: 1px solid #e5e7eb;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-tech-badge:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* CTA Section */
.service-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #10b981 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.service-cta .container {
    position: relative;
    z-index: 1;
}

.service-cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0 0 16px;
}

.service-cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.service-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.service-cta-buttons .btn {
    padding: 16px 40px;
    font-size: 1.125rem;
    border-radius: 12px;
    font-weight: 700;
}

.service-cta-buttons .btn-primary {
    background: white;
    color: #1e40af;
}

.service-cta-buttons .btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}

.service-cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.service-cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* === SERVICE CTA GRADIENT SECTION === */
.service-cta-gradient {
    padding: 80px 40px;
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin: 80px 0;
}

.service-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-cta-eyebrow {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px;
    letter-spacing: 0.5px;
}

.service-cta-gradient .service-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 32px;
    line-height: 1.2;
}

.btn-cta-white {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    background: white;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #f9fafb;
}

/* Responsive Design */
@media (max-width: 980px) {
    .service-hero-title {
        font-size: 3rem;
    }

    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .service-pricing-card.featured {
        transform: scale(1);
    }

    .service-pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .service-process-item {
        flex-direction: column;
    }

    .service-cta-title {
        font-size: 2.25rem;
    }

    .service-cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .service-cta-buttons .btn {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }

    .service-hero-title {
        font-size: 2.5rem;
    }

    .service-hero-description {
        font-size: 1rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .service-features,
    .service-process,
    .service-pricing,
    .service-technologies {
        padding: 60px 0;
    }

    .service-section-title {
        font-size: 2rem;
    }

    .service-process-item {
        padding: 24px;
        gap: 16px;
    }

    .service-process-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .service-cta {
        padding: 80px 0;
    }

    .service-cta-title {
        font-size: 1.875rem;
    }

    .service-cta-description {
        font-size: 1rem;
    }

    .service-cta-gradient {
        padding: 60px 20px;
        margin: 60px 0;
        border-radius: 20px;
    }

    .service-cta-gradient .service-cta-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .service-cta-eyebrow {
        font-size: 0.9rem;
    }

    .btn-cta-white {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
}

/* ============ Error Pages ============ */
.error-page-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

.error-content {
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 2.5rem;
    color: #0f172a;
    margin: 20px 0;
    font-weight: 800;
}

.error-message {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 20px auto 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 14px 32px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

.error-suggestions {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions h3 {
    color: #0f172a;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.error-suggestions li:hover {
    background: #f0f9ff;
    transform: translateX(8px);
}

.error-suggestions a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: block;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

    .error-content h1 {
        font-size: 1.8rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* === CLASSES CSS RÉUTILISABLES AVEC GRADIENT DE PAGE === */
/*
 * Les variables --page-gradient-start et --page-gradient-end sont définies
 * dynamiquement dans title.php en fonction de chaque page.
 * Utilisez ces classes pour appliquer le même gradient ailleurs sur la page.
 */

/* Gradient en arrière-plan */
.gradient-bg {
  background: linear-gradient(135deg, var(--page-gradient-start), var(--page-gradient-end));
}

/* Gradient semi-transparent */
.gradient-bg-light {
  background: linear-gradient(135deg, rgba(var(--page-gradient-start), 0.15), rgba(var(--page-gradient-end), 0.15));
}

/* Gradient sur le texte */
.gradient-text {
  background: linear-gradient(135deg, var(--page-gradient-start), var(--page-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bordure avec gradient */
.gradient-border {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--page-gradient-start), var(--page-gradient-end)) border-box;
}

/* Shadow avec couleur du gradient */
.gradient-shadow {
  box-shadow: 0 10px 30px rgba(var(--page-gradient-start), 0.3);
}

/* Accent bar/underline */
.gradient-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--page-gradient-start), var(--page-gradient-end));
  border-radius: 2px;
}

/* Divider line */
.gradient-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--page-gradient-start), var(--page-gradient-end), transparent);
}

/* === ANIMATIONS APPLIQUÉES AUX ÉLÉMENTS === */

/* Page Title Hero */
.page-title-hero {
  /* Aucune animation */
}

/* Page Title Content */
.page-title-content {
  /* Aucune animation */
}

/* Page Title Badge - Animation du fond vers l'avant */
.page-title-badge {
  animation: scaleUp 0.6s ease-out 0.2s both;
}

.page-title-badge:nth-child(2) {
  animation: scaleUp 0.6s ease-out 0.25s both;
}

.page-title-badge:nth-child(3) {
  animation: scaleUp 0.6s ease-out 0.3s both;
}

/* Page Title Main - Animation du fond vers l'avant */
.page-title-main {
  animation: scaleUp 0.6s ease-out 0s both;
}

/* Page Title Description - Animation du fond vers l'avant */
.page-title-description {
  animation: scaleUp 0.6s ease-out 0.4s both;
}

/* Menu Links - Hover animation */
.menu>li>a {
  position: relative;
}

.menu>li>a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 115, 22, 0.05);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.menu>li>a:hover::before {
  opacity: 1;
}

/* Boutons - Animation au hover */
.btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Cards et sections */
.portfolio-card {
  /* Animation supprimée */
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

/* Service Cards - Animation réduite */
.service-card {
  /* Animation supprimée */
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  /* Animation supprimée */
}

.cta-content {
  /* Animation supprimée */
}

/* Hero Slider */
.slide {
  /* Animation supprimée - slider ne doit pas animer */
}

.slide.active {
  /* Animation supprimée - slider ne doit pas animer */
}

/* Error Pages */
.error-content {
  /* Aucune animation */
}

.error-code {
  /* Aucune animation */
}

.error-content h1 {
  /* Aucune animation */
}

.error-message {
  /* Aucune animation */
}

.error-actions {
  /* Aucune animation */
}

.error-suggestions {
  /* Aucune animation */
}

/* Links généraux */
a:not(.btn):not(.menu>li>a) {
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:not(.btn):not(.menu>li>a):hover {
  color: #f97316;
}

/* Forms */
.form-group {
  /* Animation supprimée */
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  transition: all 0.3s ease;
  border-color: transparent;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  transform: scale(1.01);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Load More Button */
.load-more-btn {
  /* Aucune animation */
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.load-more-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.3);
}

/* Stagger animation pour listes */
.stagger-item {
  /* Aucune animation */
}

/* Badge Animations */
.page-title-badge,
.badge {
  /* Aucune animation */
}

/* Section Headers */
h1, h2, h3, h4, h5, h6 {
  /* Animation supprimée - les titres ne s'animent pas globalement */
}

/* Paragraphs */
p {
  /* Animation supprimée - les paragraphes ne s'animent pas globalement */
}

/* Lists */
li {
  /* Animation supprimée - les listes ne s'animent pas globalement */
}

/* Icon Animations */
i.bi {
  transition: all 0.3s ease;
}

a:hover i.bi {
  transform: scale(1.1);
}

button:hover i.bi {
  transform: scale(1.1);
}

/* Smooth transitions pour tout le site - SUPPRIMÉ (trop d'effets) */

/* === PAGE FORMULAIRE "DÉMARRER UN PROJET" === */
.project-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
  margin: 80px 0;
}

.project-form-wrapper {
  max-width: 750px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.project-form-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  text-align: center;
}

.project-form-wrapper .subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 45px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Messages d'erreur et de succès */
.form-alert {
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 35px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-alert i {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-alert-content {
  flex: 1;
}

.form-alert-title {
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.form-errors {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left: 4px solid #dc2626;
  color: #991b1b;
}

.form-errors i {
  color: #dc2626;
}

.form-errors ul {
  margin: 0;
  padding-left: 20px;
}

.form-errors li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-errors li:last-child {
  margin-bottom: 0;
}

.form-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left: 4px solid #16a34a;
  color: #166534;
}

.form-success i {
  color: #16a34a;
}

.form-success-text {
  font-size: 0.98rem;
  line-height: 1.6;
}

.form-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left: 4px solid #dc2626;
  color: #991b1b;
}

.form-error i {
  color: #dc2626;
}

.project-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  margin-top: 25px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s ease;
  background: white;
  color: #0f172a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: flex-start;
  margin-top: 20px;
  gap: 12px;
}

.form-group.checkbox label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5;
}

.form-group.checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: #f97316;
  flex-shrink: 0;
  margin-top: 2px;
}

.project-form .btn {
  margin-top: 15px;
  padding: 15px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.project-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.project-form .btn:active {
  transform: translateY(0);
}

.form-note {
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 25px;
}

@media (max-width: 768px) {
  .project-form-section {
    padding: 60px 0;
  }

  .project-form-wrapper {
    padding: 40px 25px;
    margin: 0 15px;
  }

  .project-form-wrapper h2 {
    font-size: 1.8rem;
  }

  .project-form-wrapper .subtitle {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  .form-alert {
    flex-direction: column;
  }

  .form-alert i {
    margin-top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-form .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }

  /* Alert Messages - Responsive */
  #form-message {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1.25rem !important;
  }

  #form-message i {
    font-size: 20px;
  }

  #form-message strong {
    font-size: 14px;
  }
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
  border-color: #c7d2fe;
}

.faq-item.active {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #6366f1;
}

.faq-question span {
  flex: 1;
  line-height: 1.5;
}

.faq-question i {
  font-size: 1.25rem;
  color: #6366f1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 28px 28px 28px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: 12px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 12px 0;
  padding-left: 24px;
}

.faq-answer-content li {
  margin-bottom: 8px;
  color: #475569;
}

.faq-answer-content a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.faq-answer-content a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

.faq-answer-content strong {
  color: #1e293b;
  font-weight: 600;
}

.faq-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
  font-size: 1.1rem;
}

/* FAQ Section - Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-accordion {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-question {
    padding: 20px;
    font-size: 1rem;
    gap: 15px;
  }

  .faq-question i {
    font-size: 1.1rem;
  }

  .faq-answer-content {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
  }
}

