/**
 * kotlr.ai - Estilos Principais
 * Arquivo CSS principal otimizado e padronizado
 */

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5252e0;
    --secondary-color: #7c7ce4;
    --dark-color: #14141f;
    --light-color: #f5f5f7;
    --text-color: #333;
    --text-light: #777;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(90deg, var(--primary-color), #7373f0);
}

/* Importação de fontes */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter Regular'), local('Inter-Regular'),
         url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Inter Medium'), local('Inter-Medium'),
         url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZ9hiA.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Inter SemiBold'), local('Inter-SemiBold'),
         url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYAZ9hiA.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Inter Bold'), local('Inter-Bold'),
         url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYAZ9hiA.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local('Inter ExtraBold'), local('Inter-ExtraBold'),
         url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuDyYAZ9hiA.woff2') format('woff2');
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
    overflow-x: hidden;
    padding-top: 70px; /* Espaço para o cabeçalho fixo */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 1rem;
}

/* Cabeçalho - FIXO em todas as páginas */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.9;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin: 0 1rem;
}

.main-menu a {
    font-weight: 500;
    transition: var(--transition);
}

.main-menu a:hover {
    color: var(--primary-color);
}

.highlight-btn {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    position: relative;
}

.auth-buttons button, .primary-btn, .secondary-btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.6rem 1.5rem;
}

#login-btn {
    background-color: transparent;
    color: var(--text-color);
}

#login-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(82, 82, 224, 0.25);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(82, 82, 224, 0.35);
}

.secondary-btn {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Seção Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

/* Seção de recursos */
.features {
    padding: 5rem 2rem;
    background-color: #f5f5f7;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2.75rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    margin-top: auto;
}

/* Seção Como Funciona */
.how-it-works {
    padding: 5rem 2rem;
    background-color: #f5f7ff;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.3rem;
    margin-bottom: 3.5rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(82, 82, 224, 0.3);
}

.step h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Seção de depoimentos */
.testimonials {
    padding: 5rem 2rem;
    text-align: center;
    background-color: white;
    position: relative;
}

.testimonials h2 {
    font-size: 2.3rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    padding: 1rem;
    display: none;
    transition: all 0.3s ease;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background-color: #f5f7ff;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--box-shadow);
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    font-size: 1.15rem;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.2rem;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-color);
}

.testimonial-author p {
    margin: 0;
    color: var(--text-light);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 2rem;
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta .primary-btn {
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta .primary-btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Rodapé */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.footer-logo h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #aaa;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #eee;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-links-column ul li a {
    color: #aaa;
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #aaa;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Classe utilitária para texto da marca kotlr.ai */
.kotlr-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .main-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .main-menu.active {
        left: 0;
    }
    
    .main-menu li {
        margin: 1rem 0;
    }
    
    .auth-buttons {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .auth-buttons.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .steps, .features-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step, .feature-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
} 