.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* white fade */
    z-index: 2000; /* above everything */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top-color: #007bff; /* Bootstrap primary blue */
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* new from Vitor*/
/* Ensures full-page layout */
html {
    height: 100%;
}

/*!* Ensures content does not go under the fixed navbar *!*/
body {
    /*padding-top: 60px;*/
    min-height: 100%;
    flex-direction: column;
    display: flex;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/*!* --- SEARCH CARD --- *!*/
.search-card {
    background: #fffaf5;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.text-orange {
    color: #f26b1d;
}

/* Step Boxes */
.step-box {
    border: 1px solid rgba(242, 107, 29, 0.15);
    transition: all 0.3s ease;
}

.step-box:hover {
    border-color: #f26b1d;
    box-shadow: 0 4px 14px rgba(242, 107, 29, 0.1);
}

/* Buttons */
.btn-orange {
    background-color: #f26b1d;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-orange:hover {
    background-color: #d85f18;
    transform: translateY(-2px);
}

.btn-outline-orange {
    border: 2px solid #f26b1d;
    color: #f26b1d;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background-color: #f26b1d;
    color: #fff;
}

/* Step transitions */
.steps-container .step {
    display: none;
}

.steps-container .step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Smooth transition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive tweaks */
@media (max-width: 767px) {
    .btn-orange, .btn-outline-orange {
        width: 100%;
    }
}


/* new from Vasco*/
/* Ensures full-page layout */
html {
    height: 100%;
}

/*!* Ensures content does not go under the fixed navbar *!*/
body {
    /*padding-top: 60px;*/
    min-height: 100%;
    flex-direction: column;
    display: flex;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/*!* --- SEARCH CARD --- *!*/
.search-card {
    background: #fffaf5;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.text-orange {
    color: #f26b1d;
}

/* Step Boxes */
.step-box {
    border: 1px solid rgba(242, 107, 29, 0.15);
    transition: all 0.3s ease;
}

.step-box:hover {
    border-color: #f26b1d;
    box-shadow: 0 4px 14px rgba(242, 107, 29, 0.1);
}

/* Buttons */
.btn-orange {
    background-color: #f26b1d;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-orange:hover {
    background-color: #d85f18;
    transform: translateY(-2px);
}

.btn-outline-orange {
    border: 2px solid #f26b1d;
    color: #f26b1d;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background-color: #f26b1d;
    color: #fff;
}

/* Step transitions */
.steps-container .step {
    display: none;
}

.steps-container .step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Smooth transition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*!* Form Fields *!*/
/*form select, form input {*/
/*    border-radius: 10px !important;*/
/*    border: 1px solid #ddd;*/
/*    transition: border-color 0.3s ease;*/
/*}*/

/*form select:focus, form input:focus {*/
/*    border-color: #f26b1d;*/
/*    box-shadow: 0 0 0 0.2rem rgba(242, 107, 29, 0.2);*/
/*}*/

/* Responsive tweaks */
@media (max-width: 767px) {
    .btn-orange, .btn-outline-orange {
        width: 100%;
    }
}

/*!* --- General Layout --- *!*/
/*!* General Layout *!*/
/*.search-results {*/
/*    font-family: 'Poppins', 'Roboto', sans-serif;*/
/*}*/

/*.title {*/
/*    color: #c95b0c;*/
/*    font-weight: 700;*/
/*    text-align: center;*/
/*    margin-bottom: 2rem;*/
/*}*/

/*!* Grid Layout *!*/
/*.car-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));*/
/*    gap: 2rem;*/
/*}*/

/*!* Card Style *!*/
/*.car-card {*/
/*    position: relative;*/
/*    border-radius: 16px;*/
/*    overflow: hidden;*/
/*    height: 320px;*/
/*    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    cursor: pointer;*/
/*}*/

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

/*!* Background Image *!*/
/*.car-bg {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    transition: transform 0.4s ease;*/
/*}*/

/*.car-card:hover .car-bg {*/
/*    transform: scale(1.05);*/
/*}*/

/*!* Dark Gradient Overlay *!*/
/*.car-card::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 55%;*/
/*    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);*/
/*    pointer-events: none;*/
/*}*/

/*!* Top Info (Group + Tags) *!*/
/*.car-top-info {*/
/*    position: absolute;*/
/*    top: 1rem;*/
/*    left: 1rem;*/
/*    color: #fff;*/
/*    z-index: 2;*/
/*}*/

/*.car-group {*/
/*    font-size: 1rem;*/
/*    font-weight: 600;*/
/*    margin-bottom: 0.4rem;*/
/*}*/

/*.car-tags {*/
/*    display: flex;*/
/*    gap: 0.3rem;*/
/*}*/

/*.tag {*/
/*    background: #e87b0e;*/
/*    color: #fff;*/
/*    font-size: 0.8rem;*/
/*    padding: 0.25rem 0.6rem;*/
/*    border-radius: 8px;*/
/*    font-weight: 500;*/
/*}*/

/*!* Bottom Info (Price + Total) *!*/
/*.car-bottom-info {*/
/*    position: absolute;*/
/*    bottom: 1.2rem;*/
/*    left: 1.2rem;*/
/*    color: #fff;*/
/*    z-index: 2;*/
/*}*/

/*.price {*/
/*    font-size: 1.5rem;*/
/*    font-weight: 700;*/
/*}*/

/*.price span {*/
/*    font-size: 1rem;*/
/*    font-weight: 400;*/
/*}*/

/*.total {*/
/*    font-size: 0.9rem;*/
/*    opacity: 0.9;*/
/*}*/

/*!* Choose Button Overlay (hidden until hover) *!*/
/*.overlay-btn {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: rgba(232, 123, 14, 0.9);*/
/*    color: #fff;*/
/*    border: none;*/
/*    font-size: 1rem;*/
/*    font-weight: 600;*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*}*/

/*.car-card:hover .overlay-btn {*/
/*    opacity: 1;*/
/*}*/
/*!* --- Alerts --- *!*/
/*.alert {*/
/*    border-radius: 12px;*/
/*}*/

/*!* --- General --- *!*/
/*.car-details-page {*/
/*    font-family: 'Poppins', 'Roboto', sans-serif;*/
/*    color: #333;*/
/*}*/

/*.text-orange {*/
/*    color: #e87b0e;*/
/*}*/

/*!* --- Carousel --- *!*/
/*.car-carousel {*/
/*    border-radius: 16px;*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*}*/

/*.car-carousel-img {*/
/*    border-radius: 16px;*/
/*    object-fit: cover;*/
/*    height: 400px;*/
/*}*/

/*.custom-carousel-btn {*/
/*    width: 3rem;*/
/*    height: 3rem;*/
/*    border-radius: 50%;*/
/*    background-color: rgba(232, 123, 14, 0.85);*/
/*    border: none;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*}*/

/*.custom-carousel-btn:hover {*/
/*    background-color: rgba(232, 123, 14, 1);*/
/*}*/

/*!* --- Card --- *!*/
/*.car-info-card {*/
/*    background: #fff;*/
/*    border-radius: 20px;*/
/*}*/

/*.car-info-card p {*/
/*    margin: 0.3rem 0;*/
/*    font-size: 0.95rem;*/
/*}*/

/*!* --- Extras --- *!*/
/*.extras-container {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 0.6rem;*/
/*}*/

/*.extra-item {*/
/*    font-size: 0.85rem;*/
/*    font-weight: 500;*/
/*    border-radius: 12px;*/
/*    padding: 0.4rem 0.8rem;*/
/*    cursor: pointer;*/
/*    transition: all 0.25s ease;*/
/*    user-select: none;*/
/*}*/

/*.extra-item.included {*/
/*    background-color: #fff3e0;*/
/*    color: #e87b0e;*/
/*    border: 1px solid #e87b0e;*/
/*}*/

/*.extra-item.available {*/
/*    background-color: #f7f7f7;*/
/*    color: #555;*/
/*    border: 1px solid #ddd;*/
/*}*/

/*.extra-item:hover {*/
/*    background-color: #e87b0e;*/
/*    color: white;*/
/*    border-color: #e87b0e;*/
/*}*/

/*!* --- Buttons --- *!*/
/*.btn-orange {*/
/*    background-color: #e87b0e;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 12px;*/
/*    transition: background-color 0.3s ease;*/
/*}*/

/*.btn-orange:hover {*/
/*    background-color: #cf690b;*/
/*}*/

/*.btn-outline-orange {*/
/*    border: 2px solid #e87b0e;*/
/*    color: #e87b0e;*/
/*    border-radius: 12px;*/
/*    background: transparent;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.btn-outline-orange:hover {*/
/*    background-color: #e87b0e;*/
/*    color: #fff;*/
/*}*/

.extra-item {
    margin-left: 20px; /* pushes it to the right */
    margin-top: 3px; /* tiny space from previous line */
    display: flex;
    align-items: center;
    gap: 4px; /* space between name and icon */
    font-size: 0.9em;
    color: var(--cinza);
}

/* new from Vasco*/
:root {
    --laranja-principal: #de5b16;
    --bege: #f9f1e5;
    --laranja-escuro: #ab401a;
    --cinza: grey;
    --cinza-claro: #e6e6e6;

    --page-bg: #f7ebdd;
    --hero-radius: 32px;
    --orange-main: #b53a10;
    --text-light: #fff5e7;
    --icon-positive-bg: #f5833a;
    --icon-positive-border: #f8c59c;
    --icon-negative-border: #f9bda7;
    --toggle-off-bg: #d7d7d7;
    --toggle-on-bg: #f6bf89;
    --toggle-knob: #ffffff;
    --accent: #f26522;
}

html, body {
    height: 100%
}

body {
    font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
}

.bg-laranja {
    background-color: var(--laranja-principal) !important
}

.text-laranja {
    color: var(--laranja-principal) !important
}

.text-cinza-escuro {
    color: var(--cinza) !important
}

.text-cinza-claro {
    color: var(--cinza-claro) !important
}

.bg-bege {
    background-color: var(--bege) !important
}

.navbar .navbar-brand img {
    display: block
}

.logo-navbar {
    height: 56px;
    transition: all .2s;
}


.layout {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.6fr);
    gap: 40px;
    position: relative;
}


/*caixa branca abaixo do header*/
/* Caixa branca de formulário */
.caixa-formulario {
    background-color: var(--bege);
}

.formulario-box {
    border-bottom: 20px;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: var(--bs-border-radius-xl) !important;
    border-bottom-right-radius: var(--bs-border-radius-xl) !important;
}

.campo-label {
    color: var(--laranja-principal);
    font-size: 13px;
    display: block;
}

.imput-label {
    color: #808080;
    font-size: 13px;
    display: block;
}

.font-laranja {
    color: var(--laranja-principal);
}


.btn-add-extra {
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    border: none;
    background: #ff6f1f;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.extras-list {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faixa {
    border-top: 16px solid var(--laranja-principal);
    border-bottom: 16px solid var(--laranja-principal)
}

/* pills (filters) */
.btn-pill {
    border-radius: 9999px;
    border: 1px solid var(--cinza-claro);
    background: #fff;
    color: #444;
    font-weight: 600;
    padding: .6rem 1rem;
}

h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
}

