/* =========================================================
   SN RESINA — Design Tokens
   Editorial, minimal, artisan luxury.
   Portado do protótipo "link da bio" (Claude Design).
   ========================================================= */

/* ---------- Poppins (latin-ext + latin) ---------- */
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-italic-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-italic-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-italic-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-italic-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Aconchego — editorial serif display ---------- */
@font-face {
  font-family: 'Aconchego';
  src: url("../fonts/aconchego-300.woff2") format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- COLOR — Surface (warm off-white stone) ---------- */
  --bg:                         #f4f2f0;
  --surface:                    #f4f2f0;
  --surface-bright:             #fbf9f7;
  --surface-dim:                #d8dbd7;
  --surface-container-lowest:   #ffffff;
  --surface-container-low:      #f5f3f1;
  --surface-container:          #eeeeeb;
  --surface-container-high:     #e8e8e5;
  --surface-container-highest:  #e2e3df;
  --surface-variant:            #e2e3df;

  /* ---------- COLOR — Foreground ---------- */
  --fg:                         #303331;
  --fg-muted:                   #5d605d;
  --outline:                    #797b78;
  --outline-variant:            #b1b2af;

  /* ---------- COLOR — Brand ---------- */
  --primary:                    #5f5e5e;
  --primary-container:          #e5e2e1;
  --secondary:                  #bbaab6;   /* dusty mauve — the "SN" accent */
  --secondary-container:        #f0ddea;
  --tertiary:                   #585f71;
  --error:                      #9f403d;

  /* Cor de destaque do link da bio (prop accentColor do protótipo) */
  --accent:                     #bbaab6;
  --page-bg:                    #e6e4e1;

  /* ---------- TYPE — Families ---------- */
  --font-display: 'Aconchego', 'Poppins', Georgia, serif;
  --font-sans:    'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---------- MOTION ---------- */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   BASE
   ========================================================= */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
}

::selection { background: var(--secondary); color: #fff; }

[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--secondary); }

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

@keyframes snFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  line-height: 1;
}
.icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* =========================================================
   LAYOUT — coluna mobile; no desktop centraliza sobre o fundo
   ========================================================= */
.app {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (min-width: 480px) {
  body { background: var(--page-bg); }
}

/* Imagem que preenche o container (avatar, cards, miniaturas, galeria) */
.media {
  overflow: hidden;
  background: var(--surface-container);
}
.media > img,
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   HOME
   ========================================================= */
.home {
  display: flex;
  flex-direction: column;
  flex: 1;
  animation: snFade 350ms var(--ease-out) both;
}

.home-header {
  padding: 70px 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar { width: 72px; height: 72px; }

.home-brand {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--fg);
}

.home-handle {
  margin: 11px 0 0;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--fg-muted);
}

.home-lede {
  margin: 14px auto 0;
  max-width: 262px;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-muted);
}

/* ---------- Cards com foto ---------- */
.hero { padding: 30px 26px 0; }

.tiles {
  padding: 14px 26px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.campanha { padding: 14px 26px 0; }

.card {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #303331;
}
.card--hero { height: 212px; }
.card--tile { height: 160px; }
.card--campanha { height: 176px; }

.card__img,
.card__bg { transition: transform 700ms var(--ease-out); }

.card__bg {
  position: absolute;
  inset: 0;
  background-color: #303331;
  background-size: cover;
  background-position: center;
}

.card--hero:hover .card__img,
.card--campanha:hover .card__bg { transform: scale(1.04); }
.card--tile:hover .card__img { transform: scale(1.05); }

.card__shade { position: absolute; inset: 0; }
.card--hero .card__shade {
  background: linear-gradient(to top, rgba(48, 51, 49, 0.93) 0%, rgba(48, 51, 49, 0.66) 46%, rgba(48, 51, 49, 0.22) 100%);
}
.card--tile .card__shade {
  background: linear-gradient(to top, rgba(48, 51, 49, 0.92) 0%, rgba(48, 51, 49, 0.5) 54%, rgba(48, 51, 49, 0.12) 100%);
}
.card--campanha .card__shade {
  background: linear-gradient(to top, rgba(48, 51, 49, 0.93) 0%, rgba(48, 51, 49, 0.6) 48%, rgba(48, 51, 49, 0.18) 100%);
}

.card__tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #303331;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  padding: 7px 12px;
}

