:root {
    --blue-primary: #0649D8;
    --blue-dark: #0039B5;
    --blue-secondary: #1265DD;
    --bg-main: #F4F4F4;
    --bg-secondary: #FAFAFA;
    --white: #FFFFFF;
    --text-primary: #555555;
    --text-secondary: #777777;
    --text-dark: #303030;
    --border-color: #E3E3E3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-main);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
}

.site-logo img {
    max-height: 44px;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.header-links a:hover {
    color: var(--blue-secondary);
}

.header-links svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Main menu */

.main-menu {
    background: var(--blue-primary);
}

.menu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
}

.menu-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list a {
    display: block;
    padding: 11px 16px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.menu-list a:hover {
    background: var(--blue-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blue-primary);
    font-size: 22px;
    line-height: 1;
    padding: 8px;
    cursor: pointer;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 701px) {
    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 260px;
        background: var(--blue-dark);
        z-index: 30;
    }

    .has-submenu:hover .submenu,
    .has-submenu:focus-within .submenu {
        display: flex;
    }

    .submenu a {
        text-transform: none;
        white-space: nowrap;
    }
}

/* Hero banner */

.hero-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--hero-bg-color, var(--blue-primary));
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 73, 216, .90) 0%, rgba(6, 73, 216, .60) 45%, rgba(6, 73, 216, .10) 80%);
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-content {
    height: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 10px;
}

.hero-content p {
    font-size: 15px;
    margin: 0;
    opacity: .92;
}

.hero-button-area {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    padding: 28px 20px;
}

.hero-button-area.pos-top-left { align-items: flex-start; justify-content: flex-start; }
.hero-button-area.pos-top-center { align-items: flex-start; justify-content: center; }
.hero-button-area.pos-top-right { align-items: flex-start; justify-content: flex-end; }
.hero-button-area.pos-center-left { align-items: center; justify-content: flex-start; }
.hero-button-area.pos-center-center { align-items: center; justify-content: center; }
.hero-button-area.pos-center-right { align-items: center; justify-content: flex-end; }
.hero-button-area.pos-bottom-left { align-items: flex-end; justify-content: flex-start; }
.hero-button-area.pos-bottom-center { align-items: flex-end; justify-content: center; }
.hero-button-area.pos-bottom-right { align-items: flex-end; justify-content: flex-end; }

/* Precisa vir depois de .hero-content-wrap para vencer o empate de especificidade
   e realmente tirar o bloco de texto do fluxo quando o hero tem imagens. */
.hero-content-wrap.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-cta-inline {
    display: inline-block;
    background: var(--white);
    color: var(--blue-primary);
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    border-radius: 2px;
}

.btn-cta-inline:hover {
    background: var(--bg-secondary);
}

.hero-banner--page {
    height: 220px;
}

.hero-banner--page .hero-slide {
    background-size: cover;
}

.hero-banner--page .hero-content h1 {
    font-size: 26px;
}

/* Page title + quick info */

.page-title-section {
    padding-top: 60px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--blue-secondary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb [aria-current] {
    color: var(--text-dark);
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--blue-primary);
    margin: 0 0 24px;
}

.page-intro {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-primary);
    margin: 0 0 30px;
}

.quick-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-info-item svg {
    width: 22px;
    height: 22px;
    color: var(--blue-dark);
    flex-shrink: 0;
}

.qi-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .3px;
}

.qi-value {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.quick-info-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: var(--blue-primary);
    color: var(--white);
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
}

.quick-info-cta:hover {
    background: var(--blue-dark);
}

/* CTA full width */

.cta-full {
    margin-bottom: 50px;
}

.btn-cta-full {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--blue-primary);
    color: var(--white);
    padding: 15px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 2px;
    border: none;
}

.btn-cta-full:hover {
    background: var(--blue-dark);
}

/* Text sections */

.text-section {
    padding-bottom: 45px;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--blue-primary);
    margin: 0 0 14px;
}

.text-section p {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-primary);
    white-space: pre-line;
    margin: 0;
}

main {
    padding-bottom: 30px;
}

/* Services grid (homepage) */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.service-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 24px;
}

.service-card:hover {
    border-color: var(--blue-secondary);
}

.service-card h2,
.service-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--blue-primary);
}

.services-more {
    text-align: center;
    margin: 30px 0 0;
}

.services-more-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--blue-secondary);
    border-bottom: 1px solid var(--blue-secondary);
    padding-bottom: 2px;
}

.services-more-link:hover {
    color: var(--blue-dark);
    border-color: var(--blue-dark);
}

.service-card p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-primary);
}

.service-card .service-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--blue-secondary);
}

.service-card:hover .service-link {
    color: var(--blue-dark);
}

