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

:root {
  --bg: oklch(0.97 0.012 75);
  --bg-alt: oklch(0.94 0.015 70);
  --ink: oklch(0.22 0.02 50);
  --ink-soft: oklch(0.32 0.02 50);
  --ink-softer: oklch(0.35 0.02 50);
  --accent: oklch(0.55 0.09 40);
  --gold: oklch(0.72 0.08 85);
  --cream: oklch(0.98 0.008 80);
  --divider: oklch(0.85 0.015 70);
  --footer-bg: oklch(0.18 0.02 48);
  --footer-ink: oklch(0.9 0.01 75);
  --dark-panel: oklch(0.14 0.02 45);
}

* { box-sizing: border-box; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  overflow-x: hidden;
  overflow-y: visible;
}

a { color: inherit; }

/* ---------- Page stamp watermark ---------- */

.page-stamp {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%) rotate(-8deg);
  color: var(--accent);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.page-stamp svg { width: 100%; height: 100%; display: block; }

.eyebrow {
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0 0;
  line-height: 1.2;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: transparent;
  backdrop-filter: blur(8px);
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: oklch(0.97 0.012 75 / 0.92);
  box-shadow: 0 2px 20px oklch(0.2 0.02 50 / 0.08);
}


.brand-mark {
  width: auto;
  height: 80px;
  flex-shrink: 0;
}

.brand-seal {
  width: auto;
  height: 1em;
  flex-shrink: 0;
}

.nav__links {
  display: none;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}

.nav__links a:hover { color: var(--accent); }

.nav__cta {
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background .25s, color .25s;
}

.nav__cta:hover { background: var(--ink); color: var(--bg); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 73px;
  z-index: 99;
  background: var(--bg);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 48px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  font-size: 20px;
  font-family: 'Cormorant Garamond', serif;
}

.mobile-menu a.cta {
  padding: 12px 28px;
  border: 1px solid var(--ink);
  font-size: 16px;
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .hamburger { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 0 24px 80px;
  color: var(--cream);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.02 45 / 0.35);
  pointer-events: none;
}

.hero__frame {
  position: absolute;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  border: 1px solid oklch(0.97 0.012 75 / 0.4);
  pointer-events: none;
}

.hero__card {
  position: relative;
  z-index: 5;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 36px;
  background: oklch(0.14 0.02 45 / 0.92);
  border-radius: 4px;
  animation: fadeInUp .9s ease both;
}

.hero__card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 20px oklch(0.1 0.02 45 / 0.5);
}

.hero__card p {
  font-size: 16px;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0;
}

.btn-gold {
  margin-top: 4px;
  padding: 16px 40px;
  background: var(--gold);
  color: oklch(0.2 0.02 50);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 2px;
  width: fit-content;
  border: none;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px oklch(0.2 0.02 50 / 0.25);
}

/* ---------- Fade-in sections ---------- */

[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}

[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Sobre ---------- */

.sobre {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 32px;
  align-items: center;
}

.sobre__img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.sobre__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sobre__copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  line-height: 1.2;
}

.sobre__copy p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 900px) {
  .sobre { grid-template-columns: 1fr 1fr; }
}

/* ---------- Espacos ---------- */

.espacos {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.espacos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

@media (min-width: 700px) {
  .espacos__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .espacos__grid { grid-template-columns: 1fr 1fr 1fr; }
}

.espaco {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: default;
}

.espaco .img-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

.espaco__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.espaco__overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.02 45);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.espaco:hover .espaco__overlay,
.espaco:focus-within .espaco__overlay { opacity: 1; }

.espaco__overlay > div {
  transform: translateY(10px);
  transition: transform .35s;
}

.espaco:hover .espaco__overlay > div,
.espaco:focus-within .espaco__overlay > div { transform: translateY(0); }

.espaco__overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--cream);
  margin: 0 0 6px;
  font-style: italic;
}

.espaco__overlay p {
  font-size: 13px;
  color: oklch(0.92 0.01 75);
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
}

/* ---------- Experiencia ---------- */

.experiencia {
  padding: 100px 32px;
  background: var(--bg-alt);
}

.experiencia__inner { max-width: 1080px; margin: 0 auto; }

.dep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 800px) {
  .dep-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.dep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.dep .img-slot { width: 88px; height: 88px; }

.dep p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  margin: 0;
  color: oklch(0.25 0.02 50);
}

.dep span {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: oklch(0.5 0.03 50);
  font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 100px 32px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--divider);
}

.faq-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-softer);
  margin: 0;
}

/* ---------- Contacto ---------- */

.contacto {
  padding: 100px 32px;
  background: var(--ink);
  color: var(--bg);
}

.contacto__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 900px) {
  .contacto__grid { grid-template-columns: 1fr 1fr; }
}

.contacto__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto__copy .eyebrow { color: var(--gold); }

.contacto__copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(26px, 3.5vw, 38px);
  margin: 0;
  line-height: 1.25;
}

.contacto__copy p {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  opacity: 0.85;
  max-width: 420px;
  margin: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--bg);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  width: fit-content;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: oklch(0.26 0.02 50);
  padding: 32px;
  border-radius: 2px;
}

form input,
form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid oklch(0.97 0.012 75 / 0.3);
  color: var(--bg);
  font-size: 14px;
  padding: 8px 0;
  font-family: 'Work Sans', sans-serif;
}

form textarea { resize: none; }

form input::placeholder,
form textarea::placeholder { color: oklch(0.97 0.012 75 / 0.5); }

form button[type="submit"] {
  margin-top: 10px;
  padding: 14px;
  background: var(--gold);
  color: oklch(0.2 0.02 50);
  border: none;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity .25s;
}

form button[type="submit"]:hover { opacity: 0.85; }

.form-sent {
  font-size: 13px;
  color: var(--gold);
  display: none;
}

.form-sent.show { display: block; }

/* ---------- Footer ---------- */

.footer {
  padding: 56px 32px 32px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr; }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Allura', cursive;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--gold);
}

.footer__brand .brand-seal {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  opacity: 0.8;
  max-width: 340px;
  margin: 0;
}

.footer address {
  display: inline;
  font-style: normal;
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer__social a {
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid oklch(0.9 0.01 75 / 0.4);
}

.footer__map {
  aspect-ratio: 16/9;
  width: 100%;
  border: none;
  border-radius: 2px;
  filter: grayscale(0.3) contrast(1.05);
}

.footer__bottom {
  max-width: 1080px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid oklch(0.9 0.01 75 / 0.15);
  font-size: 12px;
  opacity: 0.6;
  text-align: center;
}

/* ---------- Image placeholders ---------- */
/* Stand-ins for real photography — swap the .img-slot backgrounds (or
   replace the element with an <img>) once real photos are available. */

.img-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, oklch(0.3 0.02 50 / 0.06) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, oklch(0.62 0.05 60) 0%, oklch(0.42 0.04 50) 100%);
}

.img-slot--circle { border-radius: 50%; }

.img-slot__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
  color: oklch(0.97 0.01 80 / 0.85);
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.img-slot--circle .img-slot__label span { display: none; }

.img-slot svg { opacity: 0.8; }
