body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f9f5f2;
  color: #1f1b20;
  -webkit-font-smoothing: antialiased;
}

:root {
  --vinoux-burgundy: #5c2433;
  --vinoux-burgundy-soft: #7c3850;
  --vinoux-cream: #f9f5f2;
  --vinoux-gold: #c9a25f;
  --vinoux-graphite: #1f1b20;
  --vinoux-muted: #a79b9f;
  --shadow-soft: 0 16px 40px rgba(0,0,0,0.08);
  --shadow-subtle: 0 12px 30px rgba(0,0,0,0.04);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --max-width: 1160px;
}

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

img {
  max-width: 100%;
  display: block;
}

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

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* Layout */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(249,245,242,0.95), rgba(249,245,242,0.8));
  border-bottom: 1px solid rgba(92,36,51,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fbe3d2 0, #f0d7cd 12%, var(--vinoux-burgundy) 60%, #2d121b 100%);
  box-shadow: 0 8px 20px rgba(92,36,51,0.35);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 35% 25%;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--vinoux-graphite);
}

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vinoux-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  padding: 0.25rem 0;
  color: #4a4044;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--vinoux-gold), var(--vinoux-burgundy-soft));
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--vinoux-burgundy);
}

.nav-link--active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-user {
  font-size: 0.8rem;
  color: var(--vinoux-muted);
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--vinoux-burgundy), #380f1d);
  color: #fdf7f3;
  box-shadow: 0 10px 26px rgba(92,36,51,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(92,36,51,0.4);
}

.btn-ghost {
  border-color: rgba(92,36,51,0.14);
  background: rgba(255,255,255,0.7);
  color: var(--vinoux-graphite);
}

.btn-ghost:hover {
  border-color: rgba(92,36,51,0.35);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.badge-notification {
  position: relative;
}

.badge-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--vinoux-burgundy);
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #f9f5f2;
}

/* Toggle mobile */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(92,36,51,0.2);
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.8);
}

.nav-toggle-bar {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--vinoux-graphite);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--vinoux-graphite);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle-bar::before {
  top: -5px;
}

.nav-toggle-bar::after {
  bottom: -5px;
}

.nav-toggle.nav-open .nav-toggle-bar {
  background: transparent;
}

.nav-toggle.nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.nav-open .nav-toggle-bar::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  padding: 1.25rem 1.25rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-text-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--vinoux-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  color: var(--vinoux-graphite);
}

.hero-title span {
  background: linear-gradient(120deg, var(--vinoux-burgundy), #e2c892);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #6c5e63;
  max-width: 460px;
  margin-bottom: 1.6rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--vinoux-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--vinoux-gold);
}

/* Hero card */

.hero-card {
  border-radius: 28px;
  background: #fff;
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

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

.hero-card-caption {
  font-size: 0.8rem;
  color: #6f6065;
  margin-bottom: 0.85rem;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
  font-size: 0.76rem;
}

.hero-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #76666a;
  margin-bottom: 0.35rem;
}

.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vinoux-graphite);
}

.hero-stat-accent {
  color: var(--vinoux-burgundy-soft);
}

/* Sections */

.page-section-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

.section {
  margin-top: 2.2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-title-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--vinoux-muted);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--vinoux-graphite);
}

.section-description {
  font-size: 0.88rem;
  color: #7a6a6f;
  max-width: 420px;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.95rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(92,36,51,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(92,36,51,0.16);
}

.card-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--vinoux-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(92,36,51,0.06);
  color: #5f4a51;
  font-size: 0.7rem;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--vinoux-graphite);
}

.card-meta {
  font-size: 0.76rem;
  color: var(--vinoux-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.card-description {
  font-size: 0.82rem;
  color: #6f6065;
  margin-top: 0.2rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

/* Dashboard / listas */

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.dashboard-card {
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-subtle);
  padding: 1rem;
}

.dashboard-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--vinoux-graphite);
  margin-bottom: 0.45rem;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.8rem;
}

.dashboard-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  border-radius: 12px;
  padding: 0.4rem 0.55rem;
  background-color: rgba(249,245,242,0.9);
}

.dashboard-item-main {
  font-weight: 500;
  color: var(--vinoux-graphite);
  font-size: 0.8rem;
}

.dashboard-item-meta {
  font-size: 0.74rem;
  color: var(--vinoux-muted);
}

.dashboard-item-tag {
  font-size: 0.7rem;
  color: var(--vinoux-burgundy-soft);
}

.dashboard-list-empty {
  font-size: 0.78rem;
  color: var(--vinoux-muted);
  font-style: italic;
}

/* Listas em colunas */

.three-column-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.86rem;
  margin-top: 0.8rem;
}

.two-column-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.7rem;
  margin-top: 1.2rem;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: #6f6065;
}

.bullet-list li::before {
  content: "•";
  color: var(--vinoux-gold);
  margin-right: 0.35rem;
}

/* Locked / premium */

.locked-section {
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow-subtle);
  max-width: 620px;
}

.locked-title {
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 0.3rem;
}

.locked-text {
  font-size: 0.86rem;
  color: #6f6065;
  margin-bottom: 0.75rem;
}

.locked-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--vinoux-muted);
}

.form-row-wide {
  grid-column: 1 / -1;
}

.form-input,
.form-textarea {
  border-radius: var(--radius-md);
  border: 1px solid rgba(92,36,51,0.12);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  background-color: rgba(255,255,255,0.95);
  color: var(--vinoux-graphite);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(92,36,51,0.55);
  box-shadow: 0 0 0 1px rgba(92,36,51,0.4);
  background-color: #fff;
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.form-helper {
  font-size: 0.7rem;
  color: var(--vinoux-muted);
  margin-top: 0.15rem;
}

/* Notifications panel */

.notifications-panel {
  position: absolute;
  right: 1rem;
  top: 3.1rem;
  width: min(320px, 90vw);
  padding: 0.9rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
  display: none;
  z-index: 60;
}

.notifications-panel.notifications-panel--open {
  display: block;
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.notifications-title {
  font-size: 0.86rem;
  font-weight: 600;
}

.notifications-list {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.notification-item {
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: rgba(249,245,242,0.9);
}

.notification-time {
  font-size: 0.7rem;
  color: var(--vinoux-muted);
  margin-top: 0.1rem;
}

/* About */

.about-text {
  font-size: 0.9rem;
  color: #6f6065;
  margin-bottom: 0.7rem;
}

/* Footer */

footer {
  border-top: 1px solid rgba(92,36,51,0.06);
  padding: 1.25rem 1.25rem 1.4rem;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.75);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--vinoux-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-link {
  cursor: pointer;
}

.footer-link:hover {
  color: var(--vinoux-graphite);
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.social-pill {
  width: 26px;
  height: 26px;
  border-radius: 16px;
  background: rgba(92,36,51,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

/* Modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.24);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.modal-backdrop.modal-backdrop--open {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.3rem;
  max-width: 420px;
  width: 92vw;
  box-shadow: var(--shadow-soft);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.modal-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.modal-close {
  border-radius: 999px;
  width: 26px;
  height: 26px;
  background: rgba(92,36,51,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.modal-body {
  font-size: 0.8rem;
  color: #6f6065;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* Responsivo */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 1rem;
  }
  .hero-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .two-column-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .three-column-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  header.nav-mobile-open .nav-links,
  header.nav-mobile-open .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    padding: 0.75rem 1.25rem 1.1rem;
    background: rgba(249,245,242,0.98);
    border-bottom: 1px solid rgba(92,36,51,0.08);
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .three-column-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
