/* ===== RESPONSIVE DESIGN ===== */

/* Large screens (1200px and up) */


@media (min-width: 768px) {
    .solution-content {
        grid-template-columns: 1fr 1fr; /* Layout de 2 colunas em tablets e desktop */
        align-items: start;
    }
    
    .solution-text {
        text-align: left;
        padding-right: var(--spacing-xl);
    }
    
    .solution-text p {
        margin: 0;
    }
}

@media (min-width: 992px) {
    .solution-content {
        gap: var(--spacing-4xl);
    }
    
    .solution-image-wrapper img {
        max-width: 600px;
    }
    
    .solution-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .solution-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== TESTIMONIALS RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonial-content {
        padding: var(--spacing-xl);
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .testimonial-text p {
        font-size: var(--font-size-base);
    }
    
    .testimonial-author strong {
        font-size: var(--font-size-base);
    }
    
    .testimonial-author span {
        font-size: var(--font-size-xs);
    }
    
    .carousel-dots {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-xl);
        padding: var(--spacing-sm) 0;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (min-width: 768px) {
    .testimonials-carousel {
        max-width: 700px;
    }
    
    .testimonial-content {
        max-width: 500px;
    }
}

@media (min-width: 992px) {
    .testimonials-carousel {
        max-width: 800px;
    }
    
    .testimonial-content {
        max-width: 600px;
        padding: var(--spacing-2xl);
    }
    
    .testimonial-image {
        width: 110px;
        height: 110px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content {
        gap: var(--spacing-4xl);
    }
    
    .section-title {
        font-size: var(--font-size-5xl);
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content {
        gap: var(--spacing-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

/* Small screens (768px and down) */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: #2a2a2a;
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        padding: var(--spacing-md);
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(var(--font-size-3xl), 8vw, var(--font-size-5xl));
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Blueprint specific sections */
    .problems-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .solution-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .pricing-card {
        margin: 0 var(--spacing-md);
        padding: var(--spacing-xl);
    }
    
    .price {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .price-current {
        font-size: var(--font-size-4xl);
    }
}

/* Extra small screens (480px and down) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    /* Typography */
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    /* Spacing */
    .section {
        padding: var(--spacing-3xl) 0;
    }
    
    .hero {
        padding-top: 80px;
        min-height: 80vh;
    }
    
    /* Cards */
    .card,
    .skill-category,
    .project-card,
    .contact-item,
    .cta-card,
    .problem-card,
    .feature-card,
    .step-card,
    .benefit-card {
        padding: var(--spacing-md);
    }
    
    .pricing-card {
        padding: var(--spacing-lg);
    }
    
    /* Buttons */
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .hero-buttons {
        gap: var(--spacing-sm);
    }
    
    /* Images */
    .image-container {
        max-width: 250px;
    }
    
    .image-decoration {
        width: 150px;
        height: 150px;
    }
    
    /* Stats */
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    /* Pricing */
    .price-current {
        font-size: var(--font-size-3xl);
    }
    
    .price-old {
        font-size: var(--font-size-lg);
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-features {
        justify-content: flex-start;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-avatar,
    .hero-illustration {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-cta,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
        page-break-inside: avoid;
    }
    
    .card,
    .skill-category,
    .project-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #000;
        background: none;
        color: #000;
    }
}

/* Reduced motion */
@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;
    }
    
    .animate-fadeInUp,
    .animate-fadeInLeft,
    .animate-fadeInRight,
    .animate-pulse,
    .animate-float,
    .animate-slideInDown {
        animation: none;
    }
}

/* Dark theme is now the default - no mode switching needed */

/* Focus visible for better accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus-visible,
    a:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }
}

/* Container queries (future-proofing) */
@container (max-width: 400px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}

/* Hover support detection */
@media (hover: none) {
    .card:hover,
    .skill-category:hover,
    .project-card:hover,
    .contact-item:hover,
    .cta-card:hover,
    .problem-card:hover,
    .feature-card:hover,
    .step-card:hover,
    .benefit-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
}

/* High contrast mode - Removed problematic overrides */

/* --- Adicione dentro de @media (max-width: 768px) --- */

/* Responsividade do Carrossel */
.carousel-item {
    flex: 0 0 30%; /* Mostra ~3 itens em vez de 5 */
}

.carousel-btn {
    opacity: 1; /* Deixa os botões sempre visíveis no mobile */
    left: 5px;
    width: 40px; /* Um pouco menores para não ocupar tanto espaço */
    height: 40px;
}

.carousel-btn.next {
    right: 5px;
}

/* ===== FINAL OVERRIDE - REMOVE ALL LIST MARKERS ===== */
/* This rule has the highest priority and is loaded last */
html body * ul,
html body * ol,
html body * li {
    list-style: none !important;
    list-style-type: none !important;
}

html body * li::marker {
    display: none !important;
    content: none !important;
}

