:root {
  --color-green: #7A9B76;
  --color-green-dark: #5A7B56;
  --color-sand: #E8DCC4;
  --color-cream: #F5F1E8;
  --color-brown: #8B7355;
  --color-brown-dark: #6B5545;
  --color-accent: #D4A574;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: #333;
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
 position: relative;
  background-image: url("./img/casas.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
   

  /* Altura e organização */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;


  
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  
  z-index: 1;
}

.hero-content,
.floral-pattern,
.floating-flowers,
.scroll-indicator {
  position: relative;
  z-index: 2; /* fica acima do overlay */
}

@media (max-width: 992px) {
  .hero {
    padding: 0 3rem;
    min-height: 85vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .cta-primary {
    font-size: 1.1rem;
    padding: 0.9rem 1.8rem;
  }

  .floral-pattern {
    transform: scale(0.8);
    opacity: 0.7;
  }
}

/* Overlay para dar contraste e melhorar leitura */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* mais escuro para dar contraste */
  backdrop-filter: brightness(0.8); /* mantém a imagem nítida porém mais escura */
  z-index: 1;
}

/* ===== TEXTOS DO HERO MAIS VISÍVEIS ===== */
.hero-title,
.hero-subtitle {
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0,0,0,0.75); /* destaca muito bem no fundo */
}

/* Ajuste fino da legibilidade */
.hero-title {
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-top: 10px;
  color: #f5f5f5;
}

/* Garante que o conteúdo fica acima do overlay */
.hero-content {
  position: relative;
  z-index: 3;
}

/* ===== MOBILE: ainda mais contraste ===== */
@media (max-width: 600px) {

  .hero-overlay {
    background: rgba(0, 0, 0, 0.55); /* no mobile a imagem atrapalha +, então escurece um pouco mais */
  }

  .hero-title,
  .hero-subtitle {
    text-shadow: 0 4px 12px rgba(0,0,0,1);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}


/* ================================
   RESPONSIVIDADE – MOBILE
================================ */
@media (max-width: 600px) {
  .hero {
    padding: 0 1.5rem;
    min-height: 90vh;
    text-align: center;

    /* Ajusta a imagem para caber melhor */
    background-position: top center;
  }

  /* Deixa o overlay mais forte para melhorar leitura do texto no celular */


  /* Título menor porém mais destacado */
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Botão mais agradável ao toque */
  .cta-primary {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }

  /* Esconde padrões muito grandes no mobile para não poluir */
  .floral-pattern {
    opacity: 0.5;
    transform: scale(0.6);
  }

  /* Flores flutuantes reduzidas */
  .floating-flowers span {
    font-size: 0.8rem !important;
  }

  /* Indicador de scroll menor */
  .scroll-indicator {
    font-size: 1.2rem;
    bottom: 20px;
  }
}

/* ================================
   EXTRA: MOBILE MUITO PEQUENO
================================ */
@media (max-width: 420px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-primary {
    width: 100%;
  }
}


.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 11px),
    repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 11px);
  pointer-events: none
}

