/* TOPO — Studio Concetto
   Menu, fotografia e conteúdo têm seus próprios espaços no layout.
   Edite os textos e as três imagens na primeira seção da index.html. */

:root {
  --topo-fundo: #071c19;
  --topo-texto: #f6f2e9;
  --topo-dourado: #dec083;
  --topo-margem: clamp(24px, 5vw, 88px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--topo-fundo);
  border-bottom: 1px solid #dec08326;
}
.site-header-inner {
  width: min(100%, 1600px);
  min-height: 108px;
  margin-inline: auto;
  padding: 16px var(--topo-margem);
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.5vw, 44px);
}
.site-brand { display: block; flex: 0 1 320px; min-width: 0; }
.site-brand img { display: block; width: 100%; height: auto; }
.site-navigation { display: flex; gap: clamp(18px, 1.7vw, 28px); margin-left: auto; align-items: center; }
.site-navigation a {
  position: relative;
  padding-block: 12px;
  color: #eeeae0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s;
}
.site-navigation a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--topo-dourado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.site-navigation a:hover { color: var(--topo-dourado); }
.site-navigation a:hover::after { transform: scaleX(1); }
.header-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid #dec08385;
  color: var(--topo-dourado);
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  flex: 0 0 auto;
  transition: background .2s, color .2s;
}
.header-booking:hover { background: var(--topo-dourado); color: var(--topo-fundo); }
.topo-icon { width: 20px; height: 20px; display: block; flex: 0 0 auto; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  color: var(--topo-dourado);
  background: transparent;
  border: 1px solid #dec08350;
  border-radius: 3px;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 1px; width: 100%; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Imagem até a borda, com transição suave para a área de leitura. */
.home-hero {
  position: relative;
  isolation: isolate;
  padding: 0;
  background: var(--topo-fundo);
  color: var(--topo-texto);
}
.home-visual { position: absolute; inset: 0 0 0 30%; z-index: -2; overflow: hidden; }
.home-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.home-slide.is-active { opacity: 1; }
.home-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--foto-posicao, 50% 50%);
  transform: scale(1.045);
  transition: transform 8s ease-out;
}
.home-slide.is-active img { transform: scale(1); }
.home-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, #071c19e8 0%, #071c1900 32%),
    linear-gradient(90deg, #071c19 0%, #071c19 27%, #071c19e8 39%, #071c1980 57%, #071c1900 77%);
}
.home-inner {
  width: min(100%, 1600px);
  margin-inline: auto;
  min-height: clamp(650px, calc(100svh - 108px), 860px);
  padding: clamp(68px, 8vh, 110px) var(--topo-margem) 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
}
.home-copy { max-width: 720px; width: 58%; }
.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--topo-dourado);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-eyebrow::before { content: ''; height: 1px; width: 32px; background: currentColor; flex: 0 0 auto; }
.home-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(64px, 6.6vw, 106px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-title span, .home-title em { display: block; }
.home-title em { color: var(--topo-dourado); font-weight: 500; }
.home-description { max-width: 375px; margin: 28px 0 0; font-size: 17px; line-height: 1.8; color: #e0e4dc; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 34px; }
.home-primary, .home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  min-height: 56px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.home-primary { padding: 16px 24px; background: var(--topo-dourado); color: var(--topo-fundo); border: 1px solid var(--topo-dourado); border-radius: 3px; transition: background .2s, transform .2s; }
.home-primary:hover { background: #f0d49b; transform: translateY(-2px); }
.home-secondary { position: relative; padding: 10px 0; color: var(--topo-texto); font-weight: 400; }
.home-secondary::after { content: ''; position: absolute; bottom: 9px; left: 0; right: 0; height: 1px; background: #f6f2e966; transition: background .2s; }
.home-secondary:hover::after { background: var(--topo-dourado); }

/* Controles em uma linha própria: não sobrepõem os botões de agendamento. */
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid #f6f2e933; }
.home-playback { display: flex; align-items: center; gap: 24px; }
.home-dots { display: flex; gap: 10px; }
.home-dot {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  color: #d3dbd1;
  font: 400 13px/1 Montserrat, sans-serif;
  cursor: pointer;
}
.home-dot::after { content: ''; position: absolute; left: 7px; right: 7px; bottom: 1px; height: 2px; background: #f6f2e94d; transition: background .25s; }
.home-dot.is-active { color: var(--topo-dourado); }
.home-dot.is-active::after { background: var(--topo-dourado); }
.home-pause, .home-enlarge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  color: var(--topo-texto);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 400 14px/1.4 Montserrat, sans-serif;
}
.home-pause { border: 1px solid #f6f2e940; border-radius: 50%; }
.home-pause svg { width: 16px; height: 16px; }
.home-photo-info { display: flex; align-items: center; gap: 24px; }
.home-caption { color: #e4e9df; font-size: 14px; line-height: 1.4; }
.home-enlarge { padding: 0 0 0 24px; border-left: 1px solid #f6f2e940; }
.site-header :focus-visible, .home-hero :focus-visible { outline: 2px solid var(--topo-dourado); outline-offset: 5px; }
.home-in-view .wpp { visibility: hidden; opacity: 0; pointer-events: none; }
section[id] { scroll-margin-top: 112px; }

@media (max-width: 1180px) {
  .site-header-inner { min-height: 94px; }
  .site-brand { flex-basis: 280px; }
  .header-booking { margin-left: auto; }
  .menu-toggle { display: block; flex: 0 0 46px; }
  .site-navigation {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--topo-margem);
    right: var(--topo-margem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    gap: 0;
    padding: 18px 24px;
    max-height: calc(100svh - 120px);
    overflow-y: auto;
    background: #0b2621;
    border: 1px solid #dec08340;
    box-shadow: 0 20px 50px #0006;
    border-radius: 4px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: visibility .2s, opacity .2s, transform .2s;
  }
  .site-navigation.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .site-navigation a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid #dec08320; }
  .site-navigation a:last-child { border-bottom: 0; }
  .site-navigation a::after { display: none; }
  .home-copy { width: 62%; }
  .home-title { font-size: clamp(62px, 7.2vw, 84px); }
  .home-inner { min-height: 680px; }
  .home-actions { gap: 10px 22px; }
  section[id] { scroll-margin-top: 98px; }
}

@media (max-width: 760px) {
  :root { --topo-margem: 24px; }
  .site-header-inner { min-height: 84px; padding-block: 14px; gap: 20px; }
  .site-brand { flex-basis: 238px; }
  .header-booking { display: none; }
  .menu-toggle { margin-left: auto; }
  .home-visual { inset: 0; }
  .home-slide img { object-position: 50% 20%; }
  .home-shade {
    background: linear-gradient(0deg, #071c19 0%, #071c19fa 18%, #071c19eb 37%, #071c1960 65%, #071c1910 100%);
  }
  .home-inner { min-height: 0; padding: clamp(240px, 33svh, 340px) var(--topo-margem) 22px; gap: 32px; }
  .home-copy { width: 100%; max-width: 570px; }
  .home-eyebrow { font-size: 12px; letter-spacing: .13em; margin-bottom: 20px; gap: 10px; }
  .home-eyebrow::before { width: 24px; }
  .home-title { font-size: clamp(46px, 8.2vw, 64px); letter-spacing: -.035em; line-height: 1.04; }
  .home-description { font-size: 16px; line-height: 1.7; max-width: 360px; margin-top: 20px; }
  .home-actions { margin-top: 25px; gap: 12px 24px; }
  .home-primary { padding: 15px 20px; }
  .home-primary, .home-secondary { font-size: 14px; min-height: 52px; }
  .home-footer { gap: 12px; padding-top: 16px; }
  .home-playback { gap: 14px; }
  .home-dots { gap: 2px; }
  .home-caption { display: none; }
  .home-enlarge { padding-left: 0; border-left: 0; }
  section[id] { scroll-margin-top: 88px; }
}

@media (max-width: 420px) {
  :root { --topo-margem: 20px; }
  .site-header-inner { gap: 18px; }
  .site-brand { flex-basis: 222px; }
  .home-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .home-primary { width: 100%; }
  .home-secondary { justify-self: start; min-height: 48px; }
  .home-title { font-size: clamp(42px, 11.7vw, 49px); }
  .home-playback { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-slide, .home-slide img, .home-primary, .site-navigation, .menu-toggle span { transition: none; transform: none; }
}
