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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* ============= HEADER ============= */
.header {
    background: #1e3a5f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #2196F3;
}

body {
    padding-top: 53px;
}

.navbar {
    padding: 0;
}

.navbar-container {
    max-width: 970px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 80px;
    position: relative;
}

.logo-mobile {
    display: none;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo a {
    color: white;
    text-decoration: none;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 17px 35px;
    display: block;
    position: relative;
}

/* Primeiro botão - bordas arredondadas esquerda */
.nav-menu li:first-child .nav-link {
    border-radius: 25px 0 0 25px;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

.nav-menu li:first-child .nav-link:hover {
    background: linear-gradient(135deg, #01579B 0%, #0D47A1 100%);
}

/* Segundo botão */
.nav-menu li:nth-child(2) .nav-link {
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
}

.nav-menu li:nth-child(2) .nav-link:hover {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

/* Terceiro botão */
.nav-menu li:nth-child(3) .nav-link {
    background: linear-gradient(135deg, #1976D2 0%, #1E88E5 100%);
}

.nav-menu li:nth-child(3) .nav-link:hover {
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
}

/* Quarto botão */
.nav-menu li:nth-child(4) .nav-link {
    background: linear-gradient(135deg, #1E88E5 0%, #2196F3 100%);
}

.nav-menu li:nth-child(4) .nav-link:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1E88E5 100%);
}

/* Quinto botão */
.nav-menu li:nth-child(5) .nav-link {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.nav-menu li:nth-child(5) .nav-link:hover {
    background: linear-gradient(135deg, #1E88E5 0%, #2196F3 100%);
}

/* Sexto botão (último) - bordas arredondadas direita */
.nav-menu li:nth-child(6) .nav-link {
    border-radius: 0 25px 25px 0;
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
}

.nav-menu li:nth-child(6) .nav-link:hover {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

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

/* ============= HAMBURGER MENU ============= */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============= RESPONSIVE MENU ============= */
@media (max-width: 1000px) {
    .header {
        background: linear-gradient(135deg, #1e3a5f 0%, #2c5aa0 100%);
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 20px;
    }

    .logo-mobile {
        display: block;
        font-size: 18px;
        font-weight: bold;
        color: white;
        letter-spacing: 1px;
    }

    .navbar-container {
        padding: 0 20px;
        justify-content: center;
    }

    .nav-menu {
        position: absolute;
        top: 53px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: #1e3a5f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px !important;
        margin: 5px 10px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Remover bordas arredondadas específicas do desktop */
    .nav-menu li:first-child .nav-link,
    .nav-menu li:nth-child(6) .nav-link {
        border-radius: 12px !important;
    }
}

/* ============= MAIN CONTENT ============= */
.main-content {
    max-width: 970px;
    margin: 0 auto;
    padding: 15px 10px;
}

/* ============= HERO SECTION ============= */
.hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    color: #1e3a5f;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
}

.professionals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

.professionals-grid-medicos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    justify-items: center;
}

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

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .professionals-grid {
        gap: 20px;
    }

    .professionals-grid-medicos {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .professionals-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .professionals-grid-medicos {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
}

/* ============= MEDICOS INFO ============= */
.medicos-info {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4070 100%);
    padding: 40px 20px 50px 50px;
    text-align: center;
    margin-top: 20px;
    /* margin-right: 1px; */
    margin-bottom: 20px;
    /* margin-left: 1px; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.medicos-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.medicos-info p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .medicos-info h3 {
        font-size: 26px;
    }

    .medicos-info p {
        font-size: 16px;
    }
}

/* ============= PROFESSIONAL CARD ============= */
.professional-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 280px;
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.2);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-title {
    font-size: 22px;
    color: #2c5aa0;
    margin: 0;
    text-align: center;
}

.card-info {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    text-align: left;
}

.card-info li {
    margin: 6px 0;
    padding-left: 16px;
    position: relative;
}

.card-info li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}


.card-specialty {
    color: #2c5aa0;
    font-size: 14px;
    margin: -8px 0 0 0;
    text-align: center;
}

.btn-card {
    background-color: #2c5aa0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.btn-card:hover {
    background-color: #1e4070;
}

/* 
NOTE: CSS específico de profissional foi movido para modelo.css
Preserve este arquivo apenas para styles do header, menu, home e footer
*/
.professional-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4070 100%);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.professional-header h1 {
    color: white;
    font-size: 36px;
    margin: 0;
    font-weight: 700;
}

.professional-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.professional-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* ============= PROFESSIONAL LEFT ============= */
.professional-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.professional-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #2c5aa0;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.25);
}

.professional-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professional-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 2px 0;
    align-items: baseline;
}

.info-label {
    font-weight: 700;
    color: #2c5aa0;
    font-size: 14px;
    min-width: 100px;
    flex-shrink: 0;
}

.info-value {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    flex: 1;
}

.public-attended {
    background-color: #f9f9f9;
    padding: 18px;
    border-left: 4px solid #2c5aa0;
    margin: 10px 0;
    border-radius: 4px;
}

.public-attended p {
    color: #555;
    font-size: 15px;
    margin: 8px 0;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.btn {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #2c5aa0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background-color: #1e4070;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.btn-secondary {
    background-color: #2c5aa0;
    color: white;
}

.btn-secondary:hover {
    background-color: #1e4070;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

/* ============= PROFESSIONAL RIGHT (AGENDA) ============= */
.professional-right {
    display: flex;
    flex-direction: column;
}

.presentation-container {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.presentation-container h2 {
    color: #2c5aa0;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.presentation-container p {
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px 0;
    font-size: 15px;
}

.tagline {
    color: #2c5aa0;
    font-weight: 700;
    font-style: italic;
    display: inline-block;
    margin-top: 6px;
}

.agenda-container {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.agenda-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 2px solid #e0e0e0;
}

.agenda-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.agenda-month {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.agenda-subtitle {
    background-color: #2c5aa0;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.agenda-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============= TESTIMONIALS SECTION ============= */
.testimonials-section {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 28px;
    color: #2c5aa0;
    margin-bottom: 30px;
    text-align: center;
}

.testimonials-placeholder {
    min-height: 200px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

/* ============= RESPONSIVE GLOBAL ============= */
/* Ponto de transformação único: 1000px para TUDO (menu, home, modelo, footer) */

@media (max-width: 1000px) {
    /* MENU/NAVBAR */
    .navbar-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============= FOOTER ============= */
.footer {
    background-color: #1e3a5f;
    color: white;
    padding: 30px 20px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 970px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.footer-text {
    font-size: 13px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.4;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #90CAF9;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 970px;
    margin: 0 auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 12px;
    color: #e0e0e0;
}

/* ============= WHATSAPP BUTTON ============= */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: bounce 2s infinite;
    will-change: transform;
    -webkit-position: fixed;
    -webkit-transform: translateZ(0);
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-button img {
    width: 90px;
    height: auto;
    max-width: 90px;
    max-height: 90px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
