:root {
    --bg: #ffffff;
    --bg-alt: #f9fbfd;
    --primary: #ff7a3c;
    --primary-soft: rgba(255, 122, 60, 0.15);
    --primary-dark: #e46022;
    --text: #19212e;
    --muted: #667085;
    --border: #e4e7ec;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-subtle: 0 4px 12px rgba(15, 23, 42, 0.04);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Layout base */

.container {
    width: 70%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}

.logo{
    width: 10%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    padding: 0.25rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Botões */

.btn {
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.55rem 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.18s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff!important;
    box-shadow: 0 12px 25px rgba(255, 122, 60, 0.4);
        text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 122, 60, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text);
}

.btn-buy-header {
    background: rgba(10, 10, 10, 0.842);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #FFF;
}
.btn-buy-header:hover {
    background: rgba(10, 10, 10, 0.438);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #FFF;
}

.btn-outline:hover {
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-ghost:hover {
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.86rem;
}

.btn-full {
    width: 100%;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-inline {
    padding: 0;
}

/* Mobile nav */

.nav-toggle {
    display: none;
    flex-direction: column;
    width: 24px;
    height: 24px;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
}

.mobile-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Hero */

.hero {
    padding: 4rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-text p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.86rem;
    color: var(--muted);
}

.hero-card {
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.6rem;
    background: radial-gradient(circle at top left, #fff2e8, #ffffff);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 122, 60, 0.2);
}

.hero-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.hero-events {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.hero-event-item {
    padding: 0.6rem 0.7rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 122, 60, 0.22);
    font-size: 0.88rem;
}

.hero-event-item span {
    display: block;
    color: var(--muted);
}

.hero-event-location {
    font-size: 0.82rem;
}

.hero-linktree {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
    text-decoration: none;
}

.hero-linktree:hover {
    text-decoration: underline;
}

/* Seções */

.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header h2,
.section-header h1 {
    margin: 0 0 0.5rem;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

/* Cards empresas */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.card-empresa {
    border-radius: var(--radius-md);
    padding: 1.2rem 1.2rem 1rem;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.card-empresa h3 {
    margin: 0;
}

.card-empresa p {
    margin: 0 0 0.4rem;
    color: var(--muted);
}

/* Empresas página */

.empresas-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.empresa-detail {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem 1.6rem;
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.empresa-detail h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.empresa-detail p {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.empresa-list {
    padding-left: 1.1rem;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

/* Eventos cards */

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-subtle);
}

.event-card-image {
    height: 180px;
    background: linear-gradient(135deg, #fff4eb, #ffe0c8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image-placeholder {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-size: 0.75rem;
}

.event-card-content {
    padding: 1.2rem 1.3rem 1.1rem;
}

.event-card-content h2,
.event-card-content h3 {
    margin: 0 0 0.4rem;
}

.event-meta {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.event-location {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.event-description {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Carousel */

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.carousel-track {
    display: flex;
    transition: transform 0.35s ease-out;
}

.carousel-item {
    min-width: 100%;
    padding: 1.1rem 1.3rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    border: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--muted);
}

.carousel-control:hover {
    background: #f9fafb;
}

.carousel-control.prev {
    left: 0.75rem;
}

.carousel-control.next {
    right: 0.75rem;
}

/* Paginação */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    padding: 0 0.75rem;
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-link:hover {
    border-color: var(--primary);
}

/* Footer */

.site-footer {
    margin-top: 2.5rem;
    background: #ffffff;
}

.footer-grid {
    padding: 2rem 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    font-size: 0.9rem;
}

.site-footer h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 0.4rem;
}

.site-footer a {
    text-decoration: none;
    color: var(--muted);
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 0.7rem 0;
    background: #f8fafc;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Auth */

.auth-body {
    background: radial-gradient(circle at top, #ffe3cf, #f8fafc);
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 360px;
    padding: 1.5rem;
}

.auth-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem 1.7rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 122, 60, 0.18);
}

.auth-card h1 {
    margin: 0 0 0.25rem;
}

.auth-card p {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.auth-form input {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.9rem;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(255, 122, 60, 0.15);
}

.auth-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--muted);
}

.auth-link:hover {
    color: var(--primary);
}

/* Admin */

.admin-body {
    margin: 0;
    background: #f3f4f6;
    font-family: 'Inter', system-ui, sans-serif;
}

.admin-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.admin-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.1rem;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.admin-user {
    color: var(--muted);
    margin-right: 0.5rem;
}

.admin-main .admin-section form {
    width: 100%;
    margin: 0 auto;
}

.admin-section {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border);
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-card {
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.6);
    padding: 1rem 1.1rem;
    background: #f9fafb;
    font-size: 0.9rem;
}

.admin-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.admin-card p {
    margin: 0 0 0.5rem;
    color: var(--muted);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 0.5rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #edf0f5;
}

.admin-table th {
    color: var(--muted);
    font-weight: 500;
}


/* Responsivo */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .empresas-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }

    .admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 2.6rem;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-card {
        padding: 1rem 1rem;
    }

    .event-card-image {
        height: 140px;
    }
}


.pagination {
    display: flex;
    gap: 8px;
    margin: 30px auto;
    justify-content: center;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.pagination a.active,
.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.event-carousel {
    overflow-x: auto;
    padding: 10px 0;
}

.event-carousel-track {
    display: flex;
    gap: 16px;
}

.event-card {
    min-width: 280px;
    max-width: 280px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: 0.2s;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.event-card-info {
    padding: 12px 15px 18px;
}

.event-card-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.event-card-info p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: #555;
}

.event-card-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.event-hero img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 0 0 18px 18px;
}

.event-details {
    padding: 40px 20px;
}

.event-details h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.event-meta {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 26px;
}

.event-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .event-hero img {
        height: 240px;
    }

    .event-details {
        padding: 25px 15px;
    }
}

/* ===== LISTAGEM DE EVENTOS NA HOME ===== */
/* Container principal do carrossel */
.home-events-swiper {
  width: 70%;
  margin: 0 auto; /* centraliza horizontalmente */
  padding-bottom: 90px;
  position: relative;
}

/* Espaçamento e layout dos slides */
.home-events-swiper .swiper-wrapper {
  display: flex;
}

.home-events-swiper .swiper-slide {
  flex-shrink: 0;
  width: auto;
  display: flex;
  justify-content: center;
}

/* Card de evento */
.home-event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  width: 420px; /* largura ideal para mostrar 4 cards em 70% */
  transition: transform 0.3s ease;
}

.home-event-card:hover {
  transform: translateY(-4px);
}

.home-event-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f5f5f5;
}

.home-event-card-info {
  padding: 14px 18px 20px;
  text-align: left;
}

.home-event-card-info h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.home-event-card-info p {
  margin: 3px 0;
  color: #444;
  font-size: 0.92rem;
}

.home-event-btn {
  margin-top: 10px;
  display: inline-block;
  background: #ff5c1f;
  color: white;
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
}


.swiper-pagination {
  position: relative !important;
  margin-top: 30px;
  text-align: center;
  bottom: auto !important; /* remove posicionamento fixo inferior */
}
.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #ff6b00;
}



.event-gallery {
    margin-top: 40px;
}

.event-gallery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 0;
}

