*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ───────────── Mansory (display) ───────────── */
@font-face { font-family: 'Mansory'; src: url('fonts/Mansory-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mansory'; src: url('fonts/Mansory-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mansory'; src: url('fonts/Mansory-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mansory'; src: url('fonts/Mansory-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mansory'; src: url('fonts/Mansory-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* greens — kept brand, freshened */
  --forest:      #16201a;
  --forest-2:    #1d2a1c;
  --green-deep:  #243024;
  --green:       #3a4e37;
  --green-soft:  #4a5c46;
  /* refined champagne-gold accent (fancy) */
  --lime:        oklch(0.83 0.075 87);
  --lime-soft:   oklch(0.9 0.05 87);
  --gold-line:   oklch(0.83 0.075 87 / 0.28);
  /* warm neutrals */
  --cream:       #f3efe6;
  --cream-2:     #ece6d8;
  --sand:        #e3dcc9;
  --ink:         #16201a;
  --ink-soft:    #54604f;

  --ff-display: 'Mansory', 'Cormorant Garamond', serif;
  --ff-serif:   'Cormorant Garamond', serif;
  --ff-body:    'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--forest); }

/* refined fixed gold frame */
body::before {
  content: ''; position: fixed; inset: 16px; border: 1px solid var(--gold-line);
  pointer-events: none; z-index: 280;
}
@media (max-width: 960px) { body::before { inset: 8px; } }

/* ───────────── scroll progress ───────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--lime); z-index: 500;
  box-shadow: 0 0 12px oklch(0.83 0.075 87 / 0.8);
  will-change: width;
}

/* ───────────── nav ───────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .45s ease, background .45s ease, backdrop-filter .45s ease;
}
nav .nav-mark, nav .nav-links a { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45)); transition: filter .45s ease; }
nav.scrolled .nav-mark, nav.scrolled .nav-links a { filter: none; }
nav.scrolled {
  background: oklch(0.22 0.02 145 / 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  padding: 0.95rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-mark { display: block; color: #fff; line-height: 0; }
.nav-mark img { height: 52px; width: auto; display: block; transition: height .45s ease; }
nav.scrolled .nav-mark img { height: 42px; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  position: relative; color: #fff; text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--lime); transition: width .35s cubic-bezier(.5,0,.1,1);
}
.nav-links a:hover::after { width: 100%; }
.nav-pill {
  border: 1px solid rgba(255,255,255,0.4); border-radius: 100px;
  padding: 0.55rem 1.25rem !important;
}
.nav-pill::after { display: none; }
.nav-pill:hover { background: var(--lime); color: var(--forest) !important; border-color: var(--lime); }
.nav-ig { display: flex; align-items: center; color: rgba(255,255,255,0.75); transition: color .25s; }
.nav-ig:hover { color: #fff; }
.nav-ig::after { display: none !important; }
.nav-sound {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.38); font-size: 1.05rem; padding: 0;
  transition: color .25s; line-height: 1; font-family: serif;
}
.nav-sound:hover { color: rgba(255,255,255,0.9); }
.nav-sound.active { color: var(--lime); }
.nav-sound.active .sound-icon { display:inline-block; animation: pulse-note 2.4s ease-in-out infinite; }
@keyframes pulse-note { 0%,100%{transform:scale(1)} 50%{transform:scale(1.25)} }

.section-wave { position:absolute; bottom:0; left:0; right:0; width:100%; height:70px; z-index:3; display:block; pointer-events:none; }
.nav-lang { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.4rem; }
.lang-sep { color: rgba(255,255,255,0.25); font-size: 0.55rem; }
.lang-btn { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.38); font-family: var(--ff-body); font-size: 0.6rem; letter-spacing: 0.16em; font-weight: 600; padding: 2px; transition: color .2s; text-transform: uppercase; }
.lang-btn.active, .lang-btn:hover { color: rgba(255,255,255,0.9); }

/* ───────────── reusable ───────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 600;
}
.eyebrow::before {
  content: ''; width: 26px; height: 26px; border-radius: 50% 50% 50% 0;
  background: var(--lime); transform: rotate(-45deg); flex: none;
  animation: sway 5s ease-in-out infinite;
}
.display {
  font-family: var(--ff-display);
  font-weight: 400; line-height: 1.06; letter-spacing: 0.03em;
  font-size: clamp(2rem, 3vw, 3.2rem); text-transform: uppercase; text-wrap: balance;
}
.display .ital { font-family: var(--ff-display); font-weight: 400; font-style: normal; letter-spacing: 0.03em; text-transform: uppercase; }
.section { padding: 9rem 3rem; position: relative; }
.wrap { max-width: 1320px; margin: 0 auto; }

/* magnetic button */
.btn {
  --c: var(--forest); --bg: var(--lime);
  display: inline-flex; align-items: center; gap: 0.85rem;
  background: var(--bg); color: var(--c);
  font-family: var(--ff-body); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 1.05rem 2rem; border-radius: 100px; text-decoration: none;
  border: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .3s, color .3s;
  will-change: transform;
}
.btn .dot {
  width: 9px; height: 9px; border-radius: 50%; background: currentColor;
  transition: transform .35s cubic-bezier(.5,0,.1,1);
}
.btn:hover .dot { transform: translateX(6px) scale(1.3); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn.ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }

/* ───────────── hero ───────────── */
.hero {
  height: 100vh; min-height: 680px; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center; padding: 3rem; overflow: hidden; background: var(--forest);
}
.hero-bg {
  position: absolute; inset: -8% -4% -4% -4%;
  background: url('img/hero-bg.jpg?v=2') center 35%/cover no-repeat;
  will-change: transform; animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15,22,16,0.55) 0%, rgba(15,22,16,0.15) 28%,
    rgba(15,22,16,0.35) 62%, rgba(15,22,16,0.9) 100%);
}
.hero-inner { position: relative; width: 100%; max-width: 1040px; margin: 0 auto clamp(40px, 4.5vh, 72px); color: #fff; text-align: center; }
.hero-logo {
  width: clamp(120px, 16vw, 220px); height: auto; margin: 0 auto 1rem; display: block;
  opacity: 0; transform: translateY(12px);
}
.is-loaded .hero-logo { opacity: 1; transform: none; transition: opacity 1.1s ease .1s, transform 1.1s ease .1s; }
.hero-tagline {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(0.95rem, 1.9vw, 1.55rem); line-height: 1.3; letter-spacing: 0.2em;
  text-transform: uppercase; white-space: nowrap; color: rgba(255,255,255,0.9);
}
.hero-tagline .ital {
  font-family: var(--ff-serif); font-weight: 400; font-style: italic;
  text-transform: none; letter-spacing: 0.01em; color: var(--lime); font-size: 1.12em;
}
/* word reveal */
.word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word > span { display: inline-block; transform: translateY(115%); }
.is-loaded .word > span { transition: transform 1s cubic-bezier(.16,1,.3,1); transform: translateY(0); }
.hero-actions { display: flex; gap: 0.9rem; align-items: center; justify-content: center; flex-wrap: wrap; }

/* floating plant orbs */
.orb {
  position: absolute; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.18);
  will-change: transform; z-index: 2; pointer-events: none;
}
.orb img { width: 100%; height: 100%; object-fit: cover; }
.orb-a { width: 150px; height: 150px; top: 16%; right: 8%;  animation: float1 9s ease-in-out infinite; }
.orb-b { width: 92px;  height: 92px;  top: 40%; right: 22%; animation: float2 11s ease-in-out infinite; border-radius: 56% 44% 60% 40%; }
.orb-c { width: 120px; height: 120px; top: 24%; left: 6%;   animation: float2 13s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-26px) rotate(6deg)} }
@keyframes float2 { 0%,100%{transform:translateY(0) translateX(0)} 50%{transform:translateY(20px) translateX(-14px)} }
@keyframes sway   { 0%,100%{transform:rotate(-45deg) translateY(0)} 50%{transform:rotate(-38deg) translateY(-3px)} }

.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  width: 100%; height: 70px; z-index: 3; display: block; pointer-events: none;
}

.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: rgba(255,255,255,0.28); font-size: 0;
}
.scroll-cue .bar { width: 1px; height: 28px; background: rgba(255,255,255,0.28); transform-origin: top; animation: drop 2.2s ease-in-out infinite; }
@keyframes drop { 0%{transform:scaleY(0); opacity:0} 40%{transform:scaleY(1); opacity:1} 100%{transform:scaleY(1); opacity:0} }

