/* ===========================================
   PLAZA ACQUA LIVING - Estilos Principais
   =========================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--color-dark);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--light {
  background-color: var(--color-off-white);
}

.section--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary {
  background-color: var(--color-cta);
  color: var(--color-white);
  border: none;
}

.btn--primary:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn--white:hover {
  background-color: var(--color-off-white);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  height: 50px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-dark);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link:hover {
  color: var(--color-primary);
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  transition: all var(--transition-base);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 150vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(217, 210, 203, 0.95) 0%, rgba(217, 210, 203, 0.7) 50%, rgba(217, 210, 203, 0.3) 100%);
}

.hero__container {
  grid-template-rows: auto auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  color: var(--color-dark);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero__subtitle {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero__address {
  font-size: var(--text-lg);
  color: var(--color-dark);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(74, 67, 71, 0.28);
}

.hero-image {
  min-height: 220px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #d9d2cb, #c0b8ad) !important;
}

/* ===== FORMULÁRIO DE LEAD ===== */
.lead-form {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 420px;
}

.lead-form__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
  text-align: center;
}

.lead-form__subtitle {
  font-size: var(--text-base);
  color: var(--color-gray);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.lead-form__group {
  margin-bottom: var(--space-md);
}

.lead-form__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-sm);
}

.lead-form__input,
.lead-form__select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.lead-form__input:focus,
.lead-form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(149, 162, 139, 0.2);
}

.lead-form__input::placeholder {
  color: var(--color-gray);
}

.lead-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.lead-form__select:invalid {
  color: var(--color-gray);
}

.lead-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.lead-form__checkbox input {
  margin-top: 4px;
  accent-color: var(--color-primary);
}

.lead-form__checkbox-label {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.4;
}

.lead-form__submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background-color: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lead-form__submit:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ===== BARRA DECORATIVA ===== */
.decorative-bar {
  height: 42px;
  background-color: var(--color-dark);
  width: 100%;
}

/* ===== SOBRE O EMPREENDIMENTO ===== */
.about {
  background-color: var(--color-off-white-warm);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-image: url('../img/elementos/elemento aberto.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.about__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.about__title {
  margin-bottom: var(--space-lg);
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about__feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.about__feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about__feature-text {
  font-size: var(--text-base);
  color: var(--color-dark);
  margin-bottom: 0;
}

.feature-text-bold {
  font-size: x-large;
  font-weight: 700;
}

/* ===== GALERIA ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-4xl);
}

.gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.gallery__item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ===== CONDIÇÕES COMERCIAIS ===== */
.pricing {
  background-color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/elementos/padronagem_fragmentada.svg');
  background-size: 400px;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}

.pricing__title {
  margin-bottom: var(--space-lg);
}

.pricing__description {
  font-size: var(--text-lg);
  color: var(--color-gray);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.studio__description {
    font-size: var(--text-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing__highlights {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.pricing__item {
  text-align: center;
}

.pricing__label {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-xs);
}

.pricing__value {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--color-dark);
}

/* ===== PLANTAS ===== */
.floor-plans {
  background-color: var(--color-green-light);
  border-top: 3px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

.floor-plans::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background-image: url('../img/elementos/Elemento fechado.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.floor-plans__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.floor-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.floor-plan-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

.floor-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.floor-plan-card__image {
  aspect-ratio: 4/3;
  background-color: var(--color-off-white);
  overflow: hidden;
  position: relative;
}

.floor-plan-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

.floor-plan-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.floor-plan-card:hover .floor-plan-card__overlay {
  opacity: 1;
}

.floor-plan-card__overlay-text {
  color: var(--color-white);
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
}

.floor-plan-card__content {
  padding: var(--space-lg);
  text-align: center;
}

.floor-plan-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-dark);
}

/* ===== DEPOIMENTOS ===== */
.testimonials {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-image: url('../img/elementos/elemento aberto.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.testimonial-video {
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.testimonial-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.testimonials__cta {
  text-align: center;
}

/* ===== LOCALIZAÇÃO ===== */
.location {
  background-color: var(--color-off-white-warm);
}

.location__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== SOBRE A CONSTRUTORA ===== */
.constructor {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.constructor__container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.constructor__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.constructor__logo {
  width: 180px;
  height: auto;
}

.constructor__years {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.constructor__years-number {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  line-height: 1;
}

.constructor__years-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.constructor__content {
  max-width: 600px;
}

.constructor__title {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
}

.constructor__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.constructor__text:last-of-type {
  margin-bottom: 0;
}

.constructor__cta {
  margin-top: var(--space-xl);
}

.constructor__cta .btn {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.constructor__cta .btn:hover {
  background-color: var(--color-primary-dark);
}

.constructor__link {
  display: block;
  margin-top: var(--space-md);
  color: var(--color-primary);
  font-size: var(--text-sm);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.constructor__link:hover {
  color: var(--color-white);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-base);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
}

.footer__social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__copyright a {
  color: var(--color-white);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.footer__copyright a:hover {
  color: var(--color-primary);
}

/* ===== MODAL/LIGHTBOX ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.modal.active {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal__content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  color: var(--color-white);
  font-size: var(--text-2xl);
  cursor: pointer;
}

/* ===== UTILITÁRIOS ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.carousel-wrapper {
  margin-top: var(--space-4xl);
  padding: var(--space-2xl) 0;
}

.carousel-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-dark);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.owl-carousel {
  position: relative;
}

.carousel-item {
  padding: 0 var(--space-sm);
}

.carousel-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

/* .page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(144, 166, 139, 0.22), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(144, 155, 136, 0.2), transparent 40%),
    linear-gradient(140deg, #f6f1ed 0%, #efe8e0 40%, #f7f4f1 100%);
  z-index: -2;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/elementos/padronagem-fragmentada.svg") repeat;
  opacity: 0.12;
  mix-blend-mode: multiply;
} */