/* =========================================================
   OR Perfumaria · Black November — Home
   Frame Figma "[P] Home" (225:3) · seções de 1280px → container 1140px
   ========================================================= */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/NeueHaasDisplayPro-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/NeueHaasDisplayPro-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/NeueHaasDisplayPro-600-700.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* cores */
  --c-page: #ffeed3;
  --c-paper: #fffefd;
  --c-cream: #f5f0ea;
  --c-ink: #2e2206;
  --c-ink-2: #2d1f09;
  --c-brown: #482f11;
  --c-gold: #b8860b;
  --c-gold-2: #cb9949;
  --c-black: #111;
  --c-dark: #0d0a01;
  --c-red: #d62828;
  --c-white: #fff;
  --c-muted: #5d5d5d;
  --c-line: #edcca4;
  --c-img-border: #e4cbad;
  --c-placeholder: #d9d9d9;
  --c-placeholder-2: #838383;
  --c-vip-title: #fff8f7;
  --c-vip-text: #f6ebeb;
  --c-input: #adadad;
  --c-input-text: #292929;
  --c-footer-text: #7a7269;
  --c-footer-link: #525252;
  --c-footer-legal: #9a9088;
  --c-footer-line: #d4cbc0;
  --c-footer-border: #c5bdb4;
  --c-footer-strong: #4a4540;

  /* gradientes (estilo "Radial" do Figma) */
  --grad-gold: radial-gradient(120% 220% at 37% 22%, #efc684 0%, #ddb066 30%, #cb9949 60%, #bb8023 100%);
  --grad-coupon: radial-gradient(70% 200% at 42% 29%, #3d3d3d 0%, #2d2d2d 25%, #1e1e1e 50%, #0f0f0f 75%, #080808 87.5%, #000 100%);
  --grad-kit: linear-gradient(90deg, #111 1%, rgba(17, 17, 17, 0) 101.64%);

  /* tipografia — escala proporcional 1140/1280 (também nas larguras máximas de texto, para manter as quebras do frame) */
  --k: 0.89;
  --ff: "Neue Haas Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-56: calc(56px * var(--k));
  --fs-48: calc(48px * var(--k));
  --fs-40: calc(40px * var(--k));
  --fs-32: calc(32px * var(--k));
  --fs-24: calc(24px * var(--k));
  --fs-20: calc(20px * var(--k));
  --fs-16: calc(16px * var(--k));
  --fs-15: calc(15.06px * var(--k));
  --fs-14: calc(14px * var(--k));
  --fs-10: calc(10px * var(--k));

  /* layout e espaçamento (valores do frame) */
  --container: 1140px;
  --gutter: 24px;
  --section-gap: 100px;
  --radius-pill: 999px;
  --radius-input: 100px;
  --radius-coupon: 8px;
  --radius-search: 5px;
  --radius-social: 4px;

  --ease: 200ms ease;
  --focus: 0 0 0 3px var(--c-paper), 0 0 0 5px var(--c-gold);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-ink);
  font-family: var(--ff);
  font-weight: 400;
  font-size: var(--fs-16);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
strong, b { font-weight: 500; }
s { color: var(--c-red); font-weight: 500; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important; /* utilitário de acessibilidade */
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: 4px;
  transition: top var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: transform var(--ease), filter var(--ease), background-color var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--dark {
  min-height: 45px;
  padding: 0 24px;
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 400;
  font-size: var(--fs-16);
}
.btn--dark:hover { background: #4a3810; }

.btn--gold {
  background: var(--grad-gold);
  color: var(--c-white);
  text-shadow: 0 1px 1px rgba(80, 50, 0, 0.25);
}
.btn--gold:hover { filter: brightness(1.06); }

.btn--lg { min-height: 58px; padding: 0 40px; font-size: var(--fs-20); }
.btn--block { width: 100%; min-height: 55px; padding: 10px; font-size: var(--fs-14); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: var(--fs-20);
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: gap var(--ease), opacity var(--ease);
}
.link-arrow:hover { gap: 14px; opacity: 0.85; }
.link-arrow img { flex: none; }

/* ---------- Header: barra preta + contador ---------- */
.topbar { background: var(--c-black); color: var(--c-white); }
.topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 6px;
}
.topbar__text {
  font-size: var(--fs-16);
  line-height: 1.15;
  text-transform: uppercase;
}

.countdown { display: flex; gap: 8px; }
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 21px;
}
.countdown__unit b {
  font-size: var(--fs-16);
  line-height: 0.75;
  font-variant-numeric: tabular-nums;
}
.countdown__unit small { font-size: 6px; line-height: 0.75; letter-spacing: 0.02em; }

/* ---------- Esteira de ofertas (carrossel contínuo) ---------- */
.ticker {
  height: 49px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-gold);
  color: var(--c-white);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__clone { display: contents; }
.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 20px;
  padding-right: 20px;
  font-size: var(--fs-14);
  line-height: 1.15;
  white-space: nowrap;
}
.ticker__group span { padding-inline: 4px; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Header: navegação ---------- */
.navbar { position: relative; background: var(--c-paper); }
.navbar__inner {
  position: relative;
  height: 71px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu ul { display: flex; gap: 20px; }
.menu a {
  display: inline-block;
  padding-block: 6px;
  color: var(--c-muted);
  font-size: var(--fs-14);
  line-height: 1;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: color var(--ease), background-size var(--ease);
}
.menu a:hover { color: var(--c-ink); background-size: 100% 1px; }

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.logo img { width: 64px; height: 32px; }

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 156px;
  height: 30px;
  padding-inline: 10px;
  background: var(--c-cream);
  border-radius: var(--radius-search);
  transition: box-shadow var(--ease);
}
.search:focus-within { box-shadow: var(--focus); }
.search img { flex: none; width: 16.4px; height: 16.4px; margin: -0.6px; } /* traço do ícone sangra 0,6px da caixa de 15,2px */
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--c-ink);
  font-size: var(--fs-14);
}
.search input::placeholder { color: var(--c-muted); opacity: 1; }

