* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a472a;
    --secondary-color: #2d5a3d;
    --accent-color: #c9a961;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --gold-color: #fed998;
    --gold-dark: #f9b11e;
    --gold-light: #fdd18f;
    --bg-dark: #1c1b3a;
}

/* Base Styles */
img {
    max-width: 100%;
}

svg {
    width: 100%;
    height: auto;
}

[hide] {
    display: none;
}

input:-webkit-autofill {
    caret-color: transparent;
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0 30rem #eb4722 inset;
    -webkit-text-fill-color: #fff;
}

html {
    font-size: 16px;
}

@media (max-width: 1440px) {
    html {
        font-size: calc(16 * 100vw / 1440);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

.wrap {
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    top: 49px;
    position: relative;
    width: 100%;
    z-index: 4;
    pointer-events: none;
    transition: all ease-out 0.5s;
    padding: 10px 0;
}

header.active {
    background-color: rgba(34, 34, 34, 0.8);
}

header .wrap {
    max-width: 100%;
    padding: 0 70px;
}

header h1 {
    height: 98px;
    width: 200px;
    margin: 0 auto;
}

header h1 a {
    text-indent: -999px;
    overflow: hidden;
    text-wrap: nowrap;
    height: 100%;
    width: 100%;
    display: block;
    background: url(img/logo.svg) no-repeat center center / 100% auto;
    pointer-events: initial;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    padding-top: 61px;
    background-color: var(--bg-dark);
}

.swiper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
}

#hero .swiper {
    background: var(--bg-dark);
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero #border {
    margin: 35px;
    min-height: 817px;
    border: 0.5px solid var(--gold-color);
    padding-top: 230.5px;
    position: relative;
    pointer-events: none;
    background-color: rgba(28, 27, 58, 0.3);
    backdrop-filter: blur(2px);
}

#hero #border .border-details {
    display: block;
    height: 31px;
    width: 21px;
    position: absolute;
}

#hero #border #top_left {
    top: -6px;
    left: -1px;
    background: url('img/Vilazinha de Belém_files/Rectangle 14.svg') no-repeat center center / 100% auto;
}

#hero #border #top_right {
    top: -6px;
    right: -1px;
    background: url('img/Vilazinha de Belém_files/Rectangle 9.svg') no-repeat center center / 100% auto;
}

#hero #border #bottom_left {
    bottom: -6px;
    left: -1px;
    background: url('img/Vilazinha de Belém_files/Rectangle 16.svg') no-repeat center center / 100% auto;
}

#hero #border #bottom_right {
    bottom: -6px;
    right: -1px;
    background: url('img/Vilazinha de Belém_files/Rectangle 15.svg') no-repeat center center / 100% auto;
}

#hero #border .star {
    background: url('img/Vilazinha de Belém_files/star.svg') no-repeat center center / 100% auto;
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
}

#hero #border .star.top {
    left: 50%;
    transform: translate(-50%, 0);
    top: -10px;
}

#hero #border .star.bottom {
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 0);
}

#hero #border .wrap {
    max-width: 626px;
    margin: 0 auto;
}

#hero #border .wrap h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 50.6px;
    text-align: center;
    width: 100%;
    max-width: 740px;
    color: var(--gold-dark);
    margin: 0 auto 16.5px;
    text-shadow: 0 0 15px rgba(249, 177, 30, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#hero #border .wrap p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 49px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#hero #border .wrap #border_button {
    height: 73px;
    border-bottom: 1px solid var(--gold-color);
    border-top: 1px solid var(--gold-color);
    width: 100%;
    max-width: 478px;
    padding-top: 20px;
    margin: 0 auto 36px;
    position: relative;
}

#hero #border .wrap #border_button h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 31.2px;
    text-align: center;
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(253, 209, 143, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.triangle {
    display: block;
    height: 29px;
    width: 15px;
    position: absolute;
}

.triangle::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 14px solid var(--gold-color);
}

.triangle.left_bottom::before,
.triangle.right_bottom::before {
    border-top: none;
    border-bottom: 14px solid var(--gold-color);
}

.triangle.left_top {
    top: -15px;
    left: -12px;
}

.triangle.left_bottom {
    left: -12px;
    bottom: -15px;
}

.triangle.right_top {
    right: -13px;
    top: -15px;
}

.triangle.right_bottom {
    right: -13px;
    bottom: -15px;
}

