:root {
    --bege-claro: #D4C9BD;
    --bege-rosado: #EDE4DA;
    --bege-escuro: #B5A795;
    --marrom-claro: #A06F53;
    --terracota: #A56250;
    --marrom-escuro: #8C6A5A;
    --marrom-sombra: #2E1B10;
    --branco: #F8F8F8;
    --transparente: rgba(255, 255, 255, 0.1);
    --success: #4CAF50;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Estilos Gerais */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background: url(https://images.unsplash.com/photo-1558769132-cb1aea458c5e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1374&q=80) no-repeat center center fixed;
    background-size: cover;
    display: flex; /* Added for centering if needed */
    flex-direction: column; /* Added for centering if needed */
    min-height: 100vh; /* Ensures background covers full height */
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 20px; /* Added padding to body */
}

.sac-container {
    background-color: rgba(41, 27, 9, 0.85); /* Darker, semi-transparent */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    max-width: 1200px;
    margin: 40px auto; /* Adjusted margin */
    padding: 40px; /* Adjusted padding */
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); /* Stronger shadow */
    border: 1px solid var(--bege-claro);
}

.sac-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    color: var(--branco); /* Changed text color */
}

.sac-header h1 {
    font-family: 'Playfair Display', serif; /* New font */
    font-size: 2.5rem; /* Increased size */
    margin-bottom: 10px;
    color: var(--branco); /* Changed text color */
    letter-spacing: 0.5px; /* Added letter spacing */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Added text shadow */
}

.sac-header i {
    margin-right: 10px;
    color: var(--terracota);
}

/* Cards de Opções */
.sac-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.sac-card {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent */
    border-radius: 12px; /* More rounded */
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Darker shadow */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
}

.sac-card:hover {
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    border-color: var(--bege-claro); /* Highlight border on hover */
}

.sac-card i {
    font-size: 2.5rem;
    color: var(--terracota);
    margin-bottom: 15px;
}

.sac-card h3 {
    margin: 10px 0;
    color: var(--branco); /* Changed text color */
}

.sac-card p {
    color: var(--bege-rosado); /* Changed text color */
    font-size: 0.95rem;
}

/* Seções do SAC */
.sac-section {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent */
    border-radius: 12px; /* More rounded */
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Darker shadow */
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
}

.sac-section h2 {
    font-family: 'Playfair Display', serif; /* New font */
    color: var(--bege-claro); /* Changed text color */
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
}

.sac-section h2 i {
    margin-right: 10px;
    color: var(--terracota);
}

.sac-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--bege-claro); /* Changed text color */
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--bege-claro);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent */
    color: var(--branco); /* White text for input */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracota);
    outline: none;
    box-shadow: 0 0 0 3px rgba(165, 98, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Botões */
.form-actions {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background-color: var(--terracota);
    color: var(--branco);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    max-width: 300px;
    width: 100%;
    font-weight: 600; /* Added font-weight */
    letter-spacing: 0.5px; /* Added letter-spacing */
}

.submit-btn:hover {
    background-color: #B25A47; /* Slightly darker hover color */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow */
}

/* Informações de Contato */
.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
}

.contact-info h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--branco); /* Changed text color */
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-method {
    text-align: center;
    padding: 20px;
    background: rgba(41, 27, 9, 0.7); /* Darker, semi-transparent */
    border-radius: 10px; /* More rounded */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-method i {
    font-size: 2rem;
    color: var(--terracota);
    margin-bottom: 15px;
}

.contact-method p {
    margin: 5px 0;
    color: var(--bege-rosado); /* Changed text color */
}

.contact-method p strong {
    color: var(--branco); /* Changed text color */
}

/* Timeline do Pedido */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 20px 0;
}

.timeline-step {
    position: relative;
    padding-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bege-claro);
    border: 3px solid rgba(41, 27, 9, 0.7); /* Adjusted border color */
    box-shadow: 0 0 0 2px var(--bege-claro);
}

.timeline-step.completed .timeline-marker {
    background-color: var(--success);
    box-shadow: 0 0 0 2px var(--success);
}

.timeline-step.active .timeline-marker {
    background-color: var(--marrom-claro);
    box-shadow: 0 0 0 2px var(--marrom-claro);
    animation: pulse 1.5s infinite;
}

