/* Bôkka — tokens from the logo: burgundy #8B2B2C on warm white */
:root {
  --red: #8B2B2C;
  --red-dark: #6E2122;
  --red-tint: #F1DEDB;
  --selection: #EBCFCB;
  --paper: #F7F4F1;
  --sand: #EFE9E4;
  --ink: #201E1D;
  --ink-soft: #4A4341;
  --ink-muted: #6B6361;
  --white: #FFFFFF;
  --rule: 2px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
/* .info-row, .rating and .review-grid set display, which would show [hidden] elements */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::selection { background: var(--selection); }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

.wrap { max-width: 1320px; margin: 0 auto; }
.rule { border-bottom: var(--rule); }
.band-red { background: var(--red); color: var(--white); }
.band-sand { background: var(--sand); }
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.balance { text-wrap: balance; }

/* Type */
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.label-red { color: var(--red); }
.h2 { font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -0.025em; }
.h2-menu { font-weight: 800; font-size: clamp(36px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.025em; }
.h2-story { font-weight: 800; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 520px; text-wrap: pretty; }
.lead-inherit { color: inherit; max-width: none; }
.body { font-size: 17px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.text-link { font-weight: 600; font-size: 15px; }

/* Buttons */
.btn {
  display: flex; justify-content: space-between; gap: 24px;
  min-width: 200px; padding: 16px 22px;
  font-weight: 600; font-size: 15px;
}
.btn-wide { min-width: 240px; align-self: flex-start; }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--red-tint); color: var(--red-dark); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); padding: 14px 20px; }
.btn-outline-white:hover { background: var(--red-dark); color: var(--white); }
.btn-outline-dark { border: 2px solid var(--ink); color: var(--ink); padding: 14px 20px; }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--rule); }
.nav {
  max-width: 1320px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav-links > a { color: var(--ink); }
.nav-links > a:hover { color: var(--red); }
.nav-icon { display: flex; }
.lang-switch { display: flex; border: var(--rule); }
.lang-switch button {
  border: 0; cursor: pointer; padding: 7px 10px;
  font: 600 12px 'Archivo', sans-serif; letter-spacing: 0.06em;
  background: transparent; color: var(--ink);
}
.lang-switch button[aria-pressed="true"] { background: var(--red); color: var(--white); }

/* Photos */
.photo { position: relative; background: var(--sand); }
.photo img, .photo iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo img { object-fit: cover; }
.photo iframe { border: 0; }
.photo-hero { min-height: 520px; }
.photo-hero img { object-position: center 30%; }
.photo-story { min-height: 520px; }
.photo-story img { object-position: 30% center; }
.photo-map { min-height: 480px; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.hero-text {
  background: var(--red); color: var(--white);
  padding: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
}
.hero-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-logo { height: 84px; width: auto; display: block; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 5.6vw, 86px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.hero-bottom { display: flex; flex-direction: column; gap: 28px; }
.hero-bottom p { font-size: 18px; line-height: 1.55; max-width: 500px; text-wrap: pretty; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Vitrine */
.vitrine-head { padding: 96px 28px 0; }
.split-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px 56px; align-items: end;
}
/* Grid lines: each cell draws right+bottom borders, negative margins tuck the outer ones under overflow:hidden */
.products {
  margin-top: 40px; border-top: var(--rule); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.product {
  display: flex; flex-direction: column;
  border-right: var(--rule); border-bottom: var(--rule); margin: 0 -2px -2px 0;
}
.product-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); border-bottom: var(--rule); }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.num { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.product h3 { font-weight: 800; font-size: 24px; letter-spacing: -0.015em; }
.product p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

/* Orders */
.orders {
  padding: 72px 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px 56px; align-items: end;
}

/* Two-column sections (story, visit) */
.two-col { overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.col-divider { border-right: var(--rule); margin-right: -2px; }
.col-pad { padding: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.story-text { gap: 24px; justify-content: center; }
.visit-text { gap: 36px; }
.visit-address {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 8px;
  font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25;
}

/* More examples: small squares, one strip. Day-to-day photos live on Instagram. */
.gallery-head { padding: 96px 28px 0; }
.examples {
  margin-top: 40px; border-top: var(--rule); overflow: hidden;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.example {
  min-width: 0; margin: 0 -2px -2px 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand);
  border-right: var(--rule); border-bottom: var(--rule);
}
.example img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; }
.example:first-child img { object-position: 45% 62%; }

/* Carousels (videos): horizontal scroll-snap track with ruled cells */
.carousel-head {
  padding: 96px 28px 40px;
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
}
.carousel-nav { display: flex; border: var(--rule); }
.carousel-btn {
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  width: 52px; height: 48px; font: 600 18px 'Archivo', sans-serif;
}
.carousel-btn + .carousel-btn { border-left: var(--rule); }
.carousel-btn:hover { background: var(--ink); color: var(--paper); }
.track {
  list-style: none; margin: 0; padding: 0;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-top: var(--rule);
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.track > li {
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  background: var(--sand); border-right: var(--rule);
}
.track > li:last-child { border-right: 0; }
.track img, .track video { display: block; width: 100%; height: 100%; object-fit: cover; }
.track-photos > li { width: clamp(260px, 30vw, 420px); aspect-ratio: 4 / 5; }
.track-videos > li { width: clamp(220px, 24vw, 320px); aspect-ratio: 9 / 16; }
.track video { cursor: pointer; }
.sound-btn {
  position: absolute; right: 12px; bottom: 12px;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white); background: rgba(32, 30, 29, 0.55); color: var(--white); cursor: pointer;
}
.sound-btn:hover { background: var(--red); }
.sound-btn[aria-pressed="false"] .wave, .sound-btn[aria-pressed="true"] .mute { display: none; }

.hours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

/* Instagram */
.insta-text { gap: 24px; justify-content: center; }
.insta-embed { padding: clamp(24px, 4vw, 56px); display: flex; justify-content: center; }
.insta-frame {
  position: relative; width: 100%; max-width: 540px; height: 680px;
  background: var(--white); border: var(--rule);
}
.insta-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.insta-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px;
}

/* Reviews */
.reviews { padding: 96px 28px; display: flex; flex-direction: column; gap: 40px; }
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: 16px; }
.rating-score { font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.rating-meta { display: flex; flex-direction: column; gap: 4px; }
.rating-count { font-size: 13px; color: var(--ink-soft); }
.stars { color: var(--red); letter-spacing: 0.1em; }
.stars-lg { font-size: 18px; }
.review-grid {
  border-top: var(--rule); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.review {
  margin: 0 -2px -2px 0; padding: 32px 28px;
  border-right: var(--rule); border-bottom: var(--rule);
  display: flex; flex-direction: column; gap: 20px;
}
.review blockquote { font-size: 20px; line-height: 1.45; font-weight: 500; color: var(--ink-muted); text-wrap: pretty; }
.review figcaption { font-size: 13px; font-weight: 600; margin-top: auto; }

/* Press */
.press { padding: 80px 28px; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start; }
.press-label { flex: 1 1 200px; }
.press-body { flex: 3 1 520px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.press-quote { font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.press-intro { max-width: 46ch; }
.press-credit { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.press-grid {
  width: min(100%, 560px); margin-top: 4px; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--rule); border-right: 0; border-bottom: 0;
}
.press-shot {
  display: block; min-width: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--white);
  border-right: var(--rule); border-bottom: var(--rule);
}
.press-shot img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; }
.shot-capa img { object-position: center 46%; }
.shot-titulo img { object-position: center top; }
.shot-artigo img { object-position: center 40%; }
.shot-paginas img { object-position: center 72%; }

/* Visit info */
.info { display: flex; flex-direction: column; border-top: var(--rule); }
.info-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: var(--rule); }
.info dt { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.info dd { font-size: 16px; line-height: 1.55; }
.info-contact { display: flex; flex-direction: column; }
.info-contact a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--red); color: var(--white); }
.footer {
  padding: 48px 28px; font-size: 14px;
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
}
.footer img { height: 64px; width: auto; display: block; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--red-tint); }

/* ---------- Responsive: tablet & mobile ---------- */
section[id], main { scroll-margin-top: 84px; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav { padding: 12px 20px; flex-wrap: nowrap; }
  .nav-logo img { height: 40px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: var(--rule); background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: var(--rule);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    font-size: 18px; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--sand); }
  .nav-links > .nav-icon { gap: 10px; align-items: center; }
  .nav-links > .nav-icon::after { content: "Instagram"; }
  .lang-switch { margin-top: 20px; align-self: flex-start; }
  .lang-switch button { padding: 10px 14px; font-size: 13px; }

  .vitrine-head, .carousel-head, .gallery-head { padding-top: 72px; }
  .reviews { padding-top: 72px; padding-bottom: 72px; }
  .orders, .press { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 599px) {
  .nav { padding: 12px 16px; }
  .nav-links { padding: 8px 16px 20px; }
  .vitrine-head, .carousel-head, .gallery-head, .reviews, .orders, .press, .footer { padding-left: 16px; padding-right: 16px; }
  .vitrine-head, .carousel-head, .gallery-head { padding-top: 56px; padding-bottom: 28px; }
  .reviews { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .hero-text { gap: 40px; padding-left: 20px; padding-right: 20px; }
  .col-pad { padding-left: 20px; padding-right: 20px; }
  .hero-logo { height: 64px; }
  .hero h1 { font-size: clamp(38px, 11vw, 44px); }
  .photo-hero, .photo-story { min-height: 420px; }
  .photo-map { min-height: 360px; }
  .btn, .btn-wide { min-width: 0; width: 100%; }
  .btn-row { flex-direction: column; }
  .rating-score { font-size: 52px; }
  .review { padding: 28px 20px; }
  .review blockquote { font-size: 18px; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
  .insta-embed { padding: 16px; }
  .insta-frame { height: 600px; }
  .track-photos > li { width: 78vw; }
  .track-videos > li { width: 62vw; }
  .footer img { height: 52px; }
}

/* Video carousel: subtle edge arrows (stronger on hover) + position line */
.carousel { position: relative; }
.edge-btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 44px; height: 64px; display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; color: var(--ink);
  background: rgba(247, 244, 241, 0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0.55; transition: opacity .2s, background .2s, color .2s;
}
.edge-prev { left: 0; }
.edge-next { right: 0; }
.carousel:hover .edge-btn, .edge-btn:focus-visible { opacity: 1; }
.edge-btn:hover { background: var(--paper); color: var(--red); }
.carousel .edge-btn:disabled { opacity: 0; pointer-events: none; }
.track-progress { height: 2px; background: var(--sand); overflow: hidden; }
.track-progress span { display: block; height: 100%; width: 0; background: var(--red); transition: transform .15s linear; }
@media (hover: none) {
  .edge-btn { width: 36px; height: 52px; opacity: 0.8; }
}
