/* 
   AYRES E ASSOCIADOS — ESTILOS DO SITE
   Identidade: Azul Royal #0A1F3F + Dourado #C8962E
    */

/* VARIÁVEIS E RESET */
:root {
    --primary-bg: #0A1F3F;
    --accent-gold: #C8962E;
    --text-white: #FFFFFF;
    --text-gray: #E0E0E0;
    --card-bg: #FFFFFF;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===== LOGOTIPO ===== */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

/* ===== NAVBAR ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(200, 150, 46, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0A1F3F 0%, #051020 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 150, 46, 0.05) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero h1 {
    color: var(--accent-gold);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    position: relative;
}

.btn-cta {
    background: var(--accent-gold);
    color: var(--primary-bg);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    border: 2px solid var(--accent-gold);
}

.btn-cta:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* ===== SEÇÕES GERAIS ===== */
section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-bg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 15px auto;
}

/* ===== GRID DE CARDS ===== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    border-bottom: 4px solid var(--accent-gold);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card i {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-bg);
}

/* ===== CLIENTES ===== */
.clients-section .section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 48px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 72px;
    padding: 10px;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== TECNOLOGIAS ===== */
.tech-section {
    background: #f9f9f9;
}

.tech-category h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tech-tag {
    background: var(--primary-bg);
    color: var(--text-white);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

/* ===== SOBRE ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ===== CONTATO ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--primary-bg);
    color: var(--text-white);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.contact-card i {
    font-size: 24px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

button[type="submit"] {
    background: var(--primary-bg);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background: var(--accent-gold);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-bg);
    color: var(--text-white);
    padding: 60px 10% 20px;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    margin-bottom: 20px;
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #888;
}

/* ===== ANIMAÇÃO DE ENTRADA ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 31, 63, 0.98);
        flex-direction: column;
        padding: 20px;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 5%;
    }
}