/* =========================================================
   ARIA MODA FEMININA — style.css
   Estética: boutique de luxo · marfim + terracota-rosado
   Abordagem: mobile-first, depois media queries
   ========================================================= */

/* ---------- Variáveis de tema ---------- */
:root {
  --ivory:    #faf6f1;   /* fundo principal             */
  --sand:     #f1e8de;   /* superfícies suaves          */
  --blush:    #ecd9cf;   /* rosado claro                */
  --terra:    #bd7a5e;   /* acento principal (terracota)*/
  --terra-dk: #a4634a;
  --espresso: #2e2722;   /* texto principal             */
  --mocha:    #7c6f64;   /* texto secundário            */
  --line:     rgba(46, 39, 34, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --radius: 18px;
  --max:    1180px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--ivory);
  color: var(--espresso);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout base ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 74px 0; }

.section-head { text-align: center; max-width: 560px; margin: 0 auto 46px; }
.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.05;
}
.section-sub { color: var(--mocha); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-buy {
  background: var(--terra);
  color: var(--ivory);
  box-shadow: 0 8px 22px rgba(189, 122, 94, 0.28);
}
.btn-buy:hover { background: var(--terra-dk); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(189, 122, 94, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--terra); color: var(--terra); transform: translateY(-2px); }
.btn-lg { padding: 17px 42px; font-size: 0.9rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(12px);
  padding: 13px 0;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mocha); margin-top: 2px; }

/* Navegação — gaveta no mobile */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(78%, 320px);
  background: var(--ivory);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.nav.open { transform: translateX(0); }
.nav-link { font-size: 1.05rem; letter-spacing: 0.08em; transition: color 0.2s; }
.nav-link:hover { color: var(--terra); }
.nav-cta { margin-top: 6px; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px; z-index: 101;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--espresso); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 130px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero-eyebrow { font-size: 0.76rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--terra); margin-bottom: 22px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 12vw, 5.4rem);
  line-height: 1;
}
.hero-title em { font-style: italic; color: var(--terra); }
.hero-lead { color: var(--mocha); max-width: 460px; margin: 24px 0 34px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Visual do hero — composição em CSS (trocar por fotos reais depois) */
.hero-visual {
  position: relative;
  height: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-card {
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-card span { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--ivory); position: relative; z-index: 1; }
.hero-card-a { background: linear-gradient(160deg, #d8a98f, #bd7a5e); margin-top: 30px; }
.hero-card-b { background: linear-gradient(160deg, #e7d2c6, #c79b87); margin-bottom: 30px; }
.hero-monogram {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  background: var(--ivory);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--terra);
  box-shadow: 0 10px 30px rgba(46, 39, 34, 0.15);
}

/* ---------- Destaques ---------- */
.highlights { background: var(--sand); }
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.feature::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,39,34,0.78), rgba(46,39,34,0.12) 60%);
  z-index: 1;
}
.swatch-1 { background: linear-gradient(140deg, #c89a82, #9c6249); }
.swatch-2 { background: linear-gradient(140deg, #cdb39f, #a07c63); }
.swatch-3 { background: linear-gradient(140deg, #b58a82, #7e564f); }
.feature-overlay { position: relative; z-index: 2; padding: 28px; color: var(--ivory); }
.feature-tag {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(250, 246, 241, 0.16); backdrop-filter: blur(4px);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.feature-name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; }
.feature-desc { font-size: 0.96rem; margin: 8px 0 18px; opacity: 0.92; max-width: 320px; }
.feature-overlay .btn-buy { background: var(--ivory); color: var(--espresso); }
.feature-overlay .btn-buy:hover { background: var(--blush); }
.feature-overlay .btn-outline { color: var(--ivory); border-color: rgba(250,246,241,0.5); }
.feature-overlay .btn-outline:hover { border-color: var(--ivory); color: var(--ivory); }

/* ---------- Catálogo ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46, 39, 34, 0.1); }
.product-thumb {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-thumb span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
/* "Tecidos" em gradiente — troque por <img> das peças reais */
.tone-1 { background: linear-gradient(150deg, #d8b3a0, #b07d63); }
.tone-2 { background: linear-gradient(150deg, #cdbcaa, #97826c); }
.tone-3 { background: linear-gradient(150deg, #e6cfc4, #c39a86); }
.tone-4 { background: linear-gradient(150deg, #c9a9a6, #9c7370); }
.tone-5 { background: linear-gradient(150deg, #a98e8a, #6f4f4c); }
.tone-6 { background: linear-gradient(150deg, #d4c2ab, #a78c6f); }
.product-info { padding: 18px 18px 20px; }
.product-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.product-meta { color: var(--mocha); font-size: 0.82rem; margin-top: 2px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 8px; }
.product-price { font-size: 1.05rem; font-weight: 500; color: var(--espresso); }
.btn-comprar {
  background: var(--terra);
  color: var(--ivory);
  border: 0;
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  transition: background 0.25s, transform 0.2s var(--ease);
}
.btn-comprar:hover { background: var(--terra-dk); transform: scale(1.04); }

/* ---------- Sobre ---------- */
.about-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about-visual { order: -1; }
.about-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--blush), var(--terra));
  display: grid; place-items: center;
}
.about-frame span { font-family: var(--font-display); font-size: 7rem; color: rgba(250,246,241,0.9); }
.about-text p { color: var(--mocha); margin-top: 16px; max-width: 520px; }
.about-text .section-title { margin-top: 12px; }
.about-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.about-stats strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--terra); display: block; }
.about-stats span { color: var(--mocha); font-size: 0.82rem; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-inner {
  background: var(--sand);
  border-radius: 26px;
  padding: 62px 26px;
}
.cta-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 7vw, 3.6rem); }
.cta-text { color: var(--mocha); max-width: 440px; margin: 14px auto 30px; font-size: 1.08rem; }
.cta-info { color: var(--mocha); font-size: 0.82rem; margin-top: 24px; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 38px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.footer-brand { font-size: 1.7rem; }
.footer-copy { color: var(--mocha); font-size: 0.9rem; }
.footer-rights { color: var(--mocha); font-size: 0.8rem; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animações de revelação ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   BREAKPOINTS
   ========================================================= */

/* Tablet */
@media (min-width: 700px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-lg { grid-column: 1 / -1; min-height: 360px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Desktop */
@media (min-width: 940px) {
  .section { padding: 104px 0; }
  .hero { padding: 170px 0 80px; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  .hero-visual { height: 460px; }
  .about-inner { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .about-visual { order: 0; }

  .nav-toggle { display: none; }
  .nav {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    background: none;
    border: 0;
    padding: 0;
    transform: none;
    gap: 34px;
  }
  .nav-cta { margin-top: 0; }
}