/* ===== Paleta: 2º Encontro Conexões e Negócios – Retroescavadeiras (Mídia Kit) ===== */
:root {
  /* Principais – identidade do evento */
  --gold: #C5A059;
  --gold-dark: #a88647;
  --black: #000000;
  /* Secundárias – institucional Sobratema */
  --red-sobratema: #E30613;
  --gray-anthracite: #4D4D4D;
  /* Apoio – mídia kit */
  --navy: #0A1F44;
  --navy-light: #0f2d5c;
  --white-ice: #F2F2F2;
  --white: #ffffff;
  /* Uso geral */
  --text-dark: var(--black);
  --text-body: var(--gray-anthracite);
  --text-light: #6b6b6b;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --gradient-gold: linear-gradient(135deg, #C5A059 0%, #a88647 100%);
  --gradient-navy: linear-gradient(135deg, #0A1F44 0%, #0f2d5c 100%);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1200px;
  --section-padding: 80px 0;
  --radius: 8px;
  --radius-lg: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white-ice);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red-sobratema);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Botões (estilo tendencias25) ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--black);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* ===== Hero (Azul Marinho + dourado – mídia kit) ===== */
.hero {
  position: relative;
  min-height: 420px;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy) url('../imagens/hero_background.jpg') no-repeat center bottom;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 750px;
    max-height: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.92) 0%, rgba(10, 31, 68, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.25rem;
  max-width: 800px;
}

