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

body {
    font-family: 'roboto', 'sans-serif';
}

.header {
    min-height: 550px;
    background-image: url("../images/bannerDoacao.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 10;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 10;
}

header {
    min-width: 1000px;
    max-width: 1200px;
    max-height: 120px;
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.btn-plan.active i {
    visibility: visible;
}

.btn-plan i {
    visibility: hidden;
}

header .menu-mobile {
    display: none;
    color: white;
    font-size: 25px;
}

header .nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background-color: #1f2937;
    overflow: hidden;
    transition: width 0.3s ease;
    z-index: 30;
    padding: 30px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    /* Add this line */
}

header .nav-mobile .header-nav-mobile {
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
    padding: 10px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

header .nav-mobile .content-nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

header .nav-mobile .content-nav-mobile a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

header .nav-mobile .footer-nav-mobile {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .nav-mobile .footer-nav-mobile img {
    width: 80%;
    object-fit: cover;
}

.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 20;
    visibility: hidden;
}

.overlay.show {
    visibility: visible;
}

.body.blur {
    filter: blur(5px);
    transition: filter 0.3s ease;
    /* Para fazer a transição suave */
}

header .nav-mobile.open {
    width: 70%;
    visibility: visible;
    /* Add this line */
}

header .logo img {
    width: 100px;
    object-fit: cover;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 30px;
}

header nav a {
    text-decoration: underline;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: white;
    text-decoration-line: none;
}

/* section message  */

.message,
.plans {
    display: flex;
    justify-content: center;
    padding: 35px 0;
}

.message .content {
    max-width: 1000px;
    text-align: start;
}

.message .content p {
    color: rgb(31 41 55);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.75rem;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    margin: 1rem 0;
    margin-top: 0;
}

/* section plans  */
.plans {
    background-color: #f7f6f6;
}

.plans .content {
    max-width: 1000px;
}

.plans .content h3 {
    color: rgb(31 41 55);
    padding-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
}

.type-plans {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 5px;
}

.type-plans .btn-plan.active {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-width: 1px;
    border-color: rgb(242, 146, 3);
    background-color: rgb(242, 146, 3);
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    font-size: 1.125rem;
    line-height: 1.75rem;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.type-plans .btn-plan {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-width: 1px;
    border-color: rgb(242, 146, 3);
    color: rgb(242, 146, 3);
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.125rem;
    line-height: 1.75rem;
    min-width: 200px;
    border-radius: 5px;
}


.type-plans .btn-plan i {
    color: rgb(242 146 3);
    background-color: white;
    border: 0;
    clip-path: circle();
    border-radius: 50%;
}

.plans .container-plans {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.plans .container-plans .plan-item {
    display: flex;
    gap: 0 15px;
    flex: 1;
    margin-top: 30px;
    overflow: hidden;
}

.plan-item .image {
    width: 260px;
    height: 180px;
}

.plan-item .image img {
    width: 100%;
    object-fit: cover;
}

.plan-item .context {
    flex: 1;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.plan-item .context h4 {
    font-weight: inherit;
    text-transform: uppercase;
    padding-top: 0;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.plan-item .context p {
    color: rgb(31, 41, 55);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.75rem;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

.plan-item .context .price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.plan-item .context .price .btn-plan {
    text-align: start;
    cursor: pointer;
    border-width: 1px;
    border-color: rgb(242, 146, 3);
    color: rgb(242, 146, 3);
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.125rem;
    line-height: 1.75rem;
    border-radius: 5px;
}

.plan-item .context .price .btn-plan:hover {
    color: white;
    background-color: rgb(242, 146, 3);
}

.plan-item .context .price .btn-plan.selected{
    color: white;
    background-color: rgb(242, 146, 3);
}

.plan-item .context .price span {
    font-size: 22px;
}


.price-input-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    font-family: Arial, sans-serif;
}

.price-input-container label {
    color: #111827;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.price-input-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #111827;
    border-radius: 5px;
    padding: 5px;
    position: relative;
}

.currency-symbol {
    color: #607D8B;
    margin-right: 5px;
}

.price-input {
    border: none;
    outline: none;
    width: 50px;
    text-align: right;
    font-size: 1rem;
}

.decimal-part {
    color: #607D8B;
}

.error-icon {
    color: #D32F2F;
    margin-left: 5px;
    font-weight: bold;
}

.per-month {
    margin-left: 10px;
    color: #000;
    font-size: 1rem;
}

.price-input-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transform: translateY(-50%);
    z-index: -1;
}

.price-input-wrapper {
    padding-right: 10px;
}

/* section payment  */
.payment {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.payment .content {
    width: 1000px;
    display: flex;
    justify-content: center;
    align-items: start;
}


.payment .content h3 {
    font-weight: inherit;
    padding-bottom: 2.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.payment .content h3:nth-child(2) {
    margin-top: 50px;
}


.payment .form {
    width: 100%;
    min-width: 500px;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.payment .form-group {
    margin-bottom: 20px;
}

.payment .form-group .error{
    display: none;
}

.payment label {
    display: block;
    margin-bottom: 5px;
    color: #6B7280;
}

.payment input[type="text"],
.payment input[type="email"],
.payment input[type="tel"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #6B7280;
}

/* inputs que estão com dados errados */

.payment .form-group.input-error .input-wrapper {
    position: relative;
}

.payment .form-group.input-error .input-wrapper i {
    position: absolute;
    left: 10px;
    top: 35%;
    transform: translateY(-50%);
    color: red;
    font-size: 16px;
}

.payment .form-group.input-error .input-wrapper input {
    padding-left: 30px;
}

.payment .form-group.input-error label{
    color: red;
}

.payment .form-group.input-error .error{
    color: red;
    margin-left: 5px;
    font-size: 14px;
    display: block;
}

.payment .form-group.input-error input[type="text"],
.payment .form-group.input-error input[type="email"],
.payment .form-group.input-error input[type="tel"],
.payment .form-group.input-error select {
    border: 1px solid red;
}

.payment .form-group.input-error input[type="text"]:focus,
.payment .form-group.input-error input[type="email"]:focus,
.payment .form-group.input-error input[type="tel"]:focus,
.payment .form-group.input-error select:focus {
    border: 1px solid red ;
    outline: none;
    box-shadow: 0 0 2px red;
}



.payment .input-wrapper {
    position: relative;
}

.payment .input-wrapper i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 16px;
}

.payment .input-wrapper input {
    padding-left: 30px;
}

.payment-forms {
    margin-top: 50px;
}


.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-width: 500px;
    max-width: 600px;
    padding: 10px;
    border: 2px solid #F29203;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
}

.payment-option div i{
    margin-right: 5px;
}

.payment-option input {
    display: none;
}

.payment-option .icon {
    margin-right: 10px;
}

.payment-option .radio-check {
    margin-left: auto;
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #F29203;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    color: white;
    font-size: 16px;
}

.payment-option.selected {
    background-color: #F29203;
    color: white;
}

.payment-option.selected .radio-check {
    background-color: #F29203;
    border-color: white;
}

.payment-option.disabled {
    background-color: #E5E7EB;
    color: #9CA3AF;
    border-color: #E5E7EB;
    cursor: not-allowed;
}

.payment-option.disabled .radio-check {
    border-color: #9CA3AF;
}

.payment-option input:checked+.icon+.radio-check {
    background-color: #F29203;
    color: white;
    border-color: white;
}


.type-payment{
    background-color: #f7f6f6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-left: 20px;
    padding: 20px;
    display: none;
}

.input-alert{
    margin-top: .25rem;
    font-size: .9rem;
    color: rgb(107 114 128);
}

.quantity{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(107, 114, 128, 0.5);
    padding: 10px 0;
}

.quantity span{
    color: rgb(75 85 99);
    font-weight: 300;
}

.btn-payment{
    border: 0;
    width: 100%;
    text-align: center;
    border-radius: .25rem;
    background-color: rgb(42 178 123);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 10px;
    color: rgb(255 255 255);
    cursor: pointer;
}

.container-payment{
    display: none;
}

.image-pix{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-direction: column;
}

#pix p{
    font-size: .95rem;
    color: rgb(75 85 99);
    line-height: 30px;
    width: 80%;
    text-align: center;
}

footer{
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 30px;
}






@media (min-width:700px) and (max-width:1100px) {

    header {
        width: 100%;
        min-width: 0;
        max-height: 120px;
        padding: 10px;
    }

    .payment .content {
        flex-direction: column;
        align-items: center;
        gap: 30px 0;
    }
}

@media (max-width: 699px) {
    header {
        min-width: 0;
        width: 100%;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .menu-mobile {
        display: block;
        font-size: 35px;
        font-weight: 700;
        cursor: pointer;
        /* Adicionar cursor pointer para indicar que é clicável */
    }

    header .menu-mobile i:hover {
        color: #ca7a02;
    }

    header nav {
        display: none;
        /* Esconder o menu de navegação padrão */
    }

    nav .nav-mobile {
        display: block;

    }


    header .logo img {
        width: 80px;
    }

    .message {
        display: flex;
        justify-content: center;
        padding: 35px 20px;
    }

    .message .content p {
        color: rgb(31 41 55);
        font-weight: 300;
        font-size: 1.05rem;
        line-height: 1.75rem;
        box-sizing: border-box;
        border-width: 0;
        border-style: solid;
        border-color: #e5e7eb;
        margin: 1rem 0;
        margin-top: 0;
    }



    .type-plans .btn-plan.active {
        flex: 1;
    }

    .type-plans .btn-plan {
        flex: 1;
    }


    .plans .container-plans .plan-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
    }

    .plan-item .image {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 250px;
    }

    .plan-item .image img {
        width: 100%;
        object-fit: cover;
        object-position: top;
    }

    .plan-item .context {
        display: flex;
        flex-direction: column;
        padding: 20px 0;
    }

    .plans .price .btn-plan {
        margin-top: 20px;
    }


    .price-input {
        padding: 5px 0;
        width: 100%;
        text-align: right;
        font-size: 1.25rem;
    }

    .payment .content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px 0;
    }

    .type-payment{
        margin-left: 0;
    }

    .payment .form {
        width: 100%;
        min-width: 300px;
        max-width: 360px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .payment-option {
        min-width: 300px;
        max-width: 360px;
    }
}
