:root {
    --cv-red: #BF0811;
    --cv-red-dark: #8e060d;
    --cv-red-hover: #d9101a;
    --cv-dark: #1c222c;
    --cv-dark-2: #262c36;
    --cv-muted: #5c6573;
    --cv-bg: #f4f6f8;
    --cv-line: #e4e7ec;
    --cv-white: #ffffff;
    --cv-shadow: 0 12px 40px rgba(28, 34, 44, 0.08);
    --cv-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    color: var(--cv-dark);
    background: var(--cv-white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--cv-red);
    text-decoration: none;
}

a:hover {
    color: var(--cv-red-hover);
}

.btn-cv-primary,
.btn-cv-outline,
.btn-cv-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;
    padding: 11px 22px;
    border: 2px solid transparent;
    transition: 0.2s ease;
}

.btn-cv-primary {
    background: var(--cv-red);
    color: #fff;
}

.btn-cv-primary:hover {
    background: var(--cv-red-dark);
    color: #fff;
}

.btn-cv-outline {
    background: transparent;
    color: var(--cv-dark);
    border-color: var(--cv-line);
}

.btn-cv-outline:hover {
    border-color: var(--cv-red);
    color: var(--cv-red);
}

.btn-cv-light {
    background: #fff;
    color: var(--cv-dark);
}

.btn-cv-light:hover {
    background: #fff4f4;
    color: var(--cv-red);
}

.cv-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 1px 0 var(--cv-line);
}

.cv-topbar {
    background: var(--cv-dark);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    padding: 8px 0;
}

.cv-topbar-info {
    display: flex;
    gap: 22px;
}

.cv-topbar a,
.cv-topbar span {
    color: inherit;
}

.cv-topbar a:hover {
    color: #fff;
}

.cv-topbar i {
    color: var(--cv-red);
    margin-right: 6px;
}

.cv-topbar-social {
    display: flex;
    gap: 14px;
}

.cv-navbar {
    padding: 10px 0;
    background: #fff;
}

.cv-brand {
    background: var(--cv-red);
    padding: 10px 16px;
    border-radius: 10px;
    margin-right: 18px;
}

.cv-brand img {
    height: 42px;
    width: auto;
}

.cv-navbar .nav-link {
    color: var(--cv-dark-2);
    font-weight: 500;
    padding: 8px 12px !important;
    font-size: 15px;
}

.cv-navbar .nav-link.active,
.cv-navbar .nav-link:hover {
    color: var(--cv-red);
}

.cv-nav-cta {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.cv-nav-cta .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.cv-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 1050;
}

.cv-whatsapp:hover {
    color: #fff;
    transform: scale(1.05);
}

.hero-swiper {
    height: min(72vh, 680px);
    background: var(--cv-dark);
    overflow: hidden;
}

.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-slide {
    height: min(72vh, 680px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 34, 44, 0.82) 0%, rgba(28, 34, 44, 0.35) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 720px;
}

.hero-content p {
    max-width: 520px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.45;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--cv-red);
    opacity: 1;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
}

.filiais-swiper .swiper-button-next,
.filiais-swiper .swiper-button-prev {
    color: var(--cv-dark);
}

.depo-swiper .swiper-pagination-bullet-active {
    background: var(--cv-red);
}

.cv-quick {
    margin-top: -56px;
    position: relative;
    z-index: 3;
}

.cv-quick-card {
    background: #fff;
    border-radius: var(--cv-radius);
    box-shadow: var(--cv-shadow);
    padding: 28px 24px;
    height: 100%;
    border: 1px solid var(--cv-line);
    transition: 0.2s ease;
}

.cv-quick-card:hover {
    transform: translateY(-4px);
    border-color: #f0c4c6;
}

