/* ============================================================
   Afra Soluções — Estilos Compartilhados
   ============================================================ */

:root {
    --primary:      #0a56c8;
    --primary-dark: #083fa0;
    --accent:       #00d4ff;
    --dark:         #0d1117;
    --dark-2:       #161b22;
}

* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }

/* ===== Espaçamento e títulos ===== */
.section-padding { padding: 90px 0; }

.section-label {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--primary); margin-bottom: 8px; display: block;
}
.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800; color: #1a1a2e; line-height: 1.2;
}

/* ===== Cores soft para ícones ===== */
.bg-blue-soft   { background: rgba(10,86,200,.12);  color: #0a56c8; }
.bg-cyan-soft   { background: rgba(8,145,178,.12);  color: #0891b2; }
.bg-amber-soft  { background: rgba(217,119,6,.12);  color: #d97706; }
.bg-green-soft  { background: rgba(5,150,105,.12);  color: #059669; }
.bg-yellow-soft { background: rgba(202,138,4,.12);  color: #ca8a04; }
.bg-dark-soft   { background: rgba(55,65,81,.12);   color: #374151; }
.bg-violet-soft { background: rgba(124,58,237,.12); color: #7c3aed; }
.text-violet    { color: #7c3aed; }

/* ===== Hero de páginas internas ===== */
.page-hero {
    background: linear-gradient(135deg, #0d1117 0%, #0a1628 50%, #0a2040 100%);
    color: white;
    padding: 130px 0 72px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; top: -40%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(10,86,200,.18) 0%, transparent 70%);
}
.page-hero-label {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--accent); margin-bottom: 14px; display: block;
}
.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; line-height: 1.1; margin-bottom: 18px;
}
.page-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.62); line-height: 1.75; max-width: 560px;
}

/* ===== Animação fade-up ===== */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
    z-index: 9999; text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37,211,102,.65);
    color: white;
}

/* ===== Alertas customizados ===== */
.alert-afra-success {
    background: rgba(5,150,105,.12);
    border: 1px solid rgba(5,150,105,.3);
    color: #065f46; border-radius: 10px; padding: 14px 18px;
}
.alert-afra-error {
    background: rgba(220,38,38,.08);
    border: 1px solid rgba(220,38,38,.25);
    color: #991b1b; border-radius: 10px; padding: 14px 18px;
}

/* ===== Cards genéricos ===== */
.afra-card {
    background: white; border-radius: 14px;
    border: 1px solid #e8ecf4;
    transition: transform .3s ease, box-shadow .3s ease;
}
.afra-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.09);
}
