/* ============================================
   VARIÁVEIS E RESET
   ============================================ */

:root {
    --primary-color: #1a73e8;
    --secondary-color: #25d366;
    --accent-color: #ff6b35;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-color: #e2e8f0;
    --text-muted: #cbd5e1;
    --border-color: #334155;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f2f2f2 !important
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    padding: 40px 0 30px;
    text-align: center;
    margin-top: 20px;
}

.logo-section {
    animation: slideDownIn 0.8s ease-out;
}

.logo-image {
    max-width: 280px;
    max-height: 160px;
    margin: 0 auto 20px;
    display: block;
    animation: slideDownIn 0.8s ease-out;
    
}

.logo-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #f2f2f2 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    box-shadow: var(--shadow);
    animation: pulse 3s ease-in-out infinite;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: #f2f2f2 !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    flex: 1;
    padding: 20px 0;
}

.description-section {
    text-align: center;
    margin-top: -40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.description-section p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   LINKS SECTION
   ============================================ */

.links-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 10px;
    margin-right: 20px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.website-card .card-icon {
    background: rgba(26, 115, 232, 0.2);
    color: var(--primary-color);
}

.catalog-card .card-icon {
    background: rgba(147, 51, 234, 0.2);
    color: #9333ea;
}

.catalog2-card .card-icon {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.whatsapp-card .card-icon {
    background: rgba(37, 211, 102, 0.2);
    color: var(--secondary-color);
}

.email-card .card-icon {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-color);
}

.link-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.link-card > div:not(.card-icon) {
    flex: 1;
}

.link-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.link-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.card-arrow {
    font-size: 20px;
    color: var(--primary-color);
    margin-left: 15px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-10px);
}

.link-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   CONTACT INFO SECTION
   ============================================ */

.contact-info {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding: 30px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.footer p {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 18px;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes slideDownIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(26, 115, 232, 0.4);
    }
    50% {
        box-shadow: 0 10px 50px rgba(26, 115, 232, 0.6);
    }
}

/* ============================================
   RESPONSIVO - TABLET
   ============================================ */

@media (min-width: 768px) {
    .container {
        max-width: 700px;
    }

    .header {
        padding: 60px 0 40px;
    }

    .logo-image {
        max-width: 460px;
        max-height: 180px;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
        font-size: 60px;
    }

    .header h1 {
        font-size: 3rem;
    }

    .links-section {
        gap: 18px;
    }

    .link-card {
        padding: 25px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

/* ============================================
   RESPONSIVO - DESKTOP
   ============================================ */

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }

    .header {
        padding: 80px 0 50px;
    }

    .logo-image {
        max-width: 520px;
        max-height: 220px;
    }

    .logo-circle {
        width: 140px;
        height: 140px;
        font-size: 70px;
    }

    .header h1 {
        font-size: 3.5rem;
    }

    .links-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .link-card {
        padding: 30px;
        font-size: 1.1rem;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
}

/* ============================================
   RESPONSIVO - MOBILE (FORÇAR MESMO BACKGROUND DO DESKTOP)
   ============================================ */



@media (prefers-color-scheme: light) {
    :root {
        --dark-bg: #f8fafc;
        --card-bg: #ffffff;
        --text-color: #1e293b;
        --text-muted: #64748b;
        --border-color: #e2e8f0;
    }

    body {
        background-color: #1e293b;
    }

    .logo-circle {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .link-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .link-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus para acessibilidade */
.link-card:focus,
.social-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