h3 {
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}

h5 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
}

p {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
}


/* Cards */

.viatura-content {
    z-index: 1;
}

.viatura-content h2 {
    color: #272727;
}

.viatura-content h3 {
    color: #de5b16;
    font-size: 26px;
    font-weight: 500;
    padding-top: 5px;
    padding-bottom: 5px;
}

.viaturas-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 1rem 1rem 1rem;
    z-index: 2; /* cola ao fundo do card */
}

.viatura img {
    object-fit: cover
}

.viatura .badges {
    position: absolute;
    left: .75rem;
    top: .75rem;
    display: flex;
    gap: .4rem;
    flex-wrap: wrap
}

.badge.bg-laranja {
    background-color: var(--laranja-principal) !important;
    font-weight: 800;
    border-radius: 9999px;
    padding: .35rem .6rem
}

.viatura .price {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    color: #fff;
    background: #00000066;
    padding: .5rem .75rem;
    border-radius: .8rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    backdrop-filter: saturate(1.1) blur(2px)
}

.viatura .price strong {
    font-size: 1.6rem;
    line-height: 1
}

.viatura .price span {
    font-weight: 800;
    margin-left: .25rem
}

.viatura .price small {
    opacity: .95;
    font-weight: 700
}

.viatura {
    height: 500px; /* altura do card */
}

