* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body { background: #fff; color: #333; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ---------- BARRA SUPERIOR (TOPBAR) ---------- */

/* MOBILE-FIRST: esconder topbar */
.topbar {
    display: none;
}

@media (min-width: 992px) {
    .topbar {
        display: flex;
        align-items: center;
        background-color: #0A4C78;
        height: 38px;
        color: white;
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
    }

    .topbar-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .topbar-left {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .topbar-left .icon svg {
        margin-right: 4px;
    }

    .topbar-right {
        text-decoration: none;
        color: #FFFFFF;
        font-weight: 600;
    }
}


/* ---------- HEADER (mobile-first) ---------- */

.header {
    background: #FFFFFF;
    padding: 14px 0;
    border-bottom: 1px solid #e3e3e3;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 36px; /* tamanho ideal para mobile */
}

/* HAMBURGER MOBILE */
.hamburger {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0A3C5D;
}

/* MENU escondido no mobile */
.nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.nav a {
    padding: 12px 0;
    color: #0A3C5D;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.btn-header {
    padding: 10px 16px;
    border-radius: 22px;
    border: 2px solid #2AA7DF;
    text-align: center;
}

@media (min-width: 992px) {
    .logo {
        height: 70px;
    }

    .hamburger {
        display: none;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center; /* garante que logo e bloco do menu fiquem alinhados */
    }

    /* Agora, o nav também vira flex no desktop */
    .nav {
        display: flex;
        align-items: center;     /* 🔥 ALINHA TUDO NA MESMA LINHA */
        gap: 26px;
        position: static;
        flex-direction: row;
        background: none;
        width: auto;
        padding: 0;
        border: none;
    }

    /* Links comuns */
    .nav a {
        padding: 0;
        font-size: 15px;
        font-weight: 600;
        color: #0A3C5D;
        line-height: 1;     /* evita que fiquem mais altos */
    }

    /* Botões */
    .btn-header-1 {
        border: 3px solid #00558e;
        border-radius: 5px;
        padding: 8px 8px 9px 8px !important;
        font-size: 14px;
        display: flex;
        align-items: center;      /* 🔥 deixa o texto centrado verticalmente */
        height: 36px;             /* 🔥 ALTURA FIXA → garante alinhamento perfeito */
    }
}


/* ---------- HERO (mobile-first) ---------- */

.hero {
    height: 420px; /* tamanho ideal pro mobile */
    display: flex;
    justify-content: center;     /* centraliza horizontal */
    align-items: center;         /* centraliza vertical */
    text-align: center;          /* texto centralizado */
    padding: 0 20px;
    color: white;
    overflow: hidden;
}

@media (max-width: 480px) {
    .hero-bg {
        object-fit: contain;   /* garante imagem inteira */
        background: black;     /* evita espaços vazios */
        top: auto !important;
    }
}

/* imagem como background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* igual ao background-size: cover */
    z-index: -1;       /* fica atrás do conteúdo */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-btn {
    background: #90dcff;
    padding: 12px 26px;
    border-radius: 25px;
    font-size: 14px;
    color:#084e7d;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}


@media (min-width: 992px) {

    .hero {
        height: 780px;
        justify-content: flex-start; /* texto vai para a esquerda */
        text-align: left;
        position: relative;
        padding: 0;
    }

    .hero-content {
        margin-left: 110px; /* distância fiel ao layout */
        max-width: 650px;   /* largura de texto igual à imagem */
    }

    .hero-content h1 {
        font-size: 55px;
    }

    .hero-content p {
        font-size: 30px;
    }

    .hero-btn {
        padding: 14px 34px;
        font-size: 16px;
        border-radius: 30px;
    }
}


/* --- SEÇÃO SAÚDE (mobile-first) --- */

.saude-section {
    position: relative;
    padding: 60px 20px;
    background: linear-gradient(135deg, #bad9de 0%, #D9EBF3 100%);
    overflow: hidden;
}

/* Formas geométricas azuis do fundo */
.saude-section::before,
.saude-section::after {
    content: "";
    position: absolute;
    background: rgba(101,173,233,0.25); /* azul igual ao da imagem */
    z-index: 1;
}

/* Círculo grande à esquerda */
.saude-section::before {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    top: -180px;
    left: -140px;
}

/* Forma diagonal suave */
.saude-section::after {
    width: 600px;
    height: 600px;
    top: 120px;
    right: -260px;
    border-radius: 50%;
    background: rgba(101,173,233,0.18);
    filter: blur(2px);
}

.saude-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.saude-texto h2 {
    color: #0A3C5D;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.saude-texto p {
    font-size: 16px;
    color: #446;
    margin-bottom: 30px;
    line-height: 1.6;
}

.saude-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primario {
    background: #00548e;
    padding: 15px 26px;
    color: white;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background-color: #3eb0ee;
    color: white !important;
}

.btn-outline {
    padding: 12px 26px;
    border-radius: 28px;
    border: 2px solid #2AA7DF;
    color: #2AA7DF;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.saude-img {
    width: 100%;
    border-radius: 12px;
}


@media (min-width: 992px) {

    .saude-section {
        padding: 90px 0;
    }

    .saude-container {
        width: 1200px;
        margin: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .saude-texto {
        width: 48%;
    }

    .saude-texto h2 {
        font-size: 46px;
    }

    .saude-texto p {
        font-weight: 500;
    }

    .saude-buttons {
        flex-direction: row;
    }

    .saude-img-wrapper {
        width: 48%;
        display: flex;
        justify-content: flex-end;
    }

    .saude-img {
        width: 100%;
        max-width: 480px;
    }
}



/* SEÇÃO */
.convenios-section {
    padding: 60px 0;
    background: #fff;
}

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

/* LINHA PRINCIPAL */
.convenios-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* TÍTULO */
.convenios-row h2 {
    color: #0A3C5D;
    font-size: 46px;
    font-weight: 700;
    white-space: nowrap;  /* impede quebra de linha */
}

/* CARROSSEL */
.carousel {
    overflow: hidden;
    flex: 1;                /* ocupa todo o espaço restante */
    height: 60px;           /* altura uniforme */
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: scroll 12s linear infinite;
}

.carousel img {
    height: 50px;
    object-fit: contain;
    opacity: 0.95;
    transition: 0.3s;
}

.carousel img:hover {
    transform: scale(1.08);
}

/* ANIMAÇÃO */
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


@media (max-width: 768px) {

    .convenios-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .carousel {
        width: 100%;
    }

    .carousel img {
        height: 40px;
    }
}



/* --- SEÇÃO BENEFÍCIOS (mobile-first) --- */

.beneficios-section {
    background: #e0f2f3; /* fiel ao layout */
    padding: 70px 20px;
    text-align: center;
}

.beneficios-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.beneficio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.beneficio-icone {
    height: 120px;
    margin-bottom: 20px;
}

.beneficio-item h3 {
    color: #0A3C5D;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.beneficio-item p {
    font-size: 20px;
    line-height: normal !important;
    font-weight: 500;
    color: #444;
    max-width: 280px;
    line-height: 1.6;
}

@media (min-width: 992px) {

    .beneficios-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .beneficio-item {
        width: 33%;
    }

    .beneficio-item p {
        max-width: 90%;
    }
}


/* --- SEÇÃO CÂNCER DE MAMA (mobile-first) --- */

.cancer-section {
    padding: 70px 20px;
    background: #ffffff;
}

.cancer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cancer-texto h2 {
    color: #0A3C5D;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cancer-texto h4 {
    color: #0A3C5D;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cancer-texto p {
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

.cancer-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

@media (min-width: 992px) {

    .cancer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .cancer-texto {
        width: 48%;
    }

    .cancer-img-wrapper {
        width: 48%;
        display: flex;
        justify-content: flex-end;
    }

    .cancer-img {
        width: 100%;
        max-width: 480px;
    }

    .cancer-texto h2 {
        font-size: 45px;
    }

    .cancer-texto h4 {
        font-size: 26px;
    }

    .cancer-texto p {
        font-size: 18px;
    }
}


/* --- SEÇÃO AGENDAMENTO (mobile-first) --- */

.agendamento-section {
    background: #2AA7DF;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.agendamento-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;  /* MOBILE: 1 coluna */
    align-items: center;
    gap: 40px;
}

.agendamento-texto h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.agendamento-icone {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.agendamento-btn {
    background: white;
    color: #2AA7DF;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}


@media (min-width: 992px) {

    .agendamento-section {
        text-align: left; /* texto alinhado como no layout */
    }

    .agendamento-container {
        flex-direction: row;      /* DESKTOP: 2 colunas */
        justify-content: space-between;
        align-items: center;
    }

    .agendamento-texto {
        width: 48%;
    }

    .agendamento-icone {
        width: 48%;
    }
}


/* --- SEÇÃO MAPA (mobile-first) --- */

.mapa-section {
    background: #D9EBF3; /* azul claro do layout */
    padding: 70px 20px;
}

.mapa-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;  /* MOBILE: empilhado */
    gap: 40px;
}

.mapa-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.mapa-texto h3 {
    color: #0A3C5D;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mapa-horario {
    color: #324a5f;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mapa-descricao {
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

@media (min-width: 992px) {

    .mapa-container {
        flex-direction: row;   /* DESKTOP: lado a lado */
        justify-content: space-between;
        align-items: center;
        gap: 60px;
    }

    .mapa-img-wrapper {
        width: 50%;
    }

    .mapa-img {
        width: 100%;
        max-width: 520px; /* ajuste fiel ao layout */
    }

    .mapa-texto {
        width: 50%;
    }

    .mapa-texto h3 {
        font-size: 45px;
    }

    .mapa-horario, .mapa-descricao {
        font-size: 18px;
    }
}


/* --- RODAPÉ (mobile-first) --- */

.footer-section {
    background: #0f548f;
    color: #ffffff;
    padding: 60px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column; /* MOBILE: empilhado */
    gap: 40px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.footer-responsavel {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-right h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-contato {
    font-size: 16px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.footer-endereco {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

@media (min-width: 992px) {

    .footer-container {
        flex-direction: row; /* 2 colunas */
        align-items: flex-start;
    }

    .footer-left {
        width: 28%;
        justify-content: center;
        text-align: center;
    }

    .footer-right h3{
        font-size: 40px;
        margin-top: 40px;;

    }

    .footer-logo {
        height: 300px; /* um pouco maior no desktop */
    }

    .footer-responsavel {
        font-size: 16px;
    }

    .footer-contato,
    .footer-endereco {
        font-size: 20px;
    }
}
