/* ==========================================================================
   MARI BESSA — ESTILOS
   Índice:
   01. Tokens (cores, tipografia, espaçamentos)
   02. Base
   03. Utilitários e componentes (botões, títulos, mídia, placeholders)
   04. Cabeçalho e menu mobile
   05. Home
   06. Carrossel
   07. Amigurumis
   08. Bolsas + modal
   09. Personalização
   10. Sobre Mari
   11. Clientes
   12. Contato
   13. Rodapé
   14. Animações
   15. Responsivo
   ========================================================================== */

/* 01. TOKENS ---------------------------------------------------------------- */
:root {
  --beige: #F7F1E9;
  --offwhite: #FFFDF9;
  --sand: #E8D8C8;
  --brown: #8B6254;
  --brown-deep: #5E4238;   /* tom mais escuro do marrom, para textos longos */
  --rose: #EBCFD2;
  --rose-soft: #F6E7E6;
  --line: rgba(139, 98, 84, .18);
  --line-strong: rgba(139, 98, 84, .35);

  --ff-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-sans: "Manrope", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(94, 66, 56, .04), 0 4px 14px rgba(94, 66, 56, .05);
  --shadow: 0 2px 6px rgba(94, 66, 56, .04), 0 14px 40px rgba(94, 66, 56, .08);
  --shadow-lg: 0 24px 70px rgba(94, 66, 56, .14);

  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 150px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 02. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown-deep);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

::selection { background: var(--rose); color: var(--brown-deep); }

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brown); color: var(--offwhite);
  padding: 10px 16px; border-radius: 999px; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* 03. COMPONENTES ----------------------------------------------------------- */

/* Fundos de seção */
.section { padding-block: var(--section-y); position: relative; }
.section--offwhite { background: var(--offwhite); }
.section--beige { background: var(--beige); }
.section--rose { background: linear-gradient(180deg, var(--rose-soft) 0%, var(--beige) 100%); }

/* Wordmark (exibida enquanto não houver logo) */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  font-family: var(--ff-serif);
  font-size: 28px; line-height: 1;
  font-weight: 500; font-style: italic;
  color: var(--brown);
  letter-spacing: .01em;
}
.wordmark small {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  margin-top: 6px; padding-left: 2px;
  color: var(--brown); opacity: .75;
}
.wordmark--lg { font-size: 44px; }
.wordmark--lg small { font-size: 11px; margin-top: 8px; }
.brand { display: inline-flex; align-items: center; }
.brand img, .hero__logo img { height: 50px; width: auto; }
.hero__logo img { height: 96px; }
.site-header.is-scrolled .brand img { height: 42px; transition: height .4s var(--ease); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5;
}
.eyebrow__num {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 15px; letter-spacing: 0; font-weight: 500;
  color: var(--brown);
}
.eyebrow:has(.eyebrow__num)::before { display: none; }

/* Títulos */
.section-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--brown);
}
.section-title em, .hero__title em, .contact__title em {
  font-style: italic; font-weight: 400;
}
.section-sub {
  font-size: clamp(15.5px, 1.4vw, 17px);
  color: var(--brown-deep); opacity: .85;
  max-width: 440px;
}

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--split {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end;
}
.section-head--split .section-sub { justify-self: end; padding-bottom: 8px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .section-sub { margin-top: 18px; max-width: 520px; }

/* Ponto de crochê decorativo */
.stitch {
  display: block; width: 120px; height: 10px; margin-top: 28px;
  background:
    radial-gradient(ellipse 5px 3.2px at center, transparent 58%, var(--brown) 62%, var(--brown) 78%, transparent 82%) 0 50% / 14px 10px repeat-x;
  opacity: .45;
}

/* Botões */
.btn {
  --bg: var(--brown); --fg: var(--offwhite);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
  line-height: 1.2; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(139, 98, 84, .25); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--brown); --fg: var(--offwhite); }
.btn--soft { --bg: var(--rose); --fg: var(--brown-deep); }
.btn--soft:hover { box-shadow: 0 10px 26px rgba(214, 170, 176, .45); }
.btn--ghost { --bg: transparent; --fg: var(--brown); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--brown); --fg: var(--offwhite); border-color: var(--brown); }
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 13.5px; }
.btn--lg { min-height: 60px; padding: 18px 36px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em;
  color: var(--brown);
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; gap: 12px; }