/* ───────────── marquee ───────────── */
.marquee {
  background: var(--lime); color: var(--forest); overflow: hidden;
  padding: 1.1rem 0; border-block: 2px solid var(--forest);
}
.marquee.dark { background: var(--forest); color: var(--lime); border-color: var(--lime); }
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation: scrollx 28s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--ff-display); font-weight: 500; font-style: italic; font-size: 1.95rem;
  letter-spacing: 0; display: inline-flex; align-items: center; gap: 2.5rem;
}
.marquee-track span::after {
  content: ''; width: 16px; height: 16px; border-radius: 50% 50% 50% 0;
  background: currentColor; transform: rotate(-45deg); flex: none;
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ───────────── importância ───────────── */
#importancia { background: var(--green); color: #fff; overflow: hidden; }
#importancia .display { letter-spacing: 0.02em; }
#importancia .display .ital { color: #d4c5a9; }
.imp-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4.5rem; }
.imp-top .eyebrow { color: rgba(255,255,255,0.65); margin-bottom: 1.4rem; }
.imp-lead { font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,0.78); font-weight: 300; }
.imp-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.imp-card {
  background: oklch(0.32 0.03 145); border-radius: 22px; padding: 2.6rem 2.2rem;
  position: relative; overflow: hidden;
  transition: transform .5s cubic-bezier(.16,1,.3,1), background .4s;
}
.imp-card:hover { transform: translateY(-10px); background: oklch(0.36 0.04 145); }
.imp-stat { font-family: var(--ff-display); font-weight: 400; font-size: 4.2rem; line-height: 1; color: var(--lime); }
.imp-stat .suf { font-size: 1.6rem; vertical-align: super; }
.imp-card h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.4rem; margin: 1.4rem 0 0.7rem; }
.imp-card p { font-size: 0.92rem; line-height: 1.72; color: rgba(255,255,255,0.68); font-weight: 300; }
.imp-card .leaf-bg {
  position: absolute; right: -40px; bottom: -50px; width: 150px; height: 150px;
  border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
  background: oklch(0.84 0.17 128 / 0.07); transition: transform .6s ease;
}
.imp-card:hover .leaf-bg { transform: rotate(25deg) scale(1.1); }