.viatura-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}


.viatura .badge {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--laranja-principal);
}

.viaturas-grid-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--laranja-principal);
}

.viaturas-icones {
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}

.viaturas-icons-text {
    color: var(--bege);
    margin-bottom: 0;
    font-size: 10px;
}
.viaturas-icons-text-big {
    color: var(--bege);
    margin-bottom: 0;
    font-size: 13px;
}


.icon-wrapper {
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    background-color: var(--laranja-principal);
    border-radius: 1000px;
    justify-content: center;
    align-items: center;
    padding: 5px 15px;
    display: flex;
}

.viaturas-icon {
    height: 10px;
}

.viaturas-icon-big {
    height: 20px;
}

.viaturas-preco {
    color: #fff;
    text-align: right; /* ou left se quiseres alinhado à esquerda */
    line-height: 1.1;
}

.price-day .price-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #de5b16;
}

.price-day .price-unit {
    font-size: 1.5rem;
    font-weight: 500;
    color: #de5b16;
    margin-left: 4px;
}


.price-info .price-day .price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff
}

.price-info .price-day .price-unit {
    font-size: 1.0rem;
    font-weight: 400;
    color: #fff;
}

.price-total {
    margin-top: 0.25rem;
}

.price-total .price-value {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(128, 128, 128);
}

