/* ===== Variables (cores da logo IAFAAES) ===== */
:root {
  --blue: #1E6FD9;
  --blue-dark: #1558B0;
  --blue-light: #E8F1FC;
  --red: #E52521;
  --red-light: #FDEAEA;
  --yellow: #F5B800;
  --yellow-light: #FFF8E1;
  --green: #4CAF50;
  --green-light: #E8F5E9;
  --grey: #8B9099;
  --grey-dark: #5A5F66;
  --cream: #FDF8F3;
  --white: #ffffff;
  --text: #2D3748;
  --text-light: #64748B;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(30, 111, 217, 0.08);
  --shadow-lg: 0 12px 40px rgba(30, 111, 217, 0.12);
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
  --header-h: 80px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 800;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title--center { text-align: center; }
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.section-text {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.section-text strong { color: var(--text); }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; scroll-margin-top: calc(var(--header-h) + 36px); }
.section--cream { background: var(--cream); }
.section-header { text-align: center; margin-bottom: 3rem; }

/* ===== Pill tags ===== */
.pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.pill--blue { background: var(--blue-light); color: var(--blue); }
.pill--red { background: var(--red-light); color: var(--red); }
.pill--yellow { background: var(--yellow-light); color: #B8860B; }
.pill--green { background: var(--green-light); color: var(--green); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30, 111, 217, 0.3);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 111, 217, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue-light); }
.btn--white {
  background: var(--white);
  color: var(--blue);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ===== Topbar ===== */
.topbar {
  background: var(--cream);
  border-bottom: 1px solid rgba(30, 111, 217, 0.08);
  font-size: 0.82rem;
  color: var(--text-light);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  flex-wrap: wrap;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.topbar__link:hover { color: var(--blue); }
.topbar__sep { opacity: 0.3; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 111, 217, 0.06);
  transition: box-shadow 0.3s;
  overflow: hidden;
}
.header.scrolled { box-shadow: var(--shadow); }
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1776057441567-ac16f7b9dd6f?auto=format&fit=crop&w=1800&q=60");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.logo__img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-light);
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 999px;
  transition: all 0.2s;
}
.nav__link:hover { background: var(--blue-light); color: var(--blue); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 4rem 0 0;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-light) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero__title-accent {
  color: var(--blue);
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.15em;
  display: block;
  margin-top: 0.15em;
}
.hero__text {
  color: var(--text-light);
  font-size: 1.08rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__blob {
  position: relative;
  border-radius: 45% 55% 52% 48% / 48% 45% 55% 52%;
  overflow: hidden;
  border: 6px solid var(--blue);
  box-shadow:
    0 18px 60px rgba(30, 111, 217, 0.22),
    0 0 0 10px rgba(30, 111, 217, 0.07);
  animation: blob-morph 8s ease-in-out infinite;
}
.hero__blob::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, rgba(245, 184, 0, 0.18), rgba(76, 175, 80, 0.12));
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}
.hero__img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: relative;
  z-index: 0;
  filter: saturate(1.18) contrast(1.08) brightness(1.03);
}
.hero__visual .hero__scribble { z-index: 2; }
.hero__scribble {
  position: absolute;
  bottom: -10px;
  right: -20px;
  width: 120px;
  opacity: 0.8;
}
.hero__wave {
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; }
.hero__deco {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.15;
  background-size: contain;
  background-repeat: no-repeat;
}
.hero__deco--puzzle-1 {
  top: 15%;
  left: 5%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M0 15h15v-5c0-5 5-10 10-10h5V0h15v15h5c5 0 10 5 10 10v5h15v15h-5c-5 0-10 5-10 10v5H45v15H30v-5c0-5-5-10-10-10h-5V45H0V30h5c5 0 10-5 10-10v-5z' fill='%23E52521'/%3E%3C/svg%3E");
  animation: float 6s ease-in-out infinite;
}
.hero__deco--puzzle-2 {
  top: 60%;
  right: 8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M0 15h15v-5c0-5 5-10 10-10h5V0h15v15h5c5 0 10 5 10 10v5h15v15h-5c-5 0-10 5-10 10v5H45v15H30v-5c0-5-5-10-10-10h-5V45H0V30h5c5 0 10-5 10-10v-5z' fill='%234CAF50'/%3E%3C/svg%3E");
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 45% 55% 52% 48% / 48% 45% 55% 52%; }
  50% { border-radius: 52% 48% 45% 55% / 55% 52% 48% 45%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Stats ===== */
.stats {
  padding: 0 0 4rem;
  margin-top: -1rem;
}
.stats__box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30, 111, 217, 0.06);
}
.stats__item { text-align: center; }
.stats__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stats__number--blue { color: var(--blue); }
.stats__number--red { color: var(--red); }
.stats__number--green { color: var(--green); }
.stats__label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about__frame {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(30, 111, 217, 0.2);
  overflow: hidden;
}
.about__puzzle-ring {
  position: absolute;
  inset: 1rem;
  border-radius: var(--radius-lg);
  z-index: 2;
}

