/* ===== Viadireta - Estilos do Site ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2b2b2b;
    line-height: 1.6;
    background: #fff;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; pointer-events: none; }
a { color: #1668b3; text-decoration: none; }
a:hover { color: #0d3a6d; }

/* ===== Layout container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header / Nav ===== */
.topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 3px 3px;
    background: transparent;
    max-width: 100%;
    position: relative;
    isolation: isolate;
}
.topbar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(40% - 25px);
    background: rgba(0,0,0,0.22);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 25px 100%);
    z-index: -1;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.8);
    padding: 1px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.72rem;
    font-family: inherit;
    letter-spacing: 0.06em;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.lang-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 58, 109, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1300px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    transform: translateY(-10px);
}
.nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
}
.nav-link, .nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    transition: background 0.2s;
}
.nav-link:hover, .nav-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    background: #1668b3;
    padding: 8px 16px;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    font-size: 0.95rem;
    transition: background 0.15s;
}
.nav-cta:hover { background: #1d7ad1; color:#fff; }

.nav-myvd {
    align-self: stretch;
    display: flex;
    align-items: stretch;
    margin-top: -14px;
    margin-bottom: -14px;
    margin-left: 20px;
    margin-right: -20px;
}
.nav-myvd .nav-cta {
    padding: 0 24px;
    border-radius: 0;
    transition: background 0.15s;
}
.nav-myvd .nav-cta:hover { background: #fff; }
.nav-myvd .nav-cta img {
    height: 44px;
    width: auto;
    display: block;
    transition: filter 0.15s;
}
.nav-myvd .nav-cta:hover img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(70%) saturate(1000%) hue-rotate(190deg) brightness(85%);
}

/* Dropdowns */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 8px 0;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 0;
}
/* Dropdowns controlled by JS */
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #2b2b2b;
    font-size: 0.92rem;
}
.dropdown-menu a:hover { background: #f1f6fc; color: #0d3a6d; }

.lang-btn { background: rgba(255,255,255,0.1); }
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
}
.lang-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.lang-switcher .lang-btn:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.lang-switcher .lang-btn--active {
    background: rgba(255,255,255,0.22);
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 400px;
    background:
        linear-gradient(135deg, rgba(13,58,109,0.85), rgba(13,58,109,0.55)),
        linear-gradient(45deg, #6b7280, #94a3b8);
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(13,58,109,0) 0%, rgba(13,58,109,0.82) 100%);
    z-index: 1;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 24s infinite;
    z-index: 0;
}
.hero-slide:nth-child(1) { animation-delay:  0s; }
.hero-slide:nth-child(2) { animation-delay:  6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade {
    0%     { opacity: 0; }
    4.17%  { opacity: 1; }
    25%    { opacity: 1; }
    29.17% { opacity: 0; }
    100%   { opacity: 0; }
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 40px;
    align-items: center;
    padding: 40px 20px 50px;
    max-width: 1300px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 18px;
}
.hero h1 strong { font-weight: 800; }
.hero .tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 480px;
}

