/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Import placeholder styles */
@import url('assets/placeholder.css');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-yellow: #FFD700;
    --primary-black: #000000;
    --secondary-yellow: #FFC107;
    --light-gray: #f8f9fa;
    --text-gray: #666;
    --white: #ffffff;
    --gradient-yellow: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #333333 100%);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    z-index: 1;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-accent {
    color: var(--primary-yellow);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: var(--secondary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.3);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C);
}

.social-link.twitter {
    background: #1DA1F2;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-icon {
    font-size: 1.2rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.mockup-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    border-radius: 20px;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.icon-item {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: float 3s ease-in-out infinite;
}

.icon-item img {
    width: 100%;
    height: 100%;
}

.icon-item.car {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.icon-item.map {
    top: 30%;
    left: -15%;
    animation-delay: 0.5s;
}

.icon-item.tools {
    bottom: 30%;
    right: -5%;
    animation-delay: 1s;
}

.icon-item.target {
    bottom: 10%;
    left: -10%;
    animation-delay: 1.5s;
}

/* Para responsividade, vamos usar transform scale */
@media (max-width: 480px) {
    .phone-mockup {
        max-width: 280px;
        transform: scale(0.85);
    }
    
    .phone-screen {
        top: 68px; /* Ajustado proporcionalmente */
        left: 17px; /* Ajustado proporcionalmente */
        width: 238px; /* Ajustado proporcionalmente */
        height: 408px; /* Ajustado proporcionalmente */
    }
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 6%; /* Proporcional ao SVG */
    display: block;
}

/* Para responsividade */
@media (max-width: 480px) {
    .phone-mockup {
        max-width: 320px;
    }
    
    .floating-icons {
        display: none; /* Ocultar ícones flutuantes em mobile */
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.icon-item {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: float 3s ease-in-out infinite;
}

.icon-item img {
    width: 100%;
    height: 100%;
}

.icon-item.car {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.icon-item.map {
    top: 30%;
    left: -15%;
    animation-delay: 0.5s;
}

.icon-item.tools {
    bottom: 30%;
    right: -5%;
    animation-delay: 1s;
}

.icon-item.target {
    bottom: 10%;
    left: -10%;
    animation-delay: 1.5s;
}

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

/* Círculos amarelos para ícones flutuantes */
.floating-icons .icon-item {
    background: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 60px;
    animation: float 3s ease-in-out infinite;
}

/* Para adicionar imagens PNG nos ícones flutuantes */
.floating-icons .icon-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Remove imagens img dos ícones flutuantes */
.floating-icons .icon-item img {
    display: none;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 50px;
}

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

/* Círculos amarelos para ícones das funcionalidades */
.feature-card .icon-item {
    background: var(--primary-yellow);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Remove imagens dos ícones das funcionalidades */
.feature-card .icon-item img {
    display: none;
}

/* Para adicionar imagens PNG nos ícones das funcionalidades */
.feature-card .icon-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Para adicionar imagens PNG posteriormente */
.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Remove imagens dos ícones das features */
.feature-icon img {
    display: none;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.feature-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-yellow);
    background: var(--primary-black);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--primary-black);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    position: relative;
}

/* Remove o ::before anterior e usa a estrutura .download-icon */
.download-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-yellow);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Remove imagens dos botões de download */
.download-btn img {
    display: none;
}

.download-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.download-btn.appstore {
    background: var(--primary-black);
}

.download-btn.playstore {
    background: var(--primary-black);
}

.download-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.store-icon {
    width: 30px;
    height: 30px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.download-store {
    font-size: 1.1rem;
    font-weight: 600;
}

.os-detection {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    color: var(--text-gray);
    font-size: 0.9rem;
}

#detectedOS {
    font-weight: 600;
    color: var(--primary-yellow);
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-text {
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .floating-icons {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* === CORREÇÕES FINAIS PARA ÍCONES === */

/* Força estilo para ícones flutuantes */
.floating-icons .icon-item {
    background: var(--primary-yellow) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    width: 60px !important;
    height: 60px !important;
    animation: float 3s ease-in-out infinite !important;
}

.floating-icons .icon-item img {
    display: none !important;
}

/* Força estilo para ícones de features */
.feature-icon {
    width: 60px !important;
    height: 60px !important;
    background: var(--primary-yellow) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
}

.feature-icon img {
    display: none !important;
}

/* Força estilo para ícones de download */
.download-icon {
    width: 40px !important;
    height: 40px !important;
    background: var(--primary-yellow) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.download-icon img {
    display: none !important;
}

/* === FORÇA TOTAL - 2025-07-25 === */
body .floating-icons .icon-item {
    background: #FFD700 !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    position: absolute !important;
    animation: float 3s ease-in-out infinite !important;
}

body .feature-icon {
    background: #FFD700 !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
}

body .download-icon {
    background: #FFD700 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
}

/* === DRIVER SECTION === */
.driver-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, #333 100%);
    color: var(--white);
}

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

.driver-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--white);
}

.driver-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ccc;
}

.driver-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.driver-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 1.1rem;
}

.benefit-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.driver-buttons {
    display: flex;
    gap: 20px;
}

.download-btn.driver-app {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: 3px solid var(--primary-yellow);
    min-width: 250px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn.driver-app:hover {
    background: transparent;
    color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.driver-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.driver-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
}

.stat-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary-yellow);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #ccc;
    font-weight: 500;
}

/* Responsive para driver section */
@media (max-width: 768px) {
    .driver-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .driver-title {
        font-size: 2.5rem;
    }
    
    .driver-stats {
        max-width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .download-btn.driver-app {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .driver-title {
        font-size: 2rem;
    }
    
    .driver-section {
        padding: 60px 0;
    }
}

/* Oculta todas as imagens dentro dos ícones */
body .icon-item img,
body .icon-item .icon-img,
body .feature-icon img,
body .download-icon img {
    display: block !important;
    visibility: visible !important;
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
}

/* Tamanhos específicos para cada tipo */
body .floating-icons .icon-item img,
body .floating-icons .icon-item .icon-img {
    width: 35px !important;
    height: 35px !important;
    display: block !important;
    visibility: visible !important;
    object-fit: contain !important;
}

body .feature-icon img {
    width: 30px !important;
    height: 30px !important;
}

body .download-icon img {
    width: 24px !important;
    height: 24px !important;
}