.menu-toggle { display: none; }
.menu-backdrop { display: none; }

/* ---------- Hero / vídeo ---------- */
.hero {
  position: relative;
  height: clamp(420px, 34vw, 651px);
  overflow: hidden;
  background: #2b2010;
  color: var(--c-cream);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 57.8%; /* 376/651 */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  opacity: 0.85;
}
.hero__content {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 0 var(--gutter) 33px;
  text-align: center;
}
.hero__title {
  max-width: calc(547px * var(--k));
  font-weight: 400;
  font-size: var(--fs-48);
  line-height: 1.2;
}
.hero__scroll {
  width: 51px;
  height: 51px;
  border-radius: 50%;
  transition: transform var(--ease), opacity var(--ease);
}
.hero__scroll:hover { transform: translateY(4px); }
.hero__scroll img { width: 51px; height: 51px; }

/* ---------- Ofertas ---------- */
.offers { padding: 93px 0 89px; }
.offers__title {
  margin-bottom: 50px;
  font-weight: 400;
  font-size: var(--fs-56);
  line-height: 1.143;
  text-align: center;
}
.offers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 413px));
  justify-content: center;
  align-items: start;
  gap: 20px;
}

.product { display: flex; flex-direction: column; align-items: center; gap: 19px; }
.product__media {
  position: relative;
  width: 100%;
  aspect-ratio: 413 / 330;
  overflow: hidden;
  background: var(--c-placeholder);
  border: 0.5px solid var(--c-img-border);
}
.product__img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  transition: transform 400ms ease;
}
.product__img--z143 { width: 142.5%; }   /* 588.54 / 413 */
.product__img--z135 { width: 134.9%; }   /* 557 / 413 */
.product:hover .product__img { transform: translate(-50%, -50%) scale(1.03); }

