/* ============================================
   Section-specific styles — ordered by page flow
   Mobile-first (base styles)
   ============================================ */

/* --- 1. Hero --- */
.hero {
  padding: 80px 20px 124px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 70% 40%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

/* Hero photo — duotone gold treatment */
.hero-photo {
  position: absolute;
  top: -10px;
  right: -258px;
  bottom: 0;
  left: 0;
  background-image: url('../assets/leo-apresentacao.webp');
  background-size: auto 110%;
  background-position: center bottom;
  background-repeat: no-repeat;
  filter: sepia(0.6) saturate(0.8) brightness(0.55) contrast(1.15);
  opacity: 0.7;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--accent-secondary);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  border: 1px solid #2a2218;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  max-width: 700px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
}

/* --- 2. Credenciais --- */
.credentials {
  background: var(--bg-alt);
  padding: 32px 20px;
}

.cred-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cred-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.cred-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

.cred-text {
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.5;
}

/* --- 3. Problema --- */
.problem {
  background: var(--bg-primary);
}

.problem-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.problem-body {
  color: var(--text-tertiary);
  font-size: 15px;
  line-height: 1.8;
}

.pain-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.pain-item:last-child {
  border-bottom: none;
}

.pain-marker {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 6px;
}

.pain-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* --- 4. Soluções --- */
.solutions {
  background: var(--bg-alt);
}

.sol-header {
  margin-bottom: 40px;
}

.sol-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.sol-row:last-child {
  border-bottom: none;
}

.sol-row-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
}

.sol-row-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* --- 5. Por que eu --- */
.why-me {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.why-me::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 400px at 30% 50%, var(--accent-glow-subtle), transparent 70%);
  pointer-events: none;
}

.why-me-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background-image: url('../assets/leo-pensativo.webp');
  background-size: cover;
  background-position: center top;
  filter: grayscale(1);
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.8) 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.8) 100%);
}

.why-me-inner {
  position: relative;
  z-index: 1;
}

.why-me-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.why-me-text {
  max-width: 680px;
}

.why-me-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.why-me-text p:first-child {
  color: var(--accent);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
}

.why-me-text p:last-child {
  color: var(--text-body);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* --- 6. Setores --- */
.sectors {
  background: var(--bg-alt);
  padding: 56px 20px;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-tag {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-surface);
  border-radius: 3px;
  transition: border-color var(--transition-fast);
}

.sector-tag:hover {
  border-color: var(--accent-secondary);
}

/* --- 7. CTA Final --- */
.cta-section {
  background: var(--bg-primary);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 50%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

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

.cta-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-sub {
  color: var(--text-tertiary);
  font-size: 15px;
  margin-bottom: 32px;
}

/* --- 8. Rodapé --- */
.footer {
  background: var(--bg-deep);
  padding: 28px 20px;
  border-bottom: none;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left a {
  color: #555;
  font-size: 12px;
  transition: color var(--transition-fast);
}

.footer-left a:hover {
  color: var(--accent);
}

.footer-right {
  display: flex;
  gap: 16px;
}

.footer-right a {
  color: #333;
  font-size: 11px;
}

.footer-copy {
  color: #2a2a2a;
  font-size: 11px;
  margin-top: 12px;
}
