/* IA na Indústria: Como Financiar a Transformação — landing de inscrição
   Cores: fundo #12161D · dourado #F2A93B · coral #E8483A */

:root {
  --bg: #12161D;
  --bg-alt: #0F131A;
  --bg-card: #171C25;
  --bg-footer: #0C0F14;
  --gold: #F2A93B;
  --gold-hover: #ffc157;
  --coral: #E8483A;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

input::placeholder { color: rgba(255, 255, 255, 0.32); }
input:focus { outline: none; border-color: var(--gold); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.btn {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--gold-hover); color: var(--bg); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 22, 29, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242, 169, 59, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-infos { height: 23px; width: auto; display: block; }
.logo-dni { height: 42px; width: auto; display: block; }
.logo-divider { width: 1px; height: 38px; background: rgba(255, 255, 255, 0.28); flex-shrink: 0; }

.btn-header {
  font-size: 13px;
  padding: 12px 22px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-industria.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(18, 22, 29, 0.95) 10%, rgba(18, 22, 29, 0.82) 45%, rgba(18, 22, 29, 0.55) 100%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(242, 169, 59, 0.22) 1.4px, transparent 1.4px);
  background-size: 48px 48px;
  opacity: 0.55;
}

.hero-diamond {
  position: absolute;
  top: -90px;
  right: 120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(242, 169, 59, 0.18);
  transform: rotate(45deg);
}

.hero-inner {
  position: relative;
  padding-top: 110px;
  padding-bottom: 120px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }

.eyebrow-primary {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.25); }

.eyebrow-secondary {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  max-width: 900px;
  text-wrap: pretty;
}

.hero-title-accent { color: var(--gold); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(242, 169, 59, 0.35);
  border-bottom: 1px solid rgba(242, 169, 59, 0.35);
  max-width: 760px;
  margin-bottom: 44px;
}

.hero-meta-item {
  flex: 1 1 200px;
  padding: 24px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-meta-item:first-child { padding-left: 0; }
.hero-meta-item:last-child { border-right: none; padding-right: 0; }

.hero-meta-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 8px;
}

.hero-meta-value { font-size: 20px; font-weight: 500; }

.btn-hero {
  font-size: 16px;
  padding: 20px 40px;
  border-radius: 5px;
  box-shadow: 0 18px 40px rgba(242, 169, 59, 0.18);
}

/* ---------- Section shells ---------- */

.section { position: relative; border-top: 1px solid rgba(242, 169, 59, 0.14); }

.section-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(242, 169, 59, 0.13) 1.2px, transparent 1.2px);
  background-size: 48px 48px;
}

.section-diagonal {
  background: var(--bg-alt);
}
.section-diagonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 78px, rgba(242, 169, 59, 0.06) 78px 79px),
    repeating-linear-gradient(-60deg, transparent 0 78px, rgba(242, 169, 59, 0.06) 78px 79px);
}

.section-inner { position: relative; }

.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* ---------- Sobre o evento / Para quem ---------- */

.split-section .section-inner {
  padding-top: 110px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 60px;
}

.split-section .section-label { padding-top: 8px; }

.about-text {
  margin: 0;
  font-size: 21px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}
.about-text strong { color: var(--white); font-weight: 500; }
.about-text .accent { color: var(--gold); font-weight: 500; }

.quem-section .section-inner { padding-top: 100px; padding-bottom: 100px; }
.quem-section .section-label { padding-top: 10px; }
.quem-text {
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--white);
  text-wrap: pretty;
}

/* ---------- O que vai levar deste evento ---------- */

.cards-section .section-inner { padding-top: 110px; padding-bottom: 110px; }
.cards-section .section-label { margin-bottom: 56px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(242, 169, 59, 0.16);
  border-radius: 6px;
  padding: 34px 28px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.card-number {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
}

.card-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Programa ---------- */

.programa-section .section-inner { padding-top: 110px; padding-bottom: 110px; }
.programa-section .section-label { margin-bottom: 56px; }

.timeline {
  max-width: 820px;
  border-left: 1px solid rgba(242, 169, 59, 0.35);
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: baseline;
  gap: 28px;
  padding: 22px 0 22px 34px;
  position: relative;
}
.timeline-item + .timeline-item { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.timeline-dot {
  position: absolute;
  left: -4.5px;
  top: 30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-time {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--gold);
}

.timeline-event { font-size: 18px; font-weight: 400; color: var(--white); }

/* ---------- Inscrição ---------- */

.inscricao-section .section-inner {
  padding-top: 110px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.inscricao-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.inscricao-sub {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.inscricao-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inscricao-badge-text {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(242, 169, 59, 0.2);
  border-radius: 8px;
  padding: 44px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.form-field.full { grid-column: 1 / -1; }

.form-field span {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-field input {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  cursor: pointer;
}

.consent-field input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-field span {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.btn-submit {
  width: 100%;
  margin-top: 22px;
  padding: 20px;
  font-size: 16px;
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-error {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--coral);
  display: none;
}
.form-error.visible { display: block; }

.form-legal {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
}

/* honeypot field — hidden from real visitors, catches simple bots.
   Clipped in place (not pushed off-screen) so it can never widen the page. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(242, 169, 59, 0.2);
}

.footer-inner {
  padding-top: 54px;
  padding-bottom: 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  margin-left: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .container { padding-left: 24px; padding-right: 24px; }

  .header-inner { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .btn-header { padding: 10px 14px; font-size: 11px; letter-spacing: 0.12em; flex-shrink: 0; }
  .logos { gap: 14px; min-width: 0; }
  .logo-dni { height: 28px; flex-shrink: 0; }
  .logo-infos { height: 15px; flex-shrink: 0; }
  .logo-divider { height: 24px; flex-shrink: 0; }

  .hero-inner { padding-top: 72px; padding-bottom: 64px; }
  .hero-title { font-size: 40px; margin-bottom: 30px; }
  .hero-meta-item { padding: 18px 20px; }
  .hero-meta-item:first-child { padding-left: 0; }
  .btn-hero { width: 100%; text-align: center; padding: 18px 24px; }

  .split-section .section-inner,
  .quem-section .section-inner,
  .inscricao-section .section-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cards-section .section-inner,
  .programa-section .section-inner { padding-top: 64px; padding-bottom: 64px; }

  .about-text { font-size: 18px; }
  .quem-text { font-size: 21px; }

  .timeline-item { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-left: 24px; }
  .timeline-time { font-size: 19px; }
  .timeline-event { font-size: 16px; }

  .inscricao-heading { font-size: 36px; }
  .form-card { padding: 26px; }

  .footer-inner { padding-top: 40px; padding-bottom: 40px; }
  .footer-address { text-align: left; margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-meta { flex-direction: column; }
  .hero-meta-item {
    flex: 0 1 auto;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 16px 0 !important;
  }
  .hero-meta-item:first-child { padding-top: 0 !important; }
  .hero-meta-item:last-child { border-bottom: none; padding-bottom: 0 !important; }
}
