/* ═══════════════════════════════════════════════
   OXLUM GROUP — responsive.css corrigé
   Complément responsive pour toutes les pages
   ═══════════════════════════════════════════════ */

/* GRANDES TABLETTES */
@media (max-width: 1200px) {
  .nav-container {
    width: 94%;
  }

  .hero {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr));
  }
}

/* TABLETTES */
@media (max-width: 1100px) {
  .nav-menu,
  .nav-actions {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }

  .nav-container {
    height: 70px;
  }

  .nav-logo {
    max-width: 120px;
  }

  .nav-logo img {
    height: 34px;
    max-width: 115px;
    max-height: 34px;
  }

  .mobile-menu.open,
  .mobile-menu.active,
  .mobile-menu.ox-open {
    display: grid !important;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 130px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    min-height: 340px;
    width: min(420px, 100%);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ox-services-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ox-demo-card,
  .demo-card,
  .store-demo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

/* TABLETTES VERTICALES */
@media (max-width: 900px) {
  .section {
    padding: 86px 5%;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .hero {
    padding-left: 5%;
    padding-right: 5%;
  }

  .platform-card,
  .service-card,
  .security-card,
  .ox-service-card,
  .service-detail,
  .service-link,
  .contact-service-card {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-table-wrapper,
  .table-wrapper {
    width: 100%;
  }
}

/* MOBILES */
@media (max-width: 720px) {
  html {
    font-size: 15px;
  }

  body {
    overflow-x: hidden;
  }

  .navbar {
    min-height: 66px;
  }

  .nav-container {
    width: 92%;
    height: 66px;
    gap: 10px;
  }

  .nav-logo {
    max-width: 112px;
  }

  .nav-logo img {
    height: 32px;
    max-width: 108px;
    max-height: 32px;
  }

  .burger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .mobile-menu {
    width: 92%;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .mobile-menu a {
    padding: 13px 14px;
  }

  .hero {
    min-height: auto;
    padding: 112px 5% 70px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.1rem);
    letter-spacing: -0.055em;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-card {
    min-height: 270px;
    padding: 26px;
    border-radius: 26px;
  }

  .hero-card img {
    max-width: 155px;
    max-height: 155px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 34px 16px;
  }

  .section {
    padding: 76px 5%;
  }

  .section-header h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section-header p {
    font-size: 0.96rem;
  }

  .grid-4,
  .grid-3,
  .ox-services-grid,
  .services-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .platform-card,
  .service-card,
  .security-card,
  .ox-service-card,
  .service-detail,
  .service-link,
  .contact-service-card {
    min-height: auto;
    padding: 24px;
  }

  .ox-service-actions,
  .service-actions {
    flex-direction: column;
  }

  .ox-service-actions .btn-primary,
  .ox-service-actions .btn-secondary,
  .service-actions .btn-primary,
  .service-actions .btn-secondary {
    width: 100%;
  }

  .ox-demo-card,
  .demo-card,
  .store-demo-card {
    width: 100%;
    padding: 24px;
    border-radius: 24px;
  }

  .demo-product,
  .ox-demo-product {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .news-table-wrapper {
    width: 100%;
    border-radius: 18px;
  }

  .news-table {
    min-width: 720px;
  }

  .timeline {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .contact-box {
    width: 100%;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .contact-box .btn-primary,
  .contact-box .btn-secondary {
    width: 100%;
  }

  .footer {
    padding: 54px 5% 88px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand img {
    max-width: 120px;
    max-height: 58px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .notification-button {
    right: 16px;
    bottom: 84px;
    width: 52px;
    height: 52px;
  }

  .notification-panel {
    right: 16px;
    bottom: 142px;
    width: calc(100vw - 32px);
  }

  .install-banner {
    width: 92%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* PETITS MOBILES */
@media (max-width: 520px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 7px 14px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-card {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .section-header h2 {
    font-size: 2.05rem;
  }

  .section-header span {
    letter-spacing: 0.12em;
  }

  .platform-card,
  .service-card,
  .security-card,
  .ox-service-card,
  .service-detail,
  .service-link,
  .contact-service-card {
    padding: 22px;
    border-radius: 20px;
  }

  .ox-demo-card,
  .demo-card,
  .store-demo-card {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-box {
    padding: 24px 20px;
  }

  .notification-panel {
    max-height: 72vh;
    overflow-y: auto;
  }
}

/* TRÈS PETITS ÉCRANS */
@media (max-width: 420px) {
  .nav-container {
    width: 94%;
  }

  .nav-logo {
    max-width: 105px;
  }

  .nav-logo img {
    max-width: 100px;
    height: 30px;
    max-height: 30px;
  }

  .hero {
    padding-top: 105px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-card img {
    max-width: 135px;
    max-height: 135px;
  }

  .stat-card {
    padding: 28px 14px;
  }

  .section {
    padding: 66px 5%;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .mobile-menu {
    width: 94%;
  }

  .news-table {
    min-width: 700px;
  }

  .footer {
    padding-bottom: 92px;
  }
}

/* CORRECTION PAYSAGE MOBILE */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero-card {
    min-height: 240px;
  }

  .mobile-menu {
    max-height: 72vh;
    overflow-y: auto;
  }
}

/* ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}