/* ============================================
   Estilos do Frontend Público
   Clube dos Casados de Salto - A.I.R.C.S.
   Cores baseadas no site: Laranja/Coral, Creme, 
   ============================================ */

:root {
    /* Cores do Clube dos Casados */
    --primary: #D35400;
    /* Laranja escuro principal */
    --primary-dark: #A04000;
    /* Laranja mais escuro */
    --primary-light: #E67E22;
    /* Laranja claro */
    --secondary: #2C3E50;
    /* Azul escuro para contraste */
    --accent: #E74C3C;
    /* Vermelho do coração do logo */
    --accent-light: #F1948A;
    /* Vermelho claro */

    --cream: #FAF6F0;
    /* Creme de fundo */
    --cream-dark: #F5EBE0;
    /* Creme escuro */
    --beige: #E8DED3;
    /* Bege */

    --success: #27AE60;
    --warning: #F39C12;
    --danger: #C0392B;
    --info: #3498DB;

    --dark: #1a1a1a;
    --light: #FAF6F0;
    --gray: #7F8C8D;
    --gray-light: #BDC3C7;
    --white: #ffffff;

    --text-dark: #2C3E50;
    --text-light: #7F8C8D;

    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', 'Georgia', serif;
    background: var(--cream);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header - Layout Novo (estilo antigo do site)
   ============================================ */

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--beige);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.site-header .logo {
    display: flex;
    align-items: center;
}

.site-header .logo img {
    height: 80px;
}

.header-slogan {
    text-align: right;
}

.header-slogan .slogan-main {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.header-slogan .slogan-sub {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--primary);
    font-style: italic;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid var(--beige);
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.main-nav .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Header Scrolled - esconde logo/slogan, apenas menu fica visível */
.site-header .header-top {
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    max-height: 200px;
    opacity: 1;
    overflow: hidden;
}

.site-header.header-scrolled .header-top {
    max-height: 0;
    opacity: 0;
    padding: 0;
}

.site-header.header-scrolled .main-nav {
    border-top: none;
}

/* ============================================
   Popup de Eventos
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.popup-content {
    position: relative;
    max-width: 500px;
    max-height: 90vh;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 1;
}

.popup-close:hover {
    background: var(--danger);
    color: white;
}

.popup-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive header */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-slogan {
        text-align: center;
    }

    .header-slogan .slogan-main {
        font-size: 1.5rem;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        display: none;
    }

    .main-nav.mobile-open {
        display: flex;
    }

    .main-nav .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
}

/* Old header styles (kept for compatibility) */
.header {
    background: var(--cream);
    padding: 15px 0;
    border-bottom: 1px solid var(--beige);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .slogan {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.logo-text .tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ============================================
   Hero Banner
   ============================================ */

.hero-banner {
    position: relative;
    height: 450px;
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.9), rgba(192, 57, 43, 0.85)),
        url('https://clubedoscasadosdesalto.com.br/wp-content/uploads/2023/08/banner-slider-2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* ============================================
   Seções
   ============================================ */

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ============================================
   Cards de Eventos
   ============================================ */

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.evento-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--beige);
}

.evento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.evento-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.evento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evento-card-image .placeholder-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.4);
}

.evento-card-body {
    padding: 25px;
}

.evento-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid var(--beige);
}

.evento-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.evento-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.evento-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--beige);
}

.evento-price {
    font-size: 0.85rem;
    color: var(--text-light);
}

.evento-price strong {
    display: block;
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   Sobre / Quem Somos
   ============================================ */

.sobre-section {
    background: var(--cream-dark);
    padding: 80px 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.sobre-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.sobre-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ============================================
   Galeria
   ============================================ */

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.galeria-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.galeria-item:hover::after {
    opacity: 1;
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.galeria-overlay span {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ============================================
   Botões
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #C0392B);
    color: var(--white);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #1E8449);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   Mapa Interativo - Página do Evento
   ============================================ */

.evento-page {
    padding: 40px 0;
}

.evento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
    flex-wrap: wrap;
}

.evento-header-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.evento-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.evento-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.evento-meta-item i {
    color: var(--primary);
}

.evento-precos {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--beige);
    box-shadow: var(--shadow);
}

.evento-precos h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.preco-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige);
}

.preco-item:last-child {
    border-bottom: none;
}

/* ============================================
   Mapa de Mesas
   ============================================ */

.mapa-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--beige);
}

.mapa-section h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.mapa-section h3 i {
    color: var(--primary);
}

.mapa-container-public {
    background: var(--cream);
    border-radius: var(--radius);
    overflow-x: auto;
    padding: 20px;
    border: 1px solid var(--beige);
}