.price-total .price-unit {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(128, 128, 128);
    margin-left: 2px;
}

.price-info .price-total {
    margin-top: 0.25rem;
}

.price-info .price-total .price-value {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(128, 128, 128);
}

.alert-warning {
    display: none;
}

a {
    color: #de5b16;
}

.price-info .price-total .price-unit {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(128, 128, 128);
    margin-left: 2px;
}

.viatura-card {
    min-height: 320px;
    border: 0;
    display: block;
    background: #fff;
}

.viatura-card__bg {
    position: absolute;
    inset: 0;
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
}

.viatura-card__overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    color: #fff;
}

.viatura-card__overlay h2 {
    color: #272727;
}

.viatura-card__overlay h3 {
    color: #de5b16;
    font-size: 26px;
    font-weight: 500;
    padding-top: 5px;
    padding-bottom: 5px;
}

.viatura-card__overlay .viaturas-icones {
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: auto;
}

.icon-pill {
    background-color: var(--laranja-principal);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* bolinhas (carousel indicator) */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: #fff;
}

/* lado direito */
.bg-card-right {
    background-color: var(--laranja-principal);
    color: #fff;
}

/* opções */
.option {
    border-radius: 14px;
    padding: 12px 14px;
}

.option.selected {
    /*outline: 2px solid #fff;*/
}

.form-imput{
    border: 1px solid var(--laranja-principal);
    color: var(--cinza);
}

.form-check-input {
    flex-shrink: 0;
    background: transparent;
    border: 2px solid var(--laranja-principal);;
}

