/* Base */
:root {
    /* Paleta da marca */
    --brand-primary: #78067f; /* roxo */
    --brand-secondary: #273d9c; /* azul */
    --brand-dark: #0b1b2b;
}

body {
    font-synthesis-weight: none;
    text-rendering: optimizeLegibility;
}

/* Hero */
.hero {
    min-height: 72vh;
    background-color: var(--brand-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/img/hero.png');
    background-size: cover;
    background-position: right center;
    filter: brightness(0.75) saturate(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 50% 10%, rgba(13, 110, 253, 0.25), transparent 60%),
                linear-gradient(180deg, rgba(11, 27, 43, 0.35) 0%, rgba(11, 27, 43, 0.75) 80%);
}

.hero-wave {
    height: 64px;
    background: linear-gradient(to bottom, rgba(11, 27, 43, 0) 0%, rgba(11, 27, 43, 1) 100%);
    opacity: 0.06;
}

.justify-content-start{
    margin-top: 70px;
}

/* Pricing */
.pricing-card .display-6 {
    letter-spacing: -0.5px;
}

.pricing-card:hover {
    transform: translateY(-2px);
    transition: transform 150ms ease, box-shadow 150ms ease;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.08)!important;
}

/* Footer */
footer {
    background: #fff;
}

/* Utilities */
.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.12) !important;
}

/* Navbar shrink on scroll */
#mainNavbar.navbar {
    transition: background-color 200ms ease, box-shadow 200ms ease, padding 200ms ease;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#mainNavbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,.08);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

#mainNavbar .nav-link {
    color: #ffffff;
}

#mainNavbar.scrolled .nav-link {
    color: #0b1b2b;
}

#mainNavbar .navbar-brand img {
    height: 40px;
    transition: height 200ms ease, filter 200ms ease;
}

#mainNavbar.scrolled .navbar-brand img {
    height: 30px;
}

/* Botões com gradiente da marca */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 120,6,127;
    background-image: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    filter: brightness(0.95);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
}

.text-primary { color: var(--brand-primary) !important; }
.border-primary { border-color: var(--brand-primary) !important; }

/* Badges em gradiente (quando usamos .badge-brand) */
.badge-brand {
    background-image: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    z-index: 1050;
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

.floating-whatsapp i {
    font-size: 1.5rem;
    line-height: 1;
}

/* Neighborhoods grid */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem 2rem;
}

@media (min-width: 576px) {
    .neighborhood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .neighborhood-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .neighborhood-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
    .neighborhood-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.neighborhood-grid span {
    display: inline-block;
    color: #2b2f33;
}

/* Family Section */
.family-image {
    overflow: hidden;
}

.wifi-signals {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.signal {
    position: absolute;
    border: 2px solid var(--brand-secondary);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

.signal-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.signal-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    animation-delay: 0.5s;
}

.signal-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.signal-4 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

/* FAQ tweaks */
.accordion-button:focus {
    box-shadow: 0 0 0 .25rem rgba(39, 61, 156, .15);
}

.accordion-button:not(.collapsed) {
    color: #2b2f33;
    background-image: linear-gradient(135deg, rgba(120,6,127,0.06), rgba(39,61,156,0.06));
}

/* Brand gradient background + white text helpers */
.bg-brand-gradient {
    background-image: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.text-white-75 { color: rgba(255,255,255,0.85) !important; }

/* Topbar */
.topbar {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.topbar .link-secondary:hover { color: var(--brand-secondary) !important; }

/* Main nav */
.main-nav {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.04);
}

.nav-icon-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    font-weight: 600;
    color: #1f2a37;
}

.nav-icon-link i {
    font-size: 1.75rem;
    color: var(--brand-secondary);
}

.nav-icon-link:hover { color: #111827; }

.btn-cta {
    background-color: #f28c00;
    color: #fff;
    border: none;
    box-shadow: 0 .5rem 1rem rgba(242,140,0,.25);
}

.btn-cta:hover { filter: brightness(0.95); }


