/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #E8640A;
    --primary-dark: #C0510A;
    --primary-light: #FEE4CC;
    --secondary: #1E3A5F;
    --secondary-dark: #152B47;
    --bg-soft: #F8FAFC;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
}

/* ===== 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);
    color: var(--text-dark);
}

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

/* ===== COMPONENTES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    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 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-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 25px rgba(232,100,10,0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}
.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.card-service {
    background: white;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    overflow: hidden;
}
.card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(232,100,10,0.15);
    border-color: var(--primary-light);
}

.card-diferencial {
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}
.card-diferencial:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(232,100,10,0.12);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bg {
    background: linear-gradient(135deg, #0F1F35 0%, #1E3A5F 50%, #152B47 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    position: relative;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232,100,10,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.section-dark {
    background: linear-gradient(135deg, #0F1F35, #1E3A5F);
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(232,100,10,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.navbar-link {
    color: #374151;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
    position: relative;
}
.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}
.navbar-link:hover { color: white !important; opacity: 0.85; }
.navbar-link:hover::after { width: 100%; }

.icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light), #FED7AA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.depoimento-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    position: relative;
}
.depoimento-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 1;
}
.depoimento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(232,100,10,0.1);
}

.stars { color: #F59E0B; }

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.faq-item.open {
    box-shadow: 0 4px 16px rgba(232,100,10,0.1);
    border-color: var(--primary-light);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-content.open { max-height: 400px; }

/* ===== CREDENCIAL BADGE ===== */
.credencial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,100,10,0.12);
    border: 1px solid rgba(232,100,10,0.3);
    border-radius: 999px;
    padding: 6px 16px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== ANIMAÇÕES ===== */
@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(232,100,10,0.35), 0 0 40px rgba(232,100,10,0.15); }
    50%       { box-shadow: 0 0 35px rgba(232,100,10,0.6), 0 0 70px rgba(232,100,10,0.3); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes float-a {
    0%, 100% { transform: translateY(0) translateX(0); }
    33%       { transform: translateY(-18px) translateX(8px); }
    66%       { transform: translateY(-8px) translateX(-6px); }
}
@keyframes float-b {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50%       { transform: translateY(-14px) rotate(45deg); }
}
@keyframes float-c {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    40%       { transform: translateY(-22px) translateX(-10px) scale(1.05); }
    80%       { transform: translateY(-10px) translateX(8px) scale(0.97); }
}
@keyframes drift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25%       { transform: translateX(12px) translateY(-8px); }
    75%       { transform: translateX(-10px) translateY(6px); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes ring-expand {
    0%   { transform: scale(0.6); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== PADRÃO DE PONTOS ===== */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(232,100,10,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}
.dot-pattern-dark {
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.dot-pattern-blue {
    background-image: radial-gradient(circle, rgba(30,58,95,0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ===== FLOATING ORBS (hero e cta) ===== */
.float-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}
.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(232,100,10,0.2);
    pointer-events: none;
    animation: ring-expand 4s ease-out infinite;
}

/* ===== LINHA DECORATIVA SEÇÃO ===== */
.section-accent-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

/* ===== PROTEÇÃO DE BOTÕES ===== */
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;
}

/* Ocultar CTA da navbar no mobile */
@media (max-width: 767px) {
    nav a[href*="wa.me"],
    nav a[href*="whatsapp.com"] {
        display: none !important;
    }
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}
.section-divider-left {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
