/* ========================================
   EXPERTISE TECHNOLOGY - STYLES GÉNÉRAUX
   ======================================== */

/* Section Hero */
.hero-section {
  background: linear-gradient(169deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0 0 42px 0;
}

.hero-image-container {
  width: 100%;
  height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 0 0 30px 30px;
  background: url(/assets/bg-hero-2.svg) center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-text-overlay {
  text-align: center;
  color: white;
  max-width: 820px;
  padding: 0 20px;
  z-index: 2;
}

.hero-decoration {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.white-deco-img {
  width: 120px;
  height: auto;
  opacity: 0.9;
}

.hero-badge {
  margin-bottom: 16px;
}

.hero-badge span {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  padding: 7px 28px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  line-height: 20px;
}

.hero-text-overlay h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 72px;
  margin: 0 0 18px 0;
  color: white;
}

.hero-text-overlay p {
  font-size: 20px;
  line-height: 37px;
  color: #FFF;
  margin: 0 0 44px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-primary {
  background: #F90;
  border: none;
  border-radius: 30px;
  padding: 13px 58px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: #E68500;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Section Data */
.data-section {
  background: url(/assets/bg-data.svg) center/cover no-repeat;
  padding: 196px 0 80px 0;
  margin: 0;
  position: relative;
}

.data-content {
  text-align: center;
  color: white;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}

.data-icon {
  margin-bottom: 45px;
  display: flex;
  justify-content: center;
}

.data-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 56px;
  color: white;
  margin: 0 auto;
  max-width: 700px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.data-favicon {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .data-favicon {
  opacity: 1;
  transform: scale(1);
}

/* Bloc de fond blanc avec 4 éléments */
.data-blocks {
  border: 1px solid #E2E7EA;
  background: #FFF;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  border-radius: 25px;
  padding: 33px 32px;
  margin: 63px auto 0 auto;
  position: relative;
  z-index: 10;
}

.data-blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.data-block {
  display: flex;
  gap: 25px;
  background: transparent;
  border: 2px solid #E8F5E1;
  border-radius: 20px;
  padding: 22px 29px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.data-block:hover {
  border-color: #F90;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.2);
}

.block-icon {
  display: flex;
  justify-content: center;
}

.block-icon img {
  width: 12px;
  height: auto;
}

.data-block:hover .arrow-icon {
  opacity: 1;
  transform: scale(1.1);
}

.block-title {
  font-size: 15px;
  font-weight: 600;
  color: #1D252B;
  margin: 0;
  line-height: 26px;
}

/* Section Cards */
.cards-section {
  background: linear-gradient(169deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
  padding: 80px 0 60px 0;
  margin: 0;
  position: relative;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 88px;
}

.card-item {
  border-radius: 25px;
  background: #FFF;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  padding: 32px 34px;
  transition: all 0.3s ease;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-img {
  transition: all 0.3s ease;
}

.card-item:hover .card-icon-img {
  opacity: 1;
  transform: scale(1.1);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #172735;
  margin: 0;
  line-height: 25px;
}

.card-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #223245;
  margin: 0;
}

/* Contenu Architecture IA dans la section cards */
.architecture-content {
  text-align: center;
  margin: 0 auto;
}

.architecture-icon {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.architecture-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  color: #172735;
  margin: 0 0 20px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.architecture-description {
  font-size: 16px;
  line-height: 28px;
  color: #223245;
  font-weight: 400;
  margin: 0 0 40px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 2 cards sur la même ligne */
.architecture-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.architecture-card {
  background: white;
  border-radius: 25px;
  padding: 41px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

.architecture-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
}

.architecture-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-favicon {
  transition: all 0.3s ease;
}

.architecture-card:hover .card-favicon {
  opacity: 1;
  transform: scale(1.1);
}

.architecture-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #223245;
  margin: 0;
  line-height: 28px;
  flex: 1;
}

.architecture-badge {
  flex-shrink: 0;
}

.architecture-badge span {
  border-radius: 5px;
  border: 1px solid #223245;
  background: #FFF;
  color: #223245;
  padding: 5px 15px;
  font-size: 8px;
  font-weight: 700;
  line-height: 10px;
}

.architecture-card-description {
  font-size: 14px;
  line-height: 26px;
  color: #223245;
  margin: 0;
}

/* Section avec fond gris dans chaque card */
.architecture-features {
  background: #F6F6F6;
  border-radius: 15px;
  padding: 23px 34px;
  text-align: left;
  margin-top: 28px;
}

.features-title {
  font-size: 12px;
  font-weight: 700;
  color: #F90;
  margin: 0 0 5px 0;
  line-height: 24px;
}

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

.features-list li {
  font-size: 12px;
  line-height: 24px;
  color: #223245;
  margin-bottom: O;
  padding-left: 20px;
  position: relative;
}

.features-list li:before {
  content: "•";
  color: #F90;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: -1px;
}

.features-list li:last-child {
  margin-bottom: 0;
}

/* Section Modules API */
.api-modules-section {
  background: #FFF;
  padding: 68px 0;
  margin: 0;
  position: relative;
}

.api-modules-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.api-modules-title {
  font-size: 36px;
  font-weight: 700;
  color: #223245;
  margin: 0 0 25px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.api-modules-description {
  font-size: 16px;
  line-height: 26px;
  color: #223245;
  font-weight: 400;
  margin: 0 0 40px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.api-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.api-module-card {
  border-radius: 25px;
  border: 2px solid #E8F5E1;
  background: #FFF;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  padding: 26px 30px;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.api-module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #F90;
}

.api-module-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.api-module-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.api-module-icon-img {
  transition: all 0.3s ease;
}

.api-module-card:hover .api-module-icon-img {
  opacity: 1;
  transform: scale(1.1);
}

.api-module-title {
  font-size: 18px;
  font-weight: 700;
  color: #223245;
  margin: 0;
  line-height: 24px;
}

.api-module-description {
  font-size: 14px;
  line-height: 26px;
  color: #223245;
  font-weight: 500;
  margin: 0 0 12px 0;
  flex: 1;
}

.api-module-link {
  color: #F90;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  position: relative;
}

.api-module-link:hover {
  color: #E68500;
  transform: translateX(5px);
}

.api-module-link:hover::after {
  margin-left: 10px;
}

/* Section ADIA TTS Open Source */
.adia-tts-section {
  background: url(/assets/bg-adia.svg) center/cover no-repeat;
  padding: 88px 0;
  margin: 0;
  position: relative;
}

.adia-tts-content {
  display: flex;
  align-items: center;
  gap: 140px;
  margin: 0 auto;
  padding: 0;
}

/* Partie gauche */
.adia-tts-left {
  flex: 1.2;
  color: white;
}

.adia-tts-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  color: white;
  margin: 0 0 45px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.adia-tts-description {
  font-size: 14px;
  line-height: 26px;
  color: #FFF;
  margin: 0 0 45px 0;
  font-weight: 500;
}

.adia-tts-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-huggingface {
  background: #F90;
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}

.btn-huggingface:hover {
  background: #E68500;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.btn-documentation {
  background: transparent;
  border: 1px solid white;
  border-radius: 30px;
  padding: 10px 26px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}

.btn-documentation:hover {
  background: white;
  color: #172735;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Partie droite */
.adia-tts-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.stats-block {
  background: white;
  border-radius: 25px;
  padding: 20px 39px;
  width: 100%;
}

.stats-title {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin: 0 0 34px 0;
  text-align: center;
}

/* Grille des stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
}

.stat-item-full {
  text-align: center;
  margin-bottom: 33px;
  width: 180px;
}

.stat-value {
  background: linear-gradient(169deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000;
  font-size: 40px;
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 26px;
}

/* Badges */
.stats-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-badge {
  border: 1px solid #223245;
  border-radius: 30px;
  padding: 7px 24px;
  font-size: 12px;
  font-weight: 500;
  color: #223245;
  background: transparent;
  transition: all 0.3s ease;
}

.stat-badge:hover {
  border-color: #F90;
  color: #F90;
  transform: translateY(-1px);
}

/* Section Cas d'Usage par Écosystème */
.use-cases-section {
  background: linear-gradient(169deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
  padding: 64px 0;
  margin: 0;
  position: relative;
}

.use-cases-content {
  text-align: center;
  margin: 0 auto;
}

.use-cases-title {
  font-size: 36px;
  font-weight: 700;
  color: #172735;
  margin: 0 0 20px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.use-cases-description {
  font-size: 16px;
  line-height: 26px;
  color: #223245;
  font-weight: 400;
  margin: 0 0 35px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.use-cases-block {
  padding: 51px 53px;
  border-radius: 30px;
  background: #FFF;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
}

/* Onglets */
.use-cases-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 33px;
}

.use-case-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 20px;
  border: 1px solid #DFE5EC;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  position: relative;
  overflow: hidden;
}

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

.use-case-tab:hover::before {
  left: 100%;
}

.use-case-tab span {
  font-size: 14px;
  font-weight: 500;
  color: #6E7F93;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.use-case-tab:hover {
  background: rgba(255, 153, 0, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.2);
}

.use-case-tab.active {
  border: 1px solid #F90;
  background: rgba(255, 153, 0, 0.10);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
}

.use-case-tab.active span {
  color: #F90;
  font-size: 14px;
  font-weight: 700;
  transform: scale(1.05);
}

/* Contenu des onglets */
.use-cases-content-tabs {
  position: relative;
  min-height: 225px; /* Hauteur minimale pour éviter les sauts */
  overflow: hidden; /* Empêche le débordement pendant les transitions */
}

.use-case-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 1;
}

.use-case-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* Animation de sortie pour le contenu qui disparaît */
.use-case-content.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-30px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

/* Transition améliorée pour éviter la superposition */
.use-case-content {
  will-change: opacity, transform, visibility;
}

.use-case-content.active {
  will-change: auto;
}

/* Optimisation pour les transitions rapides */
.use-cases-content-tabs {
  contain: layout style paint;
}

/* Animation d'entrée pour les cards */
.use-case-content.active .use-case-card {
  animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.use-case-content.active .use-case-card:nth-child(1) {
  animation-delay: 0.2s;
}

.use-case-content.active .use-case-card:nth-child(2) {
  animation-delay: 0.3s;
}

.use-case-content.active .use-case-card:nth-child(3) {
  animation-delay: 0.4s;
}

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

/* État initial des cards pour éviter la superposition */
.use-case-content:not(.active) .use-case-card {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

/* Cards */
.use-case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.use-case-card {
  border-radius: 25px;
  border: 2px solid #E8F5E1;
  background: #FFF;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  padding: 31px 29px;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #F90;
}

.use-case-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.use-case-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-icon-img {
  transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon-img {
  transform: scale(1.1);
}

.use-case-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #223245;
  margin: 0;
  line-height: 26px;
}

.use-case-card-description {
  font-size: 12px;
  line-height: 24px;
  color: #445972;
  margin: 0;
  font-weight: 500;
  text-align: left;
}

/* Section Intégration et Accès */
.integration-section {
  background: #FFF;
  padding: 57px 0;
  margin: 0;
  position: relative;
}

.integration-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.integration-title {
  font-size: 36px;
  font-weight: 700;
  color: #223245;
  margin: 0 0 20px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.integration-description {
  font-size: 16px;
  line-height: 30px;
  color: #6E7F93;
  font-weight: 400;
  margin: 0 0 44px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.integration-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.integration-card {
  border-radius: 25px;
  border: 2px solid #E8F5E1;
  background: #FFF;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  padding: 33px 32px;
  transition: all 0.3s ease;
  text-align: left;
}

.integration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #F90;
}

.integration-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
}

.integration-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-icon-img {
  transition: all 0.3s ease;
}

.integration-card:hover .integration-icon-img {
  transform: scale(1.1);
}

.integration-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #223245;
  margin: 0;
  line-height: 30px;
}

.integration-card-description {
  font-size: 14px;
  line-height: 26px;
  color: #223245;
  margin: 0;
  font-weight: 500;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Animation simple pour le titre principal */
.hero-text-overlay h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 72px;
  margin: 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-text-overlay h1.title-animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animations au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Animation des éléments enfants */
.hero-image-container,
.hero-text-overlay,
.hero-decoration,
.hero-badge,
.hero-button {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-container.animate-in,
.hero-text-overlay.animate-in,
.hero-decoration.animate-in,
.hero-badge.animate-in,
.hero-button.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Animation des images et icônes */
.hero-image,
.white-deco-img {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .hero-image,
.animate-in .white-deco-img {
  opacity: 1;
  transform: scale(1);
}

/* Animation des textes */
.hero-text-overlay h1,
.hero-text-overlay p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .hero-text-overlay h1,
.animate-in .hero-text-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Animation des décorations */
.hero-decoration {
  opacity: 0;
  transform: rotate(-10deg) scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .hero-decoration {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Animation du badge */
.hero-badge {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .hero-badge {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Animation du bouton */
.btn-primary {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .btn-primary {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour la section data */
.data-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.data-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.data-icon,
.data-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .data-icon,
.animate-in .data-title {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour les nouveaux éléments */
.data-blocks {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.data-blocks.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.data-block {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .data-block {
  opacity: 1;
  transform: translateY(0);
}

.cards-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cards-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .card-item {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour le contenu architecture */
.architecture-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.architecture-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.architecture-icon,
.architecture-title,
.architecture-description,
.architecture-cards,
.architecture-features {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .architecture-icon,
.animate-in .architecture-title,
.animate-in .architecture-description,
.animate-in .architecture-cards,
.animate-in .architecture-features {
  opacity: 1;
  transform: translateY(0);
}

.architecture-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .architecture-card {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour la section modules API */
.api-modules-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.api-modules-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.api-modules-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .api-modules-content {
  opacity: 1;
  transform: translateY(0);
}

.api-modules-title,
.api-modules-description,
.api-modules-grid {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .api-modules-title,
.animate-in .api-modules-description,
.animate-in .api-modules-grid {
  opacity: 1;
  transform: translateY(0);
}

.api-module-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .api-module-card {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour la section ADIA TTS */
.adia-tts-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.adia-tts-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.adia-tts-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .adia-tts-content {
  opacity: 1;
  transform: translateY(0);
}

.adia-tts-left,
.adia-tts-right {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .adia-tts-left,
.animate-in .adia-tts-right {
  opacity: 1;
  transform: translateY(0);
}

.adia-tts-title,
.adia-tts-description,
.adia-tts-buttons,
.stats-block {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .adia-tts-title,
.animate-in .adia-tts-description,
.animate-in .adia-tts-buttons,
.animate-in .stats-block {
  opacity: 1;
  transform: translateY(0);
}

.stat-item,
.stat-item-full {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .stat-item,
.animate-in .stat-item-full {
  opacity: 1;
  transform: translateY(0);
}

.stat-badge {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .stat-badge {
  opacity: 1;
  transform: scale(1);
}

/* Animation pour la section use cases */
.use-cases-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.use-cases-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.use-cases-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .use-cases-content {
  opacity: 1;
  transform: translateY(0);
}

.use-cases-title,
.use-cases-description,
.use-cases-block {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .use-cases-title,
.animate-in .use-cases-description,
.animate-in .use-cases-block {
  opacity: 1;
  transform: translateY(0);
}

.use-case-tab {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .use-case-tab {
  opacity: 1;
  transform: translateY(0);
}

.use-case-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .use-case-card {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour la section integration */
.integration-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.integration-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.integration-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .integration-content {
  opacity: 1;
  transform: translateY(0);
}

.integration-title,
.integration-description,
.integration-cards {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .integration-title,
.animate-in .integration-description,
.animate-in .integration-cards {
  opacity: 1;
  transform: translateY(0);
}

.integration-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .integration-card {
  opacity: 1;
  transform: translateY(0);
}

/* Animation du bas de footer */
.footer-bottom {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .footer-bottom {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* ========================================
   TABLET - 1024px
   ======================================== */
@media (max-width: 1024px) {
  .hero-text-overlay h1 {
    font-size: 40px;
    line-height: 1.3;
  }
  
  .hero-text-overlay p {
    font-size: 16px;
  }
  
  .data-section {
    padding: 60px 0;
  }
  
  .data-title {
    font-size: 32px;
  }
  
  .data-favicon {
    width: 70px;
  }
  
  .data-content {
    padding: 0 15px;
  }
  
  .data-blocks {
    padding: 50px 30px;
    margin-top: 30px;
  }
  
  .data-blocks-grid {
    gap: 25px;
  }
  
  .data-block {
    padding: 25px 20px;
  }
  
  .block-title {
    font-size: 16px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .card-item {
    padding: 35px 25px;
  }
  
  .card-title {
    font-size: 18px;
  }
  
  .cards-content {
    padding: 0 15px;
  }
  
  .architecture-content {
    margin: 60px auto 0 auto;
  }
  
  .architecture-title {
    font-size: 32px;
  }
  
  .architecture-description {
    font-size: 16px;
  }
  
  .architecture-cards {
    gap: 25px;
  }
  
  .architecture-card {
    padding: 35px 25px;
  }
  
  .architecture-card-title {
    font-size: 18px;
  }
  
  .architecture-features {
    padding: 20px;
    margin-top: 20px;
  }
  
  .features-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .api-modules-section {
    padding: 60px 0;
  }
  
  .api-modules-title {
    font-size: 28px;
  }
  
  .api-modules-description {
    font-size: 16px;
  }
  
  .api-modules-grid {
    gap: 25px;
  }
  
  .api-module-card {
    padding: 30px 25px;
  }
  
  .api-module-header {
    gap: 12px;
    margin-bottom: 15px;
  }
  
  .api-module-icon-img {
    width: 35px;
  }
  
  .api-module-title {
    font-size: 16px;
  }
  
  .api-module-description {
    font-size: 14px;
  }
  
  .adia-tts-section {
    padding: 60px 0;
  }
  
  .adia-tts-content {
    gap: 40px;
  }
  
  .adia-tts-title {
    font-size: 28px;
  }
  
  .stats-block {
    padding: 30px 25px;
  }
  
  .stats-title {
    font-size: 20px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .use-cases-section {
    padding: 60px 0;
  }
  
  .use-cases-title {
    font-size: 28px;
  }
  
  .use-cases-description {
    font-size: 16px;
  }
  
  .use-cases-block {
    padding: 30px 25px;
  }
  
  .use-cases-content-tabs {
    min-height: 380px;
  }
  
  .use-case-cards {
    gap: 25px;
  }
  
  .use-case-card {
    padding: 20px;
  }
  
  .use-case-card-title {
    font-size: 15px;
  }
  
  .use-case-content {
    transform: translateY(25px);
  }
  
  .use-case-content.active .use-case-card {
    animation-duration: 0.5s;
  }
  
  .use-case-content.active .use-case-card:nth-child(1) {
    animation-delay: 0.15s;
  }
  
  .use-case-content.active .use-case-card:nth-child(2) {
    animation-delay: 0.25s;
  }
  
  .use-case-content.active .use-case-card:nth-child(3) {
    animation-delay: 0.35s;
  }
  
  .integration-section {
    padding: 60px 0;
  }
  
  .integration-title {
    font-size: 28px;
  }
  
  .integration-description {
    font-size: 16px;
  }
  
  .integration-cards {
    gap: 25px;
  }
  
  .integration-card {
    padding: 25px;
  }
  
  .integration-card-header {
    gap: 12px;
  }
  
  .integration-icon-img {
    width: 35px;
  }
  
  .integration-card-title {
    font-size: 15px;
  }
  
  .integration-card-description {
    font-size: 13px;
  }
}

/* ========================================
   TABLET - 768px
   ======================================== */
@media (max-width: 768px) {
  /* Améliorations spécifiques pour la section ADIA TTS */
  .adia-tts-section {
    padding: 50px 0;
    background-size: cover;
    background-position: center;
  }
  
  .adia-tts-content {
    flex-direction: column;
    gap: 50px;
    padding: 0 20px;
  }
  
  .adia-tts-left {
    flex: none;
    text-align: center;
    order: 1;
  }
  
  .adia-tts-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 30px;
    word-wrap: break-word;
  }
  
  .adia-tts-description {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 35px;
  }
  
  .adia-tts-buttons {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  
  .btn-huggingface,
  .btn-documentation {
    padding: 16px 32px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    min-height: 50px;
    border-radius: 28px;
  }
  
  .adia-tts-right {
    flex: none;
    width: 100%;
    order: 2;
  }
  
  .stats-block {
    padding: 30px 25px;
    margin: 0 auto;
    max-width: 500px;
    border-radius: 25px;
  }
  
  .stats-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .stats-grid {
    gap: 20px;
    margin-bottom: 30px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stat-value {
    font-size: 32px;
    -webkit-text-stroke-width: 0.8px;
  }
  
  .stat-label {
    font-size: 14px;
    line-height: 1.3;
  }
  
  .stat-item-full {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .stats-badges {
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .stat-badge {
    font-size: 13px;
    padding: 8px 18px;
    text-align: center;
    border-radius: 25px;
  }
  /* Amélioration du scroll et de la navigation */
  html {
    scroll-behavior: smooth;
  }
  
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimisation des conteneurs */
  .container {
    padding: 0 15px;
  }
  
  /* Amélioration de la lisibilité */
  h1, h2, h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Optimisation des boutons pour le touch */
  button, .btn-primary, .btn-huggingface, .btn-documentation {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  /* Amélioration des espacements */
  section {
    scroll-margin-top: 20px;
  }
  
  /* Optimisation des animations pour mobile */
  .animate-on-scroll {
    transition-duration: 0.6s;
  }
  
  /* Amélioration de la navigation des onglets */
  .use-cases-tabs {
    scroll-snap-type: x mandatory;
  }
  
  .use-case-tab {
    scroll-snap-align: start;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .hero-image-container {
    height: 60vh;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-image {
    padding: 0;
    min-height: 100%;
    transform: none !important;
    border-radius: 0;
  }

  .hero-text-overlay {
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 20px;
  }

  .hero-text-overlay h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: center;
    word-wrap: break-word;
  }
  
  .hero-decoration {
    margin-bottom: 0;
  }
  
  .white-deco-img {
    width: 60px;
  }
  
  .hero-badge {
    margin-bottom: 0;
  }
  
  .hero-badge span {
    font-size: 12px;
    padding: 8px 20px;
  }
  
  .hero-text-overlay p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
  }
  
  .btn-primary {
    padding: 15px 40px;
    font-size: 16px;
    width: auto;
    min-width: 200px;
  }
  
  /* Data Section */
  .data-section {
    padding: 50px 0;
  }
  
  .data-content {
    padding: 0 15px;
  }
  
  .data-icon {
    margin-bottom: 30px;
  }
  
  .data-title {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .data-favicon {
    width: 60px;
  }
  
  .data-blocks {
    padding: 25px 20px;
    margin-top: 30px;
  }
  
  .data-block {
    padding: 18px 12px;
  }
  
  .block-title {
    font-size: 14px;
  }
  
  /* Cards Section */
  .cards-section {
    padding: 40px 0;
  }
  
  .card-item {
    padding: 25px 15px;
  }
  
  .card-header {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .card-icon-img {
    width: 30px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .card-description {
    font-size: 14px;
  }
  
  .cards-content {
    padding: 0 10px;
  }
  
  /* API Modules Section */
  .api-modules-section {
    padding: 40px 0;
  }
  
  .api-modules-content {
    padding: 0 10px;
  }
  
  .api-modules-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .api-modules-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  .api-module-card {
    padding: 20px 15px;
  }
  
  .api-module-header {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .api-module-icon-img {
    width: 30px;
  }
  
  .api-module-title {
    font-size: 14px;
  }
  
  .api-module-description {
    font-size: 13px;
  }
  
  /* ADIA TTS Section */
  .adia-tts-section {
    padding: 40px 0;
  }
  
  .adia-tts-content {
    gap: 30px;
  }
  
  .adia-tts-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .adia-tts-description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .adia-tts-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-huggingface,
  .btn-documentation {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
  }
  
  .stats-block {
    padding: 20px 15px;
  }
  
  .stats-title {
    font-size: 16px;
  }
  
  .stats-grid {
    gap: 10px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .stats-badges {
    gap: 8px;
  }
  
  .stat-badge {
    font-size: 10px;
    padding: 5px 10px;
  }
  
  /* Use Cases Section */
  .use-cases-section {
    padding: 40px 0;
  }
  
  .use-cases-content {
    padding: 0 10px;
  }
  
  .use-cases-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .use-cases-description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .use-cases-block {
    padding: 20px 15px !important;
  }
  
  .use-cases-content-tabs {
    min-height: 320px;
  }
  
  .use-case-tab {
    padding: 10px 12px;
    height: 38px;
  }
  
  .use-case-tab span {
    font-size: 12px;
  }
  
  .use-case-content {
    transform: translateY(20px);
  }
  
  .use-case-content.active .use-case-card {
    animation-duration: 0.4s;
  }
  
  .use-case-content.active .use-case-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .use-case-content.active .use-case-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .use-case-content.active .use-case-card:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .use-case-card {
    padding: 18px 12px;
  }
  
  .use-case-card-header {
    gap: 10px;
  }
  
  .use-case-icon-img {
    width: 25px;
    height: 25px;
  }
  
  .use-case-card-title {
    font-size: 13px;
  }
  
  .use-case-card-description {
    font-size: 12px;
  }
  
  /* Integration Section */
  .integration-section {
    padding: 40px 0;
  }
  
  .integration-content {
    padding: 0 10px;
  }
  
  .integration-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .integration-description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .integration-card {
    padding: 18px;
  }
  
  .integration-card-header {
    gap: 10px;
  }
  
  .integration-icon-img {
    width: 30px;
    height: 30px;
  }
  
  .integration-card-title {
    font-size: 14px;
  }
  
  .integration-card-description {
    font-size: 12px;
  }
}

/* ========================================
   TRÈS PETITS ÉCRANS - 320px
   ======================================== */
@media (max-width: 320px) {
  /* Optimisations pour très petits écrans - ADIA TTS Section */
  .adia-tts-section {
    padding: 25px 0;
  }
  
  .adia-tts-content {
    gap: 25px;
    padding: 0 10px;
  }
  
  .adia-tts-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .adia-tts-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  .adia-tts-buttons {
    gap: 10px;
  }
  
  .btn-huggingface,
  .btn-documentation {
    padding: 12px 20px;
    font-size: 14px;
    max-width: 240px;
    min-height: 44px;
  }
  
  .stats-block {
    padding: 15px 12px;
    border-radius: 15px;
  }
  
  .stats-title {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .stats-grid {
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .stat-value {
    font-size: 20px;
    -webkit-text-stroke-width: 0.3px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .stat-item-full {
    margin-bottom: 15px;
  }
  
  .stats-badges {
    gap: 6px;
  }
  
  .stat-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 15px;
  }
}

/* ========================================
   MOBILE - 480px
   ======================================== */
@media (max-width: 480px) {
  /* Améliorations spécifiques pour la section ADIA TTS */
  .adia-tts-section {
    padding: 30px 0;
    background-size: cover;
    background-position: center;
  }
  
  .adia-tts-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }
  
  .adia-tts-left {
    flex: none;
    text-align: center;
    order: 1;
  }
  
  .adia-tts-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 20px;
    word-wrap: break-word;
  }
  
  .adia-tts-description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  
  .adia-tts-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .btn-huggingface,
  .btn-documentation {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
    max-width: 260px;
    min-height: 46px;
    border-radius: 25px;
  }
  
  .adia-tts-right {
    flex: none;
    width: 100%;
    order: 2;
  }
  
  .stats-block {
    padding: 20px 15px;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 20px;
  }
  
  .stats-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .stats-grid {
    gap: 12px;
    margin-bottom: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stat-value {
    font-size: 24px;
    -webkit-text-stroke-width: 0.5px;
  }
  
  .stat-label {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .stat-item-full {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .stats-badges {
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .stat-badge {
    font-size: 11px;
    padding: 6px 12px;
    text-align: center;
    border-radius: 20px;
  }
  /* Optimisations supplémentaires pour très petits écrans */
  .container {
    padding: 0 10px;
  }
  
  /* Réduction des animations pour de meilleures performances */
  .animate-on-scroll {
    transition-duration: 0.4s;
  }
  
  /* Amélioration de l'accessibilité */
  button, .btn-primary, .btn-huggingface, .btn-documentation {
    min-height: 48px;
    font-size: 16px; /* Évite le zoom sur iOS */
  }
  
  /* Optimisation des grilles pour très petits écrans */
  .data-blocks-grid,
  .cards-grid,
  .api-modules-grid,
  .architecture-cards,
  .use-case-cards,
  .integration-cards {
    grid-template-columns: 1fr;
  }
  
  /* Amélioration de la navigation */
  .use-cases-tabs {
    flex-direction: column;
    gap: 8px;
  }
  
  .use-case-tab {
    width: 100%;
    text-align: center;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 0;
    overflow: hidden;
    min-height: 50vh;
  }

  .hero-image-container {
    height: 50vh;
    min-height: 50vh;
  }

  .hero-image {
    padding: 0;
    min-height: 100%;
    transform: none !important;
    border-radius: 0;
  }

  .hero-text-overlay {
    padding: 0;
    gap: 15px;
  }

  .hero-text-overlay h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 0;
    word-wrap: break-word;
  }
  
  .hero-decoration {
    margin-bottom: 0;
  }
  
  .white-deco-img {
    width: 50px;
  }
  
  .hero-badge {
    margin-bottom: 0;
  }
  
  .hero-badge span {
    font-size: 11px;
    padding: 6px 16px;
  }
  
  .hero-text-overlay p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
  }
  
  .btn-primary {
    padding: 12px 30px;
    font-size: 14px;
    min-width: 180px;
  }
  
  /* Optimisations pour toutes les sections */
  .data-section,
  .cards-section,
  .api-modules-section,
  .adia-tts-section,
  .use-cases-section,
  .integration-section {
    padding: 30px 0;
  }
  
  .data-content,
  .cards-content,
  .api-modules-content,
  .adia-tts-content,
  .use-cases-content,
  .integration-content {
    padding: 0 10px;
  }
  
  .data-blocks,
  .use-cases-block,
  .stats-block {
    padding: 20px 15px !important;
  }
  
  .data-blocks-grid,
  .cards-grid,
  .api-modules-grid,
  .architecture-cards,
  .use-case-cards,
  .integration-cards {
    gap: 15px;
  }
  
  .data-block,
  .card-item,
  .api-module-card,
  .architecture-card,
  .use-case-card,
  .integration-card {
    padding: 20px 15px;
  }
  
  /* Data Section */
  .data-section {
    padding: 40px 0;
  }
  
  .data-content {
    padding: 0 10px;
  }
  
  .data-icon {
    margin-bottom: 25px;
  }
  
  .data-title {
    font-size: 24px;
    line-height: 1.2;
  }
  
  .data-favicon {
    width: 50px;
  }
  
  .data-blocks {
    padding: 30px 20px;
    margin-top: 15px;
  }
  
  .data-block {
    padding: 18px 12px;
  }
  
  .block-title {
    font-size: 14px;
  }
  
  /* Cards Section */
  .cards-section {
    padding: 50px 0 30px 0;
  }
  
  .card-item {
    padding: 25px 15px;
  }
  
  .card-header {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .card-icon-img {
    width: 30px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .card-description {
    font-size: 14px;
  }
  
  .cards-content {
    padding: 0 10px;
  }
  
  /* API Modules Section */
  .api-modules-section {
    padding: 40px 0;
  }
  
  .api-modules-content {
    padding: 0 10px;
  }
  
  .api-modules-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .api-modules-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  .api-module-card {
    padding: 20px 15px;
  }
  
  .api-module-header {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .api-module-icon-img {
    width: 30px;
  }
  
  .api-module-title {
    font-size: 14px;
  }
  
  .api-module-description {
    font-size: 13px;
  }
  
  /* ADIA TTS Section */
  .adia-tts-section {
    padding: 40px 0;
  }
  
  .adia-tts-content {
    gap: 30px;
  }
  
  .adia-tts-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .adia-tts-description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .adia-tts-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-huggingface,
  .btn-documentation {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
  }
  
  .stats-block {
    padding: 20px 15px;
  }
  
  .stats-title {
    font-size: 16px;
  }
  
  .stats-grid {
    gap: 10px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .stats-badges {
    gap: 8px;
  }
  
  .stat-badge {
    font-size: 10px;
    padding: 5px 10px;
  }
  
  /* Use Cases Section */
  .use-cases-section {
    padding: 40px 0;
  }
  
  .use-cases-content {
    padding: 0 10px;
  }
  
  .use-cases-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .use-cases-description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .use-cases-block {
    padding: 20px 15px !important;
  }
  
  .use-cases-content-tabs {
    min-height: 300px;
  }
  
  .use-case-tab {
    padding: 8px 10px;
    height: 36px;
  }
  
  .use-case-tab span {
    font-size: 11px;
  }
  
  .use-case-content {
    transform: translateY(15px);
  }
  
  .use-case-content.active .use-case-card {
    animation-duration: 0.3s;
  }
  
  .use-case-content.active .use-case-card:nth-child(1) {
    animation-delay: 0.08s;
  }
  
  .use-case-content.active .use-case-card:nth-child(2) {
    animation-delay: 0.16s;
  }
  
  .use-case-content.active .use-case-card:nth-child(3) {
    animation-delay: 0.24s;
  }
  
  .use-case-card {
    padding: 18px 12px;
  }
  
  .use-case-card-header {
    gap: 10px;
  }
  
  .use-case-icon-img {
    width: 25px;
    height: 25px;
  }
  
  .use-case-card-title {
    font-size: 13px;
  }
  
  .use-case-card-description {
    font-size: 12px;
  }
  
  /* Integration Section */
  .integration-section {
    padding: 40px 0;
  }
  
  .integration-content {
    padding: 0 10px;
  }
  
  .integration-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .integration-description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .integration-card {
    padding: 18px;
  }
  
  .integration-card-header {
    gap: 10px;
  }
  
  .integration-icon-img {
    width: 30px;
    height: 30px;
  }
  
  .integration-card-title {
    font-size: 14px;
  }
  
  .integration-card-description {
    font-size: 12px;
  }
}

/* ========================================
   ORIENTATION PAYSAGE MOBILE
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
  /* Optimisations pour l'orientation paysage - ADIA TTS Section */
  .adia-tts-section {
    padding: 30px 0;
  }
  
  .adia-tts-content {
    flex-direction: row;
    gap: 30px;
    align-items: center;
  }
  
  .adia-tts-left {
    flex: 1;
    text-align: left;
    order: 1;
  }
  
  .adia-tts-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .adia-tts-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  .adia-tts-buttons {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
  }
  
  .btn-huggingface,
  .btn-documentation {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
    max-width: none;
    min-height: 40px;
  }
  
  .adia-tts-right {
    flex: 1;
    order: 2;
  }
  
  .stats-block {
    padding: 20px 15px;
    max-width: 100%;
  }
  
  .stats-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .stats-grid {
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .stat-item-full {
    margin-bottom: 15px;
  }
  
  .stats-badges {
    gap: 8px;
  }
  
  .stat-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* ========================================
   AMÉLIORATIONS D'ACCESSIBILITÉ ET INTERACTIONS
   ======================================== */

/* Améliorations pour les interactions tactiles */
@media (hover: none) and (pointer: coarse) {
  .btn-huggingface,
  .btn-documentation {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .stat-badge {
    min-height: 32px;
    touch-action: manipulation;
  }
  
  .stats-block {
    touch-action: manipulation;
  }
  
  .use-case-tab {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .use-case-card {
    touch-action: manipulation;
  }
}

/* Améliorations pour les lecteurs d'écran */
.adia-tts-section {
  scroll-margin-top: 20px;
}

.adia-tts-title:focus,
.adia-tts-description:focus {
  outline: 2px solid #F90;
  outline-offset: 2px;
}

.btn-huggingface:focus,
.btn-documentation:focus {
  outline: 2px solid #F90;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.2);
}

/* Améliorations pour le contraste et la lisibilité */
@media (prefers-contrast: high) {
  .adia-tts-title {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  }
  
  .adia-tts-description {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  }
  
  .stat-value {
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
  }
}

/* Améliorations pour la réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  .adia-tts-section *,
  .stats-block *,
  .use-case-content *,
  .use-case-tab * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .use-case-content {
    transform: none !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .use-case-content.active {
    transform: none !important;
    position: relative !important;
  }
  
  .use-case-content:not(.active) {
    display: none !important;
  }
  
  .use-case-content.active .use-case-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .use-cases-content-tabs {
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* Améliorations pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .adia-tts-section {
    background-image: url(/assets/bg-adia.svg);
    background-size: cover;
    background-position: center;
  }
}
