/* ==========================================================================
   DEZKO - Layout & Sections
   ========================================================================== */

/* ── Reset ── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
  background: var(--green-500);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-400);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--green-500) var(--navy-900);
}

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

/* ── Base Typography ── */
body {
  font-family: var(--font-primary);
  color: var(--gray-200);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

p, li, a, span {
  font-family: var(--font-primary);
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ── Page Builder Override ── */
/* Quando embutido no GoHighLevel, os wrappers .inner do page builder
   aplicam max-width: 1170px que restringe a largura. Estas regras
   forçam largura total nos wrappers próximos ao #dezko-wrapper. */
#section-_8tfa1zUYl > .inner,
#row-AGUWMGn-5k > .inner,
#col-J6Qe01PoEv > .inner,
#col-J6Qe01PoEv > .vertical.inner {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── Sections ── */
section {
  padding: var(--section-padding) 0;
  position: relative;
  display: block;
  width: 100%;
}

.section-light {
  background-color: var(--gray-100);
  color: var(--gray-600);
}

.section-light h2,
.section-light h3 {
  color: var(--navy-900);
}

.section-dark {
  background-color: var(--navy-800);
  color: var(--gray-200);
}

.section-gradient {
  background: radial-gradient(circle at top right, var(--navy-700), var(--navy-800), var(--navy-900));
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  margin: 0 auto 60px auto;
  max-width: 650px;
  color: var(--gray-400);
}

.section-light .section-subtitle {
  color: var(--gray-500);
}

/* ── HERO ── */
#hero {
  background: linear-gradient(rgba(10, 14, 23, 0.7), rgba(10, 14, 23, 0.95)),
    url('https://images.unsplash.com/photo-1579621970795-87facc2f976d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 780px;
}

.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-400);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

#hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#hero h1 span {
  color: var(--green-400);
}

#hero p {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-support {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.hero-support p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--gray-200);
  display: flex;
  align-items: center;
}

.hero-support p:last-child {
  margin-bottom: 0;
}

.hero-support i {
  color: var(--green-400);
  margin-right: 10px;
}

/* ── Grids ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

/* ── Steps ── */
.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-400);
  background: var(--gray-100);
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green-400);
}

.step-content h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  color: var(--navy-900);
}

/* ── IMPACT ── */
#impact {
  background: linear-gradient(rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.8)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover fixed no-repeat;
  text-align: center;
}

#impact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

#impact p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gray-200);
}

/* ── Opportunity List ── */
.opp-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.opp-list li {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: var(--gray-200);
}

.opp-list i {
  color: var(--green-400);
  font-size: 1.2rem;
}

/* ── Opportunity Wrapper ── */
.opp-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