.product__tag {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 109px;
  height: 38px;
  background: var(--c-gold-2);
  color: var(--c-cream);
  font-weight: 500;
  font-size: var(--fs-16);
}

.product__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: min(377px, 100%);
  text-align: center;
}
.product__head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.product__name {
  color: var(--c-gold);
  font-weight: 500;
  font-size: var(--fs-32);
  line-height: 1.125;
  text-align: left;
}
.product__rating { flex: none; font-weight: 500; font-size: var(--fs-16); }
.product__from { font-size: var(--fs-24); }
.product__price { font-size: var(--fs-32); }
.product__price strong { color: var(--c-gold); }

/* ---------- Barra de confiança ---------- */
.trust { background: var(--c-paper); }
.trust__list {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item img { flex: none; width: 24px; height: 24px; }
.trust__item p { font-size: var(--fs-16); line-height: 1.19; }
.trust__item span { display: block; margin-top: 2px; font-size: var(--fs-14); line-height: 1.21; }
.trust__item + .trust__item {
  position: relative;
}
.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 1px;
  height: 40px;
  background: var(--c-line);
  transform: translate(-50%, -50%);
}

/* ---------- Kits (Casal e Encantadora) ---------- */
.kit {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.kit__inner { position: relative; z-index: 1; display: flex; }
.kit__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  padding-block: 60px;
}
.kit__title {
  max-width: calc(488px * var(--k));
  font-weight: 500;
  font-size: var(--fs-56);
  line-height: 1.2;
}
.kit__text { font-size: var(--fs-24); line-height: 1.333; }

.kit--casal { background: var(--c-black); color: var(--c-cream); }
.kit--casal .kit__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%; /* no frame a foto (824px) sobe 134px na faixa de 600px */
}
.kit--casal::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 52.24%; /* 1003 / 1920 */
  background: var(--grad-kit), var(--grad-kit);
}
.kit--casal .kit__content { max-width: calc(633px * var(--k)); }

.kit--encantadora { color: var(--c-ink); }
.kit--encantadora .kit__media {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(50% - 6px); /* no frame a imagem invade 34px o bloco de texto; ajustado ao container de 1140 */
  background: var(--c-placeholder);
  /* máscara "Rectangle 7" (225:411): opaca até 68% e some na borda direita */
  -webkit-mask-image: linear-gradient(90deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 68%, transparent 100%);
}
/* image-1.webp já vem recortada na área visível do frame; os frascos ficam no terço direito */
.kit--encantadora .kit__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; }
.kit--encantadora .kit__inner { justify-content: flex-end; }
.kit--encantadora .kit__content { width: calc(542px * var(--k)); max-width: 100%; }

.coupon {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-coupon);
  font-size: var(--fs-20);
  line-height: 1;
  color: var(--c-white);
}
.coupon__label { display: flex; align-items: center; padding: 20px 24px; white-space: nowrap; }
.coupon__code {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 7px;
  background: var(--grad-coupon);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.coupon__code img { flex: none; width: 19.62px; height: 15.2px; margin: -0.6px; } /* caixa de 18,42 × 14px no frame */
.coupon--light { border-color: rgba(45, 31, 9, 0.6); }
.coupon--light .coupon__label { color: var(--c-ink-2); }
.coupon--light .coupon__code { background: var(--c-brown); }

/* ---------- Carrosséis (grade no desktop, rolagem com snap no tablet/mobile) ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.carousel__dots { display: none; }

.video-card {
  position: relative;
  aspect-ratio: 305 / 543;
  overflow: hidden;
  background: var(--c-placeholder);
}
.video-card__img,
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--ease);
}
.video-card__play:hover { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Instagram ---------- */
.instagram { padding-top: var(--section-gap); }
.instagram__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 35px;
}
.instagram__title { font-weight: 500; font-size: var(--fs-40); line-height: 1.55; }
.instagram__note { font-size: var(--fs-16); line-height: 1.125; }
.instagram__link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-16);
  line-height: 1.22;
  transition: opacity var(--ease);
}
.instagram__link:hover { opacity: 0.7; }

