/* ==========================================================
   Lucas Santos Pinheiro · Marketing, IA & Vendas
   Pagina de links — banner-style com cantos arredondados
   Paleta: ciano/violeta tech sobre fundo escuro
   ========================================================== */

:root {
    --bg-deep:   #06090f;
    --bg-mid:    #0c1220;
    --bg-soft:   #131a2a;

    --accent:        #4dd0e1;
    --accent-bright: #7fe7f4;
    --accent-soft:   rgba(77, 208, 225, 0.20);
    --accent-line:   rgba(77, 208, 225, 0.40);

    --violet:        #8b5cf6;
    --violet-bright: #a78bfa;

    --whatsapp:    #25d366;
    --instagram:   #e1306c;

    --text:        #f4f4f6;
    --text-muted:  #9aa0ad;
    --text-dim:    #6b7080;

    --card:        rgba(255, 255, 255, 0.04);
    --border:      rgba(255, 255, 255, 0.08);

    --radius:      18px;
    --radius-lg:   24px;
    --radius-xl:   28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 70% 50% at 50%   0%, rgba(77, 208, 225, 0.12), transparent 65%),
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(139, 92, 246, 0.14), transparent 65%),
        radial-gradient(ellipse 90% 60% at 50% 50%, rgba(15, 25, 45, 0.6),  transparent 70%),
        linear-gradient(180deg, #06090f 0%, #0a1020 50%, #06090f 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    padding: 28px 18px 48px;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.page {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ==========================================================
   BANNER — base
   ========================================================== */
.banner {
    position: relative;
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-mid);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.30),
        inset 0 0 0 2.5px rgba(127, 231, 244, 0.85),
        inset 0 0 0 3.5px rgba(77, 208, 225, 0.4);
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    animation: fadeUp 0.6s ease both;
}

.banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.4s ease;
}

.banner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(77, 208, 225, 0);
    transition: box-shadow 0.35s ease;
}

.banner:hover {
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.35),
        0 20px 50px rgba(127, 231, 244, 0.32),
        inset 0 0 0 2.5px rgba(160, 240, 250, 1),
        inset 0 0 0 4px rgba(77, 208, 225, 0.55);
}

.banner:hover img {
    transform: scale(1.025);
    filter: brightness(1.05);
}

.banner:hover::after {
    box-shadow: inset 0 0 0 2px rgba(127, 231, 244, 0.85);
}

.banner:active {
    transition-duration: 0.15s;
    transform: scale(0.992) translateY(0) !important;
}

.banner:nth-child(1) { animation-delay: 0.00s; }
.banner:nth-child(2) { animation-delay: 0.08s; }
.banner:nth-child(3) { animation-delay: 0.16s; }
.banner:nth-child(4) { animation-delay: 0.24s; }
.banner:nth-child(5) { animation-delay: 0.32s; }
.banner:nth-child(6) { animation-delay: 0.40s; }


/* ==========================================================
   HERO BANNER
   ========================================================== */
.banner--hero {
    margin-bottom: 6px;
    border-radius: var(--radius-xl);
}

.banner--hero img {
    filter: contrast(1.08) saturate(1.10) brightness(1.02);
}

.banner--hero:hover img {
    filter: contrast(1.12) saturate(1.20) brightness(1.06);
}


/* ==========================================================
   BANNER PREMIUM — destaque violeta (opcional, .banner--premium)
   ========================================================== */
.banner--premium {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(139, 92, 246, 0.35),
        inset 0 0 0 2.5px rgba(167, 139, 250, 0.9),
        inset 0 0 0 3.5px rgba(139, 92, 246, 0.4);
}

.banner--premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 55% at 50% 50%,
                transparent 40%,
                rgba(139, 92, 246, 0.35) 100%);
    mix-blend-mode: soft-light;
    z-index: 1;
}

.banner--premium:hover {
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.35),
        0 20px 50px rgba(167, 139, 250, 0.5),
        inset 0 0 0 2.5px rgba(196, 178, 255, 1),
        inset 0 0 0 4px rgba(139, 92, 246, 0.55);
}


/* ==========================================================
   BANNERS GRID (lista vertical)
   ========================================================== */
.banners {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ==========================================================
   CTA WHATSAPP
   ========================================================== */
.cta-whatsapp {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-top: 8px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: #04111a;
    box-shadow:
        0 4px 12px rgba(37, 211, 102, 0.25),
        0 12px 30px rgba(37, 211, 102, 0.15);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: fadeUp 0.6s ease 0.5s both;
    position: relative;
    overflow: hidden;
}

.cta-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(37, 211, 102, 0.4),
        0 16px 40px rgba(37, 211, 102, 0.25);
}

.cta-whatsapp:hover::before {
    transform: translateX(100%);
}

.cta-whatsapp svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.cta-whatsapp span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cta-whatsapp strong {
    font-size: 1rem;
    font-weight: 700;
}

.cta-whatsapp small {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.8;
}


/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
    text-align: center;
    margin-top: 16px;
    padding: 12px 0;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.3px;
    animation: fadeUp 0.6s ease 0.6s both;
}


/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 420px) {
    body { padding: 20px 14px 36px; }
    .page { gap: 12px; }
    .banners { gap: 12px; }
    .cta-whatsapp { padding: 14px 16px; }
    .cta-whatsapp strong { font-size: 0.94rem; }
    .cta-whatsapp small  { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .banner { transform: none !important; }
}
