:root {
    --primary-color: #2C3D73;    /* Azul escuro do logotipo */
    --secondary-color: #4A90E2;  /* Azul mais claro para hover */
    --accent-color: #F1B352;     /* Dourado do logotipo */
    --text-color: #1A1A1A;       /* Texto principal quase preto */
    --text-light: #4A4A4A;       /* Texto secundário cinza escuro */
    --text-accent: #8B6B43;      /* Marrom dourado para alguns destaques */
    --background-color: #fff;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.8rem;
    margin: -0.8rem;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    background-color: rgba(241, 179, 82, 0.1);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-accent);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: var(--accent-color);
    background-color: rgba(241, 179, 82, 0.1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    nav a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }

    nav a:hover {
        background-color: rgba(241, 179, 82, 0.1);
    }
}

/* Main Content */
main {
    margin-top: 80px;
}

section {
    padding: 4rem 0;
}

.hero {
    background-color: var(--background-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Specialties Section */
.specialties {
    background-color: #f8f9fa;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.specialty-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
}

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

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.team-member h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3em;
    font-weight: 600;
}

.team-member p {
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .team-member img {
        width: 180px;
        height: 180px;
    }
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.4em;
}

.contact-card i {
    font-size: 1.2em;
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
}

.contact-text {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

address {
    font-style: normal;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.contact-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

    .map-container {
        min-height: 300px;
    }
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
    font-weight: 500;
}

/* Typography */
h2 {
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2em;
    font-weight: 600;
}

/* Accessibility */
:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }

    .logo {
        max-width: 200px;
    }

    section {
        padding: 2rem 0;
    }

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

@media (max-width: 480px) {
    nav ul {
        display: none; /* Should be replaced with a mobile menu */
    }
}
