/* ====== FONTES ====== */
@font-face {
  font-family: 'Century Gothic';
  src: url('/fonts/CenturyGothic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Century Gothic';
  src: url('/fonts/CenturyGothic-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ====== GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Century Gothic', Arial, sans-serif;
}

/* =====================================================
   VARIÁVEIS E RESET
===================================================== */
:root {
  --verde-escuro: #01260a;
  --verde-principal: #2e7d32;
  --verde-claro: #e8f5e9;
  --cinza-bg: #f7f7f7;
  --cinza-borda: #e0e0e0;
  --preto: #000;
  --branco: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', Roboto, sans-serif;
  background: #f4f6f5;
  color: #222;
  line-height: 1.4;
  font-size: 16px;
}

/* =====================================================
   TIPOGRAFIA
===================================================== */
h1 {
  color: var(--verde-escuro);
  margin-bottom: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 16px;
}

/* =====================================================
   HEADER
===================================================== */
.header {
  width: 100%;
  height: 480px;
  background: url("banner-desk.jpg") center / cover no-repeat;
}

@media (max-width: 768px) {
  .header {
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url("banner-mobile.jpg");
  }

  h1 {
    font-size: 28px !important;
  }
}

/* =====================================================
   LAYOUT PRINCIPAL
===================================================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px 16px;
  background: var(--branco);
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =====================================================
   INFO BOX
===================================================== */
.info-box {
  background: var(--cinza-bg);
  padding: 20px;
  border-radius: 12px;
  font-size: 14px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.svg-icon {
  width: 18px;
  height: 18px;
  background-color: var(--verde-principal);
  flex-shrink: 0;
  mask: no-repeat center / contain;
  -webkit-mask: no-repeat center / contain;
}

/* =====================================================
   MAPA
===================================================== */
.map-box {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cinza-borda);
}

.map-box iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

/* =====================================================
   FORMULÁRIO
===================================================== */
.form-section {
  background: var(--verde-principal);
  padding: 48px 12px;
  color: var(--branco);
}

.form {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form input {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  min-height: 42px;
  font-family: inherit;
}

/* =====================================================
   BOX FORM
===================================================== */
.box-form {
  background-color: #19541c;
  width: 100%;
  max-width: 820px;
  border-radius: 18px;
  padding: 16px 14px 32px;
  margin: auto;
}

@media (min-width: 900px) {
  .box-form {
    width: 45%;
  }
}

/* =====================================================
   ERROS
===================================================== */
.field-error {
  display: none;
  font-size: 16px;
  background-color: #b90000;
  color: #ffffff;
  padding: 5px;
  border-radius: 5px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}


#estado{
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    min-height: 42px;
    font-family: inherit;
    color: #7e8282;
}

#cidade{
    padding: 14px;
       border-radius: 8px;
    border: none;
    font-size: 14px;
    min-height: 42px;
    font-family: inherit;
     color: #7e8282;
}


/* Mobile: vira 1 coluna */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid #cidade {
    grid-column: auto;
  }
}

/* =========================
   BIOLOGICOS (RADIO)
========================= */
.biologicos-grid {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 600px) {
  .biologicos-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* =========================
   BIOLÓGICOS – OPÇÕES EM LINHAS
========================= */
.biologicos-grid {
  display: flex;
  flex-direction: column; /* força linhas */
  gap: 12px;
}

/* garante que cada opção ocupe 100% */
.biologicos-grid .segmento-option {
  width: 100%;
}

/* =====================================================
   SEGMENTO / RADIO BUTTONS
===================================================== */
.segmento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.segmento-option input {
  display: none;
}

.segmento-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: var(--branco);
  color: var(--verde-escuro);
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s ease;
}

.segmento-option input:checked + span {
  background: #15c922;
  color: var(--branco);
}

/* =====================================================
   KOPPERT GRID (CORRIGIDO MOBILE)
===================================================== */
.koppert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .koppert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.koppert-option input {
  display: none;
}