.floral-pattern {
  position: absolute;
  width: 300px;
  height: 300px;
  background-image:
    radial-gradient(circle at 20% 30%, #E8B4B8 0%, transparent 50%),
    radial-gradient(circle at 60% 70%, #F4E5A1 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, #A8C5A0 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, #F0C89C 0%, transparent 50%);
  background-size: 60px 60px, 50px 50px, 55px 55px, 65px 65px;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.floral-top-left {
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.floral-top-right {
  top: -100px;
  right: -100px;
  animation-delay: 2s;
}

.floral-bottom-left {
  bottom: -100px;
  left: -100px;
  animation-delay: 4s;
}

.floral-bottom-right {
  bottom: -100px;
  right: -100px;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease-out;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--color-cream);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-primary {
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 18px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease-out 0.6s backwards;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-primary:hover {
  background-color: var(--color-brown);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.cta-secondary {
  background-color: transparent;
  color: var(--color-green-dark);
  border: 2px solid var(--color-green);
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-secondary:hover {
  background-color: var(--color-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 155, 118, 0.3);
}

.floating-flowers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-flowers::before,
.floating-flowers::after {
  content: '🌸';
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: floatFlower 15s infinite ease-in-out;
}

.floating-flowers::before {
  left: 20%;
  top: 30%;
  animation-delay: 2s;
}

.floating-flowers::after {
  right: 15%;
  top: 60%;
  animation-delay: 5s;
}

@keyframes floatFlower {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translate(40px, -80px) rotate(180deg);
    opacity: 0.8;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  animation: bounce 2s infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(20px);
  }
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-green-dark);
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.about {
  padding: 120px 0;
  background-color: white;
  position: relative;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(122,155,118,0.03) 15px, rgba(122,155,118,0.03) 16px),
    repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(122,155,118,0.03) 15px, rgba(122,155,118,0.03) 16px);
}

.floral-corner {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image:
    radial-gradient(circle at 30% 30%, #E8B4B8 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, #F4E5A1 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, #A8C5A0 0%, transparent 40%);
  background-size: 40px 40px, 35px 35px, 45px 45px;
  opacity: 0.2;
  pointer-events: none;
}

.floral-corner-left {
  top: 80px;
  left: 0;
}

.floral-corner-right {
  bottom: 80px;
  right: 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
}

.gallery {
  padding: 120px 0;
  background-color: var(--color-cream);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 32px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-serif);
}

.floral-scroll {
  position: absolute;
  width: 150px;
  height: 150px;
  background-image:
    radial-gradient(circle, #E8B4B8 0%, transparent 50%),
    radial-gradient(circle, #F4E5A1 0%, transparent 50%),
    radial-gradient(circle, #A8C5A0 0%, transparent 50%);
  background-size: 50px 50px, 40px 40px, 45px 45px;
  opacity: 0.15;
  pointer-events: none;
}

.floral-scroll-1 {
  top: 10%;
  right: 5%;
  animation: rotate 30s linear infinite;
}

.floral-scroll-2 {
  bottom: 10%;
  left: 5%;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.amenities {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-cream) 100%);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.amenity-card {
  background-color: white;
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 2px solid transparent;
}

.amenity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: var(--color-green);
}

.amenity-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.amenity-card:hover .amenity-icon {
  filter: grayscale(0);
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-green-dark);
  margin-bottom: 12px;
}

.amenity-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.floor-plans {
  padding: 120px 0;
  background-color: white;
  position: relative;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(122,155,118,0.02) 20px, rgba(122,155,118,0.02) 21px),
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(122,155,118,0.02) 20px, rgba(122,155,118,0.02) 21px);
}

.plans-category {
  margin-bottom: 80px;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-brown-dark);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.category-title::before {
  content: '🌿';
  margin-right: 16px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.plan-card {
  background-color: var(--color-cream);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  border: 3px solid transparent;
}

.plan-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.2);
  border-color: var(--color-green);
}

.plan-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.plan-card:hover .plan-image img {
  transform: scale(1.12);
}

.floral-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(232,180,184,0.6) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(244,229,161,0.6) 0%, transparent 60%);
  background-size: 60px 60px, 50px 50px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.plan-card:hover .floral-overlay {
  opacity: 1;
}

.plan-info {
  padding: 32px;
}

.plan-info h4 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}

.plan-type {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-brown);
  background-color: var(--color-sand);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin: 24px 0;
}

.plan-features li {
  font-size: 1rem;
  color: #555;
  padding: 10px 0;
  border-bottom: 1px solid rgba(122,155,118,0.2);
  position: relative;
  padding-left: 28px;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.differentials {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  position: relative;
}

.differentials .section-title {
  color: white;
}

.differentials .section-title::after {
  background: linear-gradient(90deg, transparent, var(--color-sand), transparent);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.differential-item {
  background-color: rgba(255,255,255,0.95);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.differential-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  background-color: white;
}

.differential-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.differential-item:hover .differential-icon {
  filter: grayscale(0);
  animation: wiggle 0.5s ease;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

.differential-item p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brown-dark);
  line-height: 1.5;
}

.location {
  padding: 120px 0;
  background-color: var(--color-cream);
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(122,155,118,0.03) 25px, rgba(122,155,118,0.03) 26px);
}

