/* mobile.css - Styles responsives pour TrackYourMobile */

/* Tablettes (≤ 991px) */
@media (max-width: 991px) {
 /* Ajustements généraux */
 body {
   font-size: 15px;
 }
 
 .container {
   padding: 0 2rem;
 }
 
 /* Header ajusté */
 .site-header {
   padding: 0.8rem 0;
 }
 
 .navbar-brand {
   font-size: 1.3rem;
 }
 
 .navbar-brand i {
   font-size: 1.3rem;
 }
 
 .nav-links {
   gap: 1.2rem;
 }
 
 .nav-links a {
   font-size: 0.9rem;
 }
 
 .login-btn {
   padding: 0.5rem 1.2rem;
   font-size: 0.85rem;
 }
 
 /* Section héro */
 .hero-section {
   padding: 3rem 0;
 }
 
 .hero-title {
   font-size: 2.8rem;
 }
 
 .hero-subtitle {
   font-size: 1.1rem;
   max-width: 100%;
 }
 
 /* Téléphone */
 .phone-display {
   margin-top: 2rem;
 }
 
 .phone-img-wrapper {
   max-width: 80%;
   margin: 0 auto;
 }
}

/* Grand mobile (≤ 768px) */
@media (max-width: 768px) {
 .hero-section {
   padding: 2.5rem 0;
 }
 
 .hero-content {
   text-align: center;
   padding: 1rem 0;
 }
 
 .hero-title {
   font-size: 2.4rem;
   margin-bottom: 1.2rem;
 }
 
 .hero-subtitle {
   font-size: 1rem;
   margin: 0 auto 1.5rem;
 }
 
 .input-group, .btn-primary, .security-features {
   margin-left: auto;
   margin-right: auto;
 }
 
 .phone-display {
   margin-top: 3rem;
   max-width: 400px;
   margin-left: auto;
   margin-right: auto;
 }
 
 /* Footer */
 .footer-bottom {
   flex-direction: column;
   gap: 1rem;
   text-align: center;
 }
 
 .footer-links {
   margin-top: 0.5rem;
   justify-content: center;
 }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
 /* Container et espacements */
 .container {
   padding: 0 2.5rem;
 }
 
 
 /* Contenu héro */
 .hero-section {
   padding: 1rem 0 3rem;
 }
 
 .hero-title {
   font-size: 1.8rem;
   line-height: 1.3;
   margin-bottom: 2rem;
 }
 
 .hero-title span {
   display: inline;
 }
 
 .hero-subtitle {
   font-size: 0.95rem;
   margin-bottom: 1.8rem;
 }
 
 /* Formulaire de recherche */
 .input-group {
   border-radius: 12px;
   margin-bottom: 1rem;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   padding: 0px;
 }
 
 .input-group-text {
   padding: 1rem;
   border-radius: 12px 0 0 12px;
 }
 
 .form-control {
   padding: 1rem;
   border-radius: 0 12px 12px 0;
 }
 
 .btn-primary {
   padding: 1rem;
   font-size: 1rem;
   border-radius: 12px;
   margin-bottom: 1.2rem;
 }
 
 /* Indicateurs de sécurité */
 .security-features {
   display: flex;
   justify-content: space-between;
   background: none;
   padding: 0;
   box-shadow: none;
 }
 
 .security-feature {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 0;
 }
 
 .security-feature i {
   font-size: 1.2rem;
   color: var(--primary);
   margin-bottom: 0.5rem;
 }
 
 .security-feature span {
   font-size: 0.7rem;
   color: var(--gray);
   text-transform: uppercase;
   letter-spacing: 0.05em;
 }
 
 /* Téléphone mockup */
 .phone-display {
   margin: 3rem auto 2rem;
   display: flex;
   justify-content: center;
   align-items: center;
   background: rgba(245, 247, 250, 0.5);
   border-radius: 20px;
   padding: 2rem 0;
   box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
   max-width: 90%;
 }
 
 .phone-img-wrapper {
   max-width: 75%;
   position: relative;
   text-align: center;
   background: white;
   border-radius: 30px;
   padding: 10px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 }
 
 .phone-image {
   border-radius: 22px;
   display: block;
   width: 100%;
 }
 
 /* Footer */
 .site-footer {
   padding: 2rem 0;
   margin-top: 2rem;
 }
 
 .footer-links {
   gap: 1rem;
   flex-wrap: wrap;
   justify-content: center;
 }
 
 .copyright p {
   font-size: 0.8rem;
 }
 
 .footer-links a {
   font-size: 0.85rem;
 }
}

/* Très petits écrans */
@media (max-width: 375px) {
 .container {
   padding: 0 1.5rem;
 }
 
 .hero-title {
   font-size: 1.9rem;
 }
 
 .hero-subtitle {
   font-size: 0.9rem;
 }
 
 .btn-primary {
   font-size: 0.95rem;
 }
 
 .security-feature i {
   font-size: 1.1rem;
 }
 
 .security-feature span {
   font-size: 0.65rem;
 }
}

/* Responsive pour les nouvelles sections */
@media (max-width: 992px) {
    .features-grid, 
    .testimonials-slider,
    .compatibility-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-container {
        flex-direction: column;
    }
    
    .price-box {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid, 
    .testimonials-slider,
    .compatibility-features {
        grid-template-columns: 1fr;
    }
    
    .compatibility-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .pricing-section, 
    .features-section,
    .testimonials-section,
    .compatibility-section {
        padding: 3rem 0;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin-bottom: 1rem;
    }
    
    .price-amount {
        margin-bottom: 1.5rem;
    }
    
    .currency {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .decimal {
        font-size: 1.2rem;
    }
}

/* Animations */
@media (max-width: 576px) {
 .phone-img-wrapper {
   animation: float 6s ease-in-out infinite;
 }
 
 @keyframes float {
   0%, 100% { 
     transform: translateY(0);
   }
   50% { 
     transform: translateY(-8px);
   }
 }
}