* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --accent-color: #00d9ff;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #eaeaea;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-dark);
}

.container {
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    padding: 40px 30px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    max-width: 290px;
    height: auto;
    margin-bottom: 5px;
    display: block;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Banner Picture dentro do Header */
.banner-picture {
    display: block;
    width: 100%;
    margin: 20px 0 20px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: slideIn 0.6s ease-out 0.2s both;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-picture:hover .banner-img {
    transform: scale(1.02);
}

/* Info Section */
.info-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--border-radius);
}

.info-section h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.info-section p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    min-height: 220px;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: 1;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
}

.link-card p {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 15px;
    z-index: 2;
}

.arrow {
    position: absolute;
    bottom: 15px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Card Colors */
.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.phone {
    background: linear-gradient(135deg, #0078d4 0%, #0063b1 100%);
}

.instagram {
    background: linear-gradient(135deg, #fd1d1d 0%, #833ab4 50%, #fd1d1d 100%);
}

.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0a66c2 100%);
}

.maps {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc04 100%);
}

.website {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: 0.9rem;
}

.footer p {
    margin: 5px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 25px 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .link-card {
        min-height: 180px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .link-card h3 {
        font-size: 1.2rem;
    }

    .link-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .info-section h2 {
        font-size: 1.4rem;
    }

    .info-section p {
        font-size: 0.9rem;
    }

    .link-card {
        padding: 20px 15px;
        min-height: 160px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .link-card h3 {
        font-size: 1rem;
    }

    .link-card p {
        font-size: 0.85rem;
    }

    .footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 15px 10px;
    }

    .header h1 {
        font-size: 1.3rem;
    }

    .logo {
        max-width: 80px;
    }

    .card-icon {
        font-size: 1.8rem;
    }

    .link-card h3 {
        font-size: 0.95rem;
    }

    .link-card p {
        font-size: 0.8rem;
    }
}
