/* ==========================================================================
   Casual+ — protótipo one-page
   Paleta e escala definidas em design_brief.md (seções 3, 4 e 8)
   ========================================================================== */

:root {
  --creme: #F6F1E7;
  --creme-fundo: #EDE5D7;
  --tinta: #14130E;
  --tinta-suave: #6A6358;
  --preto: #13130E;
  --areia: #D8BFA0;
  --areia-clara: #E9DCC8;
  --terracota: #A45B3A;
  --terracota-hover: #8A4A2D;
  --palha: #C9A66B;
  --branco: #FFFFFF;
  --overlay: rgba(19, 19, 14, 0.58);

  --header-h: 76px;
  --topbar-h: 38px;
  --container: 1200px;
  --gutter: 20px;
  --radius: 2px;
  --shadow: 0 20px 44px -28px rgba(19, 19, 14, 0.55);

  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: inherit; }

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--terracota); color: var(--branco); }

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

.no-scroll { overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--preto);
  color: var(--creme);
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--branco); }
.eyebrow--palha { color: var(--palha); }

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.section { padding-block: clamp(64px, 8vw, 112px); }

.section__head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 48px); }

.section__sub {
  margin-top: 18px;
  color: var(--tinta-suave);
  font-size: 1rem;
  max-width: 56ch;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--terracota);
  color: var(--branco);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--terracota-hover); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--branco);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--branco);
}

.btn--ghost {
  background: transparent;
  border-color: var(--tinta);
  color: var(--tinta);
}
.btn--ghost:hover {
  background: var(--tinta);
  color: var(--creme);
}

.btn--palha {
  background: var(--palha);
  color: var(--tinta);
}
.btn--palha:hover { background: #D6B67C; }

.btn--sm { padding: 10px 18px; font-size: 0.8125rem; }
.btn--block { width: 100%; }

/* ---------- Barra de anúncio ---------- */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 8px var(--gutter);
  background: var(--preto);
  color: var(--creme);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.topbar__item { text-align: left; }
.topbar__item--center {
  text-align: center;
  color: rgba(246, 241, 231, 0.72);
}
.topbar__link {
  justify-self: end;
  text-decoration: none;
  color: var(--creme);
  border-bottom: 1px solid rgba(201, 166, 107, 0.6);
  padding-bottom: 1px;
  white-space: nowrap;
}
.topbar__link span { color: var(--palha); }
.topbar__link:hover { border-bottom-color: var(--palha); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: transparent;
  color: var(--branco);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, color 220ms ease,
              border-color 220ms ease;
}
.site-header.is-scrolled {
  background: var(--creme);
  color: var(--tinta);
  border-bottom-color: rgba(20, 19, 14, 0.10);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo__plus {
  color: var(--terracota);
  font-style: normal;
  font-weight: 600;
  font-size: 1.15em;
  padding-left: 1px;
}
.site-header:not(.is-scrolled) .logo__plus { color: var(--palha); }
.logo__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}
.nav a:hover { border-bottom-color: var(--palha); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.16); }

.nav-toggle { display: none; }

.search {
  background: var(--creme);
  border-bottom: 1px solid rgba(20, 19, 14, 0.10);
  padding: 14px 0;
}
.search__inner { display: flex; align-items: center; gap: 16px; }
.search input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--areia);
  border-radius: var(--radius);
  background: transparent;
  color: var(--tinta);
  font: inherit;
  font-size: 0.9375rem;
}
.search input::placeholder { color: var(--tinta-suave); }
.search__status {
  font-size: 0.8125rem;
  color: var(--tinta-suave);
  white-space: nowrap;
}

/* ---------- Drawer mobile ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--creme);
  overflow-y: auto;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--areia);
}
.drawer > a {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid var(--areia);
}
.drawer .btn { margin-top: 20px; font-family: var(--font-body); font-size: 0.9375rem; border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - var(--topbar-h));
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  padding-bottom: 32px;
  overflow: hidden;
  color: var(--branco);
  background: var(--preto);
}

.hero__media { position: absolute; inset: 0; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 62% 40%;
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 19, 14, 0.58) 0%, rgba(19, 19, 14, 0.18) 58%, rgba(19, 19, 14, 0.05) 100%),
    linear-gradient(180deg, rgba(19, 19, 14, 0.66) 0%, rgba(19, 19, 14, 0.34) 42%, rgba(19, 19, 14, 0.78) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; font-weight: 500; }

.hero__sub {
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

/* ---------- Categorias ---------- */
.categorias { background: var(--creme-fundo); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--branco);
  background: var(--areia-clara);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 14, 0) 20%, rgba(19, 19, 14, 0.55) 45%, rgba(19, 19, 14, 0.92) 78%, rgba(19, 19, 14, 0.96) 100%);
}
.tile__body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px;
}
.tile__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
}
.tile__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}
.tile__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--palha);
  padding-bottom: 3px;
}
.tile:hover img { transform: scale(1.04); }

/* ---------- Novidades ---------- */
.novidades { background: var(--creme); }

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

.produto {
  display: flex;
  flex-direction: column;
  background: var(--creme);
  border: 1px solid var(--areia);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.produto:hover {
  border-color: var(--terracota);
  box-shadow: var(--shadow);
}

.produto__foto {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--areia-clara);
}
.produto__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.produto:hover .produto__foto img { transform: scale(1.03); }

