:root {
  --green: #3a2316;
  --green-2: #271810;
  --gold: #e3b87b;
  --gold-text: #c4923f;
  --cream: #f8f4ee;
  --line: #e9e4dc;
  --ink: #2e1e14;
  --muted: #6d5b4e;
  --white: #fff;
  --radius: 14px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: 80px 0; }

em { font-style: normal; color: var(--gold-text); }
.hero em, .about__card em { color: var(--gold); }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow--light { color: var(--white); }
.title { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 700; color: var(--green); letter-spacing: -.01em; }

/* BOTÕES */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; border: 0; font-weight: 600; font-size: 14px; transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--gold { background: var(--gold); color: var(--green); }
.btn--dark { background: var(--green); color: var(--white); }
.btn__arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); margin-right: -12px; }
.btn__arrow svg { width: 14px; height: 14px; }
.btn__arrow--plain { background: none; width: auto; height: auto; margin: 0; color: inherit; }
.btn__arrow--plain svg { width: 18px; height: 18px; }

/* CABEÇALHO */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.is-scrolled { box-shadow: 0 4px 24px rgba(58, 35, 22, .08); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--green); }
.logo__icon { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; color: var(--green); }
.logo__text strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.logo__text small { font-size: 8.500px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link { background: none; border: 0; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.nav__dropdown { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px rgba(58, 35, 22, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__dropdown.is-open .nav__menu,
.nav__dropdown:hover .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.nav__menu a:hover { background: var(--cream); }

.header__cta { padding: 8px 8px 8px 20px; font-size: 13px; }
.header__cta .btn__arrow { margin-right: 0; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 24px; height: 2px; background: var(--green); transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 600px; background: var(--green); color: var(--white); overflow: hidden; display: flex; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-2) 0%, rgba(39, 24, 16, .92) 28%, rgba(39, 24, 16, .45) 52%, rgba(39, 24, 16, 0) 75%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding: 70px 0 0; }
.hero__content { align-self: center; max-width: 520px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin-bottom: 20px; }
.hero h1 em { display: block; font-size: 1.1em; font-weight: 800; }
.hero__text { max-width: 330px; margin-bottom: 28px; font-size: 16px; line-height: 1.65; }

.why { background: var(--white); color: var(--ink); border-radius: 16px 16px 0 0; padding: 22px 24px 20px; width: min(100%, 295px); margin-bottom: 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .12); }
.why h2 { font-size: 17px; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.why__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.why__stats li { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; border-left: 1px solid var(--line); }
.why__stats li:first-child { padding-left: 0; border: 0; }
.why__stats svg { width: 20px; height: 20px; color: var(--green); margin-bottom: 6px; }
.why__stats strong { font-size: 18px; font-weight: 700; color: var(--green); }
.why__stats span { font-size: 9.500px; line-height: 1.3; color: var(--muted); }

/* SERVIÇOS */
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.services__intro .title { margin-bottom: 16px; }
.services__intro p:not(.eyebrow) { color: var(--muted); max-width: 380px; margin-bottom: 26px; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 210px 210px; gap: 12px; }
.card { position: relative; border-radius: 12px; overflow: hidden; background: var(--green); color: var(--white); display: block; isolation: isolate; }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(30, 17, 11, .88), rgba(30, 17, 11, .15) 65%); }
.card:hover > img { transform: scale(1.04); }
.card--tall { grid-column: 1 / 3; grid-row: 1 / 3; }
.card--wide { grid-column: 3 / 5; grid-row: 1 / 2; }
.card--small { grid-column: auto; grid-row: 2 / 3; }
.card__body { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; }
.card__body h3 { font-size: 14px; font-weight: 700; line-height: 1.25; }
.card__body p { font-size: 11px; opacity: .85; line-height: 1.4; }
.card__body > div { flex: 1; }
.card__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--green); }
.card__icon svg { width: 20px; height: 20px; }
.card__arrow { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--white); color: var(--green); transition: transform .2s; }
.card__arrow svg { width: 14px; height: 14px; }
.card:hover .card__arrow, .project:hover .card__arrow { transform: translateX(3px); }
.card__body--stack { flex-direction: column; align-items: flex-start; gap: 6px; }
.card__arrow--left { width: 26px; height: 26px; background: rgba(255, 255, 255, .95); }

/* SOBRE */
.about { background: var(--white); border-top: 1px solid var(--line); padding: 50px 0 60px; }
.about__grid { display: grid; grid-template-columns: 5fr 4.2fr 3.2fr; gap: 16px; align-items: stretch; }
.video { position: relative; margin: 0; border-radius: 10px; overflow: hidden; min-height: 340px; background: var(--green); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%); border-radius: 50%; border: 0; background: var(--green); color: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .35); transition: transform .2s; }
.video__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video__play svg { width: 26px; height: 26px; margin-left: 3px; }

.about__card { background: var(--green); color: var(--white); border-radius: 10px; padding: 34px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.about__card h2 { font-size: 24px; line-height: 1.25; font-weight: 700; margin-bottom: 18px; }
.about__card p:not(.eyebrow) { font-size: 13px; line-height: 1.7; margin-bottom: 24px; opacity: .92; }
.about__card .btn { margin-top: auto; }

.perks { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: center; }
.perks__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--green); color: var(--white); }
.perks__icon svg { width: 20px; height: 20px; }
.perks h3 { font-size: 13px; font-weight: 700; color: var(--green); }
.perks p { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* PROJETOS */
.projects { padding-top: 30px; }
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.projects .eyebrow { margin-bottom: 6px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--white); font-weight: 600; }