/* ---------- Avaliações ---------- */
.reviews { padding-top: var(--section-gap); }
.reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 41px;
}
.reviews__intro { display: flex; flex-direction: column; gap: 32px; max-width: calc(556px * var(--k)); }
.reviews__title { font-weight: 500; font-size: var(--fs-56); line-height: 1.107; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  min-height: 41px;
  padding: 0 24px;
  border: 1px solid var(--c-ink);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: var(--fs-16);
  color: var(--c-ink);
  transition: background-color var(--ease), color var(--ease);
}
.tab:hover { background: rgba(46, 34, 6, 0.08); }
.tab.is-active { background: var(--c-ink); color: var(--c-white); }

.reviews__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 227px;
  flex: none;
}
.reviews__score p { font-size: var(--fs-32); line-height: 0.78; white-space: nowrap; }

.tab-panel { display: flex; flex-direction: column; gap: 17px; }
.tab-panel[hidden] { display: none; }

.testimonial { display: flex; flex-direction: column; background: var(--c-white); }
.testimonial__img {
  width: 100%;
  aspect-ratio: 243 / 324;
  object-fit: cover;
  background: var(--c-placeholder);
}
.testimonial__body {
  display: flex;
  flex-direction: column;
  gap: 12.9px;
  padding: 20.4px 17.2px 31px;
  color: #000;
  font-size: var(--fs-15);
}
.testimonial__name { display: flex; gap: 12.9px; line-height: 1.14; }
.testimonial__stars { display: flex; gap: 2.15px; }
.testimonial__stars img { width: 15px; height: 15px; }
.testimonial__text { line-height: 1.43; }

/* ---------- Seções de destaque (Psicologia / História) ---------- */
.feature { padding-top: var(--section-gap); }
.feature + .feature { padding-top: 100px; }
.feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 496fr) minmax(0, 740fr);
  align-items: center;
  gap: 46px;
}
.feature--reverse .feature__inner { grid-template-columns: minmax(0, 740fr) minmax(0, 496fr); }
.feature__content { display: flex; flex-direction: column; align-items: flex-start; gap: 35px; }
.feature__title { font-weight: 500; font-size: var(--fs-56); line-height: 1.2; }
.feature__title--narrow { max-width: calc(366px * var(--k)); }
.feature__text { max-width: calc(406px * var(--k)); font-size: var(--fs-24); line-height: 1.208; }
.feature__text--wide { max-width: calc(444px * var(--k)); }
.feature__text + .feature__text { margin-top: -6px; }
.feature__media {
  height: 505px;
  overflow: hidden;
  background: var(--c-placeholder-2);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lista VIP ---------- */
.vip { padding-top: var(--section-gap); }
.vip__box {
  display: grid;
  grid-template-columns: minmax(0, 630fr) minmax(0, 650fr);
  min-height: 640px;
  background: var(--c-dark);
  overflow: hidden;
}
.vip__media { position: relative; background: var(--c-placeholder); }
.vip__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vip__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: min(422px, 100% - 48px);
  margin: 0 auto;
  padding-block: 60px;
  text-align: center;
}
.vip__logo { width: 64px; height: 32px; }
.vip__title {
  color: var(--c-vip-title);
  font-weight: 400;
  font-size: 43px; /* valores fixos pedidos para esta seção */
  line-height: 1.08;
  letter-spacing: 0.6px;
}
.vip__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
  color: var(--c-vip-text);
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
}
.vip__list li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.vip__list li::before {
  content: "";
  flex: none;
  width: 17.2px;
  height: 17.2px;
  margin: -0.6px; /* caixa de 16px no frame */
  background: url("assets/icone-check.svg") center / contain no-repeat;
}

