/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #1F2E42;
    --primary-dark: #0F2748;
    --primary-medium: #1D3C6A;
    --secondary: #D3A30F;
    --secondary-light: #f0c840;
    --gray-light: #B8BEC7;
    --bg-soft: #F4F6F9;
    --text-dark: #1F2E42;
    --text-muted: #64748b;
    --white: #ffffff;
}

/* ===== RESET BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--text-dark);
    width: 100%;
    max-width: 100%;
}

/* ===== TIPOGRAFIA ===== */
.font-montserrat { font-family: 'Montserrat', sans-serif; }
.font-display { font-family: 'Montserrat', sans-serif; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-white {
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BOTÃO PRIMÁRIO (DOURADO) ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 2.5s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(211, 163, 15, 0.55);
    filter: brightness(1.05);
}

.btn-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ===== BOTÃO OUTLINE ===== */
.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    max-width: 100%;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(211, 163, 15, 0.4);
}

/* ===== NAVBAR ===== */
.navbar-link {
    color: rgba(255, 255, 255, 0.90);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.navbar-link:hover { color: var(--secondary); }

nav[data-section="navbar"] {
    background: linear-gradient(135deg, #0F2748 0%, #1D3C6A 55%, #1F2E42 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.5s ease;
}
nav[data-section="navbar"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(211,163,15,0.45), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.navbar-scrolled {
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(255,255,255,0.05) !important;
}
.navbar-scrolled::after {
    opacity: 1 !important;
}

#mobile-menu {
    background: rgba(10, 28, 58, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ===== HERO ===== */
.hero-bg {
    background: url('banner.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero-bg {
        background-position: right center;
    }
}

.hero-geo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

/* ===== BADGE ===== */
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(211,163,15,0.15), rgba(211,163,15,0.05));
    border: 1px solid rgba(211,163,15,0.45);
    color: var(--secondary);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

/* ===== SEÇÃO ESCURA ===== */
.section-dark {
    background:
        radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
        linear-gradient(135deg, #0F2748 0%, #1F2E42 100%);
    background-size: 28px 28px, 100% 100%;
    position: relative;
    overflow: hidden;
}

.section-navy {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* ===== CARDS DE SERVIÇO (fundo escuro) ===== */
.card-service {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-service:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.09);
    border-color: rgba(211,163,15,0.35);
    box-shadow: 0 24px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(211,163,15,0.15);
}

.card-service:hover::before {
    opacity: 1;
}

/* ===== ICON WRAPPER ===== */
.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(211,163,15,0.2), rgba(211,163,15,0.05));
    border: 1px solid rgba(211,163,15,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
    animation: float 4s ease-in-out infinite;
}

.icon-wrap-dark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(31,46,66,0.08), rgba(31,46,66,0.03));
    border: 1px solid rgba(31,46,66,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===== CARDS DIFERENCIAIS (fundo claro) ===== */
.card-diferencial {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-diferencial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.card-diferencial:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 64px rgba(31,46,66,0.12);
    border-color: rgba(211,163,15,0.2);
}

.card-diferencial:hover::after {
    transform: scaleX(1);
}

/* ===== DEPOIMENTOS ===== */
.card-depoimento {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.card-depoimento:hover {
    box-shadow: 0 20px 40px rgba(31,46,66,0.1);
    transform: translateY(-4px);
    border-color: rgba(211,163,15,0.25);
}

.quote-mark {
    font-size: 5rem;
    line-height: 0.8;
    color: var(--secondary);
    opacity: 0.15;
    font-family: Georgia, serif;
    display: block;
}

.star-filled { color: #D3A30F; }

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(211,163,15,0.3);
}

.faq-item.open {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(211,163,15,0.1);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content.open {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ===== SIMULADOR ===== */
.sim-tab {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 20px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.sim-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(31,46,66,0.25);
}

.sim-tab:not(.active) {
    background: white;
    color: var(--text-muted);
}

.sim-tab:not(.active):hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sim-panel {
    display: none;
}

.sim-panel.active {
    display: block;
}

.sim-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sim-check {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.sim-input {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary);
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
}

.sim-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31,46,66,0.08);
}

/* ===== FORM ===== */
.form-input {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31,46,66,0.08);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
}

.form-radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.9rem;
}

.form-radio-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(31,46,66,0.04);
}

.form-radio-card:hover {
    border-color: var(--primary);
}

.form-radio-card input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

/* ===== CONTACT INFO ITEMS ===== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-soft);
    border-radius: 16px;
    border-left: 4px solid var(--secondary);
}

.contact-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

/* ===== FOOTER ===== */
.footer-link {
    color: #94a3b8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 10px;
}
.footer-link:hover { color: var(--secondary); }

.footer-divider {
    border-color: rgba(255,255,255,0.08);
}

/* ===== FLOATING BUTTONS ===== */
.float-btn-group {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.float-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.float-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.12) translateY(-2px);
}

.float-btn-wa {
    background: #25D366;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    animation: floatPulse 3s ease-in-out infinite;
}

.float-btn-wa:hover {
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
}

.float-btn-ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 24px rgba(188, 24, 136, 0.4);
    animation: floatPulse 3s ease-in-out infinite 0.8s;
}

.float-btn-ig:hover {
    box-shadow: 0 12px 36px rgba(188, 24, 136, 0.6);
}

/* ===== ANIMAÇÕES ===== */
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

@keyframes floatPulse {
    0%, 100% { transform: translateY(0px); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
    50%       { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
}

@keyframes floatHero {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-18px) rotate(3deg); }
    66%       { transform: translateY(-9px) rotate(-1.5deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(211,163,15,0.3), 0 0 40px rgba(211,163,15,0.1); }
    50%       { box-shadow: 0 0 40px rgba(211,163,15,0.65), 0 0 80px rgba(211,163,15,0.3); }
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* ===== CLASSES DE ANIMAÇÃO ===== */
.animate-float-1 { animation: floatHero 6s ease-in-out infinite; }
.animate-float-2 { animation: floatHero 8s ease-in-out infinite 1.5s; }
.animate-float-3 { animation: floatHero 7s ease-in-out infinite 3s; }
.animate-fade-up { animation: fadeInUp 0.8s ease-out forwards; }
.icon-float      { animation: float 3.5s ease-in-out infinite; }

/* ===== DECORATIVO HERO ===== */
.hero-blob-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(211,163,15,0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    pointer-events: none;
    animation: floatHero 10s ease-in-out infinite;
}

.hero-blob-2 {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -80px;
    pointer-events: none;
    animation: floatHero 12s ease-in-out infinite 2s;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(211,163,15,0.15);
    pointer-events: none;
}

/* ===== STAT CARD ===== */
.stat-item {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}

/* ===== NUMBER STEP ===== */
.step-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PROTECÃO WA =====  */
a[href*="wa.me"],
a[href*="whatsapp.com"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

@media (max-width: 767px) {
    nav a.navbar-cta-desktop {
        display: none !important;
    }
    .sim-tab-full {
        flex-basis: 100%;
    }
}

button, input[type="button"], input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== SECTION FILL PATTERN ===== */
.section-fill {
    background-image: radial-gradient(rgba(31,46,66,0.065) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
}

/* ===== SECTION DIVIDERS ===== */
.section-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}
