* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #1a1a1a;
  --cream: #f7f4f0;
  --gold: #c9a96e;
  --gold-soft: #d4c5b0;
  --text-soft: #777;
  --white: #fff;
  --line: #f0ebe4;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--cream);
  font-family: "Jost", sans-serif;
  color: var(--black);
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  -webkit-tap-highlight-color: transparent;
}

header {
  background: var(--black);
  color: var(--cream);
  text-align: center;
  padding: clamp(38px, 8vw, 64px) clamp(16px, 5vw, 32px) clamp(34px, 6vw, 46px);
}

header .label {
  font-size: clamp(9px, 2.2vw, 11px);
  letter-spacing: clamp(3px, 1vw, 5px);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 10vw, 72px);
  font-weight: 300;
  letter-spacing: clamp(1px, 0.5vw, 2px);
  margin-bottom: 12px;
  line-height: 0.95;
}

header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(11px, 2.6vw, 13px);
  letter-spacing: clamp(1px, 0.45vw, 2px);
  color: #bbb;
  font-weight: 300;
  text-transform: uppercase;
}

.divider {
  width: 46px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
}

.whatsapp-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.25s ease;
}

.whatsapp-top:hover,
.whatsapp-top:focus-visible {
  background: var(--gold);
  color: var(--black);
}

main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-bottom: 46px;
}

.intro {
  text-align: center;
  padding: clamp(24px, 5vw, 34px) clamp(16px, 4vw, 22px) 10px;
  color: var(--text-soft);
  font-size: clamp(13px, 2.8vw, 14px);
  letter-spacing: 1px;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 600;
  letter-spacing: 1px;
  padding: clamp(30px, 6vw, 42px) clamp(16px, 4vw, 40px) 6px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::after {
  content: "";
  flex: 1;
  min-width: 30px;
  height: 1px;
  background: var(--gold-soft);
}

.section-tag {
  font-size: 10px;
  letter-spacing: clamp(2px, 0.9vw, 4px);
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 11px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  margin-left: clamp(16px, 4vw, 40px);
  margin-bottom: 20px;
  display: inline-block;
}

.table-wrap {
  width: 100%;
  padding: 0 clamp(12px, 3vw, 32px) 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 780px;
}

thead tr {
  background: var(--black);
}

thead th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 15px 20px;
  text-align: left;
  color: var(--gold);
}

thead th:nth-child(3),
thead th:nth-child(4) {
  text-align: center;
}

tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: #faf8f5;
}

td {
  padding: 12px 20px;
  font-size: 14px;
  vertical-align: middle;
}

.td-img {
  width: 92px;
  padding: 10px 14px;
}

.image-box {
  width: 66px;
  height: 86px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 auto;
}

.image-box img {
  width: 58px;
  height: 78px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.16));
  transition: transform 0.25s ease;
}

tbody tr:hover .image-box img {
  transform: scale(1.08);
}

.perfume-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--black);
  display: block;
  line-height: 1.1;
}

.perfume-brand {
  font-size: 11px;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
  display: block;
}

.ml-badges,
.price-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.badge,
.price-item {
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  color: #6b5a42;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  background: var(--black);
  border-color: var(--black);
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

.price-item:hover,
.price-item:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.cta {
  margin: 12px clamp(12px, 3vw, 32px) 18px;
  background: var(--black);
  color: var(--cream);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 28px) clamp(16px, 4vw, 22px);
  text-align: center;
}

.cta h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.1;
}

.cta p {
  max-width: 720px;
  margin: 0 auto 18px;
  color: #cfcfcf;
  font-size: clamp(13px, 2.8vw, 14px);
  letter-spacing: 1px;
}

.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--black);
  background: var(--gold);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  border-top: 1px solid #e8e0d5;
}

