

:root {
    /* Primary Palette */
    --color-bg-dark: #1d252d;
    --color-bg-alt: #172b4b;
    --color-gold: #b4a269;
    --color-gold-light: #c5b689;
    --color-beige: #ebe2d6;
    --color-text: #111111;
    --color-white: #ffffff;
    --color-grey: #666666;

    /* Typography */
    --font-heading: 'Times New Roman', Times, serif;
    --font-body: 'Times New Roman', Times, serif;
    --font-serif: 'Times New Roman', Times, serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-bg-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.text-white {
    color: var(--color-white) !important;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: var(--color-bg-dark);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagem_capa-1-1.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(14, 28, 48, 0.95), rgba(14, 28, 48, 0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.hero-intro {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Section Common */
section[id] {
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.section-subtitle {
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sobre Section */
#sobre {
    background-color: var(--color-beige);
}

.sobre-content {
    columns: 1;
    gap: 3rem;
}

@media (min-width: 992px) {
    .sobre-content {
        columns: 2;
    }
}

.sobre-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: justify;
}

.sobre-image-container {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sobre-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Atuação Section */
.atuacao-section {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .atuacao-grid {
        grid-template-columns: 1fr;
    }
}

.atuacao-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
    border-bottom: 3px solid transparent;
    transition: var(--transition-smooth);
}

.atuacao-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-bottom: 3px solid var(--color-gold);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.atuacao-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.btn-leia-mais {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.btn-leia-mais:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--color-bg-dark);
    max-width: 800px;
    width: 100%;
    padding: 3rem;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(180, 162, 105, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
}

.modal-body {
    color: var(--color-white);
    line-height: 1.8;
}

/* Team Modal specific */
.modal-content.team-modal {
    max-width: 900px;
}

.team-modal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.team-modal-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-modal-info h2 {
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Mobile adjustments for team modal */
@media (max-width: 768px) {
    .team-modal-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-modal-img {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Equipe Section */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.equipe-card {
    text-align: center;
}

.equipe-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.equipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.equipe-card:hover img {
    transform: scale(1.05);
}

.equipe-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.equipe-info .cargo {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Footer & WhatsApp */
footer {
    background-color: #1d252d;
    /* Matching primary dark for consistency */
    padding: var(--spacing-lg) 0 2rem;
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(180, 162, 105, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-info h4,
.footer-links h4,
.footer-contact h4 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-info p,
.footer-contact p {
    color: var(--color-white);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--color-gold);
}

.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-decoration: underline;
}

/* Map Modal specific */
.modal-content.map-modal {
    max-width: 900px;
    padding: 1.5rem;
}

.map-container {
    width: 100%;
    height: 450px;
    background: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-white);
    font-size: 0.85rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
}