/* Quote form */
.quote-form {
    background: rgba(30, 41, 59, 0.92);
    padding: 28px;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.quote-form h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block;
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    background: #fff;
    color: #1f2937;
}
.form-field input,
.form-field select {
    height: 42px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1668b3;
    box-shadow: 0 0 0 3px rgba(22,104,179,0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #1668b3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.2s;
    font-size: 0.95rem;
}
.btn:hover { background: #1d7ad1; color: #fff; }
.btn-block { width: 100%; }
.btn-outline {
    background: transparent;
    border: 2px solid #1668b3;
    color: #1668b3;
}
.btn-outline:hover { background: #1668b3; color: #fff; }

/* ===== Tracking bar ===== */
.tracking-bar {
    background: #1668b3;
    color: #fff;
    padding: 22px 20px;
}
.tracking-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.tracking-bar h3 { font-size: 1.15rem; font-weight: 600; }
.tracking-bar form { display: flex; gap: 8px; flex: 1; max-width: 600px; }
.tracking-bar input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
}
.tracking-bar .btn { background: #0d3a6d; }
.tracking-bar .btn:hover { background: #082a55; }

/* ===== Sections ===== */
section { padding: 70px 0; }
.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #0d3a6d;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== How it works ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
    padding: 20px;
}
.step-icon {
    width: 80px; height: 80px;
    margin: 0 auto 16px;
    background: #1668b3;
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 2rem;
}
.step-icon svg {
    width: 38px; height: 38px;
}
.step h4 {
    font-size: 1rem;
    color: #0d3a6d;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.step p { color: #6b7280; font-size: 0.92rem; }

/* ===== Services CTA ===== */
.services-cta {
    background: linear-gradient(135deg, #0d3a6d, #1668b3);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.services-cta-inner {
    display: flex;
    align-items: center;
    gap: 52px;
}
.services-cta-img {
    flex-shrink: 0;
    width: 440px;
}
.services-cta-img img {
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.services-cta-text {
    flex: 1;
}
.services-cta h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 8px;
}
.services-cta h2 strong { font-weight: 700; }
.services-cta .btn {
    margin-top: 20px;
    background: #fff;
    color: #0d3a6d;
}
.services-cta .btn:hover { background: #f1f6fc; }
@media (max-width: 860px) {
    .services-cta-inner { flex-direction: column; text-align: center; }
    .services-cta-img { width: 100%; max-width: 420px; }
}

/* ===== Services table ===== */
.services-section { background: #f8fafc; }
.services-grid {
    display: grid;
    grid-template-columns: 220px repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.services-grid > div { padding: 14px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 0.9rem; }
.services-grid .label { background: #f1f6fc; font-weight: 600; color: #0d3a6d; justify-content: flex-start; text-align: left; }
.services-grid .head {
    background: #0d3a6d;
    color: #fff;
    flex-direction: column;
    padding: 22px 14px;
    border-bottom: 2px solid #1668b3;
}
.services-grid .head a { color: #fff; font-weight: 700; }
.services-grid .head .svc-icon {
    width: 50px; height: 50px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.4rem;
}
.services-grid .head .svc-icon svg {
    width: 26px; height: 26px;
}

/* ===== Banner ===== */
.banner-bottom {
    background: #0d3a6d;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* ===== Page header (interior pages) ===== */
.page-header {
    background: linear-gradient(135deg, #0d3a6d, #1668b3);
    color: #fff;
    padding: 25px 20px 20px;
    text-align: center;
}
.page-header h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.page-header p { font-size: 1.1rem; opacity: 0.92; }

/* ===== Legal pages ===== */
.legal-area { padding: 40px 20px 60px; }
.legal-area:has(.cg-layout) { padding: 0; }
.legal-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #0d3a6d;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.legal-tab {
    padding: 10px 20px;
    color: #0d3a6d;
    font-weight: 600;
    font-size: 0.92rem;
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    display: inline-block;
}
.legal-tab:hover { background: #f1f6fc; color: #0d3a6d; }
.legal-tab.active {
    background: #0d3a6d;
    color: #fff;
    border-color: #0d3a6d;
}
.legal-content h3 { color: #0d3a6d; margin: 28px 0 10px; font-size: 1.1rem; font-weight: 700; scroll-margin-top: 120px; }
.legal-content h4 { color: #1668b3; margin: 18px 0 8px; font-size: 1rem; font-weight: 600; }
.legal-content p { margin-bottom: 14px; color: #374151; line-height: 1.75; }
.legal-content ul { margin: 8px 0 16px 22px; color: #374151; }
.legal-content ul li { margin-bottom: 6px; line-height: 1.7; }
.legal-content a { color: #1668b3; text-decoration: underline; }
.legal-content a:hover { color: #0d3a6d; }

/* Condições Gerais — sidebar layout */
.cg-layout {
    display: flex;
    align-items: stretch;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.cg-sidebar {
    flex: 0 0 210px;
}
.cg-index {
    position: sticky;
    top: 110px;
}
.cg-index-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
    margin: 0 0 10px;
}
.cg-index-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cg-index-list li {
    margin-bottom: 0;
}
.cg-index-list a {
    display: block;
    padding: 7px 12px 7px 14px;
    font-size: 0.875rem;
    color: #374151;
    border-left: 2px solid #e5e7eb;
    text-decoration: none;
    transition: color .15s, border-color .15s;
    line-height: 1.4;
}
.cg-index-list a:hover {
    color: #1668b3;
    border-left-color: #1668b3;
}
.cg-layout .legal-content {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}
@media (max-width: 768px) {
    .cg-layout { flex-direction: column; padding: 24px 16px 40px; }
    .cg-sidebar { flex: none; width: 100%; }
    .cg-index { position: static; }
    .cg-index-list { columns: 2; column-gap: 20px; }
}
@media (max-width: 480px) {
    .cg-index-list { columns: 1; }
}


.content { padding: 30px 20px; }
.content h2 { color: #0d3a6d; margin-bottom: 16px; font-size: 1.6rem; }
.content h3 { color: #1668b3; margin: 24px 0 12px; }
.content p { margin-bottom: 14px; color: #4b5563; }
.content ul { margin: 12px 0 16px 24px; color: #4b5563; }
.content ul li { margin-bottom: 6px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }

/* ===== Empresa / Sobre Nós ===== */
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-two-col-rev { direction: rtl; }
.about-two-col-rev > * { direction: ltr; }
.about-img-wrap { overflow: hidden; border-radius: 8px; }
.about-img { width: 100%; height: auto; display: block; border-radius: 8px; object-fit: cover; }

.about-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0d3a6d;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.about-historia { padding: 56px 20px; background: #fff; }
.about-historia-text p { margin-bottom: 14px; color: #374151; line-height: 1.75; }

.about-quote-section { padding: 56px 20px; background: #f4f8fd; }
.about-quote-wrap { display: flex; flex-direction: column; justify-content: center; }
.about-quote {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d3a6d;
    line-height: 1.6;
    border-left: 4px solid #1668b3;
    padding-left: 20px;
    margin: 0 0 28px 0;
    font-style: italic;
}
.about-cta-btn {
    display: inline-block;
    background: #0d3a6d;
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.18s;
    align-self: flex-start;
}
.about-cta-btn:hover { background: #1668b3; color: #fff; }

.about-mv-section { padding: 56px 20px; background: #0d3a6d; }
.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.about-mv-card { color: #fff; display: flex; flex-direction: column; }
.about-mv-icon {
    width: 76px;
    height: 76px;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #fff;
    flex-shrink: 0;
}
.about-mv-icon svg { width: 42px; height: 42px; }
.about-mv-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #fff;
}
.about-mv-card p { line-height: 1.75; opacity: 0.9; }

.about-valores-section { padding: 60px 20px; background: #fff; }
.about-valores-sub {
    text-align: center;
    color: #4b5563;
    margin-bottom: 40px;
    font-size: 1rem;
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.valor-card {
    background: #f4f8fd;
    border-radius: 8px;
    padding: 28px 24px;
    border-top: 4px solid #1668b3;
}
.valor-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #1668b3;
}
.valor-icon svg { width: 28px; height: 28px; }
.valor-card h3 {
    color: #0d3a6d;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.valor-card p { color: #374151; font-size: 0.93rem; line-height: 1.7; }

.about-join-section {
    padding: 48px 20px;
    background: #f4f8fd;
}
.about-join-text {
    font-size: 1.1rem;
    color: #0d3a6d;
    margin-bottom: 24px;
    line-height: 1.6;
}
.about-join-btn {
    display: inline-block;
    background: #0d3a6d;
    color: #fff;
    padding: 13px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.18s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.about-join-btn:hover { background: #1668b3; color: #fff; }

/* ===== Candidatura Modal ===== */
.cand-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 16px;
}
.cand-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.cand-dialog {
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 1060px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    overflow: hidden;
}
.cand-header {
    background: #1a5fa8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.cand-header h2 { font-size: 1.15rem; font-weight: 600; margin: 0; color: #fff; }
.cand-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: 0.85;
    transition: opacity 0.15s;
}
.cand-close:hover { opacity: 1; }
.cand-body { padding: 28px 28px 24px; }
.cand-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-weight: 600;
}
.cand-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.cand-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.cand-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.cand-field { display: flex; flex-direction: column; gap: 5px; }
.cand-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}
.cand-field .req { color: #e53e3e; }
.cand-field small { font-weight: 400; color: #6b7280; }
.cand-field input[type="text"],
.cand-field input[type="email"],
.cand-field input[type="tel"],
.cand-field input[type="date"],
.cand-field select,
.cand-field textarea {
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 0 10px;
    height: 34px;
    line-height: 34px;
    font-size: 0.9rem;
    color: #111827;
    background: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.cand-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}
.cand-field input:focus,
.cand-field select:focus,
.cand-field textarea:focus { border-color: #1a5fa8; }
.cand-field textarea { resize: vertical; min-height: 90px; height: auto; line-height: 1.5; padding: 8px 10px; }
.cand-file-wrap { display: flex; gap: 0; }
.cand-file-name {
    flex: 1;
    border-radius: 3px 0 0 3px !important;
    cursor: default;
    background: #f9fafb !important;
    height: 34px;
    line-height: 34px;
    padding: 0 10px;
    box-sizing: border-box;
}
.cand-file-btn {
    background: #1a5fa8;
    color: #fff !important;
    border: none;
    padding: 0 14px;
    height: 34px;
    line-height: 34px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
}
.cand-file-btn:hover { background: #0d3a6d; }
.cand-consent {
    margin-top: 18px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 4px;
}
.cand-check-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}
.cand-check-label input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.cand-check-label span { font-size: 0.8rem; color: #374151; line-height: 1.5; }
.cand-submit-btn {
    background: #1a5fa8;
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.18s;
}
.cand-submit-btn:hover { background: #0d3a6d; }
@media (max-width: 900px) {
    .cand-grid-4 { grid-template-columns: 1fr 1fr; }
    .cand-grid-3 { grid-template-columns: 1fr 1fr; }
    .cand-grid-2 { grid-template-columns: 1fr; }
    .cand-body { padding: 20px 16px; }
}
@media (max-width: 540px) {
    .cand-grid-4 { grid-template-columns: 1fr; }
    .cand-grid-3 { grid-template-columns: 1fr; }
}

/* ===== Tracking Action Buttons ===== */
.trk-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}
.trk-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: none;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.07em;
    cursor: pointer;
    color: #fff;
    width: 100%;
    font-family: inherit;
    transition: background 0.18s;
}
.trk-action-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.trk-action-btn-info { background: #1668b3; }
.trk-action-btn-info:hover { background: #1d7ad1; }
.trk-action-btn-alt  { background: #0d3a6d; }
.trk-action-btn-alt:hover  { background: #0a2f5a; }

/* ===== Custom Date Picker ===== */
.dp-wrap { position: relative; width: 100%; }
.dp-display { width: 100% !important; box-sizing: border-box !important; cursor: pointer !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230d3a6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 10px center !important; padding-right: 36px !important; }
.dp-cal { position: absolute; z-index: 9000; background: #fff; border: 1px solid #dde1e7; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,0.18); width: 294px; padding: 14px; top: calc(100% + 4px); left: 0; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-head-btn { background: none; border: none; cursor: pointer; color: #0d3a6d; font-size: 1.4rem; padding: 2px 10px; border-radius: 4px; line-height: 1; transition: background 0.12s; }
.dp-head-btn:hover { background: #e8f0fb; }
.dp-head-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.dp-clear-btn { position: absolute; right: 1px; top: 1px; width: 34px; height: 32px; background: #fff; border: none; border-radius: 0 3px 3px 0; cursor: pointer; color: #9ca3af; font-size: 1.2rem; line-height: 1; padding: 0; display: none; align-items: center; justify-content: center; z-index: 2; }
.dp-clear-btn:hover { color: #e53e3e; }
.dp-month-label { font-weight: 600; color: #0d3a6d; font-size: 0.9rem; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow { text-align: center; font-size: 0.68rem; font-weight: 700; color: #9ca3af; padding: 2px 0 7px; text-transform: uppercase; }
.dp-dow.dp-wknd { color: #f87171; }
.dp-day { text-align: center; padding: 7px 2px; font-size: 0.82rem; border-radius: 4px; cursor: pointer; color: #1f2937; transition: background 0.1s, color 0.1s; line-height: 1; }
.dp-day:hover:not(.dp-off):not(.dp-empty) { background: #dbeafe; color: #1668b3; }
.dp-day.dp-sel { background: #0d3a6d !important; color: #fff !important; font-weight: 700; }
.dp-day.dp-today:not(.dp-sel) { color: #1668b3; font-weight: 700; }
.dp-day.dp-off { color: #d1d5db; cursor: default; text-decoration: line-through; font-size: 0.76rem; }
.dp-day.dp-empty { cursor: default; }
.dp-day[data-tip] { position: relative; overflow: visible; }
.dp-day[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #0d3a6d;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 9010;
    pointer-events: none;
}
.dp-day[data-tip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #0d3a6d;
    z-index: 9010;
    pointer-events: none;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-top: 4px solid #1668b3;
}
.card h3 { color: #0d3a6d; margin-bottom: 10px; }

/* Contact info grid */
.contact-tracking-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #1668b3;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 0.95rem;
    color: #1e3a5f;
    flex-wrap: wrap;
}
.contact-tracking-notice svg { width: 28px; height: 28px; color: #1668b3; flex-shrink: 0; }
.contact-tracking-notice > div { flex: 1; min-width: 200px; line-height: 1.5; }
.contact-tracking-notice strong { display: block; color: #0d3a6d; font-weight: 700; margin-bottom: 2px; }
.contact-tracking-btn {
    display: inline-block;
    background: #1668b3;
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.contact-tracking-btn:hover { background: #0d3a6d; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.info-item .icon {
    width: 44px; height: 44px;
    background: #1668b3;
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.info-item .icon svg { width: 20px; height: 20px; display: block; }
.info-item strong { display: block; color: #0d3a6d; }
.info-item a { color: #4b5563; }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 4px; }

/* Forms (light) */
.form-light .form-field label { color: #374151; font-weight: 500; }
.form-light .form-field input,
.form-light .form-field select,
.form-light .form-field textarea {
    background: #f9fafb;
}

/* FAQ */
.faq-item {
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1668b3;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
}
.faq-item summary {
    padding: 16px 44px 16px 20px;
    font-weight: 600;
    font-size: 0.97rem;
    color: #0d3a6d;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: #1668b3;
    line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: #f4f8fd; }
.faq-answer {
    padding: 4px 20px 18px 20px;
    color: #374151;
    line-height: 1.75;
    border-top: 1px solid #f3f4f6;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 8px 0 10px 20px; }
.faq-answer ul li { margin-bottom: 4px; }

/* ===== Serviços page ===== */
.service-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service-card { display: flex; flex-direction: column; }
.service-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: #1668b3;
}
.service-card-icon svg { width: 100%; height: 100%; }
.service-card-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0d3a6d;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}
.service-card-name span { color: #1668b3; }
.service-bullets { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.service-bullets li {
    padding: 6px 0 6px 18px;
    position: relative;
    font-size: 0.9rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}
.service-bullets li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #1668b3;
    font-weight: 700;
}
/* ===== Individual servico page ===== */
.servico-body p { font-size: 1.05rem; line-height: 1.75; color: #374151; margin-bottom: 16px; }
.servico-label {
    display: inline-block;
    background: #e8f0fb;
    color: #1668b3;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.servico-info-card { border-top: 4px solid #1668b3; }
.servico-info-card h3 { color: #0d3a6d; margin-bottom: 20px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.servico-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.servico-dl dt { font-weight: 700; color: #0d3a6d; white-space: nowrap; }
.servico-dl dd { color: #374151; margin: 0; }

.complementary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.comp-item {
    background: #fff;
    border-radius: 6px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid #1668b3;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.comp-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #1668b3;
    margin-top: 2px;
}
.comp-icon svg { width: 100%; height: 100%; }
.comp-item > div + div { flex: 1; }
.comp-item strong { display: block; color: #0d3a6d; margin-bottom: 4px; font-size: 0.95rem; }
.comp-item p { font-size: 0.88rem; color: #6b7280; margin: 0; line-height: 1.5; }

/* ===== Mercados page ===== */
.mercados-intro {
    max-width: 1040px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 518px 1fr;
    gap: 34px;
    align-items: center;
}
.mercados-intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.mercados-how { list-style: none; padding: 0; margin: 16px 0 0; }
.mercados-how li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.97rem;
}
.mercados-how li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1668b3;
    font-weight: 700;
}
.market-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.market-card { text-align: center; }
.market-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    border-radius: 18px;
    margin: 0 auto 22px;
    color: #1668b3;
}
.market-icon svg { width: 38px; height: 38px; flex-shrink: 0; }

@media (max-width: 900px) {
    .mercados-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mercados-intro-image {
        max-width: 662px;
        margin: 0 auto;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: #0a2545;
    color: #cbd5e1;
    padding: 0 20px 20px;
    position: relative;
}
.footer-track-strip {
    --footer-track-h: 78px;
    background: #0f4f81;
    margin: 0 -20px;
    margin-top: -1px;
    min-height: var(--footer-track-h);
    position: relative;
    overflow: hidden;
}
.footer-track-strip::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 44%;
    height: 100%;
    background: #0a2545;
    clip-path: polygon(0 0, calc(100% - var(--footer-track-h)) 0, 100% 100%, 0 100%);
}
.footer-track-inner {
    max-width: 1300px;
    margin: 0 auto;
    min-height: var(--footer-track-h);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}
.footer-track-form {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-track-form label {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
}
.footer-track-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-track-controls input {
    width: 300px;
    height: 42px;
    padding: 0 14px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #1f2937;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.footer-track-controls input::placeholder { color: #6b7280; }
.footer-track-controls button {
    height: 42px;
    padding: 0 22px;
    border: none;
    border-radius: 4px;
    background: #0d3a6d;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: inherit;
    cursor: pointer;
}
.footer-track-controls button:hover { background: #082a55; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto 30px;
    padding-top: 38px;
}
.footer-col h5 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #cbd5e1; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-contacts .contact-line {
    display: flex; gap: 12px; margin-bottom: 14px;
    align-items: flex-start;
}
.footer-contacts .contact-line svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #93c5fd; }
.contact-line-text { display: flex; flex-direction: column; gap: 2px; }
.contact-line-text strong { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-line-text a { color: #cbd5e1; font-size: 0.88rem; }
.contact-line-text a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
}
.social a svg { width: 17px; height: 17px; }
.social a:hover { background: #1668b3; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    max-width: 1300px;
    margin: 0 auto;
}
.footer-bottom button {
    font-size: 0.85rem;
    font-family: inherit;
    line-height: inherit;
}

/* ===== Tracking Timeline ===== */
.tracking-status-card {
    background: linear-gradient(135deg, #0d3a6d 0%, #1668b3 100%);
    border-radius: 10px;
    padding: 24px 28px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    box-shadow: 0 6px 24px rgba(13,58,109,0.2);
}
.ts-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    line-height: 1;
}
.ts-icon svg { width: 26px; height: 26px; display: block; }
.ts-icon.ts-success   { background: #10b981; color: #fff; }
.ts-icon.ts-transit   { background: rgba(255,255,255,0.18); color: #fff; }
.ts-icon.ts-other     { background: rgba(255,255,255,0.1); color: #fff; }
.ts-icon.ts-error     { background: #ef4444; color: #fff; }
.ts-icon.ts-warehouse { background: #f97316; color: #fff; }
.ts-icon.ts-purple    { background: #9333ea; color: #fff; }
.ts-meta { flex: 1; min-width: 0; }
.ts-cod   { font-size: 0.8rem; opacity: 0.65; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 4px; }
.ts-label { font-size: 1.2rem; font-weight: 700; }
.ts-date  { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }
.ts-note  { font-size: 0.82rem; opacity: 0.8; margin-top: 6px; font-style: italic; }

.tracking-timeline { margin-top: 4px; }
.tl-item {
    display: flex;
    gap: 16px;
    position: relative;
}
.tl-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    width: 2px;
    bottom: 0;
    background: #e5e7eb;
}
.tl-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.tl-dot svg { width: 18px; height: 18px; display: block; }
.tl-dot.tl-success   { background: #d1fae5; color: #059669; border: 2px solid #6ee7b7; }
.tl-dot.tl-transit   { background: #dbeafe; color: #1d4ed8; border: 2px solid #93c5fd; }
.tl-dot.tl-other     { background: #f3f4f6; color: #6b7280; border: 2px solid #d1d5db; }
.tl-dot.tl-error     { background: #fee2e2; color: #dc2626; border: 2px solid #fca5a5; }
.tl-dot.tl-warehouse { background: #fff7ed; color: #c2410c; border: 2px solid #fdba74; }
.tl-dot.tl-purple    { background: #f3e8ff; color: #7e22ce; border: 2px solid #d8b4fe; }
.tl-body {
    padding: 8px 0 28px;
    flex: 1;
}
.tl-item:last-child .tl-body { padding-bottom: 0; }
.tl-time { font-size: 0.78rem; color: #9ca3af; margin-bottom: 4px; letter-spacing: 0.3px; }
.tl-desc { font-weight: 600; color: #1f2937; font-size: 0.95rem; }
.tl-item:first-child .tl-desc { color: #065f46; }
[data-tl-state="tl-warehouse"] .tl-item:first-child .tl-desc { color: #c2410c; }
[data-tl-state="tl-transit"]   .tl-item:first-child .tl-desc { color: #1d4ed8; }
[data-tl-state="tl-error"]     .tl-item:first-child .tl-desc { color: #b91c1c; }
[data-tl-state="tl-other"]     .tl-item:first-child .tl-desc { color: #374151; }
[data-tl-state="tl-purple"]    .tl-item:first-child .tl-desc { color: #7e22ce; }

/* ===== Cards expansíveis - serviços ===== */
.expandable-card {
    position: relative;
    overflow: hidden;
}
.card-details-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #0f4a8a 0%, #0d3a6d 100%);
    color: #fff;
    z-index: 10;
    transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-details-panel.open {
    height: 100%;
}
.card-details-content {
    padding: 22px 20px 16px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s 0.15s, transform 0.2s 0.15s;
}
.card-details-panel.open .card-details-content {
    opacity: 1;
    transform: translateY(0);
}
.card-details-content .servico-label {
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 4px;
    display: inline-block;
}
.card-details-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    margin: 0;
}
.card-details-content .btn {
    padding: 7px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    text-align: center;
}
.card-details-content small {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
}
.card-details-content .servico-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 12px;
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 10px;
}
.card-details-content .servico-dl dt {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}
.card-details-content .servico-dl dd {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; padding: 50px 20px; }
    .hero h1 { font-size: 2.4rem; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid .label { justify-content: center; }
    .two-col, .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-track-strip { --footer-track-h: 110px; min-height: var(--footer-track-h); }
    .footer-track-strip::before { width: 58%; }
    .footer-track-inner { min-height: var(--footer-track-h); justify-content: center; }
    .footer-track-form { flex-direction: column; align-items: flex-start; gap: 8px; width: min(100%, 520px); }
    .footer-track-form label { font-size: 1.5rem; }
    .footer-track-controls { width: 100%; }
    .footer-track-controls input { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .nav ul { display: none; }
    .nav .mobile-toggle { display: block; }
    .nav.open ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #0d3a6d; padding: 16px; }
    .dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,0.05); }
    .dropdown-menu a { color: #fff; }
    /* About page */
    .about-two-col { grid-template-columns: 1fr; gap: 32px; }
    .about-two-col-rev { direction: ltr; }
    .about-mv-grid { grid-template-columns: 1fr; gap: 32px; }
    .valores-grid { grid-template-columns: 1fr 1fr; }
    .legal-tabs { gap: 4px; }
}
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}
@media (max-width: 900px) {
    .mobile-toggle { display: block; }
}

/* ===== E-commerce page ===== */
.ec-intro-section { padding: 60px 0; }
.ec-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.ec-intro-text h2 {
    font-size: 1.6rem;
    color: #0d3a6d;
    margin-bottom: 18px;
    line-height: 1.35;
}
.ec-intro-text p {
    color: #444;
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.6;
}
.ec-client-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
}
.ec-client-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: filter 0.2s, opacity 0.2s;
}
.ec-client-logo:hover { filter: grayscale(0%); opacity: 1; }
.ec-intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(13,58,109,0.13);
    display: block;
}

/* Integrations section */
.ec-integrations-section { padding: 60px 0; }
.ec-integrations-title {
    text-align: center;
    color: #0d3a6d;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
    letter-spacing: 0.01em;
}
.ec-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.ec-brand-item {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 10px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.ec-brand-item:hover {
    box-shadow: 0 4px 18px rgba(22,104,179,0.13);
    border-color: #1668b3;
}
.ec-brand-item img {
    height: 40px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}
.ec-brand-item span {
    font-size: 0.78rem;
    color: #555;
    text-align: center;
    font-weight: 500;
}

/* Responsive ecommerce */
@media (max-width: 900px) {
    .ec-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .ec-intro-image { order: -1; }
    .ec-brands-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .ec-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .ec-integrations-title { font-size: 1.05rem; }
}

/* ===== Cookie consent banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d3a6d;
    color: #fff;
    z-index: 9998;
    padding: 18px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.28);
    animation: cookieSlideUp 0.35s ease;
}
.cookie-banner-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
    min-width: 220px;
}
.cookie-banner-text svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.85;
}
.cookie-banner-text p { margin: 0; }
.cookie-banner-text a { color: #93c5fd; text-decoration: underline; }
.cookie-banner-text a:hover { color: #dbeafe; }
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}
.cookie-banner-actions .btn {
    padding: 9px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.cookie-btn-essential {
    display: inline-block;
    padding: 9px 20px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.cookie-btn-essential:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.75);
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@media (max-width: 640px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn,
    .cookie-btn-essential { flex: 1; text-align: center; }
}

/* ============================================================
   API DOCUMENTATION PAGE
   ============================================================ */
.api-docs-section { padding: 40px 0 80px; }
.api-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}
.api-sidebar { position: sticky; top: 110px; }
.api-nav h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin: 0 0 10px;
    font-weight: 700;
}
.api-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #e5e7eb;
}
.api-nav ul li a {
    display: block;
    padding: 7px 14px;
    color: #374151;
    text-decoration: none;
    font-size: 0.88rem;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: color .15s, border-color .15s;
}
.api-nav ul li a:hover { color: #1668b3; border-left-color: #1668b3; }
.api-intro {
    background: #f0f6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 40px;
}
.api-intro p  { margin: 0 0 10px; color: #1e3a5f; }
.api-intro ul { margin: 0; padding-left: 20px; color: #1e3a5f; line-height: 1.8; }
.api-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.api-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.api-badge-https  { background: #d1fae5; color: #065f46; }
.api-badge-oauth  { background: #e0e7ff; color: #3730a3; }
.api-badge-bearer { background: #fef3c7; color: #92400e; }
.api-section { margin-bottom: 64px; scroll-margin-top: 120px; }
.api-section h2 {
    font-size: 1.25rem;
    color: #0d3a6d;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}
.api-section h3 { font-size: 0.95rem; color: #374151; margin: 24px 0 10px; font-weight: 700; }
.api-content-type { font-size: 0.83rem; color: #6b7280; margin-bottom: 12px; }
.api-content-type code { background: #f1f5f9; padding: 2px 7px; border-radius: 4px; color: #0d3a6d; font-size: 0.82rem; }
.api-endpoint-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #1e293b;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 18px;
    overflow-x: auto;
}
.api-method {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
    flex-shrink: 0;
}
.api-method-get  { background: #bbf7d0; color: #14532d; }
.api-method-post { background: #bfdbfe; color: #1e3a5f; }
.api-endpoint-url { color: #e2e8f0; font-family: monospace; font-size: 0.86rem; word-break: break-all; }
.api-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.87rem; }
.api-table th {
    background: #f1f5f9;
    padding: 9px 14px;
    text-align: left;
    color: #475569;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}
.api-table td { padding: 9px 14px; border-bottom: 1px solid #f1f5f9; color: #374151; vertical-align: top; }
.api-table tr:last-child td { border-bottom: none; }
.api-table code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 0.81rem; color: #0d3a6d; }
.api-details {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 24px;
    background: #fafafa;
}
.api-details summary {
    cursor: pointer;
    font-size: 0.87rem;
    color: #475569;
    font-weight: 600;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.api-details summary::before { content: "▶"; font-size: 0.7rem; color: #1668b3; transition: transform .15s; }
.api-details[open] summary::before { transform: rotate(90deg); }
.api-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.87rem;
    color: #78350f;
    margin: 16px 0;
}
.api-tabs { margin-top: 20px; }
.api-tab-btns {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 0;
    gap: 0;
}
.api-tab-btn {
    padding: 9px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 600;
    color: #6b7280;
    transition: color .15s, border-color .15s;
}
.api-tab-btn:hover  { color: #1668b3; }
.api-tab-btn.active { color: #1668b3; border-bottom-color: #1668b3; }
.api-tab-pane { display: none; }
.api-tab-pane.active { display: block; }
.api-tab-pane pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 22px 24px;
    border-radius: 0 0 8px 8px;
    overflow-x: auto;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
}
.api-tab-pane pre code { font-family: 'Consolas','Monaco','Courier New',monospace; background: none; padding: 0; color: inherit; }
/* API CTA on ecommerce page */
.api-cta-block {
    background: linear-gradient(135deg, #0d3a6d 0%, #1668b3 100%);
    border-radius: 12px;
    padding: 36px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.api-cta-block h3 { color: #fff; font-size: 1.15rem; margin: 0 0 8px; }
.api-cta-block p  { color: rgba(255,255,255,.82); margin: 0; font-size: 0.95rem; }
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
    flex-shrink: 0;
    white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
/* API responsive */
@media (max-width: 900px) {
    .api-layout { grid-template-columns: 1fr; }
    .api-sidebar { position: static; }
    .api-cta-block { flex-direction: column; align-items: flex-start; }
    .api-tab-btn { padding: 8px 12px; font-size: 0.82rem; }
}

/* ============================================================
   App Estafetas Page
   ============================================================ */
.estafetas-section { background: #f4f8fd; }
.estafetas-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 60px;
}
.estafetas-sidebar { position: sticky; top: 110px; }
.estafetas-nav h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
    margin: 0 0 10px;
}
.estafetas-nav ul { list-style: none; padding: 0; margin: 0; }
.estafetas-nav ul li a {
    display: block;
    padding: 7px 12px 7px 14px;
    font-size: 0.875rem;
    color: #374151;
    border-left: 2px solid #e5e7eb;
    text-decoration: none;
    transition: color .15s, border-color .15s;
    line-height: 1.4;
}
.estafetas-nav ul li a:hover { color: #1668b3; border-left-color: #1668b3; }
.estafetas-main { min-width: 0; }
.estafetas-block {
    background: #fff;
    border-radius: 10px;
    padding: 32px 36px;
    margin-bottom: 28px;
    scroll-margin-top: 120px;
}
.estafetas-block h2 {
    font-size: 1.2rem;
    color: #0d3a6d;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
.estafetas-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
.estafetas-block-header h2 {
    margin: 0;
    padding: 0;
    border: none;
}
.estafetas-block a { color: #1668b3; }
.estafetas-block a.btn,
.estafetas-block a.btn:hover { color: #fff; }
.estafetas-screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 20px 0;
}
.estafetas-screenshots img {
    max-width: 260px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
}
.estafetas-screenshots--wide img { max-width: 100%; }
.estafetas-screenshots--narrow img { max-width: 220px; }
.estafetas-download-btn { font-size: 1rem; padding: 13px 32px; white-space: nowrap; }
.estafetas-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
    color: #374151;
    font-size: 0.93rem;
    line-height: 1.7;
}
.estafetas-note ul { margin: 8px 0 0 18px; padding: 0; }
.estafetas-note ul li { margin-bottom: 6px; }

@media (max-width: 900px) {
    .estafetas-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
    .estafetas-sidebar { position: static; }
    .estafetas-block { padding: 22px 18px; }
    .estafetas-screenshots img { max-width: 200px; }
    .estafetas-screenshots--wide img { max-width: 100%; }
    .estafetas-screenshots--narrow img { max-width: 180px; }
}

/* ============================================================
   Site Parceiros — numbered list & sublist
   ============================================================ */
.parceiros-list {
    margin: 20px 0 0;
    padding-left: 22px;
    list-style: decimal;
}
.parceiros-list > li {
    margin-bottom: 18px;
    color: #374151;
    line-height: 1.75;
    font-size: 0.97rem;
}
.parceiros-list > li:last-child { margin-bottom: 0; }
.parceiros-sublist {
    margin: 8px 0 0 18px;
    padding: 0;
    list-style: disc;
}
.parceiros-sublist li {
    margin-bottom: 4px;
    color: #374151;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ============================================================
   Lightbox (imagens --wide clicáveis)
   ============================================================ */
.estafetas-screenshots--wide {
    display: block;
}
.estafetas-screenshots--wide img.is-zoomable {
    cursor: zoom-in;
    pointer-events: auto;
}
.lightbox-caption {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
    margin-top: 6px;
    letter-spacing: 0.01em;
}
#vd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
    box-sizing: border-box;
}
#vd-lightbox.open { display: flex; }
#vd-lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    cursor: default;
    display: block;
}
#vd-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#vd-lightbox-close:hover { background: rgba(255,255,255,0.3); }
