/* ===== Tokens de marca (iguais aos usados em contacto.html e sobre.html) ===== */
:root {
    --bl-navy: rgb(25, 53, 105);
    --bl-navy-deep: rgb(15, 35, 70);
    --bl-cyan: #00d4ff;
    --bl-bg: #f5f7fb;
    --bl-ink: #1f2937;
    --bl-radius: 1.1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--bl-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Poppins', sans-serif;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--bl-cyan);
    outline-offset: 2px;
}

/* ===== Hero / Carrossel ===== */
.hero-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-carousel-wrapper::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--bl-cyan), var(--bl-navy) 60%, var(--bl-cyan));
    background-size: 200% 100%;
    animation: bl-flow 6s linear infinite;
    z-index: 12;
}

@keyframes bl-flow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-overlay {
    background: linear-gradient(120deg, rgba(15, 35, 70, 0.78) 0%, rgba(25, 53, 105, 0.55) 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e7f8ff;
    background: rgba(0, 212, 255, 0.16);
    border: 1px solid rgba(0, 212, 255, 0.4);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bl-cyan);
    animation: bl-pulse 2s ease-out infinite;
}

@keyframes bl-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(0, 212, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.hero-overlay h1 {
    letter-spacing: -0.02em;
}

.btn-hero {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
}

/* ===== Estatísticas ===== */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(0, 212, 255, 0.14), transparent 45%);
    pointer-events: none;
}

.stat-card {
    position: relative;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.stat-icon {
    font-size: 1.4rem;
    color: var(--bl-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

/* ===== Quem somos ===== */
.about-teaser-card {
    border-radius: var(--bl-radius);
    border: 1px solid rgba(25, 53, 105, 0.07);
}

.about-teaser-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    font-size: 1.4rem;
    color: var(--bl-navy);
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.1), rgba(0, 212, 255, 0.16));
}

.eyebrow-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bl-navy);
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.08), rgba(0, 212, 255, 0.12));
    padding: 0.45rem 1rem;
    border-radius: 50px;
}

/* ===== Serviços ===== */
.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: var(--bl-radius) !important;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 35, 70, 0.1) !important;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--bl-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(25, 53, 105, 0.1), rgba(0, 212, 255, 0.16));
    margin: 0 auto 1rem;
}

/* ===== Depoimentos ===== */
.testimonial-card {
    border-radius: var(--bl-radius);
    border: 1px solid rgba(25, 53, 105, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card .bi-quote {
    font-size: 1.6rem;
    color: rgba(25, 53, 105, 0.18);
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
}

/* ===== CTA final ===== */
.cta-contact {
    background: linear-gradient(120deg, #f5f7fb 0%, #eaf0fb 100%);
    border-radius: var(--bl-radius);
    position: relative;
    overflow: hidden;
}

.cta-contact::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 70%);
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--bl-navy), var(--bl-navy-deep));
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 35, 70, 0.25);
    color: #fff;
}