/* ============================================================
   Nobre Planejados — Bio Site
   Tema: Premium dark — warm charcoal + brass
   ============================================================ */

:root {
  --radius: 1rem;
  --background: oklch(0.16 0.012 60);
  --foreground: oklch(0.96 0.012 80);
  --card: oklch(0.20 0.014 60);
  --card-foreground: oklch(0.96 0.012 80);
  --primary: oklch(0.78 0.10 80);
  --primary-foreground: oklch(0.18 0.012 60);
  --muted: oklch(0.26 0.012 60);
  --muted-foreground: oklch(0.70 0.018 70);
  --accent: oklch(0.80 0.11 82);
  --accent-foreground: oklch(0.18 0.012 60);
  --border: oklch(0.30 0.014 65);
  --ring: oklch(0.80 0.11 82);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --shadow-soft: 0 14px 50px -18px oklch(0 0 0 / 0.65);
  --shadow-glow: 0 0 0 1px oklch(0.80 0.11 82 / 0.18), 0 18px 50px -22px oklch(0.80 0.11 82 / 0.35);
  --gradient-bg:
    radial-gradient(120% 60% at 50% 0%, oklch(0.24 0.02 70) 0%, oklch(0.16 0.012 60) 55%, oklch(0.12 0.01 60) 100%);
  --gradient-gold: linear-gradient(135deg, oklch(0.86 0.10 85) 0%, oklch(0.72 0.12 70) 50%, oklch(0.86 0.10 85) 100%);
  --hairline: oklch(0.80 0.11 82 / 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- utilities ---------- */
.font-display {
  font-family: var(--font-display);
  font-feature-settings: "liga", "dlig";
  letter-spacing: 0.01em;
}

.italic {
  font-style: italic;
}

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hairline {
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.num-display {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.icon-accent {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- layout ---------- */
.page {
  position: relative;
  margin: 0 auto;
  min-height: 100vh;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}

.top-glow {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 420px;
  opacity: 0.6;
  background: radial-gradient(80% 60% at 50% 0%, oklch(0.32 0.06 75 / 0.55) 0%, transparent 70%);
}

/* ---------- header ---------- */
.header {
  position: relative;
  padding: 48px 24px 0;
  text-align: center;
}

.logo-ring-wrap {
  position: relative;
  margin: 0 auto;
  display: flex;
  height: 128px;
  width: 128px;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--gradient-gold);
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.logo-circle {
  height: 120px;
  width: 120px;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--card);
  box-shadow: var(--shadow-glow);
}

.logo-circle img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.brand {
  margin-top: 24px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.025em;
}

.tagline-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hairline-short {
  height: 1px;
  width: 32px;
  background: var(--hairline);
}

.tagline {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent);
}

.subtitle {
  margin: 20px auto 0;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ---------- hero strip ---------- */
.hero-strip {
  position: relative;
  margin-top: 32px;
  padding: 0 20px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-img {
  height: 176px;
  width: 100%;
  object-fit: cover;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), oklch(0.16 0.012 60 / 0.3), transparent);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
}

.hero-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.hero-title {
  font-size: 20px;
}

.hero-ig-btn {
  border-radius: 9999px;
  border: 1px solid var(--hairline);
  background: oklch(0.16 0.012 60 / 0.7);
  padding: 6px 12px;
  font-size: 11px;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease;
}

.hero-ig-btn:active {
  transform: scale(0.95);
}

/* ---------- actions ---------- */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 20px 24px;
}

/* Primary CTA */
.cta-primary {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 1.5px;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-glow);
  transition: transform 0.15s ease;
}

.cta-primary:active {
  transform: scale(0.99);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: oklch(0.16 0.012 60 / 0.9);
  padding: 16px 20px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-icon-circle {
  display: flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
}

.whats-img {
  height: 20px;
  width: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cta-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cta-desc {
  font-size: 11px;
  color: var(--muted-foreground);
}

/* Bio link cards */
.bio-link {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 14px 16px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.bio-link:hover {
  border-color: var(--hairline);
}

.bio-link:active {
  transform: scale(0.99);
}

.bio-icon {
  display: flex;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--background);
  color: var(--accent);
}

.bio-text {
  flex: 1;
  min-width: 0;
}

.bio-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.bio-desc {
  font-size: 11px;
  color: var(--muted-foreground);
}

/* Ambient cards (with thumbnail) */
.ambient-link {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 10px 20px 10px 10px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.ambient-link:hover {
  border-color: var(--hairline);
}

.ambient-link:active {
  transform: scale(0.99);
}

.ambient-thumb {
  position: relative;
  height: 64px;
  width: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
}

.ambient-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ambient-link:hover .ambient-thumb img {
  transform: scale(1.05);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 0 4px;
}

.divider-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.divider-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent);
}

/* ---------- reviews ---------- */
.reviews-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}

.reviews-score {
  font-size: 30px;
  line-height: 1;
}

.reviews-score-total {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted-foreground);
}

.reviews-label {
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-foreground);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.reviews-scroll {
  overflow-x: auto;
  padding: 16px 20px;
  scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 12px;
  scroll-snap-type: x mandatory;
}

.review {
  min-width: 80%;
  scroll-snap-align: start;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: oklch(0.16 0.012 60 / 0.4);
  padding: 16px;
}

.quote-icon {
  color: oklch(0.80 0.11 82 / 0.7);
}

.review-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.625;
  color: oklch(0.96 0.012 80 / 0.9);
}

.review-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-author {
  font-size: 11px;
  color: var(--muted-foreground);
}

/* ---------- diferenciais ---------- */
.dif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dif-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 16px;
}

.dif-num {
  font-size: 24px;
}

.dif-text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted-foreground);
}

/* ---------- regiões ---------- */
.regions-card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 16px;
}

.region-chip {
  border-radius: 9999px;
  border: 1px solid var(--hairline);
  background: oklch(0.16 0.012 60 / 0.5);
  padding: 4px 12px;
  font-size: 11px;
  color: oklch(0.96 0.012 80 / 0.8);
}

/* ---------- localização ---------- */
.loc-row {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: oklch(0.20 0.014 60 / 0.6);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--muted-foreground);
  backdrop-filter: blur(8px);
}

.loc-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 8px oklch(0.80 0.11 82);
}

/* ---------- footer ---------- */
.footer {
  padding: 24px 24px 40px;
  text-align: center;
}

.footer-hairline {
  margin: 0 auto;
  height: 1px;
  width: 96px;
}

.footer-brand {
  margin-top: 20px;
  font-size: 16px;
}

.footer-copy {
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}
