@font-face {
    font-family: "Helvetica Neue LT Std";
    src: url("../fonts/HelveticaNeueLTStd-Bd.otf") format("opentype");
    font-weight: 700;
}

@font-face {
    font-family: "Helvetica Neue LT Std";
    src: url("../fonts/Helvetica.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Helvetica Neue LT Std";
    src: url("../fonts/HelveticaNeueLTStd-BlkIt.otf") format("truetype");
    font-weight: 900;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    /*overflow: hidden;*/
    font-family: "Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden; /* Remove a rolagem horizontal */
    width: 100vw; /* Garante que o corpo tenha a largura total da viewport */
    background: #0b0d2a;
}

.hero {
    position: relative;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ed1c24;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35vh;
    background: url("../images/bg-honda.png") center/cover no-repeat;
    z-index: 0;
}


.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.hero__bar {
    width: 100%;
    padding: 1.25rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    max-height: 90px;
    width: auto;
}

.hero__content {
    position: relative;
    z-index: 1;
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-height: 0;
}

.hero__title {
    font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
    font-weight: 700;
    margin: 0;
}

.chat-placeholder {
    width: min(90%, 500px);
    background: #ffffff;
    border-radius: 8px;
    padding: 0; /* Removido o padding geral */
    position: relative;
    display: flex;
    flex-direction: column; /* Organiza os filhos em coluna */
    flex: 1 1 auto;
    min-height: 500px; /* Define uma altura mínima para o container */
    margin-bottom: 3rem;
}

.card-banner {
    background: #ed1c24;
    height: 50px; /* Altura fixa */
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 8px 8px 0 0;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.honda {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f0f0f0;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    box-sizing: border-box;
}

.welcome-text {
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
    line-height: 1.35;
    color: #000034;
    margin: 0 0 3rem;
    padding: 0 40px;
}

.welcome-text strong {
    color: #1f2937;
    font-weight: 800;
}

.btn-primary {
    all: unset;
    cursor: pointer;
    background: #ed1c24;
    color: #fff;
    font-weight: 700;
    padding: 1rem 4rem;
    border-radius: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.btn-primary:active {
    transform: translateY(0);
}


/*forms honda*/

.honda__form {
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.form-title {
    font-size: clamp(1.2rem, 2.5vh, 1.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #374151;

    margin: 0 0 clamp(1rem, 3vh, 2rem);
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 2vh, 1.25rem);

    width: 100%;
}

.field input {
    width: 100%;
    padding: clamp(0.5rem, 2vh, 0.9rem) clamp(1rem, 3vw, 1.25rem);

    border: 2px solid #ed1c24;
    border-radius: 999px;

    font-size: clamp(0.85rem, 2vh, 1rem);

    outline: none;
}

.error {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #ed1c24;
}

.btn-primary {
    all: unset;
    cursor: pointer;
    background: #ed1c24;
    color: #fff;
    font-weight: 700;

    padding: clamp(0.8rem, 2vh, 1rem) clamp(2rem, 5vw, 4rem);

    border-radius: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    transition: transform .18s ease, box-shadow .18s ease;
    margin-top: clamp(0.5rem, 2vh, 1rem);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.btn-primary:active {
    transform: translateY(0);
}


@media (max-height: 700px) {
    .form-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .form-grid {
        gap: 0.75rem;
    }

    .field input {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 0.7rem 2.5rem;
        font-size: 0.95rem;
        margin-top: 0.75rem;
    }
}

@media (max-height: 600px) {
    .form-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .form-grid {
        gap: 0.5rem;
    }

    .field input {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.6rem 2rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

@media (max-height: 500px) {
    .form-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .form-grid {
        gap: 0.35rem;
    }

    .field input {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
}


/*Form de carros Disponíveis*/


.honda__cars {
    position: relative;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    padding: 20px 0;
}

.cars-title {
    font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #374151;
    margin: 1.5rem 0 1.75rem;
}

.btn-back {
    all: unset;
    cursor: pointer;
    /*position: absolute;*/
    /*top: -1.75rem;*/
    /*right: -1rem;*/
    background: #ed1c24;
    color: #fff;
    font-size: 0.8rem;
    padding: .4rem 1.4rem;
    border-radius: 9px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
}

.btn-back:hover {
    text-decoration: underline;
}


.cars-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
}

.car-card {
    position: relative;
    width: 100%;
    height: 240px;
    border: 2px solid #ed1c24;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    padding: 0;
}

.car-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .12);
}

.car-card.selected {
    box-shadow: 0 0 0 4px #ed1c24 inset;
}

@keyframes hueShift {
    0% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(55deg);
    }
    100% {
        filter: hue-rotate(0deg);
    }
}

.car-card:hover .car-card__img {
    animation: hueShift 3s linear infinite;
    transform: scale(1.08);
}

.car-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .8);
    font-weight: 700;
    padding: .45rem 0;
    font-size: .95rem;
}

.car-card__name {
    margin: 1rem 0 0;
    font-weight: 700;
    color: #374151;
    letter-spacing: .5px;
}

@media (max-width: 480px) {
    .car-card {
        height: 180px;
        border-radius: 24px;
    }

    .car-card__label {
        font-size: .85rem;
        padding: .35rem 0;
    }
}

@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }

    .car-card {
        height: 180px;
    }
}


