/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #e0e0e0;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3367d6;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f0f7ff;
}

.btn-premium {
    background-color: var(--secondary-color);
    color: white;
}

.btn-premium:hover {
    background-color: #2d9549;
}

.btn-login {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid var(--gray-color);
}

.btn-login:hover {
    background-color: var(--gray-color);
}

.btn-tool {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.btn-tool:hover {
    background-color: #3367d6;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.menu ul {
    display: flex;
}

.menu li {
    margin: 0 15px;
    position: relative;
}

.menu a {
    color: var(--dark-color);
    font-weight: 500;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    min-width: 200px;
    display: none;
    z-index: 10;
    padding: 10px 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 2px 0;
    background-color: var(--dark-color);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Ad Banner - Otimizado para não criar espaços desnecessários */
.ad-banner {
    margin: 10px auto;
    /* Ocultar por padrão até que anúncios sejam configurados */
    display: none;
}

/* Mostrar apenas quando houver conteúdo real do AdSense */
.ad-banner.active {
    display: block;
}

.ad-placeholder {
    width: 100%;
    min-height: 0;
    background-color: transparent;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Estilo para quando o anúncio estiver carregado */
.ad-placeholder .adsbygoogle {
    width: 100%;
    display: block !important;
}

/* Remover espaços vazios */
.ad-placeholder:empty {
    display: none;
}

/* Tools Section */
.tools-section {
    padding: 50px 0;
}

.tools-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.category {
    margin-bottom: 40px;
}

.category h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.tool-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.tool-card p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    flex-grow: 1;
}

/* Premium Banner */
.info-banner {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-content ul {
    margin-bottom: 30px;
    display: inline-block;
    text-align: left;
}

.info-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1;
}

.footer-column {
    flex: 0 0 33%;
    margin-bottom: 20px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .menu.active {
        display: block;
    }
    
    .menu ul {
        flex-direction: column;
    }
    
    .menu li {
        margin: 0;
        padding: 10px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding: 0;
    }
    
    .dropdown-menu a {
        padding-left: 30px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .auth-buttons {
        margin-left: auto;
        margin-right: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .auth-buttons.mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        gap: 10px;
    }
    
    .auth-buttons.mobile .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
} 