/* HotMeet - Responsive Design Complet */
/* Mobile First Approach */

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  /* Container principal */
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  /* Header et Navigation */
  .header {
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav {
    padding: 0.5rem 1rem;
    justify-content: space-between;
  }

  .nav-brand {
    gap: 0.5rem;
  }

  .nav-brand .logo-img {
    width: 35px;
    height: 35px;
  }

  .nav-brand .logo-text {
    font-size: 1.3rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #4a1c8c 0%, #2c3e50 100%);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
  }

  /* Hero Section */
  .hero {
    padding: 6rem 1rem 2rem;
    min-height: 100vh;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .visual-placeholder {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  /* Features Grid */
  .features {
    padding: 3rem 0;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  /* Premium Section */
  .premium {
    padding: 3rem 0;
  }

  .premium-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .pricing {
    padding: 1.5rem;
  }

  .price {
    font-size: 2.5rem;
  }

  /* Testimonials */
  .testimonials {
    padding: 3rem 0;
  }

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

  /* CTA Section */
  .cta {
    padding: 3rem 0;
  }

  .cta-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

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

  /* Boutons généraux */
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    bottom: 1rem;
  }
}

/* ===== TABLETTE (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    gap: 3rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

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

  .premium-content {
    gap: 3rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== DESKTOP (>1024px) - Règles existantes conservées ===== */
@media (min-width: 1025px) {
  /* Les règles desktop existantes dans style.css restent actives */
}

/* ===== PETIT MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .visual-placeholder {
    width: 250px;
    height: 250px;
  }

  .feature-card {
    padding: 1rem;
  }

  .pricing {
    padding: 1rem;
  }

  .price {
    font-size: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ===== ANIMATIONS MOBILE ===== */
@media (max-width: 768px) {
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ===== GESTION DES FORMULAIRES MOBILE ===== */
@media (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px; /* Évite le zoom automatique sur iOS */
  }

  .btn-primary,
  .btn-secondary {
    min-height: 44px; /* Taille tactile minimale */
  }
}

/* ===== ASSURANCE DE VISIBILITÉ ===== */
@media (max-width: 768px) {
  /* Garantit que tous les textes sont lisibles */
  * {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Évite les débordements */
  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  /* Garantit que le contenu ne dépasse pas */
  .container > * {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* ===== ORIENTATION PAYSAGE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 120vh;
    padding: 5rem 1rem 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
    min-width: 150px;
  }
}
