:root {
  --forest: #173d32;
  --forest-dark: #0d2b23;
  --cream: #f1eadb;
  --paper: #f7f2e8;
  --ink: #252a21;
  --copper: #bd6d3b;
  --gold: #d7ad5c;
  --line: rgba(37, 42, 33, 0.19);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--forest);
  background: var(--cream);
  transition: top .2s;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 25px clamp(24px, 5vw, 80px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .02em;
}
.brand small {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  opacity: .76;
}
nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 12px; }
nav a { position: relative; padding: 7px 0; }
nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s;
}
nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 20px; border: 1px solid rgba(255,255,255,.65); transition: .25s; }
.nav-cta:hover { color: var(--forest); background: white; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--forest-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("assets/hero-queijo-alagoa.png") center/cover no-repeat;
  animation: heroScale 1.7s cubic-bezier(.2,.75,.25,1) both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,26,21,.92) 0%, rgba(7,26,21,.67) 33%, rgba(7,26,21,.05) 71%),
    linear-gradient(0deg, rgba(4,19,15,.55), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 80%);
  margin-left: clamp(24px, 9vw, 150px);
  padding-top: 80px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .product-info h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(66px, 8.1vw, 130px);
  line-height: .82;
  letter-spacing: -.035em;
}
h1 em, h2 em { font-weight: 400; color: var(--gold); }
.hero-copy { max-width: 470px; margin-bottom: 38px; font-size: 15px; line-height: 1.8; opacity: .82; }
.hero-actions { display: flex; align-items: center; gap: 35px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s, color .25s, background .25s;
}
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--forest); background: var(--cream); }
.button-light:hover { background: white; }
.button-dark { color: white; background: var(--forest); }
.button-dark:hover { background: var(--copper); }
.text-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 11px; }
.text-link span { display: inline-block; margin-left: 18px; transition: transform .25s; }
.text-link:hover span { transform: translate(4px,4px); }
.hero-stamp {
  position: absolute;
  right: clamp(25px, 7vw, 115px);
  bottom: 11vh;
  display: grid;
  width: 126px;
  height: 126px;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  transform: rotate(7deg);
}
.hero-stamp span { font-size: 7px; letter-spacing: .2em; text-transform: uppercase; }
.hero-stamp strong { padding: 2px 0; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: .7; }
.scroll-note {
  position: absolute;
  bottom: 32px;
  left: clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .6;
}
.scroll-note span { width: 32px; height: 1px; background: white; }
.reveal { animation: reveal .9s cubic-bezier(.2,.75,.25,1) both; }
.reveal:nth-child(2) { animation-delay: .12s; }
.reveal:nth-child(3) { animation-delay: .22s; }
.reveal:nth-child(4) { animation-delay: .32s; }
@keyframes reveal { from { opacity: 0; transform: translateY(25px); } }
@keyframes heroScale { from { opacity: 0; transform: scale(1.06); } }

.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 80px 9vw;
  padding: 140px clamp(24px, 9vw, 150px) 170px;
  overflow: hidden;
}
.section-index {
  position: absolute;
  top: 55px;
  right: 9vw;
  color: var(--copper);
  font-size: 8px;
  letter-spacing: .22em;
}
.manifesto h2, .products h2, .process h2, .visit h2, .contact h2 {
  margin-bottom: 0;
  font-size: clamp(55px, 7vw, 105px);
  line-height: .92;
  letter-spacing: -.025em;
}
.manifesto h2 em, .process h2 em, .contact h2 em { color: var(--copper); }
.manifesto-copy { align-self: end; padding-bottom: 8px; }
.manifesto-copy > p { max-width: 460px; font-size: 15px; line-height: 1.85; color: #515449; }
.manifesto-copy > p:first-child { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink); }
.signature { margin-top: 30px; color: var(--copper); font-family: var(--serif); font-size: 25px; font-style: italic; transform: rotate(-4deg); }
.origin-photo { position: relative; grid-column: 1 / -1; margin: 0; height: min(52vw, 570px); overflow: hidden; }
.origin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: sepia(.1) saturate(.8); transform: scale(1.01); transition: transform 1.2s; }
.origin-photo:hover img { transform: scale(1.045); }
.origin-photo figcaption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  display: flex;
  gap: 18px;
  color: white;
  font-size: 8px;
  letter-spacing: .18em;
}
.altitude-card {
  position: absolute;
  right: clamp(25px, 6vw, 90px);
  bottom: 75px;
  width: 245px;
  padding: 35px;
  color: var(--cream);
  background: var(--forest);
}
.altitude-card strong { font-family: var(--serif); font-size: 58px; font-weight: 400; }
.altitude-card sup { font-family: var(--sans); font-size: 14px; }
.altitude-card p { margin: 12px 0 0; font-size: 11px; line-height: 1.7; opacity: .72; }

