/* ===== ESTILOS GERAIS ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #222;
}

body.modal-open {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== CABEÇALHO ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 10px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 80px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 70px;
    max-width: 280px;
    width: auto;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    flex: 1;
    margin-left: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: #5C4331;
}

.search-form {
    display: flex;
    justify-content: center;
    margin: 0 0 28px;
}

.search-box {
    width: min(420px, 100%);
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 24px;
    outline: none;
    background-color: rgba(255,255,255,0.94);
    color: #222;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.search-box:focus {
    border-color: #9f6a32;
    box-shadow: 0 0 0 3px rgba(159,106,50,0.28), 0 6px 18px rgba(0,0,0,0.18);
}

/* ===== SEÇÃO PRINCIPAL (FUNDO DA CIDADE) ===== */
.hero-section {
    background-color: #5c6873;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../image/vitoria_central_hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 50px 80px 50px;
    min-height: auto;
    display: flex;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
}

.hero-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
}

/* ===== CARDS DE SERVIÇOS ===== */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 40px 30px;
    width: min(330px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.card-icon {
    font-size: 45px;
    color: #5C4331;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}

.card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-info {
    background-color: #5C4331;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
}

.btn-info:hover {
    background-color: #432f22;
}

.btn-info:focus-visible,
.schedule-modal__close:focus-visible,
.schedule-modal__confirm input:focus-visible {
    outline: 3px solid rgba(159,106,50,0.45);
    outline-offset: 3px;
}

.btn-info i {
    transition: transform 0.3s ease;
}

.btn-info:hover i {
    transform: translateX(4px);
}

.schedule-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: rgba(0,0,0,0.62);
}

.schedule-modal[hidden] {
    display: none;
}

.schedule-modal__panel {
    position: relative;
    width: min(720px, 100%);
    max-height: min(86vh, 760px);
    overflow-y: auto;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.schedule-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background-color: #f0ece8;
    color: #30261f;
    cursor: pointer;
    font-size: 18px;
}

.schedule-modal__close:hover,
.schedule-modal__close:focus-visible {
    background-color: #e3d8cf;
}

.schedule-modal__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 34px 72px 18px 34px;
    border-bottom: 1px solid #eee5dd;
}

.schedule-modal__icon {
    font-size: 30px;
    line-height: 1;
}

.schedule-modal__header h2 {
    color: #1f1712;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.schedule-modal__content {
    padding: 26px 34px 10px;
}

.schedule-modal__content p,
.schedule-modal__content li {
    color: #2f2a27;
    font-size: 16px;
    line-height: 1.65;
}

.schedule-modal__content h3 {
    margin: 20px 0 10px;
    color: #1f1712;
    font-size: 18px;
    font-weight: 800;
}

.schedule-modal__content ol,
.schedule-modal__content ul {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.schedule-modal__attention {
    margin-top: 22px;
    padding: 16px 18px;
    border-left: 4px solid #9f6a32;
    border-radius: 8px;
    background-color: #fff6ec;
}

.schedule-modal__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 22px 34px 34px;
}

.schedule-modal__confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #eadfd5;
    border-radius: 8px;
    background-color: #fbf7f3;
}

.schedule-modal__confirm input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
    accent-color: #9f6a32;
    cursor: pointer;
}

.schedule-modal__confirm label {
    color: #2f2a27;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.schedule-modal__countdown {
    color: #4b4038;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.schedule-modal__continue {
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.schedule-modal__continue:disabled {
    cursor: not-allowed;
    background-color: #a89d95;
    opacity: 0.75;
}

.schedule-modal__continue:disabled i {
    transform: none;
}

.service-empty {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.45);
}

/* ===== BANNER DE PLANTÃO ===== */
.plantao-banner {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    border-radius: 30px;
    padding: 40px 60px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.plantao-text {
    flex: 1;
    text-align: left;
}

.plantao-tag {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.plantao-text h2 {
    font-size: 34px;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.plantao-text p {
    font-size: 16px;
    color: #222;
    line-height: 1.6;
    max-width: 450px;
}

.plantao-info {
    flex: 1;
    text-align: center;
    border-left: 2px solid rgba(0,0,0,0.1);
    padding-left: 40px;
}

.plantao-days {
    font-size: 17px;
    color: #222;
    margin-bottom: 5px;
}

.plantao-hours {
    font-size: 45px;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.plantao-desc {
    font-size: 16px;
    color: #222;
    line-height: 1.4;
}


/* ===== RESPONSIVIDADE PARA CELULARES ===== */
@media (max-width: 900px) {
    .header {
        align-items: flex-start;
        padding: 14px 24px;
    }
    .logo img {
        max-height: 58px;
        max-width: 240px;
    }
    .nav-menu {
        justify-content: center;
        gap: 16px 24px;
        margin-left: 0;
        width: 100%;
    }
    .search-form {
        display: flex;
        flex-basis: 100%;
        justify-content: center;
    }
    .search-box {
        width: 100%;
        max-width: 360px;
    }
    .hero-section {
        padding: 44px 24px 64px;
    }
    .hero-title {
        font-size: 34px;
        line-height: 1.2;
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
    .cards-container {
        gap: 24px;
    }
    .plantao-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .plantao-text {
        text-align: center;
        margin-bottom: 30px;
    }
    .plantao-text p {
        margin: 0 auto;
    }
    .plantao-info {
        border-left: none;
        border-top: 2px solid rgba(0,0,0,0.1);
        padding-left: 0;
        padding-top: 30px;
    }
    .site-footer {
        padding: 48px 24px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-info p {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .header {
        justify-content: center;
        padding: 12px 16px;
    }
    .logo img {
        max-height: 54px;
        max-width: 220px;
    }
    .nav-menu {
        gap: 12px 18px;
    }
    .nav-menu a {
        font-size: 14px;
    }
    .hero-section {
        padding: 36px 16px 48px;
    }
    .hero-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .card {
        padding: 30px 22px;
    }
    .plantao-banner {
        border-radius: 24px;
        padding: 28px 20px;
        margin-top: 44px;
    }
    .plantao-text h2 {
        font-size: 26px;
    }
    .plantao-hours {
        font-size: 34px;
    }
    .schedule-modal {
        padding: 14px;
    }
    .schedule-modal__panel {
        max-height: 90vh;
        border-radius: 14px;
    }
    .schedule-modal__header {
        padding: 28px 58px 16px 22px;
    }
    .schedule-modal__header h2 {
        font-size: 20px;
    }
    .schedule-modal__content {
        padding: 22px 22px 8px;
    }
    .schedule-modal__content p,
    .schedule-modal__content li {
        font-size: 15px;
    }
    .schedule-modal__actions {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 22px 26px;
    }
    .schedule-modal__confirm {
        padding: 12px 14px;
    }
    .schedule-modal__confirm label {
        font-size: 14px;
    }
    .schedule-modal__countdown {
        text-align: center;
    }
    .schedule-modal__continue {
        width: 100%;
    }
    .site-footer {
        padding: 42px 20px;
    }
    .footer-logo img {
        max-width: 200px;
    }
    .contact-info {
        max-width: 320px;
        width: 100%;
    }
    .contact-info p,
    .contact-link {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
}
 
/* ===== BOTÃO INATIVO / EM BREVE ===== */
.btn-breve {
    background-color: #8c7766; 
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    cursor: default;
    user-select: none; 
}

/* ===== PÁGINA DE INFORMAÇÕES / DOCUMENTOS ===== */
.page-content {
    background-color: #ffffff;
    padding: 60px 20px;
    min-height: 60vh;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.alert-box {
    background-color: #0056b3;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 35px;
    border-radius: 8px;
    margin-bottom: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.alert-icon {
    font-size: 45px;
    flex-shrink: 0;
}

.alert-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.alert-text p:last-child {
    margin-bottom: 0;
}

.info-block {
    margin-bottom: 40px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 25px;
}

.intro-text {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

.important-title {
    font-size: 18px;
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.important-title--spaced {
    margin-top: 15px;
}

.important-title i {
    color: #5C4331;
    margin-right: 10px;
    font-size: 1em;
}

.info-list {
    list-style-type: disc;
    padding-left: 25px;
}

.info-list li {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 50px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .alert-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .section-title {
        font-size: 22px;
    }
}
.details-rg {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.details-rg summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    outline: none;
}

.details-rg summary:hover,
.details-rg summary:focus-visible {
    color: #0056b3;
}

.details-content {
    margin-top: 15px;
}

/* ===== RODAPÉ (FOOTER) ===== */
.site-footer {
    background-color: #ffffff;
    padding: 35px 50px;
    border-top: 1px solid #eaeaea;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img {
    max-width: 240px;
    height: auto;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-section p,
.footer-section a {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.contact-info i {
    font-size: 18px;
    color: #000;
    width: 20px;
    text-align: center;
}

.contact-info .whatsapp-icon {
    font-size: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #5C4331;
    text-decoration: underline;
}

.contact-link i {
    font-size: 18px;
    color: inherit;
    width: 20px;
    text-align: center;
}

.whatsapp-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    font-size: 36px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-floating__label {
    position: absolute;
    right: calc(100% - 8px);
    top: 50%;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 19px;
    border-radius: 11px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
    opacity: 0;
    pointer-events: none;
    transform: translate(10px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-floating:hover,
.whatsapp-floating:focus-visible {
    background-color: #1fb957;
    box-shadow: 0 14px 30px rgba(0,0,0,0.32);
    transform: translateY(-2px);
}

.whatsapp-floating:hover .whatsapp-floating__label,
.whatsapp-floating:focus-visible .whatsapp-floating__label {
    opacity: 1;
    transform: translate(0, -50%);
}

.whatsapp-floating:focus-visible {
    outline: 3px solid rgba(37,211,102,0.36);
    outline-offset: 4px;
}

@media (max-width: 560px) {
    .whatsapp-floating {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        font-size: 32px;
    }
    .whatsapp-floating__label {
        min-height: 28px;
        padding: 6px 13px;
        border-radius: 9px;
        font-size: 12px;
    }
}
