/* =============================================================
   SECTIONS.CSS — Hero, About, Skills, Projects, Experience,
                  Testimonials, Contact, Footer
   Estratégia: mobile-first (sem media queries aqui)
   ============================================================= */

/* ===================== HERO ===================== */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Grid decorativo de fundo */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.75rem;
}

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

.hero-desc {
  max-width: 520px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 2.75rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ===================== ABOUT ===================== */
#about {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-text {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Avatar */
.about-visual {
  position: relative;
}

.avatar-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.avatar-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.05em;
  user-select: none;
}

.avatar-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

/* ===================== SKILLS ===================== */
#skills {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.skills-header {
  text-align: center;
  margin-bottom: 4rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.skill-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.skill-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-4px);
}

.skill-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.skill-name {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--white);
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.skill-bar {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}

.skill-card.visible .skill-bar-fill {
  transform: scaleX(1);
}

/* ===================== PROJECTS ===================== */
#projects {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.projects-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.25s, transform 0.25s;
}

.project-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  transform: translateY(-4px);
}

.project-thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}

.project-card:nth-child(1) .project-thumb { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.project-card:nth-child(2) .project-thumb { background: linear-gradient(135deg, #0d1f12 0%, #1a3020 100%); }
.project-card:nth-child(3) .project-thumb { background: linear-gradient(135deg, #1f0d1a 0%, #2d1030 100%); }
.project-card:nth-child(4) .project-thumb { background: linear-gradient(135deg, #1f1a0d 0%, #2d2410 100%); }

.project-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  transition: opacity 0.3s, transform 0.5s var(--ease-out);
}

.project-card:hover .project-thumb-inner {
  opacity: 0.14;
  transform: scale(1.08);
}

.project-info {
  padding: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  background: rgba(212, 168, 67, 0.1);
  color: var(--accent);
  border-radius: 2px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}

.project-link:hover {
  gap: 0.75rem;
}

/* Card full-width (projeto 4) */
.project-card-wide .full-card-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.project-card-wide .project-thumb {
  min-height: 160px;
  aspect-ratio: auto;
}

/* ===================== EXPERIENCE ===================== */
#experience {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.exp-layout {
  display: grid;
  gap: 3rem;
}

.exp-section-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
  border-left: 1px solid var(--border);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4.5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1.5px solid var(--accent);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Education */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  transition: border-color 0.25s;
}

.edu-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.edu-degree {
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.edu-institution {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===================== TESTIMONIALS ===================== */
#testimonials {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-header .section-label {
  justify-content: center;
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.25s, transform 0.25s;
}

.testimonial-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-display);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
  flex-shrink: 0;
}

.author-name {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--white);
}

.author-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===================== CONTACT ===================== */
#contact {
  padding: 6rem 0 4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-header .section-label {
  justify-content: center;
}

.contact-layout {
  display: grid;
  gap: 3rem;
}

.contact-info-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.contact-link-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-link-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Formulário */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.form-input,
.form-textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-submit {
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.form-submit:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

/* ===================== FOOTER ===================== */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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