/*
Theme Name: Erika Portfolio
Theme URI: https://erikarizzardo.com.br
Author: Pepito NUC7
Description: Modern one-page accounting portfolio for Erika Rizzardo.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: erika-portfolio
*/

:root {
  --navy: #0c1f33;
  --navy-soft: #132d47;
  --teal: #0f766e;
  --teal-light: #14b8a6;
  --gold: #c4a052;
  --cream: #f7f9fc;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 18px 50px rgba(12, 31, 51, 0.12);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a { color: var(--muted); }
.nav a:hover { color: var(--navy); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.badge {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #0d9488);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 10% -6% -8% 12%;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(196, 160, 82, 0.12));
  border-radius: 28px;
  z-index: -1;
}

main section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-title {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.timeline {
  display: grid;
  gap: 1rem;
}

.job {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--teal);
}

.job-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.job h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.job-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.job-company {
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.job ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.job li { margin-bottom: 0.35rem; }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.edu-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.35rem;
}

.edu-card h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.edu-card .school {
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cert-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cert-banner strong { font-size: 1.1rem; }

.site-footer {
  margin-top: 2rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer a { color: var(--teal-light); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .hero-photo img { margin: 0 auto; }
  .nav { display: none; }
}