/* ===========================
   ITS NISA — STYLES
   =========================== */

:root {
  --cream:     #f5f0e8;
  --cream-dark:#ede5d6;
  --terra:     #c8704a;
  --terra-dark:#a8542e;
  --blush:     #e8c4a8;
  --brown:     #3d2b1f;
  --brown-mid: #6b4b38;
  --text:      #2e1f14;
  --muted:     #8a6a56;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }
em { font-style: italic; color: var(--terra); }
a  { color: inherit; text-decoration: none; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.6rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--terra);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 100px;
  border: 1.5px solid var(--terra);
  transition: background 0.25s, color 0.25s, transform 0.18s;
  cursor: pointer;
}
.btn:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--terra);
}
.btn--outline:hover {
  background: var(--terra);
  color: #fff;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
}

/* noise overlay */
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}

/* warm gradient blob */
.hero::before {
  content: '';
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(circle, #c8704a44 0%, transparent 65%);
  top: -20%;
  right: -20%;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(circle, #a8542e33 0%, transparent 65%);
  bottom: 0;
  left: -10%;
  pointer-events: none;
  z-index: 0;
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 4vw;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.nav__ig {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--blush);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav__ig:hover { opacity: 1; }

.hero__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  padding: 4rem 4vw 6rem;
  max-width: 700px;
  animation: fadeUp 0.9s ease both;
}
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.2rem;
  opacity: 0.8;
}
.hero__title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero__title em { color: var(--blush); }
.hero__sub {
  font-size: 1rem;
  color: var(--blush);
  opacity: 0.85;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__deco {
  position: absolute;
  right: 8vw;
  bottom: 12vh;
  font-size: 7rem;
  color: var(--terra);
  opacity: 0.15;
  line-height: 1;
  user-select: none;
  z-index: 1;
  animation: spin 20s linear infinite;
}

@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeUp  { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about {
  padding: 8rem 4vw;
  background: var(--cream);
}
.about__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about__img-wrap {
  position: relative;
}
.about__img-placeholder {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  border: 1px solid var(--blush);
}
/* Replace placeholder with actual <img> */
.about__img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__img-deco {
  position: absolute;
  bottom: -18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--terra);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.35;
}
.about__title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  margin-bottom: 1.2rem;
}
.about__text p {
  color: var(--brown-mid);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.about__text .btn--outline { margin-top: 0.8rem; }

/* ══════════════════════════════
   RECURSOS
══════════════════════════════ */
.recursos {
  padding: 7rem 4vw 8rem;
  background: var(--cream-dark);
}
.recursos__header {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}
.recursos__title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.5rem;
}
.recursos__sub {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── PDF GRID ── */
.pdf-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.6rem;
}

.pdf-card {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(200,112,74,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.6s ease both;
}
.pdf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(61,43,31,0.12);
}

.pdf-card__thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pdf-card__thumb svg {
  width: 52px;
  height: 52px;
  opacity: 0.9;
  z-index: 2;
}
.pdf-card__thumb-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.pdf-card__body {
  padding: 1.4rem 1.6rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pdf-card__tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}
.pdf-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pdf-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.4rem;
}
.pdf-card__download {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.pdf-card__download:hover { gap: 0.8rem; }
.pdf-card__download svg { width:15px; height:15px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--brown);
  color: var(--blush);
  text-align: center;
  padding: 3rem 2rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--cream);
}
.footer__copy {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.04em;
}
.footer__copy a { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.2); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 700px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__img-wrap { max-width: 280px; margin: 0 auto; }
  .hero__deco { display: none; }
  .nav { padding: 1.4rem 5vw; }
  .hero__content { padding: 3rem 5vw 5rem; }
  .recursos { padding: 5rem 5vw; }
  .about { padding: 5rem 5vw; }
}
