/*
Theme Name: VINNA — Neve Child
Theme URI: https://vinnathebrand.com.br
Author: VINNA The Brand
Author URI: https://vinnathebrand.com.br
Description: Tema oficial da VINNA — marca de roupas para o dia a dia feminino. Everyday, but better. Child theme baseado em Neve.
Template: neve
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vinna-neve
Tags: fashion, clothing, navy, minimal, woocommerce
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES — VINNA NAVY BLUE THEME
   ============================================================ */
:root {
  --navy:        #1a2e52;
  --navy-dark:   #111f3a;
  --navy-light:  #2a4070;
  --cream:       #faf8f4;
  --cream-dark:  #f2ede4;
  --text-dark:   #0f1d36;
  --text-muted:  #6b7a99;
  --border:      #d4daea;
  --white:       #ffffff;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --transition:  all 0.3s ease;
}

/* ============================================================
   NEVE OVERRIDES — reset Neve's own styles
   ============================================================ */
body,
.nv-page-title-wrap,
.neve-main,
.nv-content-wrap {
  font-family: var(--font-sans) !important;
  font-weight: 300;
  background: var(--cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* Hide Neve's default header when our custom nav is present */
.hfg-header { display: none !important; }

/* Hide Neve's page title bar on the front page */
body.home .nv-page-title-wrap { display: none; }

/* Remove Neve default container padding on front page */
body.home .neve-main,
body.home .nv-content-wrap { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
body.home .container { max-width: 100% !important; padding: 0 !important; }

/* WooCommerce product pages still use Neve's grid normally */
body:not(.home) .neve-main { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.vinna-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.vinna-nav.scrolled {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 1rem 0;
}

.vinna-nav.hero-zone { color: var(--cream); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links a { color: inherit; text-decoration: none; transition: var(--transition); }
.nav-links a:hover { opacity: 0.55; }

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: inherit;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-actions a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-actions a:hover { opacity: 0.55; }

/* WooCommerce mini cart count */
.nav-cart-count {
  font-size: 0.6rem;
  letter-spacing: 0;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

.vinna-nav.scrolled .nav-cart-count { background: var(--navy); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  color: inherit;
}

.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-menu a:hover { font-style: italic; }

.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-dark);
}

/* ============================================================
   HERO
   ============================================================ */
.vinna-hero {
  min-height: 100vh;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.hero-overlay { position: absolute; inset: 0; background: rgba(26,46,82,0.72); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn-light { color: var(--cream); border-color: rgba(250,248,244,0.7); }
.btn-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.btn-navy { color: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy); color: var(--cream); }

/* ============================================================
   FOUNDER'S NOTE
   ============================================================ */
.founders-note { padding: 7rem 0; background: var(--cream); }

.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.founders-sketch {
  position: relative;
  height: 580px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.founders-sketch::after {
  content: '';
  position: absolute; inset: 16px;
  border: 1px solid rgba(26,46,82,0.18);
  pointer-events: none;
}

.founders-sketch img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.founders-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.section-rule { width: 5rem; height: 1px; background: var(--navy); margin-bottom: 2rem; }

.founders-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.25rem; }

.founders-signature {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
  margin-top: 1.5rem;
}

/* ============================================================
   FEATURED COLLECTION
   ============================================================ */
.featured-collection { padding: 6rem 0; background: var(--navy); color: var(--cream); }

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.collection-header .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.65;
  display: block;
  margin-bottom: 1rem;
}

.collection-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(250,248,244,0.3);
  padding-bottom: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.view-all:hover { opacity: 0.65; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2rem;
  row-gap: 4rem;
}

/* Override WooCommerce's own .products ul styles on homepage */
body.home ul.products { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 2rem !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
body.home ul.products li.product { padding: 0 !important; }

.product-card { cursor: pointer; }

.product-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.05); }

.product-add-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.45s ease;
  display: flex;
  justify-content: center;
}

.product-card:hover .product-add-btn { transform: translateY(0); }

.product-add-btn button, .product-add-btn a {
  width: 100%;
  padding: 0.85rem 1rem;
  background: white;
  color: var(--navy);
  border: none;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 400;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  display: block;
}

.product-add-btn button:hover, .product-add-btn a:hover { background: var(--navy); color: white; }

.product-meta { display: flex; justify-content: space-between; align-items: flex-start; }

.product-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.25rem; }

.product-composition { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.65; }

.product-price { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; }

/* WooCommerce price override */
.featured-collection .woocommerce-Price-amount { font-family: var(--font-serif); font-size: 1.15rem; color: var(--cream); }

/* ============================================================
   EDITORIAL SPLIT
   ============================================================ */
.editorial-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }

.editorial-text {
  background: var(--cream-dark);
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-text .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 2rem;
  display: block;
}

.editorial-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 2rem;
}

.editorial-text p { color: var(--text-muted); max-width: 400px; line-height: 1.8; margin-bottom: 3rem; }

.editorial-image {
  background: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
}

.editorial-image .bg-wash {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}

.editorial-image img { position: relative; z-index: 1; max-width: 380px; width: 100%; mix-blend-mode: multiply; }

/* ============================================================
   MORE COLLECTION
   ============================================================ */
.more-collection { padding: 6rem 0; background: var(--cream); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 4rem;
}

.products-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3rem;
  max-width: 860px;
  margin: 0 auto;
}

.product-card-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.product-card-centered .product-image-wrap { width: 100%; background: var(--cream-dark); aspect-ratio: 4/5; }
.product-card-centered .product-name { margin-top: 0.5rem; }

.product-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0.5rem auto 0.75rem;
  line-height: 1.7;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  padding: 8rem 2rem;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.newsletter-inner { max-width: 560px; margin: 0 auto; }

.newsletter-icon { width: 2rem; height: 2rem; margin: 0 auto 2rem; opacity: 0.75; }

.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.newsletter p { font-size: 0.95rem; opacity: 0.75; margin-bottom: 3rem; line-height: 1.7; }

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(250,248,244,0.35);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(250,248,244,0.45); }

.newsletter-form button {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.newsletter-form button:hover { opacity: 0.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.vinna-footer {
  background: var(--cream);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
}

/* Hide Neve's own footer */
.site-footer.footer-wrapper { display: none !important; }

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer-brand a { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; }
.footer-brand a:hover { color: var(--navy); }

.footer-col h4 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; list-style: none; }
.footer-col li a { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; text-decoration: none; }
.footer-col li a:hover { color: var(--navy); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 3rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { text-decoration: none; color: inherit; }
.footer-bottom-links a:hover { color: var(--navy); }

/* ============================================================
   WOOCOMMERCE — shop pages (non-homepage)
   ============================================================ */
body:not(.home) .woocommerce h1.page-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--navy);
}

body:not(.home) .woocommerce .products .product a.woocommerce-loop-product__link h2 {
  font-family: var(--font-serif);
  font-weight: 400;
}

body:not(.home) .woocommerce button.button,
body:not(.home) .woocommerce a.button {
  background: var(--navy) !important;
  color: var(--cream) !important;
  border-radius: 0 !important;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem !important;
  border: 1px solid var(--navy) !important;
  transition: var(--transition) !important;
}

body:not(.home) .woocommerce button.button:hover,
body:not(.home) .woocommerce a.button:hover {
  background: transparent !important;
  color: var(--navy) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1.5rem; }

  .founders-grid { grid-template-columns: 1fr; gap: 3rem; }
  .founders-sketch { height: 400px; }

  .editorial-split { grid-template-columns: 1fr; }
  .editorial-text { padding: 3rem 2rem; }
  .editorial-image { min-height: 50vh; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid-2 { grid-template-columns: 1fr; }

  .collection-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  .section-inner { padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; padding: 0 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem 1.5rem 0; }
}
