:root {
  --olive: #566126;
  --olive-dark: #303b14;
  --olive-pale: #e5e7d0;
  --linen: #f5f0e6;
  --paper: #fbf9f4;
  --ink: #293116;
  --wine: #a51c39;
  --line: rgba(48, 59, 20, 0.22);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
.grain { position: fixed; inset: 0; opacity: .22; pointer-events: none; z-index: 10; background-image: radial-gradient(rgba(48, 59, 20, .18) .55px, transparent .55px); background-size: 5px 5px; mix-blend-mode: multiply; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(22px, 5vw, 76px); border-bottom: 1px solid var(--line); position: relative; z-index: 11; background: rgba(251,249,244,.87); backdrop-filter: blur(8px); }
.wordmark { color: var(--olive-dark); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-family: var(--serif); font-size: 18px; }
.header-note { color: var(--olive); text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 700; }
.hero { min-height: min(800px, calc(100vh - 66px)); display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; position: relative; }
.hero-copy { padding: clamp(76px, 11vw, 150px) clamp(24px, 7vw, 120px) clamp(65px, 8vw, 120px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: 10px; color: var(--olive); margin: 0 0 24px; }
h1, h2, p { margin-top: 0; }
h1 { font-family: var(--serif); font-size: clamp(52px, 7vw, 102px); line-height: .94; font-weight: 400; letter-spacing: -.055em; max-width: 700px; margin-bottom: 28px; }
h2 { font-family: var(--serif); font-size: clamp(37px, 4.2vw, 62px); line-height: 1.02; font-weight: 400; letter-spacing: -.038em; }
.hero-lead { max-width: 510px; font-size: 18px; color: #485128; }
.text-link { color: var(--olive-dark); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--olive-dark); padding-bottom: 8px; margin-top: 18px; transition: opacity .2s ease; }
.text-link:hover { opacity: .55; }
.hero-visual { position: relative; background: var(--olive-pale); min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sun-disc { position: absolute; border-radius: 50%; width: min(50vw, 620px); height: min(50vw, 620px); background: #f0e8d7; transform: translate(11%, -3%); }
.hero-logo { width: min(86%, 640px); position: relative; z-index: 1; filter: contrast(1.03) saturate(.89); mix-blend-mode: multiply; }
.hero-caption { position: absolute; z-index: 2; left: 34px; bottom: 31px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--olive-dark); }
.section-label { display: flex; align-items: center; gap: 14px; color: var(--olive); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 700; }
.section-label span { width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; letter-spacing: 0; }
.intro-panel { padding: clamp(68px, 9vw, 130px) clamp(22px, 7vw, 120px); }
.intro-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(48px, 8vw, 150px); margin-top: clamp(42px, 6vw, 75px); }
.story-image-wrap { position: relative; max-width: 480px; }
.story-image-wrap img { width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; }
.image-tag { position: absolute; right: -35px; bottom: 38px; padding: 10px 15px; background: var(--wine); color: #fff9f2; text-transform: uppercase; font-size: 9px; letter-spacing: .16em; writing-mode: vertical-rl; }
.story-copy { max-width: 600px; }
.story-copy h2 { color: var(--olive-dark); }
.story-copy p { max-width: 500px; color: #4f553b; font-size: 17px; }
blockquote { border-left: 1px solid var(--olive); margin: 38px 0 0; padding: 9px 0 9px 25px; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 34px); line-height: 1.15; color: var(--olive); }
.linen-section { background: var(--olive-dark); color: var(--linen); padding: clamp(68px, 9vw, 130px) clamp(22px, 7vw, 120px); }
.section-label.light { color: var(--olive-pale); }
.linen-content { margin-top: clamp(50px, 7vw, 95px); }
.large-quote { max-width: 890px; margin: 0 0 clamp(56px, 7vw, 100px); font-family: var(--serif); font-size: clamp(37px, 5.8vw, 86px); line-height: .99; letter-spacing: -.047em; }
.linen-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: end; }
.linen-grid h2 { margin-bottom: 20px; }
.linen-grid p { max-width: 420px; color: #e7e9d5; font-size: 17px; }
.linen-image-wrap { max-width: 450px; justify-self: end; border: 13px solid rgba(245,240,230,.1); }
.linen-image-wrap img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.collection-section { padding: clamp(68px, 9vw, 130px) clamp(22px, 7vw, 120px); }
.collection-heading { display: grid; grid-template-columns: 1.1fr .55fr; gap: 60px; align-items: end; margin-top: clamp(42px, 6vw, 75px); }
.collection-heading h2 { margin-bottom: 0; max-width: 800px; }
.collection-heading p { color: #596044; max-width: 360px; margin-bottom: 9px; }
.mosaic { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(16px, 2vw, 32px); margin-top: clamp(48px, 6vw, 80px); }
.mosaic-card { margin: 0; position: relative; overflow: hidden; background: #e7e0d2; }
.mosaic-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease; }
.mosaic-card:hover img { transform: scale(1.025); }
.card-tall { aspect-ratio: 3 / 4; }
.card-wide { aspect-ratio: 4 / 3; align-self: end; }
.mosaic-card figcaption { position: absolute; left: 17px; bottom: 17px; color: white; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.film-section { padding: clamp(68px, 9vw, 130px) clamp(22px, 7vw, 120px); background: #eee9db; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(45px, 8vw, 140px); align-items: center; }
.film-copy h2 { margin: 28px 0 18px; }
.film-copy p { max-width: 340px; color: #596044; font-size: 17px; }
.film-copy .small-copy { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--olive); margin-top: 26px; }
.film-frame { width: min(100%, 530px); justify-self: end; position: relative; background: var(--olive-dark); padding: 9px; box-shadow: 28px 28px 0 var(--wine); }
.film-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #252e12; }
.film-overlay { position: absolute; pointer-events: none; top: 26px; left: 26px; color: #fffdf6; text-shadow: 0 1px 8px rgba(0,0,0,.28); display: flex; flex-direction: column; line-height: 1; }
.film-overlay span { font-family: var(--serif); font-size: 22px; }
.film-overlay small { margin-top: 7px; text-transform: uppercase; font-size: 8px; letter-spacing: .16em; }
.closing-section { background: var(--wine); color: #fff9ef; text-align: center; padding: clamp(76px, 12vw, 170px) 25px; overflow: hidden; position: relative; }
.closing-section::before { content: ''; position: absolute; width: 78vw; height: 78vw; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.closing-section .eyebrow { position: relative; color: #fbeedc; }
.closing-section h2 { position: relative; max-width: 840px; margin: 0 auto 52px; font-size: clamp(44px, 6.2vw, 91px); }
.closing-section img { position: relative; display: block; width: min(220px, 68vw); height: auto; margin: 0 auto; mix-blend-mode: screen; filter: invert(1) grayscale(1) contrast(1.15) brightness(1.2); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 19px clamp(22px, 5vw, 76px); color: #68704c; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 555px; }
  .hero-visual { min-height: 490px; }
  .sun-disc { width: 520px; height: 520px; }
  .intro-layout, .linen-grid, .collection-heading, .film-section { grid-template-columns: 1fr; }
  .story-image-wrap { max-width: 540px; }
  .linen-image-wrap { justify-self: start; }
  .collection-heading { gap: 17px; }
  .mosaic { grid-template-columns: 1fr; }
  .card-tall, .card-wide { aspect-ratio: 4 / 3; }
  .film-frame { justify-self: start; width: min(89vw, 430px); box-shadow: 17px 17px 0 var(--wine); }
}

@media (max-width: 500px) {
  .site-header { padding: 16px 20px; }
  .header-note { font-size: 8px; letter-spacing: .14em; }
  .hero-copy { min-height: 510px; padding: 70px 23px 55px; }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 410px; }
  .hero-caption { left: 18px; bottom: 18px; }
  .intro-panel, .linen-section, .collection-section, .film-section { padding-left: 22px; padding-right: 22px; }
  .image-tag { right: 14px; bottom: 15px; }
  .large-quote { font-size: 39px; }
  footer { flex-direction: column; padding: 17px 22px; gap: 6px; }
}


/* Refinamento editorial da Villa Oliva: serifada expressiva, texto arejado e motion sutil. */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, Helvetica, sans-serif;
}
body { font-family: var(--sans); letter-spacing: .008em; }
h1, h2, blockquote, .large-quote, .wordmark, .film-overlay span {
  font-family: var(--serif);
  font-weight: 400;
  font-kerning: normal;
}
h1 { font-size: clamp(63px, 8vw, 116px); line-height: .86; letter-spacing: -.038em; }
h1 em { color: var(--olive); font-weight: 400; }
h2 { letter-spacing: -.025em; line-height: .98; }
.eyebrow, .section-label, .header-note { letter-spacing: .15em; font-weight: 600; }
.story-copy p, .linen-grid p, .collection-heading p, .film-copy p { line-height: 1.72; }
blockquote { font-style: italic; letter-spacing: -.012em; }
.large-quote { letter-spacing: -.035em; }
.hero-logo { animation: mark-arrive 1.5s cubic-bezier(.2,.8,.2,1) both; }
.sun-disc { animation: sun-breathe 11s ease-in-out infinite alternate; }

html.js main section > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 950ms cubic-bezier(.2,.72,.2,1), transform 950ms cubic-bezier(.2,.72,.2,1);
  will-change: opacity, transform;
}
html.js main section.is-visible > * { opacity: 1; transform: translateY(0); }
html.js main section.is-visible > *:nth-child(2) { transition-delay: 110ms; }
html.js main section.is-visible > *:nth-child(3) { transition-delay: 190ms; }
html.js main section.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.mosaic-card img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.1s ease; }
.mosaic-card:hover img { filter: saturate(.92); }
@keyframes mark-arrive {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sun-breathe {
  from { transform: translate(11%, -3%) scale(1); }
  to { transform: translate(8%, -5%) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js main section > * { opacity: 1; transform: none; }
}