/*Form de Dias Disponíveis*/
.honda__days {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    box-sizing: border-box;
    padding: 20px 0;
}


.days-title {
    font-size: clamp(1.4rem, 3vh, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #374151;
    margin: clamp(1rem, 2vh, 2rem) 0 clamp(1rem, 2.5vh, 1.5rem);
    z-index: 0;
}

.days-grid {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    gap: clamp(0.5rem, 1.5vh, 1rem);
    padding-bottom: 1rem;
    box-sizing: border-box;
}

.days-grid::-webkit-scrollbar {
    width: 6px;
}

.days-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.day-card {
    background: #ffffff;
    border: 2px solid #ed1c24;
    border-radius: 28px;
    padding: clamp(0.6rem, 1.5vh, 0.8rem) clamp(1rem, 3vw, 1.2rem);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.day-card.selected {
    box-shadow: 0 0 0 4px #ed1c24 inset;
}

.day-card__weekday {
    font-size: clamp(1rem, 2.5vh, 1.4rem);
    font-weight: 800;
    color: #374151;
    margin: 0;
}

.day-card__date {
    font-size: clamp(0.9rem, 2vh, 1.1rem);
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.day-card__hours {
    font-weight: 500;
    color: #1f2937;
    font-size: clamp(0.8rem, 1.8vh, 1rem);
}

@media (max-height: 700px) {
    .honda__days {
        padding: 0.8rem;
    }

    .days-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .days-grid {
        gap: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .day-card {
        padding: 0.5rem 0.8rem;
    }

    .day-card__weekday {
        font-size: 1.2rem;
    }

    .day-card__date {
        font-size: 1rem;
    }

    .day-card__hours {
        font-size: 0.9rem;
    }
}

@media (max-height: 600px) {
    .honda__days {
        padding: 0.6rem;
    }

    .days-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .days-grid {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .day-card {
        padding: 0.4rem 0.6rem;
    }

    .day-card__weekday {
        font-size: 1.1rem;
    }

    .day-card__date {
        font-size: 0.95rem;
    }

    .day-card__hours {
        font-size: 0.85rem;
    }
}

@media (max-height: 500px) {
    .honda__days {
        padding: 0.4rem;
    }

    .days-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .days-grid {
        gap: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .day-card {
        padding: 0.3rem 0.5rem;
    }

    .day-card__weekday {
        font-size: 1rem;
    }

    .day-card__date {
        font-size: 0.9rem;
    }

    .day-card__hours {
        font-size: 0.8rem;
    }
}


/*Seleção de Horário*/

.honda__times {
    position: relative;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    text-align: center;
    overflow: visible;
    padding: 20px 0;
}

.times-title {
    font-size: clamp(1.2rem, 1vw + 1rem, 1.7rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #374151;
    margin: 1rem 0 .75rem;
}

.times-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #374151;
    margin: 0 0 2rem;
}

.times-grid {
    display: grid;
    gap: .75rem .85rem;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    justify-items: center;
    justify-content: center;
}

.time-chip {
    all: unset;
    cursor: pointer;
    text-align: center;
    padding: .35rem .2rem;
    border: 2px solid #ed1c24;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: #374151;
    transition: background .25s, color .25s, transform .25s;
    line-height: 1;
    min-width: 90px;
    margin-bottom: .5rem;
}

.time-chip:hover {
    background: #ed1c24;
    color: #fff;
    transform: translateY(-2px);
}

@media (min-width: 600px) {
    .time-chip {
        padding: .45rem .1rem;
        font-size: .8rem;
        min-width: 90px;
        margin-bottom: .5rem;
    }
}

@media (min-width: 992px) {
    .times-grid {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

.times-scroll {
    max-height: 35vh;
    overflow-y: auto;
    padding-inline: 1.5rem;
}

.times-scroll::-webkit-scrollbar {
    width: 6px;
}

.times-scroll::-webkit-scrollbar-thumb {
    background: #ed1c24;
    border-radius: 6px;
}

.times-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.times-scroll .times-grid {
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

/*tela de confirmação*/
.honda__confirm {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px 0;
    box-sizing: border-box;
}


.btn-back:hover {
    text-decoration: underline;
}

.confirm-msg {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    margin-top: 5px;
    line-height: 1.3;
}

.confirm-heading {
    font-size: clamp(1rem, 1.2vw + 1rem, 0.5rem);
    font-weight: 400;
    color: #374151;
    line-height: 1.3;
    margin: 0 0 clamp(0.75rem, 2vh, 1rem);
    text-align: start;
    padding: 9px;
    border: 2px solid #ed1c24;
    border-radius: 15px;
}

.confirm-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1.5vh, 0.5rem);
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 1px;
    box-sizing: border-box;
}

.confirm-grid input {
    width: 100%;
    padding: 9px;
    border: 2px solid #ed1c24;
    border-radius: 999px;
    font-size: clamp(0.85rem, 2vh, 0.95rem);
    outline: none;
}

.btn-primary {
    all: unset;
    cursor: pointer;
    background: #ed1c24;
    color: #fff;
    font-weight: 700;
    padding: clamp(0.5rem, 2vh, 0.5rem) clamp(2rem, 5vw, 4rem);
    border-radius: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    transition: transform .18s ease, box-shadow .18s ease;
    margin: clamp(0.5rem, 2vh, 1rem) auto 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

@media (max-height: 700px) {
    .honda__confirm {
        padding: 1px;
    }

    .confirm-heading {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .confirm-grid {
        gap: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .confirm-grid input {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.7rem 2.5rem;
        font-size: 0.95rem;
        margin-top: 0.75rem;
    }
}

@media (max-height: 600px) {
    .honda__confirm {
        padding: 0.6rem;
    }

    .confirm-msg {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .confirm-heading {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .confirm-grid {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .confirm-grid input {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 0.6rem 2rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

@media (max-height: 500px) {
    .honda__confirm {
        padding: 0.4rem;
    }

    .confirm-msg {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .confirm-heading {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .confirm-grid {
        gap: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .confirm-grid input {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
}


/*Obrigado*/
.honda__thanks {
    text-align: center;
}

.thanks-title {
    font-size: clamp(1.6rem, 1.4vw + 1rem, 2rem);
    font-weight: 900;
    color: #374151;
    margin: 1.5rem 0 1rem;
}

.thanks-msg {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #374151;
}

.thanks-info {
    font-size: .9rem;
    color: #4b5563;
    margin: 0 0 2rem;
}

.card-bottom {
    margin-top: 4px !important;
}
