:root {
    --primary-color: #000a95; /* Dark Blue */
    --secondary-color: #c20000; /* Red */
    --dark-bg: #0b0c10;
    --darker-bg: #050508;
    --text-light: #ffffff;
    --text-gray: #c5c6c7;
    --glass-bg: rgba(15, 15, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Dinâmico e Imersivo */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, #000a9540 0%, transparent 70%),
                radial-gradient(circle at 50% 100%, #c2000030 0%, var(--darker-bg) 80%);
}

.particle {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out alternate;
}

.p1 { width: 400px; height: 400px; background: rgba(0, 10, 149, 0.2); top: -10%; left: -10%; animation-delay: 0s; }
.p2 { width: 500px; height: 500px; background: rgba(194, 0, 0, 0.15); bottom: -20%; right: -10%; animation-delay: -5s; }
.p3 { width: 300px; height: 300px; background: rgba(0, 10, 149, 0.2); top: 40%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 80px) scale(1.2); }
}

/* Layout Principal */
.page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header */
.main-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.logo-container {
    width: min(560px, 88%);
    margin-bottom: 28px;
    filter: drop-shadow(0 0 28px rgba(255,255,255,0.18));
}

.logo {
    width: 100%;
    height: auto;
}

.anniversary-badge {
    background: transparent;
    color: #fff;
    padding: 10px 0;
    font-size: 1.4rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.anniversary-badge i {
    color: var(--secondary-color);
    font-size: 1.6rem;
}

/* Grid Container */
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Base Card Style */
.action-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--text-light);
    border-radius: 20px;
    padding: 2px; /* For gradient border effect */
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.card-bg {
    position: absolute;
    inset: 1px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 19px;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333, #111);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.1), 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.card-text {
    flex-grow: 1;
}

.card-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.arrow-icon {
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Featured Card (Promoções) */
.featured-card {
    background: linear-gradient(135deg, #ff4d4d, var(--secondary-color));
    box-shadow: 0 10px 30px rgba(194, 0, 0, 0.2);
}

.featured-card .card-bg {
    background: linear-gradient(135deg, rgba(194, 0, 0, 0.8), rgba(20, 0, 0, 0.9));
}

.pulse-glow {
    background: #fff;
    color: var(--secondary-color);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Branding colors */
.brand-blue {
    background: linear-gradient(135deg, #0012ff, var(--primary-color));
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.small-card .card-content {
    flex-direction: column;
    padding: 20px 10px;
    text-align: center;
    justify-content: center;
}

.small-card .card-content i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.brand-ig {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(220, 39, 67, 0.3));
}

.small-card span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hover States */
.action-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.action-card:hover .arrow-icon {
    color: #fff;
    transform: translateX(5px);
}

.featured-card:hover {
    box-shadow: 0 20px 50px rgba(194, 0, 0, 0.4);
}

/* Responsividade */
@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .small-card .card-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 25px;
    }
    
    .small-card .card-content i {
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .anniversary-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* --- Estilos Específicos para Cartões de Cidade --- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.3s;
}
.back-btn:hover { color: #fff; }

.unit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    transform-style: preserve-3d;
}

.unit-header {
    margin-bottom: 20px;
    text-align: center;
}

.unit-header h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
}

.unit-header p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.unit-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn i { font-size: 1.5rem; }

.btn-phone:hover { background: #007bff; border-color: #007bff; transform: translateY(-3px); }
.btn-whatsapp:hover { background: #25D366; border-color: #25D366; transform: translateY(-3px); }
.btn-maps:hover { background: #EA4335; border-color: #EA4335; transform: translateY(-3px); }

.city-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover { transform: scale(1.1); }
.icon-fb:hover { background: #1877F2; }
.icon-ig:hover { background: #E4405F; }
.icon-tk:hover { background: #000; border: 1px solid #fff; }