.link-btn {
  background: none; border: 0; padding: 6px 0;
  font-size: 13px; color: var(--brown); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-color: var(--line-strong);
}
.link-btn:hover { text-decoration-color: var(--brown); }

/* Mídia (fotos) */
.media {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ratio, 4/5);
  border-radius: var(--radius);
  background: var(--sand);
}
.media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease-out);
}
.media img.is-loaded { opacity: 1; transform: none; }

/* Placeholder identificado */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 20px; text-align: center;
  color: var(--brown);
  background:
    radial-gradient(circle at 1px 1px, rgba(139, 98, 84, .14) 1px, transparent 1.4px) 0 0 / 14px 14px,
    linear-gradient(160deg, #F1E5D8 0%, var(--sand) 55%, #E9D3CF 100%);
}
.ph::before {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed rgba(139, 98, 84, .35);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.ph__icon { width: 44px; height: 44px; opacity: .55; margin-bottom: 6px; }
.ph__tag {
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(255, 253, 249, .8); color: var(--brown);
  padding: 5px 10px; border-radius: 999px;
}
.ph__label { font-family: var(--ff-serif); font-size: 21px; font-style: italic; line-height: 1.2; margin-top: 4px; }
.ph__hint { font-size: 11px; letter-spacing: .04em; opacity: .7; }

/* 04. CABEÇALHO ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 72px;
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative;
  font-size: 13.5px; font-weight: 500; letter-spacing: .03em;
  color: var(--brown-deep);
  padding-block: 8px;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brown);
  transform: translateX(-50%) scale(0);
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--brown); }
.nav__link:hover::after, .nav__link.is-active::after { transform: translateX(-50%) scale(1); }
.nav__link.is-active { color: var(--brown); }

.burger {
  display: none;
  position: relative; z-index: 120;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--offwhite);
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.burger span {
  width: 18px; height: 1.5px; background: var(--brown); border-radius: 2px;
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.burger span:last-child { width: 12px; margin-left: 6px; }
.nav-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .burger span:last-child { width: 18px; margin-left: 0; transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background:
    radial-gradient(circle at 100% 0%, var(--rose-soft) 0, transparent 50%),
    var(--offwhite);
  visibility: hidden; opacity: 0;
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path .7s var(--ease-out), opacity .4s, visibility 0s .7s;
}
.nav-open .mobile-menu {
  visibility: visible; opacity: 1;
  clip-path: circle(150% at calc(100% - 44px) 40px);
  transition: clip-path .8s var(--ease-out), opacity .3s, visibility 0s;
}
.mobile-menu__inner {
  height: 100%; overflow-y: auto;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
}
.mobile-menu__list li {
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nav-open .mobile-menu__list li { opacity: 1; transform: none; }
.nav-open .mobile-menu__list li:nth-child(1) { transition-delay: .12s; }
.nav-open .mobile-menu__list li:nth-child(2) { transition-delay: .16s; }
.nav-open .mobile-menu__list li:nth-child(3) { transition-delay: .20s; }
.nav-open .mobile-menu__list li:nth-child(4) { transition-delay: .24s; }
.nav-open .mobile-menu__list li:nth-child(5) { transition-delay: .28s; }
.nav-open .mobile-menu__list li:nth-child(6) { transition-delay: .32s; }
.nav-open .mobile-menu__list li:nth-child(7) { transition-delay: .36s; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  font-family: var(--ff-serif); font-size: 32px; line-height: 1.1;
  color: var(--brown);
}
.mobile-menu__list a span {
  font-family: var(--ff-sans); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; opacity: .6; min-width: 20px;
}
.mobile-menu__list a:active { font-style: italic; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; justify-items: center; }
.mobile-menu__ig { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brown); padding: 8px; }

/* 05. HOME ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 90px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {  /* fio decorativo */
  content: ""; position: absolute; left: -5%; bottom: 8%; width: 60%; height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 220' fill='none'%3E%3Cpath d='M0 170 C 90 170 120 60 210 80 S 300 200 380 150 S 470 30 600 70' stroke='%238B6254' stroke-opacity='.16' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: .92fr 1.08fr;   /* foto horizontal ganha mais espaço */
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.hero__logo { margin-bottom: clamp(28px, 4vw, 44px); }
.hero__logo[hidden] { display: none; }
.hero__title {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.02; letter-spacing: -.015em;
  color: var(--brown);
  max-width: 12ch;
}
.hero__lead {
  margin-top: 28px; max-width: 460px;
  font-size: clamp(16px, 1.45vw, 18px);
  color: var(--brown-deep);
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 760px; }
.hero__frame .media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__frame .ph::before { border-radius: 18px; }
.hero__shape {
  position: absolute; inset: 12% -5% -8% 10%;
  border-radius: var(--radius-lg);
  background: var(--rose);
  opacity: .55;
  z-index: 0;
}
.hero__frame { position: relative; z-index: 1; }
.hero__badge {
  position: absolute; z-index: 2; left: -54px; bottom: -40px;
  width: 124px; height: 124px;
  background: var(--offwhite); border-radius: 50%;
  box-shadow: var(--shadow);
  animation: spin 28s linear infinite;
}
.hero__badge text {
  font-family: var(--ff-sans); font-size: 9.6px; font-weight: 600;
  letter-spacing: .24em; fill: var(--brown);
}
.hero__badge-center {
  position: absolute; z-index: 3; left: -54px; bottom: -40px;
  width: 124px; height: 124px;
  display: grid; place-items: center; color: var(--brown);
  pointer-events: none;
}
.hero__badge-center .icon { width: 24px; height: 24px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px; border-radius: 3px; background: var(--brown);
  animation: scrollHint 2.2s var(--ease) infinite;
}

/* 06. CARROSSEL ------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 28px) / 3.4); /* "espia" o próximo card */
  gap: 28px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding: 6px 2px 30px;
  margin: -6px -2px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track:focus-visible { outline-offset: 6px; }

.carousel__controls {
  display: flex; align-items: center; gap: 32px; margin-top: 18px;
}
.carousel__bar {
  flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
}
.carousel__bar span {
  display: block; height: 100%; width: 30%;
  background: var(--brown); border-radius: 2px;
  transition: transform .25s linear, width .3s;
}
.carousel__arrows { display: flex; gap: 10px; }
.carousel.is-static .carousel__controls { display: none; }

.arrow {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--brown);
  border: 1px solid var(--line-strong);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), opacity .3s;
}
.arrow:hover:not(:disabled) { background: var(--brown); color: var(--offwhite); border-color: var(--brown); }
.arrow:active:not(:disabled) { transform: scale(.94); }
.arrow:disabled { opacity: .3; cursor: default; }

