:root {
    /* 🎨 INSIRA AS CORES DA MARCA DO CLIENTE AQUI */
    --brand-dark: #07120a;   /* Fundo Principal Escuro */
    --brand-medium: #0e1a12; /* Fundo das Caixinhas (Cards) */
    --brand-accent: #00A651; /* Cor de Destaque Verde Tabulário */
    --brand-light: #f5f5f5;  /* Cor de Texto Principal */
    
    --bg-dark: var(--brand-dark);
    --card-bg: var(--brand-medium);
    --card-border: rgba(0, 166, 81, 0.2);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: var(--brand-accent);
    
    --font-title: 'Montserrat', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-inter);
    background-color: var(--bg-dark);
    /* Pattern BoardGame SVG - Cartões/Mesa de Jogo */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 3.333l16.667 16.667-16.667 16.667L3.333 20 20 3.333z' stroke='%2300A651' stroke-width='1.5' stroke-opacity='0.08' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

.app-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px; 
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
}

/* --- HEADER / LOGO --- */
.header {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.brand-logo-img {
    height: 90px; /* Tamanho ajustável da logo (Aumentado) */
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.brand-subtitle {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--brand-accent);
    margin-top: 4px;
    text-transform: uppercase;
}

/* --- REDES SOCIAIS --- */
.social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05); /* Fundo sutil invés de solido */
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background-color: var(--brand-accent);
    color: var(--brand-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(217, 174, 184, 0.3);
}

.social-btn svg { width: 20px; height: 20px; }

/* --- BENTO GRID ESTILIZADO --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    border-color: var(--brand-accent);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(35,14,24,0.95) 0%, rgba(35,14,24,0.4) 60%, rgba(35,14,24,0) 100%);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    z-index: 2;
    color: white;
}

.bento-content.center {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}

.bento-item.tall {
    height: 260px;
}

.bento-item.tall .bento-content p {
    font-size: 12px;
    font-family: var(--font-inter);
    color: var(--brand-light);
    line-height: 1.4;
    opacity: 0.85;
}

.badge {
    display: inline-block;
    background-color: var(--brand-accent);
    color: var(--brand-dark);
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.bento-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bento-item.small {
    height: 122px;
}

.bento-item.brand-colored {
    background: none;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* --- LISTA DE SERVIÇOS TIPO ACORDEÃO (Novo) --- */
.list-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--card-border);
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 18px;
    color: var(--brand-accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-item-wrapper {
    background-color: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
}

/* Quando passa o mouse no fechado */
.list-item-wrapper:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Quando está Ativo (Aberto) */
.list-item-wrapper.active {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    margin: 8px 0; /* Dá um espacinho extra quando abre */
}

.list-item-header {
    display: flex;
    align-items: center;
    padding: 12px;
}

/* Círculo do número do serviço */
.item-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 18px;
    background-color: var(--brand-medium);
    color: var(--brand-accent);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.list-item-wrapper.active .item-avatar {
    background-color: var(--brand-accent);
    color: var(--brand-medium);
}

.item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-info h4 {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.item-info p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.action-text {
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--brand-accent);
    margin-top: 6px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.list-item-wrapper:hover .action-text {
    opacity: 1;
}

/* Ícone girando quando abre */
.action-text svg {
    transition: transform 0.4s ease;
}
.list-item-wrapper.active .action-text svg {
    transform: rotate(180deg);
}

/* Conteúdo Expandido (Escondido por padrão) */
.list-item-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-item-wrapper.active .list-item-content {
    max-height: 300px; /* Suficiente pro texto */
    opacity: 1;
}

.content-inner {
    padding: 0 16px 20px 72px; /* Alinhado com o texto de cima, ignorando o circulo */
}

.content-inner p {
    font-size: 13px;
    color: var(--brand-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Botão de contato dentro do modal */
.contact-btn {
    display: inline-block;
    background-color: var(--brand-accent);
    color: var(--brand-dark);
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 11px;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease 0.4s 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); }
}

/* --- BLACKJACK MINIGAME --- */
.bj-section {
    background-color: var(--card-bg);
    border: 1px solid var(--brand-accent);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.1s both;
    box-shadow: 0 0 20px rgba(0, 166, 81, 0.1);
}
.bj-header { text-align: center; margin-bottom: 16px; }
.bj-header h3 { font-size: 18px; color: var(--brand-accent); }
.bj-header p { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.4; }

.bj-table {
    background-color: #0d2b14; /* Cor de mesa de carteado */
    border-radius: 12px;
    padding: 16px;
    border: 2px solid #081a0c;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.bj-hand { margin-bottom: 16px; }
.bj-hand span { font-size: 12px; font-weight: bold; color: rgba(255,255,255,0.8); display: block; margin-bottom: 8px; font-family: var(--font-title); }
.cards-area {
    display: flex; gap: 8px; min-height: 70px;
}
.bj-card {
    width: 48px; height: 68px;
    background-color: white; border-radius: 4px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: black; font-weight: bold; font-size: 16px; font-family: var(--font-inter);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    position: relative;
    animation: bounceIn 0.3s ease;
}
.bj-card.red { color: #d32f2f; }
.bj-card.hidden {
    background-image: repeating-linear-gradient(45deg, #b71c1c 0, #b71c1c 5px, white 5px, white 10px);
    color: transparent;
}
.bj-card::before {
    content: attr(data-suit);
    position: absolute; top: 4px; left: 4px; font-size: 10px; line-height: 1;
}
.bj-card::after {
    content: attr(data-suit);
    position: absolute; bottom: 4px; right: 4px; font-size: 10px; line-height: 1; transform: rotate(180deg);
}
.bj-card.hidden::before, .bj-card.hidden::after { display: none; }

.bj-controls { display: flex; gap: 10px; justify-content: center; }
.bj-btn {
    flex: 1; padding: 12px; border-radius: 8px; font-family: var(--font-title);
    font-weight: bold; font-size: 13px; cursor: pointer; transition: all 0.2s; border: none;
}
.bj-btn.hit { background-color: var(--brand-accent); color: var(--brand-dark); }
.bj-btn.hit:hover { background-color: white; }
.bj-btn.stand { background-color: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
.bj-btn.stand:hover { background-color: rgba(255,255,255,0.1); }
.bj-btn.restart { background-color: #333; color: white; width: 100%; margin-top: 10px; }

.bj-result {
    text-align: center; padding: 10px; background-color: rgba(0,0,0,0.6); border-radius: 8px;
    animation: fadeIn 0.4s ease;
}
.bj-result h4 { font-size: 18px; color: var(--brand-accent); margin-bottom: 4px; }
.bj-result p { font-size: 12px; margin-bottom: 12px; }
.bj-coupon { background-color: #ffeb3b; color: black; font-family: monospace; font-size: 16px; font-weight: bold; padding: 8px; border-radius: 4px; letter-spacing: 2px; }

.bj-start-overlay {
    position: absolute; inset: 0; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(3px);
    display: flex; justify-content: center; align-items: center; z-index: 10;
}
.bj-start-overlay.hidden { display: none; }
.bj-btn.start-game { background-color: var(--brand-accent); color: #000; padding: 14px 24px; font-size: 15px; }

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
