/* Custom styles */
body {
    /* Garante que o corpo da página não force o overflow horizontal */
    overflow-x: hidden !important;
    /* Impede que o corpo seja mais largo que o viewport */
    max-width: 100vw !important;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a:focus, button:focus {
  outline: 2px solid #8e82b8;
  outline-offset: 2px;
  border-radius: 4px; /* Opcional, para estética */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}
.relative.h-\\[450px\\] {
    /* Garante que o contêiner do carrossel não force o overflow horizontal */
    overflow-x: hidden !important;
    /* Impede que o contêiner seja mais largo que o viewport */
    max-width: 100vw !important;
}

/* 
   Seletor para o contêiner interno que contém os slides (o elemento que está muito largo).
   Isso garante que o conteúdo interno se ajuste ao contêiner pai.
*/
.flex.h-full.transition-transform.duration-500.ease-in-out {
    /* Garante que o contêiner dos slides não exceda a largura do viewport */
    max-width: 100vw !important;
    /* Opcional: Se o carrossel usa 'transform: translateX()', este ajuste pode ser necessário */
    width: 100% !important; 
}

.hero-gradient {
    background-image: linear-gradient(135deg, #f3e0e8, #e7ddef, #d9dcf2, #cde6f3);
}
.cta-button, .blog-card, .carousel-image {
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.social-icon:hover {
    transform: scale(1.1);
}
.blog-card:hover {
    transform: translateY(-5px);
}
.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}
.faq-arrow {
    transition: transform 0.3s ease;
}
/* This ensures the content starts below the fixed header */
main {
    padding-top: 88px; /* Adjust this value based on your header's height */
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Fix for fixed header rendering on iOS/Safari */
.fixed-header {
    background-size: cover;
    background-position: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Fix for backdrop-blur on mobile menu for Safari */
.mobile-menu {
    -webkit-backdrop-filter: blur(8px);
}


/* Background Pattern for sections */
.bg-pattern {
    background-color: #f8fafc; /* fallback color */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
  
  
}

/* Collapse transition for FAQ */
[x-collapse] {
    overflow: hidden;
    transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1);
}