/*
Theme Name: DAMATA V2
Theme URI: https://example.com/
Author: DAMATA
Description: Tema personalizado DAMATA para WordPress.
Version: 2.1.0
Text Domain: damata-v2
*/

:root {
  --ink: #0e2517;
  --black: #000;
  --white: #fff;
  --muted: #6f756f;
  --line: rgba(14, 37, 23, 0.18);
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Helvetica Now Text", Helvetica, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.topbar {
  align-items: center;
  display: flex;
  height: 88px;
  justify-content: space-between;
  left: 0;
  padding: 0 56px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.topbar--solid {
  background: #fff;
  color: #000;
  position: sticky;
  top: 0;
}

.topbar--glass {
  color: #fff;
}

.brand {
  display: block;
  aspect-ratio: 121.576 / 23.4544;
  flex: 0 0 auto;
  width: 118px;
}

.brand img,
.footer__logo {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.navlinks {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.navlinks a {
  font-size: 16px;
  line-height: 18px;
  white-space: nowrap;
}

.pill {
  align-items: center;
  background: transparent;
  border: 1.2px solid currentColor;
  border-radius: 20px;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  justify-content: center;
  line-height: 1.15;
  padding: 8px 15px 10px;
  width: fit-content;
}

.pill--light {
  color: #fff;
  font-size: 16px;
  line-height: 18px;
}

.hero {
  background: #000;
  color: #fff;
  min-height: 930px;
  overflow: hidden;
  position: relative;
}

.hero__image {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center top;
  opacity: 0.78;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  will-change: transform;
}

.hero::after,
.cta::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.thank-you {
  background: #000;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.thank-you::after {
  background: rgba(0, 0, 0, 0.48);
  content: "";
  inset: 0;
  position: absolute;
}

.thank-you__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.thank-you__message {
  left: 50%;
  max-width: 680px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  z-index: 1;
}

.thank-you__message h1 {
  font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 18px;
}

.thank-you__message p {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
}

.hero__content {
  bottom: 60px;
  left: 56px;
  max-width: 440px;
  position: absolute;
  z-index: 2;
}

.hero__form {
  bottom: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
  position: absolute;
  right: 56px;
  width: min(360px, calc(100% - 112px));
  z-index: 2;
}

.hero__form h2 {
  font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 4px;
}

.hero__form label {
  display: grid;
  gap: 3px;
}

.hero__form span {
  font-size: 18px;
  line-height: 1.2;
}

.hero__form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #fff;
  color: #fff;
  height: 35px;
  outline: none;
}

.hero h1,
.section__eyebrow,
.cta h2,
.location h2,
.signature-grid h2 {
  font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 40px;
  line-height: 1;
  margin: 0 0 22px;
}

.hero p {
  font-size: 18px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero .pill {
  margin-top: 22px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 76px 56px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-soft {
  will-change: transform;
}

.section__eyebrow {
  color: var(--ink);
  font-size: 40px;
  line-height: 1.1;
  margin: 0 auto 24px;
  max-width: 660px;
  text-align: center;
}

.section__lead {
  font-size: 18px;
  line-height: 1.2;
  margin: 0 auto 86px;
  max-width: 650px;
  text-align: center;
}

.section__button {
  display: flex;
  margin: 46px auto 0;
  width: fit-content;
}

.feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card img {
  aspect-ratio: 332 / 273;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  margin: 42px 0 10px;
}

.feature-card p {
  font-size: 16px;
  line-height: 18px;
  margin: 0;
}

.gallery {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.gallery__carousel {
  margin-top: 70px;
  overflow: hidden;
  position: relative;
}

.gallery__stage {
  display: flex;
  height: 840px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
  user-select: none;
}

.gallery__stage::-webkit-scrollbar {
  display: none;
}

.gallery__stage figure {
  background: #111;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.gallery__stage img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  will-change: transform;
}

.gallery__stage figcaption {
  bottom: 58px;
  color: #fff;
  font-size: 18px;
  left: 56px;
  position: absolute;
}

.gallery__arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  height: 88px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  z-index: 4;
}

.gallery__arrow--prev {
  left: 22px;
}

.gallery__arrow--next {
  right: 22px;
}

.gallery__arrow:disabled {
  cursor: default;
  opacity: 0.35;
}

.plans__wrap {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 980px;
}

.plans__copy h3 {
  font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 20px;
}

.plans__copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.plans__selector {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.plans__selector span {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.plans__selector select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  min-height: 48px;
  padding: 12px 44px 12px 14px;
  width: min(100%, 360px);
}

.plans__selector select:focus {
  border-color: var(--ink);
  outline: 2px solid rgba(14, 37, 23, 0.12);
  outline-offset: 2px;
}

.plans__meta {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}

.plans__meta p {
  margin: 0;
}

.plans__meta .plans__name {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.plans__meta .plans__description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.plans__image-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  padding: 0;
}

.plans__image {
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.plans__image-button:focus-visible {
  outline: 2px solid rgba(14, 37, 23, 0.35);
  outline-offset: 8px;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 980px;
}

.detail-list p {
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  padding: 22px 0;
}

.detail-list p:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.signature-grid {
  display: grid;
  gap: 88px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1050px;
  text-align: center;
}

.signature-grid h2 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 64px;
}

.signature-grid img {
  aspect-ratio: 428 / 492;
  object-fit: cover;
  width: 100%;
}

.signature-grid h3 {
  font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 42px;
  margin: 48px 0 24px;
}

.signature-grid p {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 500px;
}

.location {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.location__intro {
  display: grid;
  gap: 72px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 56px 86px;
}

.location h2 {
  color: var(--ink);
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 34px;
}

.location p,
.location li {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.location ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.location li {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.location li::before {
  content: "•";
  margin-right: 28px;
}

.map-block {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 56px;
  text-align: center;
}

.map-block p {
  margin: 0 0 36px;
}

.map-embed {
  background: #d9d9d9;
  height: 500px;
  margin-bottom: 46px;
  overflow: hidden;
  width: 100%;
}

.map-embed iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.cta {
  color: #fff;
  min-height: 816px;
  position: relative;
}

.cta > img {
  height: 120%;
  left: 0;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: -10%;
  width: 100%;
  will-change: transform;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 21px;
  left: 56px;
  max-width: 390px;
  position: relative;
  padding-top: 130px;
  z-index: 2;
}

.cta h2 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.cta label {
  display: grid;
  gap: 3px;
}

.cta span {
  font-size: 20px;
  line-height: 1.2;
}

.cta input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #fff;
  color: #fff;
  height: 35px;
  outline: none;
}

.form-feedback {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.cta button {
  margin-top: 6px;
}

.footer {
  align-items: start;
  background: #000;
  color: #fff;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 280px;
  padding: 58px 56px 34px;
}

.footer__logo {
  aspect-ratio: 70.6468 / 42.5547;
  grid-column: 1;
  grid-row: 1;
  height: auto;
  width: 72px;
}

.footer address {
  display: grid;
  font-style: normal;
  gap: 6px;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.footer p {
  font-size: 14px;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin: 92px 0 0;
}

.back-to-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 37, 23, 0.28);
  border-radius: 999px;
  bottom: 34px;
  color: var(--ink);
  display: flex;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: fixed;
  right: 34px;
  width: 42px;
  z-index: 30;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #fff;
  border-color: var(--ink);
  outline: none;
}

.plan-modal[hidden] {
  display: none;
}

.plan-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 40px;
  position: fixed;
  z-index: 60;
}

.plan-modal__overlay {
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  cursor: zoom-out;
  inset: 0;
  position: absolute;
}

.plan-modal__content {
  background: #fff;
  max-height: calc(100vh - 80px);
  max-width: min(1080px, calc(100vw - 80px));
  padding: 28px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.plan-modal__content h2 {
  color: var(--ink);
  font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 54px 20px 0;
}

.plan-modal__gallery {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.plan-modal__image {
  max-height: calc(100vh - 180px);
  object-fit: contain;
  width: 100%;
}

.plan-modal__arrow {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(14, 37, 23, 0.3);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  width: 48px;
}

.plan-modal__arrow:hover,
.plan-modal__arrow:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.plan-modal__counter {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  margin: 16px 0 0;
  text-align: center;
}

.plan-modal__close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(14, 37, 23, 0.3);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 40px;
}

.plan-modal__close:hover,
.plan-modal__close:focus-visible {
  border-color: var(--ink);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .parallax-soft {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .topbar {
    padding: 0 24px;
  }

  .navlinks {
    display: none;
  }

  .feature-grid,
  .signature-grid,
  .plans__wrap,
  .location__intro,
  .detail-list,
  .footer {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .location__intro,
  .map-block {
    padding-left: 24px;
    padding-right: 24px;
  }

  .detail-list p:nth-last-child(2) {
    border-bottom: 0;
  }

  .footer {
    gap: 28px;
    min-height: 0;
  }

  .footer__logo,
  .footer address,
  .footer p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer p {
    margin: 0;
  }
}

@media (max-width: 680px) {
  .brand {
    width: 94px;
  }

  .topbar {
    height: 72px;
  }

  .topbar .pill {
    font-size: 14px;
  }

  .hero {
    min-height: 900px;
  }

  .hero__content,
  .cta__form {
    left: 24px;
    right: 24px;
  }

  .hero__content {
    bottom: 368px;
  }

  .hero__form {
    bottom: 58px;
    left: 24px;
    max-width: none;
    right: 24px;
    width: auto;
  }

  .hero__form h2 {
    font-size: 28px;
  }

  .hero h1,
  .section__eyebrow,
  .cta h2,
  .location h2,
  .signature-grid h2 {
    font-size: 32px;
  }

  .thank-you__message h1 {
    font-size: 34px;
  }

  .thank-you__message p {
    font-size: 18px;
  }

  .back-to-top {
    bottom: 22px;
    font-size: 20px;
    height: 38px;
    right: 22px;
    width: 38px;
  }

  .plan-modal {
    padding: 18px;
  }

  .plan-modal__content {
    max-height: calc(100vh - 36px);
    max-width: calc(100vw - 36px);
    padding: 20px;
  }

  .plan-modal__content h2 {
    font-size: 22px;
  }

  .plan-modal__gallery {
    gap: 10px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  .plan-modal__arrow {
    font-size: 28px;
    height: 36px;
    width: 36px;
  }

  .plan-modal__close {
    right: 16px;
    top: 16px;
  }

  .section__lead {
    margin-bottom: 48px;
  }

  .gallery__stage {
    height: 560px;
  }

  .gallery__arrow {
    font-size: 44px;
    height: 64px;
    width: 48px;
  }

  .gallery__arrow--prev {
    left: 8px;
  }

  .gallery__arrow--next {
    right: 8px;
  }

  .footer p {
    justify-self: start;
  }

  .footer {
    gap: 24px;
    padding: 42px 24px 34px;
  }

  .footer address {
    gap: 5px;
    line-height: 1.35;
  }

  .footer__logo {
    width: 68px;
  }
}
