/* ================================= */
/* STATEMENT + CONTACT WRAPPER       */
/* ================================= */

.statement-contact-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

.statement-contact-wrapper > .statement-layer,
.statement-contact-wrapper > .contact-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.statement-contact-wrapper > .statement-layer {
  z-index: 10;
  background-color: var(--primary-red);
  pointer-events: auto;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.statement-contact-wrapper > .contact-layer {
  z-index: 0;
  background-color: var(--neutral-normal);
  pointer-events: none;
  opacity: 1;
}

.statement-contact-wrapper > .contact-layer[aria-hidden="false"] {
  pointer-events: auto;
}

#contact {
  min-height: 0 !important;
}

/* ================================= */
/* CONTACT CONTENT                   */
/* ================================= */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  width: 100%;
  padding: 4rem;
  background-color: var(--neutral-normal);
}

.contact-content-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4rem;
  max-width: 575px;
  margin-bottom: 4rem;
}

.contact-description {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.84px;
  color: var(--neutral-light);
  margin: 0;
}

.contact-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background-color: var(--primary-green);
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: var(--neutral-normal);
  cursor: pointer;
  transition: color 0.4s ease;
  width: fit-content;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-cta-button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-red);
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
  border-radius: 10px;
}

.contact-cta-button:hover::before {
  height: 100%;
}

.contact-cta-button:hover {
  color: var(--neutral-light);
}

.contact-cta-button:active {
  transform: scale(0.98);
}

.calendar-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-email {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-green);
  text-decoration: none;
  margin: -13px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: inline-block;
  overflow: visible;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-email:hover::after {
  transform: translateX(0);
}

.contact-email:hover {
  animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

.contact-title {
  width: 100%;
  height: auto;
  margin: 4rem 0 0 0;
  display: block;
}

.contact-title svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================= */
/* REVEAL ANIMATION                  */
/* ================================= */

.contact-layer [data-reveal] {
  transform: translateY(40px);
  transition-property: transform;
  transition-duration: 600ms;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-layer.contact--revealed [data-reveal] {
  transform: translateY(0);
}

/* ================================= */
/* RESPONSIVE                        */
/* ================================= */

/* Desktop Large: 1920px+ */
@media (min-width: 1920px) {
  /* Mantém valores base - sem alterações necessárias */
}

/* Desktop Padrão: 1440px - 1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
  /* Mantém valores base - sem alterações necessárias */
}

/* Laptop: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
  .contact-section {
    padding: 3.5rem;
  }
  
  .contact-content-top {
    gap: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-description {
    font-size: 2.7rem;
    letter-spacing: 0.74px;
  }
  
  .contact-cta-button {
    font-size: 1.125rem;
    padding: 0.9375rem 1.875rem;
    gap: 1.375rem;
  }
  
  .calendar-icon {
    width: 22px;
    height: 22px;
  }
  
  .contact-email {
    font-size: 2.2rem;
    letter-spacing: 0.7px;
  }
  
  .contact-title {
    margin: 3.5rem 0 0 0;
  }
}

/* Tablet Landscape: 768px - 1023px */
@media (max-width: 1023px) {
  .contact-section {
    padding: 3rem 2rem;
  }
  
  .contact-content-top {
    gap: 3rem;
    max-width: 100%;
  }
  
  .contact-description {
    font-size: 4rem;
    letter-spacing: 0.64px;
  }
  
  .contact-cta-button {
    font-size: 1.125rem;
    padding: 0.875rem 1.75rem;
    gap: 1.25rem;
  }
  
  .calendar-icon {
    width: 20px;
    height: 20px;
  }
  
  .contact-email {
    font-size: 2rem;
    letter-spacing: 0.64px;
    text-align: left;
    padding-left: 0.8rem;
  }
  
  .contact-title {
    margin: 3rem 0 0 0;
  }
}

/* Tablet Portrait: 600px - 767px */
@media (max-width: 767px) {
  .contact-section {
    padding: 2rem 1.5rem;
  }
  
  .contact-content-top {
    gap: 2rem;
  }
  
  .contact-description {
    font-size: 1.5rem;
    letter-spacing: 0.48px;
    line-height: 1.3;
  }
  
  .contact-cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    gap: 1rem;
  }
  
  .calendar-icon {
    width: 18px;
    height: 18px;
  }
  
  .contact-email {
    font-size: 1.5rem;
    letter-spacing: 0.48px;
    word-break: break-all;
  }
  
  .contact-title {
    margin: 2rem 0 0 0;
  }
}

/* Mobile Large: 480px - 599px */
@media (max-width: 599px) {
  .contact-section {
    padding: 2rem 1.5rem;
  }
  
  .contact-content-top {
    gap: 2.5rem;
  }
  
  .contact-description {
    font-size: 1.625rem;
    letter-spacing: 0.52px;
    line-height: 1.2;
  }
  
  .contact-cta-button {
    font-size: 1.0625rem;
    padding: 0.8125rem 1.625rem;
    gap: 1.125rem;
  }
  
  .calendar-icon {
    width: 19px;
    height: 19px;
  }
  
  .contact-email {
    font-size: 1.625rem;
    letter-spacing: 0.52px;
  }
  
  .contact-title {
    margin: 2.5rem 0 0 0;
  }
}

/* Mobile Padrão: 360px - 479px */
@media (max-width: 479px) {
  .contact-section {
    padding: 1.75rem 1.25rem;
  }
  
  .contact-description {
    font-size: 2.375rem;
    letter-spacing: 0.44px;
    line-height: 1.0;
  }
  
  .contact-cta-button {
    font-size: 0.9375rem;
    padding: 0.6875rem 1.375rem;
    gap: 0.875rem;
  }
  
  .calendar-icon {
    width: 18px;
    height: 18px;
  }
  
  .contact-email {
    font-size: 1.3125rem;
    letter-spacing: 0.42px;
  }
  
  .contact-title {
    margin: 2rem 0 0 0;
  }
}

/* Mobile Small: 375px e abaixo */
@media (max-width: 375px) {
  .contact-section {
    padding: 1.5rem 1rem;
  }
  
  .contact-description {
    font-size: 1.65rem;
    letter-spacing: 0.4px;
  }
  
  .contact-cta-button {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    gap: 0.75rem;
  }
  
  .contact-email {
    font-size: 1.125rem;
    letter-spacing: 0.36px;
  }
  
  .contact-title {
    margin: 1.5rem 0 0 0;
  }
}

/* ================================= */
/* REDUCED MOTION                    */
/* ================================= */

@media (prefers-reduced-motion: reduce) {
  .contact-layer [data-reveal] {
    transition: none;
    transform: none;
  }
  
  .contact-cta-button {
    transition: none;
  }
  
  .contact-cta-button::before {
    transition: none;
  }
  
  .contact-email::after {
    transition: none;
  }
  
  .contact-email:hover {
    animation: none;
  }
}

/* ================================= */
/* ACCESSIBILITY                     */
/* ================================= */

@media (prefers-contrast: high) {
  .contact-layer {
    border-top: 2px solid var(--neutral-light);
  }
}

.contact-layer a,
.contact-layer button {
  outline: none;
}

.contact-layer a:focus,
.contact-layer button:focus {
  outline: none;
}