.payment-disabled-banner {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
}

.hidden { display: none !important; }
/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Rose palette (shared with Admin) */
    --rose-25: #fff9fb;
    --rose-50: #fff5f7;
    --rose-100: #ffe9ef;
    --rose-200: #ffd9e3;
    --rose-300: #ffb8cb;
    --rose-400: #ff8fb0;
    --rose-500: #f56b98;
    --rose-600: #e85486;
    --rose-700: #d44273;
    --gray-25: #fcfcfd;
    --gray-50: #f8fafc;
    --gray-100: #f2f4f7;
    --gray-200: #e4e7ec;
    --gray-300: #d0d5dd;
    --gray-400: #98a2b3;
    --gray-500: #667085;
    --gray-600: #475467;
    --gray-700: #344054;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 12px 24px rgba(16, 24, 40, 0.08);
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Lilac & Beige additions */
    --lilac-300: #d8bfff;
    --lilac-400: #caa8ff;
    --lilac-500: #b589ff;
    --beige-50: #fff7f0;
    --beige-100: #fdf2e9;
    --beige-200: #faeadc;

    /* Legacy variables mapped to new palette for compatibility */
    --color-primary: var(--rose-600);
    --color-primary-alt: var(--lilac-400);
    --color-bg1: var(--rose-50);
    --color-bg2: var(--lilac-300);
    --color-bg3: var(--rose-100);
    --color-text: var(--gray-700);
    --color-text-soft: var(--gray-600);
    --color-text-muted: var(--gray-500);
    --gradient-bg: linear-gradient(135deg, var(--color-bg1) 0%, var(--color-bg2) 50%, var(--color-bg3) 100%);
    --gradient-primary: linear-gradient(135deg, var(--rose-600), var(--lilac-400));
    --gradient-primary-soft: linear-gradient(135deg, var(--beige-50), var(--rose-25));
    --color-surface-alt: var(--beige-50);
    --color-surface: var(--beige-100);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--gradient-bg);
    min-height: 100vh;
}

/* Acessibilidade: link para pular conteúdo */
.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #dc143c;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    z-index: 2000;
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(253, 242, 233, 0.92); /* beige-100 with alpha */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo-img {
    height: 64px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 6px; /* was 8px */
    background: var(--rose-100);
    border: 1px solid var(--rose-200);
    border-radius: 999px;
    padding: 4px; /* was 6px */
}

.nav-toggle { display:none; background: transparent; color: var(--gray-700); border:1px solid var(--gray-200); padding:10px 14px; font-size:1.1rem; border-radius:12px; cursor:pointer; box-shadow: var(--shadow-sm); }


.nav-link { text-decoration:none; color: var(--gray-600); font-weight:600; transition: all .2s ease; padding:6px 12px; border-radius:999px; font-size:0.95rem; }
.nav-link:hover { color: var(--rose-700); background: var(--rose-200); }

.admin-link {
    background: linear-gradient(135deg, #dc143c, #d8bfd8);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg1) 0%, var(--color-bg2) 50%, var(--color-bg3) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23g)"/><circle cx="80" cy="40" r="1.5" fill="url(%23g)"/><circle cx="40" cy="80" r="1" fill="url(%23g)"/><circle cx="90" cy="90" r="2.5" fill="url(%23g)"/><circle cx="10" cy="60" r="1.2" fill="url(%23g)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-10px) translateX(5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--rose-600), var(--rose-400), var(--rose-600));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    margin: 0; /* spacing handled by the row container */
    text-shadow: 0 2px 10px rgba(212, 66, 115, 0.12);
}

/* Title + Logo row */
.hero-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-logo {
    height: 96px;
    width: auto;
    filter: drop-shadow(0 10px 18px rgba(212, 66, 115, 0.18)) drop-shadow(0 2px 4px rgba(0,0,0,0.06));
    animation: hero-float 4.5s ease-in-out infinite;
    will-change: transform;
}

.hero-logo:hover { transform: translateY(-2px) scale(1.03); }

@keyframes hero-float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(232, 84, 134, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.4);
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--rose-600), var(--rose-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.form-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Carrinho Flutuante */
.cart-widget {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    min-width: 280px;
    max-width: 320px;
    transition: all 0.3s ease;
}

.cart-header {
    background: var(--rose-600);
    color: white;
    padding: 15px 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cart-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cart-widget.collapsed .cart-toggle {
    transform: rotate(-90deg);
}

.cart-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.cart-widget.collapsed .cart-content {
    display: none;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-name {
    flex: 1;
    color: var(--color-text);
}

.cart-item-price {
    color: #dc143c;
    font-weight: 600;
}

.empty-cart {
    text-align: center;
    color: var(--color-text-subtle);
    font-style: italic;
    padding: 20px 0;
}

.cart-total {
    text-align: center;
    font-size: 1.2rem;
    color: var(--rose-700);
    margin-bottom: 20px;
    padding: 15px;
    background: var(--rose-50);
    border-radius: var(--radius-md);
}

.checkout-btn {
    width: 100%;
    background: var(--rose-600);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.checkout-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 84, 134, 0.3);
}

/* Form Container - Flexbox para permitir reordenação dinâmica */
.video-form {
    display: flex;
    flex-direction: column;
}

/* Form Cards */
.form-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--gray-100);
}

.form-card:hover { background: var(--beige-50); box-shadow: var(--shadow-lg); }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
}