#hero #border .wrap #button {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 17.6px;
    text-align: center;
    margin: 0 auto;
    display: block;
    height: 56px;
    width: 220px;
    padding-top: 20px;
    padding-right: 7px;
    border: 1px solid var(--gold-dark);
    pointer-events: initial;
    background: var(--gold-dark);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

#hero #border .wrap #button:hover {
    color: var(--gold-dark);
    background: transparent;
}

/* Swiper Pagination */
.pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.page {
    margin: 0 5px;
    padding: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

div .swiper-pagination-bullet {
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.2px;
    text-align: center;
    color: var(--gold-light);
    opacity: inherit;
    width: 47px;
}

div .swiper-pagination-bullet.active {
    color: var(--gold-dark);
}

#hero .swiper-pagination-custom {
    bottom: 79px;
    left: -2px;
}

#hero div .swiper-button-prev,
#hero div .swiper-button-next {
    display: none;
}

/* Agendamento Section - Estilo similar ao Hero */
.agendamento {
    padding: 5rem 2rem;
    background: var(--bg-dark);
    position: relative;
}

.agendamento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(28, 27, 58, 0.7), rgba(28, 27, 58, 0.9));
    z-index: 0;
}

.agendamento .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 0.5px solid var(--gold-color);
    padding: 60px 40px;
    background: rgba(28, 27, 58, 0.4);
    backdrop-filter: blur(2px);
    position: relative;
}

.agendamento .container::before,
.agendamento .container::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 31px;
}

.agendamento .container::before {
    top: -6px;
    left: -1px;
    background: url('img/Vilazinha de Belém_files/Rectangle 14.svg') no-repeat center center / 100% auto;
}