.card__body {
  position: absolute;
  color: #f4f2f0;
}
.card--hero .card__body { left: 20px; right: 20px; bottom: 18px; }
.card--tile .card__body { left: 14px; right: 14px; bottom: 14px; }
.card--campanha .card__body { left: 18px; right: 18px; bottom: 16px; }

.card__title {
  font-family: var(--font-display);
  font-weight: 300;
}
.card--hero .card__title { font-size: 29px; line-height: 1.14; }
.card--tile .card__title { font-size: 19px; line-height: 1.2; }
.card--campanha .card__title { font-size: 24px; line-height: 1.16; }

.card__action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 400;
}
.card--hero .card__action { margin-top: 11px; }
.card--campanha .card__action { margin-top: 9px; }
.card--hero .card__action .icon { font-size: 16px; }
.card--campanha .card__action .icon { font-size: 15px; }

.card__kicker {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 8px;
}

/* ---------- Linhas internas (guia, ateliê) ---------- */
.rows { padding: 26px 26px 0; }

.row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 18px 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(177, 178, 175, 0.45);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--fg);
  transition: padding-left 300ms var(--ease), color 300ms;
}
.row:first-child { border-top: 1px solid rgba(177, 178, 175, 0.45); }
.row:hover { padding-left: 8px; color: var(--secondary); }

.row__title { flex: 1; font-size: 15px; font-weight: 300; color: inherit; }

.row__meta {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--fg-muted);
}

.row__arrow { font-size: 17px; color: var(--outline-variant); }

/* ---------- WhatsApp ---------- */
.whats-wrap { padding: 26px 26px 0; }

.whats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--outline-variant);
  transition: border-color 300ms, color 300ms;
}
.whats:hover { border-color: var(--secondary); color: var(--secondary); }

.whats__text { display: flex; flex-direction: column; gap: 3px; }

.whats__title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.whats__sub { font-size: 11.5px; font-weight: 300; color: var(--fg-muted); }

.whats__arrow { font-size: 20px; color: var(--outline); }

/* ---------- Rodapé ---------- */
.footer-links {
  margin-top: auto;
  padding: 40px 26px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.footer-links a,
.text-link {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--outline-variant);
}
.footer-links a { letter-spacing: 3px; padding-bottom: 3px; }
.footer-links a:hover,
.text-link:hover { color: var(--secondary); border-color: var(--secondary); }

.cnpj {
  margin: 0;
  padding: 24px 26px 42px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--outline-variant);
}

/* =========================================================
   TELAS INTERNAS (guia de envio, ateliê)
   ========================================================= */
.inner {
  padding: 70px 26px 48px;
  animation: snFade 300ms var(--ease-out) both;
}

.back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--fg-muted);
}
.back .icon { font-size: 16px; }

.inner-title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0;
}

.inner-lede {
  margin: 12px 0 0;
  font-weight: 300;
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--fg-muted);
}

.kicker {
  font-size: 8.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--outline);
}

.body-text {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--fg-muted);
}

/* ---------- Guia ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.step { display: flex; gap: 16px; align-items: flex-start; }

.step__thumb { width: 80px; height: 80px; flex: none; }

.step__body { flex: 1; padding-top: 2px; }

.step__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.25;
  margin-top: 6px;
}

.faq {
  margin-top: 28px;
  border-top: 1px solid rgba(177, 178, 175, 0.4);
  padding-top: 20px;
}

.faq__label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--outline);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.faq__q { font-size: 13.5px; font-weight: 400; line-height: 1.5; }

.faq__a {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--fg-muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 17px 20px;
  background: var(--accent);
  color: #303331;
}
.cta:hover { color: #303331; }

.cta__text {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.cta .icon { font-size: 20px; }

/* ---------- Ateliê ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.gallery__item { width: 100%; aspect-ratio: 3 / 4; }

/* Foto do processo (4 fotos numa só): largura total para dar para ver cada uma */
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 1 / 1; }

.notes {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  letter-spacing: 4px;
  padding-bottom: 4px;
}

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