/* ===== ESTILOS GERAIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec {
  padding: 80px 0;
}

.pad {
  padding: 80px 0;
}

.alt {
  background-color: #f9f9f9;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #8e6841;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 40px;
  background-color: rgba(255, 255, 255, 0.98);
}

.contlog {
  display: flex;
  align-items: center;
}

.logo, .logoverm {
  height: 150px;
  transition: all 0.3s ease;
}

.logoverm {
  display: none;
}

.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #8e6841;
  transition: width 0.3s ease;
}

.menu a:hover:after, .menu a.active:after {
  width: 100%;
}

.menu a:hover, .menu a.active {
  color: #8e6841;
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
}

/* ===== HERO SECTION ===== */
.hero-home {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: brightness(0.8);
  transition: opacity 1s ease-in-out, transform 10s linear;
  transform: scale(1);
}

.image-container img.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  background-color: #8e6841;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #8e6841;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-hero:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-hero-outline {
  background-color: transparent;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid white;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-hero-outline:hover {
  background-color: white;
  color: #333;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-down span {
  margin-bottom: 5px;
  font-size: 14px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #333;
  margin-bottom: 15px;
  position: relative;
  line-height: 1.2;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: #8e6841;
  margin: 0 auto 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.intro-text {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

/* ===== TWO COLUMNS LAYOUT ===== */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.text-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  color: #333;
  line-height: 1.2;
}

.text-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #555;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.image-content {
  display: flex;
  justify-content: center;
}

.history-image-frame {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.history-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(142, 104, 65, 0.05));
}

.history-details {
  margin-top: 30px;
}

.history-expand {
  display: none;
  margin-bottom: 20px;
}

.history-expand.show {
  display: block;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  margin-bottom: 20px;
}

.icon-lg {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #8e6841;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
  color: #333;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.card p {
  color: #666;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== VIDEO CONTAINER ===== */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.video-container iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== CAROUSEL ===== */
.carrocelcasamento {
  margin: 40px auto;
  width: 100%;
}

.carrocelcasamento .slick-slide {
  margin: 0 15px;
}

.carrocelcasamento img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carrocelcasamento .slick-slide:hover img {
  transform: scale(1.05);
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before,
.slick-next:before,
.slick-prev:before {
  color: #8e6841;
}

.slick-prev, .slick-next {
  z-index: 1;
}

.slick-prev {
  left: 25px;
}

.slick-next {
  right: 25px;
}

/* ===== VISITA SECTION ===== */
.visita-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/Captura\ de\ tela\ 2025-01-27\ 093700.png') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.visita-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.visita-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.visita-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ===== LOCALIZAÇÃO ===== */
.localizacao-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #555;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.info-item i {
  color: #8e6841;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.mapa-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
  width: 100%;
}

.mapa-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== SUSTENTABILIDADE ===== */
.sustentabilidade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sustentabilidade-item {
  text-align: center;
}

.sustentabilidade-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.sustentabilidade-item img:hover {
  transform: scale(1.05);
}

.sustentabilidade-item h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
  color: #333;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.sustentabilidade-item p {
  color: #666;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.mobile-img {
  display: none;
}

/* ===== CONTATO ===== */
.contato-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-item i {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #8e6841;
  margin-top: 5px;
}

.info-item h4 {
  margin-bottom: 5px;
  color: #333;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.info-item p {
  color: #666;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== FORMULÁRIO ===== */
.form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: border-color 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #8e6841;
}

.field textarea {
  height: 120px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background-color: #8e6841;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #8e6841;
  text-align: center;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn:hover {
  background-color: #735732;
  border-color: #735732;
  color: white;
}

.btn-large {
  padding: 15px 40px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.btn-outline {
  background-color: transparent;
  color: #8e6841;
}

.btn-outline:hover {
  background-color: #8e6841;
  color: white;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  position: relative;
}

.btn-text, .btn-loading {
  transition: opacity 0.3s ease;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.btn.loading .btn-text {
  opacity: 0;
}

.btn.loading .btn-loading {
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #333;
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  color: white;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.logofot {
  height: 150px;
  margin-bottom: 15px;
  max-width: 100%;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-info i {
  color: #8e6841;
}

.footer-section.links {
  display: flex;
  flex-direction: column;
}

.footer-section.links a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section.links a:hover {
  color: #8e6841;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #444;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-icon:hover {
  background-color: #8e6841;
}

.footer-cta {
  margin-top: 20px;
}

.footer-cta p {
  margin-bottom: 15px;
  color: #ccc;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-footer {
  display: inline-block;
  background-color: #8e6841;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-footer:hover {
  background-color: #735732;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #999;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.footer-bottom p {
  margin-bottom: 5px;
}

/* ===== MENU MOBILE ===== */
.mobile-menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu-content {
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.mobile-menu-content a {
  text-decoration: none;
  color: #333;
  font-size: clamp(1.5rem, 4vw, 2rem);
  padding: 15px 25px;
  margin: 10px 0;
  text-align: center;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.mobile-menu-content a:hover {
  background-color: #8e6841;
  color: white;
}

.close-mobile-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  padding: 10px;
  z-index: 2001;
}

.icon-perfil {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 10px;
    z-index: 2001;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
  
  .two-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contato-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .history-image-frame {
    height: 350px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  .menu {
    display: none;
  }
  
  .menu-icon {
    display: block;
  }
  
  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  
  .hero p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .desktop-img {
    display: none;
  }
  
  .mobile-img {
    display: block;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .logo {
    display: none;
  }
  
  .logoverm {
    display: block;
    height: 120px;
  }
  
  .logofot {
    height: 120px;
  }
  
  .history-image-frame {
    height: 300px;
  }
  
  .carrocelcasamento img {
    height: 250px;
  }
  
  .slick-prev {
    left: 10px;
  }
  
  .slick-next {
    right: 10px;
  }
  
  .mobile-menu-content {
    padding: 60px 20px;
  }
  
  .mobile-menu-content a {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 15px;
  }
  
  .hero-home {
    padding-top: 70px;
  }
  
  .hero h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  
  .section-header h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sustentabilidade-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form {
    padding: 25px 15px;
  }
  
  .sec, .pad {
    padding: 60px 0;
  }
  
  .visita-section {
    padding: 70px 0;
  }
  
  .logoverm, .logofot {
    height: 100px;
  }
  
  .history-image-frame {
    height: 250px;
  }
  
  .mapa-container {
    height: 300px;
  }
  
  .video-container iframe {
    height: 250px;
  }
  
  .carrocelcasamento img {
    height: 200px;
  }
  
  .mobile-menu-content a {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    padding: 10px 15px;
    margin: 8px 0;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 15px;
  }
  
  header {
    padding: 10px 15px;
  }
  
  .hero-buttons .btn-hero,
  .hero-buttons .btn-hero-outline {
    padding: 10px 20px;
    width: 100%;
    max-width: 250px;
  }
  
  .card {
    padding: 20px;
  }
  
  .social-icons {
    gap: 10px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
}