.agendamento .container::after {
    bottom: -6px;
    right: -1px;
    background: url('img/Vilazinha de Belém_files/Rectangle 15.svg') no-repeat center center / 100% auto;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--gold-dark);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(249, 177, 30, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.form-agendamento {
    background: rgba(28, 27, 58, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(254, 209, 152, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(253, 209, 143, 0.5);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(254, 209, 152, 0.5);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-dark);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: var(--bg-dark);
    color: #ffffff;
}

/* Calendar Styles */
.calendar-container {
    margin-top: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(28, 27, 58, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(254, 209, 152, 0.3);
}

.calendar-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.calendar-nav {
    background: var(--gold-dark);
    color: var(--bg-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}

.calendar-nav:hover {
    background: var(--gold-light);
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.calendar-day-header {
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
    color: var(--gold-light);
    background: rgba(28, 27, 58, 0.6);
    border-radius: 5px;
    border: 1px solid rgba(254, 209, 152, 0.3);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(254, 209, 152, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 500;
    color: #ffffff;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: rgba(254, 209, 152, 0.2);
    border-color: var(--gold-dark);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
}

.calendar-day.selected {
    background: var(--gold-dark);
    color: var(--bg-dark);
    border-color: var(--gold-dark);
    font-weight: 700;
}

.calendar-day.today {
    border-color: var(--gold-light);
    font-weight: 700;
}

.calendar-day.full {
    background: var(--error-color);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Time Slots */
.time-slots {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(28, 27, 58, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(254, 209, 152, 0.3);
}

.time-slots h4 {
    margin-bottom: 1rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.time-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(254, 209, 152, 0.5);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #ffffff;
}

.time-btn:hover:not(.disabled) {
    background: var(--gold-dark);
    color: var(--bg-dark);
    border-color: var(--gold-dark);
}

.time-btn.selected {
    background: var(--gold-dark);
    color: var(--bg-dark);
    border-color: var(--gold-dark);
}

.time-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
}

.selected-datetime {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--success-color);
    color: var(--text-light);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.selected-datetime.show {
    display: block;
}

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.3);
    color: #d4edda;
    border: 1px solid #28a745;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.3);
    color: #f8d7da;
    border: 1px solid #dc3545;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gold-dark);
    color: var(--bg-dark);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.btn-submit:hover {
    background: transparent;
    color: var(--gold-dark);
}

/* Modal de Sucesso */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(28, 27, 58, 0.95) 100%);
    border: 2px solid var(--gold-dark);
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(249, 177, 30, 0.3);
    animation: slideDown 0.4s ease;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--gold-dark) 0%, rgba(249, 177, 30, 0.8) 100%);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--gold-dark);
}

.modal-header h3 {
    margin: 0;
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-body {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    color: var(--text-light);
}

.modal-timer {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(249, 177, 30, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(249, 177, 30, 0.3);
}

.modal-timer span {
    font-size: 0.9rem;
    color: var(--gold-dark);
}

#timerCount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-dark);
}

.modal-footer {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(249, 177, 30, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.btn-modal-close {
    padding: 0.75rem 2rem;
    background: var(--gold-dark);
    color: var(--bg-dark);
    border: 2px solid var(--gold-dark);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-modal-close:hover {
    background: transparent;
    color: var(--gold-dark);
    transform: scale(1.05);
}

.btn-modal-close:active {
    transform: scale(0.95);
}

/* Missionários Section */
.missionarios {
    padding: 5rem 2rem;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.missionarios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(28, 27, 58, 0.7), rgba(28, 27, 58, 0.9));
    z-index: 0;
}

.missionarios > * {
    position: relative;
    z-index: 1;
}

.missionarios .section-title,
.missionarios .section-subtitle {
    color: var(--text-light);
}

.missionarios .section-title {
    color: var(--gold-dark);
    text-shadow: 0 0 15px rgba(249, 177, 30, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.missionarios .section-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold-dark);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 1px solid var(--gold-dark);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    background: transparent;
    color: var(--gold-dark);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(254, 209, 152, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    header {
        top: 10px;
    }

    header .wrap {
        padding: 0 15px;
    }

    header h1 {
        height: 50px;
        width: 140px;
        margin: 0 auto;
    }

    #hero {
        padding-top: 20px;
        min-height: auto;
    }

    .swiper {
        height: 100vh !important;
        min-height: 600px;
    }

    #hero #border {
        margin: 10px;
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
    }

    #hero #border .wrap {
        max-width: 100%;
        padding: 0 15px;
    }

    #hero #border .wrap h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 20px;
        max-width: 100%;
    }

    #hero #border .wrap p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 100%;
    }

    #hero #border .wrap #border_button {
        height: auto;
        padding: 12px 15px;
        margin-bottom: 25px;
        max-width: 100%;
    }

    #hero #border .wrap #border_button h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    #hero #border .wrap #button {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 14px;
        height: auto;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .agendamento {
        padding: 2rem 0.5rem;
    }

    .agendamento .container {
        padding: 25px 15px;
        margin: 0 10px;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .form-agendamento {
        padding: 1.5rem 1rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.65rem;
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Calendar Mobile Improvements */
    .calendar-container {
        margin-top: 0.5rem;
    }

    .calendar-header {
        padding: 0.75rem 0.5rem;
        margin-bottom: 0.75rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
    }

    .calendar-header h3 {
        font-size: 1rem;
        flex: 1;
        text-align: center;
        margin: 0;
        padding: 0 0.5rem;
    }

    .calendar-nav {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calendar {
        gap: 0.35rem;
        margin-bottom: 1rem;
        padding: 0 0.2rem;
    }

    .calendar-day-header {
        padding: 0.4rem 0.2rem;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .calendar-day {
        font-size: 0.85rem;
        min-height: 40px;
        padding: 0.25rem;
        font-weight: 500;
    }

    .time-slots {
        padding: 1rem;
        margin-top: 1rem;
    }

    .time-slots h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .time-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .time-btn {
        width: 100%;
        min-width: auto;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .selected-datetime {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        margin-top: 1.2rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 0 auto;
    }

    .missionarios {
        padding: 3rem 1rem;
    }

    .missionarios .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .missionarios .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    #hero #border {
        margin: 8px;
        padding-top: 80px;
        padding-bottom: 30px;
    }

    #hero #border .wrap h2 {
        font-size: 20px;
    }

    #hero #border .wrap p {
        font-size: 12px;
    }

    #hero #border .wrap #border_button h3 {
        font-size: 14px;
    }

    .agendamento .container {
        padding: 20px 12px;
        margin: 0 8px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .form-agendamento {
        padding: 1.2rem 0.8rem;
    }

    .calendar-day {
        font-size: 0.75rem;
        min-height: 35px;
        padding: 0.2rem;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.3rem 0.15rem;
    }

    .calendar-header h3 {
        font-size: 1rem;
    }

    .calendar-nav {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .time-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn-submit,
    .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px; /* Tamanho mínimo recomendado para touch */
    }

    .time-btn {
        min-height: 44px; /* Tamanho mínimo recomendado para touch */
    }

    .calendar-nav {
        min-width: 44px;
        min-height: 44px;
    }
}
