/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8d5b7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Mobile: Card ocupa 100% da altura */
@media (max-width: 768px) {
    body {
        padding: 0;
        align-items: stretch;
    }
    
    .container {
        min-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.container {
    max-width: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    margin-bottom: 20px;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #751926;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 14px;
    color: #751926;
    font-style: italic;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    text-decoration: none;
    color: #751926;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.link-button:active {
    transform: translateY(-1px);
}

.link-button i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.link-button:hover i {
    transform: scale(1.1);
}

/* WhatsApp buttons */
.whatsapp-button {
    background: linear-gradient(135deg, #ef9b96 0%, #d4736e 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(239, 155, 150, 0.3);
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #e88a85 0%, #c46560 100%);
    box-shadow: 0 10px 25px rgba(239, 155, 150, 0.4);
}

.whatsapp-button i {
    color: white;
}

/* Redes Sociais buttons */
.redes-button {
    background: linear-gradient(135deg, #ef9b96 0%, #d4736e 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(239, 155, 150, 0.3);
}

.redes-button:hover {
    background: linear-gradient(135deg, #e88a85 0%, #c46560 100%);
    box-shadow: 0 10px 25px rgba(239, 155, 150, 0.4);
}

.redes-button i {
    color: white;
}

/* Botão Voltar */
.voltar-button {
    background: rgba(255, 255, 255, 0.95);
    color: #751926;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.voltar-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.voltar-button i {
    color: #751926;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(117, 25, 38, 0.2);
}

.footer p {
    color: #751926;
    font-size: 12px;
    opacity: 0.7;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.8s ease-out;
}

.link-button {
    animation: fadeInUp 0.8s ease-out;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.link-button:nth-child(6) { animation-delay: 0.6s; }

/* Responsividade Mobile First */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 25px 20px;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .brand-name {
        font-size: 26px;
    }
    
    .tagline {
        font-size: 13px;
    }
    
    .link-button {
        padding: 16px 20px;
        font-size: 15px;
        gap: 12px;
    }
    
    .logo-img {
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .container {
        padding: 15px 12px;
        border-radius: 12px;
    }
    
    .header {
        margin-bottom: 35px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
    }
    
    .logo-img {
        width: 75px;
        height: 75px;
    }
    
    .brand-name {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .main-content {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .link-button {
        padding: 15px 18px;
        font-size: 14px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .link-button i {
        font-size: 18px;
    }
    
    .footer {
        padding-top: 15px;
    }
    
    .footer p {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 12px 10px;
    }
    
    .logo-circle {
        width: 65px;
        height: 65px;
    }
    
    .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .brand-name {
        font-size: 22px;
    }
    
    .tagline {
        font-size: 11px;
    }
    
    .link-button {
        padding: 14px 16px;
        font-size: 13px;
        gap: 8px;
    }
    
    .link-button i {
        font-size: 16px;
    }
}

/* Landscape orientation para mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .main-content {
        gap: 10px;
    }
    
    .link-button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Otimizações para telas muito pequenas */
@media (max-width: 320px) {
    .container {
        padding: 10px 8px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .tagline {
        font-size: 10px;
    }
    
    .link-button {
        padding: 12px 14px;
        font-size: 12px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .logo-img {
        width: 65px;
        height: 65px;
    }
}

/* Melhorias para touch */
@media (hover: none) and (pointer: coarse) {
    .link-button {
        min-height: 50px;
        padding: 16px 20px;
    }
    
    .link-button:hover {
        transform: none;
    }
    
    .link-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}
