:root {
  --bg: #0a0b0f;
  --bg-secondary: #0f1115;
  --panel: #1a1d26;
  --panel-hover: #212530;
  --muted: #8b8fa3;
  --text: #eef0f6;
  --text-secondary: #c4c7d0;
  --primary: #4f7cff;
  --primary-600: #3a66ea;
  --primary-700: #2d54d6;
  --accent: #00d4aa;
  --border: #2a2d3a;
  --border-light: #3a3d4a;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.5);
  --gradient-primary: linear-gradient(135deg, #4f7cff 0%, #00d4aa 100%);
  --gradient-bg: linear-gradient(180deg, #0a0b0f 0%, #0f1115 50%, #1a1d26 100%);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--gradient-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  width: 100%;
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: none !important;
  transform: none !important;
}

.logo:hover {
  transform: none !important;
  transition: none !important;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  object-fit: contain;
}

.logo:hover .logo-img {
  transform: none !important;
  transition: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Désactiver tous les effets sur les favicons */
link[rel="icon"], 
link[rel="shortcut icon"], 
link[rel="apple-touch-icon"] {
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Désactiver les effets sur les images SVG du logo */
.logo svg,
.footer-logo svg {
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.logo:hover svg,
.footer-logo:hover svg {
  transform: none !important;
  transition: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* Masquer le bouton hamburger sur desktop */
.hamburger {
  display: none;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

/* Menu déroulant Services */
.nav-dropdown {
  position: relative;
}

/* Liens de navigation du header */
.nav .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 8px 0;
}

.nav .nav-link:hover {
  color: var(--text);
}

/* Flèches seulement pour le dropdown Services - Version 2 */
.nav-dropdown .nav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link::after {
  transform: rotate(180deg);
}

/* Supprimer les flèches pour Blog et À propos */
.nav > .nav-link:not(.nav-dropdown .nav-link)::after {
  display: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  min-width: 400px;
  box-shadow: 0 20px 40px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:hover {
  background: rgba(79, 124, 255, 0.1);
  transform: translateX(5px);
}

.dropdown-item i {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.dropdown-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.dropdown-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: transparent;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white !important;
  box-shadow: 0 4px 20px rgba(79, 124, 255, 0.3);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--panel);
  border-color: var(--border-light);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);
  z-index: -1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  padding-top: 20px;
}

.hero-content {
  max-width: 600px;
  margin-top: -60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(79, 124, 255, 0.1);
  border: 1px solid rgba(79, 124, 255, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px var(--shadow);
}

.stats {
  display: grid;
  gap: 20px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(79, 124, 255, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 200px;
  height: 200px;
  background: var(--panel);
  border: 2px dashed var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.image-placeholder i {
  font-size: 48px;
  color: var(--primary);
}

.hero-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow);
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

/* Sections */
.section {
  padding: 60px 0;
  position: relative;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--muted);
  font-size: 20px;
  text-align: center;
  margin: 0 0 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light);
  box-shadow: 0 20px 40px var(--shadow);
}

.service-card {
  text-align: center;
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 24px;
}

.card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.list li i {
  color: var(--accent);
  font-size: 16px;
}

/* Process Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px var(--shadow);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.step h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.step p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* About Section */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 20px 20px 0 0;
}

.about-card strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

/* Tarifs */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.pricing-price {
  margin-bottom: 30px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.period {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.pricing-features i {
  color: var(--primary);
  font-size: 16px;
}

/* Processus de Travail Détaillé */
.process-detailed {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text);
}

.step-content p {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

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

.step-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.step-features i {
  color: var(--primary);
  font-size: 16px;
}

.step-duration {
  background: rgba(79, 124, 255, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

/* PARTENAIRES */
.partners-container {
  overflow: hidden;
  margin-top: 3rem;
  position: relative;
  white-space: nowrap;
}

.partners-carousel {
  display: inline-flex;
  animation: scroll 15s linear infinite;
  gap: 2rem;
  align-items: center;
}

.partners-carousel:hover {
  animation-play-state: paused;
}

.partner-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 150px;
  flex-shrink: 0;
  white-space: normal;
}

.partner-item:hover {
  background: var(--panel-hover);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow);
}

.partner-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.partner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.5rem;
}

@keyframes scroll {
  0% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(-120%);
  }
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(79, 124, 255, 0.05);
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.faq-icon {
  color: var(--primary);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Blog/Actualités */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.blog-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.blog-date {
  color: var(--muted);
  font-size: 14px;
}

.blog-category {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.blog-content p {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-link:hover {
  gap: 12px;
}

.blog-cta {
  text-align: center;
  margin-top: 40px;
}

/* Call-to-Action Renforcés */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

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

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px;
}

.cta-content p {
  font-size: 20px;
  margin: 0 0 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
}

.cta-features {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}

.cta-feature i {
  font-size: 20px;
}

/* Section Partenaires */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  margin: 60px 0;
  align-items: center;
}

/* Pages Blog */
.article-header {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.9;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb span {
  opacity: 0.7;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 14px;
  opacity: 0.9;
}

.article-date,
.article-category,
.article-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.article-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
}

.article-subtitle {
  font-size: 20px;
  margin: 0 0 40px;
  opacity: 0.9;
  line-height: 1.5;
}

.article-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.article-content {
  padding: 80px 0;
  background: var(--background);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 60px 0 30px;
  color: var(--text);
}

.article-body h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--text);
}

.article-body h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--text);
}

.article-body p {
  margin: 0 0 20px;
  color: var(--text-secondary);
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 30px;
}

.article-body li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.highlight-box {
  background: rgba(79, 124, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}

.highlight-box h4 {
  color: var(--primary);
  margin: 0 0 20px;
}

.error-example {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.error-example h4 {
  color: #ef4444;
  margin: 0 0 15px;
}

.solution-box {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.solution-box h4 {
  color: #22c55e;
  margin: 0 0 15px;
}

.steps-container {
  display: grid;
  gap: 30px;
  margin: 40px 0;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 10px;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--text-secondary);
}

.structure-example {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.level {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.level h4 {
  margin: 0 0 10px;
  color: var(--text);
}

.level p {
  margin: 0;
  color: var(--text-secondary);
}

.keyword-types {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.keyword-type {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.keyword-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow);
}

.keyword-type h4 {
  margin: 0 0 15px;
  color: var(--text);
}

.keyword-type p {
  margin: 0 0 8px;
  color: var(--text-secondary);
}

.keyword-type strong {
  color: var(--text);
}

.ad-elements {
  display: grid;
  gap: 25px;
  margin: 30px 0;
}

.ad-element {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.ad-element h4 {
  margin: 0 0 15px;
  color: var(--text);
}

.ad-element ul {
  margin: 0;
  padding-left: 20px;
}

.ad-element li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.landing-page-checklist {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
}

.landing-page-checklist h3 {
  margin: 0 0 25px;
  color: var(--text);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(79, 124, 255, 0.05);
  border-radius: 8px;
}

.checklist-item i {
  color: var(--primary);
  font-size: 16px;
}

.checklist-item span {
  color: var(--text-secondary);
  font-weight: 500;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.metric-card {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow);
}

.metric-card h4 {
  margin: 0 0 15px;
  color: var(--text);
}

.metric-card p {
  margin: 0 0 8px;
  color: var(--text-secondary);
}

.metric-card strong {
  color: var(--primary);
  font-size: 18px;
}

.best-practices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.practice-item {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.practice-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow);
}

.practice-item i {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin: 0 auto 20px;
}

.practice-item h4 {
  margin: 0 0 15px;
  color: var(--text);
}

.practice-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-box {
  background: var(--gradient-primary);
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin: 50px 0;
}

.cta-box h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 15px;
}

.cta-box p {
  font-size: 18px;
  margin: 0 0 30px;
  opacity: 0.9;
}

.cta-box .btn {
  background: white;
  color: var(--primary);
  font-weight: 600;
}

.cta-box .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 25px;
  color: var(--text);
}

.related-articles {
  display: grid;
  gap: 20px;
}

.related-article {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.related-article img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.related-article h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.4;
}

.related-article span {
  font-size: 14px;
  color: var(--muted);
}

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

.service-list li {
  margin-bottom: 12px;
}

.service-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list a:hover {
  color: var(--primary);
}

.service-list a::before {
  content: '→';
  color: var(--primary);
  font-weight: bold;
}

/* Responsive Blog */
@media (max-width: 768px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .article-title {
    font-size: 32px;
  }
  
  .article-subtitle {
    font-size: 18px;
  }
  
  .article-body {
    font-size: 16px;
  }
  
  .article-body h2 {
    font-size: 24px;
  }
  
  .article-body h3 {
    font-size: 20px;
  }
  
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .best-practices {
    grid-template-columns: 1fr;
  }
}

/* Page Blog Archive */
.blog-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

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

.blog-hero h1 {
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
}

.blog-hero p {
  font-size: 24px;
  margin: 0 0 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.8;
}

.blog-filters {
  background: var(--panel);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.filters-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 18px;
}

.search-box input {
  width: 100%;
  padding: 16px 16px 16px 50px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.1);
}

.category-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--background);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.blog-archive {
  padding: 80px 0;
  background: var(--background);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.blog-article-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
}

.blog-article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
}

.article-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.article-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.article-content {
  padding: 30px;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.3;
}

.article-content p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.6;
}