/* 07. AMIGURUMIS ------------------------------------------------------------ */
.product-card {
  display: flex; flex-direction: column;
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.product-card__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.product-card__name {
  font-family: var(--ff-serif); font-size: 28px; line-height: 1.1;
  color: var(--brown);
}
.product-card__idx {
  font-family: var(--ff-serif); font-style: italic; font-size: 15px; color: var(--brown); opacity: .6;
}
.product-card .media { border-radius: var(--radius); }
.product-card .media img { transition: opacity .9s var(--ease), transform 1.2s var(--ease-out); }
.product-card:hover .media img.is-loaded { transform: scale(1.04); }
.product-card__desc { margin-top: 16px; font-size: 14.5px; color: var(--brown-deep); opacity: .85; }
.product-card__foot { margin-top: auto; padding-top: 16px; }

.product-card--more {
  justify-content: center; align-items: flex-start; gap: 18px;
  background: transparent;
  border: 1px dashed var(--line-strong);
}
.product-card--more:hover { transform: none; box-shadow: none; border-color: var(--brown); }
.product-card--more .icon-yarn { width: 54px; height: 54px; color: var(--brown); opacity: .7; }
.product-card--more p { font-family: var(--ff-serif); font-size: 26px; line-height: 1.15; color: var(--brown); }

/* 08. BOLSAS ---------------------------------------------------------------- */
.bags {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1080px; margin-inline: auto;
}
.bag-card {
  position: relative;
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.bag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bag-card:nth-child(2) { margin-top: clamp(0px, 6vw, 80px); }

.bag-card__head { margin-bottom: 22px; }
.bag-card__label {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--brown);
  background: var(--rose);
  padding: 6px 12px; border-radius: 999px;
}
.bag-card__name {
  margin-top: 14px;
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 5.4vw, 72px); line-height: .95;
  color: var(--brown);
}
.bag-card__desc { margin-top: 22px; font-size: 15px; color: var(--brown-deep); opacity: .88; }
.bag-card__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* Galeria interna (fotos de cada modelo) */
.gallery { position: relative; }
.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: var(--radius);
  overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; }
