@import "style.css";

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

}

:root {
    --primary: #6663e9; /* Verde moderno */
    --dark: #0f172a;    /* Azul escuro profissional */
    --light: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #6663e9;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo span {
    color: white;
}

.cta-nav {
    background: white;
    color: #6663e9;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 5%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero span {
    color: white;
}

.hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #a5a4dd;
}

/* Grid de Planilhas */
.container {
    padding: 40px 5%;
    text-align: center;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.4s;
}

.card:hover .img-container img {
    filter: brightness(1);
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary);
}

.card-info p {
    font-size: 0.9rem;
    color: #a5b7c2;
}

.emblema {
    grid-column: 1 / -1;  
    display: flex;
    flex-direction: column;   /* 👈 faz ficar um abaixo do outro */
    justify-content: center;
    align-items: center;
    text-align: center;       /* centraliza o texto */
    margin: 40px 0;
}

.emblema img {
    width: 200px;
    height: auto;
    margin-bottom: 15px;      /* espaço entre selo e texto */
}

  .emblema h5 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: trocaCor 4s linear infinite;
}


/* Centraliza também a frase abaixo */
.grid-gallery > div:last-child {
    grid-column: 1 / -1;
    text-align: center;
}

@keyframes trocaCor {
    0%   { color: #f5c542; }
    25%  { color: #6663e9; }
    50%  { color: #00e0ff; }
    75%  { color: #ff6ec7; }
    100% { color: #f5c542; }
}
    
.titulo-destaque {
    font-weight: 800;
    animation: animarTitulo 2s ease-in-out infinite;
}

@keyframes animarTitulo {
    0%   { color: #6663e9; } 
    25%  { color: #eec041; }
    50%  { color: #e0ab17; }
    75%  { color: #cc9808; }
    100% { color: #a17908; }
}

.digitando {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #ce8f08; /* cursor */
    width: 0;
    animation: digitar 4s steps(65, end) forwards,
               piscar 0.8s infinite;
}

/* Animação de digitação */
@keyframes digitar {
    from { width: 0; }
    to { width: 100%; }
}

/* Cursor piscando */
@keyframes piscar {
    0%, 50%, 100% { border-color: #6663e9; }
    25%, 75% { border-color: transparent; }
}

footer {
    text-align: center;
    padding: 60px 0;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
  