/* ==========================================================================
   TRAMEI — TYPOGRAPHY SYSTEM
   Body / UI ....... Work Sans
   Display / titles  Bricolage Grotesque (contemporary sans, optical sizing)
   Loaded after main.css so it can harmonise headings site-wide.
   ========================================================================== */

:root {
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Bricolage Grotesque', 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
    --ink: #2a2320;          /* warm near-black for headings   */
    --ink-soft: #5b524c;     /* muted body / captions          */
}

/* --- Base rendering polish ------------------------------------------------ */
body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.65;
}

p {
    line-height: 1.7;
}

/* --- Display headings (font only — never force colour, some sit on dark) - */
h1, h2, h3,
.section-title,
.tramei-hero-text h2,
.hero-text h2,
.b2b-banner-section h2,
.export-banner-section h2,
.newsletter-section h2,
.instagram-handle,
.related.products h2,
.cross-sells h2,
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* --- Section titles: "Destaques", "Lançamentos" ------------------------- */
.section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
    margin: 0 0 52px;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 54px;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

/* --- Hero ------------------------------------------------------------------ */
.tramei-hero-text h2,
.hero-text h2 {
    font-weight: 500;
    font-size: clamp(38px, 5.6vw, 66px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 22px;
}

.tramei-hero-text h2 em,
.hero-text h2 em {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
}

.tramei-hero-text p,
.hero-text p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 17px;
    letter-spacing: 0.02em;
    line-height: 1.6;
    margin-top: 0;
    opacity: 0.95;
}

/* --- Product cards ------------------------------------------------------- */
.product-title,
.product-title a,
.woocommerce ul.products li.product .product-title,
.woocommerce-loop-product__title {
    font-family: var(--font-display) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.35 !important;
    color: #6b6b6b !important; /* soft grey — doesn't fight the colourful chairs */
    text-transform: none !important;
}

.product-card .product-title {
    margin: 6px 0 10px !important;
}

.product-title a:hover {
    color: var(--primary-color) !important;
}

/* Price keeps the clean sans — just tighten it */
.product-price,
.woocommerce-Price-amount,
.product-price .price-new {
    font-family: var(--font-body);
    letter-spacing: 0;
}

/* --- Info banner strip (4 icons under the hero) ------------------------- */
.info-text strong {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.info-text span {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

/* --- UI elements stay in the sans, just consistent -------------------- */
.nav-menu a,
.top-bar,
.header-tools,
.button,
.add-to-cart,
.quick-view,
.btn-b2b-banner,
.hero-btn,
input, textarea, select {
    font-family: var(--font-body);
}

.nav-menu a {
    letter-spacing: 0.02em;
}

/* Small decorative labels above section headings */
.section-label,
.b2b-banner-section .section-label {
    font-family: var(--font-body);
    letter-spacing: 0.22em;
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 36px;
        padding-bottom: 16px;
    }
    .product-title,
    .product-title a {
        font-size: 16px !important;
    }
}