.hero-logo {
  margin: 0 auto 1.25rem;
  max-width: 600px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.hero-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.hero-title-impacto {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-subtitle {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--gold);
  opacity: 1;
}

.hero-copy {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.hero-desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-ctas .btn {
  min-width: 200px;
  width: 200px;
  text-align: center;
  padding: 12px 20px;
}

/* ===== Seções – alternância de fundos ===== */
.section {
  padding: var(--section-padding);
  background: var(--white);
}

/* Seções pares: fundo com leve tom dourado (identidade do evento) */
.section:nth-child(even) {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f2ec 50%, #f0ebe3 100%);
  position: relative;
}

.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
  opacity: 0.6;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.section-title-center {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title-center::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-lead {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.5;
}

.section-lead-center {
  text-align: center;
}

.section-lead-destaque {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-text {
  margin: 0 0 1.25rem;
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1rem;
}

.section-text-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .section-retroescavadeiras .section-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 2.5rem;
  }

  .section-retroescavadeiras .section-img {
    min-height: 320px;
    width: 100%;
    object-fit: cover;
  }
}

.section-grid-reverse .section-media {
  order: 2;
}

.section-grid-reverse .section-body {
  order: 1;
}

.section-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-height: 200px;
  background: var(--white-ice);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.section-img:hover {
  transform: translateY(-4px);
}

/* ===== Palestra ===== */
.palestra-theme {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  font-style: italic;
}

.palestra-topics {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-light);
}

.palestra-topics li {
  margin-bottom: 0.5rem;
}

/* ===== Programação (timeline estilo tendencias25) ===== */
.programacao-timeline {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.programacao-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programacao-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.programacao-time {
  flex-shrink: 0;
  background: var(--gradient-gold);
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  width: 145px;
  min-width: 145px;
  text-align: center;
}

.programacao-desc {
  color: var(--text-body);
  line-height: 1.5;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .section-programacao .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .programacao-timeline {
    gap: 1.5rem;
    max-width: 100%;
  }

  .programacao-item {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    padding: 1.25rem 1rem;
  }

  .programacao-time {
    width: 100%;
    min-width: 0;
    align-self: stretch;
    padding: 10px 1rem;
    font-size: 0.95rem;
  }

  .programacao-desc {
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .programacao-item {
    padding: 1rem 0.875rem;
  }

  .programacao-time {
    padding: 8px 0.75rem;
    font-size: 0.9rem;
  }

  .programacao-desc {
    font-size: 0.95rem;
  }
}

/* ===== CTA block (Azul Marinho + dourado) ===== */
.section.cta-block {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.cta-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.cta-block .container {
  position: relative;
  z-index: 1;
}

.cta-block .cta-title,
.cta-block .cta-text {
  color: #ffffff;
}

.cta-block::before {
  display: none;
}

.cta-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
}

.cta-text {
  margin: 0 auto 1.5rem;
  color: #ffffff;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.cta-block .btn-primary {
  background: var(--gradient-gold);
  color: var(--black);
  border: 2px solid var(--gold);
}

.cta-block .btn-primary:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
}

/* ===== Carrossel Casa Manioca ===== */
.carousel-wrapper {
  margin: 2rem 0;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.carousel-track-container {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--white-ice);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-btn-prev {
  left: 1rem;
}

.carousel-btn-next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.is-active {
  background: #fff;
}

/* ===== Chef block ===== */
.chef-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chef-block:hover {
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .chef-block {
    grid-template-columns: 200px 1fr;
  }
}

.chef-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  border: 4px solid var(--gold);
  transition: transform 0.3s ease;
}

.chef-block:hover .chef-photo img {
  transform: scale(1.03);
}

.chef-name {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
}

.chef-bio {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Diferenciais ===== */
.diferenciais-list {
  max-width: 620px;
  margin: 0 auto 2rem;
  padding-left: 1.5rem;
  color: var(--text-body);
  list-style: none;
}

.diferenciais-list li {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem 0.75rem 2rem;
  position: relative;
  line-height: 1.5;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferenciais-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.diferenciais-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
}

.section-cta-wrap {
  text-align: center;
}

/* ===== Participantes (patrocinadores) ===== */
.participantes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 2rem;
}

.participante-logo {
  max-width: 400px;
  padding: 2rem 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.participante-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.participante-logo img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  opacity: 0.95;
}

.participante-logo img:hover {
  opacity: 1;
}

/* ===== Contato ===== */
.contato-info {
  text-align: center;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ===== Footer (estilo tendencias25 – preto profundo) ===== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  max-width: 160px;
  opacity: 0.95;
}

.footer-contact h3,
.footer-links h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
}

.footer .contact-item {
  margin: 0 0 0.5rem 0;
}

.footer .contact-item:last-child {
  margin-bottom: 0;
}

.footer .contact-item p {
  margin: 0;
  opacity: 0.9;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-credit {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }
}

/* ===== Modal de cadastro ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-body);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--black);
}

.modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--black);
}

.modal-text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.modal-form .form-group {
  margin-bottom: 1rem;
}

.modal-form .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-body);
}

.modal-intro {
  margin-bottom: 1.25rem;
}

.modal-form .form-group input,
.modal-form .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-primary);
  background: var(--white);
}

.modal-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D4D4D' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

.modal-form .form-group input:focus,
.modal-form .form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.modal-form .btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* ===== Páginas de obrigado ===== */
.obrigado-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.obrigado-header {
  background: var(--navy);
  padding: 2rem 0;
  flex-shrink: 0;
}

.obrigado-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.obrigado-logo-link {
  display: block;
  text-align: center;
}

.obrigado-logo-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.obrigado-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.obrigado-section {
  padding: 4rem 0;
  flex: 1;
}

.obrigado-page .footer {
  flex-shrink: 0;
  margin-top: auto;
}

.obrigado-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.obrigado-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.obrigado-content .btn {
  margin-top: 1.5rem;
}

.obrigado-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.obrigado-info {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.obrigado-destaque {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0.06) 100%);
  border: 2px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  text-align: left;
  border-radius: var(--radius-lg);
  color: var(--text-body);
  line-height: 1.5;
}

.obrigado-destaque-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.obrigado-destaque p:last-child {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.obrigado-obs {
  font-size: 0.95rem;
  margin-top: 1.25rem;
  opacity: 0.9;
}
