:root {
  --bg-dark: #0b0b0f;
  --bg-darker: #050509;
  --bg-card: #15151b;
  --accent: #c0c0c0;
  --accent-soft: #d9d9d9;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --border-soft: #2a2a33;
  --radius: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.theme-dark {
  background: radial-gradient(circle at top, #20202a 0, #050509 45%, #000000 100%);
  color: var(--text-main);
}

.header {
  background: linear-gradient(90deg, #000000, #15151b);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo img {
  height: 90px;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav a {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
}

.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

.btn-small {
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
}

/* HERO */

.hero {
  padding: 3rem 1.5rem 2.5rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  color: var(--accent-soft);
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, #2a2a33, #15151b);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.hero-card ul {
  list-style: none;
  font-size: 0.9rem;
}

.hero-card li {
  margin-bottom: 0.4rem;
}

/* SEÇÕES */

.section {
  padding: 2.5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-gradient {
  background: linear-gradient(135deg, #15151b, #000000);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.section p {
  font-size: 0.95rem;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

/* GRID CARDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--accent-soft);
}

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.5rem;
}

/* CONTATO */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.info-list {
  list-style: none;
  font-size: 0.95rem;
}

.info-list li {
  margin-bottom: 0.4rem;
}

.contact-form form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--border-soft);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  margin-top: 0.6rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #33333f;
  background: #0b0b10;
  color: var(--text-main);
  font-size: 0.9rem;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* ADMIN */

.section-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.section-narrow {
  max-width: 420px;
}

.login-form,
.admin-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--border-soft);
  margin-top: 1rem;
}

.login-form label,
.admin-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  margin-top: 0.6rem;
}

.login-form input,
.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #33333f;
  background: #0b0b10;
  color: var(--text-main);
  font-size: 0.9rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  border: 1px solid var(--border-soft);
  padding: 0.5rem;
}

.admin-table th {
  background: #101018;
}

/* FOOTER */

.footer {
  background: #000000;
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--accent-soft);
  text-decoration: none;
  margin-left: 0.8rem;
  font-size: 0.85rem;
}

/* RESPONSIVO */

@media (max-width: 900px) {
  .hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
  }
}
.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 12px;
}

.carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 32px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.6);
}