@media (max-width: 1024px) {
  table {
    min-width: 720px;
  }

  td,
  thead th {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 760px) {
  header p {
    line-height: 1.7;
  }

  .whatsapp-top,
  .cta a {
    width: min(100%, 360px);
  }

  .table-wrap {
    overflow-x: visible;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  table {
    min-width: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  thead {
    display: none;
  }

  tbody tr {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0 14px;
    background: var(--white);
    border: 1px solid #eadfce;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 14px;
    margin-bottom: 16px;
  }

  tbody tr:hover {
    background: var(--white);
  }

  td {
    border: none;
    padding: 0;
  }

  .td-img {
    grid-row: span 3;
    width: 92px;
    padding: 0;
  }

  .image-box {
    width: 86px;
    height: 112px;
  }

  .image-box img {
    width: 76px;
    height: 100px;
  }

  td:nth-child(2) {
    align-self: center;
    padding-top: 4px;
  }

  td:nth-child(3),
  td:nth-child(4) {
    grid-column: 1 / -1;
    padding-top: 14px;
  }

  td:nth-child(3)::before,
  td:nth-child(4)::before {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
  }

  td:nth-child(3)::before {
    content: "Tamanhos";
  }

  td:nth-child(4)::before {
    content: "Preço por ML";
  }

  .perfume-name {
    font-size: 22px;
  }

  .perfume-brand {
    font-size: 10px;
  }

  .ml-badges,
  .price-list {
    justify-content: center;
  }

  .badge,
  .price-item {
    font-size: 11px;
    padding: 7px 11px;
  }

  .price-item {
    flex: 1 1 calc(50% - 6px);
    min-width: 128px;
  }
}

@media (max-width: 420px) {
  header {
    padding: 38px 14px 30px;
  }

  header h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  header .label {
    letter-spacing: 3px;
  }

  .section-title {
    gap: 10px;
  }

  tbody tr {
    grid-template-columns: 78px 1fr;
    gap: 0 12px;
    padding: 12px;
  }

  .td-img {
    width: 78px;
  }

  .image-box {
    width: 74px;
    height: 98px;
  }

  .image-box img {
    width: 64px;
    height: 88px;
  }

  .perfume-name {
    font-size: 19px;
  }

  .price-item {
    flex-basis: 100%;
    width: 100%;
  }
}

@media (hover: none) {
  tbody tr:hover .image-box img {
    transform: none;
  }
}

/* Responsividade reforçada para todos os dispositivos */
@media (min-width: 1280px) {
  main {
    max-width: 1280px;
  }

  table {
    min-width: 0;
  }
}

@media (max-width: 1180px) {
  main {
    width: 100%;
  }

  table {
    min-width: 760px;
  }
}

@media (max-width: 900px) {
  header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .table-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  table {
    min-width: 720px;
  }

  td,
  thead th {
    padding: 12px 12px;
  }

  .price-item,
  .badge {
    font-size: 10.5px;
  }
}

@media (max-width: 760px) {
  .table-wrap {
    overflow-x: visible;
  }

  table {
    min-width: 0;
  }

  tbody tr {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  td:nth-child(2) {
    min-width: 0;
  }

  .perfume-name,
  .perfume-brand {
    overflow-wrap: anywhere;
  }

  .ml-badges,
  .price-list {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .intro {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-title {
    flex-wrap: nowrap;
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-tag {
    margin-left: 14px;
  }

  tbody tr {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 12px;
    border-radius: 14px;
  }

  .td-img {
    width: 82px;
  }

  .image-box {
    width: 78px;
    height: 104px;
  }

  .image-box img {
    width: 68px;
    height: 94px;
  }

  .price-item {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 360px) {
  header h1 {
    font-size: 32px;
  }

  .whatsapp-top,
  .cta a {
    font-size: 10px;
    letter-spacing: 1.2px;
    padding-left: 14px;
    padding-right: 14px;
  }

  tbody tr {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .td-img {
    width: 100%;
    grid-row: auto;
  }

  .image-box {
    margin: 0 auto 12px;
  }

  td:nth-child(2),
  td:nth-child(3),
  td:nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