.gallery__slide .media { border-radius: 0; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255, 253, 249, .88); color: var(--brown);
  box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity .35s, transform .35s var(--ease);
}
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery:hover .gallery__nav, .gallery:focus-within .gallery__nav { opacity: 1; }
.gallery__nav:disabled { opacity: 0 !important; pointer-events: none; }
.gallery__dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 4px;
}
.gallery__dot {
  width: 22px; height: 22px; padding: 0; border: 0; background: none;
  display: grid; place-items: center;
}
.gallery__dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255, 253, 249, .75);
  box-shadow: 0 0 0 1px rgba(139, 98, 84, .25);
  transition: width .4s var(--ease), background-color .3s;
}
.gallery__dot.is-active::before { width: 20px; background: var(--brown); box-shadow: none; }

/* Modal */
.modal {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--offwhite); color: var(--brown-deep);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop { background: rgba(94, 66, 56, .42); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .5s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .4s var(--ease); }
.modal__inner { position: relative; max-height: calc(100svh - 32px); overflow-y: auto; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--offwhite); color: var(--brown);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background-color .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--rose-soft); }
.modal__content { display: grid; grid-template-columns: 1.1fr 1fr; }
.modal__media .gallery__track { border-radius: 0; }
.modal__body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.modal__body .bag-card__name { margin-top: 14px; }
.modal__body .bag-card__desc { margin-top: 18px; }
.modal__actions { margin-top: 32px; display: grid; gap: 12px; }

/* 09. PERSONALIZAÇÃO -------------------------------------------------------- */
.config {
  display: grid; grid-template-columns: 1fr 380px;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.config__steps { display: grid; gap: clamp(32px, 4vw, 44px); }
.config__legend {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-serif); font-size: clamp(24px, 2.4vw, 30px); color: var(--brown);
  margin-bottom: 18px; padding: 0;
}
.config__num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-sans); font-size: 13px; font-weight: 600;
  border: 1px solid var(--brown); color: var(--brown);
  transition: background-color .3s, color .3s;
}
.config__step.is-done .config__num { background: var(--brown); color: var(--offwhite); }

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

.opt {
  position: relative; cursor: pointer;
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 12px; padding-right: 44px;
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .35s, box-shadow .35s var(--ease), transform .35s var(--ease), background-color .35s;
}
.opt:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .media { border-radius: 12px; --ratio: 1/1; }
.opt .ph { padding: 8px; gap: 2px; }
.opt .ph::before { inset: 6px; border-radius: 8px; }
.opt .ph__icon { width: 24px; height: 24px; margin: 0; }
.opt .ph__tag { font-size: 7.5px; padding: 3px 6px; letter-spacing: .14em; }
.opt .ph__label, .opt .ph__hint { display: none; }
.opt__name { display: block; font-family: var(--ff-serif); font-size: 22px; line-height: 1.15; color: var(--brown); }
.opt__desc { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--brown-deep); opacity: .8; }
.opt__swatch {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  margin-right: 8px; vertical-align: 1px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 0 0 2px var(--offwhite), 0 0 0 3px var(--line);
}
.opt__check {
  position: absolute; top: 12px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--offwhite);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.opt__check .icon { width: 14px; height: 14px; transform: scale(0); transition: transform .35s var(--ease-out); }
.opt.is-selected {
  border-color: var(--brown);
  box-shadow: 0 0 0 1px var(--brown), var(--shadow-sm);
}
.opt.is-selected .opt__check { background: var(--brown); border-color: var(--brown); }
.opt.is-selected .opt__check .icon { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--brown); outline-offset: 3px; }

/* Modelos no passo 1 — tipografia em destaque */
.opts--models .opt { grid-template-columns: 72px 1fr; }
.opts--models .opt__name { font-style: italic; font-size: 30px; }

/* Resumo */
.config__summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.summary .eyebrow { margin-bottom: 18px; }
.summary__preview { position: relative; }
.summary__preview .media { --ratio: 4/3; }
.summary__main { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.summary__main.is-swapping { opacity: 0; transform: scale(.98); }
.summary__chips {
  position: absolute; right: 12px; bottom: -22px;
  display: flex; gap: 8px;
}
.summary__chip {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--offwhite);
  box-shadow: var(--shadow-sm);
  overflow: hidden; background: var(--sand);
  opacity: 0; transform: scale(.6) translateY(8px);
  transition: opacity .45s var(--ease), transform .55s var(--ease-out);
}
.summary__chip.is-on { opacity: 1; transform: none; }
.summary__chip .media { border-radius: 50%; --ratio: 1/1; }
.summary__chip .ph::before, .summary__chip .ph__tag, .summary__chip .ph__label, .summary__chip .ph__hint { display: none; }
.summary__chip .ph__icon { width: 22px; height: 22px; margin: 0; }
.summary__chip--tone .media { background: var(--tone, var(--sand)); }

