/* ============================================================
   TEUCER — Quoties cado, toties resurgo
   Spartan-inspired minimalist theme
   ============================================================ */

:root {
    --bg:            #f5f1ea;   /* aged parchment */
    --bg-elev:       #fbf7f0;
    --text:          #1a1512;   /* dark bronze black */
    --text-muted:    #6b5b4a;
    --border:        #d9cebb;
    --accent:        #8b6f47;   /* bronze */
    --accent-dark:   #5c4a30;
    --accent-light:  #b89b6f;
    --gold:          #c9a961;
    --ink:           #2b2419;
    --danger:        #a04030;
    --success:       #4a6b3a;

    --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p  { margin-bottom: 1rem; color: var(--text); }
a  { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); text-decoration: underline; }

/* ============================================================
   Layout
   ============================================================ */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand img {
    height: 36px;
    width: auto;
}

.brand:hover {
    text-decoration: none;
    color: var(--accent-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    padding: clamp(3rem, 8vw, 6rem) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-illustration {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    filter: sepia(0.15);
}

.hero-title {
    max-width: 720px;
    margin: 0 auto 1rem;
    color: var(--ink);
}

.hero-motto {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--accent-dark);
    margin: 1.5rem auto;
    max-width: 620px;
    letter-spacing: 0.02em;
}

.hero-motto-translation {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.hero-description {
    max-width: 620px;
    margin: 1.5rem auto 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg-elev);
    border-color: var(--ink);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--bg-elev);
    border-color: var(--accent-dark);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--bg-elev);
    text-decoration: none;
}

/* ============================================================
   Sections
   ============================================================ */

.section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
    background: var(--bg-elev);
    border-block: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 1rem auto 0;
}

/* ============================================================
   Product cards
   ============================================================ */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-card h3 {
    color: var(--ink);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card .tagline {
    color: var(--accent-dark);
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-right: 0.4rem;
}

.badge-live {
    background: var(--success);
    color: var(--bg-elev);
    border-color: var(--success);
}

/* ============================================================
   Legal pages (Privacy / Terms)
   ============================================================ */

.legal {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.legal h1 {
    margin-bottom: 0.5rem;
}

.legal .updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--ink);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.legal h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--accent-dark);
}

.legal p, .legal li {
    color: var(--text);
    line-height: 1.75;
}

.legal ul, .legal ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal li {
    margin-bottom: 0.4rem;
}

.legal a {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    background: var(--ink);
    color: #c9bdaa;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-elev);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-motto {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.footer-motto-tr {
    font-size: 0.85rem;
    color: #8a7d6a;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.4rem;
}

.footer-col a {
    color: #c9bdaa;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--bg-elev);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #3a3226;
    text-align: center;
    font-size: 0.85rem;
    color: #8a7d6a;
}

/* ============================================================
   Utility
   ============================================================ */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 720px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    .nav-links a { font-size: 0.85rem; }
    .brand span { display: none; }
    .brand img { height: 40px; }
}
