/* ================================================
   CARMEM PIMENTA – PORTFOLIO
   style.css – versão corrigida (reveal fix)
   ================================================ */

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

:root {
  --green-dark:  #3B4F2E;
  --green-main:  #5A7049;
  --green-mid:   #7A9462;
  --green-light: #C4D4B0;
  --green-pale:  #EEF3E8;
  --cream:       #F8F6F1;
  --white:       #FFFFFF;
  --text-dark:   #1C1C1C;
  --text-mid:    #444444;
  --text-light:  #666666;
  --border:      #DDE5D5;
  --shadow:      rgba(58,79,46,.10);
  --font-body:   'Inter', sans-serif;
  --font-serif:  'Playfair Display', serif;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --radius-xl:   24px;
  --radius-pill: 50px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-pale); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ================================================
   REVEAL ANIMATION
   IMPORTANTE: só esconde elementos quando o body
   tiver a classe .js-ready (adicionada pelo JS).
   Sem JS, tudo fica visível normalmente.
   ================================================ */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   MODAL
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20,20,20,.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(.98);
  transition: transform .3s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 1rem 1rem 0 0;
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}

.modal-close:hover { background: var(--green-light); }

.modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: block;
}

.modal-img-placeholder {
  width: 100%;
  height: 160px;
  background: var(--green-pale);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.modal-body {
  padding: 1.75rem 2rem 2rem;
}

.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.modal-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-light);
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
}

.modal-desc {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.modal-desc p {
  margin-bottom: .85rem;
}

.modal-desc p:last-child {
  margin-bottom: 0;
}

.modal-subhead {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin: 1.25rem 0 .6rem;
  display: block;
}

.modal-links {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .6rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all .2s;
}

.modal-link-btn.primary {
  background: var(--green-main);
  color: var(--white);
}

.modal-link-btn.primary:hover { background: var(--green-dark); }

.modal-link-btn.secondary {
  border: 2px solid var(--green-main);
  color: var(--green-main);
}

.modal-link-btn.secondary:hover {
  background: var(--green-main);
  color: var(--white);
}

.modal-events-list {
  list-style: none;
  margin: .5rem 0 1.25rem;
}

.modal-events-list li {
  font-size: .9rem;
  color: var(--text-mid);
  padding: .45rem 0;
  border-bottom: 1px solid var(--green-pale);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.modal-events-list li:last-child { border-bottom: none; }

.modal-events-list li::before {
  content: '→';
  color: var(--green-mid);
  font-weight: 700;
  flex-shrink: 0;
}

.modal-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px,1fr));
  gap: .6rem;
  margin: .5rem 0 1.25rem;
}

.modal-brand-pill {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: .55rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--green-dark);
  text-align: center;
}

/* ================================================
   NAVBAR
   ================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,246,241,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--green-main);
}

.nav-cta {
  background: var(--green-main) !important;
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
}

.nav-cta:hover {
  background: var(--green-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ================================================
   HERO
   ================================================ */
#hero {
  min-height: 100vh;
  padding: 120px 2rem 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--cream) 60%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(90,112,73,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text .eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .75rem;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.hero-text h1 span { color: var(--green-mid); }

.hero-text > p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 340px;
  height: 400px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 100%; height: 100%;
  border: 3px solid var(--green-light);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px var(--shadow);
  display: block;
}

.hero-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tag {
  font-size: .82rem;
  font-weight: 500;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-light);
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}

/* ================================================
   BOTÕES
   ================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-main);
  color: var(--white);
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, transform .2s;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 2px solid var(--green-main);
  color: var(--green-main);
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
}

.btn-outline:hover {
  background: var(--green-main);
  color: var(--white);
  transform: translateY(-2px);
}

/* ================================================
   SECTIONS BASE
   ================================================ */
section { padding: 96px 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .5rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 3rem;
}

.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--green-light));
  border-radius: 2px;
  margin: 1rem 0 2.5rem;
}

/* ================================================
   ABOUT
   ================================================ */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: .975rem;
}

.contact-card {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.contact-card h3 {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .9rem;
  color: var(--text-mid);
}

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

.contact-item a {
  color: var(--green-main);
  text-decoration: none;
}

.contact-item a:hover { text-decoration: underline; }

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.langs-card,
.hobbies-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.langs-card h3,
.hobbies-card h3 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.pill-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pill {
  font-size: .85rem;
  font-weight: 500;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-light);
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
}

