/* ============================================
   MODELO ELEGANTE — style.css
   Fotógrafa · editorial minimalista
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:         #ffffff;
  --bg-soft:    #f6f4f2;
  --text:       #1a1816;
  --text-mid:   #7a7571;
  --text-light: #b0aaa4;
  --border:     rgba(26,24,22,0.1);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- NAV --- */
nav {
  position: sticky; top: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 68px;
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.05); }

.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0.5px;
  background: var(--text);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px 8px;
  min-height: 44px;
  min-width: 44px;
}
.nav-toggle span { display: block; width: 22px; height: 0.5px; background: var(--text); }

/* --- HERO --- */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  border-right: 0.5px solid var(--border);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
  display: block;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; }

.hero-desc {
  font-size: 14px;
  color: var(--text-mid);
  max-width: 340px;
  line-height: 1.9;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  border: 0.5px solid var(--text);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.25s, color 0.25s;
  align-self: flex-start;
}
.btn-primary:hover { background: var(--text); color: var(--bg); }

.hero-right {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.hero-right .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.hero-right .placeholder svg {
  width: 48px; height: 48px;
  stroke: var(--text-light); fill: none; stroke-width: 0.8;
}
.hero-right .placeholder p {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-light);
}

/* --- GALERIA --- */
#galeria {
  padding: 64px 48px;
  border-top: 0.5px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
}
.section-head a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 0.5px solid var(--text-mid);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.section-head a:hover { color: var(--text); border-color: var(--text); }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: clamp(200px, 22vw, 320px) clamp(140px, 16vw, 240px);
  gap: 4px;
}

.g-item {
  background: var(--bg-soft);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.g-item:first-child { grid-row: 1 / 3; }

.g-item .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.g-item .placeholder svg {
  width: 24px; height: 24px;
  stroke: var(--text-light); fill: none; stroke-width: 0.8;
}
.g-item .placeholder span {
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-light);
}

.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,24,22,0);
  transition: background 0.35s;
}
.g-item:hover::after { background: rgba(26,24,22,0.08); }

/* --- SOBRE --- */
#sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--border);
}

.sobre-img {
  background: var(--bg-soft);
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.sobre-img .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.sobre-img .placeholder svg {
  width: 36px; height: 36px;
  stroke: var(--text-light); fill: none; stroke-width: 0.8;
}
.sobre-img .placeholder span {
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-light);
}

.sobre-texto {
  padding: 64px 48px;
  border-left: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sobre-texto h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.sobre-texto p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.sobre-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
}
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

/* --- SERVIÇOS --- */
#servicos {
  padding: 64px 48px;
  border-top: 0.5px solid var(--border);
  background: var(--bg-soft);
}
#servicos > .eyebrow { margin-bottom: 8px; }
#servicos > h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 40px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5px;
  background: var(--border);
}
.servico-card {
  background: var(--bg-soft);
  padding: 40px 32px;
}
.servico-icon {
  width: 32px; height: 32px;
  stroke: var(--text-light); fill: none; stroke-width: 0.8;
  margin-bottom: 20px;
}
.servico-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 12px;
}
.servico-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
}

/* --- CONTATO --- */
#contato {
  padding: 96px 48px;
  border-top: 0.5px solid var(--border);
  text-align: center;
}
.contato-inner {
  max-width: 600px;
  margin: 0 auto;
}
#contato .eyebrow { margin-bottom: 16px; display: block; }
#contato h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 20px;
}
#contato > p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 40px;
  line-height: 1.8;
}
#contato .btn-primary { align-self: center; display: inline-block; }

.contato-email {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--text-mid);
  transition: color 0.2s;
}
.contato-email:hover { color: var(--text); }

.socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
}
.socials a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 0.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--text); border-color: var(--text); }

/* --- FOOTER --- */
footer {
  padding: 24px 48px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
footer p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* --- LIGHTBOX --- */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.96);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox-inner {
  max-width: 560px;
  width: 90%;
  text-align: center;
}
#lightbox-inner p {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-mid);
}
#lightbox-close {
  position: absolute; top: 24px; right: 40px;
  font-size: 28px; cursor: pointer;
  background: none; border: none;
  color: var(--text-light); line-height: 1;
  font-weight: 300;
}
#lightbox-close:hover { color: var(--text); }

/* --- TABLET --- */
@media (max-width: 960px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); padding: 24px 20px; border-bottom: 0.5px solid var(--border); gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  #hero { grid-template-columns: 1fr; }
  .hero-left { padding: 40px 20px; border-right: none; }
  .hero-right { min-height: 60vw; }
  .hero-right .placeholder { display: none; }

  #galeria, #servicos { padding: 40px 20px; }
  #sobre { grid-template-columns: 1fr; }
  .sobre-img { min-height: 56vw; }
  .sobre-texto { padding: 40px 20px; border-left: none; border-top: 0.5px solid var(--border); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .g-item:first-child { grid-row: span 1; aspect-ratio: 3/4; }
  .g-item { aspect-ratio: 3/4; }

  .servicos-grid { grid-template-columns: 1fr; }
  #contato { padding: 60px 20px; }
  footer { padding: 20px; }
  .sobre-stats { gap: 24px; }
}