.parallax-leaf {
  min-height: 32vh; position: relative; overflow: hidden;
  background: var(--green-deep);
  margin-top: -4px;
}
.parallax-leaf-bg {
  position: absolute; inset: -120% 0;
  background: url('img/leaves.jpg') center/cover no-repeat;
  will-change: transform;
}
.parallax-leaf::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(22,32,26,0.32) 100%);
}

/* ───────────── quote ───────────── */
#frase { background: var(--cream-2); text-align: center; overflow: hidden; }
.quote {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.3; color: var(--green-deep);
  max-width: 16ch; margin: 0 auto; position: relative;
}
.quote .hl { color: var(--green); position: relative; }
.quote-author { margin-top: 2rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

/* ───────────── sobre ───────────── */
#sobre { background: var(--cream); overflow: hidden; }
.sobre-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 4.5rem; align-items: center; }
.sobre-media { position: relative; }
.sobre-media .frame {
  aspect-ratio: 4/5; border-radius: 200px 200px 24px 24px; overflow: hidden; background: var(--sand);
}
.sobre-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.sobre-media:hover img { transform: scale(1.06); }
.sobre-badge {
  position: absolute; bottom: -28px; left: -28px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  display: grid; place-content: center; text-align: center;
  font-family: var(--ff-display); font-weight: 700;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  animation: spinSlow 26s linear infinite;
}
.sobre-badge b { font-size: 2.4rem; line-height: 1; display: block; }
.sobre-badge small { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.sobre-text .eyebrow { color: var(--green); margin-bottom: 1.5rem; }
.sobre-text .display { color: var(--ink); margin-bottom: 1.8rem; letter-spacing: 0.02em; }
.sobre-text .display .ital { color: #9a8870; }
.sobre-text p { font-size: 1rem; line-height: 1.78; color: var(--ink-soft); font-weight: 300; margin-bottom: 1.1rem; max-width: 52ch; }
.sobre-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.sobre-tags span {
  font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.5rem 1rem; border-radius: 100px;
  border: 1px solid var(--sand); color: var(--green); font-weight: 500;
}

/* ───────────── serviços ───────────── */
#servicos { background: var(--forest); color: #fff; overflow: hidden; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.svc-head .eyebrow { color: var(--lime); margin-bottom: 1rem; }
.svc-list { border-top: 1px solid rgba(255,255,255,0.14); }
.svc-row {
  display: grid; grid-template-columns: 60px 1fr 1.3fr auto;
  gap: 2rem; align-items: center; padding: 2.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  position: relative; transition: padding .4s ease;
  color: #fff; text-decoration: none;
}
.svc-row::before {
  content: ''; position: absolute; inset: 0; background: var(--lime);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.16,1,.3,1);
  z-index: 0; border-radius: 4px;
}
.svc-row > * { position: relative; z-index: 1; transition: color .35s ease; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover { padding-inline: 2rem; }
.svc-row:hover, .svc-row:hover * { color: var(--forest); }
.svc-num { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; opacity: 0.5; }
.svc-row h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.8rem); text-transform: uppercase; letter-spacing: 0.04em; }
.svc-row p { font-size: 0.94rem; line-height: 1.65; color: rgba(255,255,255,0.62); font-weight: 300; font-family: var(--ff-body); }
.svc-arrow { font-size: 1.6rem; transform: rotate(-45deg); transition: transform .4s ease; }
.svc-row:hover .svc-arrow { transform: rotate(0); }

