/* LEED SERVICE — site institucional */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --sky: #d6e3ec;
  --sky-2: #c4d6e3;
  --paper: #f3f6f8;
  --ink: #1f2a33;
  --ink-2: #4a5a66;
  --graphite: #3b3839;
  --logo: #5e5a5b;
  --teal: #237a6f;
  --teal-dark: #1c665d;
  --teal-light: #39a99b;
  --line: rgba(31, 42, 51, .14);
  --radius: 14px;
  --wrap: 1180px;
  --head: "Sora", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); line-height: 1.18; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  background: var(--teal);
  color: #fff;
  font-family: var(--head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(35, 122, 111, .7);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn--small { min-height: 44px; padding: 0 18px; box-shadow: none; }
.btn--light { background: #fff; color: var(--teal-dark); box-shadow: none; }
.btn--light:hover { background: var(--paper); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--teal-light);
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* ---------- cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(214, 227, 236, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.header__brand { display: block; background: var(--logo); border-radius: 8px; padding: 4px 8px; }
.header__brand img { width: 120px; height: auto; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.header__nav a:not(.btn):hover { color: var(--teal); }
.header__toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%);
  padding-bottom: 72px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 48px;
  padding-left: max(20px, calc((100% - var(--wrap)) / 2));
}
.hero__text { padding: 56px 0 88px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__title { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; color: var(--ink); text-transform: uppercase; }
.hero__lead { margin-top: 20px; max-width: 46ch; color: var(--ink-2); font-size: 1.08rem; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__media { margin: 0; align-self: stretch; }
.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 0 0 0 64px;
}

.facts {
  position: relative;
  margin-top: -72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
  background: rgba(243, 246, 248, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -30px rgba(31, 42, 51, .45);
}
.fact { display: flex; gap: 16px; padding: 28px 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.fact p { margin-top: 6px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }

/* link "assistir" do hero */
.link-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.link-play__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  box-shadow: 0 6px 16px -6px rgba(31, 42, 51, .35);
  transition: transform .15s ease;
}
.link-play__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--teal-light);
  opacity: 0;
  animation: pulso 2.4s ease-out infinite;
}
.link-play__icon svg { width: 18px; height: 18px; margin-left: 2px; fill: currentColor; }
.link-play:hover .link-play__icon { transform: scale(1.07); }
@keyframes pulso {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- títulos ---------- */
.title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 40px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); max-width: 40ch; }

/* ---------- vídeos ---------- */
.videos {
  position: relative;
  margin-top: 96px;
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(57, 169, 155, .22), transparent 70%),
    linear-gradient(160deg, #24313b 0%, #1a2229 100%);
  overflow: hidden;
}
.videos__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.eyebrow--light { color: var(--teal-light); }
.videos__lead { margin: 18px 0 30px; color: #c9d3d9; max-width: 46ch; }
.videos__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  justify-self: end;
  width: min(100%, 640px);
}
.videos__list .vcard:nth-child(2) { margin-top: 56px; }
.vcard h3 { margin-top: 16px; font-size: 1.05rem; font-weight: 600; }
.vcard p { margin-top: 4px; color: #aeb9c0; font-size: .92rem; line-height: 1.45; }
.vcard__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #11171c;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.vcard__frame:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -28px rgba(0, 0, 0, .85), 0 0 0 1px rgba(57, 169, 155, .5); }
.vcard__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #11171c; }
.vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.vcard__play svg {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 20px 19px 20px 21px;
  border-radius: 50%;
  fill: #fff;
  background: var(--teal);
  box-shadow: 0 0 0 10px rgba(35, 122, 111, .3), 0 12px 24px -8px rgba(0, 0, 0, .6);
  transition: transform .2s ease, background .2s ease;
}
.vcard__play:hover svg, .vcard__play:focus-visible svg { transform: scale(1.08); background: var(--teal-dark); }
.vcard__play:focus-visible { outline-offset: -6px; }
.vcard__time {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  pointer-events: none;
}
.vcard.is-playing .vcard__play,
.vcard.is-playing .vcard__time { display: none; }

/* ---------- sobre ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
  padding: 110px 0 96px;
}
.about__text p { margin-top: 18px; color: var(--ink-2); max-width: 54ch; }
.about__text strong { color: var(--ink); }
.about__media { margin: 0; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 120px 14px 14px 14px; }

/* ---------- serviços ---------- */
.services { background: var(--graphite); color: #fff; padding: 96px 0; }
.services .section-head p { color: #c9cfd3; }
.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.services__list li { padding: 28px 28px 8px 0; }
.services__list li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.num { display: block; margin-bottom: 18px; font-family: var(--head); font-size: .85rem; color: var(--teal-light); letter-spacing: .1em; }
.services__list h3 { font-size: 1.12rem; font-weight: 600; }
.services__list p { margin-top: 10px; color: #c9cfd3; font-size: .96rem; }

/* ---------- destaque ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
  padding: 110px 0;
}
.split__media { margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__text p { margin: 18px 0 22px; color: var(--ink-2); }

/* ---------- como funciona ---------- */
.steps { background: var(--sky); padding: 96px 0; }
.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: passo;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.steps__list li {
  counter-increment: passo;
  position: relative;
  padding: 30px 28px 32px;
  background: var(--paper);
  border-radius: var(--radius);
}
.steps__list li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  font-family: var(--head);
  font-weight: 600;
}
.steps__list h3 { font-size: 1.1rem; font-weight: 600; }
.steps__list p { margin-top: 8px; color: var(--ink-2); font-size: .97rem; }

/* ---------- projetos ---------- */
.projects { padding: 110px 0; }
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery li { min-width: 0; aspect-ratio: 1 / 1; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #dfe7ed; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
/* foto alta: ocupa 2 linhas na 3ª coluna */
.gallery li.gallery__tall { grid-row: span 2; aspect-ratio: auto; position: relative; }
.gallery__tall button { position: absolute; inset: 0; }
.gallery__tall img { object-position: 12% 20%; }

/* vídeos de obras: mesmas 3 colunas da galeria */
.projects__videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.projects__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 36px 32px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(57, 169, 155, .28), transparent 70%),
    linear-gradient(160deg, #24313b 0%, #1a2229 100%);
}
.projects__intro .eyebrow { margin: 0; }
.projects__intro h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
.projects__intro p:not(.eyebrow) { margin-top: 12px; color: #c9d3d9; }
.projects__intro .btn { align-self: flex-start; }
.projects .vcard h3 { color: var(--ink); }
.projects .vcard p { color: var(--ink-2); }
.projects .vcard__frame { border-radius: var(--radius); }

/* ---------- contato ---------- */
.contact { background: var(--teal-dark); color: #fff; padding: 96px 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.contact__lead { margin: 14px 0 28px; color: #d6ece8; }
.contact__list { margin: 40px 0 0; display: grid; gap: 22px; }
.contact__list div { display: grid; gap: 2px; }
.contact__list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #a9d6cf; }
.contact__list dd { margin: 0; }
.contact__list a { color: #fff; }
.contact__map { display: grid; gap: 14px; justify-items: start; }
.contact__map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); background: #164f48; }

/* ---------- rodapé ---------- */
.footer { background: var(--graphite); color: #c9cfd3; padding: 28px 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__inner img { width: 110px; height: auto; border-radius: 6px; }
.footer__top { color: #fff; text-decoration: none; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.wa-float .fill, .btn .fill { fill: currentColor; stroke: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(15, 20, 24, .92); padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVO ================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-left: 0; gap: 0; }
  .hero__text { padding: 40px 20px 32px; order: 1; }
  .hero__media { order: 2; padding-left: 20px; }
  .hero__media img { min-height: 0; aspect-ratio: 4 / 3; height: auto; border-radius: 0 0 0 40px; }
  .hero { padding-bottom: 0; }
  .facts { margin-top: -40px; grid-template-columns: 1fr; margin-bottom: 0; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .about, .split, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .videos { margin-top: 56px; padding: 72px 0; }
  .videos__grid { grid-template-columns: 1fr; gap: 40px; }
  .videos__list { justify-self: center; }
  .about { padding: 72px 0; }
  .about__media img { aspect-ratio: 4 / 3; border-radius: 80px 14px 14px 14px; }
  .split { padding: 72px 0; }
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__list li, .services__list li + li { padding: 26px 20px 20px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .services__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
  .steps__list { grid-template-columns: 1fr; }
  .gallery, .projects__videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .projects__videos { margin-bottom: 28px; }
  .projects__intro { grid-column: 1 / -1; padding: 28px 24px; }
  .gallery li.gallery__tall { grid-row: auto; aspect-ratio: 1 / 1; }
  .projects { padding: 72px 0; }
  .services, .steps, .contact { padding: 72px 0; }
}

@media (max-width: 760px) {
  .header__toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--paper);
    cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s ease; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .header.is-open .bars { background: transparent; }
  .header.is-open .bars::before { transform: translateY(6px) rotate(45deg); }
  .header.is-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .header__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--sky);
    border-bottom: 1px solid var(--line);
  }
  .header.is-open .header__nav { display: flex; }
  .header__nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header__nav .btn { margin-top: 16px; justify-content: center; }
  .services__list { grid-template-columns: 1fr; }
  .services__list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .gallery, .projects__videos { gap: 10px; }
  .gallery button, .projects .vcard__frame { border-radius: 10px; }
  .projects__intro .btn { align-self: stretch; justify-content: center; }
  .contact__map iframe { height: 300px; }
  /* vídeos: lado a lado no celular */
  .videos__list { gap: 12px; width: 100%; }
  .vcard__frame { border-radius: 12px; }
  .vcard__play svg { width: 18px; height: 18px; padding: 13px 12px 13px 14px; box-shadow: 0 0 0 6px rgba(35, 122, 111, .3), 0 8px 18px -6px rgba(0, 0, 0, .6); }
  .vcard__time { top: calc(50% + 34px); font-size: .7rem; padding: 2px 7px; }
  .vcard h3 { margin-top: 12px; font-size: .95rem; }
  .vcard p { font-size: .84rem; }
  .videos .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { transition: none !important; }
  .link-play__icon::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
