/* =====================================================
   index.css — Landing Page 2025 + Animações
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Tokens herdados de tema.css */
:root {
    --shadow: rgba(0,0,0,0.15);
}

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

body {
    background-color: var(--bg-landing);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: var(--font-main);
    /* Animação de entrada da página */
    animation: fadeInPage 0.6s ease both;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* CARD PRINCIPAL */
.landing-page-container { width: 100%; max-width: 860px; }

.landing-card {
    border-radius: 22px;
    box-shadow: 0 16px 48px var(--shadow);
    overflow: hidden;
    display: flex;
    min-height: 440px;
    animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* COLUNA ESQUERDA */
.card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    background-color: var(--landing-left);
    text-align: center;
    color: #fff;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Brilho decorativo no fundo esquerdo */
.card-left::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.card-left::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: rgba(0,0,0,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.logo-landing {
    max-width: 68%;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
    animation: floatLogo 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

.slogan {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.45;
    opacity: 0.93;
    position: relative;
    z-index: 1;
}

/* COLUNA DIREITA */
.card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    background: #fff;
    gap: 14px;
}

/* BOTÕES */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.22s ease,
                opacity 0.2s;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    /* Entrada escalonada */
    animation: slideInBtn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Efeito ripple no clique */
.social-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.18);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: inherit;
}

.social-btn:hover::after { opacity: 1; }

.social-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    text-decoration: none;
}

.social-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Entradas escalonadas dos botões */
.social-btn:nth-child(1) { animation-delay: 0.15s; }
.social-btn:nth-child(2) { animation-delay: 0.28s; }
.social-btn:nth-child(3) { animation-delay: 0.41s; }

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

/* CORES DOS BOTÕES */
.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.whatsapp { background-color: #25D366; color: #fff; }

.cardapio { background-color: #1C1C1C; color: #fff; }

/* Ícones SVG inline dos botões */
.social-btn svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}
.social-btn:hover svg {
    transform: scale(1.15) rotate(-5deg);
}
.social-btn span {
    font-weight: 700;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    body { padding: 1rem; align-items: flex-start; padding-top: 1.5rem; }
    .landing-card { flex-direction: column; min-height: auto; border-radius: 18px; }
    .card-left { padding: 2rem 1.5rem; gap: 14px; }
    .logo-landing { max-width: 52%; }
    .slogan { font-size: 0.95rem; }
    .card-right { padding: 1.8rem 1.5rem; gap: 12px; }
    .social-btn { padding: 0.9rem 1.2rem; font-size: 0.95rem; }
}