/* ───────────── portfólio ───────────── */
#portfolio { background: var(--cream); overflow: hidden; padding-bottom: 2rem; }
.port-intro { max-width: 940px; margin: 0 auto; text-align: center; }
.port-intro .eyebrow { color: var(--green); justify-content: center; margin-bottom: 1.5rem; }
.port-statement {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.14; letter-spacing: 0.04em;
  color: var(--ink); text-wrap: balance; text-transform: uppercase;
}
.port-statement .ital { font-family: var(--ff-serif); font-style: italic; color: var(--green); }
.gallery { margin: 4rem -3rem 0; display: flex; flex-direction: column; gap: 14px; }
.port-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.port-head .eyebrow { color: var(--green); margin-bottom: 1rem; }
.port-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 14px; }
.port-item { position: relative; overflow: hidden; border-radius: 20px; background: var(--sand); cursor: zoom-in; }
.port-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16,1,.3,1); }
.port-item:hover img { transform: scale(1.1); }
.port-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(15,22,16,0.85));
  color: #fff; transform: translateY(12px); opacity: 0; transition: all .45s cubic-bezier(.16,1,.3,1);
}
.port-item:hover .cap { transform: translateY(0); opacity: 1; }
.port-item .cap b { font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; display: block; }
.port-item .cap small { font-size: 0.72rem; letter-spacing: 0.05em; opacity: 0.8; }
.c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; }
.r2 { grid-row: span 2; }