/* FAQ */

.faq-item {
    margin-bottom: 22px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.faq-answer {
    max-width: 760px;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Service page layout: content + sidebar */

.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
    align-items: start;
    padding-top: 60px;
    padding-bottom: 20px;
}

.page-main {
    min-width: 0;
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 22px;
}

.sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0 0 12px;
}

.sidebar-service-list,
.sidebar-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-service-list li {
    border-top: 1px solid var(--border-color);
}

.sidebar-service-list li:first-child {
    border-top: none;
}

.sidebar-service-list a {
    display: block;
    padding: 11px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.sidebar-service-list a:hover {
    color: var(--blue-secondary);
}

.sidebar-service-list a.active {
    color: var(--blue-primary);
    font-weight: 600;
}

.sidebar-contact-list li {
    margin-bottom: 12px;
}

.sidebar-contact-list li:last-child {
    margin-bottom: 0;
}

.sidebar-contact-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-primary);
    word-break: break-word;
}

.sidebar-contact-list a:hover {
    color: var(--blue-secondary);
}

.sidebar-contact-list svg {
    width: 16px;
    height: 16px;
    color: var(--blue-dark);
    flex-shrink: 0;
}

/* Footer main */

.footer-main {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0 0 16px;
}

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

.footer-col li {
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-primary);
}

.footer-col a {
    color: var(--text-primary);
}

.footer-contact-list a,
.footer-contact-static {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-list svg,
.footer-contact-static svg {
    width: 15px;
    height: 15px;
    color: var(--blue-secondary);
    flex-shrink: 0;
}

.footer-col a:hover {
    color: var(--blue-secondary);
}

/* Contact bar */

.contact-bar {
    background: var(--blue-primary);
    color: var(--white);
    padding: 30px 0;
}

.contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-bar-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--white);
    opacity: .85;
}

.contact-bar-item .cb-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    opacity: .8;
    margin-bottom: 4px;
}

.contact-bar-item .cb-value {
    font-size: 19px;
    font-weight: 600;
}

.contact-bar-item .cb-value a {
    color: var(--white);
}

.cb-logo-box {
    background: var(--white);
    border-radius: 2px;
    padding: 6px 12px;
}

.cb-logo-box img {
    max-height: 32px;
}

/* Footer bottom */

.footer-bottom {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a svg {
    width: 15px;
    height: 15px;
}

.social-icons a:hover {
    background: var(--blue-dark);
}

.copyright {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .page-sidebar .sidebar-box {
        flex: 1 1 260px;
    }
}

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

    .header-inner {
        height: 68px;
    }

    .header-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-inner {
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .menu-list {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        background: var(--blue-primary);
        gap: 0;
        z-index: 20;
    }

    .menu-list.open {
        display: flex;
    }

    .menu-list a {
        padding: 13px 20px;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .main-menu {
        position: relative;
    }

    .hero-banner {
        height: 230px;
    }

    #inicio .hero-slide {
        background-size: cover;
        background-position: var(--mobile-focal, center);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(6, 73, 216, .90) 0%, rgba(6, 73, 216, .78) 100%);
    }

    .quick-info-row {
        flex-direction: column;
        gap: 0;
        padding: 4px 0;
    }

    .quick-info-item {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
    }

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

    .quick-info-cta {
        width: 100%;
        margin: 16px 0 0;
        padding: 14px 0;
    }

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

    .menu-list.open .has-submenu .submenu {
        display: flex;
        position: static;
        background: var(--blue-dark);
    }

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

    .contact-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .contact-bar-item {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
    }

    .cb-logo-box {
        align-self: flex-start;
        margin-top: 16px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Hero navigation arrows */

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}

.hero-nav:hover {
    background: var(--white);
}

.hero-nav svg {
    width: 20px;
    height: 20px;
}

.hero-nav-prev {
    left: 16px;
}

.hero-nav-next {
    right: 16px;
}

@media (max-width: 700px) {
    .hero-nav {
        width: 32px;
        height: 32px;
    }

    .hero-nav svg {
        width: 16px;
        height: 16px;
    }
}

/* Floating WhatsApp button */

.whatsapp-float {
    position: fixed;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 13px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-float:hover {
    background: #1da851;
    color: var(--white);
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.whatsapp-float.pos-bottom-right {
    bottom: 24px;
    right: 24px;
}

.whatsapp-float.pos-bottom-left {
    bottom: 24px;
    left: 24px;
}

.whatsapp-float.pos-top-right {
    top: 24px;
    right: 24px;
}

.whatsapp-float.pos-top-left {
    top: 24px;
    left: 24px;
}

@media (max-width: 480px) {
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }
}
