/* ===========================================================
   TECIDOS DA FILÓ — Design System
   Conceito: alfaiataria afetiva. O fio de costura é o elemento
   assinatura — aparece como divisor, sublinhado do título e
   como "etiqueta de tecido" nos cards de produto.
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,450;0,9..144,600;1,9..144,450;1,9..144,600&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  /* cor — linho, terracota queimada, sálvia, linha dourada */
  --paper:      #F6F0E6;
  --paper-2:    #EFE6D6;
  --ink:        #2C231C;
  --ink-soft:   #6B5C4C;
  --terracotta: #B85C38;
  --terracotta-dark: #96482B;
  --sage:       #7C8560;
  --sage-dark:  #5F6A49;
  --thread:     #B08A4E;
  --sand:       #D9C6A5;
  --line:       rgba(44,35,28,.16);
  --white:      #FFFDF9;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 10px 30px rgba(44,35,28,.10);
  --shadow-sm: 0 4px 12px rgba(44,35,28,.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --container: 940px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
input,select,textarea{ font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 2px solid var(--terracotta-dark);
  outline-offset: 3px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
.eyebrow{
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background: var(--terracotta-dark);
  display:inline-block;
}

/* --- fio de costura: assinatura visual --- */
.stitch{
  border:none;
  height:10px;
  margin: 0;
  background-image: radial-gradient(circle, var(--thread) 1.6px, transparent 1.7px);
  background-size: 14px 10px;
  background-repeat: repeat-x;
  background-position: left center;
  opacity:.75;
}
.stitch-title{ position:relative; display:inline-block; }
.stitch-title svg{
  display:block;
  width:100%; height:10px;
  margin-top:4px;
}
.stitch-title path{
  stroke: var(--thread);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  fill:none;
  stroke-linecap: round;
}

/* ===================== HEADER ===================== */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(246,240,230,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.logo span{ color: var(--terracotta); font-style: italic; font-weight: 450; }

.main-nav{ display:flex; gap: 28px; align-items:center; }
.main-nav a{
  font-size:.95rem; font-weight:500; color:var(--ink-soft);
  position:relative; padding: 4px 0;
}
.main-nav a:hover, .main-nav a.active{ color: var(--ink); }
.main-nav a.active::after{
  display:none;
}

.header-actions .btn-outline{ display:none; }

.header-actions{ display:flex; align-items:center; gap:16px; }
.account-link-label{ font-size:.85rem; font-weight:600; color: var(--ink); white-space:nowrap; }
.icon-btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line); background: transparent; color: var(--ink);
  transition: background .15s, border-color .15s;
}
.icon-btn:hover{ background: var(--paper-2); border-color: var(--terracotta); }
.cart-count{
  position:absolute; top:-6px; right:-6px;
  background: var(--terracotta); color:#fff;
  font-size: .68rem; font-weight:700;
  min-width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  padding: 0 3px;
}
.hamburger{ display:none; background:none; border:none; padding:6px; }
.hamburger span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.2s; }

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size:.92rem; font-weight:600; letter-spacing:.02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background:rgba(187, 114, 72, 0.897); color:#fff; }
.btn-primary:hover{ background: var(--terracotta-dark); }
.btn-outline{ background:transparent; border-color: var(--ink); color:var(--ink); }
.btn-outline:hover{ background: var(--ink); color:#fff; }
.btn-outline.light{ border-color: rgba(255,255,255,.8); color:#fff; }
.btn-outline.light:hover{ background:#fff; color:var(--ink); }
.btn-sage{ background: var(--sage); color:#fff; }
.btn-sage:hover{ background: var(--sage-dark); }
.btn-block{ width:100%; }
.btn-sm{ padding: 9px 16px; font-size:.82rem; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

.btn-whatsapp{
  background:#25D366; color:#fff; padding:12px 20px; border-radius:30px;
  font-size:.88rem; font-weight:600; display:inline-flex; gap:8px; align-items:center;
}
.btn-whatsapp:hover{ background:#1fb959; }

/* ===================== HERO ===================== */
.hero{
  position:relative;
  min-height: 390px;
  display:flex; align-items:center;
  overflow:hidden;
  background: rgba(226, 183, 118, 0.178);
}
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; align-items:center; gap:58px; }
.hero-media{
  min-height:30px;
  border-radius: 12px;
  background: url('../hero.jpg') center/cover;
  box-shadow: var(--shadow-sm);
  animation: hero-arrive .8s cubic-bezier(.22,1,.36,1) both;
}
.hero-photo{
  width:100%;
  aspect-ratio: 1.45 / 1;
  height:auto;
  border-radius:12px;
  overflow:hidden;
  background:var(--paper-2);
  box-shadow:var(--shadow-sm);
  animation:hero-arrive .8s cubic-bezier(.22,1,.36,1) both;
}
.hero-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:none;
  transition:transform .7s cubic-bezier(.22,1,.36,1), filter .3s ease;
}
.hero-photo:hover img{ transform:scale(1.03); filter:contrast(1.07) saturate(1); }
.swatch-art{ position:absolute; inset:0; }
.hero-content{
  max-width: 500px;
  padding: 58px 0;
  animation: content-arrive .7s .08s cubic-bezier(.22,1,.36,1) both;
}
.hero .eyebrow{ color: var(--ink-soft); }
.hero .eyebrow::before{ background: var(--terracotta); }
.hero h1{
  color:var(--ink);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 450;
  margin-bottom:.35em;
}
.hero p.lede{
  font-size: .96rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2em;
}
.hero .btn-outline.light{ border-color: var(--line); color: var(--ink); }
.hero .btn-outline.light:hover{ background: var(--white); color: var(--ink); }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

/* placeholder de foto — etiqueta de tecido */
.photo-placeholder{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  background: var(--sand);
  color: var(--ink-soft);
  font-size:.8rem; text-align:center; padding: 20px;
  border: 1px dashed rgba(44,35,28,.35);
}
.photo-placeholder > img{ width:100%; height:100%; object-fit:cover; }
.photo-placeholder span{
  background: rgba(246,240,230,.9);
  padding: 6px 12px; border-radius: 20px; font-weight:600;
  letter-spacing:.03em;
}

/* ===================== SECTION LAYOUT ===================== */
section{ padding: 96px 0; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.bg-alt{ background: var(--paper-2); }
.bg-ink{ background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3{ color:var(--white); }

/* ===================== HISTÓRIA (STORY) ===================== */
.story-grid{
  display:grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items:center;
}
.story-photo{ aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); }
.story-badge{
  display:inline-flex; flex-direction:column; gap:2px;
  background: var(--white); border:1px solid var(--line);
  padding: 16px 20px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); margin-top: 28px;
}
.story-badge strong{ font-family: var(--font-display); font-size:1.6rem; color: var(--terracotta-dark); }
.story-badge span{ font-size:.85rem; color: var(--ink-soft); }
.story-text p{ margin: 0 0 1.1em; color: var(--ink-soft); font-size: 1.02rem; }
.story-text p:first-of-type{ color: var(--ink); font-size:1.12rem; }

/* ===================== DIFERENCIAIS ===================== */
.diff-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 32px;
}
.diff-card{
  background: transparent; border:0;
  border-radius: 0;
  padding: 0;
  position:relative;
}
.diff-card .num{
  font-family: var(--font-display); font-style:italic; color: var(--sand);
  font-size:2.2rem; position:absolute; top:14px; right:20px; opacity:.7;
}
.diff-icon{
  width:44px; height:44px; border-radius:50%;
  background: transparent; display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px; color: var(--terracotta-dark);
}
.diff-card h3{ font-size:1.15rem; margin-bottom:.4em; }
.diff-card p{ color: var(--ink-soft); font-size:.93rem; margin:0; }

/* ===================== PRODUCT CARDS (etiqueta de tecido) ===================== */
.product-grid{
  display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px;
}
.product-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card .thumb{ overflow:hidden; }
.product-card .thumb img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .thumb img{ transform:scale(1.045); }
.product-card .thumb{ aspect-ratio: 1/1; position:relative; }
.tag-badge{
  position:absolute; top:12px; left:12px; z-index:2;
  background: var(--terracotta); color:#050505;
  font-size:.68rem; font-weight:700; letter-spacing:.03em;
  padding: 5px 10px; border-radius: 20px;
  text-transform: uppercase;
}
.product-info{ padding: 20px 20px 22px; display:flex; flex-direction:column; gap:10px; flex:1; min-width:0; }
.product-cat{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color: var(--sage-dark); font-weight:600; }
.product-info h3{ font-size:1.05rem; margin:0; }
.product-price{ font-family: var(--font-display); font-size:1.25rem; color: var(--terracotta-dark); font-weight:600; margin-top:auto; }
.product-price .old{ font-size:.85rem; color: var(--ink-soft); text-decoration:line-through; font-family: var(--font-body); margin-left:8px; font-weight:400;}
.product-actions{ display:flex; gap:10px; margin-top:8px; flex-wrap:wrap; }
.product-actions .btn{ flex:1 1 120px; min-width:0; padding: 10px 12px; font-size:.82rem; white-space:normal; }

/* fabric tag hole */
.thumb::before{
  content:""; position:absolute; top:10px; right:10px; z-index:2;
  width:14px; height:14px; border-radius:50%;
  border:2px solid rgba(255,253,249,.85);
  background: rgba(44,35,28,.15);
}




/* ===================== NEWSLETTER ===================== */
.newsletter{
  background:rgb(119, 95, 65); color:#fff; border-radius: var(--radius-lg);
  padding: 54px 48px; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}
.newsletter h2{ color:#fff; margin-bottom:.25em; }
.newsletter p{ color: rgba(255,255,255,.75); margin:0; max-width:40ch; }
.newsletter-form{ display:flex; gap:10px; flex-wrap:wrap; }
.newsletter-form input{
  padding: 13px 16px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.25);
  background: rgba(241, 185, 136, 0.336); color:#fff; min-width:220px;
}
.newsletter-form input::placeholder{ color: rgba(241, 239, 239, 0.767); }

/* ===================== FOOTER ===================== */
.site-footer{ background: rgba(223, 183, 122, 0.26); border-top:1px solid var(--line); padding-top: 70px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4{ font-family:var(--font-body); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:1.1em; color: var(--ink-soft); }
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ color: var(--ink); font-size:.92rem; }
.footer-col a:hover{ color: var(--terracotta-dark); }
.footer-brand p{ color: var(--ink-soft); max-width: 34ch; font-size:.92rem; }
.payment-icons{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.payment-icons span{
  border:1px solid var(--line); border-radius:6px; padding:6px 10px; font-size:.72rem; font-weight:600; color: var(--ink-soft); background: var(--white);
}
.footer-bottom{
  border-top:1px solid var(--line); padding: 22px 0 32px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.82rem; color: var(--ink-soft);
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb{ font-size:.85rem; color: var(--ink-soft); margin-bottom: 26px; }
.breadcrumb a:hover{ color: var(--terracotta-dark); }
.breadcrumb span{ margin: 0 8px; }

/* ===================== SHOP / FILTERS ===================== */
.shop-layout{ display:grid; grid-template-columns: 240px 1fr; gap: 40px; align-items:flex-start; }
.filters{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: 96px;
}
.filters h4{ font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.filter-group{ margin-bottom: 24px; }
.filter-group label{ display:flex; align-items:center; gap:8px; font-size:.92rem; margin-bottom:9px; color: var(--ink-soft); cursor:pointer; }
.filter-group input[type=checkbox]{ accent-color: var(--terracotta); width:16px; height:16px; }
.shop-toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom: 26px; gap:16px; flex-wrap:wrap; }
.search-box{ position:relative; flex:1; max-width:340px; }
.search-box input{
  width:100%; padding: 12px 16px 12px 40px; border-radius: 30px; border:1px solid var(--line); background:var(--white);
}
.search-box svg{ position:absolute; left:14px; top:50%; transform:translateY(-50%); opacity:.55; }
select#sort{
  padding: 11px 16px; border-radius: 30px; border:1px solid var(--line); background:var(--white);
}
.empty-state{ text-align:center; padding: 60px 20px; color: var(--ink-soft); }

/* ===================== PRODUCT PAGE ===================== */
.product-view{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.product-gallery-main{ aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow:hidden; margin-bottom:14px; }
.thumb-row{ display:flex; gap:10px; }
.thumb-row .photo-placeholder{ width:76px; height:76px; border-radius:6px; font-size:.55rem; padding:6px; cursor:pointer; }
.thumb-row .photo-placeholder.active{ outline:2px solid var(--terracotta); }
.product-detail h1{ font-size:2.1rem; }
.detail-price{ font-family: var(--font-display); font-size:2rem; color: var(--terracotta-dark); font-weight:600; margin: 6px 0 18px; }
.detail-desc{ color: var(--ink-soft); margin-bottom: 22px; }
.detail-meta{ display:flex; gap:26px; margin-bottom:22px; flex-wrap:wrap; }
.detail-meta div{ font-size:.85rem; }
.detail-meta strong{ display:block; color: var(--ink-soft); font-weight:600; font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:4px; }
.variation-group{ margin-bottom: 22px; }
.variation-group > span{ font-size:.8rem; text-transform:uppercase; letter-spacing:.05em; color: var(--ink-soft); font-weight:600; display:block; margin-bottom:10px; }
.swatch-options{ display:flex; gap:10px; flex-wrap:wrap; }
.swatch-options button{
  border:1px solid var(--line); background: var(--white); padding: 9px 16px; border-radius: 30px; font-size:.85rem;
}
.swatch-options button.selected{ border-color: var(--terracotta); background: var(--terracotta); color:#fff; }
.qty-control{ display:flex; align-items:center; border:1px solid var(--line); border-radius:30px; overflow:hidden; width:fit-content; }
.qty-control button{ background:none; border:none; width:38px; height:40px; font-size:1rem; }
.qty-control input{ width:44px; text-align:center; border:none; background:none; }
.product-cta-row{ display:flex; gap:14px; margin: 24px 0; flex-wrap:wrap; }
.product-cta-row .btn{ flex:1; min-width:180px; }
.trust-row{ display:flex; flex-direction:column; gap:10px; margin-top: 26px; padding-top:24px; border-top:1px dashed var(--line); font-size:.88rem; color: var(--ink-soft); }
.trust-row div{ display:flex; gap:10px; align-items:center; }
.made-by-filo{
  display:inline-flex; align-items:center; gap:10px; margin-top: 20px;
  font-family: var(--font-display); font-style:italic; color: var(--ink-soft); font-size:.95rem;
}
.tabs{ margin-top:60px; border-top:1px solid var(--line); }
.tab-heads{ display:flex; gap:30px; border-bottom:1px solid var(--line); }
.tab-heads button{ background:none; border:none; padding: 18px 0; font-weight:600; color: var(--ink-soft); border-bottom:2px solid transparent; }
.tab-heads button.active{ color: var(--ink); border-color: var(--terracotta); }
.tab-panel{ display:none; padding: 26px 0; color: var(--ink-soft); }
.tab-panel.active{ display:block; }

/* ===================== CART ===================== */
.cart-layout{ display:grid; grid-template-columns: 1fr 360px; gap: 48px; align-items:start; }
.cart-item{ display:grid; grid-template-columns: 90px 1fr auto; gap:18px; align-items:center; padding: 20px 0; border-bottom:1px solid var(--line); }
.cart-item .photo-placeholder{ width:90px; height:90px; border-radius:6px; font-size:.5rem; padding:4px; }
.cart-item h4{ margin:0 0 4px; font-size:1rem; }
.cart-item .meta{ font-size:.82rem; color: var(--ink-soft); }
.cart-item .price{ font-weight:600; color: var(--terracotta-dark); font-family: var(--font-display); font-size:1.1rem; }
.cart-item .remove{ background:none; border:none; color: var(--ink-soft); font-size:.8rem; text-decoration:underline; margin-top:6px; }
.cart-summary{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position:sticky; top: 96px;
}
.summary-row{ display:flex; justify-content:space-between; margin-bottom:14px; font-size:.95rem; color: var(--ink-soft); }
.summary-row.total{ font-size:1.2rem; color: var(--ink); font-weight:700; border-top:1px solid var(--line); padding-top:16px; margin-top:16px; }
.coupon-row{ display:flex; gap:8px; margin: 18px 0; }
.coupon-row input{ flex:1; padding:11px 14px; border-radius:6px; border:1px solid var(--line); }

/* ===================== CHECKOUT ===================== */
.checkout-layout{ display:grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items:start; }
.checkout-steps{ display:flex; gap:22px; margin-bottom: 40px; }
.checkout-steps div{ display:flex; align-items:center; gap:8px; font-size:.85rem; color: var(--ink-soft); }
.checkout-steps .dot{ width:24px; height:24px; border-radius:50%; background: var(--paper-2); display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:700; }
.checkout-steps .active .dot{ background: var(--terracotta); color:#fff; }
.checkout-steps .active{ color: var(--ink); font-weight:600; }
.form-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 24px; }
.form-card h3{ font-size:1.1rem; margin-bottom:20px; }
.form-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.form-grid .full{ grid-column: 1 / -1; }
.field label{ display:block; font-size:.82rem; font-weight:600; color: var(--ink-soft); margin-bottom:6px; }
.field input, .field select{ width:100%; padding:12px 14px; border-radius:6px; border:1px solid var(--line); background: var(--paper); }
.pay-methods{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-bottom:20px; }
.pay-methods label{
  border:1px solid var(--line); border-radius:8px; padding:16px 10px; text-align:center; font-size:.85rem; font-weight:600;
  display:flex; flex-direction:column; align-items:center; gap:8px; color: var(--ink-soft); cursor:pointer;
}
.pay-methods input{ accent-color: var(--terracotta); }
.pay-methods label:has(input:checked){ border-color: var(--terracotta); color: var(--ink); background: var(--paper-2); }
.payment-notice{ margin: 0 0 20px; padding: 16px 18px; border:1px dashed var(--terracotta); background: rgba(184,92,56,.06); border-radius: var(--radius); }
.payment-notice strong{ display:block; margin-bottom:4px; }
.payment-notice p{ color:var(--ink-soft); font-size:.86rem; margin:0 0 12px; }
.payment-notice .btn-whatsapp{ font-size:.8rem; padding:9px 14px; }
.pix-box{ text-align:center; padding: 24px; border:1px dashed var(--line); border-radius:10px; }
.pix-box .qr{ width:170px; height:170px; margin: 0 auto 16px; background: repeating-conic-gradient(var(--ink) 0% 25%, var(--paper) 0% 50%) 0/16px 16px; border-radius:6px; }
.pix-box .pix-qr{ width:170px; height:170px; object-fit:contain; margin:0 auto 16px; border-radius:6px; }
.pix-code{ display:flex; gap:8px; margin-top:14px; }
.pix-code input{ flex:1; padding:10px; border-radius:6px; border:1px solid var(--line); font-size:.78rem; }

/* ===================== FAQ ===================== */
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-item button{
  width:100%; text-align:left; background:none; border:none; padding: 22px 0;
  display:flex; justify-content:space-between; align-items:center; font-family:var(--font-display); font-size:1.05rem; color: var(--ink);
}
.accordion-item .plus{ font-size:1.4rem; color: var(--terracotta); transition: transform .2s; }
.accordion-item.open .plus{ transform: rotate(45deg); }
.accordion-body{ max-height:0; overflow:hidden; transition: max-height .25s ease; color: var(--ink-soft); }
.accordion-item.open .accordion-body{ padding-bottom: 22px; }

/* ===================== CHATBOT ===================== */
.chat-launcher{
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 62px; height:62px; border-radius:50%; background: var(--terracotta); color:#fff;
  display:flex; align-items:center; justify-content:center; border:none; box-shadow: var(--shadow);
}
.chat-window{
  position: fixed; bottom: 98px; right: 24px; z-index: 90;
  width: 340px; max-width: calc(100vw - 32px); height: 460px; max-height: 70vh;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display:flex; flex-direction:column; overflow:hidden;
  transform: translateY(12px) scale(.98); opacity:0; pointer-events:none; transition: .18s ease;
  border:1px solid var(--line);
}
.chat-window.open{ transform:none; opacity:1; pointer-events:auto; }
.chat-head{ background: var(--ink); color:#fff; padding: 16px 18px; display:flex; align-items:center; gap:10px; }
.chat-head .avatar{ width:32px; height:32px; border-radius:50%; background: var(--terracotta); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-style:italic; }
.chat-head strong{ font-size:.92rem; display:block; }
.chat-head small{ opacity:.7; font-size:.72rem; }
.chat-body{ flex:1; overflow-y:auto; padding: 16px; display:flex; flex-direction:column; gap:10px; }
.msg{ max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size:.86rem; line-height:1.45; }
.msg.bot{ background: var(--paper-2); align-self:flex-start; border-bottom-left-radius:2px; }
.msg.user{ background: var(--terracotta); color:#fff; align-self:flex-end; border-bottom-right-radius:2px; }
.chat-suggestions{ display:flex; flex-wrap:wrap; gap:8px; padding: 0 16px 12px; }
.chat-suggestions button{ font-size:.76rem; border:1px solid var(--line); background:var(--white); padding:6px 12px; border-radius:20px; }
.chat-input-row{ display:flex; border-top:1px solid var(--line); }
.chat-input-row input{ flex:1; border:none; padding: 14px 16px; background:none; }
.chat-input-row button{ background:none; border:none; padding: 0 16px; color: var(--terracotta); }

/* ===================== REVEAL ON SCROLL ===================== */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform:none; }
.diff-card:nth-child(2), .product-card:nth-child(2){ transition-delay:.08s; }
.diff-card:nth-child(3), .product-card:nth-child(3){ transition-delay:.16s; }
.diff-card:nth-child(4), .product-card:nth-child(4){ transition-delay:.24s; }

@keyframes hero-arrive{
  from{ opacity:0; transform:translateX(26px) scale(.98); }
  to{ opacity:1; transform:none; }
}
@keyframes content-arrive{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:none; }
}

@media (prefers-reduced-motion: reduce){
  .hero-media, .hero-content{ animation:none; }
  .hero-photo, .hero-photo img, .product-card .thumb img{ animation:none; transition:none; }
}

/* ===================== TOAST ===================== */
.toast{
  position: fixed; top: 90px; right: 24px; z-index: 200;
  background: var(--ink); color:#fff; padding: 14px 22px; border-radius: 8px;
  font-size:.9rem; box-shadow: var(--shadow);
  transform: translateX(120%); transition: transform .25s ease;
}
.toast.show{ transform: translateX(0); }

/* ===================== MISC PAGES ===================== */
.page-hero{ padding: 64px 0 40px; }
.page-hero h1{ font-size: clamp(2rem,4vw,2.8rem); }
.simple-content{ max-width: 760px; }
.simple-content h2{ margin-top: 1.6em; font-size:1.4rem; }
.simple-content p, .simple-content li{ color: var(--ink-soft); }
.simple-content ul{ list-style: disc; padding-left: 1.4em; margin-bottom:1.2em; }
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom:16px; display:flex; gap:16px; align-items:flex-start; }
.contact-card .ic{ width:42px; height:42px; border-radius:50%; background: var(--paper-2); display:flex; align-items:center; justify-content:center; color: var(--terracotta-dark); flex-shrink:0; }

.badge-404{ font-family: var(--font-display); font-size: 7rem; color: var(--sand); line-height:1; font-style:italic; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px){
  .diff-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(3,1fr); }
  .gallery-grid{ columns:3; }
  .story-grid{ grid-template-columns:1fr; }
  .story-photo{ max-width: 420px; }
  .review-grid{ grid-template-columns: 1fr; }
  .shop-layout{ grid-template-columns: 1fr; }
  .filters{ position:static; }
  .product-view{ grid-template-columns:1fr; }
  .cart-layout, .checkout-layout, .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width: 720px){
  .header-inner{ padding: 14px 24px; }
  .main-nav, .header-actions .btn-outline, .account-link-label{ display:none; }
  .hero-grid{ grid-template-columns:1fr; gap:0; }
  .hero-content{ padding: 52px 0 34px; }
  .hero{ min-height:0; }
  .hero-media, .hero-photo{ min-height:0; margin-bottom: 34px; }
  .hero-photo{ aspect-ratio: 4 / 3; height:auto; display:block; }
  .hero-photo img{ width:100%; max-width:none; height:100%; object-fit:cover; object-position:center; }
  .hamburger{ display:block; }
  .diff-grid, .product-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ columns:2; }
  section{ padding: 64px 0; }
  .newsletter{ flex-direction:column; align-items:flex-start; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .pay-methods{ grid-template-columns: 1fr 1fr 1fr; font-size:.75rem; }
}
@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr 1fr; gap:14px; }
  .gallery-grid{ columns:2; column-gap:12px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .chat-window{ width: calc(100vw - 24px); right:12px; }
  .chat-launcher{ right:16px; }
}

/* mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 0 0 0 auto; width: 78vw; max-width: 320px;
  background: var(--paper); z-index: 100; padding: 26px;
  transform: translateX(100%); transition: transform .25s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,.15);
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav a{ display:block; padding: 14px 0; border-bottom:1px solid var(--line); font-weight:600; }
.mobile-overlay{ position: fixed; inset:0; background: rgba(0,0,0,.35); z-index: 99; display:none; }
.mobile-overlay.open{ display:block; }


/* ===================== PEDIDOS (Minha Conta) ===================== */
.order-item .order-card-head{
  flex-wrap:wrap; align-items:flex-start; gap:6px 14px; padding:20px 0;
}
.order-card-top{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; width:100%;
  font-family:var(--font-display); font-size:1.05rem;
}
.order-card-meta{
  font-size:.82rem; color:var(--ink-soft); font-weight:400; font-family:var(--font-body);
  width:100%;
}
.order-item .plus{ position:absolute; right:0; top:22px; }
.order-item{ position:relative; }

.shipping-track{
  background: var(--paper-2); border-radius:8px; padding:14px 16px;
  margin: 14px 0; font-size:.85rem;
}
.shipping-track-title{ font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.03em; color:var(--ink-soft); margin-bottom:10px; }
.shipping-track-row{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:6px 0; border-bottom:1px solid var(--line); }
.shipping-track-row:last-child{ border-bottom:none; }
.shipping-track-row span:first-child{ color:var(--ink-soft); }
.shipping-track-row span:last-child{ font-weight:600; text-align:right; }
.shipping-track-code{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.shipping-track-code code{
  background:#fff; border:1px solid var(--line); border-radius:5px; padding:3px 8px;
  font-family:monospace; font-size:.82rem; letter-spacing:.02em;
}
.track-mini-btn{
  border:1px solid var(--line); background:#fff; border-radius:5px; padding:4px 9px;
  font-size:.74rem; font-weight:600; color:var(--ink); cursor:pointer;
}
.track-mini-btn:hover{ border-color:var(--terracotta); color:var(--terracotta-dark); }
.shipping-waiting{ color:var(--ink-soft); font-size:.85rem; }

.status-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-body); font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.03em;
  padding:5px 12px; border-radius:20px;
  background: color-mix(in srgb, var(--pill-color) 16%, white);
  color: var(--pill-color);
  border:1px solid color-mix(in srgb, var(--pill-color) 40%, white);
}

.delivery-note{
  background: var(--paper-2); border-radius:8px; padding:12px 16px;
  font-size:.85rem; margin: 14px 0; color: var(--ink);
}
.delivery-note.late{ background:#F8E4DF; color:#7A2C1D; }
.delivery-note.ok{ background:#E5EEDF; color:#3E5B34; }

.order-timeline{
  display:flex; justify-content:space-between; align-items:flex-start;
  margin: 18px 0 20px; position:relative; gap:4px;
}
.order-timeline::before{
  content:""; position:absolute; top:7px; left:0; right:0; height:2px;
  background: var(--line); z-index:0;
}
.tl-step{
  position:relative; z-index:1; display:flex; flex-direction:column; align-items:center;
  flex:1; text-align:center; gap:6px;
}
.tl-dot{
  width:16px; height:16px; border-radius:50%; background: var(--white);
  border:2px solid var(--line); display:block;
}
.tl-label{ font-size:.68rem; color:var(--ink-soft); line-height:1.25; max-width:80px; }
.tl-step.done .tl-dot{ background: var(--sage); border-color: var(--sage); }
.tl-step.done .tl-label{ color: var(--sage-dark); }
.tl-step.current .tl-dot{ background: var(--terracotta); border-color: var(--terracotta); box-shadow:0 0 0 4px rgba(184,92,56,.18); }
.tl-step.current .tl-label{ color: var(--terracotta-dark); font-weight:700; }
.order-timeline.cancelled{ color:#A6402F; font-weight:600; margin:18px 0; }

.order-products-list{ margin-bottom:12px; }
.order-product-row{
  display:grid; grid-template-columns:56px 1fr auto; gap:14px; align-items:center;
  padding:10px 0; border-bottom:1px solid var(--line);
}
.order-product-photo{ width:56px; height:56px; border-radius:6px; overflow:hidden; background:var(--paper-2); flex-shrink:0; }
.order-product-photo img{ width:100%; height:100%; object-fit:cover; }
.order-product-info{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.order-product-info strong{ font-size:.9rem; }
.order-product-meta{ font-size:.76rem; color:var(--ink-soft); }
.order-product-subtotal{ font-weight:600; font-family:var(--font-display); white-space:nowrap; }

@media (max-width: 480px){
  .order-timeline{ flex-wrap:wrap; }
  .order-timeline::before{ display:none; }
  .tl-step{ flex-direction:row; flex:none; width:100%; text-align:left; gap:10px; }
  .tl-label{ max-width:none; }
}

/* ===================== RESPONSIVE — AJUSTES EXTRA (mobile) ===================== */
@media (max-width: 640px){
  .container{ padding: 0 16px; }
  .form-card{ padding: 20px; }
  .page-hero{ padding: 40px 0 26px; }
  .checkout-steps{ flex-wrap:wrap; gap:12px 18px; }
  .cart-item{ grid-template-columns:64px 1fr; grid-template-areas:"photo info" "photo price"; row-gap:6px; }
  .cart-item .photo-placeholder{ width:64px; height:64px; grid-area:photo; }
  .cart-item > div:nth-child(2){ grid-area:info; }
  .cart-item .price{ grid-area:price; }
  .shop-toolbar{ flex-direction:column; align-items:stretch; }
  .search-box{ width:100%; }
  .shop-toolbar select{ width:100%; }
  .tab-heads{ gap:16px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:2px; }
  .tab-heads button{ white-space:nowrap; flex-shrink:0; }
  .product-cta-row .btn{ min-width:0; flex-basis:100%; }
  .contact-card{ padding:18px; flex-direction:column; }
  .diff-grid, .product-grid{ grid-template-columns: repeat(2,1fr); gap:14px; }
  .newsletter-form{ width:100%; }
  .newsletter-form input{ width:100%; }
  h1{ font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-content h1{ font-size: clamp(1.9rem, 8vw, 2.6rem); }
  table{ display:block; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; }
}
@media (max-width: 380px){
  .diff-grid, .product-grid{ grid-template-columns: 1fr; }
}

/* ===================== DEPOIMENTOS ===================== */
.testimonial-grid{
  display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.testimonial-card{
  background: var(--white); border-radius: var(--radius-lg, 14px);
  padding: 28px 26px; box-shadow: 0 2px 14px rgba(44,35,28,.06);
  display:flex; flex-direction:column; gap:12px;
}
.testimonial-stars{ color: var(--terracotta-dark); font-size: .95rem; letter-spacing: 2px; }
.testimonial-text{ color: var(--ink); font-size: .96rem; line-height:1.55; flex:1; }
.testimonial-text::before{ content: "“"; font-family: var(--font-display); font-style: italic; }
.testimonial-text::after{ content: "”"; font-family: var(--font-display); font-style: italic; }
.testimonial-name{ font-weight: 600; color: var(--ink); font-size: .9rem; }
.testimonial-name::before{ content: "— "; color: var(--sand); }

@media (max-width: 900px){
  .testimonial-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .testimonial-grid{ grid-template-columns: 1fr; }
}
