/* ===========================
   RESET BÁSICO
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #0f172a;
  line-height: 1.6;
}

/* ===========================
   VARIÁVEIS
=========================== */
:root {
  --bg: #f5f7fa;
  --bg-soft: #eef2f7;
  --surface: #ffffff;
  --border-soft: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --accent-strong: #1d4ed8;
  --danger: #ef4444;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* ===========================
   LAYOUT / CONTAINER
=========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   HEADER / NAV
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 250, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand-logo {
  height: 160px;   
  width: auto;
  max-width: 100%;
}
/* NAV */
.nav {
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav-list a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.nav-list a.active {
  background: var(--accent);
  color: #ffffff;
}

/* MENU MOBILE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 34px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.15s, opacity 0.15s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===========================
   HERO / PÁGINAS
=========================== */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-light {
  background: radial-gradient(circle at top left, #e0f2fe, transparent 60%),
              radial-gradient(circle at bottom right, #e5e7eb, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2.3rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #e0edff;
  color: #1d4ed8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

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

.hero-text h1 span {
  display: block;
  font-weight: 500;
  color: #1e293b;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* HERO STATS */
.hero-stats {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.85rem;
}

.hero-stats .stat-label {
  display: block;
  font-weight: 600;
  color: var(--accent-strong);
  font-size: 1rem;
}

.hero-stats .stat-text {
  display: block;
  color: var(--text-muted);
}

/* HERO PANEL */
.hero-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.hero-panel h2 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.hero-panel p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* CHIPS */
.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.chip-list li {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #1e293b;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.hero-links a {
  text-decoration: none;
  color: var(--accent-strong);
}

/* ===========================
   PAGES / SECTION BASE
=========================== */
.page-hero {
  padding: 3.2rem 0 2.2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
}

.narrow {
  max-width: 720px;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  color: var(--text-main);
}

.page-sub {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* GENERAL SECTIONS */
.section {
  padding: 3rem 0;
}

.section-soft {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* GRIDS */
.grid-3 {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* ===========================
   CARDS
=========================== */
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.card-plain {
  box-shadow: none;
}

.card h2,
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.card-list {
  list-style: none;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-list li + li {
  margin-top: 0.2rem;
}

/* CHECKLISTS */
.list-check {
  list-style: none;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
}

.list-check li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
}

/* ===========================
   CTA
=========================== */
.section-cta {
  background: linear-gradient(135deg, #e0edff, #fefce8);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.cta p {
  color: #1e293b;
  font-size: 0.96rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ===========================
   BOTÕES
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border 0.15s, transform 0.08s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--accent-strong);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-border {
  background: #ffffff;
  border-color: var(--border-soft);
  color: #1e293b;
}

.btn-border:hover {
  border-color: var(--accent);
}

/* ===========================
   CONTATO
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--accent-strong);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-cta {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* FORMULÁRIO */
.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.contact-form p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form label {
  font-size: 0.86rem;
  color: #0f172a;
}

.contact-form input,
.contact-form textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-soft);
  font-size: 0.92rem;
  font-family: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.contact-form button.btn-primary {
  color: #ffffff !important;
  opacity: 1 !important;
}

.btn-primary {
  color: #ffffff !important;
}
/* ===========================
   PUBLICAÇÕES
=========================== */

.pub-block {
  margin-bottom: 2.4rem;
}

.pub-block h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.pub-block > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pub-item {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.pub-item h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.pub-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.pub-link {
  font-size: 0.88rem;
  color: var(--accent-strong);
  text-decoration: none;
}

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

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pub-item h2 {
  font-size: 1rem;
}

.pub-item a {
  text-decoration: none;
  color: var(--accent-strong);
}

.pub-item a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 1.4rem 0 1.6rem;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

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

.footer-nav a:hover {
  color: var(--accent-strong);
}

/* ===========================
   RESPONSIVIDADE
=========================== */

@media (max-width: 720px) {
  .brand-logo {
    height: 48px;      /* um pouco menor em telas pequenas */
  }
}

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

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

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

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    min-width: 190px;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-soft);
    transition: opacity 0.13s ease-out, transform 0.13s ease-out;
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

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

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