:root {
    --primary-color: #ff4306;
    --secondary-color: #f7f4ee;
    --border-color: #e5eaef;
    --white: #ffffff;
    --black: #020000;
    --gray: #48535d;
    --light-gray: #eef0f3;
    --green: #35b871;
    --orange: #f4511e;
    --padding-horizontal: 0 13vw;
    --padding-section: 120px 13vw;
    --padding-button: 12px 24px;
    --border: 1px solid var(--border-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: var(--secondary-color);
    min-height: 100vh;
}

.see-more {
    border-radius: 24px;
    height: 32px;
    padding: 4px 6px;
    background-color: #fff;
    border: 1px solid #ff4306;
    margin: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.type {
    border-radius: 0px 24px 24px 0px;
    height: 32px;
    padding: 6px 24px;
    background-color: var(--secondary-color);
    border: 1px solid #ff4306;
    border-left: none;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.empty {
    display: flex;
    padding: 0px 24px 0px 0px;
}


.see-more:hover {
    border-color: #000000;
    background-color: #fafafa;
}

/* Container Principal */
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
    gap: 40px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: var(--white);
    border-radius: 24px;
    border: var(--border);
    padding: 8px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 40px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
}

.tab-navigation {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#tab-resumo {
    margin-bottom: 8px;
}

.tab-item.active {
    background-color: var(--border-color);
}

.tab-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button {
    width: 100%;
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    background-color: #eeddbf;
}

.cta-button:hover {

    background-color: #eeddbf;
    box-shadow: 0 6px 20px rgba(255, 67, 6, 0.3);
}

.tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tab-content-info {
    flex: 1;
}

.tab-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.tab-description {
    font-size: 12px;
    color: var(--gray);
    margin-top: 2px;
}

.tab-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-status.completed {
    background-color: var(--green);
    border-color: var(--green);
}

.tab-status.completed::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
}

.tab-number {
    font-size: 12px;
    color: var(--gray);
}

/* Mini Resumo */
.mini-summary {
    border-top: 1px solid var(--border-color);
    padding: 2px 0;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.mini-summary-header {
    margin-bottom: 12px;
}

.mini-summary-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.mini-summary-subtitle {
    font-size: 11px;
    color: var(--gray);
}

.mini-summary-content {
    flex: 1;
    overflow-y: auto;
    max-height: 200px;
}

.mini-summary-content::-webkit-scrollbar {
    width: 4px;
}

.mini-summary-content::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 2px;
}

.mini-summary-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.mini-summary-content::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

.mini-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-left: 12px;
    border-bottom: 1px solid var(--border-color);
}

.mini-summary-item:last-child {
    border-bottom: none;
}

.mini-summary-plan {
    flex: 1;
    min-width: 0;
}

.mini-summary-plan-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-summary-plan-qty {
    font-size: 10px;
    color: var(--gray);
}

.mini-summary-price {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 4px;
}

.mini-summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-summary-total-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
}

.mini-summary-total-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.mini-summary-category-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
    margin-top: 12px;
    margin-bottom: 4px;
    padding-left: 4px;
}

.mini-summary-category-title:first-of-type {
    margin-top: 0;
}

.mini-summary-empty {
    text-align: center;
    padding: 20px 0;
    color: var(--gray);
    font-size: 11px;
}

/* Content Area */
.content-area {
    flex: 1;
    border-radius: 24px;
}

.content-header {
    margin-bottom: 32px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.content-subtitle {
    font-size: 14px;
    color: var(--gray);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.plan-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
}


.plan-card.selected {
    border-color: var(--primary-color);
}

.plan-header {
    justify-content: space-between;
    align-items: flex-start;
    height: 325px;
}

.plan-info {
    flex: 1;
    padding: 0px 24px;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.plan-model {
    font-size: 12px;
    color: var(--gray);
}

.plan-image {
    width: auto;
    height: 220px;
    margin-bottom: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: top;
    justify-content: space-between;
    font-size: 32px;
    border-bottom: 1px solid var(--border-color);
}

.plan-features {
    margin-bottom: 20px;
    padding: 0 24px;
    height: 96px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--gray);
}

.feature-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 10px;
}

.ph {
    font-size: 24px;
}

.plan-pricing {
    border-top: 1px solid var(--border-color);
    padding: 24px;
    height: 98px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 14px;
    color: var(--gray);
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.period {
    font-size: 14px;
    color: var(--gray);
}

.plan-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    height: 28px;
}

