@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  font-family: 'DM Sans', Arial, sans-serif;
  color: #2b3824;
  background: #f9f8f4;
  font-synthesis: none;
  scroll-behavior: smooth;
  --olive: #2b3824;
  --paper: #f9f8f4;
  --lilac: #ddd4ee;
  --yellow: #f0d063;
  --taupe: #9b8362;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 98px; }
body { margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--yellow); color: var(--olive); }
.visually-hidden { 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; z-index: 100; top: -4rem; left: 1rem; padding: .7rem 1rem; background: var(--yellow); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  height: 88px;
  padding: 0 clamp(14px, 2.6vw, 50px);
  background: rgba(249, 248, 244, .97);
  border-bottom: 1px solid #d8ddd3;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 84px; height: 84px; padding: 10px; display: grid; place-items: center; flex: none; }
.brand-mark img { width: 64px; height: 64px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-type { font-size: clamp(1.05rem, 1.7vw, 1.5rem); font-weight: 300; letter-spacing: -.045em; }
.brand-byline { color: #52614d; font-size: .67rem; letter-spacing: .02em; }
.mobile-instagram { display: none; }
.site-nav { display: flex; gap: clamp(1rem, 2.2vw, 2.3rem); margin-left: auto; }
.site-nav a { text-decoration: none; font-size: .88rem; font-weight: 500; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; text-underline-offset: .4rem; }
.mode-switch { display: flex; padding: 3px; gap: 2px; border: 1px solid #bbc6b7; border-radius: 999px; }
.mode-button { padding: .55rem .9rem; border: 0; border-radius: 999px; background: transparent; color: var(--olive); font-size: .79rem; font-weight: 500; white-space: nowrap; }
.mode-button.is-active { background: var(--olive); color: var(--paper); }
.mode-button:focus-visible, .gallery-card:focus-visible, .lightbox button:focus-visible, .feature button:focus-visible, .mobile-instagram:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.intro { display: none; }
body[data-mode="simple"] .intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  min-height: 590px;
  padding: 130px clamp(22px, 6vw, 100px) 62px;
  background: var(--paper);
}
.intro-copy { max-width: 570px; }
.kicker { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.intro h1 { margin: 1.3rem 0 1.5rem; font-size: clamp(3.1rem, 5.7vw, 6.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -.065em; }
.intro h1 span { color: #52664e; }
.intro-copy > p:not(.kicker) { max-width: 27rem; margin: 0 0 2rem; color: #52614d; font-size: 1rem; line-height: 1.65; }
.intro-link { display: inline-flex; align-items: center; gap: 1rem; padding-bottom: .45rem; border-bottom: 1px solid var(--olive); text-decoration: none; font-size: .9rem; font-weight: 500; }
.feature { min-width: 0; }
.feature-photo { display: grid; place-items: center; width: 100%; height: clamp(340px, 36vw, 460px); padding: clamp(24px, 4vw, 52px); border: 0; border-radius: 44% 44% 28px 28px; background: #eee9f4; }
.feature-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 10px solid var(--paper); box-shadow: 0 12px 30px rgba(43,56,36,.08); }
.feature-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: .6rem; }
.feature-controls button { padding: .3rem; border: 0; background: transparent; color: var(--olive); font-size: 1.1rem; }
.feature-controls span { min-width: 3rem; text-align: center; font-size: .76rem; font-weight: 500; letter-spacing: .1em; }

.gallery-section { position: relative; background: var(--paper); }
body[data-mode="mosaic"] .gallery-section { padding-top: 88px; }
.mosaic-intro { display: none; }
body[data-mode="mosaic"] .mosaic-intro { position: absolute; z-index: 2; top: 106px; left: clamp(14px, 2.6vw, 50px); display: flex; flex-direction: column; gap: 4px; max-width: calc(100% - 28px); padding: 12px 16px; background: rgba(34, 48, 30, .86); color: var(--paper); pointer-events: none; }
.mosaic-intro span { font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.mosaic-intro strong { font-size: .95rem; font-weight: 400; }
.mosaic-heading { display: none; }
body[data-mode="mosaic"] .mosaic-heading { display: block; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 4rem clamp(22px, 6vw, 100px) 1.8rem; }
.section-heading h2 { margin: .35rem 0 0; font-size: clamp(2.2rem, 4vw, 4.2rem); font-weight: 300; letter-spacing: -.055em; }
.gallery-count { margin: 0 0 .4rem; color: #63725f; font-size: .8rem; }
body[data-mode="mosaic"] .section-heading { display: none; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: clamp(155px, 18vw, 275px); gap: 5px; padding: 0 5px 5px; }
.gallery-card { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #d7dcd0; color: white; text-align: left; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, center); transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.14); transition: transform .2s ease-out, filter .25s ease; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.17); filter: brightness(.88); }
.gallery-card::after { content: ''; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(18,27,17,.62)); opacity: 0; transition: opacity .25s; }
.gallery-card:hover::after, .gallery-card:focus-visible::after { opacity: 1; }
.gallery-card-label { position: absolute; z-index: 1; bottom: 18px; left: 18px; font-size: .98rem; font-weight: 500; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.gallery-card:hover .gallery-card-label, .gallery-card:focus-visible .gallery-card-label { opacity: 1; transform: none; }
.gallery-empty { padding: 7rem 1.5rem; text-align: center; }
.gallery-empty h3 { margin: 1rem 0; font-size: 2.5rem; font-weight: 300; }
.gallery-empty p:last-child { color: #5a6c56; }

body[data-mode="simple"] .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 18px; padding: 0 clamp(22px, 6vw, 100px) 6rem; }
body[data-mode="simple"] .gallery-card { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; height: auto; min-height: 280px; border: 1px solid #d7dfd1; color: var(--olive); background: white; }
body[data-mode="simple"] .gallery-card img { height: 250px; object-fit: contain; background: #eef0e9; transform: none; }
body[data-mode="simple"] .gallery-card::after { display: none; }
body[data-mode="simple"] .gallery-card-label { position: static; padding: 16px 18px; opacity: 1; transform: none; }

.about { display: grid; grid-template-columns: minmax(100px, .5fr) minmax(0, 2fr) minmax(120px, .7fr); gap: 4vw; align-items: center; padding: clamp(5rem, 9vw, 10rem) clamp(22px, 6vw, 100px); background: #eae7ef; }
.about-index { align-self: start; padding-top: 1rem; border-top: 1px solid #b8afc1; font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; }
.about h2 { margin: 1rem 0 1.7rem; font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 300; line-height: 1.1; letter-spacing: -.06em; }
.about-copy > p:last-child { max-width: 36rem; margin: 0; color: #4d6049; font-size: 1rem; line-height: 1.75; }
.about-symbol { justify-self: end; padding: 20px; background: var(--paper); border-radius: 50%; }
.about-symbol img { width: clamp(100px, 13vw, 180px); height: auto; }
.contact { padding: clamp(5rem, 9vw, 9rem) 22px; text-align: center; background: var(--paper); }
.contact h2 { max-width: 850px; margin: 1rem auto 2rem; font-size: clamp(2.6rem, 5.5vw, 6rem); font-weight: 300; line-height: 1.08; letter-spacing: -.058em; }
.contact-primary { display: inline-block; padding: .85rem 1.35rem; border-radius: 999px; background: var(--olive); color: var(--paper); text-decoration: none; font-size: .9rem; font-weight: 500; }
.contact-secondary { display: block; width: fit-content; margin: 1.2rem auto 0; color: #5a6d57; font-size: .88rem; text-underline-offset: .25rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem clamp(22px, 6vw, 100px); border-top: 1px solid #d6dfd1; font-size: .77rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.simple-footer { display: none; }

.lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(1rem, 3vw, 3rem); border: 0; background: #1a281a; color: var(--paper); }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox[open] { display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; align-items: center; gap: 1rem; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; height: 100%; margin: 0; }
.lightbox img { width: auto; height: auto; max-width: min(100%, 640px); max-height: calc(100dvh - 170px); object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; width: 100%; max-width: 640px; padding-top: 1rem; font-size: .9rem; }
.lightbox small { font-size: .75rem; color: #c3d0bf; }
.lightbox-details { width: 100%; max-width: 640px; margin: .45rem 0 0; color: #c3d0bf; font-size: .78rem; }
.lightbox figure > a { align-self: center; margin-top: .8rem; color: #e3dcef; font-size: .78rem; text-underline-offset: .25rem; }
.lightbox button { width: 44px; height: 44px; border: 1px solid #9aaa95; border-radius: 50%; background: transparent; color: var(--paper); font-size: 1.3rem; }
.lightbox-close { position: absolute; top: clamp(16px, 3vw, 48px); right: clamp(16px, 3vw, 48px); z-index: 2; }

@media (hover: none) {
  .gallery-card::after { opacity: 1; }
  .gallery-card-label { opacity: 1; transform: none; }
}
@media (max-width: 1000px) {
  .site-nav { gap: 1rem; }
  .brand-type { font-size: 1.05rem; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 22vw; }
  .about { grid-template-columns: minmax(0, .5fr) minmax(0, 2fr); }
  .about-symbol { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 74px; }
  .site-header { height: 74px; padding: 0 8px; gap: 6px; }
  .brand { gap: 4px; }
  .brand-mark { width: 68px; height: 68px; padding: 2px; }
  .brand-type { font-size: .9rem; max-width: 120px; white-space: normal; line-height: 1.1; }
  .brand-byline { display: none; }
  .site-nav { display: none; }
  .mobile-instagram { display: grid; place-items: center; order: 3; width: 40px; height: 40px; flex: none; border: 1px solid #bbc6b7; border-radius: 50%; text-decoration: none; font-size: .7rem; font-weight: 600; }
  .mode-switch { margin-left: auto; }
  .mode-button { padding: .5rem .6rem; font-size: .72rem; }
  body[data-mode="mosaic"] .gallery-section { padding-top: 74px; }
  body[data-mode="mosaic"] .mosaic-intro { top: 85px; left: 10px; padding: 10px 12px; }
  body[data-mode="simple"] .intro { grid-template-columns: 1fr; gap: 2rem; padding: 115px 22px 40px; }
  .intro h1 { font-size: clamp(3.2rem, 11vw, 5rem); }
  .feature-photo { height: 360px; }
  .section-heading { padding: 3rem 22px 1.5rem; }
  .section-heading h2 { font-size: 2.2rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 43vw; gap: 3px; padding: 0 3px 3px; }
  .gallery-card.wide { grid-column: span 2; }
  .gallery-card.tall { grid-row: span 2; }
  .gallery-card-label { bottom: 10px; left: 10px; font-size: .83rem; opacity: 1; transform: none; }
  .gallery-card::after { opacity: 1; }
  body[data-mode="simple"] .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 22px 4rem; }
  body[data-mode="simple"] .gallery-card img { height: 190px; }
  .about { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 22px; }
  .about h2 { font-size: clamp(2.5rem, 9vw, 4rem); }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .25rem; padding: 1rem .25rem; }
  .lightbox button { width: 44px; height: 44px; }
}
@media (max-width: 430px) {
  .brand-type { font-size: .8rem; max-width: 93px; }
  .mode-button { padding: .48rem .48rem; font-size: .65rem; }
  .gallery-count { display: none; }
  body[data-mode="simple"] .gallery { grid-template-columns: 1fr; }
  body[data-mode="simple"] .gallery-card img { height: 230px; }
  body[data-mode="mosaic"] .mosaic-intro strong { font-size: .82rem; }
}
@media (max-width: 350px) {
  .brand-type { display: none; }
}

/* O segundo modo acompanha a composição do site editorial fornecido. */
body[data-mode="simple"] .site-header { position: relative; max-width: 1280px; height: 104px; margin: auto; padding: 0 24px; background: var(--paper); border-bottom: 1px solid #d8ddd1; backdrop-filter: none; }
body[data-mode="simple"] .brand-type { font-size: 1.02rem; font-weight: 500; letter-spacing: -.025em; }
body[data-mode="simple"] .site-nav a[href="#about"] { display: none; }
body[data-mode="simple"] .intro { grid-template-columns: minmax(0,1fr) minmax(390px,.94fr); max-width: 1280px; min-height: max(690px, calc(100svh - 104px)); margin: auto; padding: 40px 24px 64px; gap: clamp(28px,6vw,100px); }
body[data-mode="simple"] .intro-copy { max-width: none; padding: 48px 0; }
body[data-mode="simple"] .intro .kicker { margin-bottom: 26px; color: #607262; }
body[data-mode="simple"] .intro h1 { max-width: 780px; margin: 0; font-size: clamp(3.8rem, 8vw, 8.5rem); line-height: .91; letter-spacing: -.08em; }
body[data-mode="simple"] .intro h1 span { color: #8f9c80; }
body[data-mode="simple"] .intro-copy > p:not(.kicker) { max-width: 370px; margin: 32px 0 0; font-size: 1.04rem; }
body[data-mode="simple"] .intro-link { margin-top: 33px; }
body[data-mode="simple"] .feature { position: relative; min-height: 588px; padding: 70px 26px 20px; overflow: hidden; border-radius: 190px 190px 10px 10px; background: #f1edf5; }
body[data-mode="simple"] .feature::before { content: ''; position: absolute; top: 37px; left: 50%; width: 420px; height: 420px; border: 1px solid #c9bdd8; border-radius: 50%; transform: translate(-50%, var(--parallax-ring, 0px)); pointer-events: none; }
.feature-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100%, 230px); margin: auto; color: #526654; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.feature-label-mobile { display: none; }
.feature-mobile-intro, .feature-mobile-count { display: none; }
.feature-gallery { position: relative; z-index: 1; width: min(100%, 318px); margin: 12px auto 0; }
body[data-mode="simple"] .feature-photo { display: grid; place-items: center; width: 278px; height: 348px; margin: auto; padding: 0; border: 9px solid white; border-radius: 0; background: white; box-shadow: 0 14px 36px #263a2c28; transform: translateY(var(--parallax-photo, 0px)); }
body[data-mode="simple"] .feature-photo img { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; object-fit: contain; box-shadow: none; }
.feature-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 278px; margin: 16px auto 0; color: #607262; font-size: .78rem; }
.feature-meta strong { color: var(--olive); font-weight: 500; }
.feature-meta a { color: var(--olive); font-size: .75rem; text-underline-offset: 3px; white-space: nowrap; }
.feature-details { width: 278px; margin: 7px auto 0; color: #607262; font-size: .72rem; line-height: 1.4; }
body[data-mode="simple"] .feature-controls { position: relative; z-index: 1; justify-content: space-between; gap: 0; width: min(100%, 380px); margin: 18px auto 0; }
body[data-mode="simple"] .feature-arrow { display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border: 1px solid #a2b0a2; border-radius: 50%; background: transparent; color: var(--olive); font-size: 1.25rem; line-height: 1; }
body[data-mode="simple"] .feature-arrow:hover { background: var(--olive); color: white; }
.feature-dots { display: flex; align-items: center; gap: 0; }
.feature-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.feature-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #b9c4b6; }
.feature-dots button[aria-current="true"]::before { background: var(--olive); box-shadow: 0 0 0 3px #d9e0d6; }
body[data-mode="simple"] .gallery-section, body[data-mode="simple"] .about, body[data-mode="simple"] .contact, body[data-mode="simple"] .site-footer { display: none; }
body[data-mode="simple"] .simple-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; max-width: 1232px; margin: auto; padding: 27px 0 34px; border-top: 1px solid #d8ddd1; color: #607262; font-size: .84rem; }
body[data-mode="simple"] .simple-footer > div { display: flex; flex-wrap: wrap; gap: 12px 26px; }
body[data-mode="simple"] .simple-footer a { color: var(--olive); text-underline-offset: 4px; }

@media (max-width: 930px) {
  body[data-mode="simple"] .intro { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding: 42px 24px 52px; }
  body[data-mode="simple"] .intro-copy { padding: 0; }
  body[data-mode="simple"] .intro h1 { max-width: 740px; font-size: clamp(3.6rem, 12vw, 7rem); }
  body[data-mode="simple"] .intro-copy > p:not(.kicker) { margin-top: 22px; }
  body[data-mode="simple"] .feature { width: min(100%, 650px); min-height: 0; justify-self: center; }
  body[data-mode="simple"] .simple-footer { margin: 0 24px; }
}
@media (max-width: 590px) {
  .feature-label-default { display: none; }
  .feature-label-mobile { display: inline; }
  body[data-mode="simple"] .site-header { height: 74px; padding: 0 8px; }
  body[data-mode="simple"] .brand-type { font-size: .84rem; }
  body[data-mode="simple"] .intro { gap: 30px; padding: 16px 16px 42px; }
  body[data-mode="simple"] .feature { order: -1; padding: 54px 14px 21px; }
  .feature-mobile-intro { position: relative; z-index: 1; display: block; max-width: 210px; margin: -7px auto 15px; color: #526654; font-size: .7rem; font-weight: 500; line-height: 1.35; letter-spacing: .02em; text-align: center; }
  body[data-mode="simple"] .feature-controls { width: min(100%, 257px); }
  .feature-dots { display: none; }
  .feature-mobile-count { display: block; color: #526654; font-size: .78rem; font-weight: 500; letter-spacing: .1em; }
  body[data-mode="simple"] .intro .kicker { margin-bottom: 19px; }
  body[data-mode="simple"] .intro h1 { font-size: clamp(3.2rem, 13vw, 4.8rem); }
  body[data-mode="simple"] .intro-copy > p:not(.kicker) { margin-top: 18px; }
  body[data-mode="simple"] .intro-link { margin-top: 20px; }
  body[data-mode="simple"] .intro-copy > p:not(.kicker) { font-size: 1rem; }
  body[data-mode="simple"] .feature { border-radius: 145px 145px 9px 9px; }
  body[data-mode="simple"] .feature::before { width: 320px; height: 320px; }
  body[data-mode="simple"] .feature-photo { width: 257px; height: 330px; border-width: 7px; }
  .feature-meta { width: 257px; }
  .feature-details { width: 257px; }
  body[data-mode="simple"] .simple-footer { flex-direction: column; gap: 9px; margin: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .gallery-card img, .gallery-card:hover img, .gallery-card:focus-visible img,
  body[data-mode="simple"] .feature-photo { transform: none !important; }
  body[data-mode="simple"] .feature::before { transform: translateX(-50%) !important; }
}
