/* Estilos para o site ainudeBR.site - CSS */

/* Paleta de cores inspirada no Brasil */
:root {
    --verde-brasil: #009c3b;    /* Verde da bandeira brasileira */
    --amarelo-brasil: #ffdf00;  /* Amarelo da bandeira brasileira */
    --azul-brasil: #002776;     /* Azul da bandeira brasileira */
    --vermelho-acento: #e4002b; /* Vermelho para acentos */
    --branco-puro: #ffffff;     /* Branco */
    --text-escuro: #222222;     /* Texto escuro */
    --text-claro: #ffffff;      /* Texto claro */
    --bg-claro: #f8f8f8;        /* Fundo claro */
    --bg-escuro: #111111;       /* Fundo escuro */
    --sombra: rgba(0, 0, 0, 0.15); /* Sombra */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-escuro);
    background-color: var(--bg-claro);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--azul-brasil);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--verde-brasil);
}

/* Tipografia */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    color: var(--text-claro);
}

h2 {
    font-size: 2.5rem;
    color: var(--azul-brasil);
}

h3 {
    font-size: 1.5rem;
    color: var(--azul-brasil);
}

p {
    margin-bottom: 20px;
}

/* Botões */
.primary-button {
    display: inline-block;
    background-color: var(--amarelo-brasil);
    color: var(--azul-brasil);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 223, 0, 0.3);
}

.primary-button:hover {
    background-color: var(--verde-brasil);
    color: var(--text-claro);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 156, 59, 0.4);
}

.pulse-button {
    position: relative;
}

/* Header */
.site-header {
    background-color: var(--azul-brasil);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--sombra);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

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

/* Navegação */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-claro);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--amarelo-brasil);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links .primary-button {
    padding: 8px 20px;
    margin-left: 15px;
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background-color: var(--text-claro);
    transition: all 0.3s ease;
}

.hamburger-icon:before,
.hamburger-icon:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text-claro);
    transition: all 0.3s ease;
}

.hamburger-icon:before {
    top: -8px;
}

.hamburger-icon:after {
    top: 8px;
}

/* Seção Hero */
.hero-section {
    background: linear-gradient(135deg, var(--azul-brasil), #1a4b9c);
    color: var(--text-claro);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    z-index: 1;
    opacity: 0.2;
}

.brasil-pattern-element {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 223, 0, 0.3) 10%, transparent 10%), radial-gradient(circle, rgba(0, 156, 59, 0.3) 10%, transparent 10%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    border-radius: 50%;
    opacity: 0.6;
}

/* Seção de Recursos */
.recursos-section {
    padding: 80px 0;
    background-color: var(--bg-claro);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--verde-brasil), var(--amarelo-brasil), var(--azul-brasil));
    border-radius: 3px;
}

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

.recurso-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--sombra);
    position: relative;
    overflow: hidden;
}

.recurso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--sombra);
}

.recurso-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.brasil-style-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-claro), white);
    color: var(--azul-brasil);
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px var(--sombra);
    position: relative;
}

.brasil-style-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--verde-brasil);
    animation: spin 20s linear infinite;
}

.brasil-icon {
    width: 40px;
    height: 40px;
    color: var(--azul-brasil);
}

/* Seção Como Funciona */
.como-funciona-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(0, 39, 118, 0.05), rgba(0, 156, 59, 0.05));
    position: relative;
}

.processo-steps {
    max-width: 800px;
    margin: 0 auto;
}

.processo-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--azul-brasil);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-claro);
    flex-shrink: 0;
    margin-right: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 39, 118, 0.3);
}

.step-number:after {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--azul-brasil), transparent);
}

.processo-step:last-child .step-number:after {
    display: none;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--azul-brasil);
}

/* Seção de Modelos */
.modelos-section {
    padding: 80px 0;
    background-color: var(--bg-claro);
}

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

.modelo-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--sombra);
    border: 1px solid rgba(255, 223, 0, 0.1);
}

.modelo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--sombra);
}

.modelo-card h3 {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--amarelo-brasil);
}

.modelo-features {
    list-style: none;
    margin-bottom: 20px;
}

.modelo-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.modelo-features li:before {
    content: '✓';
    color: var(--verde-brasil);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.modelo-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--azul-brasil);
    color: var(--text-claro);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modelos-cta {
    text-align: center;
    margin-top: 30px;
}

/* Seção FAQ */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(255, 223, 0, 0.05), rgba(0, 156, 59, 0.05));
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--sombra);
    background: white;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--sombra);
}

.faq-question {
    padding: 20px;
    background-color: white;
    color: var(--azul-brasil);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid var(--verde-brasil);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--amarelo-brasil);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: var(--azul-brasil);
    color: var(--text-claro);
}

.faq-item.active .faq-question:after {
    content: '-';
    color: var(--amarelo-brasil);
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Banner CTA */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--azul-brasil), var(--verde-brasil));
    color: var(--text-claro);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--text-claro);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.brasil-decoration-element {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -100px;
    bottom: -100px;
    background-image: radial-gradient(circle, rgba(255, 223, 0, 0.2) 10%, transparent 10%), radial-gradient(circle, rgba(0, 156, 59, 0.15) 10%, transparent 10%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.4;
    border-radius: 50%;
    transform: rotate(-20deg);
    z-index: 1;
}

/* Footer */
.site-footer {
    background-color: var(--bg-escuro);
    color: #999;
    padding: 60px 0 30px;
    position: relative;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-favicon {
    margin-top: 15px;
}

.footer-favicon img {
    width: 40px;
    height: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-links-column {
    margin-right: 60px;
    min-width: 150px;
}

.footer-links-column h3 {
    color: var(--text-claro);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column a {
    color: #999;
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--amarelo-brasil);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.brasil-pattern-footer {
    height: 10px;
    width: 100%;
    background: linear-gradient(90deg, var(--verde-brasil), var(--amarelo-brasil), var(--azul-brasil));
    position: absolute;
    top: 0;
    left: 0;
}

/* Animações */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 223, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 223, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 223, 0, 0.3);
    }
}

.page-loaded .recurso-card,
.page-loaded .processo-step,
.page-loaded .modelo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-fade-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-fade-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Estilos Responsivos */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-decoration {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--azul-brasil);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
        padding: 80px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-toggle.active .hamburger-icon {
        background-color: transparent;
    }
    
    .mobile-menu-toggle.active .hamburger-icon:before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-icon:after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .recursos-grid,
    .modelos-grid {
        grid-template-columns: 1fr;
    }
    
    .processo-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .step-number:after {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .primary-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
