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

/* FolhaAberta — parchment catalog */

:root {
    --ink: #1a1412;
    --ink-soft: #3a2c28;
    --wine: #6b2a22;
    --wine-deep: #4a1c18;
    --clay: #c15f3c;
    --sand: #f4ead8;
    --ivory: #fbf7f0;
    --paper: #fffdf8;
    --gold: #c9a25a;
    --olive: #3e4a34;
    --muted: #6d5c52;
    --line: rgba(26, 20, 18, 0.12);
    --max: 1180px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --shadow: 0 18px 40px rgba(74, 28, 24, 0.14);
    --radius: 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--sand);
    background-image:
        radial-gradient(ellipse 70% 40% at 100% 0%, rgba(193, 95, 60, 0.08), transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(26, 20, 18, 0.025) 32px);
    line-height: 1.7;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
.wrap { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }

/* ——— Cookie banner (top sheet, not bottom card) ——— */
.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(26, 20, 18, 0.45);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-inner {
    width: min(100%, 540px);
    background: var(--ivory);
    color: var(--ink);
    padding: 1.6rem 1.5rem 1.4rem;
    border: 1px solid var(--wine);
    box-shadow: var(--shadow);
}
.cookie-banner h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.cookie-banner p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 150px; justify-content: center; min-height: 48px; }
.btn-reject {
    background: var(--ivory);
    color: var(--ink);
    border-color: var(--ink);
}
.btn-reject:hover { background: var(--ink); color: var(--ivory); }
.cookie-links { margin: 0.9rem 0 0; font-size: 0.78rem; }
.cookie-links a { color: var(--wine); }

/* ——— Ad disclosure ——— */
.ad-strip {
    background: var(--wine);
    color: #f8ead4;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
}
.ad-notice {
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 1.15rem 1.25rem 1.25rem;
    font-size: 0.9rem;
}
.ad-notice p {
    width: min(100%, var(--max));
    margin-inline: auto;
    color: var(--ink-soft);
}
.ad-notice strong { color: var(--wine-deep); }

.trader-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.trader-bar p { width: min(100%, var(--max)); margin-inline: auto; }

/* ——— Header (static, centered brand) ——— */
.site-header {
    background: var(--ivory);
    border-bottom: 3px solid var(--wine);
    padding: 1.15rem 0 1.05rem;
}
.header-inner {
    width: min(100% - 2.2rem, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}
.logo {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    justify-self: start;
}
.logo-mark {
    width: 42px;
    height: 10px;
    background:
        linear-gradient(90deg, var(--wine) 0 8px, transparent 8px 12px, var(--gold) 12px 20px, transparent 20px 24px, var(--olive) 24px);
    margin-bottom: 0.2rem;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}
.logo-text em { font-style: italic; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--wine); }
.header-meta {
    justify-self: center;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
.main-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 500;
}
.main-nav a:hover { color: var(--wine); }
.nav-cta {
    background: var(--wine) !important;
    color: var(--ivory) !important;
    padding: 0.55rem 0.95rem;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--wine-deep) !important; color: #fff !important; }

/* ——— Buttons ——— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 0.9rem 1.4rem;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background: var(--wine);
    color: var(--ivory);
    border-color: var(--wine);
}
.btn-primary:hover { background: var(--wine-deep); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-invert {
    background: var(--ivory);
    color: var(--wine);
    border-color: var(--ivory);
}
.btn-invert:hover { background: #fff; color: var(--wine-deep); }

/* ——— Hero: split catalog, not full-bleed overlay ——— */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(88vh, 780px);
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
}
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.4rem, 6vw, 5rem) clamp(1.4rem, 5vw, 4.5rem);
}
.hero-kicker {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 1.1rem;
}
.hero-brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.hero-line {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    max-width: 18ch;
    line-height: 1.25;
    color: var(--wine-deep);
    margin-bottom: 1rem;
}
.hero-sub {
    max-width: 36rem;
    color: var(--ink-soft);
    margin-bottom: 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.hero-merchant {
    max-width: 38rem;
    font-size: 0.86rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    margin-bottom: 0;
}
.hero-visual {
    position: relative;
    overflow: hidden;
    background: var(--wine-deep);
    min-height: 420px;
}
.hero-visual img.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}
.hero-cover-float {
    position: absolute;
    left: 8%;
    bottom: 8%;
    width: min(42%, 240px);
    box-shadow: var(--shadow);
    border: 4px solid var(--ivory);
    background: var(--ivory);
}