.vip__form { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.vip__form input {
  width: 100%;
  height: 46px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: var(--radius-input);
  background: var(--c-input);
  color: var(--c-input-text);
  font-size: 14px;
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}
.vip__form input::placeholder {
  color: var(--c-input-text);
  opacity: 1;
  font-size: 14px;
  text-transform: uppercase;
}
.vip__form input:focus { outline: 0; background: #c2c2c2; box-shadow: 0 0 0 2px var(--c-gold-2); }
.vip__form input[aria-invalid="true"] { border-color: #ff6b6b; }
.vip__form .btn { margin-top: 0; font-size: 16px; }
.vip__status { min-height: 1.2em; color: var(--c-vip-text); font-size: var(--fs-14); }

/* ---------- Rodapé ---------- */
.footer {
  margin-top: var(--section-gap);
  padding-block: 49px;
  background: var(--c-paper);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 36px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 282px; }
.footer__brand > img { width: 64px; height: 32px; }
.footer__brand p { color: var(--c-footer-text); font-size: var(--fs-14); line-height: 1.5; }
.footer__social { display: flex; gap: 5px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  border: 1px solid var(--c-footer-border);
  border-radius: var(--radius-social);
  transition: border-color var(--ease), background-color var(--ease);
}
.footer__social a:hover { border-color: var(--c-gold); background: var(--c-cream); }

.footer__nav { display: flex; gap: 44px; }
.footer__heading { margin-bottom: 16px; color: var(--c-gold); font-weight: 500; font-size: var(--fs-14); line-height: 1.14; }
.footer__nav ul { display: flex; flex-direction: column; gap: 16px; }
.footer__nav a {
  color: var(--c-footer-link);
  font-size: var(--fs-16);
  line-height: 1.125;
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--c-gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  border-block: 1px solid var(--c-footer-line);
  color: var(--c-footer-legal);
  font-size: var(--fs-14);
  line-height: 1.5;
}
.footer__secure {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--c-footer-strong);
}

/* =========================================================
   Tablet (768px – 1199px)
   ========================================================= */
@media (max-width: 1199px) {
  :root { --k: 0.8; }

  .trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; padding-block: 20px; }
  .trust__item + .trust__item::before { display: none; }

  .instagram__head { grid-template-columns: 1fr auto; }
  .instagram__note { grid-column: 1 / -1; grid-row: 2; }

  /* carrossel com rolagem e snap */
  .carousel__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .carousel__track::-webkit-scrollbar { display: none; }
  .carousel__track > li { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }
  .carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(46, 34, 6, 0.25);
    transition: background-color var(--ease), transform var(--ease);
  }
  .carousel__dot[aria-current="true"] { background: var(--c-ink); transform: scale(1.25); }

  .feature__media { height: 420px; }
  .kit--casal .kit__content { max-width: 50%; } /* deixa os frascos livres à direita */
  .kit--encantadora .kit__media { width: 50%; }
  .kit--encantadora .kit__media img { object-position: 70% center; } /* mantém os dois frascos no quadro */
  .kit--encantadora .kit__content { width: calc(50% - 32px); }
  .kit--encantadora .coupon { flex-direction: column; width: 100%; }
  .kit--encantadora .coupon__code { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.6); }
  .link-arrow { line-height: 1.4; }
}

