/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #0f2c59;
    --primary-dark: #091d3e;
    --primary-light: #1e4080;
    --secondary: #c9a227;
    --secondary-dark: #a88420;
    --secondary-light: #f0d060;
    --bg-soft: #f0f5ff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
}

/* ===== RESET BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    background: var(--bg-soft);
}

/* ===== TIPOGRAFIA ===== */
.font-display { font-family: 'Playfair Display', serif; }

/* ===== BOTÃO PRIMÁRIO (NAVY) ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse-glow-blue 2.5s ease-in-out infinite;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.15); }

/* ===== BOTÃO GOLD ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light), var(--secondary));
    background-size: 200% 200%;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: gradientShift 4s ease infinite, pulse-glow-gold 2.5s ease-in-out infinite;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* Shimmer overlay para botões premium */
.btn-shimmer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: translateX(-200%);
    animation: shimmer 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* ===== CARDS ===== */
.card-glass {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(15, 44, 89, 0.12);
    transition: all 0.35s ease;
}
.card-glass:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(15, 44, 89, 0.14);
    border-color: rgba(201, 162, 39, 0.45);
}

.card-dark {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    transition: all 0.35s ease;
}
.card-dark:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    border-color: rgba(201, 162, 39, 0.55);
    background: rgba(255, 255, 255, 0.11);
}

/* ===== GRADIENTES DE TEXTO ===== */
.gradient-text-gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-blue {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BACKGROUNDS DAS SEÇÕES ===== */
.hero-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 35%, #e8eeff 70%, #f5f8ff 100%);
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background: linear-gradient(150deg, #091d3e 0%, #0f2c59 50%, #162040 100%);
    position: relative;
    overflow: hidden;
}

.section-light-mesh {
    background: #f8faff;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(30,64,128,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(201,162,39,0.06) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.section-gray-mesh {
    background: #f1f5fb;
    background-image:
        radial-gradient(ellipse at 10% 50%, rgba(15,44,89,0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(201,162,39,0.05) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.section-cta {
    background: linear-gradient(135deg, #0f2c59 0%, #162f6e 40%, #c9a227 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

/* ===== NAVBAR ===== */
.navbar-link {
    color: #374151;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-link:hover { color: var(--primary); }

/* ===== FAQ ===== */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-content.open { max-height: 500px; }
.faq-icon { transition: transform 0.3s ease; }

/* ===== ÍCONE DO SERVIÇO ===== */
.service-icon-wrap {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(15,44,89,0.08), rgba(30,64,128,0.13));
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.card-glass:hover .service-icon-wrap {
    background: linear-gradient(135deg, rgba(15,44,89,0.15), rgba(201,162,39,0.15));
}

/* ===== DEPOIMENTOS ===== */
.star { color: #f59e0b; }
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

/* ===== FLOATING SHAPES ===== */
.float-anim { animation: float 4s ease-in-out infinite; }
.float-anim-slow { animation: float 6s ease-in-out infinite; }
.float-anim-rev { animation: float-reverse 5s ease-in-out infinite; }

/* ===== GLOW ORBS ===== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

/* ===== ANIMAÇÕES ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}
@keyframes float-reverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(16px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    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-blue {
    0%, 100% { box-shadow: 0 0 18px rgba(15,44,89,0.4), 0 0 36px rgba(15,44,89,0.2); }
    50%       { box-shadow: 0 0 36px rgba(15,44,89,0.65), 0 0 72px rgba(15,44,89,0.3); }
}
@keyframes pulse-glow-gold {
    0%, 100% { box-shadow: 0 0 18px rgba(201,162,39,0.45), 0 0 36px rgba(201,162,39,0.2); }
    50%       { box-shadow: 0 0 36px rgba(201,162,39,0.7), 0 0 72px rgba(201,162,39,0.35); }
}
@keyframes shimmer {
    0%   { transform: translateX(-200%); }
    100% { transform: translateX(200%); }
}
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes dot-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

/* ===== PROTEÇÃO DE BOTÕES GLOBAL ===== */
button, input[type="button"], input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}
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;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}
@media (max-width: 767px) {
    nav a[href*="wa.me"], nav a[href*="whatsapp.com"] {
        display: none !important;
    }
}

/* ===== PARTNER CARDS ===== */
.partner-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15,44,89,0.1);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}
.partner-card:hover {
    box-shadow: 0 12px 32px rgba(15,44,89,0.12);
    border-color: rgba(201,162,39,0.4);
    transform: translateY(-4px);
}

/* ===== WAVE DIVIDER ===== */
.wave-divider { overflow: hidden; line-height: 0; }

/* ===== RESPONSIVE OVERFLOW GUARD ===== */
section, nav, footer, header {
    max-width: 100vw;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
}
p, li, span {
    overflow-wrap: break-word;
    word-break: break-word;
}