.quantity-btn {
    width: 28px;
    height: 100%;
    border: none;
    border: var(--border);
    border-radius: 24px 0px 0px 24px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#minus {
    width: 28px;
    height: 100%;
    border: none;
    border: var(--border);
    border-radius: 0px 24px 24px 0px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-value {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    background-color: var(--white);
}

/* Summary Section */
.summary-section {
    background-color: var(--white);
    border-radius: 24px;
    padding: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.summary-category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-top: 20px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

#summary-items .summary-category-title:first-of-type {
    margin-top: 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
    /* font-weight: 700;
    font-size: 18px; */
    padding-top: 16px;
}

.summary-item.total {
    font-weight: 700;
    font-size: 18px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

#action-buttons-mobile {
    display: none;
}

.btn {
    padding: var(--padding-button);
    border-radius: 24px;
    width: 120px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-button {
    width: -webkit-fill-available;
    width: -moz-available;
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    background-color: #eeddbf;
    margin: 24px;
    margin-top: 0px;
}

.cta-button:hover {
    background-color: #eeddbf;
    box-shadow: 0 6px 20px rgba(255, 67, 6, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    flex: 1;
}

.btn-primary:hover {
    background-color: #e63900;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

/* Checkout Form */
.checkout-form {
    display: grid;
    gap: 24px;
    background-color: var(--white);
    padding: 24px;
    margin-top: 12px;
    border-radius: 24px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.payment-methods {
    display: grid;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background-color: var(--secondary-color);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background-color: #fff9f6;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        max-height: none;
        position: relative;
        top: 0px;
    }

    .plan-features {
        height: 96px;
    }

    .plan-header {
        height: 305px;
        margin-bottom: 20px;
    }

    .tab-navigation {
        padding-bottom: 10px;
        border-radius: 999;
        flex-direction: row;
        overflow-x: auto;
    }

    .mini-summary {
        border-top: none;
        border-left: 1px solid var(--border-color);
        padding-top: 0;
        padding-left: 16px;
        margin-left: 16px;
        flex: none;
        min-width: 200px;
    }

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

@media (max-width: 768px) {
    .sidebar {
        flex-direction: column;
    }

    .mini-summary {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 16px;
        margin-left: 0;
        margin-top: 16px;
        min-width: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    #action-buttons-mobile {
        display: flex;
    }

    .btn {
        width: 100%;
    }
}

.card-container {
    perspective: 1000px;
    width: 100%;
    height: auto;
}

.plan-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    min-height: 500px;
}

.plan-card.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.card-back {
    transform: rotateY(180deg);
    padding: 24px;
    display: none;
    height: max-content;
    justify-content: center;
    height: 615px;
}

.card-front {
    display: block;
}

.card-back-content {
    text-align: center;
    height: 526px;
    width: 100%;

}

.back-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    text-align: left;
    color: var(--gray);
    font-weight: 500;
}

.spec-value {
    text-align: right;
    color: var(--black);
    font-weight: 600;
}


.flip-back-btn {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}


.flip-back-btn::after {
    content: '';
    width: 12px;
    height: 2px;
    background-color: #666;
    transform: rotate(45deg);
    position: relative;
}

.flip-back-btn::before {
    content: '';
    width: 12px;
    height: 2px;
    background-color: #666;
    transform: rotate(-45deg);
    position: absolute;
}

.flip-back-btn:hover {
    border-color: #ccc;
    background-color: #fafafa;
}

.button-return {
    display: flex;
    justify-content: right;
    margin-bottom: 8px;
}

.remove-btn {
    background-color: transparent;
    border: none;
    color: var(--gray);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    margin-right: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:hover {
    border-color: #ffb399;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #FF4306;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 67, 6, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    /* text-align: center; */
    gap: 8px;
}

.checkbox-group .form-input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group .form-label {
    font-size: 14px;
    cursor: pointer;
    margin: 0px;
}

.whatsapp-link {
    text-decoration: none;
    display: block;
    color: #48535d;
}

.header-rodape {
    border-bottom: 2px solid var(--border-color) !important;
}

a.whatsapp-link:hover {
    color: var(--primary-color);
}

/* From Uiverse.io by vinodjangid07 */
.loader {
    margin-top: 30px;
    width: fill-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.truckWrapper {
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    overflow-x: hidden;
    border-bottom: 1px solid black;
}

/* truck upper body */
.truckBody {
    width: 130px;
    height: fit-content;
    margin-bottom: 6px;
    animation: motion 1s linear infinite;
}

/* truck suspension animation*/
@keyframes motion {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* truck's tires */
.truckTires {
    width: 130px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px 0px 15px;
    position: absolute;
    bottom: 0;
}

.truckTires svg {
    width: 24px;
}

.lampPost {
    position: absolute;
    bottom: 0;
    right: -90%;
    height: 90px;
    animation: roadAnimation 1.4s linear infinite;
}

@keyframes roadAnimation {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-350px);
    }
}

.privacy-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(4px);
    padding: 20px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease-out;
}

.privacy-modal.show {
    display: block;
}

.leaflet-ping {
    background: #ff4306;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    position: relative;
    box-shadow: 0 0 12px #ff4306;
    animation: pulse 1.5s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.4;
    }

    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-modal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.privacy-modal-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--black);
    margin: 0;
}

.privacy-modal-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

.privacy-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.privacy-btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.privacy-btn-primary:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 67, 6, 0.3);
}

.privacy-btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--border-color);
}

.privacy-btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.privacy-link {
    display: flex;
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding-top: 24px
}