/* Responsive Design */

/* Tablets e dispositivos médios */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .vantagens-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile-first: Estilos base para mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Slider Mobile */
    .hero-slider {
        min-height: 80vh;
    }
    
    .hero-slides {
        height: 80vh;
    }
    
    .hero-slide {
        height: 80vh;
        background-position: center center;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .slider-nav {
        bottom: 20px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vantagens-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 10px;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .plano-preco {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form_input_background {
        padding: 0.875rem;
    }
    
    .form_submit_background {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .vantagens-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vantagem-item {
        padding: 1rem;
    }
    
    .vantagem-icon {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

/* Mobile muito pequeno */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .form-container {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .nav-logo-img {
        height: 40px;
        max-width: 120px;
    }
    
    /* Hero Slider Mobile Extra Small */
    .hero-slider {
        min-height: 70vh;
    }
    
    .hero-slides {
        height: 70vh;
    }
    
    .hero-slide {
        height: 70vh;
    }
    
    .slider-nav {
        bottom: 15px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-progress {
        height: 2px;
    }
    
    /* Ícones flutuantes em mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 20px;
        font-size: 18px;
    }
}
}
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .form-container {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .nav-logo-img {
        height: 40px;
        max-width: 120px;
    }
}

/* Tablets em modo paisagem */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vantagens-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 10px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Smartphones em modo retrato */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .plano-preco {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form_input_background {
        padding: 0.875rem;
    }
    
    .form_submit_background {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .vantagens-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vantagem-item {
        padding: 1rem;
    }
    
    .vantagem-icon {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

/* Smartphones pequenos */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .form-container {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Ajustes para dispositivos com altura pequena */
@media (max-height: 600px) {
    .hero {
        min-height: 120vh;
        padding-top: 100px;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Ajustes para modo paisagem em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 150vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        top: 60px;
    }
}

/* Ajustes para tablets em modo paisagem */
@media (min-width: 1024px) and (max-width: 1200px) and (orientation: landscape) {
    .container {
        max-width: 900px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Impressão */
@media print {
    .header,
    .nav-toggle,
    .btn,
    .form-container {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}