.event-gallery-item {
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.units-grid {
    display: grid;
    gap: 30px;
    max-width: 70%;
    margin: 0 auto;
    padding: 0 20px;
    grid-template-columns: repeat(4, 1fr);
}

/* 3 colunas no tablet */
@media (max-width: 1100px) {
    .units-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 colunas no mobile grande */
@media (max-width: 780px) {
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 coluna no mobile pequeno */
@media (max-width: 520px) {
    .units-grid {
        grid-template-columns: 1fr;
    }
}


/* -------- HOVER ANIMADO NOS CARDS -------- */
.unit-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all .35s ease;
    opacity: 0;              /* Para a animação de cascata */
    transform: translateY(20px);
}

.unit-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

/* Zoom suave na imagem ao hover */
.unit-card:hover .unit-card-img {
    transform: scale(1.06);
    transition: transform .4s ease;
}

.unit-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s ease;
}


.unit-card-info {
    padding: 18px 22px;
}

.unit-card-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.35rem;
}

.unit-card-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 14px;
    line-height: 1.5;
}

.units-stack {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.unit-horizontal {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.unit-horizontal-img img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.unit-horizontal-img img.appear {
    opacity: 1;
    transform: translateY(0);
}

.unit-horizontal-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unit-horizontal-info h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text);
}

.unit-horizontal-info p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.unit-badge.auto {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e3efff;
    color: #1e4fa3;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    max-width: max-content;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.unit-badge.auto i {
    font-size: 14px;
}

/* Redes sociais */
.unit-socials {
    display: flex;
    gap: 16px;
    margin: 10px 0;
}

