/* ================================
   RESET / BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #0d0d0f;
    color: #ddd;
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

/* ================================
   GRID PRINCIPAL
================================ */

.container {
    display: grid;
    grid-template-columns: 260px 1fr;
    max-width: 1500px;
    width: 100%;
    gap: 30px;
}

/* ================================
   SIDEBAR
================================ */

.sidebar {
    background: #111114;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 30px 20px;
    border-radius: 18px;
    height: max-content;
}

.profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.profile img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}

.profile .info h3 {
    font-weight: 600;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.stat {
    background: #161618;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav a {
    background: #161618;
    color: #ccc;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    transition: 0.2s;
}

.nav a.active {
    background: #b00020;
    color: white;
}

/* ================================
   MAIN / CARDS
================================ */

.main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    background: #111114;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* ================================
   BLOCO DE COTAÇÃO
================================ */

.market {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.symbol {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon {
    background: #b00020;
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.price-big {
    font-size: 2rem;
    font-weight: 700;
}

/* ================================
   SIMULADOR / NOVO
================================ */

.mode-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.input {
    width: 100%;
    background: #161618;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    margin-top: 5px;
    font-size: 1rem;
}

.primary {
    flex: 1;
    padding: 14px;
    background: #b00020;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.package-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.package-item {
    background: #161618;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: .2s;
}

.package-item:hover {
    background: #1e1e20;
}

.result-card {
    margin-top: 20px;
    background:#2d7115;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
}

/* ================================
   CONTATO
================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.contact-btn {
    background: #161618;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
}
.contact-btn:hover{
    background-color:#b00020;;
}
.info-list {
    margin-top: 20px;
}

.info-item {
    background: #161618;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

h3{
    margin:20px;
}

.muted{
    margin: 20px;
}

/* ================================
   RESPONSIVIDADE - TABLET
================================ */

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 20px;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .profile {
        grid-column: 1 / 2;
        margin-bottom: 0;
    }

    .stat-list {
        grid-column: 2 / 5;
        flex-direction: row;
        margin-bottom: 0;
        gap: 15px;
    }

    .stat {
        flex: 1;
    }

    .nav {
        grid-column: 1 / 5;
        flex-direction: row;
        gap: 10px;
    }

    .nav a {
        flex: 1;
        text-align: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
    .contact-btn {
        background: #161618;
        color: white;
        text-decoration: none;
        text-align: center;
        padding: 12px;
        border-radius: 10px;
    }
    .contact-btn:hover{
        background-color:#b00020;
    }

    
    

/* ================================
   RESPONSIVIDADE - MOBILE
================================ */

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        gap: 15px;
    }

    .sidebar {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }

    .profile {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 10px;
  }

    .stat-list {
        display: none;
    }
    

    .stat {
        padding: 8px;
        font-size: 0.9rem;
    }

    .nav {
        grid-column: auto;
        flex-direction: column;
    }

    .nav a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .card {
        padding: 15px;
        border-radius: 12px;
    }

    .price-big {
        font-size: 1.5rem;
    }

    .input {
        padding: 12px;
    }

    .primary {
        padding: 12px;
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    .contact-btn:hover{
        background-color:#b00020;
    }

    h3 {
        margin: 15px;
        font-size: 1.1rem;
    }

    .muted {
        margin: 15px;
        font-size: 0.9rem;
    }
    .info-list{
        display: none;
    }
    .market {
        flex-direction: row;
        align-items: center;
        padding: 20px;
}
.info p{
    display:none;
}

/* ================================
   RESPONSIVIDADE - MOBILE PEQUENO
================================ */

@media (max-width: 480px) {
    body {
        padding: 8px;
    }

    .container {
        gap: 12px;
    }

    .sidebar {
        padding: 10px;
        gap: 8px;
    }

    .profile img {
        width: 50px;
        height: 50px;
    }

    .profile .info h3 {
        font-size: 0.95rem;
    }

    .stat {
        padding: 8px;
        font-size: 0.8rem;
    }

    .nav a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .card {
        padding: 12px;
    }

    .market {

        flex-direction: row;
        align-items: center;
        padding: 20px;
    }
    .price-big {
        font-size: 1.3rem;
    }

    .mode-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .primary {
        padding: 10px;
        font-size: 0.85rem;
    }

    .package-item {
        padding: 12px;
        font-size: 0.9rem;
    }

    .result-card {
        padding: 12px;
        margin-top: 15px;
    }

    .result-card h2 {
        font-size: 1.3rem;
    }

    .contact-grid {
        gap: 8px;
    }

    .contact-btn {
        padding: 10px;
        font-size: 0.85rem;
    }

    h3 {
        margin: 10px;
        font-size: 1rem;
    }

    .muted {
        margin: 10px;
        font-size: 0.8rem;
    }

 
    .info-list{
        display: none;
    }

