/* ==========================================================================
   DemonstraÃ§Ã£o â€” Luz de Agosto (fotografia)
   ========================================================================== */

body.demo--foto {
  --d-bg: #f2f0eb;
  --d-ink: #171614;
  --d-muted: #6f6b63;
  --d-accent: #b04528;
  --d-accent-ink: #fffaf2;
  --d-focus: #1e35e8;
  --d-card: #faf8f3;
  --d-card-ink: #171614;
  --d-input-bg: #fffdf8;
  --d-input-ink: #171614;
  --d-line: rgba(23, 22, 20, .2);
  --d-radius: 2px;
  --d-footer-bg: #171614;
  --d-footer-ink: #f2f0eb;
  --foto-gold: #e0a45b;
  background: var(--d-bg);
}

.demo--foto .site-header { background: color-mix(in srgb, #f2f0eb 92%, transparent); }

.foto-brand { align-items: baseline; gap: .45rem; font-family: var(--d-sans); font-size: .95rem; font-weight: 700; letter-spacing: .2em; }
.foto-brand small { font-family: var(--d-mono); font-size: .48rem; letter-spacing: .14em; color: var(--d-muted); }

/* Hero ------------------------------------------------------------------- */
.foto-hero {
  position: relative;
  display: flex;
  min-height: 86svh;
  overflow: hidden;
  background: #3e3b33;
  color: #f2f0eb;
}

.foto-hero__media,
.foto-hero__shade { position: absolute; inset: 0; }
.foto-hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.foto-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.foto-hero__shade {
  background:
    linear-gradient(90deg, rgba(20, 19, 16, .82) 0%, rgba(20, 19, 16, .45) 55%, rgba(20, 19, 16, .12) 100%),
    linear-gradient(0deg, rgba(20, 19, 16, .7), transparent 50%);
}

.foto-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(5rem, 12vw, 8rem) clamp(3rem, 7vw, 5rem);
}

.foto-hero__copy { max-width: 820px; }
.foto-hero .demo-kicker { color: rgba(242, 240, 235, .72); }
.foto-hero .demo-kicker__dot { background: var(--foto-gold); }

.foto-hero h1 {
  max-width: 11ch;
  margin: 0 0 .28em;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .84;
  letter-spacing: -.05em;
  color: #f2f0eb;
}
.foto-hero h1 em { color: var(--foto-gold); font-style: italic; }
.foto-hero .demo-lead { max-width: 40ch; color: rgba(242, 240, 235, .76); }
.foto-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.foto-note-light { color: rgba(242, 240, 235, .52); margin-top: 1.2rem; }

.foto-hero__side {
  position: absolute;
  right: 0;
  bottom: 8rem;
  margin: 0;
  font-family: var(--d-mono);
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: rgba(242, 240, 235, .45);
}

.foto-hero__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: .65rem var(--d-gutter);
  border-top: 1px solid rgba(242, 240, 235, .25);
  background: rgba(20, 19, 16, .55);
  font-family: var(--d-mono);
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, .7);
  backdrop-filter: blur(6px);
}

.foto-hero .demo-btn--light { background: #f2f0eb; border-color: #f2f0eb; color: #171614; }

/* SecÃ§Ãµes ---------------------------------------------------------------- */
.foto-section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.foto-section--dark {
  --d-ink: #f2f0eb;
  --d-muted: rgba(242, 240, 235, .62);
  --d-line: rgba(242, 240, 235, .2);
  background: #171614;
  color: var(--d-ink);
}
.foto-section--dark .demo-kicker { color: var(--foto-gold); }
.foto-section--dark .demo-kicker__dot { background: var(--foto-gold); }
.foto-section--dark .foto-h2 { color: #f2f0eb; }
.foto-section--dark .demo-note { color: rgba(242, 240, 235, .55); }

.foto-h2 {
  max-width: 18ch;
  margin: 0 0 .5em;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: .94;
  letter-spacing: -.04em;
}

.foto-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--d-line);
}
.foto-head__right { display: flex; align-items: end; gap: 1rem; }
.foto-head__right .demo-note { max-width: 28ch; margin: 0; }

.foto-arrows { display: flex; gap: .4rem; }
.foto-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--d-ink);
  border-radius: 50%;
  background: transparent;
  color: var(--d-ink);
  font-size: 1.1rem;
  transition: background-color .18s ease, color .18s ease;
}
.foto-arrow:hover { background: var(--d-ink); color: var(--d-bg); }
.foto-section--dark .foto-arrow:hover { background: var(--d-bg); color: var(--d-ink); }

/* Galeria ---------------------------------------------------------------- */
.foto-gallery { position: relative; }
.foto-gallery__track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding-bottom: .8rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--d-accent) transparent;
  outline-offset: 6px;
}
.foto-gallery__track::-webkit-scrollbar { height: 4px; }
.foto-gallery__track::-webkit-scrollbar-thumb { background: var(--d-accent); }

.foto-serie {
  flex: 0 0 clamp(280px, 38vw, 470px);
  scroll-snap-align: start;
}

.foto-serie__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--d-line);
  background: #d8cdbb;
}
.foto-serie__media svg { display: block; width: 100%; height: auto; transition: transform .7s var(--ease); }
.foto-serie__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.foto-serie:hover .foto-serie__media svg,
.foto-serie:hover .foto-serie__media img { transform: scale(1.025); }