.summary__list { margin: 38px 0 0; display: grid; }
.summary__list > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.summary__list dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.summary__list dd {
  margin: 0; font-family: var(--ff-serif); font-size: 21px; color: var(--brown); text-align: right;
  transition: opacity .3s;
}
.summary__list dd.is-empty { font-family: var(--ff-sans); font-size: 13.5px; font-style: italic; opacity: .5; }
.summary__list dd.is-flash { animation: flash .6s var(--ease); }
.summary__progress { margin-top: 22px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.summary__progress span { display: block; height: 100%; width: 0; background: var(--brown); transition: width .6s var(--ease-out); }
.summary__count { margin: 10px 0 20px; font-size: 12.5px; opacity: .7; }
.summary .link-btn { display: block; margin: 12px auto 0; }
.summary__note { margin-top: 14px; font-size: 12px; line-height: 1.6; opacity: .65; text-align: center; }

/* 10. SOBRE MARI ------------------------------------------------------------ */
.about { overflow: hidden; }
.about__grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 8vw, 120px); align-items: center;
}
.about__photo { position: relative; max-width: 480px; width: 100%; }
.about__frame { position: relative; z-index: 1; }
.about__frame .media { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__deco {
  position: absolute; z-index: 0;
  inset: -28px 28px 28px -28px;
  border-radius: var(--radius-lg);
  background: var(--rose); opacity: .6;
}
.about__deco::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 140px; height: 140px; border-radius: 50%;
  border: 1px dashed var(--line-strong);
}
.about__caption {
  position: absolute; z-index: 2; right: -18px; bottom: 36px;
  background: var(--offwhite); color: var(--brown);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.about__subtitle {
  margin-top: 14px;
  font-family: var(--ff-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px);
  color: var(--brown); opacity: .85;
}
.about__body { margin-top: 30px; display: grid; gap: 18px; max-width: 540px; font-size: 16.5px; }
.about__quote {
  margin: 36px 0 0; padding: 4px 0 4px 26px;
  border-left: 2px solid var(--rose);
  max-width: 520px;
}
.about__quote p {
  font-family: var(--ff-serif); font-size: clamp(24px, 2.4vw, 31px); line-height: 1.3;
  color: var(--brown);
}
.about__sign {
  margin-top: 30px;
  font-family: var(--ff-serif); font-style: italic; font-size: 34px; color: var(--brown);
  display: inline-flex; align-items: center; gap: 14px;
}
.about__sign::before { content: ""; width: 40px; height: 1px; background: var(--brown); opacity: .5; }

/* 11. CLIENTES -------------------------------------------------------------- */
.carousel__track--reviews { grid-auto-columns: calc((100% - 2 * 28px) / 3); }
.review {
  display: flex; flex-direction: column;
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review .media { --ratio: 4/3; }
.review__body { padding: 22px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.review__quote { width: 28px; height: 28px; color: var(--rose); }
.review__text {
  margin-top: 12px;
  font-family: var(--ff-serif); font-size: 21px; line-height: 1.4; color: var(--brown);
}
.review__name {
  margin-top: auto; padding-top: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brown);
}
.review--placeholder .review__text { font-style: italic; opacity: .7; }
.review--placeholder .review__name { opacity: .55; }
.review__tag {
  align-self: flex-start; margin-bottom: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--rose-soft); color: var(--brown); padding: 5px 10px; border-radius: 999px;
}

/* 12. CONTATO --------------------------------------------------------------- */
.contact {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(235, 207, 210, .7) 0, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(232, 216, 200, .8) 0, transparent 55%),
    var(--rose-soft);
  text-align: center;
  overflow: hidden;
}
.contact__inner { display: flex; flex-direction: column; align-items: center; position: relative; }
.contact__loop { width: 180px; color: var(--brown); opacity: .5; margin-bottom: 28px; }
.contact .eyebrow::before { display: none; }
.contact__title {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(40px, 5.8vw, 76px); line-height: 1.04;
  color: var(--brown); max-width: 17ch;
}
.contact__text { margin: 26px auto 40px; max-width: 520px; font-size: clamp(16px, 1.4vw, 18px); }

