/* ═══════════════════════════════════════════
   GABI XAVIER — Paleta Bege & Ameixa
   Tons quentes inspirados no material visual
   ═══════════════════════════════════════════ */

:root {
  /* ─── Paleta Bege-Ameixa ─── */
  --lav-100: #f5ebe0;
  --lav-200: #e8d5c4;
  --lav-300: #d4b8a0;
  --lav-400: #c9a08a;
  --lav-500: #8b6574;
  --lav-600: #6b4a5e;
  --lav-700: #5b3a56;
  --lav-800: #3d2240;

  /* ─── Semânticas ─── */
  --bg-start: #e8d5c4;
  --bg-mid: #edddd0;
  --bg-end: #f5ebe0;

  --glass-bg: rgba(91, 58, 86, 0.08);
  --glass-brd: rgba(91, 58, 86, 0.15);
  --glass-hover: rgba(91, 58, 86, 0.12);

  --text: rgba(61, 34, 64, 0.9);
  --text-soft: rgba(61, 34, 64, 0.55);
  --text-title: #3d2240;
  --white: #ffffff;

  /* ─── Raios & easing ─── */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══ Reset ═══ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  font-family:
    "Comfortaa",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;

  /* ★ Fundo gradiente — bege quente ★ */
  background: var(--bg-start);
  min-height: 100vh;
}

/* ─── Mesh gradient background (multi-camada) ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    /* Mancha bege claro — topo esquerdo */
    radial-gradient(
      ellipse 80% 60% at 15% 10%,
      rgba(245, 235, 224, 0.5) 0%,
      transparent 70%
    ),
    /* Mancha ameixa suave — centro direita */
    radial-gradient(
        ellipse 60% 70% at 85% 40%,
        rgba(139, 101, 116, 0.12) 0%,
        transparent 65%
      ),
    /* Mancha bege rosado — centro baixo */
    radial-gradient(
        ellipse 90% 50% at 50% 80%,
        rgba(212, 184, 160, 0.3) 0%,
        transparent 60%
      ),
    /* Mancha ameixa sutil — bottom left */
    radial-gradient(
        ellipse 50% 60% at 10% 90%,
        rgba(107, 74, 94, 0.08) 0%,
        transparent 65%
      ),
    /* Base gradiente — bege quente */
    linear-gradient(
        160deg,
        #e0cab5 0%,
        #e5d2c0 25%,
        #edddd0 50%,
        #f0e3d8 75%,
        #f5ebe0 100%
      );
}

/* Noise grain overlay — textura sutil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 512px 512px;
}

.container {
  width: min(1500px, 92%);
  margin: 0 auto;
}

/* ═══════ TOPBAR ═══════ */
.topbar {
  padding: 14px 0 0;
}

