@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}

:root {
  --font-display: "Playfair Display";
  --font-sans: "Poppins";
  --brown-950: #20130c;
  --brown-900: #3a2315;
  --brown-800: #4a2d1d;
  --brown-700: #5a3b28;
  --brown-500: #7a5a43;
  --gold: #c89b3c;
  --gold-light: #d9b968;
  --beige: #f4efe8;
  --off-white: #faf8f5;
  --ink: #222222;
  --muted: #6b6b6b;
  --white: #ffffff;
  --border: rgba(58, 35, 21, 0.13);
  --shadow: 0 24px 60px rgba(43, 25, 15, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--brown-950);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--brown-950);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
  overflow: hidden;
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 0.75rem 0.25rem 0;
  background: currentColor;
  content: "";
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading > p:last-child {
  max-width: 590px;
}

.section-heading.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow::after {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 0 0.25rem 0.75rem;
  background: currentColor;
  content: "";
}

.section-heading.centered > p:last-child {
  margin-inline: auto;
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.gold-line {
  width: 70px;
  height: 1px;
  margin: 1.8rem 0 2rem;
  background: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-link:focus-visible,
.icon-button:focus-visible,
.filter-button:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.button-gold {
  background: var(--gold);
  color: var(--brown-950);
  box-shadow: 0 12px 28px rgba(200, 155, 60, 0.25);
}

.button-gold:hover {
  background: var(--gold-light);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  background: var(--brown-900);
  color: var(--white);
}

.button-dark:hover {
  background: var(--brown-700);
}

.button-outline-dark {
  border-color: var(--brown-900);
  color: var(--brown-900);
}

.button-outline-dark:hover {
  background: var(--brown-900);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--gold);
  color: var(--brown-900);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: gap 200ms ease;
}

.text-link:hover {
  gap: 0.85rem;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 104px;
  color: var(--white);
  transition:
    height 250ms ease,
    color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}

.site-header.scrolled,
.site-header.inner-header {
  height: 80px;
  background: rgba(250, 248, 245, 0.97);
  box-shadow: 0 6px 30px rgba(41, 26, 16, 0.07);
  color: var(--brown-900);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  width: 142px;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: scale(1.28);
  transform-origin: center;
  transition:
    width 250ms ease,
    height 250ms ease,
    transform 250ms ease,
    filter 250ms ease;
}

.site-header:not(.scrolled):not(.inner-header) .brand-logo {
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 7px 16px rgba(200, 155, 60, 0.25));
}

.site-header.scrolled .brand-logo,
.site-header.inner-header .brand-logo {
  width: 92px;
  height: 92px;
  transform: scale(1.16);
  filter: drop-shadow(0 5px 12px rgba(58, 35, 21, 0.12));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.3rem;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  content: "";
  transition: transform 240ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-whatsapp {
  min-height: 42px;
  padding: 0.65rem 1rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  font-size: 1.55rem;
  line-height: 1;
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-950);
  color: var(--white);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.mobile-menu-link {
  font-family: var(--font-display), Georgia, serif;
  font-size: 2.7rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--brown-950);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  filter: saturate(0.78) contrast(1.04);
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 50%, rgba(20, 12, 7, 0.08), rgba(20, 12, 7, 0.6)),
    linear-gradient(90deg, rgba(24, 14, 9, 0.88) 0%, rgba(24, 14, 9, 0.65) 52%, rgba(24, 14, 9, 0.25) 100%);
}

