:root {
  --yellow: #ffd72e;
  --yellow-soft: #fff5bc;
  --pink: #f52f83;
  --pink-dark: #c61661;
  --ink: #171616;
  --muted: #6d6862;
  --cream: #fffdf7;
  --line: #dfdbd1;
  --blue: #1467c9;
  --green: #3e8754;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(53, 38, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'Aptos', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 22, 22, 0.2);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-logo-crop {
  width: 230px;
  display: block;
  background: transparent;
}

.brand-logo-crop img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand .brand-logo-crop {
  width: 250px;
  padding: 10px 14px;
  background: var(--yellow);
  border-radius: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-action {
  padding: 11px 18px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(23, 22, 22, 0.45);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
  padding: 142px max(40px, calc((100vw - 1180px) / 2)) 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 88%, rgba(245, 47, 131, 0.19), transparent 24%),
    var(--yellow);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1,
h2,
h3 {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 0.97;
  letter-spacing: -0.07em;
}

h1 em {
  color: var(--pink-dark);
  font-style: normal;
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--pink-dark);
  box-shadow: 0 10px 28px rgba(198, 22, 97, 0.28);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.text-link {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 5px;
}

.proof-list {
  display: flex;
  gap: 34px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  min-width: 72px;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.proof-list span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  isolation: isolate;
}

.sun-disc {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: 50%;
  width: min(480px, 80vw);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.43);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translateX(-50%);
}

.pouch {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
  border-radius: 12px 12px 25px 25px;
  box-shadow: 0 25px 40px rgba(40, 28, 0, 0.23);
  transform-origin: bottom center;
}

.pouch::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
}