/* 13. RODAPÉ ---------------------------------------------------------------- */
.site-footer {
  background: var(--offwhite);
  padding: 80px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
}
.site-footer__brand p { margin-top: 18px; max-width: 300px; opacity: .8; }
.site-footer__title {
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 18px;
}
.site-footer__links { columns: 2; column-gap: 24px; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer a { transition: color .3s, opacity .3s; }
.site-footer__links a:hover, .site-footer__social a:hover { color: var(--brown); }
.site-footer__social { display: grid; gap: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; opacity: .75;
}
.site-footer__top:hover { color: var(--brown); }

/* Botão flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--brown); color: var(--offwhite);
  box-shadow: 0 10px 30px rgba(94, 66, 56, .3);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
  pointer-events: none;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* 14. ANIMAÇÕES ------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: scale(.985); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80%, 100% { transform: translateY(14px); opacity: 0; }
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes flash { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__badge { animation: none; }
}

/* 15. RESPONSIVO ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .site-header__cta { display: none; }
}

@media (max-width: 1080px) {
  .carousel__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
  .config { grid-template-columns: 1fr 340px; }
  .opts { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .site-header.is-scrolled { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .site-header__cta { display: inline-flex; margin-left: auto; }
  .nav-open .site-header { z-index: 115; background: transparent;box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .site-header__cta { opacity: 0; pointer-events: none; }
  .brand { position: relative; z-index: 120; }

  .hero { min-height: auto; padding-bottom: 100px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__logo .wordmark { align-items: center; }
  .hero__title { max-width: 13ch; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { justify-self: center; width: 100%; max-width: 680px; }
  .hero__badge, .hero__badge-center { left: -20px; bottom: -36px; width: 100px; height: 100px; }
  .hero::before { width: 100%; bottom: 3%; }

  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
  .section-head--split .section-sub { justify-self: start; padding-bottom: 0; }

  .config { grid-template-columns: 1fr; }
  .opts { grid-template-columns: repeat(2, 1fr); }
  .config__summary { position: static; max-width: 560px; width: 100%; margin-inline: auto; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { margin-inline: auto; max-width: 420px; }

  .carousel__track--reviews { grid-auto-columns: calc((100% - 24px) / 2); }

  .modal__content { grid-template-columns: 1fr; }
  .modal__body { padding: 28px 24px 32px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wordmark { font-size: 24px; }
  .wordmark small { font-size: 8.5px; letter-spacing: .28em; }
  .wordmark--lg { font-size: 38px; }
  .brand img { height: 42px; }
  .hero__logo img { height: 68px; }
  .site-header__cta { display: none; }

  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__actions { flex-direction: column; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .hero__badge, .hero__badge-center { width: 80px; height: 80px; left: -8px; bottom: -30px; }
  .hero__badge text { font-size: 11px; }
  .hero__frame .media { border-radius: var(--radius); }
  .hero__shape { inset: 10% -10px -14px 14%; border-radius: var(--radius); }

  .carousel__track {
    grid-auto-columns: 78%;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .carousel__track--reviews { grid-auto-columns: 86%; }
  .carousel__controls { gap: 20px; margin-top: 10px; }
  .arrow { width: 46px; height: 46px; }

  .product-card { padding: 18px 18px 20px; }
  .product-card__name { font-size: 25px; }

  .bags { grid-template-columns: 1fr; gap: 28px; }
  .bag-card:nth-child(2) { margin-top: 0; }
  .bag-card { padding: 22px; }
  .bag-card__actions .btn { width: 100%; }
  .bag-card__actions { justify-content: center; }
  .gallery__nav { opacity: 1; width: 38px; height: 38px; }

  .opts { grid-template-columns: 1fr; gap: 12px; }
  .opt { grid-template-columns: 80px 1fr; }
  .opts--models .opt { grid-template-columns: 64px 1fr; }
  .summary { padding: 22px; }

  .about__deco { inset: -16px 16px 16px -16px; }
  .about__caption { right: -8px; bottom: 24px; }
  .about__body { font-size: 16px; }

  .contact__text { margin-bottom: 32px; }
  .contact .btn--lg { padding: 18px 24px; font-size: 14.5px; width: 100%; max-width: 380px; }

  .site-footer { padding-top: 60px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 70px; }

  .wa-float { display: grid; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 42px; }
  .mobile-menu__list a { font-size: 28px; }
}
