/* =========================================
   VARIÁVEIS E RESET
   ========================================= */
:root {
    --primary:       #1a5276;
    --primary-mid:   #21618c;
    --primary-light: #2e86c1;
    --accent:        #1abc9c;
    --light-bg:      #eaf4fb;
    --card-bg:       #f0f8ff;
    --dark-bg:       #0d1b2a;
    --text-dark:     #1c1c1e;
    --text-gray:     #555e6e;
    --text-light:    #ffffff;
    --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
    --shadow-md:     0 6px 24px rgba(0,0,0,.12);
    --shadow-lg:     0 12px 40px rgba(0,0,0,.18);
    --radius:        6px;
    --transition:    0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad { padding: 80px 0; }

/* =========================================
   HEADER
   ========================================= */
#header-logo {
    background: #ffffff;
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--primary);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

#header-logo .logo {
    max-height: 56px;
    width: auto;
}

.header-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}

.header-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin: 0;
}

/* =========================================
   HERO SECTION
   ========================================= */
#hero {
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 560px;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* overlay azul mais transparente conforme solicitado */
    background: linear-gradient(
        105deg,
        rgba(26, 82, 118, 0.55) 0%,
        rgba(13, 27, 42, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 40px 24px 40px 60px;
}

.hero-content h2 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 36px;
    line-height: 1.8;
    opacity: .95;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* Botão hero: estilo outline branco igual ao de referência */
.btn-primary {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 52px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #fff;
    border-radius: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,.25);
}

/* =========================================
   SERVIÇOS
   ========================================= */
#services {
    background: #f5f9fd;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    padding: 40px 28px 36px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-mid);
}

/* Ícone: quadrado com canto arredondado e fundo azul claro (igual ao de referência) */
.service-icon {
    width: 72px;
    height: 72px;
    background: var(--light-bg);
    color: var(--primary-mid);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-mid);
    color: #fff;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Botão dos cards: azul sólido retangular (como no site de referência) */
.btn-service {
    display: inline-block;
    background: var(--primary-mid);
    color: #fff;
    padding: 12px 0;
    width: 100%;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

.btn-service:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* =========================================
   SOLUÇÕES PARA SUAS FINANÇAS
   ========================================= */
#solutions {
    background: var(--light-bg);
}

.solutions-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.section-title-center {
    font-size: clamp(22px, 4vw, 32px);
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.solutions-intro {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 44px;
    line-height: 1.8;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

/* Checkmarks em azul (igual ao site de referência) */
.benefit-item i {
    color: var(--primary-mid);
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: .3px;
    text-transform: uppercase;
}

.btn-solution {
    display: inline-block;
    background: var(--primary-mid);
    color: #fff;
    padding: 14px 60px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

.btn-solution:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* =========================================
   COMO FUNCIONA
   ========================================= */
#how-it-works {
    background: #ffffff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

/* Linha conectora entre os passos */
.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-mid);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-mid);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    background: var(--primary);
}

.step h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.step p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.btn-works {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: var(--primary-mid);
    color: #fff;
    padding: 14px 60px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

.btn-works:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* =========================================
   CONTATO COM MAPA
   ========================================= */
#contact-map { padding: 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.map-container {
    width: 100%;
    height: 480px;
    min-height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-info {
    background: var(--dark-bg);
    padding: 64px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.contact-info h2 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.contact-info p {
    font-size: 15px;
    color: rgba(255,255,255,.8);
    margin-bottom: 18px;
    line-height: 1.8;
}

.contact-highlight {
    font-weight: 600;
    color: var(--accent) !important;
    margin-bottom: 30px !important;
}

.btn-contact {
    display: inline-block;
    background: var(--primary-light);
    color: #fff;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* =========================================
   FOOTER CONTACT
   ========================================= */
#footer-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}

#footer-contact h3 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#footer-contact p {
    font-size: 15px;
    margin-bottom: 14px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    opacity: .92;
    line-height: 1.8;
}

.footer-highlight {
    font-weight: 600;
    opacity: 1 !important;
    margin-bottom: 40px !important;
}

.btn-footer {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 16px 56px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

.btn-footer:hover {
    background: var(--dark-bg);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   DETALHES DE CONTATO
   ========================================= */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.85);
    font-size: 15px;
}

.contact-detail-item i {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand h4 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 28px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    margin-bottom: 4px;
    line-height: 1.7;
}

.privacy-link {
    color: rgba(255,255,255,.5);
    text-decoration: underline;
    font-size: 13px;
}

.privacy-link:hover {
    color: var(--accent);
}

/* =========================================
   PÁGINA DE PRIVACIDADE
   ========================================= */
.privacy-box {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    padding: 48px 40px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.privacy-box p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .55);
}

/* Pulso animado no botão WhatsApp */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, .35);
    animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
    0%   { transform: scale(1); opacity: .8; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 992px) {
    .services-grid,
    .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .steps::before { display: none; }

    .contact-grid { grid-template-columns: 1fr; }

    .map-container {
        height: 340px;
        order: 2;
    }

    .contact-info {
        order: 1;
        padding: 44px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        padding: 40px 24px;
        max-width: 100%;
    }

    .section-pad { padding: 60px 0; }
}

@media (max-width: 768px) {
    .header-content { gap: 4px; }
    .header-title { font-size: 16px; }
    .header-subtitle { font-size: 12px; }
    #header-logo { padding: 12px 0; }

    #hero { min-height: 420px; }

    .hero-content p br { display: none; }

    .btn-primary {
        display: block;
        text-align: center;
        max-width: 280px;
        padding: 14px 32px;
    }

    .btn-solution,
    .btn-works,
    .btn-footer {
        padding: 14px 36px;
        font-size: 12px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .btn-works { margin: 0 auto; }

    .contact-info {
        padding: 36px 24px;
        text-align: center;
        align-items: center;
    }

    .contact-info h2 { font-size: 22px; }

    .contact-detail-item { justify-content: center; }

    .btn-contact {
        align-self: center;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    #footer-contact { padding: 50px 20px; }
    #footer-contact h3 { font-size: 22px; }

    .section-pad { padding: 48px 0; }

    .section-title-center { font-size: 22px; }

    .solutions-intro { font-size: 14px; margin-bottom: 32px; }
    .solutions-intro br { display: none; }

    .benefits-list { margin-bottom: 32px; }

    .footer-grid { text-align: center; }
    .footer-links { align-items: center; }
    .footer-brand { text-align: center; }

    .privacy-box { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .map-container { height: 260px; }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .header-title { font-size: 14px; }
    .header-subtitle { font-size: 11px; }

    #hero { min-height: 360px; }
    .hero-content { padding: 28px 16px; }
    .hero-content h2 { font-size: 24px; }
    .hero-content p { font-size: 15px; margin-bottom: 28px; }

    .container { padding: 0 16px; }

    .section-pad { padding: 36px 0; }

    .service-card { padding: 32px 20px 28px; }

    .benefit-item { padding: 12px 16px; }
    .benefit-item span { font-size: 12px; }

    .step-number { width: 60px; height: 60px; font-size: 20px; }

    .contact-info h2 { font-size: 20px; }
    .contact-detail-item { font-size: 14px; }

    .footer-bottom p { font-size: 11px; }

    .whatsapp-float { width: 52px; height: 52px; font-size: 26px; bottom: 20px; right: 20px; }

    .privacy-box { padding: 24px 16px; }
    .privacy-box h2 { font-size: 22px !important; }
    .privacy-box h3 { font-size: 18px !important; }
}