.pouch-main {
  z-index: 2;
  width: 238px;
  height: 390px;
  background: linear-gradient(145deg, #ff69a8, #c8115c 82%);
}

.pouch-small {
  z-index: 1;
  width: 190px;
  height: 315px;
  margin: 0 -24px 8px;
}

.pouch-small:first-of-type {
  transform: rotate(-8deg);
}

.pouch-small:last-of-type {
  transform: rotate(8deg);
}

.pouch-green {
  background: linear-gradient(145deg, #77b77c, #28613d 82%);
}

.pouch-blue {
  background: linear-gradient(145deg, #469bea, #104a9b 82%);
}

.pouch-brand {
  margin-bottom: auto;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pouch-name {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pouch-line {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.products-section {
  padding: 100px max(40px, calc((100vw - 1180px) / 2));
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading h2,
.compare-intro h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 330px;
  margin: 0 0 7px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 35px rgba(24, 20, 8, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.version-dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.product-feminino .version-dot { color: var(--pink); }
.product-masculino .version-dot { color: var(--green); }
.product-melhor-idade .version-dot { color: var(--blue); }

.mini-pouch {
  width: 150px;
  height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: center;
  margin: 30px 0 28px;
  padding: 17px;
  color: var(--white);
  border-radius: 9px 9px 18px 18px;
  box-shadow: 0 18px 28px rgba(20, 20, 20, 0.2);
}

.product-feminino .mini-pouch { background: linear-gradient(145deg, #ff73ad, #c81660); }
.product-masculino .mini-pouch { background: linear-gradient(145deg, #7bbb80, #2a6540); }
.product-melhor-idade .mini-pouch { background: linear-gradient(145deg, #4598e7, #123f84); }

.mini-pouch small {
  margin-bottom: auto;
  font-weight: 800;
}

.mini-pouch strong {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.05;
}

.mini-pouch span {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 700;
}

.card-copy {
  padding: 0 6px;
}

.card-copy h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.card-copy > p {
  margin: 7px 0 20px;
  color: var(--muted);
}

.quick-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.quick-facts div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.quick-facts dt { color: var(--muted); }
.quick-facts dd { margin: 0; font-weight: 800; }

.card-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 18px;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.card-button:hover,
.card-button:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.compare-section {
  padding: 100px max(40px, calc((100vw - 1180px) / 2)) 36px;
  color: var(--white);
  background: var(--ink);
}

.compare-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}

.compare-intro .eyebrow {
  grid-column: 1 / -1;
  color: var(--yellow);
}

.compare-intro > p:last-child {
  max-width: 520px;
  margin: 0 0 6px;
  color: #b9b6af;
  font-size: 17px;
}

.compare-shell {
  padding: 22px;
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.compare-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  background: #ece9e1;
  border-radius: 999px;
}

.compare-tabs button {
  flex: 1;
  min-height: 42px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.compare-tabs button[aria-selected='true'] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 3px 12px rgba(24, 22, 18, 0.08);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

thead th {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
}

tbody th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

tbody td {
  font-size: 14px;
  font-weight: 700;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

[data-column].is-highlighted {
  background: var(--yellow-soft);
}

.check {
  color: var(--green);
  font-weight: 900;
}

.formula-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  background: #f2efe6;
  border-radius: 18px;
}

.formula-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--pink-dark);
  border-radius: 50%;
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-weight: 800;
}

.formula-note h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.formula-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.selected-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--yellow);
  border-radius: 18px;
}

.selected-product div {
  display: grid;
}

.selected-product span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.selected-product strong {
  font-family: 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 25px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #373535;
}

.footer-brand { color: var(--yellow); }

footer > p {
  max-width: 650px;
  margin: 0;
  color: #9f9b94;
  font-size: 12px;
  text-align: right;
}

.product-dialog {
  width: min(540px, calc(100% - 30px));
  padding: 34px;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.product-dialog::backdrop {
  background: rgba(16, 14, 13, 0.7);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f1eee7;
  border: 0;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}

.dialog-accent {
  width: 58px;
  height: 8px;
  margin-bottom: 32px;
  background: var(--pink);
  border-radius: 999px;
}

.product-dialog h2 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -0.05em;
}

.dialog-description {
  margin: 7px 0 24px;
  color: var(--muted);
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}

.dialog-facts div {
  padding: 15px;
  background: #f5f2eb;
  border-radius: 14px;
}

.dialog-facts dt {
  color: var(--muted);
  font-size: 11px;
}

.dialog-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.dialog-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.dialog-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dialog-done {
  width: 100%;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.button-whatsapp {
  color: var(--white);
  background: #167a4a;
  text-decoration: none;
}

.whatsapp-float {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 20px 8px 9px;
  color: var(--white);
  background: #167a4a;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(8, 69, 39, 0.33);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #0e6339;
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #167a4a;
  background: var(--white);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 900;
}

.hero-products {
  align-items: flex-end;
  padding-bottom: 18px;
}

.hero-product {
  position: relative;
  z-index: 1;
  width: 188px;
  height: 350px;
  flex: 0 0 auto;
  margin: 0 -25px;
  overflow: hidden;
  background: var(--white);
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 25px 42px rgba(40, 28, 0, 0.22);
}

.hero-product img,
.product-photo img,
#dialog-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-product-left {
  transform: rotate(-6deg) translateY(-5px);
}

.hero-product-main {
  z-index: 3;
  width: 240px;
  height: 430px;
}

.hero-product-right {
  transform: rotate(6deg) translateY(-5px);
}

.product-photo {
  width: 176px;
  height: 232px;
  align-self: center;
  margin: 24px 0 26px;
  overflow: hidden;
  background: #ece9e0;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.14);
}

tbody th small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-dialog {
  width: min(940px, calc(100% - 30px));
  max-height: 90vh;
  overflow-y: auto;
}

.dialog-overview {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  margin-top: 10px;
}

#dialog-image {
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.12);
}

.composition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.composition-panel {
  padding: 18px;
  background: #f5f2eb;
  border-radius: 16px;
}

.composition-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.composition-heading h3 {
  margin: 0;
  font-size: 17px;
}

.composition-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.composition-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.composition-list div:last-child {
  border-bottom: 0;
}

.composition-list span {
  color: var(--muted);
}

.composition-list strong {
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 320px;
    display: grid;
    grid-template-columns: 170px 1fr;
    column-gap: 22px;
  }

  .card-topline {
    grid-column: 1 / -1;
  }

  .mini-pouch,
  .product-photo {
    grid-column: 1;
    grid-row: 2 / 4;
    margin: 18px auto 0;
  }

  .card-copy {
    align-self: center;
  }

  .card-button {
    grid-column: 2;
    align-self: end;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 28px);
    height: 78px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-logo-crop {
    width: 180px;
  }

  .brand-copy strong { font-size: 18px; }
  .header-action { padding: 9px 13px; font-size: 13px; }

  .hero,
  .products-section,
  .compare-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 116px;
  }

  h1 { font-size: 47px; }
  .hero-lead { font-size: 17px; }

  .hero-actions,
  .section-heading,
  .compare-intro,
  .selected-product,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
  }

  .proof-list {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-visual {
    min-height: 390px;
    margin: 10px -32px 0;
  }

  .hero-product {
    width: 133px;
    height: 270px;
    margin: 0 -27px;
    border-width: 3px;
    border-radius: 15px;
  }

  .hero-product-main {
    width: 177px;
    height: 340px;
  }

  .pouch-main {
    width: 185px;
    height: 320px;
  }

  .pouch-small {
    width: 145px;
    height: 255px;
    margin-right: -34px;
    margin-left: -34px;
  }

  .pouch-name { font-size: 23px; }

  .products-section,
  .compare-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-heading {
    display: flex;
    gap: 18px;
  }

  .section-heading h2,
  .compare-intro h2 {
    font-size: 37px;
  }

  .product-card {
    min-height: 580px;
    display: flex;
  }

  .mini-pouch,
  .product-photo {
    margin: 30px auto 28px;
  }

  .compare-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .compare-tabs {
    overflow-x: auto;
    border-radius: 16px;
  }

  .compare-tabs button {
    min-width: max-content;
  }

  .compare-shell { padding: 12px; }

  .formula-note {
    grid-template-columns: 1fr;
  }

  .selected-product {
    display: flex;
  }

  footer {
    display: flex;
  }

  footer > p {
    text-align: left;
  }

  .product-dialog {
    padding: 26px 20px;
  }

  .dialog-overview,
  .composition-grid {
    grid-template-columns: 1fr;
  }

  #dialog-image {
    width: 150px;
    height: 196px;
  }

  .dialog-facts {
    grid-template-columns: 1fr;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding-right: 16px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
