body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  font-weight: 600;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

p + p { margin-top: var(--space-4); }

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
}


/* ---- Sections ---- */
.section {
  padding-block: var(--space-12);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: #000000;
}

.section-lead {
  color: var(--color-accent-dark);
  max-width: 60ch;
  margin-bottom: var(--space-8);
}


/* ---- Grid ---- */
.grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;     
}


/* ---- Header ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  width: 100%;
  padding-inline: var(--gutter);
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  letter-spacing: 0.02em;
}

.logo-mark {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}


/* ---- Transparent header laid over the hero ---- */
.site-header-overlay {
  background-color: transparent;
  border-bottom-color: transparent;
  transition: background-color var(--transition), border-color var(--transition);
}

.site-header-overlay .nav-link {
  color: #ffffff;
}

.site-header-overlay .nav-link:hover,
.site-header-overlay .nav-link.is-active {
  color: var(--color-accent-dark);
}

.site-header-overlay .nav-toggle-bar {
  background-color: var(--color-accent);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;   
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(214, 212, 208, 0.32) 0%,
    rgba(224, 222, 218, 0.4) 55%,
    rgba(228, 226, 222, 0.5) 100%
  );
}

.hero-inner {
  width: 100%;
  padding-block: var(--space-16) var(--space-12);
}

.hero-content {
  max-width: 100%;
  text-align: left;
}

.hero-eyebrow {
  font-family: "Petit Formal Script", cursive;
  font-size: 25px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: "Prata", serif;
  font-size: clamp(2.5rem, 12vw, 4.375rem);
  font-weight: 400;
  line-height: 1.05;
  color: #111111;
  margin-bottom: var(--space-6);
}

.hero-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.signature-name {
  font-family: "Brittany", var(--font-script);   
  font-style: normal;
  font-size: 25px;
  line-height: 1;
}

.hero-social {
  display: inline-flex;
  margin-top: var(--space-6);
  color: var(--color-accent);
  transition: transform var(--transition), color var(--transition);
}

.hero-social:hover {
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}


/* ---- Page hero (secondary pages: Método, Sobre Mim) ---- */
.metodo-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;   
  z-index: -2;
}

.hero-page {
  min-height: 100svh;
}

.hero-page::after {
  content: none;   
}

#metodo-hero::after {
  content: "";
}

.hero-page .hero-inner {
  padding-block: var(--space-24) var(--space-12);
}

.metodo-hero-content {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.metodo-hero-title {
  font-family: "Prata", serif;
  font-size: 40px;
  font-weight: 400;
  color: #111111;
  margin-bottom: var(--space-6);
}

.metodo-hero-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  letter-spacing: 1px;
  line-height: 1.5;
  color: #000000;
}


/* ---- SECTION WORK ---- */
.hero-work {
  min-height: 85svh;   
  align-items: flex-start; 
}

.hero-work::after {
  content: none;
}

.hero-work .metodo-back {
  object-position: 30% top;
}

.hero-work-kicker {
  position: absolute;
  top: var(--space-4);
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-inline: var(--gutter);
}

.kicker-word {
  font-family: var(--font-body); /* Montserrat */
  font-weight: 1000;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  white-space: nowrap;
}

.kicker-word:last-child {
  margin-left: 0;
}

.kicker-star {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.page-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: #000000;
  margin-top: 250px;
}


/* ---- Gallery ---- */
.gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}


/* ---- Footer ---- */
.site-footer {
  padding-block: var(--space-8);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: var(--space-4);
}