.form-check-input:checked {
    background-color: var(--laranja-principal);;
    border-color: var(--laranja-principal);;
}

/* badges */
.badge-included {
    background: #fff;
    color: var(--laranja-principal);
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-extra {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Buttons */
.btn-laranja {
    background-color: var(--laranja-principal);
    color: #fff;
    border-radius: 12px;
    font-weight: 800
}

.btn-laranja:hover {
    background-color: var(--laranja-escuro);
    color: #fff
}

.btn-primary {
    background-color: var(--laranja-principal);
    color: #fff;
    border-radius: 12px;
    font-weight: 800
}

.btn-primary:hover {
    background-color: var(--laranja-escuro);
    color: #fff
}

.btn-pill {
    border-radius: 9999px;
    border: 1px solid var(--cinza-claro);
    background: #fff;
    color: var(--cinza);
    font-weight: 600;
    padding: .6rem 1rem;
}

/* Botão do dropdown */
.btn.btn-pill.dropdown-toggle {
    font-size: 13px;
    color: #808080;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

/* dropdown */
.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.dropdown-item:hover {
    background-color: var(--bege);
}

.dropdown-item {
    font-size: 13px;
    color: #808080;
    padding: 0.4rem 0.9rem;
}

.dropdown-item.active {
    background-color: var(--bege);
    font-weight: 700;
}


/* COLUNA ESQUERDA ------------------------------------------- */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero {
    position: relative;
    border-radius: var(--hero-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.hero-img {
    height: 240px;
    position: relative;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.05) 100%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    padding: 34px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.hero-badge {
    align-self: flex-start;
    background: var(--accent);
    border-radius: 999px;
    padding: 9px 26px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-title span {
    display: block;
}

/* CARTÃO MATRIZ --------------------------------------------- */
.matrix-card {
    background: var(--orange-main);
    color: var(--text-light);
    border-radius: 0 0 var(--hero-radius) var(--hero-radius);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.3);
    padding: 36px 60px 26px 60px;
    margin-top: -10px;
    display: flex;
    flex-direction: column;
    gap: 24px;

    /* hero mais largo em desktop */
    width: 86%;
    margin-left: auto;
    margin-right: auto;
}

.matrix-grid {
    display: grid;
    /*grid-template-columns: minmax(0, 4.4fr) repeat(3, minmax(0, 0.8fr)) !important;*/
    column-gap: 40px;
    row-gap: 14px;
    align-items: center;
}

.matrix-header {
    font-weight: 800;
    font-size: 22px;
    text-align: center;
}

.matrix-header.empty {
    text-align: left;
    font-size: 18px;
}

.coverage-label {
    font-size: 16px;
    text-align: left;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.coverage-text-lines {
    display: flex;
    flex-direction: column;
}

.coverage-text-lines span {
    display: block;
}

.coverage-label .info-icon {
    font-size: 14px;
    cursor: pointer;
    color: #ffe3c9;
    flex-shrink: 0;
    margin-top: 2px;
}

.cell-icon {
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.icon-circle.ok {
    background: var(--icon-positive-bg);
    border: 2px solid var(--icon-positive-border);
    color: #ffffff;
}

.icon-circle.no {
    border: 2px solid var(--icon-negative-border);
    color: var(--icon-negative-border);
}

.franquia-label {
    font-size: 16px;
    margin-top: 4px;
    line-height: 1.4;
}

.franquia-price {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-top: 4px;
}


/* --- Payment Pending Card --- */
.pay-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 28px 18px 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    border: 1px solid rgba(222, 91, 22, .12);
    overflow: visible;
}

.pay-card-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-timer-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid rgba(222, 91, 22, .25);
    color: var(--laranja-principal);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.pay-card-title {
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    margin-top: 4px;
}

.pay-card-sub {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
}

/* choices */
.pay-choice {
    width: 100%;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    border: 1px solid var(--laranja-principal);
}

.pay-choice-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pay-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    background: transparent;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .08) inset;
}

.pay-choice-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.pay-choice-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}


.pay-mini-logo {
    height: 18px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    padding: 2px 6px;
}

/* status row */
.pay-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.pay-status-muted {
    font-size: 12px;
    font-weight: 500;
    color: #777;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .pay-choice {
        flex-direction: column;
        align-items: flex-start;
    }

    .pay-choice-right {
        justify-content: flex-start;
    }

    .pay-mini-logo {
        height: 16px;
    }
}

.info-card {
    border: 1.5px solid #de5b16;
    border-radius: 18px;
    padding: 18px 20px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.info-card-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-name {
    color: #de5b16;
    font-weight: 900;
    font-size: 20px;
}

.info-reservation {
    color: #de5b16;
    font-size: 14px;
    font-weight: 700;
}

.info-contact {
    text-align: right;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.info-divider {
    border: none;
    border-top: 1px solid #de5b16;
    margin: 14px 0;
}

.info-card-body {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 24px;
    font-size: 14px;
    color: #555;
}

.info-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-weight: 700;
    color: #777;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-card-body {
        grid-template-columns:1fr;
    }

    .info-contact {
        text-align: left;
    }
}


/* TOGGLES EM BAIXO ------------------------------------------ */
.matrix-toggles {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    grid-template-columns: minmax(0, 4.4fr) repeat(3, minmax(0, 0.8fr));
    column-gap: 40px;
    align-items: center;
}

.toggle-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.toggle-label {
    color: #ffe3c9;
    font-weight: 500;
}

.toggle {
    position: relative;
    width: 62px;
    height: 30px;
}

/*.toggle input {*/
/*    opacity: 0.01;*/
/*    width: 0;*/
/*    height: 0;*/
/*}*/

.toggle input {
    position: absolute;
    opacity: 0.01; /* NOT 0, or validation won't fire */
    width: 1px; /* NOT 0 */
    height: 1px; /* NOT 0 */
    pointer-events: auto; /* must allow clicks */
}

.toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--toggle-off-bg);
    cursor: pointer;
}