.timeline-content {
    padding: 10px 15px;
    background-color: rgba(41, 27, 9, 0.7); /* Darker, semi-transparent */
    border-radius: 5px;
    color: var(--bege-rosado); /* Adjusted text color */
}

.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 20px;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent line */
}

.timeline-step.completed:not(:last-child)::before {
    background-color: var(--success);
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(165, 98, 80, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(165, 98, 80, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(165, 98, 80, 0); }
}

/* Status do Pedido */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: var(--marrom-claro);
    color: var(--branco);
    font-weight: bold;
    font-size: 14px;
}

/* Produtos do Pedido */
.product-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
}

.product-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
    border: 1px solid var(--bege-claro);
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--branco); /* Changed text color */
}

.product-variant {
    color: var(--bege-rosado); /* Changed text color */
    font-size: 14px;
    margin-bottom: 5px;
}

.product-price {
    font-weight: bold;
    color: var(--terracota);
}

/* Resumo do Pedido */
.order-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(41, 27, 9, 0.7); /* Darker, semi-transparent */
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
    color: var(--bege-rosado); /* Adjusted text color */
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--bege-rosado); /* Changed text color */
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
    font-size: 18px;
    color: var(--branco); /* Changed text color */
}

/* Dúvidas Frequentes */
.sac-section#help-section {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent */
    padding: 2rem;
    border-radius: 12px; /* More rounded */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Darker shadow */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
}

#help-section h2 {
    font-family: 'Playfair Display', serif; /* New font */
    color: var(--branco); /* Changed text color */
    margin-bottom: 1.5rem;
    font-size: 2rem; /* Increased size */
    border-bottom: 2px solid var(--bege-claro);
    padding-bottom: 0.5rem;
}

.help-categories {
    margin-top: 1.5rem;
}

.help-category {
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent */
    border-radius: 10px; /* More rounded */
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Darker shadow */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Semi-transparent border */
}

.help-category h3 {
    color: var(--terracota);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
}

.help-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(41, 27, 9, 0.7); /* Darker, semi-transparent */
    border-radius: 8px; /* More rounded */
    border-left: 4px solid var(--terracota);
    transition: background-color 0.3s ease, border-color 0.3s;
}

.help-item:hover {
    background-color: rgba(165, 98, 80, 0.2); /* Lighter on hover */
    border-color: var(--bege-claro); /* Highlight border on hover */
}

.help-question {
    color: var(--branco); /* Changed text color */
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.help-answer {
    background-color: var(--transparente);
    line-height: 1.5;
    padding-left: 0.5rem;
}

.loading-duvidas {
    color: var(--transparente); /* Changed text color */
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

/* Botão Voltar */
.voltar-home {
    display: inline-block;
    margin-top: 30px; /* Adjusted margin */
    color: var(--bege-claro); /* Changed text color */
    text-decoration: none;
    font-weight: 600; /* Added font-weight */
    margin-left: 0; /* Removed left margin */
    transition: color 0.3s;
}

.voltar-home:hover {
    color: var(--terracota);
    text-decoration: underline;
}

/* Alertas */
.alert {
    background-color: rgba(220, 53, 69, 0.2);
    color: var(--branco); /* Changed text color */
    padding: 15px;
    border-radius: 8px; /* More rounded */
    margin-bottom: 30px; /* Adjusted margin */
    border: 1px solid rgba(220, 53, 69, 0.5);
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .sac-container {
        padding: 25px; /* Adjusted padding */
        margin: 20px 10px; /* Adjusted margin */
    }

    .sac-header h1 {
        font-size: 2rem; /* Adjusted font size */
    }

    .sac-form {
        grid-template-columns: 1fr;
    }

    .form-actions {
        grid-column: 1;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .sac-card {
        padding: 20px;
    }

    .sac-section#help-section {
        padding: 1.5rem; /* Adjusted padding */
    }

    #help-section h2 {
        font-size: 1.8rem; /* Adjusted font size */
    }

    .help-item {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .sac-header h1 {
        font-size: 1.8rem;
    }

    .sac-options {
        grid-template-columns: 1fr;
    }
}

select {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
}

select option {
    background-color: var(--marrom-escuro); /* Fundo escuro para as opções */
    color: var(--branco); /* Texto branco */
    padding: 10px; /* Espaçamento interno */
}