.unit-socials a {
    font-size: 20px;
    color: #666;
    transition: 0.2s ease;
}

.unit-socials a:hover {
    color: var(--primary);
}

/* Botão */
.btn-details {
    display: inline-block;
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.25s ease;
    width: fit-content;
}

.btn-details:hover {
    background: var(--primary-dark);
}

/* Responsivo */
@media (max-width: 960px) {
    .unit-horizontal {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .unit-horizontal-img img {
        max-height: 260px;
    }
}


/* ===== GALERIA DAS UNIDADES ===== */

.unit-gallery-block {
    margin-bottom: 60px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.unit-gallery-title {
    font-size: 1.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.unit-gallery-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.55;
}

.unit-gallery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 0 14px 0;
}

.unit-gallery-img {
    height: 190px;
    min-width: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.unit-divider {
    margin: 40px auto;
    max-width: 90%;
    border: none;
    border-bottom: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
    .unit-gallery-img {
        height: 150px;
        min-width: 220px;
    }

    .unit-gallery-title {
        font-size: 1.5rem;
    }
}

.unit-hero img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 0 0 22px 22px;
}

.unit-details {
    padding: 40px 20px;
}

.unit-details h1 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.unit-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

/* Galeria interna */
.unit-internal-gallery {
    margin-top: 40px;
}

.unit-gallery-track {
    display: flex;
    overflow-x: auto;
    gap: 14px;
}

.unit-gallery-img {
    height: 160px;
    border-radius: 10px;
    min-width: 260px;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

/* Mapa */
.unit-map-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    margin-top: 20px;
}
.unit-map-frame iframe {
    width: 100%;
    height: 400px;
    border: none;
}


.unit-details .btn {
    margin-right: 10px;
}


.unit-insta-gallery {
    margin-top: 50px;
}

.unit-insta-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.unit-insta-img {
    height: 180px;
    min-width: 180px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 3px 14px rgba(0,0,0,0.12);
    transition: transform .2s;
}

.unit-insta-img:hover {
    transform: scale(1.04);
}


/* ======================================================
   🔶 FORMULÁRIOS DO PAINEL ADMINISTRATIVO — PADRÃO GLOBAL
   ====================================================== */

.admin-section form {
    width: 100%;
    margin: 0 auto;
}

/* GRID PRINCIPAL DOS CAMPOS */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px 26px;
    margin-top: 25px;
    margin-bottom: 30px;
}

/* LABEL */
.form-grid label {
    display: flex;
    flex-direction: column;
    font-size: 0.93rem;
    font-weight: 600;
    color: #222;
}

/* INPUTS, SELECT E TEXTAREA */
.form-grid input,
.form-grid select,
.form-grid textarea {
    margin-top: 7px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: .94rem;
    font-family: inherit;
    color: #333;
    transition: .2s;
}

/* FOCUS */
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 122, 60, 0.25);
    outline: none;
}

/* TEXTAREA */
.form-grid textarea {
    min-height: 130px;
    resize: vertical;
}

/* INPUT FILE */
.form-grid input[type=file] {
    padding: 12px;
    background: #fafafa;
    border-radius: 10px;
    cursor: pointer;
}

.form-grid input[type=file]:hover {
    background: #f1f1f1;
}

/* CAMPOS FULL (LINHA INTEIRA) */
label.full {
    grid-column: 1 / -1;
}