/* ——— Colophon / merchant ——— */
.colophon {
    background: var(--olive);
    color: #f3efe4;
    padding: 2.6rem 0;
}
.colophon h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #fff;
}
.colophon p { max-width: 64rem; margin-bottom: 0.8rem; color: rgba(255,255,255,0.9); }
.colophon a { color: var(--gold); }
.colophon-meta { font-size: 0.88rem; opacity: 0.92; }

/* ——— Product catalog card ——— */
.catalog { padding: 4.8rem 0 4.2rem; }
.catalog-grid {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 3.2rem;
    align-items: start;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1.4rem, 4vw, 2.6rem);
}
.book-frame { text-align: center; }
.book-frame img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.book-note { margin-top: 0.8rem; font-size: 0.78rem; color: var(--muted); }
.eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 0.45rem;
}
.catalog h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 0.35rem;
}
.subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--wine);
    margin-bottom: 1rem;
}
.lead { color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 40rem; }
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
}
.spec-grid div {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-size: 0.92rem;
}
.spec-grid div:nth-child(2n) { border-right: 0; }
.spec-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-grid span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
}
.price-caveat {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0.9rem 0 1.2rem;
    max-width: 38rem;
}

/* ——— Mosaic features ——— */
.mosaic {
    padding: 0 0 4.8rem;
}
.section-head {
    width: min(100% - 2.2rem, var(--max));
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 0.7rem;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 600;
}
.section-head p { color: var(--muted); max-width: 28rem; font-size: 0.92rem; }
.mosaic-grid {
    width: min(100% - 2.2rem, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 0.9rem;
}
.tile {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
}
.tile img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.tile-body { padding: 1.15rem 1.15rem 1.3rem; }
.tile h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.tile p { color: var(--muted); font-size: 0.92rem; }
.tile.tall img { height: 280px; }

/* ——— Purchase path as ticket ——— */
.ticket-section { padding: 0 0 5rem; }
.ticket-section h2 {
    width: min(100% - 2.2rem, var(--max));
    margin: 0 auto 1.4rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 600;
}
.ticket {
    width: min(100% - 2.2rem, var(--max));
    margin-inline: auto;
    background: var(--paper);
    border: 2px dashed var(--wine);
    padding: clamp(1.3rem, 3vw, 2rem);
}
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}
.steps li { border-right: 1px solid var(--line); padding-right: 1rem; }
.steps li:last-child { border-right: 0; }
.steps strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}
.steps span { color: var(--muted); font-size: 0.9rem; }
.ticket-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    background: var(--wine);
    color: var(--ivory);
    padding: 1.3rem 1.3rem;
}
.price-ref { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.price-now {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}
.price-was {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-top: 0.2rem;
}
.price-was s { text-decoration: line-through; }
.policy-note { margin-top: 1rem; font-size: 0.86rem; color: var(--muted); }

/* ——— FAQ newspaper columns ——— */
.faq {
    background: var(--ivory);
    padding: 4.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.faq h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 600;
    margin-bottom: 1.4rem;
}
.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 2rem;
}
.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 0 0.85rem;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    font-size: 0.98rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
    content: "▸ ";
    color: var(--wine);
}
.faq-list details[open] summary::before { content: "▾ "; }
.faq-list p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }

/* ——— About ——— */
.about { padding: 4.2rem 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.4rem;
}
.about h2, .about h3 {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.about h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.doc-links { list-style: none; display: grid; gap: 0.4rem; }

/* ——— Footer: light parchment, not black ——— */
.site-footer {
    background: var(--ivory);
    color: var(--ink-soft);
    border-top: 8px solid var(--wine);
    padding-top: 2.8rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.2rem;
}
.footer-tag { margin: 0.7rem 0; font-size: 0.9rem; }
.footer-entity { font-size: 0.86rem; margin-bottom: 0.9rem; }
.footer-badge {
    display: inline-block;
    border: 1px solid var(--wine);
    color: var(--wine);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
}
.site-footer h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.3rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--wine); }
.footer-disclosure {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
    font-size: 0.86rem;
}
.footer-disclosure h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
    color: var(--ink);
}
.footer-disclosure p { margin-bottom: 0.4rem; max-width: 72rem; }
.footer-bar {
    background: var(--wine-deep);
    color: rgba(255,255,255,0.7);
    padding: 0.95rem 0 1.15rem;
    font-size: 0.78rem;
}
.footer-bar a { color: var(--gold); }
.footer-bar-inner { display: grid; gap: 0.3rem; }

/* ——— Legal / inner pages: dossier layout ——— */
.page {
    padding: 2.4rem 0 4rem;
}
.dossier {
    width: min(100% - 2.2rem, 1080px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}
.dossier-nav {
    position: sticky;
    top: 1rem;
    background: var(--ivory);
    border: 1px solid var(--line);
    padding: 1.1rem 1rem;
    font-size: 0.86rem;
}
.dossier-nav h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}
.dossier-nav ul { list-style: none; display: grid; gap: 0.35rem; }
.dossier-nav a { text-decoration: none; color: var(--ink-soft); }
.dossier-nav a:hover, .dossier-nav a[aria-current="page"] { color: var(--wine); font-weight: 600; }
.page-card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1.5rem, 4vw, 2.6rem);
}
.doc-badge {
    display: inline-block;
    border: 1px solid var(--wine);
    color: var(--wine);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.28rem 0.5rem;
    margin-bottom: 0.9rem;
}
.page-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 600;
    margin-bottom: 0.55rem;
}
.page-card .muted { color: var(--muted); margin-bottom: 1.6rem; }
.page-card h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 1.7rem 0 0.55rem;
    color: var(--wine-deep);
}
.page-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 1.1rem 0 0.4rem;
}
.page-card p, .page-card li { margin-bottom: 0.6rem; color: var(--ink-soft); }
.page-card ul, .page-card ol { padding-left: 1.15rem; margin-bottom: 0.9rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.legal-table th, .legal-table td {
    text-align: left;
    padding: 0.6rem 0.45rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.legal-table th { width: 36%; color: var(--muted); font-weight: 500; }
.cookie-table { font-size: 0.9rem; }
.cookie-table th { width: auto; color: var(--ink); font-weight: 600; background: var(--sand); }

.inner-header .header-inner {
    grid-template-columns: auto 1fr;
}
.inner-header .main-nav { justify-content: flex-end; }

/* ——— Compact inner footer ——— */
.mini-footer .footer-bar { border: 0; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .header-meta { display: none; }
    .main-nav a:not(.nav-cta) { display: none; }
    .hero,
    .catalog-grid,
    .mosaic-grid,
    .steps,
    .faq-list,
    .about-grid,
    .footer-top,
    .dossier {
        grid-template-columns: 1fr;
    }
    .hero-visual { min-height: 320px; }
    .hero-cover-float { width: 38%; }
    .steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 1rem; }
    .steps li:last-child { border-bottom: 0; }
    .dossier-nav { position: static; }
    .spec-grid { grid-template-columns: 1fr; }
    .spec-grid div { border-right: 0; }
    .spec-grid div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .spec-grid div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
