/* ============================================================
   Maria Coura — sistema de design
   Paleta extraída das fotos reais do produto (couro), não assumida.
   Fraunces (display) + Archivo (corpo/UI)
   ============================================================ */

:root {
  --ground: #efe6d6;
  --paper: #f8f3e8;
  --paper-2: #efe4cd;
  --ink: #241a11;
  --ink-soft: #6b5847;
  --leather: #6f4f34;
  --leather-deep: #2b2019;
  --brass: #8a6a2a;
  --stone: #b3a89a;
  --line: #d9cbae;
  --line-strong: #c2ac81;
  --header-h: 84px;
  --header-h-mobile: 68px;
  --strip-h: 36px;
  --topbar-h: calc(var(--strip-h) + var(--header-h));
  --ease: cubic-bezier(.22,.61,.36,1);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, h4 em { font-weight: 600; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.btn-solid { background: var(--ink); color: var(--paper); }
.btn.btn-solid:hover { background: var(--leather); border-color: var(--leather); }
.btn.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.btn-light:hover { background: #fff; color: var(--ink); }
.btn.btn-underline {
  border: none; padding: 4px 0;
  border-bottom: 1px solid currentColor;
}
.btn.btn-underline:hover { background: transparent; color: var(--leather); border-color: var(--leather); }

/* ---------- demo strip ---------- */
.demo-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  min-height: var(--strip-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--leather-deep); color: #e6dcc8;
  font-size: 12px; text-align: center; letter-spacing: .01em; padding: 6px 16px;
}
@media (max-width: 640px) {
  :root { --strip-h: 50px; }
  .demo-strip { font-size: 10.5px; line-height: 1.4; }
}
.demo-strip strong { color: #e7c98a; font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: var(--strip-h); left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(43, 32, 25, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.08);
}
.site-header .wrap {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo { height: 26px; }
.site-header .logo img { height: 100%; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a {
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #f4ede0;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.site-header nav a:hover { border-color: currentColor; }
.site-header .actions { display: flex; align-items: center; gap: 20px; }
.site-header .whatsapp-pill {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: #f4ede0; border: 1px solid rgba(244,237,224,.5); padding: 8px 16px;
}
.site-header .whatsapp-pill:hover { background: rgba(244,237,224,.12); }
.menu-toggle { display: none; background: none; border: none; color: #f4ede0; font-size: 22px; cursor: pointer; }

/* band pages (no photo hero): header sits over a solid ground, so text is dark */
body[data-hero="band"] .site-header { background: rgba(239,230,214,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
body[data-hero="band"] .site-header nav a,
body[data-hero="band"] .site-header .whatsapp-pill,
body[data-hero="band"] .menu-toggle { color: var(--ink); }
body[data-hero="band"] .site-header .whatsapp-pill { border-color: var(--ink); }
body[data-hero="band"] .site-header .logo .logo-light { display:none; }
body[data-hero="photo"] .site-header .logo .logo-dark { display:none; }
body[data-hero="photo"] .site-header.scrolled .logo .logo-dark { display:none; }

@media (max-width: 880px) {
  .site-header nav { display: none; }
  .menu-toggle { display: block; }
  .site-header .whatsapp-pill { display: none; }
}

/* ---------- hero (full-bleed photo) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: var(--topbar-h); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; }
.hero-bg.rotator img {
  position: absolute; inset: 0; object-position: 50% 38%;
  opacity: 0; animation: heroRotate 9s infinite;
}
.hero-bg.rotator img:nth-child(1) { animation-delay: 0s; }
.hero-bg.rotator img:nth-child(2) { animation-delay: 3s; }
.hero-bg.rotator img:nth-child(3) { animation-delay: 6s; }
@keyframes heroRotate {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  37%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg.rotator img { animation: none; opacity: 0; }
  .hero-bg.rotator img:nth-child(1) { opacity: 1; }
}
@media (max-width: 640px) {
  .hero-bg.rotator img:nth-child(1) { object-position: 76% 58%; }
  .hero-bg.rotator img:nth-child(2) { object-position: 80% 44%; }
  .hero-bg.rotator img:nth-child(3) { object-position: 68% 48%; }
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24,17,11,.35) 0%, rgba(24,17,11,.18) 32%, rgba(24,17,11,.4) 60%, rgba(20,14,9,.92) 100%),
    linear-gradient(90deg, rgba(20,14,9,.78) 0%, rgba(20,14,9,.28) 46%, rgba(20,14,9,.02) 70%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 84px; max-width: 720px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); color: #faf5ea; line-height: 1.04; }
.hero h1 em { font-style: italic; color: #e7c98a; }
.hero p.dek { color: #e7ddc9; font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 22px 0 32px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero-bg img { object-position: 78% 20%; }
  .hero .wrap { padding-bottom: 56px; }
}

/* ---------- full-bleed content section w/ photo bg ---------- */
.photo-section { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.photo-section .bg { position: absolute; inset: 0; z-index: 0; }
.photo-section .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
@media (max-width: 640px) { .photo-section .bg img { object-position: 66% 42%; } }
.photo-section .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24,17,11,.92) 0%, rgba(24,17,11,.72) 40%, rgba(24,17,11,.28) 68%, rgba(24,17,11,.58) 100%);
}
.photo-section .content { position: relative; z-index: 1; color: #f4ede0; max-width: 560px; }
.photo-section .content h2 { color: #faf5ea; font-size: clamp(28px, 3.6vw, 42px); }
.photo-section .content p { color: #e2d7c4; line-height: 1.7; font-size: 15px; margin: 18px 0 26px; }
.photo-section.centered { justify-content: center; text-align: center; min-height: 640px; }
.photo-section.centered .bg::after {
  background:
    linear-gradient(180deg, rgba(24,17,11,.5) 0%, rgba(24,17,11,.28) 40%, rgba(24,17,11,.62) 100%),
    linear-gradient(90deg, rgba(24,17,11,.35) 0%, rgba(24,17,11,.1) 50%, rgba(24,17,11,.35) 100%);
}
.photo-section.centered .content { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.photo-section.centered .content img.partner-logo { height: 46px; width: auto; margin-bottom: 22px; filter: brightness(1.05); }
.photo-section.centered .content h2 { font-size: clamp(30px, 4vw, 46px); }
.photo-section.centered .content p { max-width: 50ch; }
@media (max-width: 720px) {
  .photo-section .bg::after { background: linear-gradient(180deg, rgba(24,17,11,.55) 0%, rgba(24,17,11,.9) 100%); }
}

/* ---------- generic band section ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-top: 16px; }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-strong); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-strong); }
@media (max-width: 720px) { .trio-grid { grid-template-columns: 1fr; } }
.cat-card { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,17,11,0) 45%, rgba(24,17,11,.75) 100%); }
.cat-card span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #faf5ea; font-family: "Fraunces", serif; font-size: 19px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- authority logos strip ---------- */
.authority { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.authority p.lbl { text-align:center; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 30px; }
.authority-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.authority-row { display: flex; align-items: center; gap: 56px; width: max-content; filter: grayscale(1); opacity: .72; animation: authorityScroll 32s linear infinite; }
.authority:hover .authority-row { animation-play-state: paused; }
.authority-row img { height: 30px; width: auto; object-fit: contain; flex: 0 0 auto; }
@keyframes authorityScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .authority-row { gap: 30px; } .authority-row img { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .authority-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- product grid ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft);
  padding: 9px 16px; cursor: pointer; transition: all .25s var(--ease);
}
.filters button:hover, .filters button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 1040px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }
.product-grid.spotlight { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; gap: 40px 32px; }
.product-grid.spotlight .p-card .thumb { aspect-ratio: 1/1; }
.product-grid.spotlight .p-card h3 { font-size: 20px; }
@media (max-width: 640px) { .product-grid.spotlight { gap: 26px 16px; } }

.p-card { display: block; }
.p-card .thumb { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); margin-bottom: 14px; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-card:hover .thumb img { transform: scale(1.04); }
.p-card .cat-tag { position: absolute; top: 12px; left: 12px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(248,243,232,.92); color: var(--ink-soft); padding: 4px 8px; }
.p-card h3 { font-size: 17px; margin-bottom: 4px; }
.p-card .material { font-size: 11.5px; color: var(--ink-soft); }
.p-card .price { font-size: 11.5px; color: var(--brass); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

/* ---------- product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
@media (max-width: 940px) { .pd-layout { grid-template-columns: 1fr; gap: 34px; } }
.pd-gallery { display: grid; gap: 8px; }
.pd-gallery img { width: 100%; object-fit: cover; }
.pd-gallery .main { aspect-ratio: 4/5; }
.pd-gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pd-gallery .thumbs img { aspect-ratio: 1/1; cursor: pointer; }

.pd-info .code { font-size: 11px; letter-spacing: .08em; color: var(--brass); text-transform: uppercase; margin-bottom: 10px; }
.pd-info h1 { font-size: 34px; margin-bottom: 14px; }
.pd-info .price-line { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: 24px; }
.pd-info .desc { font-size: 14.5px; line-height: 1.75; color: var(--ink); margin-bottom: 28px; }
.pd-spec { border-top: 1px solid var(--line-strong); }
.pd-spec dl { display: grid; grid-template-columns: 130px 1fr; gap: 12px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 13.5px; }
.pd-spec dt { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; }
.pd-spec dd { margin: 0; }
.pd-cta { margin-top: 28px; }
.pd-note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }
.pd-related { margin-top: 100px; }

.breadcrumb { font-size: 11.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin: calc(var(--topbar-h) + 30px) 0 30px; }
.breadcrumb a { color: var(--ink-soft); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--leather); border-color: var(--leather); }

/* ---------- responsive two-col layouts (sobre / contato) ---------- */
.founder-grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
@media (max-width: 780px) {
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-grid .about-photo-card { max-width: 320px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- founder / about card ---------- */
.about-photo-card { position: relative; overflow: hidden; aspect-ratio: 3/3.6; background: var(--paper-2); }
.about-photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,26,17,0) 55%, rgba(24,17,11,.68) 100%); }
.about-photo-card .name-label {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  background: rgba(24,17,11,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); padding: 14px 18px;
}
.about-photo-card .name-label strong { display: block; color: #faf5ea; font-family: "Fraunces", serif; font-size: 19px; }
.about-photo-card .name-label span { color: #d9cbae; font-size: 11px; letter-spacing: .04em; }

.timeline { border-top: 1px solid var(--line-strong); margin-top: 40px; }
.timeline li { list-style: none; display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline .yr { font-family: "Fraunces", serif; font-style: italic; font-size: 22px; color: var(--brass); }
.timeline p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink); }

/* ---------- case study card / grid ---------- */
.case-card { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover img { transform: scale(1.05); }
.case-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,17,11,0) 40%, rgba(24,17,11,.82) 100%); }
.case-card .info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #faf5ea; }
.case-card .info .tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #e7c98a; }
.case-card .info h3 { font-size: 24px; margin-top: 6px; }

.amenity-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.amenity-grid img { aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 780px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- footer ---------- */
footer.site-footer { background: var(--leather-deep); color: #e6dcc8; padding: 76px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #d9cbae; margin-bottom: 18px; font-family: "Archivo"; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 13px; }
.footer-grid a:hover { color: #e7c98a; }
.footer-grid .logo-w { height: 30px; margin-bottom: 18px; }
.footer-grid .logo-w img { height: 100%; }
.footer-grid p.addr { font-size: 13px; line-height: 1.6; color: #bfb097; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 11.5px; color: #a3937a; flex-wrap: wrap; gap: 10px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in { transition-delay: calc(var(--stagger-i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); }
.center { text-align: center; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 600; background: var(--leather-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  transform: translateY(-100%); transition: transform .4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: "Fraunces", serif; font-size: 28px; color: #f4ede0; }
.mobile-menu .close { position: absolute; top: 26px; right: 26px; background: none; border: none; color: #f4ede0; font-size: 26px; cursor: pointer; }