.location-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.location-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-map:hover img {
  transform: scale(1.05);
}

.location-points h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-green-dark);
  margin-bottom: 32px;
}

.location-points ul {
  list-style: none;
}

.location-points li {
  font-size: 1.1rem;
  color: #555;
  padding: 16px 0;
  border-bottom: 1px solid rgba(122,155,118,0.2);
  transition: all 0.3s ease;
}

.location-points li:hover {
  padding-left: 16px;
  color: var(--color-green-dark);
  font-weight: 600;
}

.location-points li:last-child {
  border-bottom: none;
}

.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-sand) 0%, white 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-green-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.contact-info p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
}

.floral-decoration {
  width: 150px;
  height: 150px;
  background-image:
    radial-gradient(circle, #E8B4B8 0%, transparent 50%),
    radial-gradient(circle, #F4E5A1 0%, transparent 50%),
    radial-gradient(circle, #A8C5A0 0%, transparent 50%);
  background-size: 50px 50px, 45px 45px, 55px 55px;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

.contact-form {
  background-color: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 2px solid var(--color-sand);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--color-cream);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-green);
  background-color: white;
  box-shadow: 0 4px 12px rgba(122,155,118,0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
}

.footer {
  background-color: var(--color-brown-dark);
  color: white;
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 1rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--color-accent);
  transform: rotate(90deg);
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .about,
  .gallery,
  .amenities,
  .floor-plans,
  .differentials,
  .location,
  .contact {
    padding: 80px 0;
  }

  .gallery-grid,
  .amenities-grid,
  .plans-grid,
  .differentials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }

  .floral-pattern {
    width: 200px;
    height: 200px;
  }

  .location-content {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cta-primary {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}


/* Estilos específicos para a seção de plantas reformulada */
.floor-plans {
  position: relative;
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.plans-category-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.category-selector-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.category-selector-btn.active {
  color: #2c5530;
}

.category-selector-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #2c5530;
}

.category-selector-btn:hover {
  color: #2c5530;
}

.plans-type-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.plan-type-btn {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-type-btn.active {
  background-color: #2c5530;
  color: white;
  border-color: #2c5530;
}

.plan-type-btn:hover:not(.active) {
  background-color: #f0f0f0;
}

.plan-display-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  display: none;
}

.plan-display-container.active {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .plan-display-container.active {
    flex-direction: row;
  }
}

.plan-image-container {
  position: relative;
  flex: 1;
  overflow: hidden;
  background-color: #f9f9f9;
}

.plan-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .plan-image {
    height: 400px;
  }
}

.plan-details {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-details h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #2c5530;
}

.plan-type-badge {
  display: inline-block;
  background-color: #8fb996;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.plan-features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
}

.plan-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4a7c59;
  font-weight: bold;
}

.plan-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.plan-modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background-color: white;
}

/* Estilos específicos para a planta Aline */
.plan-display-container#casa-aline .plan-type-badge {
  background-color: #7aa881; /* Cor diferenciada para a Aline */
}

/* Ajustes para o botão da planta Aline */
.plan-type-btn[data-plan="casa-aline"] {
  position: relative;
}

.contact {
  text-align: center;
}

/* Menor distância entre título e formulário */
.top-centered {
  max-width: 700px;
  margin: 0 auto 1rem auto; /* reduzido de 2rem */
}

.center-form {
  display: flex;
  justify-content: center;
}

/* Formulário maior */
.contact-form {
  width: 100%;
  max-width: 600px; /* aumentado de 500px */
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}

/* Link da política */
.privacy-link {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  text-decoration: underline;
}

/* Modal */
.privacy-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.privacy-modal.active {
  display: flex;
}

.privacy-content {
  background: #fff;
  padding: 2rem;
  max-width: 650px;
  width: 100%;
  border-radius: 14px;
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-privacy {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 2rem;
  cursor: pointer;
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 22px;
  right: 22px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.25));
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }
}

.plan-image-container {
  position: relative;
}

.zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
  user-select: none;
  z-index: 20;
}

.zoom-icon:hover {
  background: rgba(0,0,0,0.75);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .zoom-icon {
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}