.selo {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: var(--areia);
  color: var(--tinta);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
}

.produto__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 20px;
}
.produto__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
}
.produto h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
}
.produto__tam {
  font-size: 0.8125rem;
  color: var(--tinta-suave);
}
.produto .btn {
  margin-top: 12px;
  width: 100%;
  padding: 11px 16px;
  font-size: 0.8125rem;
}

.produtos__nota {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--areia);
  font-size: 0.875rem;
  color: var(--tinta-suave);
}

/* ---------- Unissex ---------- */
.unissex {
  background: var(--preto);
  color: var(--creme);
}
.unissex__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.unissex h2 { color: var(--creme); margin-bottom: 20px; }
.unissex__lead {
  max-width: 52ch;
  color: rgba(246, 241, 231, 0.82);
  font-size: 1rem;
}

.pilares { margin: 28px 0 32px; }
.pilares li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
}
.pilares li:last-child { border-bottom: 1px solid rgba(246, 241, 231, 0.16); }
.pilares svg { flex-shrink: 0; color: var(--palha); margin-top: 2px; }
.pilares strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.pilares span { font-size: 0.875rem; color: rgba(246, 241, 231, 0.68); }

.unissex__media { position: relative; }
.unissex__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.unissex__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201, 166, 107, 0.5);
  pointer-events: none;
}

/* ---------- A loja ---------- */
.loja { background: var(--creme); }
.loja__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(32px, 5vw, 64px);
}
.loja__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: var(--radius);
}

.loja__card {
  background: var(--creme);
  border: 1px solid var(--areia);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.loja__card h2 { margin-bottom: 20px; }

.loja__addr {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.loja__addr span { color: var(--tinta-suave); }

.horario { margin: 24px 0; }
.horario div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--areia);
  font-size: 0.875rem;
}
.horario dt { font-weight: 500; }
.horario dd { color: var(--tinta-suave); text-align: right; }

.loja__bullets { display: grid; gap: 8px; }
.loja__bullets li {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--tinta-suave);
}
.loja__bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--terracota);
}

.loja__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--preto);
  color: var(--creme);
  border-top: 1px solid rgba(201, 166, 107, 0.35);
  padding-block: clamp(80px, 10vw, 140px);
  text-align: center;
}
.cta-final__inner { max-width: 760px; }
.cta-final h2 {
  color: var(--creme);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.cta-final__sub {
  max-width: 52ch;
  margin-inline: auto;
  color: rgba(246, 241, 231, 0.78);
  font-size: 1rem;
}
.cta-final__sub a {
  color: var(--palha);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 166, 107, 0.5);
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--preto);
  color: rgba(246, 241, 231, 0.8);
  padding: 64px 0 24px;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  font-size: 0.875rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.site-footer__grid p { line-height: 1.75; }
.site-footer__grid a { color: inherit; text-decoration: none; }
.site-footer__grid a:hover { color: var(--palha); }
.logo__word--footer { display: block; font-size: 1.9rem; margin-bottom: 12px; }
.site-footer .logo__plus { color: var(--palha); }
.site-footer__tag { max-width: 30ch; color: rgba(246, 241, 231, 0.65); }
.site-footer__title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--palha);
  margin-bottom: 12px;
}
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  font-size: 0.75rem;
  color: rgba(246, 241, 231, 0.55);
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--branco);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.whats-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.whats-float:hover { background: #1EBE5A; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
}

@media (max-width: 1023px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .produtos { grid-template-columns: repeat(2, 1fr); }
  .unissex__grid { grid-template-columns: 1fr; }
  .unissex__media { max-width: 460px; }
  .loja__grid { grid-template-columns: 1fr; }
  .loja__media img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .site-header__inner { gap: 16px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }

  .topbar { grid-template-columns: 1fr auto; }
  .topbar__item--center { display: none; }

  .hero { min-height: calc(100svh - var(--topbar-h)); padding-bottom: 24px; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 3.6rem); }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__strip { gap: 8px 18px; margin-top: 32px; font-size: 0.65625rem; }

  .search__inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .search__status { white-space: normal; }

  .cat-grid { gap: 12px; }
  .tile__body { padding: 16px 14px; }
  .tile__label { font-size: 1.2rem; }
  .tile__desc { font-size: 0.75rem; }
  .tile__link { font-size: 0.625rem; margin-top: 10px; }

  .produtos { grid-template-columns: 1fr; gap: 20px; }

  .unissex__media::after { inset: 12px -12px -12px 12px; }

  .loja__actions { flex-direction: column; }
  .loja__actions .btn { width: 100%; }

  .cta-final__actions { flex-direction: column; }
  .cta-final__actions .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__base { flex-direction: column; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .produtos { grid-template-columns: repeat(2, 1fr); }
  .produto__info { padding: 14px; }
  .produto h3 { font-size: 1.1rem; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .site-header__inner { gap: 10px; }
  .logo__word { font-size: 1.3rem; }
  .logo__sub { display: none; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 40px; height: 40px; }
  .topbar { font-size: 0.6875rem; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img { animation: none; transform: scale(1.02); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile img,
  .produto__foto img,
  .btn,
  .whats-float { transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
