/* Custom CSS */

/* Cabeçalho do menu de contatos */
            .contact-header {
                padding: 12px 15px;
                background-color: #274b68;
                color: white;
                text-align: center;
                text-transform: uppercase;
                font-weight: bold;
                font-size: 18px;
                border-radius: 10px 10px 0 0;
            }

            /* Ajuste para o menu de contatos */
            .contact-options {
                padding-top: 0; /* Remove padding top para o cabeçalho ficar colado */
                overflow: hidden; /* Mantém o border-radius do cabeçalho */
            }

            /* Botão Flutuante */
            .floating-contact {
                position: fixed;
                bottom: 110px;
                right: 20px;
                z-index: 1000;
            }

            .floating-btn {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                background-color: #25D366;
                color: white;
                border: none;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 24px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
                transition: all 0.3s ease;
                position: relative;
                animation: pulse 2s infinite;
            }

            .floating-btn:hover {
                background-color: #128C7E;
                transform: scale(1.1);
                animation: none; /* Remove a animação ao interagir */
            }

            /* Animação de pulsação */
            @keyframes pulse {
                0% {
                    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
                }
                70% {
                    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
                }
                100% {
                    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
                }
            }

            .contact-options {
                position: absolute;
                bottom: 70px;
                right: 0;
                width: 160px;
                background: white;
                border-radius: 10px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.58);
                opacity: 0;
                visibility: hidden;
                transform: translateY(10px);
                transition: all 0.3s ease;
            }

            .contact-options.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .contact-option {
                display: flex;
                align-items: center;
                padding: 10px 15px;
                color: #333;
                text-decoration: none;
                transition: background 0.2s;
            }

            .contact-option:hover {
                background: #f5f5f5;
                color:dodgerblue;
            }

            .contact-option i {
                margin-right: 8px;
                width: 20px;
                text-align: center;
            }

            .contact-option.whatsapp {
                /*                color: #25D366;*/
            }

            /* Responsivo */
            @media (max-width: 768px) {
                .floating-btn {
                    width: 50px;
                    height: 50px;
                    font-size: 20px;
                }

                .contact-options {
                    width: 140px;
                    bottom: 60px;
                }
            }
            
            :root {
                --primary-color: #2c3e50;
                --secondary-color: #3498db;
                --accent-color: #e74c3c;
                --light-color: #ecf0f1;
                --dark-color: #2c3e50;
                --text-color: #333;
                --text-light: #7f8c8d;
                --white: #fff;
                --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                --transition: all 0.3s ease;
            }

            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                font-family: 'Poppins', sans-serif;
                color: var(--text-color);
                line-height: 1.6;
                overflow-x: hidden;
                background-color: #f9f9f9;
            }

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

            ul {
                list-style: none;
            }

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

            .container {
                width: 100%;
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 20px;
            }

            .btn {
                display: inline-block;
                padding: 10px 25px;
                background-color: var(--secondary-color);
                color: var(--white);
                border-radius: 5px;
                font-weight: 500;
                transition: var(--transition);
                border: none;
                cursor: pointer;
            }

            .btn:hover {
                background-color: #2980b9;
                transform: translateY(-3px);
                box-shadow: var(--box-shadow);
            }

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

            .btn-accent:hover {
                background-color: #c0392b;
            }

            .section {
                padding: 80px 0;
            }

            .section-title {
                text-align: center;
                margin-bottom: 50px;
                font-size: 2.5rem;
                color: var(--primary-color);
                position: relative;
            }

            .section-title:after {
                content: '';
                display: block;
                width: 80px;
                height: 4px;
                background-color: var(--secondary-color);
                margin: 15px auto;
            }

            /* Header */
            header {
                background-color: var(--white);
                box-shadow: var(--box-shadow);
                position: fixed;
                width: 100%;
                top: 0;
                left: 0;
                z-index: 1000;
                transition: var(--transition);
            }

            .header-scrolled {
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                padding: 10px 0;
            }

            .header-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 20px;
            }

            .logo {
                font-size: 1.8rem;
                font-weight: 700;
                color: var(--primary-color);
            }

            .logo span {
                color: var(--secondary-color);
            }

            .logo img {
                max-height: 50px;
            }

            .nav-menu {
                display: flex;
            }

            .nav-menu li {
                margin-left: 30px;
            }

            .nav-menu a {
                font-weight: 500;
                position: relative;
            }

            .nav-menu a:after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 0;
                height: 2px;
                background-color: var(--secondary-color);
                transition: var(--transition);
            }

            .nav-menu a:hover:after {
                width: 100%;
            }

            .hamburger {
                display: none;
                cursor: pointer;
                font-size: 1.5rem;
                color: var(--primary-color);
            }

            /* Mobile Menu */
            .mobile-menu {
                position: fixed;
                top: 0;
                left: -100%;
                width: 80%;
                max-width: 350px;
                height: 100vh;
                background-color: var(--white);
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
                z-index: 1100;
                transition: var(--transition);
                overflow-y: auto;
                padding: 20px;
            }

            .mobile-menu.active {
                left: 0;
            }

            .mobile-menu-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 30px;
                padding-bottom: 15px;
                border-bottom: 1px solid #eee;
            }

            .mobile-menu-logo {
                font-size: 1.5rem;
                font-weight: 700;
                color: var(--primary-color);
            }

            .mobile-menu-logo img {
                max-height: 30px;
            }

            .close-menu {
                font-size: 1.5rem;
                cursor: pointer;
                color: var(--accent-color);
            }

            .mobile-nav-menu li {
                margin-bottom: 15px;
            }

            .mobile-nav-menu a {
                display: block;
                padding: 10px;
                font-weight: 500;
                border-radius: 5px;
            }

            .mobile-nav-menu a:hover {
                background-color: var(--light-color);
            }

            .overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5);
                z-index: 1050;
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
            }

            .overlay.active {
                opacity: 1;
                visibility: visible;
            }

            /* Hero Section */
            .hero {
                background: linear-gradient(#01124aa8, #01124aba), url('/images/hero/hero.png') no-repeat center center/cover;
                color: var(--white);
                padding: 180px 0 100px;
                text-align: center;
            }

            .hero h1 {
                font-size: 3rem;
                margin-bottom: 20px;
            }

            .hero p {
                font-size: 1.2rem;
                max-width: 700px;
                margin: 0 auto 30px;
            }

            .hero-buttons {
                display: flex;
                justify-content: center;
                gap: 20px;
                flex-wrap: wrap;
            }

            /* About Section */
            .about {
                background-color: var(--white);
            }

            .about-content {
                display: flex;
                align-items: center;
                gap: 50px;
            }

            .about-text {
                flex: 1;
            }

            .about-text h2 {
                font-size: 2rem;
                margin-bottom: 20px;
                color: var(--primary-color);
            }

            .about-text p {
                margin-bottom: 15px;
            }

            .about-image {
                flex: 1;
                border-radius: 10px;
                overflow: hidden;
                box-shadow: var(--box-shadow);
            }

            /* Services Section */
            .services {
                background-color: var(--light-color);
            }

            .services-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 30px;
            }

            .service-card {
                background-color: var(--white);
                border-radius: 10px;
                overflow: hidden;
                box-shadow: var(--box-shadow);
                transition: var(--transition);
            }

            .service-card:hover {
                transform: translateY(-10px);
                box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            }

            .service-image {
                height: 200px;
                overflow: hidden;
            }

            .service-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: var(--transition);
            }

            .service-card:hover .service-image img {
                transform: scale(1.1);
            }

            .service-content {
                padding: 20px;
            }

            .service-content h3 {
                font-size: 1.5rem;
                margin-bottom: 10px;
                color: var(--primary-color);
            }

            /* Contact Section */
            .contact {
                background-color: var(--white);
            }

            .contact-container {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 50px;
            }

            .contact-info h3 {
                font-size: 1.8rem;
                margin-bottom: 20px;
                color: var(--primary-color);
            }

            .contact-info p {
                margin-bottom: 30px;
            }

            .contact-details {
                margin-bottom: 30px;
            }

            .contact-item {
                display: flex;
                align-items: center;
                margin-bottom: 15px;
            }

            .contact-item i {
                width: 40px;
                height: 40px;
                background-color: var(--light-color);
                color: var(--secondary-color);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 15px;
            }

            .contact-form .form-group {
                margin-bottom: 20px;
            }

            .contact-form input,
            .contact-form textarea {
                width: 100%;
                padding: 12px 15px;
                border: 1px solid #ddd;
                border-radius: 5px;
                font-family: 'Poppins', sans-serif;
                transition: var(--transition);
            }

            .contact-form input:focus,
            .contact-form textarea:focus {
                outline: none;
                border-color: var(--secondary-color);
            }

            .contact-form textarea {
                resize: vertical;
                min-height: 150px;
            }

            /* Testimonials Section */
            .testimonials {
                background-color: var(--light-color);
            }

            .testimonials-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 30px;
            }

            .testimonial-card {
                background-color: var(--white);
                padding: 30px;
                border-radius: 10px;
                box-shadow: var(--box-shadow);
                position: relative;
            }

            .testimonial-card:before {
                content: '"';
                position: absolute;
                top: 20px;
                left: 20px;
                font-size: 4rem;
                color: var(--light-color);
                font-family: Georgia, serif;
                line-height: 1;
                z-index: 0;
            }

            .testimonial-content {
                position: relative;
                z-index: 1;
                margin-bottom: 20px;
            }

            .testimonial-author {
                display: flex;
                align-items: center;
            }

            .testimonial-author img {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                object-fit: cover;
                margin-right: 15px;
            }

            .author-info h4 {
                margin-bottom: 5px;
                color: var(--primary-color);
            }

            .author-info p {
                color: var(--text-light);
                font-size: 0.9rem;
            }

            /* Footer */
            footer {
                background-color: #01124a;
                /*background-color: var(--dark-color);*/
                color: var(--white);
                padding: 70px 0 0;
                position: relative;
            }

            .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}


            .footer-about {
                grid-column: span 1;
            }

            .footer-logo {
                font-size: 1.8rem;
                font-weight: 700;
                margin-bottom: 20px;
                color: var(--white);
                display: inline-block;
            }

            .footer-logo span {
                color: var(--secondary-color);
            }

            .footer-logo img {
                max-height: 40px;
            }

            .footer-about p {
                color: #bdc3c7;
                margin-bottom: 25px;
                line-height: 1.7;
            }

            .social-links {
                display: flex;
                gap: 12px;
            }

            .social-links a {
                width: 38px;
                height: 38px;
                border-radius: 50%;
                background-color: rgb(44, 62, 80);
                color: var(--white);
                display: flex;
                align-items: center;
                justify-content: center;
                transition: var(--transition);
                font-size: 1rem;
            }

            .social-links a:hover {
                background-color: var(--secondary-color);
                transform: translateY(-3px);
            }

            .footer-links {
                grid-column: span 1;
            }

            .footer-links h3 {
                font-size: 1.3rem;
                margin-bottom: 22px;
                position: relative;
                padding-bottom: 8px;
                color: var(--white);
            }

            .footer-links h3::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 40px;
                height: 3px;
                background-color: var(--secondary-color);
            }

            .footer-links ul {
                padding-left: 0;
            }

            .footer-links li {
                margin-bottom: 12px;
            }

            .footer-links a {
                color: #bdc3c7;
                transition: var(--transition);
                display: inline-block;
                font-size: 0.95rem;
            }

            .footer-links a:hover {
                color: var(--secondary-color);
                transform: translateX(5px);
            }

            .footer-contact {
                grid-column: span 1;
            }

            .footer-contact h3 {
                font-size: 1.3rem;
                margin-bottom: 22px;
                position: relative;
                padding-bottom: 8px;
                color: var(--white);
            }

            .footer-contact h3::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 40px;
                height: 3px;
                background-color: var(--secondary-color);
            }

            .contact-list {
                padding-left: 0;
            }

            .contact-item {
                display: flex;
                align-items: flex-start;
                margin-bottom: 18px;
                line-height: 1.6;
                font-size: 0.95rem;
            }

            .contact-item i {
                color: var(--secondary-color);
                margin-right: 12px;
                margin-top: 3px;
                font-size: 1rem;
                min-width: 18px;
            }

            .contact-text {
                flex: 1;
            }

            .contact-address .address-line {
                display: block;
            }

            .footer-bottom {
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                padding: 25px 0;
                text-align: center;
            }

            .footer-bottom p {
                margin-bottom: 10px;
                color: #7f8c8d;
                font-size: 0.9rem;
            }

            .dev-credits a {
                color: var(--secondary-color);
                transition: var(--transition);
                text-decoration: none;
            }

            .dev-credits a:hover {
                text-decoration: none;
                color: orange;
            }

            /* Responsividade do Footer */
            @media (max-width: 992px) {
                .footer-container {
                    grid-template-columns: repeat(2, 1fr);
                    gap: 30px;
                }
            }

            @media (max-width: 576px) {
                .footer-container {
                    grid-template-columns: 1fr;
                    gap: 30px;
                }

                .footer-about,
                .footer-links,
                .footer-contact {
                    text-align: center;
                }

                .footer-links h3::after,
                .footer-contact h3::after {
                    left: 50%;
                    transform: translateX(-50%);
                }

                .social-links {
                    justify-content: center;
                }

                .contact-item i {
                    margin-right: 8px;
                }

                .logo img {
                    max-height: 40px;
                }
                .footer-logo img {
                    max-height: 30px;
                }
            }

            @keyframes pulse {
                0% {
                    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
                }
                70% {
                    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
                }
                100% {
                    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
                }
            }

            /* Back to Top Button */
            .back-to-top {
                position: fixed;
                bottom: 200px;
                right: 30px;
                background-color: var(--primary-color);
                color: var(--white);
                width: 50px;
                height: 50px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.2rem;
                box-shadow: var(--box-shadow);
                z-index: 999;
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
            }

            .back-to-top.active {
                opacity: 1;
                visibility: visible;
            }

            .back-to-top:hover {
                background-color: var(--secondary-color);
            }

            /* Responsive Styles */
            @media (max-width: 992px) {
                .section {
                    padding: 60px 0;
                }

                .section-title {
                    font-size: 2rem;
                    margin-bottom: 40px;
                }

                .hero h1 {
                    font-size: 2.5rem;
                }

                .about-content {
                    flex-direction: column;
                }

                .about-text, .about-image {
                    flex: none;
                    width: 100%;
                }

                .about-image {
                    order: -1;
                }
            }

            @media (max-width: 768px) {
                .nav-menu {
                    display: none;
                }

                .hamburger {
                    display: block;
                }

                .hero {
                    padding: 150px 0 80px;
                }

                .hero h1 {
                    font-size: 2rem;
                }

                .hero p {
                    font-size: 1rem;
                }

                .hero-buttons {
                    flex-direction: column;
                    gap: 15px;
                }

                .btn {
                    width: 100%;
                    text-align: center;
                }

                .phone-box {
                    bottom: 130px;
                    left: 20px;
                    padding: 10px;
                }

                .phone-icon {
                    width: 30px;
                    height: 30px;
                    font-size: 1rem;
                }

                .phone-number {
                    font-size: 0.9rem;
                }
            }

            @media (max-width: 576px) {
                .section {
                    padding: 50px 0;
                }

                .section-title {
                    font-size: 1.8rem;
                    margin-bottom: 30px;
                }

                .testimonial-card {
                    padding: 20px;
                }

                .whatsapp-btn {
                    right: 20px;
                    width: 50px;
                    height: 50px;
                    font-size: 1.5rem;
                }

                .back-to-top {
                    right: 20px;
                    width: 40px;
                    height: 40px;
                    font-size: 1rem;
                }
            }

            .spinner-border {
                display: inline-block;
                width: 1rem;
                height: 1rem;
                vertical-align: text-bottom;
                border: 0.2em solid currentColor;
                border-right-color: transparent;
                border-radius: 50%;
                animation: spinner-border .75s linear infinite;
            }

            @keyframes spinner-border {
                to {
                    transform: rotate(360deg);
                }
            }
            .img-blur{
              position:relative;
              display:block;
              overflow:hidden;
              background-size:cover;
              background-position:center;
            }
            .img-blur img{
              display:block;
              width:100%;
              height:auto;
              opacity:0;
              transform:scale(1.02);
              transition:opacity .35s ease, transform .35s ease, filter .35s ease;
            }
            .img-blur:not(.is-loaded){ /* antes do load, mostra o blur do background */
              filter:blur(8px);
            }
            .img-blur.is-loaded{
              filter:none;
            }
            .img-blur.is-loaded img{
              opacity:1;
              transform:scale(1);
            }
            .img-lqip{
              position:relative; display:block; overflow:hidden;
              background-image:var(--lqip);
              background-size:cover; background-position:center;
              aspect-ratio: 3 / 2;            /* evita CLS */
            }
            .img-lqip img{
              width:100%; height:auto; display:block;
              opacity:0; transition:opacity .25s ease;
            }
            .img-lqip.is-loaded img{ opacity:1; }
            
            .client-logos {
                padding: 60px 0;
                background: #f9f9f9;
                overflow: hidden;
            }

            .logos-carousel {
                width: 100%;
                position: relative;
                margin: 30px auto;
            }

            .logos-track {
                display: flex;
                align-items: center;
                gap: 40px;
                width: max-content;
                animation: scroll 20s linear infinite;
            }

            .logo-item {
                flex-shrink: 0;
                width: 160px;
                height: 80px;
                display: flex;
                align-items: center;
                justify-content: center;
                /*filter: grayscale(100%);
                opacity: 0.7;*/
                transition: all 0.3s ease;
            }

            .logo-item:hover {
                filter: grayscale(0);
                opacity: 1;
            }

            .logo-item img {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }

            @keyframes scroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(-50%);
                }
            }

            @media (max-width: 768px) {
                .logo-item {
                    width: 120px;
                    height: 60px;
                }
            }