/* ================================================
   PROJECTS
   ================================================ */
#projects { background: var(--cream); }

.projects-filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  color: inherit;
  display: block;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
}

.project-card:focus-visible {
  outline: 3px solid var(--green-main);
  outline-offset: 3px;
}

.project-img {
  width: 100%;
  height: 180px;
  background: var(--green-pale);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-emoji {
  width: 100%;
  height: 180px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body { padding: 1.5rem; }

.project-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: .5rem;
}

.project-body p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
}

/* ================================================
   SUCCESS CASES
   ================================================ */
#success { background: var(--green-pale); }

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

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}

.case-card:focus-visible {
  outline: 3px solid var(--green-main);
  outline-offset: 3px;
}

.case-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.case-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.case-card p {
  font-size: .875rem;
  color: var(--text-mid);
}

/* ================================================
   EXPERIENCE
   ================================================ */
#experience { background: var(--cream); }

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--green-light);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 1.5rem;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem; top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green-main);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--green-main);
}

.timeline-period {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .35rem;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .15rem;
}

.timeline-company {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: .75rem;
}

.timeline-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ================================================
   SKILLS
   ================================================ */
#skills { background: var(--white); }

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1.25rem;
}

.skill-group {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.skill-group h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-mid);
}

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

.skill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
}

/* ================================================
   EDUCATION
   ================================================ */
#education { background: var(--white); }

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

.edu-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform .25s;
}

.edu-card:hover { transform: translateY(-4px); }

.edu-degree {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .4rem;
}

.edu-school {
  font-size: .875rem;
  font-weight: 600;
  color: var(--green-main);
  margin-bottom: .4rem;
}

.edu-period {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: .75rem;
}

.edu-desc {
  font-size: .9rem;
  color: var(--text-mid);
}

/* ================================================
   CERTIFICATIONS
   ================================================ */
#certifications { background: var(--green-pale); }

.cert-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5rem;
}

.cert-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.cert-group h3 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.cert-list { list-style: none; }

.cert-list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding: .45rem 0;
  border-bottom: 1px solid var(--green-pale);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.cert-list li:last-child { border-bottom: none; }

.cert-list li::before {
  content: '✦';
  color: var(--green-mid);
  font-size: 0.75rem;
  margin-top: .35rem;
  flex-shrink: 0;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--green-dark);
  color: var(--green-light);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.footer-sub {
  font-size: .9rem;
  margin-bottom: 1.5rem;
  color: var(--green-light);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--green-light);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--white); }

/* Lighthouse fix: contrast WCAG AA */
.footer-quote {
  font-size: .9rem;
  color: rgba(196,212,176,.92);
  font-style: italic;
  margin-bottom: 1rem;
}

.footer-bottom {
  font-size: .82rem;
  color: rgba(196,212,176,.82);
  border-top: 1px solid rgba(196,212,176,.18);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

/* ================================================
   RESPONSIVO – TABLET
   ================================================ */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }

  .nav-links { display: none; }

  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    z-index: 99;
    box-shadow: 0 8px 24px var(--shadow);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-image { order: -1; }

  .hero-image-wrapper { width: 260px; height: 310px; }

  .hero-text > p { margin-left: auto; margin-right: auto; }

  .hero-btns { justify-content: center; }

  .hero-tags { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

  .modal-body { padding: 1.5rem 1.5rem 2rem; }
}

/* ================================================
   RESPONSIVO – MOBILE
   ================================================ */
@media (max-width: 600px) {
  section { padding: 64px 1.25rem; }

  .hero-image-wrapper { width: 220px; height: 260px; }

  .projects-grid,
  .cases-grid,
  .cert-groups,
  .skills-categories,
  .edu-grid {
    grid-template-columns: 1fr;
  }

  .modal-body { padding: 1.25rem 1.25rem 1.75rem; }

  .modal-title { font-size: 1.2rem; }

  .hero-text h1 { font-size: 2.2rem; }
}

/* ================================================
   PRINT
   ================================================ */
@media print {
  nav, .modal-overlay, .projects-filter { display: none !important; }
  section { padding: 2rem 1rem !important; }
  .js-ready .reveal { opacity: 1 !important; transform: none !important; }
  #hero { min-height: auto; padding: 2rem 1rem; }
}