/* ALERTAS (SUCCESS & ERROR) */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.alert-success {
    background: #4c9666!important;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* BOTÕES */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

.btn-primary:hover {
    background: #ff6a2a;
}

.btn-outline {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: .2s;
}

.btn-outline:hover {
    background: #f5f5f5;
}

/* BOTÃO PERIGOSO */
.btn-danger {
    background: #b91c1c;
    color: #fff;
    border: none;
}

.btn-danger:hover {
    background: #991b1b;
}

/* GRUPO DE BOTÕES */
.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ===============================
   🔥 Botão Flutuante "Comprar Ingresso"
   =============================== */

.btn-floating-buy {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: var(--primary);
    color: #fff;
    padding: 15px 22px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: 0.25s ease;
    z-index: 999;
}

.btn-floating-buy:hover {
    background: #ff6a2a;
    transform: translateY(-4px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .btn-floating-buy {
        padding: 12px 18px;
        font-size: .95rem;
        bottom: 16px;
        right: 16px;
    }
}

.preview-box {
    width: 140px;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    margin: 10px;
    text-align: center;
    font-size: 0.8rem;
}
.preview-box img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}


canvas {
    width: 100% !important;
    height: 360px !important;
    display: block;
}


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

.stat-card {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    transition: transform .2s, box-shadow .2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.stat-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-compare {
    font-size: .9rem;
    margin-bottom: 14px;
}
.stat-compare.positivo { color: #0f8a29; }
.stat-compare.negativo { color: #c31b1b; }
.stat-compare.neutro { color: #777; }

    .btn-details {
        display: inline-block;
        padding: 10px 18px;
        background: #ff7a00;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        border-radius: 12px;
        text-decoration: none;
        transition: .2s ease;
    }

    .btn-details:hover {
        background: #e86c00;
    }

    /* WIDGET CLIMA */
    .weather-card {
        background: linear-gradient(135deg, #ff7a00, #ff9d42);
        color: #fff;
        border-radius: 18px;
        padding: 26px;
        box-shadow: 0 10px 32px rgba(0,0,0,.12);
    }
    .weather-temp {
        font-size: 48px;
        font-weight: 700;
    }
    .weather-info {
        margin-top: 6px;
        font-size: 15px;
        opacity: .9;
    }

    /* BOTÕES MODERNOS COM SETA ANIMADA */
.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #ff7a00;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-details:hover {
    background: #e86c00;
}

/* Seta animada */
.btn-details .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.btn-details:hover .arrow {
    transform: translateX(5px);
}

/* BOTÃO OUTLINE */
.btn-details-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #ff7a00;
    background: transparent;
    color: #ff7a00;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-details-outline:hover {
    background: #ff7a00;
    color: #fff;
}

.btn-details-outline .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.btn-details-outline:hover .arrow {
    transform: translateX(5px);
}


/* SLIDE HOME */
/* SETAS FORA DO CONTAINER DO SLIDE */
.home-slider {
    position: relative;
}

.home-slider .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform .5s ease;
}

.slide-item {
    min-width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.slide-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
}

/* Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffffd9;
    border: none;
    padding: 12px 18px;
    font-size: 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: .2s;
}

.slide-btn:hover {
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.slide-btn.prev {
    left: 20px;
}

.slide-btn.next {
    right: 20px;
}

/* SLIDER DENTRO DO CONTAINER */
.home-slider-section {
    margin: 60px 0;
}

.home-slider {
    position: relative;
    height: 560px;
    border-radius: 18px;
    overflow: visible;
    border-radius: 20px;
}

/* Slides */
.slides-container {
    position: relative;
    height: 100%;
}

.slide {
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}
/* Imagem */
.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
    transition: filter .3s ease;
}

/* Conteúdo */
.slide-content {
    position: absolute;
    bottom: 40px;
    left: 50px;
    max-width: 60%;
    color: #fff;

    opacity: 0;
    transform: translateY(25px);
    transition: opacity .4s ease, transform .4s ease;

    pointer-events: none; /* evita clique antes do hover */
}

.slide:hover .slide-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide:hover .slide-bg {
    filter: brightness(.65);
}


.slide-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
}

/* Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    /* Glass */
    background: rgba(255, 255, 255, 0.089);      /* Transparência */
    backdrop-filter: blur(10px);                /* Desfoque */
    -webkit-backdrop-filter: blur(10px);        /* Safari */
    border: 1px solid rgba(255, 255, 255, 0.35);
    
    color: #255fac;
    font-size: 28px;
    font-weight: 600;

    padding: 15px;
    border-radius: 14px;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    transition: all .3s ease;

    z-index: 9999;
}

/* Hover — mais forte */
.slide-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    transform: translateY(-50%) scale(1.06);
}

/* Posições para fora do slide */
.slide-arrow.prev {
    left: -85px;
}
.slide-arrow.next {
    right: -85px;
}

/* Responsividade */
@media (max-width: 900px) {
    .slide-arrow.prev { left: -25px; }
    .slide-arrow.next { right: -25px; }
}

@media (max-width: 650px) {
    .slide-arrow.prev { left: -10px; }
    .slide-arrow.next { right: -10px; }
}

@media (max-width: 500px) {
    .slide-arrow {
        padding: 10px 14px;
        font-size: 22px;
    }
}


.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  color: #007aff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  opacity: 0.7;
  z-index: 10;
  transition: all 0.3s ease;
}