.koppert-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: var(--branco);
  color: var(--verde-escuro);
  font-weight: 600;
  font-size: 14px;
}

.koppert-option input:checked + span {
  background: #15c922;
  color: var(--branco);
}

/* =====================================================
   BOTÃO
===================================================== */
.form button {
  margin-top: 18px;
  padding: 14px;
  background: var(--preto);
  color: var(--branco);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
}

/* =========================
   SEÇÃO PATROCINADORES
========================= */
.patrocinadores-titulo {
  font-size: 26px;
  font-weight: 700;
  color: #01260a;
  margin-bottom: 36px;
}

/* GRID DE LOGOS */
.patrocinadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
}

/* ITEM INDIVIDUAL */
.patrocinador-item {
  background-color: #f4f6f5;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 260px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.patrocinador-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* LOGOS */
.patrocinador-item img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(0%);
}

/* MOBILE */
@media (max-width: 600px) {
  .patrocinadores-section {
    padding: 40px 12px;
  }

  .patrocinadores-titulo {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .patrocinador-item {
    padding: 20px;
    min-height: 100px;
  }
}

/* =========================
   TABELA DE PROGRAMAÇÃO
========================= */
.programacao-titulo {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #01260a;
  margin: 40px 0 24px;
}

.tabela-wrapper {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.programacao-tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

/* CABEÇALHO */
.programacao-tabela thead th {
  background: linear-gradient(180deg, #2e7d32, #01260a);
  color: #ffffff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.programacao-tabela thead th:first-child {
  width: 90px;
}

/* LINHAS */
.programacao-tabela tbody tr {
  background-color: #ffffff;
}

.programacao-tabela tbody tr + tr {
  border-top: 1px solid #e0e0e0;
}

/* CÉLULAS */
.programacao-tabela td {
  padding: 16px;
  vertical-align: top;
}

/* HORÁRIO */
.programacao-tabela .hora {
  font-weight: 700;
  color: #01260a;
  white-space: nowrap;
}

/* ATIVIDADE */
.programacao-tabela td strong {
  display: block;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

/* SUBTEXTO (ex: palestrante) */
.programacao-tabela td span {
  display: block;
  font-size: 13px;
  color: #555;
}

/* HOVER */
.programacao-tabela tbody tr:hover {
  background-color: #f6faf6;
}

/* MOBILE */
@media (max-width: 600px) {
  .programacao-titulo {
    font-size: 22px;
  }

  .programacao-tabela {
    font-size: 14px;
  }

  .programacao-tabela td {
    padding: 14px 12px;
  }

  .programacao-tabela thead th {
    font-size: 13px;
  }
}

/* =====================================================
   BOTÃO MAPS
===================================================== */
.btn-maps {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 14px;
  margin-top: 14px;
  background: var(--verde-escuro);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
}

/* =========================
   LGPD – CONSENTIMENTO
========================= */
/*
.lgpd-box {
  margin-top: 24px;
  padding: 16px 18px;
  background-color: #f6faf6;
  border: 1px solid #d8ead8;
  border-radius: 10px;
}
*/

.checkbox-lgpd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* ESCONDE CHECKBOX NATIVO */
.checkbox-lgpd input[type="checkbox"] {
  display: none;
}

/* CHECKBOX VISUAL */
.checkbox-custom {
  min-width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #2e7d32;
  background-color: #ffffff;
  position: relative;
  margin-top: 3px;
}

/* CHECK ATIVO */
.checkbox-lgpd input:checked + .checkbox-custom {
  background-color: #fff;
  border-color: #fff;
}

.checkbox-lgpd input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #2e7d32;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* TEXTO */
.checkbox-text {
  font-size: 12px;
  color: #ffffff;
}

/* MOBILE */
@media (max-width: 600px) {
  .lgpd-box {
    padding: 14px;
  }

  .checkbox-text {
    font-size: 13px;
  }
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  background: var(--preto);
  color: var(--branco);
}