.toggle-knob {
    position: absolute;
    top: 50%;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--toggle-knob);
    transform: translateY(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
}

.toggle input:checked + .toggle-track {
    background: var(--toggle-on-bg);
}

.toggle input:checked + .toggle-track .toggle-knob {
    transform: translate(26px, -50%);
}

.toggle.disabled .toggle-track {
    background: var(--toggle-on-bg);
    cursor: default;
}

.toggle.disabled input {
    pointer-events: none;
}

/* COLUNA DIREITA -------------------------------------------- */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-self: stretch;
    z-index: 10;
}

.summary-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 32px 26px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid #f1d6c0;
}

.summary-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--laranja-principal);
    margin-bottom: 22px;
}

.summary-section {
    font-size: 13px;
    margin-bottom: 16px;
}

.summary-section-title {
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    color: var(--laranja-principal)
}

.summary-section-title span.icon {
    font-size: 14px;
}

.summary-section-body {
    color: #555;
}

.summary-car {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 6px;
}

.summary-car-img {
    width: 120px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
}

.summary-car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-car-info {
    font-size: 13px;
    line-height: 1.4;
}

.car-group {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--laranja-principal);
}

.car-name {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.car-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.car-tag {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 999px;
    background: #fce5d7;
    color: #b14a20;
    font-weight: 600;
}

.car-days-row {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--cinza);
}

.car-days-row strong {
    font-size: 13px;
}

.car-days-row span.amount {
    font-weight: 600;
}

.total-box {
    background: var(--laranja-principal);
    border-radius: 32px;
    padding: 26px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    gap: 8px;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
}

.total-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.total-value span.currency {
    font-size: 28px;
    margin-left: 6px;
}

