/* Base Styles */
:root {
    --primary-color: #E2A627; /* Gold/orange from the logo */
    --secondary-color: #2E3B2F; /* Dark green from the logo */
    --accent-color: #f8f3e6; /* Light cream complementary color */
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #2E3B2F;
    --light-bg: #f9f9f9;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

section {
    padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

.section-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    transition: var(--transition);
}

.scrolled .logo-img {
    height: 50px;
}

.nav-menu {
    display: flex;
}

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

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 59, 47, 0.8), rgba(46, 59, 47, 0.9)), url('../images/hero-bg.jpg') center/cover;
    padding: 10rem 0 6rem;
    margin-top: 80px;
    text-align: center;
    color: var(--light-text);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Areas Section */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.area-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.area-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Georreferenciamento Section */
.georef-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.georef-content {
    flex: 1;
    min-width: 300px;
}

.georef-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.8rem;
}

.georef-content h3:first-child {
    margin-top: 0;
}

.georef-content ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.georef-content li {
    margin-bottom: 0.5rem;
}

.georef-image {
    flex: 1;
    min-width: 300px;
}

.georef-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Projects Section */
.projects {
    background-color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

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

.footer-links, 
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 0.5rem;
}

.footer ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--primary-color);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Styles */
.icon-telemedicina::before { content: '\f3cd'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-cirurgias::before { content: '\f0f1'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-consultas::before { content: '\f0f8'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-projetos::before { content: '\f1ad'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-juridico::before { content: '\f0e3'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-equipe::before { content: '\f0c0'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-phone::before { content: '\f095'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-email::before { content: '\f0e0'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.icon-instagram::before { content: '\f16d'; font-family: 'Font Awesome 6 Brands'; }

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-nav-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-nav-links a {
        color: var(--secondary-color);
        font-weight: 500;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .project-img {
        height: 180px;
    }
}

/* Privacy Policy Page */
.privacy-policy {
    margin-top: 80px;
    padding: 5rem 0;
}

.privacy-policy .section-header {
    margin-bottom: 2rem;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.policy-section ul {
    list-style-position: inside;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
    .privacy-policy h1 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
    }
}