.mapa-wrapper-public {
    position: relative;
    width: 850px;
    height: 680px;
    background: linear-gradient(180deg, #FAF6F0 0%, #E8DED3 100%);
    border: 2px solid var(--beige);
    border-radius: var(--radius);
    margin: 0 auto;
}

/* Áreas do mapa */
.mapa-area-public {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mapa-palco-public {
    top: 25px;
    left: 290px;
    width: 300px;
    height: 40px;
    background: rgba(62, 62, 62, 0.08);
    border: 3px dashed rgba(62, 62, 62, 0.4);
    color: #3E3E3E;
    font-size: 14px;
}

.mapa-pista-public {
    top: 170px;
    left: 330px;
    width: 270px;
    height: 350px;
    background: rgba(211, 84, 0, 0.08);
    border: 3px dashed rgba(211, 84, 0, 0.4);
    color: var(--primary);
    font-size: 14px;
}

/* Mesas */
.mesa-public {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    user-select: none;
}

.mesa-public:hover:not(.vendida):not(.bloqueada):not(.reservada) {
    transform: scale(1.15);
    z-index: 100;
}

.mesa-public.disponivel {
    background: linear-gradient(135deg, var(--success), #1E8449);
    color: white;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
}

.mesa-public.disponivel:hover {
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.5);
}

.mesa-public.reservada {
    background: linear-gradient(135deg, var(--warning), #D68910);
    color: white;
    cursor: not-allowed;
}

.mesa-public.vendida {
    background: linear-gradient(135deg, var(--danger), #922B21);
    color: white;
    cursor: not-allowed;
    opacity: 0.85;
}

.mesa-public.bloqueada {
    background: linear-gradient(135deg, var(--gray), #5D6D7E);
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.mesa-public.selecionada {
    border-color: var(--accent) !important;
    box-shadow: 0 0 20px var(--accent) !important;
    transform: scale(1.1);
    z-index: 50;
}

/* Legenda */
.mapa-legenda-public {
    display: flex;
    gap: 25px;
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius);
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid var(--beige);
}

.legenda-item-public {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.legenda-cor-public {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.legenda-cor-public.disponivel {
    background: linear-gradient(135deg, var(--success), #1E8449);
}

.legenda-cor-public.reservada {
    background: linear-gradient(135deg, var(--warning), #D68910);
}

.legenda-cor-public.vendida {
    background: linear-gradient(135deg, var(--danger), #922B21);
}

.legenda-cor-public.bloqueada {
    background: linear-gradient(135deg, var(--gray), #5D6D7E);
}

.legenda-cor-public.selecionada {
    background: linear-gradient(135deg, var(--success), #1E8449);
    border: 2px solid var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* ============================================
   Carrinho Lateral
   ============================================ */

.carrinho-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    border-left: 1px solid var(--beige);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.carrinho-sidebar.active {
    transform: translateX(0);
}

.carrinho-header {
    padding: 25px;
    border-bottom: 1px solid var(--beige);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--cream);
}

.carrinho-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.carrinho-header h3 i {
    color: var(--primary);
}

.carrinho-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.carrinho-close:hover {
    color: var(--accent);
}

.carrinho-body {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.carrinho-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.carrinho-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: var(--beige);
}

.carrinho-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--cream);
    border-radius: var(--radius);
    margin-bottom: 10px;
    border: 1px solid var(--beige);
}

.carrinho-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.carrinho-item-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.carrinho-item-remove {
    background: rgba(192, 57, 43, 0.1);
    border: none;
    color: var(--danger);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carrinho-item-remove:hover {
    background: var(--danger);
    color: white;
}

.carrinho-footer {
    padding: 25px;
    border-top: 1px solid var(--beige);
    background: var(--cream);
}

.carrinho-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.carrinho-total strong {
    color: var(--primary);
    font-size: 1.5rem;
}

.carrinho-timer {
    text-align: center;
    padding: 15px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.carrinho-timer i {
    color: var(--warning);
}

.carrinho-timer span {
    font-weight: 700;
    color: var(--warning);
}

/* Botão flutuante do carrinho */
.carrinho-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.4);
    transition: var(--transition);
    z-index: 1000;
    display: none;
}

.carrinho-fab.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrinho-fab:hover {
    transform: scale(1.1);
}

.carrinho-fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Checkout
   ============================================ */

.checkout-page {
    padding: 40px 0;
    background: var(--cream);
    min-height: 100vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--beige);
    box-shadow: var(--shadow);
}

.checkout-form-section h3 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.checkout-form-section h3 i {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--cream);
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Resumo do pedido */
.checkout-resumo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--beige);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.checkout-resumo h3 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
}

.checkout-resumo h3 i {
    color: var(--primary);
}

.resumo-evento {
    padding: 15px;
    background: var(--cream);
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid var(--beige);
}

.resumo-evento h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.resumo-evento span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.resumo-itens {
    margin-bottom: 20px;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige);
}

.resumo-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 2px solid var(--beige);
    font-size: 1.2rem;
}

.resumo-total strong {
    color: var(--primary);
    font-size: 1.5rem;
}

.checkout-timer {
    text-align: center;
    padding: 15px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.checkout-timer i {
    color: var(--warning);
    margin-right: 8px;
}

.checkout-timer .timer {
    font-weight: 700;
    color: var(--warning);
    font-size: 1.2rem;
}

/* Métodos de pagamento */
.payment-methods {
    margin-top: 30px;
}

.payment-method {
    padding: 20px;
    background: var(--cream);
    border: 2px solid var(--beige);
    border-radius: var(--radius);
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(211, 84, 0, 0.05);
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.payment-method.pix i {
    color: #00BFAE;
}

.payment-method.cartao i {
    color: var(--info);
}

.payment-method-info h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.payment-method-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   Alertas
   ============================================ */

.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: var(--warning);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

/* ============================================
   Responsivo
   ============================================ */

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-resumo {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-banner {
        height: 350px;
    }

    .eventos-grid {
        grid-template-columns: 1fr;
    }

    .evento-header {
        flex-direction: column;
    }

    .carrinho-sidebar {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* ============================================
   Loading
   ============================================ */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--beige);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}