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

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f6f3;
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================
   BARRA SUPERIOR DESKTOP
========================= */

.desktop-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 42px;

  z-index: 1000;

  background: rgba(247, 246, 243, 0.68);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 0;
}

.desktop-brand {
  display: inline-block;

  color: #171717;
  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.22em;

  white-space: nowrap;

  transition: opacity 0.25s ease;
}

.desktop-brand:hover {
  opacity: 0.5;
}

/* Abertura inspirada na Institucional: revelação leve e linhas desenhadas. */
.desktop-header {
  animation: contact-fade-in .8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-hero > div,
.contact-intro,
.contact-options,
.contact-closing,
.site-footer {
  animation: contact-reveal-up .84s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-intro { animation-delay: .13s; }
.contact-options { position: relative; animation-delay: .24s; }
.contact-closing { animation-delay: .1s; }
.site-footer { animation: contact-fade-in .9s .16s cubic-bezier(0.22, 1, 0.36, 1) both; }

.contact-option {
  position: relative;
  transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1), opacity .32s ease;
}

.contact-number,
.contact-main,
.contact-arrow {
  transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1), color .32s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-option:hover {
    opacity: 1;
    transform: translateX(.45rem);
  }

  .contact-option:hover .contact-number { transform: translateX(.18rem); }
  .contact-option:hover .contact-main { transform: translateX(.38rem); }
  .contact-option:hover .contact-arrow { transform: translateX(.38rem); }
}

@keyframes contact-reveal-up {
  from { opacity: 0; transform: translateY(.9rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes contact-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-header,
  .contact-hero > div,
  .contact-intro,
  .contact-options,
  .contact-closing,
  .site-footer,
}

.desktop-brand--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(6.25rem, 7vw, 8.25rem);
  height: 100%;
  min-height: 0;
  margin: 0;
  padding-block: 0;
  overflow: hidden;
  line-height: 0;
  position: static;
}

.desktop-brand--logo .brand-logo {
  display: block;
  width: 145%;
  max-width: none;
  height: auto;
  filter: none;
  mix-blend-mode: multiply;
  margin: 0;
  transform: none;
  position: static;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;

  color: #171717;
  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 9px;
  font-weight: 400;

  letter-spacing: 0.12em;

  white-space: nowrap;

  transition: opacity 0.25s ease;
}

.desktop-nav a:hover {
  opacity: 0.5;
}

.desktop-nav a.active {
  font-weight: 600;
}

.desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 100%;
  height: 1px;

  background: #171717;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}


/* =========================
   HEADER
========================= */

.site-header {
  width: 100%;
  padding: 30px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 23, 23, 0.15);
}

.brand {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 38px;
}

.main-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
  animation: contact-reveal-up .84s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Keep the first channel identical to the following rows: one thin rule,
   revealed with the same editorial animation and dimensions. */
.contact-option:first-child {
  border-top: 0;
  animation-delay: .24s;
}
.contact-option:nth-child(2) { animation-delay: .32s; }
.contact-option:nth-child(3) { animation-delay: .40s; }
.contact-option:nth-child(4) { animation-delay: .48s; }
.contact-option:nth-child(5) { animation-delay: .56s; }
.contact-option:nth-child(5) .contact-main h2 { white-space: normal; }

.main-nav a:hover {
  opacity: 0.45;
}


/* =========================
   CONTACT HERO
========================= */

.contact-hero {
  min-height: 65vh;
  padding: 14vh 8vw 10vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 0;
}

.eyebrow,
.section-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 38px;
}

.contact-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(58px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.contact-intro {
  align-self: flex-end;
  max-width: 470px;
  margin-top: 80px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}


/* =========================
   CONTACT OPTIONS
========================= */

.contact-options {
  padding: 0 8vw;
  border-top: 1px solid rgba(23, 23, 23, 0.15);
}

.contact-option {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 5vw;
  padding: 65px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.15);
  transition: opacity 0.3s ease;
}

.contact-option:hover {
  opacity: 0.55;
}

.contact-number {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #777;
}

.contact-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #777;
  margin-bottom: 15px;
}

.contact-main h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -0.03em;
}

.contact-arrow {
  font-size: 28px;
  font-weight: 300;
}


/* =========================
   CLOSING
========================= */

.contact-closing {
  padding: 18vh 8vw;
  border-bottom: 1px solid rgba(23, 23, 23, 0.15);
}

.contact-closing h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  width: 100%;
  border-top: .5px solid rgba(23, 23, 23, 0.15);
  padding: 30px 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #777;
}
.site-footer > span, .site-footer .copyright { min-width: 0; }
.site-footer > span:nth-child(2) { text-align:center; }
.site-footer .copyright { text-align:right; white-space:nowrap; }


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .desktop-header {
    display: none;
}

  .site-header {
    padding: 24px 6vw;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .contact-hero {
    min-height: 70vh;
    padding: 12vh 7vw 9vh;
  }

  .contact-hero h1 {
    font-size: clamp(48px, 14vw, 78px);
  }

  .contact-intro {
    align-self: auto;
    margin-top: 60px;
    font-size: 14px;
  }

  .contact-options {
    padding: 0 7vw;
    border-top-width: .5px;
  }

  .contact-option {
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 50px 0;
  }

  .contact-main {
    min-width: 0;
  }

  .contact-main h2 {
    font-size: clamp(1.18rem, 5.2vw, 1.42rem);
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .contact-arrow {
    font-size: 22px;
    justify-self: end;
  }

  .contact-closing {
    padding: 14vh 7vw;
  }

  .contact-closing h2 {
    font-size: clamp(42px, 11vw, 65px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 25px 6vw;
    font-size: 8px;
    gap: 10px;
  }
.site-footer > span:nth-child(2), .site-footer .copyright { text-align:left; }
  .site-footer .copyright { white-space:normal; }

}