.port-head .cream-line { color: #9a8870; }

/* horizontal auto-scroll strip */
.strip { overflow: hidden; margin-top: 54px; opacity: 0; animation: stripFadeIn 1.4s 0.6s ease forwards; }
@keyframes stripFadeIn { to { opacity: 1; } }
.strip-track { display: flex; gap: 14px; width: max-content; animation: scrollx 38s linear infinite; }
.strip-track.rev { animation-direction: reverse; animation-duration: 46s; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track img { width: 380px; height: 270px; object-fit: cover; border-radius: 18px; flex: none; cursor: zoom-in; transition: filter .4s ease; }
.strip-track img:hover { filter: brightness(1.05) saturate(1.08); }

/* ───────────── profissional ───────────── */
#profissional { background: var(--green-deep); color: #fff; overflow: hidden; }
.prof-grid { display: grid; grid-template-columns: 320px 1fr; gap: 4.5rem; align-items: center; }
.prof-photo { position: relative; }
.prof-photo .frame { border-radius: 24px 24px 180px 180px; overflow: hidden; aspect-ratio: 3/4; background: var(--green); }
.prof-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.prof-photo .leaf-tag {
  position: absolute; top: -24px; right: -24px; width: 88px; height: 88px;
  background: transparent; border: 1.5px solid var(--lime);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  animation: float1 8s ease-in-out infinite;
}
.prof-photo .leaf-tag::before {
  content: ''; position: absolute; left: 50%; top: 16%; width: 1.5px; height: 68%;
  background: var(--lime); transform: translateX(-50%);
}
.prof-info .eyebrow { color: var(--lime); margin-bottom: 1.2rem; }
.prof-name { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.05em; }
.prof-role { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0.7rem 0 2.6rem; font-weight: 600; }
.creds { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem 2.4rem; }
.cred { border-left: 2px solid var(--lime); padding-left: 1.1rem; }
.cred .area { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 0.4rem; }
.cred .inst { font-family: var(--ff-serif); font-style: italic; font-size: 1.02rem; line-height: 1.45; color: rgba(255,255,255,0.85); }

/* ───────────── footer / contato ───────────── */
footer { background: var(--forest); color: #fff; overflow: hidden; }
.footer-cta { padding: 8rem 3rem; text-align: center; position: relative; }
.footer-cta-smark { width: 56px; height: 56px; object-fit: contain; opacity: 0.7; margin-bottom: 1.2rem; display: block; margin-left: auto; margin-right: auto; }
.footer-cta .eyebrow { color: var(--lime); margin-bottom: 1.4rem; justify-content: center; }
.footer-cta .display { margin-bottom: 2.6rem; }
.footer-cta .display .ital { color: var(--lime); }
.footer-orb {
  position: absolute; border-radius: 50%; overflow: hidden; opacity: 0.5;
  border: 2px solid rgba(255,255,255,0.14); pointer-events: none;
}
.footer-orb img { width: 100%; height: 100%; object-fit: cover; }
.fo-1 { width: 110px; height: 110px; top: 14%; left: 8%; animation: float1 10s ease-in-out infinite; }
.fo-2 { width: 80px; height: 80px; bottom: 18%; right: 12%; animation: float2 12s ease-in-out infinite; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 2.4rem 3rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 40px; opacity: 0.85; }
.footer-meta { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-meta a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.82rem; transition: color .25s; }
.footer-meta a:hover { color: var(--lime); }
.footer-copy { font-size: 0.74rem; color: rgba(255,255,255,0.35); }
.footer-tagline { font-family: var(--ff-serif); font-style: italic; font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-top: 0.3rem; letter-spacing: 0.02em; }

/* ───────────── scroll reveal ───────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
/* clip wipe for images */
.wipe img, .wipe .frame { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.16,1,.3,1); }
.wipe.in img, .wipe.in .frame { clip-path: inset(0 0 0 0); }
/* growing stem divider */
.stem { width: 2px; height: 70px; background: var(--lime); margin: 0 auto; transform: scaleY(0); transform-origin: top; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.stem.in { transform: scaleY(1); }

.footer-cta-logo { height: clamp(82px, 11vw, 130px); width: auto; margin: 4.5rem auto 0; opacity: 0.95; }

/* ───────────── loader ───────────── */
#site-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #16201a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transition: opacity .7s ease, visibility .7s ease;
}
#site-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-s {
  width: 72px; height: 72px; object-fit: contain; opacity: 0.9;
  animation: loaderPulse 1.6s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%,100% { transform: scale(1);    opacity: 0.9; }
  50%      { transform: scale(1.08); opacity: 1;   }
}
.loader-bar { width: 120px; height: 1px; background: rgba(255,255,255,0.12); border-radius: 1px; overflow: hidden; }
.loader-fill { height: 100%; width: 0%; background: oklch(0.83 0.075 87); animation: loaderFill 1.8s ease-out forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ───────────── renders grid ───────────── */
.renders-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 10px;
}
.render-item { aspect-ratio: 16/10; overflow: hidden; border-radius: 10px; cursor: zoom-in; }
.render-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1), filter .4s ease;
  filter: brightness(0.92);
}
.render-item:hover img { transform: scale(1.04); filter: brightness(1); }
@media (max-width: 960px) { .renders-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width: 500px)  { .renders-grid { grid-template-columns: 1fr; } }

