:root {
  --dk: #1c221e;
  --dk2: #141815;
  --bg: #ece7df;
  --sand: #e2dcd2;
  --tl: #f4f1ea;
  --pl: #b8bdb9;
  --td: #1c221e;
  --pd: #222824;
  --ld: rgba(28, 34, 30, 0.12);
  --ll: rgba(255, 255, 255, 0.12);
  --serif: "Playfair Display", "DM Serif Display", Georgia, serif;
  --sans: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  font-family: var(--sans);
  background: var(--dk);
  color: var(--tl);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
}
a {
  color: inherit;
  text-decoration: none;
}
.w {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.svg-defs {
  position: absolute;
}
svg.i {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.s {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* topbar */
header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(28, 34, 30, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ll);
}
header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo img {
  height: 36px;
  display: block;
}
nav {
  display: flex;
  gap: 34px;
}
nav a {
  font-size: 13px;
  color: var(--pl);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: 0.25s;
}
nav a:hover,
nav a.on {
  color: var(--tl);
  border-color: var(--tl);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px var(--sans);
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s;
}
.b-lt {
  background: var(--bg);
  color: var(--td);
}
.b-lt:hover {
  background: #fff;
}
.b-dk {
  background: var(--dk);
  color: var(--tl);
}
.b-dk:hover {
  background: #000;
}
.b-ol {
  border-color: rgba(244, 241, 234, 0.45);
  color: var(--tl);
  border-radius: 999px;
  padding: 10px 20px;
}
.b-ol:hover {
  background: rgba(255, 255, 255, 0.08);
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--tl);
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  margin: 6px 0;
  transition: 0.3s;
}
/* type */
.eb {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pl);
  margin-bottom: 22px;
}
.eb::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.lt .eb {
  color: var(--pd);
}
h1,
h2,
.num {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--tl);
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 20px;
}
.lt h2 {
  color: var(--td);
}
p.t {
  color: var(--pl);
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 32px;
}
.lt p.t {
  color: var(--pd);
}
section {
  position: relative;
}
.lt {
  background: var(--bg);
  color: var(--td);
}
/* hero */
#inicio {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  background: var(--dk);
}
#inicio .ph {
  position: absolute;
  inset: 0 0 0 20%;
  background: url("assets/inicio.jpg")
    right center/cover no-repeat;
}
#inicio .ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--dk) 0,
      rgba(28, 34, 30, 0.5) 30%,
      transparent 70%
    ),
    linear-gradient(0deg, rgba(20, 24, 21, 0.55), transparent 35%);
}
#inicio .w {
  position: relative;
  width: 100%;
}
#inicio .rv {
  max-width: 560px;
}
/* services & diffs */
.row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  align-items: center;
}
.row > .lead {
  padding-right: 40px;
}
.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 12px 22px;
  border-left: 1px solid var(--ld);
  min-height: 150px;
  justify-content: center;
  font-size: 14.5px;
  color: var(--td);
  transition: 0.3s;
}
.col:hover {
  transform: translateY(-4px);
}
.col svg {
  width: 40px;
  height: 40px;
  stroke-width: 1;
}
#servicos,
#diferenciais {
  padding: 96px 0;
}
#diferenciais {
  padding: 72px 0;
}
#diferenciais h2 {
  margin: 0;
}
/* sobre */
#sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
#sobre .img {
  background: url("assets/sobre.jpg")
    center/cover no-repeat;
  position: relative;
}
#sobre .mid h2 {
  color: #1c221e;
}
#sobre .mid p.t {
  color: #1c221e;
  font-size: 16.5px;
}
#sobre .mid .eb {
  color: #1c221e;
}
#sobre .mid {
  background: var(--bg);
  color: var(--td);
  padding: 72px clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