.products { padding: 130px clamp(24px, 7vw, 110px); color: var(--cream); background: var(--forest); }
.products-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 70px; }
.products-heading > p { width: 360px; margin-bottom: 8px; font-size: 13px; line-height: 1.75; opacity: .63; }
.products h2 em { color: var(--gold); }
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.product-card { position: relative; min-width: 0; padding: 25px clamp(18px, 2.5vw, 40px) 42px; border-right: 1px solid rgba(255,255,255,.18); }
.product-card:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.product-number { color: var(--gold); font-size: 9px; letter-spacing: .15em; }
.cheese-illustration {
  position: relative;
  height: 260px;
  margin: 15px -22px 12px;
  overflow: hidden;
  transition: transform .5s, filter .5s;
}
.product-card:hover .cheese-illustration { transform: translateY(-10px) rotate(1deg); }
.cheese-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.02);
  -webkit-mask-image: radial-gradient(ellipse 82% 76% at 50% 52%, #000 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 76% at 50% 52%, #000 64%, transparent 100%);
}
.product-age { margin-bottom: 7px; color: var(--gold); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.product-info h3 { margin-bottom: 13px; font-size: clamp(32px, 3vw, 46px); }
.product-info > p:not(.product-age) { max-width: 315px; min-height: 66px; font-size: 12px; line-height: 1.7; opacity: .68; }
.product-info ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 22px 0 0; list-style: none; }
.product-info li { padding: 6px 9px; border: 1px solid rgba(255,255,255,.22); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.products > .button { display: flex; width: max-content; margin: 55px auto 0; color: var(--forest); background: var(--gold); }
.products > .button:hover { color: white; background: var(--copper); }

.process { padding: 145px clamp(24px, 7vw, 110px); }
.process-intro { display: grid; grid-template-columns: 1fr 1.3fr .7fr; align-items: end; gap: 40px; }
.process-intro .eyebrow { align-self: start; margin-top: 8px; }
.process-intro > p:last-child { font-size: 13px; line-height: 1.8; color: #686b60; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 100px 0 0; list-style: none; border-top: 1px solid var(--line); }
.process-steps li { padding: 20px clamp(18px,2vw,30px) 0; border-right: 1px solid var(--line); }
.process-steps li:first-child { border-left: 1px solid var(--line); }
.process-steps span { color: var(--copper); font-size: 8px; }
.process-steps svg { display: block; width: 72px; margin: 48px auto; fill: none; stroke: var(--forest); stroke-width: 1.4; }
.process-steps h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.process-steps p { font-size: 11px; line-height: 1.75; color: #686b60; }

.visit { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 660px; color: white; background: var(--forest-dark); }
.visit-map { position: relative; display: grid; min-height: 520px; place-items: center; overflow: hidden; background: #d2be8d; }
.visit-map::before {
  content:"";
  position:absolute;
  inset:0;
  opacity:.5;
  background: repeating-linear-gradient(25deg, transparent 0 32px, rgba(60,70,48,.08) 33px 34px);
}
.visit-map svg { width: 80%; fill: none; stroke: rgba(23,61,50,.55); stroke-width: 1.2; }
.visit-map circle:last-child { opacity: .35; }
.map-label { position: absolute; top: 46%; left: 57%; color: var(--forest); font-family: var(--serif); font-size: 14px; transform: translate(18px, -30px) rotate(-6deg); }
.visit-copy { align-self: center; padding: 80px clamp(35px,7vw,110px); }
.visit h2 { font-size: clamp(52px, 6vw, 88px); }
.visit-copy > p:not(.eyebrow) { margin: 35px 0; font-size: 13px; line-height: 1.8; opacity: .68; }
.visit dl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0 0 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.visit dt { margin-bottom: 7px; color: var(--gold); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.visit dd { margin: 0; font-size: 11px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px,10vw,160px); padding: 145px clamp(24px,9vw,150px); }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin: 35px 0; font-size: 14px; line-height: 1.85; color: #686b60; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.whatsapp-link span { display: grid; width: 30px; height: 30px; place-items: center; color: white; border-radius: 50%; background: var(--forest); }
.contact-form { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; color: var(--copper); font-size: 8px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.contact-form input, .contact-form select {
  width: 100%;
  padding: 9px 0 15px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}
.contact-form input:focus, .contact-form select:focus { border-bottom-color: var(--forest); }
.contact-form .button { align-self: flex-start; gap: 30px; margin-top: 10px; }
.form-status { min-height: 20px; margin: -12px 0 0; color: var(--forest); font-size: 11px; line-height: 1.5; }

footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 70px;
  padding: 70px clamp(24px,7vw,110px) 25px;
  color: var(--cream);
  background: var(--forest);
}
.footer-brand { align-self: start; }
.footer-address { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-address p, .footer-links { font-size: 10px; line-height: 1.8; opacity: .68; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 8px 20px; }
.footer-links a:hover, .footer-address a:hover { opacity: .65; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .48;
}

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { padding: 18px 22px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; width: 42px; height: 42px; place-content: center; gap: 6px; color: white; border: 1px solid rgba(255,255,255,.4); background: transparent; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 19px; height: 1px; background: currentColor; transition: .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: var(--cream);
    background: var(--forest-dark);
    font-family: var(--serif);
    font-size: 28px;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }
  nav.open { opacity: 1; visibility: visible; }
  .nav-cta { font-family: var(--sans); font-size: 11px; }
  .hero-content { width: calc(100% - 48px); margin: 0 24px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,26,21,.88), rgba(7,26,21,.18)), linear-gradient(0deg, rgba(4,19,15,.7), transparent 55%); }
  .hero-stamp { right: 24px; bottom: 70px; width: 100px; height: 100px; opacity: .75; }
  .manifesto { grid-template-columns: 1fr; gap: 45px; padding: 110px 24px 140px; }
  .origin-photo { grid-column: auto; height: 520px; }
  .origin-photo img { object-position: 68% center; }
  .altitude-card { right: 14px; bottom: 55px; width: 210px; }
  .products { padding: 100px 24px; }
  .products-heading { align-items: start; flex-direction: column; }
  .products-heading > p { width: auto; }
  .product-list { grid-template-columns: 1fr; }
  .product-card, .product-card:first-child { display: grid; grid-template-columns: .8fr 1fr; align-items: center; border: 1px solid rgba(255,255,255,.18); border-top: 0; }
  .product-card:first-child { border-top: 1px solid rgba(255,255,255,.18); }
  .product-number { position: absolute; top: 22px; left: 24px; }
  .process { padding: 110px 24px; }
  .process-intro { grid-template-columns: 1fr; }
  .process-intro .eyebrow { margin-bottom: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li:nth-child(3) { border-left: 1px solid var(--line); }
  .visit { grid-template-columns: 1fr; }
  .visit-map { min-height: 460px; }
  .contact { grid-template-columns: 1fr; padding: 110px 24px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-links { display: none; }
}

@media (max-width: 580px) {
  h1 { font-size: clamp(58px, 18vw, 82px); }
  .hero-content { padding-top: 30px; }
  .hero-copy { max-width: 92%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-stamp { display: none; }
  .scroll-note { display: none; }
  .manifesto h2, .products h2, .process h2, .visit h2, .contact h2 { font-size: 52px; }
  .origin-photo { height: 430px; }
  .altitude-card { width: 185px; padding: 24px; }
  .altitude-card strong { font-size: 48px; }
  .product-card, .product-card:first-child { display: block; padding: 28px 22px 40px; }
  .cheese-illustration { height: 220px; }
  .wheel { width: 180px; height: 120px; }
  .products > .button { width: 100%; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li, .process-steps li:nth-child(3) { padding-bottom: 25px; border-left: 1px solid var(--line); }
  .process-steps svg { margin: 30px auto; }
  .visit-map { min-height: 340px; }
  .visit-copy { padding: 70px 24px; }
  .contact-form .button { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 35px; }
  .footer-address { grid-template-columns: 1fr 1fr; }
  .footer-bottom span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