.article-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(79, 124, 255, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.article-link:hover {
  gap: 12px;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.pagination-number {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-number:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-number.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.blog-newsletter {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
}

.newsletter-text p {
  font-size: 18px;
  margin: 0 0 40px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form .btn {
  background: white;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.newsletter-form .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Navigation active state */
.nav-active {
  color: var(--primary) !important;
  position: relative;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer amélioré */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  transition: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.footer-logo:hover {
  transform: none !important;
  transition: none !important;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

.footer-brand p {
  color: #a0a0a0;
  margin: 0 0 30px;
  line-height: 1.6;
}

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

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

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  color: white;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #a0a0a0;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

/* Responsive Blog Archive */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 40px;
  }
  
  .blog-hero p {
    font-size: 18px;
  }
  
  .blog-stats {
    gap: 30px;
  }
  
  .filters-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow);
}

.partner-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
}

.partner-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

/* Testimonial */
.testimonial {
  max-width: 800px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px var(--shadow);
}

.testimonial-content {
  text-align: center;
}

.quote-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 24px;
}

.testimonial blockquote {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.author-info p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* Contact Form */
.contact {
  max-width: 600px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px var(--shadow);
}

.contact .grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.field input,
.field textarea,
.field select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text);
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.1);
}

/* Modern Select Styling */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 48px;
  cursor: pointer;
  position: relative;
}