.required {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.optional {
    color: var(--color-text-subtle);
    font-size: 0.9rem;
    font-style: italic;
}

.price-info { color: var(--gray-600); font-size: .9rem; background: var(--rose-50); padding:6px 12px; border-radius:999px; border:1px solid var(--rose-200); }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc143c;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.checkbox-group { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:14px; }

.checkbox-item { display:grid; grid-template-columns: auto 1fr auto; align-items:center; gap:12px; padding:14px 16px; background: var(--gray-50); border-radius: 14px; transition: all .2s ease; cursor:pointer; border:1px solid var(--gray-200); box-shadow: var(--shadow-sm); min-height: 56px; }
.checkbox-item:hover { background: var(--rose-50); border-color: var(--rose-300); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.checkbox-item.selected { background: var(--rose-50); border-color: var(--rose-600); box-shadow: var(--shadow-md); }
.checkbox-item:has(input[type="checkbox"]:checked) { background: var(--rose-50); border-color: var(--rose-600); box-shadow: var(--shadow-md); }

.checkbox-item input[type="checkbox"] { width:18px; height:18px; margin:0; accent-color: var(--rose-600); cursor:pointer; }

.checkbox-label { font-weight:600; color: var(--gray-700); line-height: 1.4; justify-self:start; }

.checkbox-price { color: var(--rose-700); font-weight:700; font-size:.85rem; background: var(--rose-50); border:1px solid var(--rose-200); padding:6px 10px; border-radius:999px; white-space:nowrap; justify-self:end; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-surface);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--rose-600);
    color: white;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.checkout-summary {
    background: var(--beige-50);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.checkout-summary h4 {
    margin-bottom: 15px;
    color: #333;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-total {
    text-align: center;
    font-size: 1.3rem;
    color: var(--rose-700);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--rose-600);
}

/* Payment embed inside success box */
.payment-embed { margin-top: 18px; }
.payment-embed iframe {
    width: 100%;
    height: 520px;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.payment-embed .payment-fallback { margin-top: 10px; font-size: .95rem; }
.payment-embed .payment-fallback a { color: var(--rose-700); font-weight: 600; text-decoration: none; }
.payment-embed .payment-fallback a:hover { text-decoration: underline; }

.checkout-form .form-group {
    margin-bottom: 25px;
}

.payment-methods {
    margin: 30px 0;
}

.payment-methods h4 {
    margin-bottom: 20px;
    color: #333;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.payment-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
    accent-color: var(--color-primary);
}

.payment-option input[type="radio"]:checked + .payment-label {
    color: var(--color-primary);
}

.payment-option:has(input[type="radio"]:checked) { background: var(--gradient-primary-soft); border-color: var(--rose-600); box-shadow: 0 5px 15px rgba(232,84,134,0.2); }

.payment-label {
    flex: 1;
}

.payment-label small {
    display: block;
    color: var(--color-text-soft);
    font-size: 0.85rem;
    margin-top: 5px;
}

.pay-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.pay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.about-section { padding: 48px 0; background: var(--color-surface); }

.about-content { max-width: 760px; margin: 0 auto; text-align: center; }

.about-content p { font-size: 1rem; line-height: 1.7; color: var(--color-text-soft); margin-bottom: 16px; }

.features { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:24px; margin-top:28px; }

.feature { text-align:center; padding:20px 16px; background: var(--gradient-primary-soft); border-radius: var(--radius-lg); transition: all 0.3s ease; }

.feature:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.feature-icon { font-size: 2.2rem; margin-bottom: 12px; display:block; }
.feature-icon-img { height: 36px; width: auto; vertical-align: middle; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08)); }

.feature h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--color-text); }

.feature p { color: var(--color-text-soft); line-height: 1.5; font-size: .95rem; }


/* Redução de movimento */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    filter: none;
}

.footer-text p {
    color: var(--lilac-500);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Mobile total bar */
.mobile-total-bar { position:fixed; bottom:0; left:0; right:0; display:flex; justify-content:space-between; align-items:center; padding:12px 18px; background:rgba(255,255,255,0.95); backdrop-filter:blur(10px); border-top:1px solid #eee; box-shadow:0 -4px 12px rgba(0,0,0,0.08); font-size:0.95rem; z-index:1500; }
.mobile-total-bar button { background:var(--gradient-primary); color:#fff; border:none; padding:12px 18px; border-radius:999px; font-weight:700; cursor:pointer; font-size:0.95rem; box-shadow:0 4px 12px rgba(232,84,134,0.3); }
.mobile-total-bar button:disabled { background:#ccc; box-shadow:none; cursor:not-allowed; }
@media (min-width: 769px){ .mobile-total-bar { display:none; } }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 100%; right: 20px; background: white; flex-direction: column; padding: 20px; border-radius: 15px; box-shadow:0 10px 30px rgba(0,0,0,0.15); display:none; border:1px solid var(--gray-100); }
    .nav.open { display: flex; }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    .hero-logo { height: 72px; }
    .hero-title-row { gap: 10px; }
    
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .cart-widget {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-bottom: 30px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-options {
        gap: 10px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body { padding: 20px; }
    .about-section { padding: 36px 0; }
    .features { gap:20px; margin-top:22px; }
}

@media (max-width: 480px) {
    .form-card { padding: 20px; }
    
    .hero { padding: 100px 0 60px; }
    
    .section-title { font-size: 2.2rem; }

    .about-section { padding: 28px 0; }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Skeleton Loading */
.skeleton-group { display:grid; gap:15px; }
.skeleton { position:relative; overflow:hidden; background: #e3e3e3; border-radius:10px; height:52px; }
.skeleton::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }


