/* =========================
   BASE
========================= */

body { margin: 0; background: #f5f6f8; }

.caravana{
  --surface:#fff;
  --text:#0b1633;
  --muted:#5b647a;
  --gold:#f2b21a;
  --border:1px solid rgba(15,42,132,0.10);
  --shadow:0 16px 40px rgba(10,21,68,0.10);

  font-family: "Albert Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  padding: 18px 0 0;
}

.caravana * { box-sizing: border-box; }
.caravana a { color: inherit; text-decoration: none; }

.container{
  width: 92vw;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

.hero{
  position: relative;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(12,31,102,0.95), rgba(18,54,168,0.92));
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__inner{
  padding: 28px 22px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.hero__logo{
  width: 110px;
  height: 110px;
  border-radius: 26px;
  background-color: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  background-image: url("../img/logo-caravana.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero__title{
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: 40px; /* sem clamp */
}

.hero__subtitle{
  margin: 0;
  font-weight: 400;
  color: rgba(255,255,255,0.86);
  letter-spacing: -0.01em;
}

.hero__actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  width: 92vw;
  max-width: 320px;
}

/* Botões */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, opacity .14s ease;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.btn:active{ transform: translateY(0); }

.btn--gold{ background: linear-gradient(135deg, var(--gold), #ffd36a); color: #1a1a1a; }
.btn--ghost{ background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); color:#fff; }
.btn--blue{ background: linear-gradient(135deg, rgba(12,31,102,0.96), rgba(18,54,168,0.92)); color:#fff; }

/* Decor */
.hero__shape{ position:absolute; border-radius:999px; pointer-events:none; opacity:0.95; }
.hero__shape--blue{
  width: 360px; height: 360px; right: -170px; top: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(52,170,255,0.35), rgba(52,170,255,0) 65%);
}
.hero__shape--gold{
  width: 420px; height: 420px; left: -230px; bottom: -300px;
  background: radial-gradient(circle at 50% 50%, rgba(242,178,26,0.30), rgba(242,178,26,0) 68%);
}
.hero__dots{
  position:absolute;
  width: 170px; height: 170px;
  left: 18px; top: 18px;
  background-image: radial-gradient(rgba(255,255,255,0.28) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: 0.48;
  border-radius: 20px;
  transform: rotate(6deg);
  pointer-events:none;
}

/* =========================
   ABOUT
========================= */

.about{ padding: 18px 0 0; }
.about__card{
  margin-top: 14px;
  background: var(--surface);
  border: var(--border);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(10,21,68,0.06);
}
.about__label{
  display: inline-block;
  font-weight: 600;
  color: rgba(12,31,102,0.95);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.about__text{
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
}
.about__text + .about__text{ margin-top: 10px; }

/* =========================
   SECTIONS
========================= */

.section{ padding: 44px 0; }

.section__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:16px;
}
.section__head h2{
  margin:0;
  font-weight:600;
  letter-spacing:-0.02em;
  font-size: 28px; /* sem clamp */
}
.section__head p{
  margin:0;
  color: var(--muted);
  font-weight:400;
  line-height:1.5;
  max-width:60ch;
}

/* =========================
   FORM
========================= */

.formWrap{ display:grid; gap:14px; }

.formCard{
  background: var(--surface);
  border: var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(10,21,68,0.06);
}

#inscricaoForm{ display:grid; gap:12px; }

.grid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}

.field label{
  display:block;
  font-weight:500;
  margin-bottom:6px;
  color: rgba(11,22,51,0.90);
}
.field label span{ color:#c21f1f; font-weight:600; }

.field input, .field textarea{
  width:100%;
  display:block;
  border-radius:14px;
  border:1px solid rgba(15,42,132,0.14);
  background:#fff;
  padding:12px 12px;
  font-family: inherit;
  font-size:16px;
  font-weight:400;
  color:var(--text);
  outline:none;
}
.field textarea{ resize: vertical; }

.field input:focus, .field textarea:focus{
  border-color: rgba(31,87,255,0.35);
  box-shadow: 0 0 0 4px rgba(31,87,255,0.12);
}

.formActions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}
.formHint{ color: rgba(11,22,51,0.60); font-weight:400; font-size:0.95rem; }

.formMsg{ margin-top:6px; font-weight:500; }
.formMsg.ok{ color:#136f34; }
.formMsg.err{ color:#b31616; }

/* =========================
   CALENDAR
========================= */

.calendar{
  background: var(--surface);
  border: var(--border);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 12px 30px rgba(10,21,68,0.06);
}
.calendar__bar{
  padding:12px 14px;
  background: rgba(15,42,132,0.08);
  color: rgba(12,31,102,0.96);
  font-weight:600;
  border-bottom: var(--border);
}

.event{
  display:grid;
  grid-template-columns: 110px 1fr 180px;
  gap:12px;
  padding:14px;
  align-items:center;
  border-bottom: var(--border);
}
.event:last-child{ border-bottom:0; }

.cityThumb{
  height:64px;
  border-radius:16px;
  background: rgba(15,42,132,0.06);
  border:1px solid rgba(15,42,132,0.10);
  background-size:cover;
  background-position:center;
}

/* imagens locais das cidades */
.cityThumb--natividade{ background-image:url("../img/cidades/natividade.jpg"); }
.cityThumb--araguatins{ background-image:url("../img/cidades/araguatins.jpg"); }
.cityThumb--taguatinga{ background-image:url("../img/cidades/taguatinga.jpg"); }
.cityThumb--colinas{ background-image:url("../img/cidades/colinas.jpg"); }
.cityThumb--palmas{ background-image:url("../img/cidades/palmas.jpg"); }

.event__main strong{ display:block; font-weight:600; letter-spacing:-0.01em; }
.event__main span{ display:block; margin-top:4px; color:var(--muted); font-weight:400; font-size:0.95rem; }

.datePill{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,42,132,0.14);
  background:#fff;
  font-weight:600;
  color: rgba(12,31,102,0.96);
  white-space:nowrap;
}

/* =========================
   SPEAKERS
========================= */

.carousel{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  gap:10px;
  align-items:center;
}

/* Certificado liberado (padrão) */
.certBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  font-weight:600;

  background: linear-gradient(135deg, rgba(12,31,102,0.96), rgba(18,54,168,0.92)); /* azul preenchido */
  border: 1px solid rgba(12,31,102,0.10);
  color:#fff;

  transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
  white-space:nowrap;
}

.certBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10,21,68,0.14);
}
 

.track{
  display:flex;
  gap:12px;
  overflow:auto;
  scroll-snap-type: x mandatory; /* espaço para linter parar de reclamar */
  padding:6px 4px 10px;
  border-radius:18px;
}
.track::-webkit-scrollbar{ height:10px; }
.track::-webkit-scrollbar-thumb{ background:rgba(15,42,132,0.18); border-radius:999px; }

.speaker{
  flex: 0 0 290px;
  background: var(--surface);
  border: var(--border);
  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(10,21,68,0.06);
  padding:16px 14px 14px;
  transition: transform .14s ease;
}
.speaker:hover{ transform: translateY(-2px); }

.speaker__header{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}

.speaker__avatar{
  width:64px; height:64px;
  border-radius:999px;
  background: rgba(15,42,132,0.08);
  border: 1px solid rgba(15,42,132,0.12);
  background-size:cover;
  background-position:center;
  flex: 0 0 auto;
}

/* imagens locais dos palestrantes */
.avatar--rachel{ background-image:url("../img/palestrantes/rachel-tirello.jpg"); }
.avatar--isac{ background-image:url("../img/palestrantes/isac-campos.jpg"); }
.avatar--mateus{ background-image:url("../img/palestrantes/mateus-pedro.jpg"); }
.avatar--francieli{ background-image:url("../img/palestrantes/francieli-almoas.jpg"); }
.avatar--valdiram{ background-image:url("../img/palestrantes/valdiram-cassimiro.jpg"); }
.avatar--fernando{ background-image:url("../img/palestrantes/fernando-amorim.jpg"); }

.speaker__name{ font-weight:600; letter-spacing:-0.01em; line-height:1.2; }
.speaker__topic{ color:var(--muted); font-weight:400; line-height:1.45; font-size:0.95rem; }

/* =========================
   ORGANIZACAO
========================= */

.orgSingle{
  background: linear-gradient(135deg, rgba(12,31,102,0.92), rgba(18,54,168,0.90));
  border-radius:22px;
  padding:14px;
  box-shadow: var(--shadow);
}

.orgPicture img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
}

/* Footer */
.miniFooter{
  padding:18px 0 28px;
  color:rgba(11,22,51,0.55);
  font-weight:400;
  text-align:center;
  font-size:0.92rem;
}

/* =========================
   CERT BUTTON (calendar)
========================= */

/* =========================
   CERTIFICADOS (BOTÃO NO CALENDÁRIO)
========================= */

.event__right{
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* padrão: liberado (azul preenchido) */
.certBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  min-height: 40px;
  border-radius: 999px;

  font-weight: 600;
  letter-spacing: -0.01em;

  background: linear-gradient(135deg, rgba(12,31,102,0.96), rgba(18,54,168,0.92));
  color: #fff;
  border: 1px solid rgba(12,31,102,0.10);

  transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
  white-space: nowrap;
}

.certBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10,21,68,0.14);
}

/* bloqueado: só borda azul */
.certBtn.is-disabled{
  background: transparent;
  color: rgba(12,31,102,0.95);
  border: 1px solid rgba(12,31,102,0.30);

  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* responsivo: no mobile o botão fica “bonito” e ocupa a largura */
@media (max-width: 980px){
  .event__right{
    justify-self: start;
    align-items: flex-start;
    margin-top: 8px;
    width: 100%;
  }

  .certBtn{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   CERTIFICADOS (MODERNO)
========================= */

.certHero{
  border-radius:22px;
  background: linear-gradient(135deg, rgba(12,31,102,0.95), rgba(18,54,168,0.92));
  box-shadow: var(--shadow);
  color:#fff;
  padding: 26px 18px;
}

.certHero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: center;
}

.certBadge{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 600;
  font-size: .95rem;
}

.certTitle{
  margin: 12px 0 6px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 40px;
  line-height: 1.05;
}

.certSub{
  margin: 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  max-width: 60ch;
}

.certInfo{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.certPill{
  display:inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 600;
}
.certPill--soft{
  color: rgba(255,255,255,0.88);
}

.certCard{
  background: rgba(255,255,255,0.95);
  color: #0b1633;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.cdTop{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.cdLabel{ font-weight: 600; color: rgba(12,31,102,0.95); }
.cdHint{ color: rgba(11,22,51,0.60); font-weight: 500; }

.cdGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.cdBox{
  background:#fff;
  border: 1px solid rgba(15,42,132,0.10);
  border-radius: 14px;
  padding: 10px;
  text-align:center;
}
.cdNum{ font-weight: 600; font-size: 22px; color: rgba(12,31,102,0.95); }
.cdTxt{ color: rgba(11,22,51,0.60); font-size: .88rem; margin-top: 2px; }

.certForm{ display:grid; gap: 10px; }
.certLabel{ font-weight: 600; color: rgba(11,22,51,0.88); }

.certInput{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(15,42,132,0.14);
  padding: 12px 12px;
  font-family: inherit;
  font-size: 16px;
  outline:none;
}
.certInput:focus{
  border-color: rgba(31,87,255,0.35);
  box-shadow: 0 0 0 4px rgba(31,87,255,0.12);
}

.certBtnMain[disabled]{ opacity:.55; cursor:not-allowed; }

.certMsg{ font-weight: 600; }
.certMsg.ok{ color:#136f34; }
.certMsg.err{ color:#b31616; }

.certBack{
  display:inline-flex;
  margin-top: 12px;
  font-weight: 600;
  color: rgba(12,31,102,0.92);
}

/* Responsivo certificados */
@media (max-width: 980px){
  .certHero__grid{ grid-template-columns: 1fr; }
  .certTitle{ font-size: 32px; }
  .cdGrid{ grid-template-columns: repeat(2, 1fr); }
}