.btn-continuar {
    margin-top: 12px;
    padding: 10px 28px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn-continuar:hover {
    opacity: 0.9;
}

.btn-continuar-desktop {
    display: inline-block;
}

/* Linhas de extras no resumo -------------------------------- */
.extra-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.extra-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
}

.extra-name {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.extra-name i.info-icon {
    font-size: 13px;
    cursor: pointer;
    color: #888;
}

.extra-values {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    font-size: 12px;
}

.summary-empty {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* BARRA FIXA TABLET/MOBILE --------------------------------- */
.bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    color: #111;
    border-top: 1px solid #ddd;
    padding: 8px 16px;
    display: none; /* só em tablet/mobile */
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    gap: 10px;
}

.bottom-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.bottom-price-line {
    font-size: 16px;
    font-weight: 700;
}

.bottom-price-line .currency-symbol {
    font-size: 14px;
    font-weight: 600;
    margin-right: 2px;
}

.bottom-price-details {
    border: none;
    background: none;
    padding: 0;
    font-size: 12px;
    text-decoration: underline;
    color: #111;
    cursor: pointer;
}

.bottom-continue-btn {
    border: none;
    background: var(--accent);
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.bottom-continue-btn:hover {
    opacity: 0.92;
}


/* Footer */
.social-ico {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--laranja-principal);
    border-radius: 10px;
    font-weight: 900;
}

/* Responsive control for grid: 3 -> 2 -> 1 (handled by col classes) */
/* Extra tweaks */
@media (max-width: 1024px) {
    /* 2 col already via Bootstrap col-md-6; nothing special */
    .layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faixa {
        border-width: 12px
    }

    .logo-navbar {
        height: 46px;
    }

    .textButDisableMob {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 16px;
    }
}

/* RESPONSIVO: MOBILE/TABLET -------------------------------- */
@media (max-width: 1024px) {
    body {
        padding-bottom: 70px; /* espaço para barra */
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .right-column {
        display: none; /* escondida por defeito */
        padding: 18px 18px 24px;
        background: #ffffff;
        border-radius: 0;
        box-shadow: none;
    }

    .summary-card {
        box-shadow: none;
        border: none;
        padding-inline: 4px;
    }

    .total-box {
        margin-top: 6px;
        border-radius: 24px;
        padding: 18px 22px;
    }

    .btn-continuar {
        width: 100%;
        text-align: center;
    }

    .bottom-bar {
        display: flex;
    }

    /* hero e matriz mesma largura */
    .matrix-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 28px 24px 20px;
    }

    .hero-content {
        padding: 24px 24px;
    }

    .hero-title {
        font-size: 26px;
    }

    .matrix-grid,
    .matrix-toggles {
        column-gap: 16px;
        /*grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.9fr));*/
    }

    .matrix-header {
        font-size: 18px;
    }

    .coverage-label {
        font-size: 14px;
    }

    .franquia-label {
        font-size: 14px;
    }

    .franquia-price {
        font-size: 18px;
    }

    
}

/* DESKTOP --------------------------------------------------- */
@media (min-width: 1025px) {
    .bottom-bar {
        display: none !important;
    }

    .right-column {
        position: static;
        transform: none !important;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .close-panel {
        display: none !important;
    }
}

/* Botão fechar painel mobile -------------------------------- */
.close-panel {
    display: none;
    border: none;
    background: #ffffff;
    font-size: 22px;
    line-height: 1;
    /*position: fixed;*/
    right: 16px;
    top: 12px;
    cursor: pointer;
    color: #555;
    z-index: 60;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Estado "detalhes" em mobile/tablet ----------------------- */
@media (max-width: 1024px) {
    body.details-mode .left-column {
        display: none;

    }   

    body.details-mode .right-column {
        display: flex;
    }

    /* barra inferior continua visível em details-mode */
    body.details-mode .close-panel {
        display: block;
    }
}
