/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


/* ================================
   HEADER COM ONDA ANIMADA NO BOTTOM
   ================================ */
dl, dt, dd, ol, ul, li {
    padding: inherit;
}
footer a {
    color: inherit;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* ajusta à altura real do header */
}

#copyrights {
    padding: 30px 0;
}
#footer .footer-widgets-wrap {
    padding: 40px 0 20px 0;
}
#header {
    position: relative;
    z-index: 1000;
}
#page-title {
    min-height: 250px;
}
/* Onda */
#header-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -30px;
    
    width: 100%;
    height: 30px;
    pointer-events: none;
/*
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 90' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0,45 C120,75 240,15 360,25 480,35 600,85 720,65 840,45 960,5 1080,15 1200,25 1320,65 1440,45 L1440,0 L0,0 Z'/%3E%3C/svg%3E")
        repeat-x bottom;
*/
    background-size: 1920px 100%;
    background-position-x: 0;
    z-index: -1;
    
    animation: waveMove 12s linear infinite;
}
#header.full-header #logo {
    border-right: none;
}
#header.full-header .primary-menu .menu-container {
    padding-right: none;
    margin-right: none;
    border-right: none;
}

#header.sticky-header.full-header #header-wrap {
    border-bottom: 1px solid #ddd;
    box-shadow: none;
}
/* Animação contínua */
/*
@keyframes waveMove {
    from {
        background-position-x: 0;
    }
    to {
        background-position-x: -1440px;
    }
}
*/
#logo {
    top: 8px;
}

.btn-danger {
    background-color: #E63946 !important;
    border-color: #E63946 !important;
}
.btn-success {
    background-color: #1B9C85 !important;
    border-color: #1B9C85 !important;
}
.btn-terramagica {
    background-color: #3B2A98 !important;
    border-color: #3B2A98 !important;
    color: #fff;
}
.btn-terramagica:hover {
    color: #ccc;
}
.text-danger {
    color: #E63946 !important;
}
.text-success {
    color: #1B9C85 !important;
}
.text-primary {
    color: #1D4ED8 !important;
}
.text-terramagica {
    color: #3B2A98 !important;
}
.img-pack {
    height: 300px !important;
    width: auto !important;
    margin: 0 auto !important;
}
.pricing-price {
    padding: 0.5em 0;
    font-size: 2em;
}
.pricing-features {
    padding: 0.5em 0;
}
.social-icon {
    border: none;
}

/* ================================
   LOADER DE PÁGINA
   ================================ */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #fff;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 1;
    transition: opacity 0.6s ease;
}

#page-loader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-content img {
    height: 100px;
    max-width: 80%;
    display: block;

    animation: loaderFadeIn 0.8s ease;
}
.social-icon {
    overflow: inherit;
}


@keyframes loaderFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


/* ================================
   CAROUSEL
   ================================ */

#oc-reviews .entry {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
}

#oc-reviews .text-warning {
    font-size: 14px;
    letter-spacing: 1px;
}

#oc-reviews p {
    font-size: 14px;
    margin-bottom: 0;
}

.owl-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
}

/* ================================
   BOTÕES DE CONTACTO FLUTUANTES
   ================================ */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.social-btn svg {
    width: 28px;
    height: 28px;
    display: block;
}

.whatsapp {
    background: #25D366;
}

.messenger {
    background: #0084FF;
}

@media (max-width: 768px) {
    .floating-social {
        right: 15px;
        bottom: 84px;
        gap: 20px;
    }

    .social-btn {
        width: 52px;
        height: 52px;
    }

    .social-btn svg {
        width: 26px;
        height: 26px;
    }
}