/* ================================================= */
/* 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;
    }
}
/* ================================================= */
/* SEO / CONTEÚDO EDUCACIONAL DA HOME                */
/* ================================================= */
.seo-section,
.faq-section {
    margin-top: 70px;
}

.seo-section-head {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

.seo-kicker {
    display: inline-block;
    color: var(--primary);
    background: #fff3ed;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.seo-section-head h2 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--text-main);
}

.seo-section-head p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.seo-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.seo-step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.seo-step-card > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff3ed;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 14px;
}

.seo-step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 9px;
}

.seo-step-card p {
    font-size: 0.91rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.seo-cta-inline {
    margin-top: 28px;
    text-align: center;
}

.seo-cta-inline p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 18px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    padding: 17px 28px 17px 0;
    position: relative;
    line-height: 1.35;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 14px;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 500;
}

.faq-list details[open] summary::after {
    content: '–';
}

.faq-list details p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.93rem;
    padding: 0 0 17px;
}

@media (max-width: 900px) {
    .seo-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header {
        padding: 12px 10px;
    }

    .header-content {
        gap: 10px;
        min-width: 0;
    }

    .header-auth {
        gap: 8px;
    }

    .btn-nav-register {
        padding: 9px 11px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .hero-wrapper {
        padding: 28px 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-container,
    .vantagens-grid-web,
    .seo-steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-textos,
    .hero-card-preview,
    .preview-box,
    .v-card,
    .seo-step-card,
    .faq-list,
    .faq-list details {
        min-width: 0;
        max-width: 100%;
    }

    .hero-textos h1 {
        font-size: 1.95rem;
        overflow-wrap: anywhere;
    }

    .hero-botoes .btn-principal-cta,
    .seo-cta-inline .btn-principal-cta {
        display: block;
        width: 100%;
    }

    .seo-section,
    .faq-section {
        margin-top: 50px;
    }

    .seo-section-head h2 {
        font-size: 1.55rem;
    }
}
