/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c5530;
}

h2 {
    font-size: 2rem;
    color: #2c5530;
}

h3 {
    font-size: 1.5rem;
    color: #0056b3;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5530;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0056b3;
    margin: 1rem auto;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.credentials {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #0056b3;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(44, 85, 48, 0.8) 0%, rgba(0, 86, 179, 0.8) 100%),
        url('../images/infectologia.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #e8f4fd;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.location i {
    margin-right: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #0056b3;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0056b3;
}

/* Sobre */
.sobre {
    padding: 80px 0;
    background: white;
}

.sobre-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-intro {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    text-align: left;
}

.sobre-photo {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: translateY(-5px);
}

.sobre-text {
    text-align: left;
}

.sobre-text p {
    text-align: left;
}

/* Responsividade da seção sobre */
@media (max-width: 768px) {
    .sobre-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .sobre-text {
        text-align: center;
    }
    
    .sobre-text p {
        text-align: center;
    }
    
    .profile-photo {
        max-width: 200px;
    }
}

.lead {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #555;
    font-weight: 400;
}

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

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item i {
    font-size: 3rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.expertise-item h4 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #0056b3;
    margin: 3rem 0;
    padding: 2rem;
    background: #e8f4fd;
    border-left: 4px solid #0056b3;
    border-radius: 0 8px 8px 0;
}

/* Infectologia */
.infectologia {
    padding: 80px 0;
    background: #f8f9fa;
}

.infectologia-content {
    max-width: 1000px;
    margin: 0 auto;
}

.infectologia-intro {
    margin-bottom: 3rem;
}

.infectologia-intro-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.infectologia-text {
    text-align: left;
}

.infectologia-photo {
    display: flex;
    justify-content: center;
}

.infectologia-photo-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.infectologia-photo-img:hover {
    transform: translateY(-5px);
}

.quando-procurar {
    margin-bottom: 3rem;
}

.papel-infectologista {
    margin-bottom: 3rem;
}

.cuidar-vida {
    margin-bottom: 2rem;
}

.lista-sintomas {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.lista-sintomas li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #555;
}

.lista-sintomas li::before {
    content: '•';
    color: #0056b3;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.papel-lista {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.papel-lista li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #555;
}

.papel-lista li::before {
    content: '•';
    color: #0056b3;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.especialidade-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #e8f4fd;
    border-left: 4px solid #0056b3;
    border-radius: 0 8px 8px 0;
    color: #333;
}

.quote-infectologia {
    background: #e8f4fd;
    border-left: 4px solid #0056b3;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.quote-infectologia p {
    margin-bottom: 1rem;
    color: #333;
    font-style: italic;
}

.quote-infectologia p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Serviços */
.servicos {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

/* Destaque especial para PrEP */
.prep-card {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border: 2px solid #0056b3;
    position: relative;
}

.prep-card::before {
    content: 'NOVO';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.prep-card:hover {
    background: linear-gradient(135deg, #d1ecf1 0%, #e3f2fd 100%);
}

/* Contato */
.contato {
    padding: 80px 0;
    background: white;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contato-info h3 {
    margin-bottom: 2rem;
    color: #2c5530;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item i {
    font-size: 1.5rem;
    color: #0056b3;
    margin-top: 0.25rem;
    min-width: 24px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    color: #2c5530;
}

.info-item p {
    margin: 0;
    color: #555;
}

.info-item a {
    color: #0056b3;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Formulário */
.contato-form h3 {
    margin-bottom: 2rem;
    color: #2c5530;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0056b3;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-info h3,
.footer-contact p:first-child {
    color: #e8f4fd;
    margin-bottom: 1rem;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #0056b3;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #4a6741;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content h3 {
        font-size: 1.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contato-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .infectologia-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .infectologia-text {
        text-align: center;
    }

    .infectologia-photo-img {
        max-width: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .nav {
        padding: 1rem 1rem;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.expertise-item,
.service-card {
    animation: fadeInUp 0.6s ease;
}

/* Estados do formulário */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #28a745;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

/* Currículo */
.curriculo {
    margin: 30px 0;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #2196F3;
}

.curriculo h3 {
    color: #2196F3;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.curriculo-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculo-lista li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 25px;
}

.curriculo-lista li:last-child {
    border-bottom: none;
}

.curriculo-lista li:before {
    content: "→";
    color: #2196F3;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.curriculo-lista li:hover {
    background: rgba(33, 150, 243, 0.05);
    border-radius: 5px;
    margin: 0 -10px;
    padding-left: 35px;
    transition: all 0.3s ease;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}