/* ============================================================
   GB9 MARKETING DIGITAL — custom.css
   Apenas animações e estilos não cobertos pelo Tailwind CSS
   ============================================================ */

html {
    scroll-behavior: smooth;
}

/* ---------- ANIMAÇÕES DE ENTRADA (Intersection Observer) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para cards */
.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.delay-4 {
    transition-delay: 0.32s;
}

.delay-5 {
    transition-delay: 0.40s;
}

.delay-6 {
    transition-delay: 0.48s;
}

/* ---------- HERO SHAPES (círculos decorativos de fundo) ---------- */
.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: rgba(0, 221, 1, 0.06);
}

.hero-shape-2 {
    width: 420px;
    height: 420px;
    bottom: -140px;
    left: -100px;
    background: rgba(0, 221, 1, 0.04);
}

/* ---------- NAVBAR: link sublinhado animado ---------- */
.nav-link-underline {
    position: relative;
}

.nav-link-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00dd01;
    transition: width 0.3s ease;
}

.nav-link-underline:hover::after,
.nav-link-underline.active::after {
    width: 100%;
}

/* ---------- HAMBURGER ---------- */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- CARD DE SERVIÇO: barra superior animada ---------- */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #005095, #00dd01);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 20px 20px 0 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ---------- CASE CARD: overlay ---------- */
.case-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-img {
    transition: transform 0.5s ease;
}

.case-card:hover .case-img {
    transform: scale(1.06);
}

/* ---------- DEPOIMENTOS: SLIDER ---------- */
.depo-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.depo-slide {
    min-width: 100%;
}

/* ---------- SCROLL INDICATOR BOUNCE ---------- */
@keyframes bounce-y {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

.scroll-indicator {
    animation: bounce-y 2s infinite;
}

/* ---------- WHATSAPP FLOAT PULSE ---------- */
@keyframes pulse-wa {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 6px 40px rgba(37, 211, 102, 0.8);
    }
}

.whatsapp-float {
    animation: pulse-wa 2.5s infinite;
}

/* ---------- FOOTER: linha decorativa ---------- */
.footer-col-title::after {
    content: '';
    display: block;
    margin-top: 8px;
    width: 28px;
    height: 2px;
    background: #00dd01;
    border-radius: 2px;
}

/* ---------- UTILITY: gradient text ---------- */
.gradient-text {
    background: linear-gradient(135deg, #005095, #0072d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- GLASSMORPHISM (cartões hero) ---------- */
.glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}