.about__photo {
  position: absolute;
  inset: 2rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: calc(var(--radius-lg) - 10px);
  z-index: 0;
  filter: saturate(1.1) contrast(1.05) brightness(1.02);
}

.about__icon-wrap {
  position: relative;
  z-index: 3;
}
.puzzle-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.puzzle-dot--red { top: 0; left: 50%; transform: translateX(-50%); background: var(--red); }
.puzzle-dot--yellow { right: 0; top: 50%; transform: translateY(-50%); background: var(--yellow); }
.puzzle-dot--green { bottom: 0; left: 50%; transform: translateX(-50%); background: var(--green); }
.puzzle-dot--blue { left: 0; top: 50%; transform: translateY(-50%); background: var(--blue); }
.about__icon-wrap svg { width: 120px; height: auto; }
.about__quote {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--blue);
  margin: 1.5rem 0 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--yellow);
}
.feature-list { display: flex; flex-direction: column; gap: 1.25rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item__icon--blue { background: var(--blue-light); color: var(--blue); }
.feature-item__icon--green { background: var(--green-light); color: var(--green); }
.feature-item__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.feature-item__text {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 111, 217, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card__icon--blue { background: var(--blue-light); color: var(--blue); }
.card__icon--red { background: var(--red-light); color: var(--red); }
.card__icon--yellow { background: var(--yellow-light); color: #C99700; }
.card__icon--green { background: var(--green-light); color: var(--green); }
.card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.projects__list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.projects__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}
.projects__bullet {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.projects__bullet--blue { background: var(--blue); }
.projects__bullet--yellow { background: var(--yellow); }
.projects__bullet--green { background: var(--green); }
.projects__bullet--red { background: var(--red); }
.projects__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gallery-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s;
}
.gallery-card:hover { transform: scale(1.03); }
.gallery-card--1 {
  background: var(--blue-light);
  grid-column: 1 / -1;
}
.gallery-card--2 { background: var(--yellow-light); }
.gallery-card--3 { background: var(--green-light); }
.gallery-card__emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.gallery-card__inner p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.projects__list a {
  color: var(--blue);
  font-weight: 600;
  transition: color 0.2s;
}
.projects__list a:hover { color: var(--blue-dark); }

/* ===== Bazar ===== */
.section--bazar {
  background: linear-gradient(160deg, var(--yellow-light) 0%, var(--white) 50%, var(--blue-light) 100%);
}
.bazar-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.bazar__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.bazar__card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--yellow);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.bazar__card:hover { transform: rotate(0deg) scale(1.02); }
.bazar__emoji { font-size: 3.5rem; display: block; margin-bottom: 1rem; }
.bazar__card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.bazar__card-handle {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-light);
  font-size: 1rem;
}
.bazar__deco {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0.2;
  background-size: contain;
  background-repeat: no-repeat;
}
.bazar__deco--1 {
  top: 10%;
  left: 5%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M0 15h15v-5c0-5 5-10 10-10h5V0h15v15h5c5 0 10 5 10 10v5h15v15h-5c-5 0-10 5-10 10v5H45v15H30v-5c0-5-5-10-10-10h-5V45H0V30h5c5 0 10-5 10-10v-5z' fill='%23E52521'/%3E%3C/svg%3E");
  animation: float 5s ease-in-out infinite;
}
.bazar__deco--2 {
  bottom: 10%;
  right: 5%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M0 15h15v-5c0-5 5-10 10-10h5V0h15v15h5c5 0 10 5 10 10v5h15v15h-5c-5 0-10 5-10 10v5H45v15H30v-5c0-5-5-10-10-10h-5V45H0V30h5c5 0 10-5 10-10v-5z' fill='%234CAF50'/%3E%3C/svg%3E");
  animation: float 6s ease-in-out infinite reverse;
}
.bazar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15h15v-5c0-5 5-10 10-10h5V0h15v15h5c5 0 10 5 10 10v5h15v15h-5c-5 0-10 5-10 10v5H45v15H30v-5c0-5-5-10-10-10h-5V45H0V30h5c5 0 10-5 10-10v-5z' fill='white' fill-opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta__inner {
  position: relative;
  text-align: center;
}
.cta__content {
  max-width: 640px;
  margin: 0 auto;
}
.cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 111, 217, 0.05);
}
.contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon--red { background: var(--red-light); color: var(--red); }
.contact-card__icon--green { background: var(--green-light); color: var(--green); }
.contact-card__icon--yellow { background: var(--yellow-light); color: #C99700; }
.contact-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}
.contact-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s;
}
.contact-card__link:hover { color: var(--blue-dark); }
.contact-map {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-map:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(30, 111, 217, 0.15);
}
.contact-map__preview {
  position: relative;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 50%, var(--yellow-light) 100%);
}
.contact-map__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10h10v-3c0-3 3-7 7-7h3V0h10v10h3c3 0 7 3 7 7v3h10v10h-3c-3 0-7 3-7 7v3H20v10H10v-3c0-3-3-7-7-7H0V20h3c3 0 7-3 7-7v-3z' fill='%231E6FD9' fill-opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.contact-map__pin {
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}
.contact-map__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}
.contact-map__hint {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--text-light);
}
.contact-map__link {
  display: block;
  text-align: center;
  padding: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  background: var(--blue-light);
  transition: background 0.2s;
}
.contact-map:hover .contact-map__link { background: #d4e6fa; }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 30%);
  color: var(--text);
  margin-top: 0;
}
.footer__wave {
  line-height: 0;
  margin-top: -1px;
}
.footer__wave svg {
  width: 100%;
  height: 48px;
  display: block;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 1.5rem 2.5rem;
}
.footer__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.footer__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.footer__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.2rem;
}
.footer__tagline {
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.footer__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
  max-width: 280px;
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__nav a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--blue); }
.footer__social-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.footer__social-link:hover { color: var(--blue); }
.footer__social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer__social-icon--blue { background: var(--blue-light); color: var(--blue); }
.footer__social-icon--yellow { background: var(--yellow-light); color: #C99700; }
.footer__address {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.footer__map-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s;
}
.footer__map-link:hover { color: var(--blue-dark); }
.footer__puzzle-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem 1.5rem;
  flex-wrap: wrap;
}
.footer__puzzle {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  opacity: 0.85;
}
.footer__puzzle--red { background: var(--red); }
.footer__puzzle--yellow { background: var(--yellow); }
.footer__puzzle--green { background: var(--green); }
.footer__puzzle--blue { background: var(--blue); }
.footer__bottom {
  border-top: 1px solid rgba(30, 111, 217, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--white);
}

/* ===== Transparência ===== */
.doc-empty {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 111, 217, 0.05);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.25rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.doc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 111, 217, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 200px;
}

.doc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.doc-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--blue-light);
  font-size: 0.85rem;
}

.doc-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.doc-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.doc-card__btn {
  justify-content: center;
}

@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: 1fr; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid,
  .about-grid,
  .projects-grid,
  .bazar-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; }
  .hero__blob { max-width: 380px; margin: 0 auto; }
  .stats__box { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 33px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(30, 111, 217, 0.08);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__link {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .cta__inner { text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .hero { padding-top: 2rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .bazar__actions { flex-direction: column; }
  .bazar__actions .btn { width: 100%; justify-content: center; }
  .logo__text { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}