.foto-serie__num {
  position: absolute;
  top: .6rem;
  left: .6rem;
  padding: .2rem .4rem;
  background: rgba(23, 22, 20, .8);
  color: #f2f0eb;
  font-family: var(--d-mono);
  font-size: .52rem;
  letter-spacing: .06em;
}

.foto-serie__body { padding-top: .8rem; border-top: 1px solid var(--d-line); margin-top: .7rem; }
.foto-serie__body p { margin: 0 0 .2rem; font-family: var(--d-mono); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; color: var(--d-accent); }
.foto-serie__body h3 { margin: 0 0 .2rem; font-family: var(--d-display); font-size: 1.55rem; font-weight: 500; }
.foto-serie__body span { font-size: .78rem; color: var(--d-muted); }

.foto-gallery__hint {
  margin: .4rem 0 0;
  font-family: var(--d-mono);
  font-size: .55rem;
  letter-spacing: .03em;
  color: var(--d-muted);
}

/* ServiÃ§os --------------------------------------------------------------- */
.foto-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--d-line); }
.foto-services article {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-right: 1px solid var(--d-line);
}
.foto-services article:last-child { border-right: 0; }
.foto-services article:not(:first-child) { padding-left: 1.5rem; }
.foto-services span { font-family: var(--d-mono); font-size: .6rem; color: var(--foto-gold); }
.foto-services h3 { margin: 1.6rem 0 .5rem; font-family: var(--d-display); font-size: 2rem; font-weight: 500; }
.foto-services p { margin: 0 0 1.2rem; max-width: 34ch; font-size: .86rem; line-height: 1.55; color: var(--d-muted); }
.foto-services em {
  display: inline-block;
  padding: .3rem .6rem;
  border: 1px solid var(--d-line);
  border-radius: 999px;
  font-family: var(--d-mono);
  font-size: .55rem;
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--foto-gold);
}

/* Processo --------------------------------------------------------------- */
.foto-process {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.foto-process .demo-lead { max-width: 42ch; }

.foto-steps { margin: 0; padding: 0; list-style: none; }
.foto-steps li { display: flex; gap: 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--d-line); }
.foto-steps li:last-child { border-bottom: 1px solid var(--d-line); }
.foto-steps span { font-family: var(--d-mono); font-size: .62rem; color: var(--d-accent); padding-top: .25rem; }
.foto-steps h3 { margin: 0 0 .25rem; font-family: var(--d-sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.foto-steps p { margin: 0; font-size: .84rem; color: var(--d-muted); }

/* Pedir data ------------------------------------------------------------- */
.foto-data { background: var(--d-accent); color: #fffaf2; }
.foto-data .demo-kicker { color: var(--foto-gold); }
.foto-data .demo-kicker__dot { background: var(--foto-gold); }
.foto-data .foto-h2 { color: #fffaf2; }
.foto-data .demo-lead { color: rgba(255, 250, 242, .82); }
.foto-data .demo-note { color: rgba(255, 250, 242, .55); }

.foto-data__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.foto-data .demo-contactos a { color: #fffaf2; border-color: rgba(255, 250, 242, .35); }
.foto-data .demo-empty { color: rgba(255, 250, 242, .55); border-color: rgba(255, 250, 242, .3); }

.foto-form {
  background: #f2f0eb;
  color: #171614;
  border-color: transparent;
  box-shadow: 10px 10px 0 rgba(23, 22, 20, .45);
}
.foto-form .demo-form__note { color: #6f6b63; }
.foto-form .form-result { background: #fffdf8; color: #171614; }
.foto-form .form-result pre { background: #fff; color: #171614; }

/* RodapÃ© ----------------------------------------------------------------- */
.demo--foto .demo-footer h3 { color: var(--foto-gold); }
.demo--foto .demo-footer a:hover { color: var(--foto-gold); }
.demo--foto .demo-footer .demo-note,
.demo--foto .demo-footer__brand p,
.demo--foto .demo-footer__bottom { color: rgba(242, 240, 235, .5); }
.demo--foto .demo-footer .demo-empty { color: rgba(242, 240, 235, .5); border-color: rgba(242, 240, 235, .25); }
.demo--foto .demo-footer .demo-contactos a { color: #f2f0eb; border-color: rgba(242, 240, 235, .25); }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 980px) {
  .foto-hero__side { display: none; }
  .foto-process,
  .foto-data__grid { grid-template-columns: 1fr; }
  .foto-services { grid-template-columns: 1fr; }
  .foto-services article,
  .foto-services article:not(:first-child) { padding: 1.3rem 0; border-right: 0; border-bottom: 1px solid var(--d-line); }
}

@media (max-width: 700px) {
  .foto-hero { min-height: 90svh; }
  .foto-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .foto-hero__strip { gap: .8rem; font-size: .5rem; padding-block: .55rem; }
  .foto-hero__side { display: none; }
  .foto-head__right { flex-direction: column; align-items: flex-start; }
  .foto-serie { flex-basis: 82vw; }
  .foto-form { box-shadow: 6px 6px 0 rgba(23, 22, 20, .45); }
}

