/* flutterweb-specific.css - CSS Específico para Site Institucional Flutter Web */

/* ===== VARIÁVEIS E CONFIGURAÇÕES GLOBAIS ===== */
:root {
    --primary-teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-light: #14b8a6;
    --accent-blue: #0369a1;
    --accent-amber: #f59e0b;
    --flutter-blue: #02569b;
    --dart-blue: #0175c2;
    --firebase-yellow: #ffca28;
    --success-green: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --gradient-flutter: linear-gradient(135deg, var(--flutter-blue) 0%, var(--dart-blue) 100%);
    --gradient-teal: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-blue) 100%);
    --gradient-warm: linear-gradient(135deg, var(--accent-amber) 0%, #ec4899 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

/* ===== ESTILOS ESPECÍFICOS DO PROJETO FLUTTER WEB ===== */
.flutterweb-detail {
    background: var(--gray-50);
    color: var(--gray-900);
}

/* ===== HERO SECTION ===== */
.project-hero.flutterweb-detail {
    background: var(--gradient-flutter);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.project-hero.flutterweb-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.project-hero-content {
    position: relative;
    z-index: 2;
}

.project-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

.project-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Device Mockup Styles */
.device-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.laptop-frame {
    background: #2d3748;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.laptop-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
}

.site-screen {
    width: 600px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.floating-widget, .floating-code {
    position: absolute;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.floating-widget {
    top: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.floating-code {
    bottom: 30%;
    left: 10%;
    animation: float 3s ease-in-out infinite 1.5s;
}

/* ===== STATS SECTION ===== */
.project-stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-teal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin-bottom: 12px;
    display: block;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--gray-800);
    font-weight: 600;
    line-height: 1.4;
}

/* ===== PROJECT OVERVIEW ===== */
.project-overview {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.overview-text p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-teal);
}

.feature-icon {
    font-size: 1.25rem;
}

.tech-stack {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.tech-stack h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--gray-900);
    text-align: center;
}

.tech-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tech-item:hover {
    background: white;
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.tech-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tech-item span {
    font-weight: 600;
    color: var(--gray-800);
}

/* ===== DEMO SECTION ===== */
.project-demo {
    padding: 80px 0;
    background: white;
}

.demo-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Carousel Styles */
.screenshot-carousel {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    gap: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio - MESMA DO VÍDEO */
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #000;
    flex: 1;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 20px 16px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0;
}

.carousel-prev, .carousel-next {
    background: var(--primary-teal);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--teal-dark);
    transform: scale(1.1);
}

.carousel-prev:active, .carousel-next:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--gray-400);
}

.carousel-dot.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    transform: scale(1.3);
}

/* Video Demo Styles */
.video-demo {
    background: var(--gray-900);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    flex: 1;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-overlay.hidden {
    display: none;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

/* ===== ARCHITECTURE SECTION ===== */
.project-architecture {
    padding: 80px 0;
    background: var(--gray-50);
}

.architecture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.arch-layer {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arch-layer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-teal);
}

.arch-layer:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.layer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.layer-techs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layer-techs span {
    background: var(--gray-100);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-left: 3px solid var(--primary-teal);
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-teal);
    margin: -12px 0;
}

.technical-features h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--gray-900);
}

.tech-feature {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}

.tech-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-feature p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===== CHALLENGES SECTION ===== */
.project-challenges {
    padding: 80px 0;
    background: white;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.challenge-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.challenge-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.challenge-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 12px;
}

.challenge-card p strong {
    color: var(--gray-900);
}

