/* ================================================= */
/* CONFEITARIA PLUS - DESIGN SYSTEM UNIFICADO        */
/* ================================================= */

:root {
    --primary: #ff6600;
    --primary-dark: #e05a00;
    --bg-page: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Padrão */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 30px;
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

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

.nav-link-login {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.btn-nav-register {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-nav-register:hover {
    background-color: var(--primary-dark);
}

/* ================================================= */
/* ESTILOS DA PÁGINA INICIAL (INDEX.PHP)             */
/* ================================================= */

.hero-wrapper {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    width: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-textos .badge-destaque {
    display: inline-block;
    background-color: #fff3ed;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-textos h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-textos h1 span {
    color: var(--primary);
}

.hero-textos p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-principal-cta {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-principal-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Card Preview da Home (Lado Direito) */
.hero-card-preview .preview-box {
    background: var(--card-bg);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.preview-box h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.preview-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.ben-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.ben-list li {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.preview-footer-aviso {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 4px solid var(--primary);
}

/* Seção de Vantagens da Home */
.vantagens-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.vantagens-grid-web {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.v-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.v-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.v-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.v-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================================================= */
/* TELAS DE LOGIN E CADASTRO (CENTRALIZADAS)         */
/* ================================================= */

.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.auth-card .badge-destaque {
    display: inline-block;
    background-color: #fff3ed;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.auth-card h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.auth-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.input-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-main);
    background-color: #fff;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

/* Rodapé */
.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .vantagens-grid-web {
        grid-template-columns: 1fr;
    }
    .hero-textos h1 {
        font-size: 2rem;
    }
}