/* ================================================
   AIRSTEP - Hero style Uber (split layout)
   Layout deux colonnes : texte gauche + vignette droite
   ================================================ */

/* Hero container */
.hero-split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  padding-top: 100px; /* Espace pour le header fixe */
}

.hero-split-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: center;
}

/* Colonne gauche - Contenu texte */
.hero-split-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Titre principal */
.hero-split-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--text);
}

.hero-split-title span {
  display: block;
  color: var(--azure);
}

/* Sous-titre */
.hero-split-subtitle {
  font-size: clamp(1.05rem, 2vw + 0.5rem, 1.25rem);
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
  max-width: 540px;
}

/* CTAs */
.hero-split-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-split-ctas .cta-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.hero-split-ctas .cta-primary {
  background: var(--azure);
  color: white;
  box-shadow: 0 4px 12px rgba(60, 167, 255, 0.3);
}

.hero-split-ctas .cta-primary:hover {
  background: #2896EF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 167, 255, 0.4);
}

.hero-split-ctas .cta-secondary {
  background: var(--azure-soft);
  color: var(--azure);
  border: 2px solid var(--azure-light);
}

.hero-split-ctas .cta-secondary:hover {
  background: var(--azure-light);
  border-color: var(--azure);
}

/* Stats en ligne */
.hero-split-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-split-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-split-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--azure);
}

.hero-split-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Colonne droite - Vignette image */
.hero-split-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5; /* Portrait, style Uber */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  transition: all 0.4s ease;
}

.hero-split-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
}

.hero-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Badge optionnel sur l'image */
.hero-split-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-split-badge-icon {
  font-size: 1.5rem;
}

.hero-split-badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Header moderne (même que avant) */
.site-header-split {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header-split.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-header-split .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header-split .brand {
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.3s;
}

.site-header-split .brand:hover {
  color: var(--azure);
}

.site-header-split .top-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header-split .top-nav a {
  color: var(--text);
  background: var(--azure-soft);
  border: 1px solid var(--azure-light);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.site-header-split .top-nav a:hover {
  background: var(--azure);
  color: white;
  border-color: var(--azure);
}

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

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

.hero-split-title {
  animation: fadeInUp 0.8s ease backwards;
}

.hero-split-subtitle {
  animation: fadeInUp 0.8s ease backwards;
  animation-delay: 0.1s;
}

.hero-split-ctas {
  animation: fadeInUp 0.8s ease backwards;
  animation-delay: 0.2s;
}

.hero-split-stats {
  animation: fadeInUp 0.8s ease backwards;
  animation-delay: 0.3s;
}

.hero-split-image {
  animation: fadeInRight 0.8s ease backwards;
  animation-delay: 0.2s;
}

/* ================================================
   RESPONSIVE MOBILE
   ================================================ */

@media (max-width: 1024px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-split-image {
    order: -1; /* Image en haut sur tablette */
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-split {
    min-height: auto;
    padding-top: 140px; /* Compensation header mobile */
    padding-bottom: 3rem;
  }
  
  .hero-split-container {
    padding: 0 1.5rem;
    gap: 2.5rem;
  }
  
  .hero-split-content {
    gap: 1.5rem;
  }
  
  .hero-split-title {
    font-size: 2rem;
  }
  
  .hero-split-subtitle {
    font-size: 1rem;
  }
  
  .hero-split-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-split-ctas .cta-btn {
    width: 100%;
  }
  
  .hero-split-stats {
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .hero-split-stat-value {
    font-size: 1.5rem;
  }
  
  .hero-split-image {
    aspect-ratio: 1; /* Carré sur mobile */
    border-radius: 20px;
  }
  
  .hero-split-badge {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 0.75rem 1rem;
  }
  
  /* Header mobile */
  .site-header-split {
    padding: 0.75rem 0;
  }
  
  .site-header-split .shell {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .site-header-split .brand {
    font-size: 1.1rem;
  }
  
  .site-header-split .top-nav {
    width: 100%;
    justify-content: center;
  }
  
  .site-header-split .top-nav a {
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
    flex: 1;
    text-align: center;
    max-width: 150px;
  }
}

@media (max-width: 380px) {
  .hero-split {
    padding-top: 130px;
  }
  
  .hero-split-title {
    font-size: 1.75rem;
  }
  
  .hero-split-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Support iPhone notch */
@supports (padding-top: env(safe-area-inset-top)) {
  .site-header-split {
    padding-top: calc(1.25rem + env(safe-area-inset-top));
  }
  
  @media (max-width: 768px) {
    .hero-split {
      padding-top: calc(140px + env(safe-area-inset-top));
    }
    
    .site-header-split {
      padding-top: calc(0.75rem + env(safe-area-inset-top));
    }
  }
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Grille principale 4 colonnes */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Liens sociaux */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

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

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

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

/* Liste de liens */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

/* Barre du bas */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Responsive footer */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
  }

  .footer-container {
    padding: 0 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

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

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