#sobre .yr {
  background: var(--sand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--td);
}
.yr .num {
  font-size: clamp(52px, 6vw, 88px);
  color: var(--td);
}
.yr small {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pd);
}
.yr small::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--pd);
  opacity: 0.5;
}
/* especialidade */
#especialidades {
  background: var(--dk);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 96px 0;
}
#especialidades .ph {
  position: absolute;
  inset: 0 0 0 35%;
  background: url("assets/especialidades.jpg")
    right center/cover no-repeat;
}
#especialidades .ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--dk),
    rgba(20, 24, 21, 0.35) 45%,
    transparent
  );
}
#especialidades .w {
  position: relative;
  width: 100%;
}
#especialidades .w > div {
  max-width: 500px;
}
/* depoimentos */
#depoimentos {
  background: var(--sand);
  color: var(--td);
  padding: 80px 0;
}
#depoimentos .g {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 64px;
  align-items: center;
}
#depoimentos .eb {
  color: var(--pd);
}
#depoimentos h2 {
  color: var(--td);
  margin: 0;
}
.car {
  position: relative;
  min-height: 170px;
}
.sl {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.5s,
    transform 0.5s;
  transform: translateX(14px);
  pointer-events: none;
}
.sl.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.sl q {
  display: block;
  font: 400 clamp(18px, 1.8vw, 22px)/1.55 var(--serif);
  quotes: "“" "”";
}
.sl cite {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--pd);
  font-style: normal;
}
.arr {
  display: flex;
  gap: 12px;
}
.arr button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(28, 34, 30, 0.25);
  background: none;
  color: var(--td);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.arr button:hover {
  background: var(--td);
  color: var(--tl);
}
/* contato */
#contato {
  padding: 96px 0;
  background: var(--dk);
}
#contato .g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
input,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--tl);
  font: 400 14px var(--sans);
  padding: 16px 18px;
  outline: 0;
  transition: 0.25s;
}
input::placeholder,
textarea::placeholder {
  color: #8f958f;
}
input:focus,
textarea:focus {
  border-color: rgba(236, 231, 223, 0.7);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
form .btn {
  align-self: flex-end;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 30px);
  background: var(--bg);
  color: var(--td);
  padding: 16px 26px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 90;
  display: flex;
  gap: 12px;
  align-items: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* footer */
footer {
  background: var(--dk2);
  border-top: 1px solid var(--ll);
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px));
}
footer .w {
  display: grid;
  grid-template-columns: auto 1fr auto 1.3fr;
  gap: 40px;
  align-items: center;
  font-size: 13px;
  color: var(--pl);
}
footer .logo img {
  height: 32px;
}
.fi {
  display: flex;
  gap: 12px;
  align-items: center;
}
.soc {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.soc a {
  color: var(--tl);
  opacity: 0.8;
}
.soc a:hover {
  opacity: 1;
}
.soc span {
  border-left: 1px solid var(--ll);
  padding-left: 16px;
  max-width: 200px;
  line-height: 1.4;
}
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 980px) {
  nav,
  header .b-ol {
    display: none;
  }
  .burger {
    display: block;
  }
  nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--dk);
    padding: 12px 32px 24px;
    border-bottom: 1px solid var(--ll);
  }
  nav.open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--ll);
  }
  .row {
    grid-template-columns: 1fr 1fr;
  }
  .row > .lead {
    grid-column: 1/-1;
    padding: 0 0 32px;
  }
  .col {
    border-top: 1px solid var(--ld);
    border-left: 0;
  }
  #sobre {
    grid-template-columns: 1fr;
  }
  #sobre .img {
    min-height: 300px;
  }
  #sobre .yr {
    padding: 48px 0;
  }
  #inicio .ph,
  #especialidades .ph {
    inset: 0;
    opacity: 0.45;
  }
  #depoimentos .g,
  #contato .g {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  footer .w {
    grid-template-columns: 1fr 1fr;
  }
  .soc {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .w {
    padding: 0 22px;
  }
  footer .w {
    grid-template-columns: 1fr;
  }
}
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
@media (max-width: 1180px) {
  nav {
    gap: 22px;
  }
  header .b-ol {
    padding: 9px 16px;
  }
  .col {
    padding: 12px 14px;
    font-size: 14px;
  }
  .row > .lead {
    padding-right: 24px;
  }
}
@media (max-width: 1100px) and (min-width: 981px) {
  .row {
    grid-template-columns: repeat(4, 1fr);
  }
  .row > .lead {
    grid-column: 1/-1;
    padding: 0 0 32px;
  }
  .col {
    border-top: 1px solid var(--ld);
    border-left: 0;
  }
  #sobre {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 980px) {
  #inicio {
    min-height: auto;
    padding: 120px 0 72px;
  }
  #inicio .ph {
    background-position: 72% center;
  }
  #servicos,
  #contato {
    padding: 64px 0;
  }
  #diferenciais {
    padding: 56px 0;
  }
  #depoimentos {
    padding: 60px 0;
  }
  #especialidades {
    min-height: 0;
    padding: 64px 0;
  }
  #sobre .mid {
    padding: 56px 28px;
  }
  #sobre .img {
    min-height: 320px;
  }
  .sl {
    min-height: 0;
  }
  .arr {
    justify-content: flex-start;
  }
  p.t {
    max-width: 560px;
  }
  #contato .g {
    gap: 32px;
  }
}
@media (max-width: 560px) {
  html {
    scroll-padding-top: 60px;
  }
  header .w {
    height: 60px;
  }
  nav.open {
    top: 60px;
    padding: 8px 22px 20px;
  }
  .logo img {
    height: 30px;
  }
  footer .logo img {
    height: 28px;
  }
  h1 {
    font-size: clamp(36px, 11vw, 46px);
  }
  h2 {
    font-size: clamp(26px, 7.5vw, 32px);
  }
  .eb {
    font-size: 11px;
    letter-spacing: 0.13em;
    margin-bottom: 16px;
  }
  .eb::after {
    flex-basis: 32px;
  }
  #inicio {
    padding: 104px 0 56px;
  }
  #inicio .w,
  #especialidades .w {
    padding: 0 22px;
  }
  .lead .btn,
  .mid .btn,
  #especialidades .btn,
  #inicio .btn,
  form .btn {
    width: 100%;
    justify-content: center;
  }
  .row {
    grid-template-columns: 1fr 1fr;
  }
  .col {
    min-height: 120px;
    padding: 18px 8px;
    font-size: 13.5px;
    gap: 12px;
  }
  .col svg {
    width: 34px;
    height: 34px;
  }
  .col br {
    display: none;
  }
  #sobre .mid {
    padding: 44px 22px;
  }
  #sobre .img {
    min-height: 260px;
  }
  #sobre .yr {
    padding: 36px 0;
  }
  input,
  textarea {
    font-size: 16px;
  }
  .soc span {
    border-left: 0;
    padding-left: 0;
    max-width: none;
    flex-basis: 100%;
  }
  #toast {
    width: calc(100% - 32px);
    left: 16px;
    transform: translateY(30px);
  }
  #toast.show {
    transform: none;
  }
  .sl q {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
