/* ========================================
   MoovConseils - Responsive Design
   ======================================== */

/* ========== TABLET STYLES ========== */
@media (max-width: 1024px) {
  /* Navigation */
  .nav-menu {
    gap: 25px;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
  
  /* Hero Section */
  .hero-content {
    gap: 60px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .service-card {
    padding: 35px 25px;
  }
  
  /* Expertise */
  .expertise-content {
    gap: 60px;
  }
  
  /* Process */
  .process-step {
    gap: 30px;
  }
  
  /* About */
  .about-content {
    gap: 60px;
  }
  
  /* Contact */
  .contact-content {
    gap: 60px;
  }
  
  /* Footer */
  .footer-content {
    gap: 30px;
  }
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
  /* Navigation Mobile */
  .nav-menu-horizontal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: var(--transition);
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu-horizontal.active {
    right: 0;
  }
  
  /* Cahier des charges mobile */
  .cahier-form-container {
    padding: 25px 20px;
    margin: 0 15px;
  }
  
  .form-progress {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .form-progress::before {
    display: none;
  }
  
  .progress-step {
    flex-direction: row;
    padding: 0;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-prev,
  .btn-next,
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
  
  /* Pricing mobile */
  .pricing-highlight {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .highlight-card {
    padding: 25px 20px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-process {
    padding: 30px 20px;
  }
  
  /* Value proposition mobile */
  .value-proposition {
    flex-direction: column;
    gap: 15px;
  }
  
  .value-badge {
    justify-content: center;
    text-align: center;
  }
  
  /* Values grid mobile */
  .values-grid.values-2lines {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
  }
  
  .value-item.premium {
    padding: 20px;
  }
  
  /* Footer mobile */
  .footer-content-horizontal {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-contact {
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
  /* Typography */
  .section-title {
    font-size: 2.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  /* Navigation */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Hero Section */
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 25px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary-large,
  .btn-secondary-large {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Hero Visual */
  .hero-visual {
    order: -1;
  }
  
  .floating-card {
    display: none;
  }
  
  .hero-globe {
    width: 250px;
    height: 250px;
  }
  
  .ring-1 { width: 150px; height: 150px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-3 { width: 250px; height: 250px; }
  
  .globe-core {
    width: 80px;
    height: 80px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-card.featured {
    transform: none;
  }
  
  .service-icon i {
    font-size: 2.5rem;
  }
  
  .icon-bg {
    width: 70px;
    height: 70px;
  }
  
  /* Expertise */
  .expertise-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tech-category h3 {
    font-size: 1.1rem;
  }
  
  .code-window {
    order: -1;
  }
  
  .code-content {
    padding: 15px;
    font-size: 0.8rem;
  }
  
  /* Process */
  .process::before {
    display: none;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .process-step:nth-child(even) .step-content,
  .process-step:nth-child(odd) .step-content {
    grid-column: 1;
    text-align: center;
  }
  
  .step-icon {
    grid-column: 1;
    margin: 0 auto 20px;
  }
  
  .step-number {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-block;
    margin-bottom: 15px;
  }
  
  .step-content ul {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .company-info {
    padding: 25px;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
  }
  
  .values-grid.values-2lines {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .visual-container {
    height: 300px;
  }
  
  .orbit-system {
    width: 250px;
    height: 250px;
  }
  
  .central-logo {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .orbit-1 { width: 120px; height: 120px; }
  .orbit-2 { width: 160px; height: 160px; }
  .orbit-3 { width: 200px; height: 200px; }
  
  .planet {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-section:first-child {
    order: -1;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* ========== SMALL MOBILE STYLES ========== */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 0 15px;
  }
  
  /* Typography */
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Navigation */
  .nav-container {
    padding: 0 15px;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .nav-menu {
    width: 280px;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .btn-primary-large,
  .btn-secondary-large {
    padding: 15px 25px;
    font-size: 1rem;
  }
  
  /* Hero Visual */
  .hero-globe {
    width: 200px;
    height: 200px;
  }
  
  .ring-1 { width: 120px; height: 120px; }
  .ring-2 { width: 150px; height: 150px; }
  .ring-3 { width: 180px; height: 180px; }
  
  .globe-core {
    width: 60px;
    height: 60px;
  }
  
  /* Services */
  .service-card {
    padding: 25px 15px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-icon i {
    font-size: 2.2rem;
  }
  
  .icon-bg {
    width: 60px;
    height: 60px;
  }
  
  /* Expertise */
  .tech-items {
    gap: 8px;
  }
  
  .tech-item {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .code-content {
    padding: 12px;
    font-size: 0.75rem;
  }
  
  .line-number {
    margin-right: 15px;
    min-width: 15px;
  }
  
  /* Process */
  .process-step {
    margin-bottom: 40px;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
  }
  
  .step-icon i {
    font-size: 1.5rem;
  }
  
  .step-content h3 {
    font-size: 1.3rem;
  }
  
  /* About */
  .company-info {
    padding: 20px;
  }
  
  .info-item {
    margin-bottom: 20px;
  }
  
  .visual-container {
    height: 250px;
  }
  
  .orbit-system {
    width: 200px;
    height: 200px;
  }
  
  .central-logo {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .orbit-1 { width: 100px; height: 100px; }
  .orbit-2 { width: 130px; height: 130px; }
  .orbit-3 { width: 160px; height: 160px; }
  
  .planet {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }
  
  /* Contact */
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .contact-form {
    padding: 25px 15px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .btn-primary-large {
    width: 100%;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  
  .social-link {
    width: 35px;
    height: 35px;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* ========== LANDSCAPE MOBILE ========== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
  }
  
  .hero-content {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 30px;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  
  .btn-primary-large,
  .btn-secondary-large {
    width: auto;
    min-width: 200px;
  }
}

/* ========== HIGH DPI DISPLAYS ========== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-globe,
  .orbit-system,
  .code-window {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-card,
  .globe-ring,
  .orbit,
  .scroll-wheel {
    animation: none !important;
  }
}

/* ========== DARK MODE PREFERENCE ========== */
@media (prefers-color-scheme: light) {
  /* Keep dark theme as default for futuristic look */
}

/* ========== HOVER STATES FOR TOUCH DEVICES ========== */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .contact-item:hover,
  .value-item:hover,
  .tech-item:hover {
    transform: none;
  }
  
  .btn-primary-large:hover,
  .btn-secondary-large:hover,
  .service-btn:hover,
  .social-link:hover {
    transform: none;
    box-shadow: none;
  }
  
  .nav-link:hover::after {
    width: 0;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  #particles-js,
  .navbar,
  .hero-visual,
  .scroll-indicator {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section-title,
  .gradient-text {
    color: black !important;
    -webkit-text-fill-color: black !important;
  }
  
  .service-card,
  .contact-item,
  .company-info {
    background: white !important;
    border: 1px solid #ccc !important;
  }
}