.hero::after {
  position: absolute;
  right: 3.5vw;
  bottom: 4rem;
  width: min(220px, 30vw);
  height: min(220px, 30vw);
  border: 1px solid rgba(200, 155, 60, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  padding: 9rem 0 5rem;
}

.hero-copy {
  max-width: 840px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 36px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 1.8rem;
  color: var(--white);
}

.hero h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.14rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll span {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* History */
.section-history {
  background:
    radial-gradient(circle at 95% 5%, rgba(200, 155, 60, 0.08), transparent 28%),
    var(--off-white);
}

.history-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.9fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.history-image-wrap {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.history-image-wrap::before {
  position: absolute;
  z-index: 2;
  inset: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  content: "";
}

.image-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 1.5rem;
  background: var(--brown-900);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.history-copy {
  max-width: 560px;
}

.history-copy p:not(.eyebrow) {
  margin-bottom: 1.4rem;
}

/* Differentials */
.section-differentials {
  background: var(--beige);
}

.section-differentials::before {
  position: absolute;
  top: -150px;
  right: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(200, 155, 60, 0.18);
  border-radius: 50%;
  content: "";
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(58, 35, 21, 0.14);
  border: 1px solid rgba(58, 35, 21, 0.14);
}

.differential-card {
  min-height: 265px;
  padding: 2.25rem;
  background: var(--off-white);
  transition:
    transform 250ms ease,
    background 250ms ease;
}

.differential-card:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-5px);
  background: var(--white);
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(200, 155, 60, 0.42);
  color: var(--gold);
}

.differential-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Products */
.section-products {
  background: var(--off-white);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 4rem;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  padding-bottom: 0.6rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  height: 405px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.7), transparent 40%),
    var(--beige);
}

/* AQUI ESTÁ A CORREÇÃO: O estilo da imagem que vai dentro do product-visual */
.product-image {
  position: absolute;
  top: 0;    /* <--- Isso força a foto a ir para o topo */
  left: 0;   /* <--- Isso força a foto a ir para a esquerda */
  width: 50%;
  height: 50%;
  object-fit: contain; 
  padding: 30px; 
  z-index: 2;
}

.product-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(200, 155, 60, 0.28);
  border-radius: 50%;
  content: "";
}

