/* ---------------------------------
CONFIGURAÇÕES GLOBAIS E VARIÁVEIS
---------------------------------
*/
:root {
    --dark-blue-bg: #0A192F;
    --light-blue-bg: #172A45;
    --accent-gold: #D4AF37;
    --text-light: #E6F1FF;
    --text-secondary: #8892B0;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background: var(--dark-blue-bg);
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------------------------------
NAVEGAÇÃO INTELIGENTE
---------------------------------
*/
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo a {
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    margin: 0 20px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 8px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    color: var(--text-light);
    cursor: pointer;
}

/* ---------------------------------
SEÇÃO HERO COM VÍDEO DE FUNDO
---------------------------------
*/
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--dark-blue-bg) 5%, rgba(10, 25, 47, 0.7) 100%);
    z-index: -1;
}

#hero h1 {
    font-family: var(--heading-font);
    font-size: 4.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    max-width: 900px;
    animation: slideInUp 1s ease-out;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.3s backwards;
}

#hero .cta-button {
    background: var(--accent-gold);
    color: var(--dark-blue-bg);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s backwards;
}

#hero .cta-button:hover {
    background-color: #EACD65;
    transform: translateY(-5px);
}

/* ---------------------------------
ESTILOS GERAIS DE SEÇÃO
---------------------------------
*/
.section-wrapper {
    background-color: var(--light-blue-bg);
}

section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-family: var(--heading-font);
    color: var(--accent-gold);
    font-size: 3rem;
    margin-bottom: 20px;
}

section>p.subtitle {
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 5px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------------------------------
CARDS E GRIDS
---------------------------------
*/
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--dark-blue-bg);
    border-radius: 5px;
    text-align: left;
    transition: transform 0.4s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px);
}

.card:hover::before {
    opacity: 1;
}

.card-content {
    padding: 25px;
}

.card h3 {
    color: var(--text-light);
    font-family: var(--heading-font);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

#areas .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#areas .card:hover .card-image {
    transform: scale(1.05);
}

/* Estilos para a nova seção Nosso Time */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
    text-align: left;
}

.team-profile {
    background-color: var(--light-blue-bg);
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--accent-gold);
}

.team-profile h3 {
    font-family: var(--heading-font);
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 5px;
}

.team-profile p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* ---------------------------------
CONTATO
---------------------------------
*/
.contact-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.contact-logo-wrapper {
    flex-basis: 250px;
}

.contact-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--dark-blue-bg);
    padding: 20px;
    border: 2px solid var(--light-blue-bg);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-logo:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-button {
    display: inline-block;
    background-color: #25D366;
    /* Cor do WhatsApp */
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 20px;
}

.contact-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.contact-button i {
    margin-right: 10px;
    font-size: 1.3em;
    vertical-align: middle;
}

.phone-number {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.phone-number a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-number a:hover {
    color: var(--accent-gold);
}

.address-card {
    display: block;
    padding: 25px;
    border: 1px solid var(--light-blue-bg);
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-bottom: 30px;
}

.address-card:hover {
    background-color: var(--dark-blue-bg);
    border-color: var(--accent-gold);
}

.address-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    transition: color 0.3s ease;
}

.address-card:hover p,
.address-card:hover p strong {
    color: var(--text-light);
}

.address-card p strong {
    color: var(--text-light);
    font-weight: 500;
}

.address-card p strong .fa-map-marker-alt {
    color: #E74C3C;
    /* Cor vermelha para o PIN */
    margin-right: 8px;
}

.social-links a {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 1.2em;
    text-align: center;
    border-radius: 50%;
    background-color: var(--light-blue-bg);
    color: var(--text-light);
    margin-right: 15px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--dark-blue-bg);
    transform: translateY(-3px);
}

/* ---------------------------------
ESTILOS DO FORMULÁRIO PREMIUM
---------------------------------
*/
.premium-form {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-blue-bg);
    border: 1px solid var(--light-blue-bg);
    border-radius: 5px;
    color: var(--text-light);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.premium-form select option {
    background: var(--dark-blue-bg);
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--body-font);
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
}

.form-status.success {
    color: #2ecc71;
}

.form-status.error {
    color: #e74c3c;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ---------------------------------
ANIMAÇÕES
---------------------------------
*/
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------
RESPONSIVIDADE
---------------------------------
*/
@media (max-width: 992px) {
    nav {
        padding: 1.5rem;
    }

    nav.scrolled {
        padding: 1rem;
    }

    #hero h1 {
        font-size: 3.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 820px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        text-align: center;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-blue-bg);
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        text-align: center;
        width: 100%;
        padding: 10px 0;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 80px 15px;
    }

    #hero h1 {
        font-size: 2.8rem;
    }
}