/* ===== FEATURES SECTION ===== */
.project-features {
    padding: 80px 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-teal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===== PROJECT STRUCTURE ===== */
.project-structure {
    padding: 80px 0;
    background: white;
}

.structure-tree {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    max-width: 800px;
    margin: 0 auto;
}

.folder {
    margin-bottom: 16px;
}

.folder-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.folder-name:hover {
    background: var(--gray-200);
}

.folder-contents {
    margin-left: 24px;
    border-left: 2px solid var(--gray-300);
    padding-left: 16px;
}

.file {
    color: var(--gray-700);
    margin-bottom: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.file:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* ===== FUTURE ROADMAP ===== */
.project-future {
    padding: 80px 0;
    background: var(--gray-50);
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-phase {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.3s ease;
}

.roadmap-phase:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.phase-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.phase-badge:not(.current):not(:last-child) {
    background: var(--gray-200);
    color: var(--gray-700);
}

.current .phase-badge {
    background: var(--accent-amber);
    color: white;
}

.roadmap-phase:last-child .phase-badge {
    background: var(--primary-teal);
    color: white;
}

.roadmap-phase h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.roadmap-phase ul {
    color: var(--gray-700);
    list-style: none;
    padding: 0;
}

.roadmap-phase li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    padding-left: 20px;
}

.roadmap-phase li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.roadmap-phase:last-child li:before {
    content: '☆';
    color: var(--primary-teal);
}

/* ===== CTA SECTION ===== */
.project-cta {
    padding: 80px 0;
    background: var(--gradient-teal);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-400);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .overview-content,
    .demo-showcase,
    .architecture-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-title {
        font-size: 3rem;
    }
    
    .carousel-container,
    .video-container {
        padding-bottom: 75%; /* Proporção ajustada para tablets */
    }
}

@media (max-width: 768px) {
    /* Menu hamburger */
    .menu-toggle {
        display: block;
    }
    
    .menu-items {
        display: none;
        position: fixed;
        top: 70px;
        right: 20px;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        padding: 30px 25px;
        z-index: 999;
        min-width: 200px;
    }
    
    .menu-items.active {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-items a {
        padding: 10px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--gray-900);
    }
    
    .menu-items a:hover {
        background: var(--gray-100);
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-highlights,
    .tech-list {
        grid-template-columns: 1fr;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    
    .demo-showcase {
        gap: 30px;
    }
    
    .carousel-container,
    .video-container {
        padding-bottom: 56.25%; /* Volta para 16:9 em mobile */
    }
}

/* Celulares grandes (≤ 480px) */
@media (max-width: 480px) {
    .project-hero.flutterweb-detail {
        padding: 90px 0 50px;
    }
    
    .project-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    .project-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .project-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .project-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .overview-text h3 {
        font-size: 1.4rem;
    }
    
    .overview-text p {
        font-size: 0.95rem;
    }
    
    .tech-stack {
        padding: 24px;
    }
    
    .tech-stack h4 {
        font-size: 1.1rem;
    }
    
    .challenge-card,
    .feature-card {
        padding: 24px 18px;
    }
    
    .challenge-icon,
    .feature-icon {
        font-size: 2rem;
    }
    
    .challenge-card h3,
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .challenge-card p,
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .arch-layer {
        padding: 20px 16px;
    }
    
    .layer-title {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-actions {
        width: 100%;
    }
    
    .roadmap {
        grid-template-columns: 1fr;
    }
}

/* Celulares médios (≤ 390px) */
@media (max-width: 390px) {
    .project-title {
        font-size: 1.75rem;
    }
    
    .project-subtitle {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.3rem;
    }
    
    .challenge-card,
    .feature-card {
        padding: 20px 16px;
    }
}

/* Celulares comuns (≤ 360px) */
@media (max-width: 360px) {
    .project-hero.flutterweb-detail {
        padding: 85px 0 45px;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
    
    .project-subtitle {
        font-size: 0.9rem;
    }
    
    .project-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .stat-card {
        padding: 26px 18px;
    }
    
    .stat-number {
        font-size: 2.1rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .overview-text h3 {
        font-size: 1.3rem;
    }
    
    .overview-text p {
        font-size: 0.9rem;
    }
    
    .tech-stack {
        padding: 20px;
    }
    
    .challenge-card,
    .feature-card {
        padding: 18px 14px;
    }
    
    .challenge-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .challenge-card p,
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .arch-layer {
        padding: 18px 14px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
}

/* ===== ANIMAÇÕES ESPECIAIS ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeito de digitação para stats */
.stat-number {
    transition: all 1s ease-out;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .project-hero.flutterweb-detail {
        background: var(--flutter-blue);
    }
    
    .project-cta {
        background: var(--primary-teal);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}