:root {
    --navegalo-blue: #0066A1;
    --navegalo-blue-dark: #004f7c;
    --navegalo-blue-light: #0080c8;
    --navegalo-orange: #E98300;
    --navegalo-gray-light: #E0E1DD;
    --navegalo-gray: #616365;
    --navegalo-dark: #1D2731;
    --navegalo-white: #ffffff;
    --container-width: 1240px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--navegalo-dark);
    background: #f7f9fb;
}

a {
    color: var(--navegalo-blue);
}

/* Header */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e7ece9;
    position: sticky;
    top: 0;
    z-index: 9000;
}

.site-header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--navegalo-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.site-nav a:hover {
    color: var(--navegalo-blue);
}

.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
}

.language-switcher a {
    color: var(--navegalo-blue);
    text-decoration: none;
}

.language-switcher span {
    color: #9aa8a2;
}

/* Hero */

.hero {
    background: linear-gradient(135deg, var(--navegalo-blue-dark), var(--navegalo-blue), var(--navegalo-blue-light));
    color: #ffffff;
    padding-top: 110px;
    padding-bottom: 110px;
    padding-left: max(40px, calc((100vw - var(--container-width)) / 2 + 22px));
    padding-right: max(40px, calc((100vw - var(--container-width)) / 2 + 22px));
}

.hero p {
    max-width: 850px;
    font-size: 22px;
    line-height: 1.35;
}

.hero h1 {
    max-width: 1100px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
    margin: 24px 0;
}

.hero h2 {
    max-width: 1000px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.12;
}

.hero a,
.button,
.cta-button {
    display: inline-block;
    background: var(--navegalo-orange);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    border: none;
}

.hero a:hover,
.button:hover,
.cta-button:hover {
    background: #c96f00;
}

/* Main Content */

.content {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 40px;
    font-size: 18px;
    line-height: 1.55;
}

.content h2 {
    font-size: clamp(30px, 3vw, 44px);
    margin-top: 0;
    color: var(--navegalo-dark);
}

.content p {
    max-width: 980px;
}

.content ul {
    max-width: 980px;
}

/* Grid / Cards */

.grid {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 40px;
    display: grid;
    gap: 28px;
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards .full,
.grid .full {
    grid-column: 1 / -1;
    margin: 0 0 8px;
}

.cards article {
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--navegalo-blue);
}

.cards article h2,
.cards article h3 {
    color: var(--navegalo-dark);
    margin-top: 0;
}

.cards article a {
    font-weight: 800;
    text-decoration: none;
}

/* Product / Pricing Cards */

.cards article.price {
    max-width: 520px;
    width: 100%;
}

.cards article.price strong {
    color: var(--navegalo-dark);
}

.cards article.price ul {
    margin-top: 18px;
    margin-bottom: 24px;
}

.cards article.price li {
    margin-bottom: 6px;
}

.cards article.price .cta-button {
    margin-top: 8px;
}

.price {
    font-size: 17px;
    line-height: 1.45;
}

/* Footer */

.site-footer {
    background: var(--navegalo-dark);
    color: #ffffff;
    padding: 48px 22px 24px;
    margin-top: 60px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--navegalo-orange);
}

.site-footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer-logo img {
    height: 44px;
    width: auto;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
}

.site-footer h4 {
    margin: 0 0 12px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 9px;
    font-size: 14px;
}

.footer-contact {
    color: #d7e1dd;
    line-height: 1.6;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-links a {
    background: rgba(255,255,255,.1);
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.site-footer-bottom {
    max-width: var(--container-width);
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: #b9c8c2;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* AI Widget */

#navegalo-ai-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

#navegalo-ai-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--navegalo-blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

#navegalo-ai-panel {
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 520px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#navegalo-ai-header {
    background: var(--navegalo-blue);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navegalo-ai-close {
    background: transparent;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

#navegalo-ai-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f6f8f9;
}

.ai-message {
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.ai-message.assistant {
    background: #ffffff;
    color: var(--navegalo-dark);
}

.ai-message.user {
    background: var(--navegalo-orange);
    color: #ffffff;
    margin-left: 30px;
}

#navegalo-ai-form {
    padding: 12px;
    background: #fff;
    display: flex;
    gap: 8px;
}

#navegalo-ai-input {
    flex: 1;
    resize: none;
    height: 48px;
    border: 1px solid #d7ded9;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
}

#navegalo-ai-form button {
    background: var(--navegalo-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
}

/* Responsive */

@media(max-width: 900px) {
    .hero {
        padding: 80px 26px;
    }

    .content,
    .grid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        gap: 12px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
    }
}
.quote-builder-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
}

.quote-builder-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.quote-builder-card h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--navegalo-blue);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-grid div {
    display: flex;
    flex-direction: column;
}

.quote-builder-card label {
    font-weight: 700;
    margin-bottom: 8px;
}

.quote-builder-card input,
.quote-builder-card select,
.quote-builder-card textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d7ded9;
    border-radius: 10px;
    font-size: 15px;
}

.quote-builder-card textarea {
    margin-bottom: 25px;
}

.alert-success {
    background: #e8f7ef;
    color: #006b4f;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 25px;
}

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

    .quote-builder-card {
        padding: 25px;
    }
}
.quote-builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.quote-plan-groups {
    display: grid;
    gap: 22px;
    margin: 25px 0;
}

.quote-plan-group {
    border: 1px solid #e2e8e5;
    border-radius: 16px;
    padding: 22px;
    background: #fbfdff;
}

.quote-plan-group h3 {
    margin-top: 0;
    color: var(--navegalo-blue);
}

.quote-plan-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 15px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #e8eeee;
}

.quote-plan-option:first-of-type {
    border-top: none;
}

.quote-plan-option label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.quote-plan-option input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.quote-plan-qty {
    max-width: 90px;
}

.quote-summary-card {
    background: #ffffff;
    padding: 26px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    position: sticky;
    top: 110px;
}

.quote-summary-card h2 {
    margin-top: 0;
    color: var(--navegalo-blue);
}

.quote-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1ef;
    font-size: 14px;
}

.quote-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
    margin-top: 15px;
    border-top: 2px solid var(--navegalo-blue);
    font-size: 18px;
}

.quote-summary-total strong {
    color: var(--navegalo-blue);
}

.quote-summary-note {
    font-size: 13px;
    color: var(--navegalo-gray);
    line-height: 1.45;
}

@media(max-width: 1000px) {
    .quote-builder-layout {
        grid-template-columns: 1fr;
    }

    .quote-summary-card {
        position: static;
    }
}
.ai-chat-link {
    display: inline-block;
    margin-top: 8px;
    background: var(--navegalo-orange);
    color: #ffffff !important;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.ai-chat-link:hover {
    background: #c96f00;
}
#navegalo-ai-toggle {
    background: #0066b3;
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
}