.projects__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(58, 35, 22, .1); }
.project[hidden] { display: none; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #d9d3c8; }
.project__info { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; }
.project h3 { font-size: 14px; font-weight: 700; }
.project p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.project p svg { width: 10px; height: 12px; color: var(--gold-text); }
.project .card__arrow { box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.projects__empty { padding: 40px 0; color: var(--muted); }

/* CONTATO */
.contact { background: var(--green); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact .title { color: var(--white); margin-bottom: 14px; }
.contact__inner > div p { opacity: .85; max-width: 360px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--white); }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form input.is-invalid { border-color: #ff9d8a; }
.form .btn { justify-content: center; }
.form__status { font-size: 14px; min-height: 1.4em; }

/* RODAPÉ */
.footer { background: var(--green-2); color: var(--white); padding: 28px 0; }
.footer .logo__text, .footer .logo__text small { color: var(--white); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { font-size: 13px; opacity: .75; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(24, 13, 8, .85); padding: 24px; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(900px, 100%); }
.modal video { width: 100%; border-radius: 12px; background: #000; }
.modal__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--white); font-size: 36px; line-height: 1; }

/* RESPONSIVO */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 12px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(58, 35, 22, .1); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .nav__dropdown:hover .nav__menu { display: none; }
  .nav__dropdown.is-open .nav__menu { display: block; }
  .nav__cta-mobile { display: inline-flex; margin-top: 16px; justify-content: center; }

  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__shade { background: linear-gradient(180deg, rgba(39, 24, 16, .92), rgba(39, 24, 16, .7)); }
  .hero__content { padding-bottom: 8px; }
  .why { width: 100%; border-radius: 16px 16px 0 0; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
  .card--tall, .card--wide { grid-column: 1 / -1; grid-row: auto; }
  .card--small { grid-row: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .video { min-height: 260px; }
  .perks { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes slideRise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes shine { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }

.header { animation: headerIn .7s cubic-bezier(.2,.8,.2,1) both; }

/* Hero: entrada em sequência */
.hero__bg { animation: heroZoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow, .hero h1, .hero__text, .hero .btn { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; }
.hero .eyebrow { animation-delay: .25s; }
.hero h1 { animation-delay: .4s; }
.hero__text { animation-delay: .6s; }
.hero .btn { animation-delay: .8s; }
.why { animation: slideRise 1s cubic-bezier(.2,.8,.2,1) 1s both; }

/* Palavra em destaque com brilho dourado */
.hero h1 em {
  background: linear-gradient(100deg, #e3b87b 20%, #fff0d2 45%, #e3b87b 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear 1.6s infinite;
}

/* Botão de play pulsando */
.video__play { animation: pulseRing 2.2s ease-out infinite; }

/* Setas e botões */
.btn .btn__arrow svg { transition: transform .25s; }
.btn:hover .btn__arrow svg { transform: translateX(4px); }

/* Entrada ao rolar a página */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(.94); }
.reveal--left.is-visible, .reveal--right.is-visible, .reveal--zoom.is-visible { transform: none; }

/* Cartões: elevação suave */
.card { transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(58,35,22,.25); }
.perks li { transition: transform .3s; }
.perks li:hover { transform: translateX(6px); }
.perks__icon { transition: background .3s, color .3s, transform .3s; }
.perks li:hover .perks__icon { background: var(--gold); color: var(--green); transform: rotate(-8deg) scale(1.08); }
.project img { transition: transform .6s; }
.project { overflow: hidden; }
.project:hover img { transform: scale(1.06); }
.project { transition: transform .3s, box-shadow .3s, opacity .4s; }


.card.reveal, .project.reveal { transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }


/* ===== INÍCIO (HERO) – animação reforçada ===== */
@keyframes kenburns { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(40px) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6) translateY(20px); } 60% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero__bg { animation: heroZoom 1.6s cubic-bezier(.2,.7,.2,1) both, kenburns 22s ease-in-out 1.6s infinite alternate; }
.hero__shade { animation: fadeIn 1.2s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero .eyebrow { position: relative; padding-bottom: 12px; }
.hero .eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--gold); transform-origin: left; animation: lineGrow .8s ease .7s both; }

/* Título palavra por palavra */
.hero h1 { animation: none; }
.hero h1 .word { display: inline-block; opacity: 0; animation: wordIn .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--i) * .09s); }
.hero h1 em { opacity: 0; animation: popIn .9s cubic-bezier(.2,.8,.2,1) 1s both, shine 4s linear 2s infinite; }

.hero__text { animation-delay: 1.1s; }
.hero .btn { animation: popIn .8s cubic-bezier(.2,.8,.2,1) 1.35s both; }
.why { animation: slideRise 1s cubic-bezier(.2,.8,.2,1) 1.2s both, floaty 5s ease-in-out 2.4s infinite; }
.why__stats li { animation: fadeUp .7s ease both; }
.why__stats li:nth-child(1) { animation-delay: 1.7s; }
.why__stats li:nth-child(2) { animation-delay: 1.85s; }
.why__stats li:nth-child(3) { animation-delay: 2s; }

/* Quem prefere menos movimento: só aparece suavemente, sem deslocar nem repetir */
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__shade, .hero .eyebrow::after, .why, .hero h1 em, .video__play { animation: none !important; }
  .hero h1 em { opacity: 1; -webkit-text-fill-color: var(--gold); background: none; }
  .hero .eyebrow, .hero__text, .hero .btn, .hero h1 .word, .why__stats li, .header { animation: fadeIn .8s ease both !important; transform: none !important; filter: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}