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

:root {
    --bg-color: #f5f5f7;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.5);
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #0066cc; /* Azul premium estilo UI */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Mesh Gradient super suave */
.background-mesh {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% 50%, rgba(0, 102, 204, 0.04), transparent 35%),
                radial-gradient(circle at 85% 30%, rgba(0, 200, 255, 0.04), transparent 35%);
}

.app-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px; 
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- HEADER --- */
.header {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06); 
    border: 2px solid rgba(255,255,255,0.8);
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.brand-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 95%;
}

/* --- BOTÃO CTA WHATSAPP --- */
.cta-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1db954 0%, #17a349 100%);
    border-radius: 20px;
    padding: 18px 20px;
    text-decoration: none;
    margin-bottom: 12px;
    box-shadow: 0 8px 28px rgba(29,185,84,0.25);
    transition: transform 0.3s cubic-bezier(0.25,1,0.5,1), box-shadow 0.3s;
    animation: fadeInUp 0.8s cubic-bezier(0.25,1,0.5,1) 0.08s both;
}
.cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(29,185,84,0.32);
}
.cta-whatsapp-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-shrink: 0;
}
.cta-whatsapp-icon svg { width: 24px; height: 24px; }
.cta-whatsapp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}
.cta-label {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}
.cta-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}
.cta-arrow {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

/* --- SOCIALS --- */
.social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255,255,255,0.4);
}

.social-btn:hover {
    transform: scale(1.05);
    color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.social-btn svg { width: 22px; height: 22px; }

/* --- DIVISOR DE SEÇÃO --- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 28px 0 8px;
}
.section-divider-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}
.section-divider-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}
.section-description {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* --- CARDS ESTILO PÍLULA (BENTO GLASS) --- */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both;
}

.apple-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.03);
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.apple-card:hover {
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

/* Parte Visível do Card */
.apple-card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    position: relative;
    z-index: 2;
    background: transparent;
}

.card-img-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card-icon-thumb {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #e5f0f9;
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
    flex-shrink: 0;
}
.card-icon-thumb svg { width: 24px; height: 24px; }

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

.card-header-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.3px;
}

.card-header-text span {
    font-size: 13px;
    color: var(--text-secondary);
}

.card-arrow {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background-color: rgba(0,0,0,0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, color 0.3s;
}

.apple-card.active .card-arrow {
    transform: rotate(90deg);
    background-color: var(--accent-color);
    color: #fff;
}
.card-arrow svg { width: 14px; height: 14px; }

/* Parte Expansível */
.apple-card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: transparent;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.apple-card.active .apple-card-body {
    max-height: 1800px;
    opacity: 1;
    padding: 4px 20px 24px 20px;
}

.apple-card-body p {
    font-size: 14px;
    line-height: 1.55;
    color: #424245; /* Cor cinza ideal de leitura */
    margin-bottom: 14px;
    letter-spacing: -0.1px;
}
.apple-card-body p:last-child {
    margin-bottom: 0;
}
.apple-card-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 8px 0;
    letter-spacing: -0.2px;
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 50px;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s both;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