/* Hover */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Fora das imagens */
.swiper-button-prev {
  left: -90px; /* afasta da imagem */
}

.swiper-button-next {
  right: -50px;
}

/* Responsivo */
@media (max-width: 768px) {
  .swiper-button-prev {
    left: -20px;
  }
  .swiper-button-next {
    right: -20px;
  }
}


/* Bullets */
.slide-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 15px;
    height: 15px;
    background: #ffffff85;
    border-radius: 50%;
    cursor: pointer;
    transition: .2s;
}

.dot.active {
    background: #ff7a00;
    transform: scale(1.2);
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.65), rgba(0,0,0,0.0));
    opacity: 0;
    transition: opacity .4s ease;
    border-radius: 18px;
}

.slide:hover::before {
    opacity: 1;
}

.dots-events{
    margin-top: 20px;
}


/* BADGE CONTAINER */
.event-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

/* MODELO BASE DO BADGE */
.badge {
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* CORES PASTÉIS PREMIUM */
.badge-blue {
    background: #e3efff;
    color: #1e4fa3;
}

.badge-green {
    background: #e4f8e7;
    color: #1b7a38;
}

.badge-orange {
    background: #fff1e3;
    color: #b85a00;
}


.unit-badge {
    display: inline-block;
    background: #e3efff;
    color: #1e4fa3;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


.unit-badge i {
    font-size: 14px;
    margin-right: 6px;
}


.logo-footer{
    width: 30%;
}

.site-footer {
    background: #141318;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-grid h4 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid ul li a {
    color: #cfcfcf;
    text-decoration: none;
    transition: 0.2s;
}

.footer-grid ul li a:hover {
    color: #ff7a00;
}

.logo-footer img {
    width: 160px;
}

.footer-bottom {
    margin-top: 40px;
    background: #141318;
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #bbbbbb;
    font-size: 14px;
}

.events-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
    margin-bottom: 25px;
    color: #0e0e0e;
    letter-spacing: -1px;
}

/* Responsivo */
@media (max-width: 768px) {
    .events-hero-title {
        font-size: 2.6rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .events-hero-title {
        font-size: 2.1rem;
    }
}

.event-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

/* Botão Ver Detalhes */
.btn-details {
    background: #ff7a00;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-details:hover {
    background: #e56e00;
}

/* Botão de compartilhar */
.btn-share {
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #808080;
    transition: 0.2s;
    background-color: #FFF;
}

.btn-share:hover {
    background: #ff7a00;
    color: #ffffff;
}

.weather-google {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    max-width: 900px;
    margin: 0 auto;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* HEADER */
.wg-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.wg-left {
    display: flex;
    gap: 14px;
    align-items: center;
}

.wg-icon {
    font-size: 48px;
}

.wg-temp {
    font-size: 45px;
    font-weight: 600;
}

.wg-extra {
    font-size: 13px;
    opacity: .8;
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.wg-right {
    text-align: right;
}

.wg-title {
    font-size: 20px;
    font-weight: 600;
}

.wg-date {
    opacity: .7;
    font-size: 14px;
}

.wg-desc {
    font-size: 15px;
    margin-top: 3px;
}

/* TABS */
.wg-tabs {
    display: flex;
    gap: 18px;
    border-bottom: 2px solid #eee;
    margin-top: 20px;
    margin-bottom: 12px;
}

.wg-tabs button {
    background: none;
    border: none;
    font-size: 15px;
    padding: 8px 0;
    cursor: pointer;
    opacity: .6;
}

.wg-tabs button.active {
    opacity: 1;
    border-bottom: 3px solid #ffbd00;
}

/* FORECAST DIAS */
.wg-forecast {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0 6px;
}

.wg-forecast::-webkit-scrollbar {
    height: 6px;
}

.wg-forecast::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 20px;
}

/* Card do dia */
.wg-forecast-item {
    min-width: 100px;
    text-align: center;
    font-size: 13px;
}

.wg-forecast-day {
    text-transform: lowercase;
    margin-bottom: 4px;
}

.wg-forecast-icon {
    font-size: 26px;
}

.wg-forecast-temp {
    font-weight: 600;
    margin-top: 3px;
}

.wg-forecast-extra {
    font-size: 12px;
    opacity: .7;
}

/* Responsivo */
@media (max-width: 640px) {
    .wg-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wg-right {
        text-align: left;
    }
}



.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
}

.lightbox.hidden {
    display: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    margin-bottom: 20px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

