/* ============================================
   MERCANTIL J.AGUIAR - LINK NA BIO
   Stylesheet Principal
   ============================================ */

/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    /* Fix para Safari mobile */
    height: -webkit-fill-available;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2a1f6e 0%, #1a1347 100%);
    min-height: 100vh;
    /* Fix para viewport mobile - evita barra fixa no rodapé */
    min-height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Container Principal */
.container {
    max-width: 500px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Banner */
.banner {
    width: 100%;
    height: 200px;
    /* Descomente a linha abaixo quando adicionar sua imagem */
    background-image: url('../images/banner.png');
    /* background: linear-gradient(135deg, #2a1f6e 0%, #3d2f8e 100%); */
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #ff6c00;
}

/* Seção do Perfil */
.profile-section {
    background: white;
    padding: 30px 25px 20px;
    text-align: center;
    position: relative;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
    animation: slideUp 0.6s ease-out 0.3s backwards;
}

/* Logo Container */
.logo-container {
    width: 120px;
    height: 120px;
    margin: -80px auto 20px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(42, 31, 110, 0.3);
    border: 5px solid #ff6c00;
    animation: bounce 1s ease-out 0.5s backwards;
    overflow: hidden;
}

.logo {
    width: 100%;
    height: 100%;
    /* background: #2a1f6e; */
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: white;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Títulos */
h1 {
    color: #2a1f6e;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.tagline {
    color: #ff6c00;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 500;
}

.tagline_sub{
    color: #343434;
    font-size: 14px;
    font-style: normal;
    margin-bottom: 20px;
    font-weight: 500;
}
.tagline_footer{
    color: #e7e7e7;
    font-size: 14px;
    font-style: normal;
    padding: 20px 20px;
    font-weight: 500;
    text-align: center;
}

/* Ícones Sociais */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #2a1f6e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(42, 31, 110, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: #ff6c00;
    box-shadow: 0 8px 20px rgba(255, 108, 0, 0.4);
}

/* Ícones Unicode */
.instagram::before { content: "📷"; }
.whatsapp::before { content: "💬"; }

/* Seção de Links */
.links-section {
    background: white;
    padding: 0 25px 30px;
}

.link-button {
    display: block;
    width: 100%;
    padding: 18px 25px;
    margin-bottom: 15px;
    background: #ff6c00;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 108, 0, 0.3);
    position: relative;
    overflow: hidden;
    /* Removida a animação padrão */
}

/* Animações individuais por botão usando classes */
.link-button.btn-1 {
    animation: fadeInScale 0.5s ease-out 0.6s backwards;
}

.link-button.btn-2 {
    animation: fadeInScale 0.5s ease-out 0.7s backwards;
}

.link-button.btn-3 {
    animation: fadeInScale 0.5s ease-out 0.8s backwards;
}

.link-button.btn-4 {
    animation: slideInLeft 1.2s ease-out 0.9s backwards;
}

.link-button.btn-5 {
    animation: slideInRight 1.4s ease-out 1s backwards;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.link-button:hover::before {
    width: 300px;
    height: 300px;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 108, 0, 0.5);
    background: #e55f00;
}

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

.icon {
    margin-right: 10px;
    font-size: 20px;
}

/* Rodapé */
.footer {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    color: #2a1f6e;
    font-size: 14px;
}

.address {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 14px;
    }

    .tagline_sub{
        font-size: 12px; 
    }
    
    .link-button {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .banner {
        height: 180px;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
        margin: -70px auto 15px;
    }
    
    .logo {
        font-size: 40px;
    }
}

@media (max-width: 360px) {
    .link-button {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}