.field select:hover {
  border-color: var(--border-light);
  background-color: var(--panel);
}

.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.1);
  background-color: var(--panel);
}

.field select option {
  background: var(--panel);
  color: var(--text);
  padding: 12px 16px;
}

.field select option:hover {
  background: rgba(79, 124, 255, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
/* Breadcrumbs */
.breadcrumb {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 0;
  padding-left: 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-item {
  color: var(--muted);
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--text);
  font-weight: 500;
}

/* Liens internes */
.liens-locaux {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.liens-locaux h4 {
  color: var(--text);
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.liens-locaux ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.liens-locaux li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
}

.liens-locaux li a:hover {
  color: var(--primary);
}

/* Articles connexes */
.related-articles {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.related-articles h4 {
  color: var(--text);
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-articles li {
  margin-bottom: 8px;
}

.related-articles li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
}

.related-articles li a:hover {
  color: var(--primary);
}

/* Navigation contextuelle */
.contextual-navigation {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Navigation contextuelle - styles de bouton */
.contextual-navigation .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contextual-navigation .nav-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.nav-link.prev {
  margin-right: auto;
}

.nav-link.next {
  margin-left: auto;
}

.related-links {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.related-links h4 {
  color: var(--text);
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.related-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
}

.related-links li a:hover {
  color: var(--primary);
}

/* Pages locales */
.local-pages {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.local-pages h4 {
  color: var(--text);
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.local-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.local-item h5 {
  color: var(--text);
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.local-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.local-item li {
  margin-bottom: 6px;
}

.local-item li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.local-item li a:hover {
  color: var(--primary);
}

/* Articles de blog */
.blog-articles {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.blog-articles h4 {
  color: var(--text);
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.blog-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
}

.blog-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.blog-item a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.blog-item a:hover {
  color: var(--primary);
}

/* Liens de sections */
.section-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.section-link:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.contact-info i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 24px;
  width: auto;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.footer-logo:hover {
  transform: none !important;
  transition: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

/* Animations */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 48px;
  }
  
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .nav {
    gap: 20px;
  }
  
  /* Menu hamburger mobile */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Navigation mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
    text-align: center;
    overflow-y: auto;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-dropdown {
    position: static;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    min-width: auto;
    width: 100%;
    margin: 0;
    max-height: none;
    overflow: visible;
    transition: none;
  }
  
  .dropdown-menu::before {
    content: 'Services';
    display: block;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text);
    pointer-events: none;
    user-select: none;
  }
  
  .dropdown-item {
    flex-direction: row;
    text-align: left;
    padding: 10px 15px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    align-items: center;
  }
  
  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-item i {
    font-size: 18px;
    margin-right: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .dropdown-item div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .dropdown-item h4 {
    font-size: 15px;
    margin-bottom: 2px;
    font-weight: 600;
  }
  
  .dropdown-item p {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.2;
  }
  
  /* Masquer complètement le lien Services sur mobile */
  .nav-dropdown .nav-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Style des autres liens de navigation sur mobile */
  .nav .nav-link:not(.nav-dropdown .nav-link) {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
  }
  
  .nav .nav-link:not(.nav-dropdown .nav-link):hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav .btn {
    margin-top: 5px;
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 600;
  }


  /* Portfolio grid mobile - 2 colonnes */
  .portfolio-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }
  
  .portfolio-item {
    margin-bottom: 0 !important;
  }
  
  .portfolio-item .portfolio-content h3 {
    font-size: 14px !important;
    margin-bottom: 5px !important;
  }
  
  .portfolio-item .portfolio-content p {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  
  .portfolio-tags {
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 10px !important;
  }
  
  .portfolio-tags .tag,
  .portfolio-tags .tech-tag {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  
  .portfolio-actions {
    flex-direction: column !important;
    gap: 5px !important;
  }
  
  .portfolio-actions .btn {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  .hero {
    padding: 80px 0 60px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .contact .grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .lead {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .card {
    padding: 24px;
  }
  
  .step {
    padding: 24px;
  }
}

/* About Page Styles */
.hero-about {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-about h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.founder-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-item {
    text-align: center;
    padding: 1.5rem;
    background: #1a202c;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.expertise-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.expertise-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.competence-card {
    background: #1a202c;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.competence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competence-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.competence-icon i {
    width: 35px;
    height: 35px;
    color: white;
}

.competence-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.services-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #1a202c;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.vision-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.vision-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-item {
    text-align: center;
    padding: 1.5rem;
    background: #1a202c;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.why-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Portfolio Styles */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 12px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.portfolio-item {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-lg);
  border-color: var(--primary);
}

.portfolio-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-image img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-actions {
  display: flex;
  gap: 12px;
}

.portfolio-content {
  padding: 16px;
}

.portfolio-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.portfolio-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.tech-tag {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: var(--panel);
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-secondary);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--text);
  background: var(--primary);
}

.modal-project {
  padding: 40px;
}

.modal-project h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.modal-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-technologies,
.modal-features {
  margin-bottom: 30px;
}

.modal-technologies h3,
.modal-features h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-features ul {
  list-style: none;
  padding: 0;
}

.modal-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
}

.modal-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.modal-actions {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 40px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .hero-about h1 {
        font-size: 2.5rem;
    }
    
    .about-story {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .expertise-grid,
    .competences-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px var(--shadow-lg);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-text h4 {
  margin: 0 0 8px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.cookie-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.cookie-buttons .btn-link {
  color: var(--primary);
  text-decoration: none;
  padding: 10px 0;
  font-size: 14px;
}

.cookie-buttons .btn-link:hover {
  text-decoration: underline;
}

/* Legal Pages Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-content h1 {
  color: var(--text);
  margin-bottom: 40px;
  text-align: center;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
}

.legal-content h3 {
  color: var(--text);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.last-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
  
  .legal-content h2 {
    font-size: 20px;
  }
  
  .legal-content h3 {
    font-size: 18px;
  }
}