.coffee-bag {
  position: relative;
  z-index: 2;
  width: 184px;
  height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 7px 7px 11px 11px;
  background: linear-gradient(135deg, var(--bag-color), color-mix(in srgb, var(--bag-color), #000 22%));
  box-shadow: 0 28px 34px rgba(45, 27, 17, 0.24);
  color: var(--bag-text);
  text-align: center;
  transform: perspective(700px) rotateY(-5deg);
  transition: transform 350ms ease;
}

.product-card:hover .coffee-bag {
  transform: perspective(700px) rotateY(0deg) translateY(-5px);
}

.coffee-bag::before {
  position: absolute;
  top: 15px;
  right: 10px;
  left: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.bag-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display), serif;
  font-size: 1.6rem;
}

.bag-name {
  font-family: var(--font-display), serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.bag-subtitle {
  margin-top: 0.7rem;
  color: inherit;
  font-size: 0.55rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.product-badge {
  position: absolute;
  z-index: 3;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.35rem 0.65rem;
  background: var(--brown-900);
  color: var(--white);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info {
  padding: 1.8rem;
}

.product-category {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-info p {
  min-height: 3.2rem;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
}

.product-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-quick-info span {
  padding: 0.32rem 0.55rem;
  background: var(--beige);
  color: var(--brown-700);
  font-size: 0.66rem;
}

.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-details div {
  min-width: 0;
}

.product-details dt {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-details dd {
  margin: 0.1rem 0 0;
  color: var(--brown-900);
  font-size: 0.78rem;
  font-weight: 500;
}

.product-card .button {
  width: 100%;
}

.product-card.is-filtered-out {
  display: none;
}

.center-action {
  margin-top: 3rem;
  text-align: center;
}

/* Process */
.section-process {
  min-height: 760px;
  display: flex;
  align-items: center;
  background: var(--brown-950);
}

.process-photo,
.process-overlay {
  position: absolute;
  inset: 0;
}

.process-photo {
  opacity: 0.42;
}

.process-photo img {
  filter: grayscale(0.25) sepia(0.15);
}

.process-overlay {
  background:
    linear-gradient(180deg, rgba(31, 18, 10, 0.84), rgba(31, 18, 10, 0.92)),
    radial-gradient(circle at 50% 50%, transparent, var(--brown-950));
}

.process-content {
  position: relative;
  z-index: 2;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.timeline::before {
  position: absolute;
  top: 43px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(200, 155, 60, 0.5);
  content: "";
}

.timeline-step {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.timeline-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
  border: 1px solid rgba(200, 155, 60, 0.65);
  border-radius: 50%;
  background: rgba(44, 26, 16, 0.86);
  color: var(--gold-light);
}

.timeline-step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.timeline-step p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

/* Testimonials */
.section-testimonials {
  background: var(--beige);
}

.testimonial-shell {
  max-width: 880px;
  margin-inline: auto;
}

.testimonial-card {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--border);
  background: var(--off-white);
  text-align: center;
}

.testimonial-slide {
  width: 100%;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  left: 2rem;
  color: rgba(200, 155, 60, 0.25);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.testimonial-quote {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--brown-900);
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.4;
}

.testimonial-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brown-900);
  color: var(--gold-light);
  font-family: var(--font-display), serif;
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
  text-align: left;
}

.testimonial-person strong {
  color: var(--brown-900);
  font-size: 0.84rem;
}

.testimonial-person span {
  color: var(--muted);
  font-size: 0.7rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.slider-dots {
  display: flex;
  gap: 0.55rem;
}

.slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(58, 35, 21, 0.25);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--gold);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--brown-900);
  cursor: pointer;
  transition: background 200ms ease;
}

.icon-button:hover {
  background: var(--white);
}

/* CTA */
.cta-section {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
  background: var(--brown-900);
  color: var(--white);
}

.cta-section::before,
.cta-section::after {
  position: absolute;
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: 50%;
  content: "";
}

.cta-section::before {
  width: 340px;
  height: 340px;
  top: -200px;
  right: -80px;
}

.cta-section::after {
  width: 180px;
  height: 180px;
  bottom: -100px;
  left: 8%;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.cta-content h2 {
  max-width: 770px;
  margin-bottom: 0;
  color: var(--white);
}

.cta-content .eyebrow {
  margin-bottom: 1rem;
}

/* Inner pages */
.page-hero {
  min-height: 510px;
  display: grid;
  place-items: end start;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 78% 35%, rgba(200, 155, 60, 0.2), transparent 22%),
    linear-gradient(135deg, var(--brown-950), var(--brown-700));
  color: var(--white);
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.catalog-section {
  background: var(--off-white);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.catalog-count {
  margin: 0;
  font-size: 0.78rem;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-button {
  padding: 0.68rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--brown-700);
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    background 200ms ease,
    color 200ms ease,
    border 200ms ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--brown-900);
  background: var(--brown-900);
  color: var(--white);
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-note {
  margin-top: 3rem;
  padding: 1.3rem;
  border-left: 2px solid var(--gold);
  background: var(--beige);
  font-size: 0.8rem;
}

/* Contact */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-intro h2 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.contact-list {
  margin-top: 2.5rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 155, 60, 0.4);
  color: var(--gold);
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--brown-900);
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form-wrap {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--brown-900);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(58, 35, 21, 0.25);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  transition: border-color 200ms ease;
}

.form-field input {
  min-height: 48px;
}

.form-field textarea {
  min-height: 120px;
  padding-top: 0.7rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.form-status {
  margin: 0;
  color: var(--brown-700);
  font-size: 0.76rem;
}

.map-section {
  padding: 0;
  background: var(--brown-900);
}

.map-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
}

.map-frame {
  width: 100%;
  min-height: 470px;
  border: 0;
  filter: sepia(0.35) saturate(0.65) contrast(1.05);
}

.hours-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
}

.hours-card h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.hours-note {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

/* Footer */
.site-footer {
  padding: 5rem 0 1.5rem;
  background: var(--brown-950);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 5rem;
  padding-bottom: 4rem;
}

.footer-brand .brand-logo {
  width: 166px;
  height: 138px;
  margin: -1.1rem 0 0.8rem -1.4rem;
  padding: 0;
  background: transparent;
  mix-blend-mode: normal;
  transform: scale(1.22);
  filter: drop-shadow(0 8px 20px rgba(200, 155, 60, 0.2));
}

.footer-brand p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
}

.footer-column h3 {
  margin-bottom: 1.4rem;
  color: var(--gold-light);
  font-family: var(--font-sans), sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.66rem;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: var(--beige);
  color: var(--brown-900);
  font-size: 0.82rem;
}

.form-alert.success {
  border-color: #1f8f55;
}

.form-alert.error {
  border-color: #a93a37;
}

.hours-icon,
.not-found-icon {
  color: var(--gold);
  font-size: 1.8rem;
}

/* Floating controls */
.floating-controls {
  position: fixed;
  z-index: 80;
  right: 1.3rem;
  bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.whatsapp-float,
.back-to-top {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(31, 19, 12, 0.22);
  cursor: pointer;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.whatsapp-float {
  position: fixed;
  z-index: 81;
  right: 1.3rem;
  bottom: 1.3rem;
  background: #1f8f55;
  color: var(--white);
}

.whatsapp-float:hover,
.back-to-top:hover {
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  z-index: 80;
  right: 1.55rem;
  bottom: 5.3rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--off-white);
  color: var(--brown-900);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem 1.5rem;
  background:
    radial-gradient(circle at 70% 30%, rgba(200, 155, 60, 0.16), transparent 24%),
    var(--brown-950);
  color: var(--white);
  text-align: center;
}

.not-found-number {
  margin: 0;
  color: rgba(200, 155, 60, 0.25);
  font-family: var(--font-display), serif;
  font-size: clamp(8rem, 30vw, 19rem);
  line-height: 0.75;
}

.not-found h1 {
  margin: -1rem 0 1.5rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.not-found p {
  max-width: 520px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-image-wrap {
    min-height: 560px;
  }

  .footer-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 86px;
  }

  .site-header.scrolled,
  .site-header.inner-header {
    height: 76px;
  }

  .brand {
    width: 116px;
  }

  .brand-logo {
    width: 92px;
    height: 92px;
    transform: scale(1.22);
  }

  .site-header.scrolled .brand-logo,
  .site-header.inner-header .brand-logo {
    width: 82px;
    height: 82px;
    transform: scale(1.12);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-overlay {
    background: rgba(26, 15, 9, 0.72);
  }

  .hero-copy {
    max-width: 700px;
  }

  .history-grid,
  .contact-grid,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .history-image-wrap {
    min-height: 500px;
  }

  .history-copy {
    max-width: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 480px;
    margin-inline: auto;
  }

  .timeline::before {
    top: 8%;
    bottom: 8%;
    left: 42px;
    width: 1px;
    height: auto;
  }

  .timeline-step {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.6rem;
    text-align: left;
  }

  .timeline-icon {
    margin: 0;
  }

  .timeline-step p {
    margin: 0;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container,
  .hero-content {
    width: min(100% - 2rem, 1180px);
  }

  .section {
    padding: 5rem 0;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 7.5rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .brand {
    width: 104px;
  }

  .brand-logo {
    width: 84px;
    height: 84px;
  }

  .footer-brand .brand-logo {
    width: 148px;
    height: 126px;
  }

  .differentials-grid,
  .products-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .differential-card {
    min-height: 0;
  }

  .product-visual {
    height: 360px;
  }

  .history-image-wrap {
    min-height: 430px;
  }

  .image-caption {
    right: 0.7rem;
    bottom: 0.7rem;
    left: 0.7rem;
  }

  .page-hero {
    min-height: 470px;
  }

  .filter-list {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}