.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lav-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(91, 58, 86, 0.15);
  border-radius: 999px;
  background: rgba(91, 58, 86, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.ig-pill:hover {
  background: rgba(91, 58, 86, 0.12);
  border-color: rgba(91, 58, 86, 0.25);
}

.ig {
  width: 18px;
  height: 18px;
  fill: var(--lav-700);
}

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  text-align: center;
  padding: 10px 0 0;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-overlay-text {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.hero-subtitle {
  font-family: "Fjalla One", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 26px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lav-700);
  margin: 0 0 8px;
  -webkit-text-stroke: 0.5px rgba(91, 58, 86, 0.3);
  text-shadow:
    0 1px 2px rgba(245, 235, 224, 0.8),
    0 3px 12px rgba(245, 235, 224, 0.5);
}

.hero-title {
  font-family: "Noto Serif Display", Georgia, serif;
  font-weight: 800;
  font-style: italic;
  color: var(--lav-800);
  font-size: clamp(38px, 8vw, 78px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow:
    0 2px 10px rgba(245, 235, 224, 0.6),
    0 4px 20px rgba(245, 235, 224, 0.4);
}

.hero-img {
  display: block;
  width: min(700px, 75vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.hero-bio {
  font-weight: 400;
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(61, 34, 64, 0.75);
  line-height: 1.6;
  margin: 0 auto;
  padding: 8px 0 0;
  max-width: 520px;
  text-align: center;
}

/* ═══════ GLASS CARDS ═══════ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow:
    0 8px 32px rgba(61, 34, 64, 0.1),
    0 2px 8px rgba(61, 34, 64, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.links {
  display: grid;
  gap: 26px;
  padding: 18px 0 28px;
}

.link-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 22px;
  padding: 22px;
  min-height: 240px;
  align-items: center;
  position: relative;
  overflow: visible;
  transform-origin: center;
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.4s,
    background-color 0.4s;
  will-change: transform;
}

/* Brilho que segue o cursor — ameixa */
.link-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    200px 140px at var(--mx, 50%) var(--my, 50%),
    rgba(91, 58, 86, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover / Focus / Touch */
.link-card:hover,
.link-card:focus-within,
.link-card.is-touch {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 20px 60px rgba(61, 34, 64, 0.15),
    0 0 40px rgba(91, 58, 86, 0.06);
  background: var(--glass-hover);
  border-color: rgba(91, 58, 86, 0.25);
}
.link-card:hover::after,
.link-card:focus-within::after,
.link-card.is-touch::after {
  opacity: 0.7;
}

.link-card .media {
  position: relative;
  padding-top: 74%;
  border-radius: var(--r-md);
  overflow: hidden;
}
.link-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 113%;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: center;
  transition: transform 0.55s var(--ease);
}
.link-card:hover .media img,
.link-card:focus-within .media img,
.link-card.is-touch .media img {
  transform: scale(1.08);
}

/* Gradient atrás das fotos dos cards */
.gradient {
  background: linear-gradient(
    135deg,
    var(--lav-800) 0%,
    var(--lav-700) 40%,
    var(--lav-500) 80%,
    var(--lav-300) 100%
  );
}

.link-card .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Títulos dos cards — 2 linhas */
.card-title {
  font-family: "Noto Serif", Georgia, serif;
  text-transform: uppercase;
  font-size: clamp(22px, 3.3vw, 46px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
}
.card-title .line1 {
  display: block;
  font-weight: 600;
  color: var(--lav-800);
  margin: 0;
}
.card-title .line2 {
  display: block;
  font-weight: 700;
  color: var(--lav-700);
  margin: 0;
}

/* ─── Botão ─── */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--lav-700) 0%, var(--lav-600) 100%);
  box-shadow:
    0 6px 24px rgba(61, 34, 64, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    filter 0.3s;
}
.link-card:hover .btn,
.link-card:focus-within .btn,
.link-card.is-touch .btn {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61, 34, 64, 0.25);
}
.btn:hover {
  filter: brightness(1.08);
}

/* ─── Focus visível (acessibilidade) ─── */
.link-card:focus-visible {
  outline: 2px solid var(--lav-300);
  outline-offset: 3px;
}
.btn:focus-visible,
.ig-pill:focus-visible {
  outline: 2px solid var(--lav-300);
  outline-offset: 2px;
}

/* ═══════ Desktop grande ═══════ */
@media (min-width: 1200px) {
  .link-card {
    min-height: 270px;
  }
  .link-card .media {
    padding-top: 54%;
  }
  .card-title {
    font-size: clamp(26px, 3.2vw, 40px);
  }
}

/* ═══════ Mobile confortável ═══════ */
@media (max-width: 900px) {
  .link-card {
    grid-template-columns: 1fr;
    min-height: 300px;
    padding: 24px;
  }
  .link-card .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 8px 0 0;
  }
  .hero-img {
    width: min(500px, 80vw);
  }
}

@media (max-width: 540px) {
  .link-card {
    min-height: 220px;
    padding: 22px;
  }
  .link-card .media {
    padding-top: 52%;
  }
  .card-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .hero {
    padding: 6px 0 0;
  }
  .hero-img {
    width: min(400px, 85vw);
  }
  .hero-title {
    font-size: clamp(28px, 9vw, 40px);
  }
  .hero-subtitle {
    font-size: clamp(9px, 2.5vw, 12px);
  }
}

/* ═══════ ABOUT (seção "Quem é") ═══════ */
.about-section {
  padding: 10px 0 40px;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(
    135deg,
    rgba(91, 58, 86, 0.06) 0%,
    rgba(91, 58, 86, 0.08) 50%,
    rgba(91, 58, 86, 0.05) 100%
  );
  border: 1px solid rgba(91, 58, 86, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 12px 40px rgba(61, 34, 64, 0.08),
    0 0 0 1px rgba(91, 58, 86, 0.04);
}

.about-media {
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tipografia Sobre */
.about-eyebrow {
  font-family: "Noto Serif Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lav-500);
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: clamp(13px, 1.2vw, 15px);
}

.about-title {
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 800;
  color: var(--lav-800);
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  text-wrap: balance;
}

.about-copy {
  max-width: 68ch;
}

.about-copy p {
  font-family:
    "Comfortaa",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  color: rgba(61, 34, 64, 0.7);
  margin: 10px 0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.about-copy h2 {
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 800;
  color: var(--lav-800);
  font-size: clamp(20px, 4.2vw, 31px);
  margin: 6px 0 10px;
  text-wrap: balance;
}

/* Sobre: Mobile */
@media (max-width: 900px) {
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .about-media {
    min-height: 220px;
  }
  .about-copy {
    max-width: 74ch;
  }
  .about-title {
    font-size: clamp(20px, 5.4vw, 28px);
  }
  .about-eyebrow {
    font-size: clamp(12px, 3vw, 14px);
    letter-spacing: 0.06em;
  }

  .about-copy p {
    text-align: left;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.6;
  }
}

@media (max-width: 540px) {
  .about-wrap {
    padding: 18px;
    gap: 14px;
  }
  .about-media {
    min-height: 200px;
  }
  .about-title {
    font-size: clamp(19px, 6.2vw, 26px);
  }
  .about-copy p {
    font-size: clamp(14px, 4.6vw, 17px);
  }
}

/* Sobre: desktop alinhado */
@media (min-width: 1024px) {
  .about-wrap {
    align-items: stretch;
  }
  .about-media {
    height: 100%;
    min-height: 0;
  }
  .about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-copy {
    max-width: none;
  }
}

/* ═══════ REDUCED MOTION ═══════ */
@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none !important;
  }
  .link-card,
  .link-card::after,
  .link-card .media img,
  .link-card .btn {
    transition: none !important;
    transform: none !important;
  }
}

/* ═══════ FOOTER ═══════ */
.footer-wordmark {
  margin: 0 0 6px;
  text-align: center;
  font-family: "Noto Serif Display", serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--lav-700);
  font-size: clamp(40px, 9vw, 56px);
  line-height: 0.95;
  text-shadow:
    0 4px 30px rgba(91, 58, 86, 0.15),
    0 1px 4px rgba(61, 34, 64, 0.1);
}

.site-footer {
  padding: 22px 0 40px;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.footer-ig {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lav-600);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  transition: color 0.3s;
}
.footer-ig .ig {
  width: 22px;
  height: 22px;
  fill: var(--lav-700);
}
.footer-ig:hover {
  color: var(--lav-800);
}

.credit {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}
.credit-link {
  color: var(--lav-600);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.credit-link:hover {
  color: var(--lav-800);
}