/* =========================================================
   Mobile (até 767px)
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-gap: 64px;
    --fs-56: 32px;
    --fs-48: 30px;
    --fs-40: 28px;
    --fs-32: 24px;
    --fs-24: 18px;
    --fs-20: 16px;
    --fs-16: 15px;
    --fs-15: 14px;
    --fs-14: 13px;
    --fs-10: 10px;
  }

  /* topo */
  .topbar__inner { flex-direction: column; gap: 6px; padding-block: 8px; text-align: center; }
  .topbar__text { font-size: 12px; }
  .ticker { height: 40px; }

  /* menu mobile */
  .site-header { position: relative; z-index: 30; }
  .navbar__inner { position: static; height: 60px; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    margin-left: -8px;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    background: var(--c-paper);
    border-top: 1px solid var(--c-footer-line);
    box-shadow: 0 12px 24px rgba(46, 34, 6, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease), visibility 0s linear 200ms;
  }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .menu a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--c-cream); }
  .menu-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(17, 17, 17, 0.35);
  }

  .search { width: 40px; padding: 0; justify-content: center; background: transparent; }
  .search input {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 8px);
    width: auto;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-search);
    background: var(--c-cream);
    box-shadow: 0 8px 20px rgba(46, 34, 6, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease);
    z-index: 15;
  }
  .search:focus-within input,
  .search.is-open input { opacity: 1; pointer-events: auto; }
  .search:focus-within { box-shadow: none; }

  /* hero */
  .hero { height: 480px; }
  .hero__content { gap: 24px; padding-bottom: 28px; }

  /* ofertas */
  .offers { padding: 56px 0; }
  .offers__title { margin-bottom: 32px; }
  .offers__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .product__head { flex-wrap: wrap; }

  /* confiança */
  /* faixa arrastável com snap; o próximo item aparece cortado na borda para indicar a rolagem */
  .trust__list {
    display: flex;
    gap: 24px;
    width: 100%;
    padding: 18px var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .trust__list::-webkit-scrollbar { display: none; }
  .trust__item { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .trust__item + .trust__item::before { display: block; }

  /* kits */
  .kit { min-height: 0; flex-direction: column; align-items: stretch; }
  .kit__content { gap: 20px; padding-block: 48px; }
  /* foto em faixa acima do texto, para os frascos não ficarem atrás da copy */
  .kit--casal .kit__bg { position: relative; height: 300px; object-position: 90% 60%; }
  .kit--casal::before { inset: 0 0 auto; width: 100%; height: 300px; background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0) 45%); }
  .kit--casal .kit__content { max-width: none; padding-top: 16px; }
  .kit--encantadora .kit__media { position: relative; width: 100%; height: 320px; -webkit-mask-image: none; mask-image: none; }
  .kit--encantadora .kit__content { width: 100%; padding-top: 24px; }
  .coupon { flex-direction: column; width: 100%; }
  .coupon__code { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.6); }
  .coupon__label,
  .coupon__code { padding: 16px 18px; }
  .btn--lg { width: 100%; min-height: 54px; padding-inline: 20px; }

  /* carrosséis */
  .carousel__track > li { flex-basis: 72%; }
  .grid-5 > li { flex-basis: 62%; }

  /* instagram */
  .instagram { padding-top: 10px; }
  .instagram__head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; }
  .instagram__note { grid-row: auto; }
  .instagram__link { justify-self: start; }

  /* avaliações */
  .reviews__head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
  .reviews__intro { gap: 20px; }
  .reviews__score { align-items: flex-start; width: auto; }
  .tab { padding-inline: 18px; }

  /* destaques */
  .feature__inner,
  .feature--reverse .feature__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature__media { order: -1; } /* imagem antes do texto nos dois destaques */
  .feature__content { gap: 22px; }
  .feature__media { height: auto; aspect-ratio: 740 / 505; }
  .feature + .feature { padding-top: var(--section-gap); }

  /* VIP */
  .vip__box { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .vip__media { aspect-ratio: 1 / 1; }
  .vip__content { gap: 22px; padding-block: 40px; }
  .vip__title { font-size: 32px; }
  .vip__list { gap: 12px; }

  /* rodapé */
  .footer { padding-block: 40px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 20px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } /* respeita a preferência do usuário */
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; scrollbar-width: none; }
  .ticker::-webkit-scrollbar { display: none; }
}
