/* ===== VARIABLES & RESET ===== */
:root {
  --primary: #3F5371;
  --secondary: #CEA377;
  --tertiary: #E2E5EA;
  --quaternary: #FFFFFF;
  --quinary: #000000;
  --accent: #CEA377;
  --dark: #000000;
  --light: #E2E5EA;
  --text: #000000;
  --text-light: #475569;
  --border: #E2E5EA;
  --background: #FFFFFF;
  --white: #FFFFFF;
  --gradient-start: #fefefe;
  --gradient-end: #E2E5EA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.header nav a:hover {
  color: var(--primary);
}

.career-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hiring-badge {
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.language-selector:hover {
  border-color: var(--primary);
  color: var(--text);
}

.btn-demo {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-demo:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Language Dropdown Styles */
.language-dropdown {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
  font-size: 0.9rem;
  text-align: left;
}

.lang-option:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

/* ===== HERO ===== */
.hero {
  padding: 6rem 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.hero-word {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

.hero .highlight {
  color: var(--secondary);
  font-weight: 700;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 450px;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(63, 83, 113, 0.98) 0%, rgba(63, 83, 113, 0.92) 50%, var(--primary) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(206, 163, 119, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(206, 163, 119, 0.4);
}

.hero-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding: 4rem 0;
  background: var(--background);
}

.quote-card {
  background: 
    radial-gradient(ellipse 250% 180% at -5% 30%, rgba(100, 120, 150, 0.4), transparent 65%),
    radial-gradient(ellipse 250% 180% at 105% 50%, rgba(206, 163, 119, 0.4), transparent 65%),
    radial-gradient(ellipse 200% 140% at 50% 10%, rgba(255, 255, 255, 0.5), transparent 70%),
    radial-gradient(ellipse 220% 160% at 75% 90%, rgba(220, 210, 195, 0.3), transparent 68%),
    linear-gradient(135deg, rgba(100, 120, 150, 0.95) 0%, rgba(206, 163, 119, 0.9) 100%);
  background-size: 300% 300%, 300% 300%, 250% 250%, 250% 250%, 100% 100%;
  color: white;
  padding: 4rem 3rem;
  border-radius: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(63, 83, 113, 0.2);
  margin: 2rem 0;
  animation: meshFlow 10s ease-in-out infinite;
}

.quote-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='800' height='300' filter='url(%23grain2)' opacity='0.08'/%3E%3C/svg%3E");
  border-radius: 2rem;
  pointer-events: none;
  mix-blend-mode: overlay;
}


@keyframes meshFlow {
  0%, 100% {
    background-position: 0% 0%, 20% 40%, 50% 50%, 70% 30%, 0% 0%;
  }
  50% {
    background-position: 100% 100%, 80% 60%, 50% 50%, 30% 70%, 0% 0%;
  }
}

.quote-card h2 {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 2;
}

.quote-author {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 1.5rem;
  font-style: italic;
}

.quote-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.quote-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.2);
  animation: float 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

.quote-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.quote-icon i {
  color: white;
  font-size: 1.3rem;
}

.quote-icon-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.quote-icon-2 {
  top: 60%;
  left: 8%;
  animation-delay: 1s;
}

.quote-icon-3 {
  top: 30%;
  right: 20%;
  animation-delay: 2s;
}

.quote-icon-4 {
  top: 70%;
  right: 15%;
  animation-delay: 1.5s;
}

.quote-icon-5 {
  top: 15%;
  right: 30%;
  animation-delay: 0.5s;
}

.quote-icon-6 {
  bottom: 20%;
  left: 25%;
  animation-delay: 2.5s;
}

/* ===== SERVICES ===== */
.services {
  padding: 5rem 0;
  background: var(--tertiary);
  position: relative;
}

.services > .container > h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.hidden-service {
  display: none;
}

.services-grid.show-all .hidden-service {
  display: block;
}

.services-more {
  text-align: center;
  margin-top: 2rem;
}

.btn-more {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-more:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(206, 163, 119, 0.3);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-more.expanded .btn-icon {
  transform: rotate(180deg);
}

.service-card {
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 2;
}

.service-card-blue {
  background: var(--primary);
  color: white;
}

.service-card-white {
  background: white;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card-white:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card-white .service-icon {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card-white p {
  color: var(--text-light);
}

.service-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.service-card-white .service-link {
  color: var(--primary);
}

.service-link:hover {
  gap: 1rem;
}

/* Formes décoratives 3D */
.services-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.deco-block {
  position: absolute;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.deco-1 {
  width: 80px;
  height: 60px;
  top: 10%;
  right: 15%;
  transform: rotate(15deg);
}

.deco-2 {
  width: 60px;
  height: 80px;
  bottom: 20%;
  left: 10%;
  transform: rotate(-20deg);
}

.deco-3 {
  width: 100px;
  height: 40px;
  top: 60%;
  right: 5%;
  transform: rotate(25deg);
}

.deco-4 {
  width: 70px;
  height: 50px;
  bottom: 10%;
  right: 25%;
  transform: rotate(-10deg);
}

/* ===== CREDO SECTION ===== */
.credo {
  padding: 5rem 0;
  background: var(--light);
  position: relative;
}

.credo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.credo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  min-height: 600px;
}

.credo-features h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
}

.credo-subtitle {
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(63, 83, 113, 0.1);
}

.feature-item.active {
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(63, 83, 113, 0.15);
}

.feature-item.active::before {
  transform: scaleY(1);
}

.feature-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: rgba(206, 163, 119, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature-item.active .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.feature-item.active .feature-title {
  color: var(--primary);
}

.chevron {
  color: var(--text-light);
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(63, 83, 113, 0.05);
}

.feature-item.active .chevron {
  transform: rotate(180deg);
  color: var(--primary);
  background: rgba(63, 83, 113, 0.1);
}

.feature-description {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  opacity: 0;
}

.feature-item.active .feature-description {
  max-height: 200px;
  margin-top: 1.5rem;
  opacity: 1;
}

.feature-description p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
  border-radius: 0.75rem;
  border-left: 3px solid var(--primary);
  font-size: 0.95rem;
}

/* Carte illustrative */
.credo-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.card-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

.card-visual {
  margin-bottom: 2.5rem;
}

.visual-gradient {
  background: 
    radial-gradient(ellipse 200% 150% at -10% -10%, rgba(206, 163, 119, 0.5), transparent 60%),
    radial-gradient(ellipse 200% 150% at 110% 20%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(ellipse 180% 120% at 50% 100%, rgba(220, 210, 195, 0.4), transparent 70%),
    radial-gradient(ellipse 200% 150% at 80% -10%, rgba(100, 120, 150, 0.3), transparent 65%),
    linear-gradient(135deg, rgba(206, 163, 119, 0.95) 0%, rgba(120, 140, 170, 0.9) 100%);
  background-size: 300% 300%, 300% 300%, 250% 250%, 250% 250%, 100% 100%;
  border-radius: 1.5rem;
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: meshFlow 8s ease-in-out infinite;
}

.visual-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='220' filter='url(%23grain)' opacity='0.08'/%3E%3C/svg%3E");
  border-radius: 1.5rem;
  pointer-events: none;
  mix-blend-mode: overlay;
}


@keyframes meshFlow {
  0%, 100% {
    background-position: 0% 0%, 20% 40%, 50% 50%, 70% 30%, 0% 0%;
  }
  50% {
    background-position: 100% 100%, 80% 60%, 50% 50%, 30% 70%, 0% 0%;
  }
}

.cube {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cube:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cube-1 {
  transform: rotate(15deg);
  animation: float1 4s ease-in-out infinite;
}

.cube-2 {
  transform: rotate(-10deg);
  animation: float2 4s ease-in-out infinite 1s;
}

.cube-3 {
  transform: rotate(20deg);
  animation: float3 4s ease-in-out infinite 2s;
}

.cube i {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes float1 {
  0%, 100% { transform: rotate(15deg) translateY(0px); }
  50% { transform: rotate(15deg) translateY(-15px); }
}

@keyframes float2 {
  0%, 100% { transform: rotate(-10deg) translateY(0px); }
  50% { transform: rotate(-10deg) translateY(-12px); }
}

@keyframes float3 {
  0%, 100% { transform: rotate(20deg) translateY(0px); }
  50% { transform: rotate(20deg) translateY(-18px); }
}

.card-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

.card-content p {
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
  font-size: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
}

.form-group {
  flex: 1;
  max-width: 400px;
}

.email-input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  color: var(--text);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.email-input::placeholder {
  color: var(--text-light);
}

.email-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-contact {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-contact i {
  transition: transform 0.3s ease;
}

.btn-contact:hover i {
  transform: translateX(3px);
}

.contact-info {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-methods {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-location i {
  font-size: 1rem;
  opacity: 0.8;
}


/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-icon {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.footer .social {
  display: flex;
  gap: 1.5rem;
}

.footer .social a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer .social a:hover {
  color: var(--primary);
}

.footer-attribution {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  opacity: 0.8;
}

.footer-attribution p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.2;
}

.footer-attribution .coffee {
  color: #B8860B;
  display: inline-block;
  font-size: 0.9rem;
}

.footer-attribution a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-attribution a:hover {
  color: rgba(255, 255, 255, 1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    display: none;
  }

  .header nav {
    display: none;
  }

  .header-right {
    gap: 1rem;
  }

  .language-selector {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .btn-demo {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid.show-all {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .btn-more {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .deco-block {
    opacity: 0.6;
    transform: scale(0.8);
  }

  .credo-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .credo-features h2 {
    font-size: 2rem;
  }

  .feature-item {
    padding: 1.25rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description p {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  .credo-card {
    padding: 2rem;
  }

  .card-header h3 {
    font-size: 1.6rem;
  }

  .visual-gradient {
    height: 180px;
    gap: 1.5rem;
  }

  .cube {
    width: 60px;
    height: 60px;
  }

  .cube i {
    font-size: 1.4rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-icon {
    height: 28px;
  }

  .footer-text {
    font-size: 1.1rem;
  }

  .footer .social {
    gap: 1rem;
  }

  .quote-card {
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    margin: 1rem 0;
  }
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-container {
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow: hidden;
}

.modal-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s ease;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-overlay.show .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.modal-content {
  padding: 2rem;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.modal-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}

.modal-visual {
  margin-bottom: 1.5rem;
}

.visual-demo {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 1.5rem;
  border: 2px solid rgba(99, 102, 241, 0.2);
}

.demo-interface {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}

.demo-header {
  background: #3a3a3a;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.demo-dots {
  display: flex;
  gap: 0.5rem;
}

.demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
}

.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #28ca42; }

.demo-title {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.demo-content {
  padding: 1rem;
}

.demo-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.demo-cell {
  background: #404040;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  flex: 1;
  transition: all 0.3s ease;
}

.demo-cell.active {
  background: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}


/* ===== NEW CONTACT SECTION ===== */
.contact {
  padding: 6rem 0;
  background: #f8fafc;
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Left Section - Contact Info */
.contact-info-section {
  background: #f8fafc;
  padding: 3rem;
  display: flex;
    flex-direction: column;
  gap: 2rem;
}

.contact-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.contact-logo-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-item {
  display: flex;
    gap: 1rem;
  align-items: flex-start;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-method-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.contact-method-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-method-content a:hover {
  text-decoration: underline;
}

.contact-method-content span {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

/* Right Section - Contact Form */
.contact-form-section {
  background: var(--primary);
  padding: 2.5rem;
  color: white;
  overflow-y: auto;
  max-height: 100vh;
}

.contact-form-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  width: 100%;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
  border-color: rgba(34, 197, 94, 0.4);
}

.error-message {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.form-textarea {
  min-height: 100px;
  max-height: 150px;
  resize: vertical;
  font-family: inherit;
}

/* Honeypot field - invisible pour les humains, visible pour les bots */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.services-selection {
  margin-top: 0.75rem;
}

.services-selection h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.services-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: white;
  font-size: 0.875rem;
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: white;
  border-color: white;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
  font-size: 0.8rem;
}

.submit-btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-btn:hover:not(:disabled) {
  background: #b8936f;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn.loading {
  position: relative;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  color: #22c55e;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  animation: slideIn 0.3s ease;
}

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-card,
  .credo-card {
    border-radius: 0.75rem;
  }
}