.cv-quick-card i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff1f1;
    color: var(--cv-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.cv-quick-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cv-section {
    padding: 80px 0;
}

.cv-section-muted {
    background: var(--cv-bg);
}

.cv-kicker {
    color: var(--cv-red);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

.cv-title {
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

.cv-lead {
    color: var(--cv-muted);
    font-size: 1.05rem;
}

.cv-service-card {
    background: #fff;
    border: 1px solid var(--cv-line);
    border-radius: var(--cv-radius);
    padding: 28px;
    height: 100%;
    transition: 0.2s ease;
}

.cv-service-card:hover {
    box-shadow: var(--cv-shadow);
    border-color: transparent;
}

.cv-service-card i {
    font-size: 28px;
    color: var(--cv-red);
    margin-bottom: 14px;
}

.cv-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.cv-about-panel {
    background: var(--cv-dark);
    color: #fff;
    border-radius: var(--cv-radius);
    padding: 36px;
    height: 100%;
}

.cv-about-panel h2 {
    font-size: 2rem;
    font-weight: 700;
}

.cv-map {
    border-radius: var(--cv-radius);
    overflow: hidden;
    box-shadow: var(--cv-shadow);
}

.cv-map img {
    width: 100%;
    display: block;
}

.cv-branch {
    background: #fff;
    border-radius: var(--cv-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--cv-shadow);
}

.cv-branch img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cv-branch-body {
    padding: 20px;
}

.cv-branch-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cv-branch-body .subtitle {
    color: var(--cv-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cv-quote {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cv-quote p {
    font-size: 1.35rem;
    font-weight: 500;
}

.cv-quote strong {
    display: block;
    margin-top: 18px;
}

.cv-quote span {
    color: var(--cv-muted);
    font-size: 0.95rem;
}

.cv-cta {
    background: var(--cv-red);
    color: #fff;
    padding: 48px 0;
}

.cv-cta h2 {
    font-weight: 700;
    margin-bottom: 8px;
}

.page-hero {
    background: linear-gradient(120deg, rgba(28, 34, 44, 0.88), rgba(191, 8, 17, 0.55)), url("../../imagens/bg.jpg") center/cover;
    color: #fff;
    padding: 72px 0 56px;
}

.page-hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.cv-form .form-control,
.cv-form .form-select,
.cv-form textarea {
    border: 1px solid var(--cv-line);
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 48px;
}

.cv-form .form-control:focus,
.cv-form textarea:focus {
    border-color: var(--cv-red);
    box-shadow: 0 0 0 3px rgba(191, 8, 17, 0.12);
}

.cv-form-card {
    background: #fff;
    border-radius: var(--cv-radius);
    box-shadow: var(--cv-shadow);
    padding: 32px;
    border: 1px solid var(--cv-line);
}

.cv-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 8px 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1d0d2;
}

.cv-tabs .nav-link {
    color: var(--cv-dark);
    font-weight: 600;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 14px 8px;
}

.cv-tabs .nav-link.active {
    color: var(--cv-red);
    background: none;
    border-bottom-color: var(--cv-red);
}

.cv-gallery a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.cv-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s ease;
}

.cv-gallery a:hover img {
    transform: scale(1.04);
}

.cv-steps {
    padding-left: 1.2rem;
    margin: 0 0 24px;
    color: var(--cv-muted);
}

.cv-steps li {
    margin-bottom: 6px;
}

.cv-footer {
    background: var(--cv-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 36px;
}

.cv-footer h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cv-footer-logo {
    max-width: 180px;
    margin-bottom: 16px;
}

.cv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.cv-footer-links a,
.cv-footer-contact a {
    color: rgba(255, 255, 255, 0.78);
}

.cv-footer-links a:hover,
.cv-footer-contact a:hover {
    color: #fff;
}

.cv-footer-dev span {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
}

.cv-footer-dev img {
    max-width: 120px;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
}

.doc-table th,
.doc-table td {
    border: 1px solid var(--cv-line);
    padding: 12px;
    text-align: left;
}

.doc-table th {
    background: var(--cv-dark);
    color: #fff;
}

.code-block,
.response-example {
    background: #11151c;
    color: #f3f6fb;
    border-radius: 10px;
    padding: 16px;
    overflow-x: auto;
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: pre-wrap;
}

.endpoint-info {
    background: #fff1f1;
    border-left: 4px solid var(--cv-red);
    padding: 16px 18px;
    border-radius: 8px;
}

.addLinha {
    font-weight: 600;
}

@media (max-width: 991px) {
    .cv-nav-cta {
        margin: 12px 0 8px;
        flex-wrap: wrap;
    }

    .hero-swiper,
    .hero-slide {
        height: 520px;
    }

    .cv-quick {
        margin-top: 24px;
    }
}
