/* =========================
   Estilo principal - Ponto do bicho
   Paleta aleatória: azul profundo + laranja quente
   ========================= */

:root {
  --color-bg: #050816;
  --color-bg-alt: #0b1020;
  --color-primary: #ff8a3d;
  --color-primary-soft: rgba(255, 138, 61, 0.15);
  --color-text: #f5f5fb;
  --color-muted: #a7b0c8;
  --color-border: #252b45;
  --color-card: #0f162c;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1a2445 0, #050816 45%, #02030a 100%);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #151b3b 0, #050816 60%);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   Header e navegação
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.65));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--color-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.main-nav a.active {
  color: #050816;
  background: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 18px;
  background: var(--color-text);
  border-radius: 999px;
}

/* =========================
   Hero
   ========================= */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw + 1.3rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--color-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0.6rem;
}

.hero-keywords {
  font-size: 0.8rem;
  color: var(--color-muted);
  opacity: 0.9;
}

.hero-image img {
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   Botões
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color var(--transition-med), color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}

.btn.primary {
  background: linear-gradient(135deg, #ff8a3d, #ffb347);
  color: #050816;
  box-shadow: 0 14px 35px rgba(255, 138, 61, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(255, 138, 61, 0.65);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--color-text);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn.link-btn {
  padding-inline: 0;
  border: none;
  background: none;
  color: var(--color-primary);
  font-weight: 500;
}

.btn.link-btn:hover {
  text-decoration: underline;
}

/* =========================
   Cards e listas
   ========================= */

.card {
  background: radial-gradient(circle at top left, rgba(255, 138, 61, 0.12), rgba(19, 26, 54, 0.96));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 138, 61, 0.4);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.3rem 1.3rem;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card-body p {
  color: var(--color-muted);
  font-size: 0.93rem;
}

.card-link {
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 138, 61, 0.18);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 500;
}

.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.icon-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.product-meta {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.product-meta li + li {
  margin-top: 0.25rem;
}

.news-card .card-body h3 {
  margin-bottom: 0.4rem;
}

.news-card .badge {
  margin-bottom: 0.5rem;
}

.team-card img {
  height: 210px;
  object-fit: cover;
}

.team-card .card-body p {
  font-size: 0.9rem;
}

/* =========================
   Página - hero genérico
   ========================= */

.page-main {
  padding-bottom: 3rem;
}

.page-hero {
  padding: 3.3rem 0 2.2rem;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--color-muted);
  max-width: 580px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(9, 13, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.filter-bar select {
  margin-top: 0.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #050816;
  color: var(--color-text);
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
}

.section-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  background: var(--color-primary-soft);
}

/* =========================
   Contato
   ========================= */

.contact-form {
  background: rgba(9, 13, 32, 0.9);
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050816;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.5);
}

.form-feedback {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-feedback.success {
  color: #6cffc3;
}

.form-feedback.error {
  color: #ff8a8a;
}

.contact-info {
  margin-top: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.contact-info a {
  color: var(--color-primary);
}

.map-placeholder img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   CTA final
   ========================= */

.section-cta {
  padding: 3rem 0 3.5rem;
  background: radial-gradient(circle at bottom right, #151a3e 0, #050816 60%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner p {
  color: var(--color-muted);
  max-width: 520px;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3rem 0 1.5rem;
  background: #050816;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-keywords {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* =========================
   Utilidades
   ========================= */

.hidden {
  display: none !important;
}

/* =========================
   Responsividade
   ========================= */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-block: 0.7rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav ul {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(5, 8, 22, 0.98);
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform-origin: top;
    transform: scaleY(0.4);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .main-nav.open ul {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    padding: 0.5rem 0.7rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }

  .page-hero {
    padding-top: 2.5rem;
  }

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}


