/*
   Theme Name: Sacred Stewardship
   Colors: Deep Navy (#0A192F), Aged Gold (#C5A059), Divine White (#FFFFFF), Serene Beige (#FDFBF7)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --deep-navy: #0A192F;
    --aged-gold: #C5A059;
    --aged-gold-hover: #AA8440;
    --divine-white: #FFFFFF;
    --serene-beige: #FDFBF7;
    --muted-silver: #E0E0E0;
    --background: #f9f9f9;
    --text-primary: #1a1c1c;
    --text-secondary: #44474d;
    --error: #ba1a1a;
    --success: #1a7a44;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 0.125rem; /* 2px */
    --radius-default: 0.25rem; /* 4px */
    --radius-md: 0.375rem; /* 6px */
    --radius-lg: 0.5rem; /* 8px */
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 700;
}

a {
    color: var(--aged-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--aged-gold-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.main-header {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--divine-white);
    font-weight: 700;
}

.logo-text span {
    color: var(--aged-gold);
}

.header-cta .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    border-radius: var(--radius-default);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--aged-gold);
    color: var(--divine-white);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--aged-gold-hover);
    transform: translateY(-2px);
    color: var(--divine-white);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--aged-gold);
    color: var(--aged-gold);
}

.btn-secondary:hover {
    background-color: var(--aged-gold);
    color: var(--divine-white);
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--deep-navy);
    color: var(--divine-white);
}

.btn-navy:hover {
    background-color: #122c4f;
    color: var(--divine-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Section Spacing */
.section {
    padding: 100px 0;
}

.section-secondary {
    background-color: var(--serene-beige);
}

.section-navy {
    background-color: var(--deep-navy);
    color: var(--divine-white);
}

.section-navy h2, .section-navy h3 {
    color: var(--divine-white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--aged-gold);
    margin: 15px auto 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
    max-height: 500px;
    object-fit: contain;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--aged-gold);
    font-size: 22px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Box de Compra Imediata */
.buy-box {
    background-color: var(--divine-white);
    border: 1px solid var(--muted-silver);
    border-top: 4px solid var(--aged-gold);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.price-value {
    font-size: 32px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--deep-navy);
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--muted-silver);
    border-radius: var(--radius-default);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px dashed var(--muted-silver);
}

.total-label {
    font-weight: 700;
    color: var(--deep-navy);
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--aged-gold);
}

.buy-box-notes {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 15px;
    text-align: center;
    line-height: 1.4;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 25px;
    text-align: center;
}

.badge-item {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.badge-item i {
    color: var(--aged-gold);
    font-size: 18px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background-color: var(--divine-white);
    border: 1px solid var(--muted-silver);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(10, 25, 47, 0.05);
}

.card-gold-border {
    border-top: 3px solid var(--aged-gold);
}

.card-icon {
    font-size: 32px;
    color: var(--aged-gold);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Individual Section */
.individual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list li i {
    color: var(--aged-gold);
    font-size: 18px;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--muted-silver);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--deep-navy);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 15px;
}

.faq-chevron {
    color: var(--aged-gold);
    transition: transform 0.3s;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Timeline/Fases */
.timeline {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--aged-gold);
}

.timeline-item {
    padding-left: 50px;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--aged-gold);
    border: 3px solid var(--divine-white);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* About Author */
.author-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.author-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Checkout Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 40px;
}

.checkout-box {
    background-color: var(--divine-white);
    border: 1px solid var(--muted-silver);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
}

.checkout-box h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--muted-silver);
    padding-bottom: 10px;
    font-size: 20px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--deep-navy);
}

.form-control {
    padding: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid var(--muted-silver);
    border-radius: var(--radius-default);
    background-color: var(--serene-beige);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--aged-gold);
    background-color: var(--divine-white);
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    border-top: 1px dashed var(--muted-silver);
    padding-top: 12px;
    margin-top: 12px;
    color: var(--deep-navy);
}

/* Payment Methods List */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-option {
    border: 1px solid var(--muted-silver);
    border-radius: var(--radius-default);
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.payment-method-option:hover {
    border-color: var(--aged-gold);
    background-color: var(--serene-beige);
}

.payment-method-option input {
    accent-color: var(--aged-gold);
}

/* Admin Dashboard CSS */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--deep-navy);
    color: var(--divine-white);
    padding: 30px 20px;
    border-right: 1px solid rgba(197, 160, 89, 0.2);
}

.admin-sidebar h2 {
    color: var(--divine-white);
    font-size: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-menu-item a {
    color: #a5b4fc;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-default);
    font-size: 15px;
    font-weight: 500;
}

.admin-menu-item.active a, .admin-menu-item a:hover {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--aged-gold);
}

.admin-main {
    padding: 40px;
    background-color: var(--background);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--muted-silver);
    padding-bottom: 15px;
}

.admin-card-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--divine-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--muted-silver);
}

.stat-card-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-navy);
}

/* Data Table */
.data-table-container {
    background: var(--divine-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--muted-silver);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 16px 20px;
    font-size: 14px;
}

.data-table th {
    background-color: var(--serene-beige);
    color: var(--deep-navy);
    font-weight: 700;
    border-bottom: 2px solid var(--muted-silver);
}

.data-table td {
    border-bottom: 1px solid var(--muted-silver);
}

.data-table tr:hover {
    background-color: var(--serene-beige);
}

.status-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pago { background-color: #d1fae5; color: #065f46; }
.status-pendente { background-color: #fef3c7; color: #92400e; }
.status-cancelado { background-color: #fee2e2; color: #991b1b; }
.status-enviado { background-color: #dbeafe; color: #1e40af; }

/* Footer */
.main-footer {
    background-color: var(--deep-navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px 0;
    font-size: 14px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--divine-white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--aged-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--aged-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image-container {
        order: -1;
    }
    
    .qty-selector {
        margin: 0 auto;
    }
    
    .individual-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .author-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none; /* Simplificado para mobile */
    }
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) translateY(-3px);
    color: #FFF;
}