/* ───────────── lightbox ───────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 600; padding: 5vw;
  background: oklch(0.16 0.02 145 / 0.94); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw; max-height: 86vh; border-radius: 14px;
  border: 1px solid var(--gold-line); box-shadow: 0 40px 100px rgba(0,0,0,.6);
  transform: scale(.95); transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(22,32,26,0.55); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 1.4rem; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, opacity .2s; backdrop-filter: blur(6px); z-index: 10;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(22,32,26,0.85); }
.lb-close {
  position: absolute; top: 22px; right: 26px; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: transparent; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.lb-close:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .hero-bg { animation: none; }
}

/* ───────────── hamburger menu ───────────── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  z-index: 400;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform .35s ease, opacity .25s ease;
  transform-origin: center;
}
nav.scrolled .nav-burger span { background: #fff; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 350;
  background: rgba(22,32,26,0.97);
  backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.4rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer a, .nav-drawer button {
  color: #fff; text-decoration: none;
  font-size: 1.2rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--ff-body); font-weight: 400;
  background: none; border: none; cursor: pointer;
  transition: color .2s;
}
.nav-drawer a:hover { color: var(--lime); }
.nav-drawer .nav-pill {
  border: 1px solid rgba(255,255,255,0.4); border-radius: 100px;
  padding: 0.7rem 2rem; font-size: 0.85rem;
}
.nav-drawer .nav-pill:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.nav-drawer .drawer-lang {
  display: flex; gap: 1rem; margin-top: 1rem;
}
.nav-drawer .drawer-lang button {
  font-size: 0.72rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.45);
  padding: 0.3rem 0.5rem;
}
.nav-drawer .drawer-lang button.active { color: #fff; }



/* ───────────── responsive ───────────── */
@media (max-width: 960px) {
  .section { padding: 5rem 1.4rem; }
  nav { padding: 1.1rem 1.4rem; }
  nav.scrolled { padding: 0.8rem 1.4rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* hero — ensure all content fits on screen */
  .hero { padding: 1.2rem 1.4rem 2rem; }
  .hero-inner { margin-bottom: clamp(20px, 5vh, 40px); }
  .hero-logo { width: clamp(130px, 44vw, 190px); margin-bottom: 0.6rem; }
  .hero-tagline {
    white-space: normal; letter-spacing: 0.08em;
    font-size: clamp(0.7rem, 3.2vw, 0.95rem);
    opacity: 1 !important; transform: none !important;
  }
  .is-loaded .hero-tagline .word span { opacity: 1 !important; transform: none !important; }
  .hero-actions { margin-top: 1rem; }

  /* services accordion — full-width layout */
  .svc-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: center;
    padding: 1.4rem 0;
  }
  .svc-num  { grid-column: 1; grid-row: 1; }
  .svc-row h3 { grid-column: 2; grid-row: 1; font-size: clamp(1rem, 4vw, 1.3rem); }
  .svc-arrow { grid-column: 3; grid-row: 1; display: block !important; font-size: 1.2rem; }
  .svc-row p {
    grid-column: 1 / -1; grid-row: 2;
    display: block;
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, opacity .3s ease, padding .3s ease;
    opacity: 0; padding-top: 0; margin-top: 0;
    font-size: 0.9rem; line-height: 1.65;
  }
  .svc-row[aria-expanded="true"] p {
    max-height: 160px; opacity: 1; padding-top: 0.7rem;
  }
  .svc-row[aria-expanded="true"] .svc-arrow { transform: rotate(90deg); }
  .svc-row:hover { padding-inline: 0; background: transparent; }
  .svc-row::before { display: none; }
  .svc-row:hover, .svc-row:hover * { color: inherit; }

  .imp-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .imp-cards { grid-template-columns: 1fr; }
  .sobre-grid, .prof-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-media .frame { aspect-ratio: 4/3; }
  .prof-grid { justify-items: center; text-align: left; }
  .prof-photo { max-width: 280px; }
  .creds { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .c2,.c3,.c4 { grid-column: span 1; } .r2 { grid-row: span 1; }
  .port-item { aspect-ratio: 16/9; }
  .gallery { margin: 3rem -1.4rem 0; }
  .strip-track img { width: 260px; height: 190px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .orb-b { display: none; }
  .parallax-leaf-bg { transform: none !important; }
  .nav-drawer { display: flex; }
}
