/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

.php-email-form .sent-message,
.php-email-form .error-message {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.php-email-form .sent-message.active,
.php-email-form .error-message.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Source Sans Pro", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --mobile-nav-font: "Montserrat", sans-serif;
    --background-color: #ffffff;
    --default-color: #1a1f24;
    --heading-color: #485664;
    --accent-color: #0ea2bd;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --nav-color: #ffffff;
    --nav-hover-color: #087a8e;
    --nav-mobile-background-color: rgba(5, 57, 112, 0.6);
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #485664;
    --nav-dropdown-hover-color: #0ea2bd;
    --active-link-color: #25D366;
    --verde-escuro: #1A8F4A;
}

.light-background {
    --background-color: #eef0f2;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #053970;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #4f6171;
    --contrast-color: #ffffff;
}

:root {
    scroll-behavior: smooth;
}

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    font-size: 16px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--nav-hover-color);
}

i {
    font-size: 24px;
    color: var(--accent-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* Pulsating Play Button */
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/* PHP Email Form Messages */
.php-email-form .error-message {
    background: linear-gradient(135deg, #df1529, #b0111f);
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.php-email-form .sent-message {
    color: #ffffff;
    background: linear-gradient(135deg, #059652, #047a3e);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Global Header */
.header {
    color: var(--default-color);
    background-color: #053970af;
    padding: 3px 0;
    transition: all 0.5s;
    z-index: 997;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.header .left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: nowrap;
    align-self: center;
}

.header .sitename {
    font-family: var(--heading-font);
    font-size: 15px;
    color: var(--nav-color);
    margin: 0;
    padding-top: 5px;
    text-decoration: none !important;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--verde-escuro);
    font-size: 14px;
    padding: 4px 20px;
    border-radius: 4px;
    transition: 0.3s;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.header .btn-getstarted i {
    color: #ffffff;
    font-size: 18px;
    margin-right: 5px;
}

.header .btn-getstarted .flag-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    background: #146B3A;
}

@media (min-width: 1200px) {
    .header {
        padding: 10px 0;
        min-height: 50px;
    }

    .navmenu {
        padding: 0;
        text-align: center;
        flex-grow: 1;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navmenu ul {
        margin: 0 auto;
        padding: 0;
        display: flex;
        justify-content: center;
        list-style: none;
        align-items: center;
        white-space: nowrap;
        max-width: 800px;
        height: 100%;
    }

    .navmenu li {
        position: relative;
        display: flex;
        align-items: center;
    }

    .navmenu>ul>li {
        padding: 10px 10px;
    }

    .navmenu>ul>li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        font-size: 17px;
        padding: 0 2px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
        text-transform: uppercase;
        text-decoration: none !important;
    }

    .navmenu a h2 {
        color: var(--nav-color);
        font-size: 17px;
        margin: 0;
        font-weight: 400;
        text-transform: uppercase;
        text-decoration: none !important;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu>ul>li>a:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--active-link-color);
        visibility: hidden;
        width: 0px;
        transition: all 0.3s ease-in-out 0s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover>a:before,
    .navmenu .active:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--active-link-color);
    }

    .navmenu .mobile-nav-toggle,
    .navmenu .mobile-nav-close {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header {
        padding: 5px 0;
        min-height: 60px;
        text-decoration: none !important;
    }

    .header .btn-getstarted {
        margin: 0 10px 0 0;
        padding: 3px 15px;
    }

    .header .left-section {
        margin-left: 10px;
    }

    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 24px;
        line-height: 0;
        cursor: pointer;
        transition: color 0.3s;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .mobile-nav-close {
        display: inherit;
        color: #25D366;
        font-size: 36px;
        font-weight: bold;
        line-height: 0;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
        background: rgba(255, 255, 255, 0.2);
        padding: 8px;
        border-radius: 50%;
        transition: transform 0.3s ease, background 0.3s ease;
        z-index: 9999;
    }

    .mobile-nav-close:hover {
        transform: rotate(90deg);
        background: rgba(255, 255, 255, 0.4);
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100vh;
        padding: 80px 20px 20px 20px;
        margin: 0;
        border-radius: 10px 0 0 10px;
        background: linear-gradient(to bottom, rgba(5, 57, 112, 0.9), rgba(8, 122, 142, 0.7));
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        transition: 0.3s ease-in-out;
        z-index: 9998;
        white-space: nowrap;
    }

    .navmenu.active ul {
        display: block;
    }

    .navmenu.active .mobile-nav-toggle {
        display: none;
    }

    .navmenu.active .mobile-nav-close {
        display: block;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 12px 20px;
        font-family: var(--mobile-nav-font);
        font-size: 18px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s ease;
        text-transform: uppercase;
        text-decoration: none !important;
        border-radius: 5px;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        background: rgba(255, 255, 255, 0.1);
        color: var(--active-link-color);
    }

    .navmenu a h2 {
        color: var(--nav-color);
        font-size: 18px;
        margin: 0;
        font-weight: 500;
        text-transform: uppercase;
        text-decoration: none !important;
    }

    .navmenu ul.active .left-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }
}

/* Global Footer */
.footer {
    color: var(--contrast-color);
    font-size: 16px;
    position: relative;
    background: linear-gradient(to bottom, rgba(5, 57, 112, 0.9), rgba(8, 122, 142, 0.9));
    padding-top: 60px;
}

/* Footer Top */
.footer .footer-top {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer .footer-top:before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 40"><path fill="%23ffffff" fill-opacity="1" d="M0,40 C360,0 1080,80 1440,40 L1440,40 L0,40 Z"></path></svg>') no-repeat center top;
    background-size: cover;
}

.footer .footer-about .logo {
    margin-bottom: 20px;
}

.footer .footer-about .logo a {
    text-decoration: none !important;
}

.footer .footer-about .logo span {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--contrast-color);
    background: linear-gradient(to right, #0ea2bd, #25D366);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .footer .footer-about {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer .footer-about .logo span {
        font-size: 22px;
    }
}

.footer .footer-contact {
    max-width: 90%;
    margin: 0 auto;
}

.footer .footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.footer .footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(to right, #0ea2bd, #25D366);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.footer h1 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(to right, #0ea2bd, #25D366);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 8px 0;
}

.footer .footer-links ul a,
.footer .footer-contact a {
    color: var(--contrast-color);
    font-size: 14px;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.footer .footer-links ul a:hover,
.footer .footer-contact a:hover {
    color: var(--active-link-color);
}

.footer .footer-links p {
    font-size: 14px;
    color: var(--contrast-color);
    line-height: 1.5;
    text-align: justify;
}

/* Footer Links Container */
.footer .footer-links-container {
    display: flex;
    flex-wrap: wrap;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .footer .footer-links-container .row {
        display: flex;
        width: 100%;
    }

    .footer .footer-links-container .col-lg-3 {
        flex: 1;
        min-width: 0;
        padding: 0 15px;
        text-align: left;
    }

    .footer .footer-mission {
        text-align: left;
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .footer .footer-links-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .footer .footer-links-container .row {
        display: flex;
        width: 100%;
    }

    .footer .footer-links-container .col-4 {
        flex: 1;
        min-width: 0;
        padding: 0 10px;
        text-align: center;
        max-width: 85%;
        margin: 0 auto;
    }

    .footer .footer-links-container .col-md-12.footer-mission {
        width: 100%;
        padding: 15px 10px 0;
        text-align: justify;
        margin: 0 auto;
        max-width: 85%;
    }

    .footer .footer-links ul li {
        padding: 5px 0;
    }

    .footer .footer-links ul a {
        font-size: 12px;
    }

    .footer h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* Copyright Section */
.footer .copyright {
    background: rgba(5, 57, 112, 0.9);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.footer .copyright:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 6s infinite linear;
}

.footer .copyright-text {
    font-size: 15px;
    color: var(--contrast-color);
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer .copyright-year {
    font-weight: 700;
    background: linear-gradient(to right, #0ea2bd, #25D366);
    -webkit-background-clip: text;
    color: transparent;
}

.footer .copyright-link {
    font-weight: 600;
    color: var(--accent-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .copyright-link:hover {
    color: var(--active-link-color);
    transform: scale(1.05);
}

.footer .copyright-reserved,
.footer .copyright-design {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer .social-links a {
    font-size: 20px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--contrast-color);
    padding: 8px;
    margin: 0 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer .social-links a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Animação de brilho */
@keyframes shine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Responsividade do Rodapé */
@media (max-width: 767px) {
    .footer .footer-top {
        padding: 30px 0;
    }

    .footer .footer-contact p {
        font-size: 13px;
    }

    .footer .copyright {
        padding: 20px 0;
    }

    .footer .copyright-text {
        font-size: 13px;
        flex-direction: column;
        gap: 5px;
    }

    .footer .social-links a {
        font-size: 18px;
        margin: 0 6px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .footer .footer-contact p,
    .footer .footer-links ul a,
    .footer .footer-links p {
        font-size: 14px;
    }

    .footer .social-links a {
        margin: 0 10px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
}

.dark-background #preloader {
    background-color: rgba(5, 57, 112, 0.9);
}

#preloader:before,
#preloader:after {
    content: "";
    position: absolute;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
    animation-delay: -0.5s;
}

@keyframes animate-preloader {
    0% {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        opacity: 1;
    }

    100% {
        width: 72px;
        height: 72px;
        top: calc(50% - 36px);
        left: calc(50% - 36px);
        opacity: 0;
    }
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: var(--nav-hover-color);
}

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

/* Disable AOS animation delay on mobile */
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/* Global Sections */
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/* Global Section Titles */
.section-title {
    text-align: center;
    padding-bottom: 30px;
    position: relative;
}

.section-title h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
    background: linear-gradient(to right, #0ea2bd, #25D366);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.section-title p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Hero Section */
.hero {
    width: 100%;
    min-height: 50vh;
    position: relative;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
    background: url("../img/hero-bg.png") center center;
    background-size: cover;
}

.hero .btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 4px;
    transition: 0.3s;
    text-decoration: none !important;
}

.hero .btn-get-started:hover {
    background: var(--nav-hover-color);
}

.hero .btn-watch-video {
    font-size: 16px;
    transition: 0.3s;
    margin-left: 10px;
    color: var(--default-color);
    font-weight: 500;
    text-decoration: none !important;
}

.hero .btn-watch-video i {
    color: var(--accent-color);
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}

.hero .btn-watch-video:hover {
    color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
    color: var(--nav-hover-color);
}

.hero .animated {
    margin-bottom: 60px;
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 768px) {
    .hero .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .hero .btn-watch-video {
        margin-left: 0;
        margin-top: 10px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about .about-img {
    position: relative;
    margin: 60px 0 0 60px;
}

.about .about-img:before {
    position: absolute;
    inset: -60px 0 0 -60px;
    content: "";
    background: url("../img/about-bg.png") top left;
    background-repeat: no-repeat;
    z-index: 1;
}

.about .about-img img {
    position: relative;
    z-index: 2;
}

.about .about-text {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

/* Services Section (Atuação) */
.services .service-item {
    position: relative;
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.services .service-item:hover {
    transform: translateY(-5px);
}

.services .service-img {
    height: 150px;
    overflow: hidden;
}

.services .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.services .service-item:hover .service-img img {
    transform: scale(1.1);
}

.services .details {
    padding: 15px;
    text-align: center;
}

.services .service-title {
    display: inline-block;
    text-decoration: none !important;
    background: linear-gradient(135deg, #0ea2bd, #087a8e);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .service-title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
}

.services .service-title:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.services .service-text {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.4;
    margin: 10px 0 0;
}

/* Ajustes responsivos para a seção Atuação */
@media (max-width: 767px) {
    .services .service-item {
        margin-bottom: 20px;
    }

    .services .service-img {
        height: 120px;
    }

    .services .details {
        padding: 10px;
    }

    .services .service-title {
        font-size: 16px;
        padding: 6px 12px;
    }

    .services .service-title h3 {
        font-size: 16px;
    }

    .services .service-text {
        font-size: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .services .service-img {
        height: 130px;
    }
}

/* Custom Lightbox for Images */
.custom-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: transparent;
    border-radius: 12px;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    border: none;
    background: none;
    padding: 0;
}

.lightbox-content .caption {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    font-family: var(--default-font);
}

.close-lightbox {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 24px;
    color: #fff;
    background: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.close-lightbox:hover {
    transform: rotate(90deg);
    background: #555;
}

/* Service Section Specific Styles */
.service-img-container {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-img-container:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-img-container img {
    width: 100%;
    max-width: 300px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-img-container:hover img {
    transform: scale(1.02);
}

.no-image-placeholder {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

#service .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#service .col-md-6 p {
    margin-bottom: 14px;
}

.service-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 0;
}

.service-buttons .btn-primary,
.service-buttons .btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), var(--active-link-color));
    color: var(--contrast-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-buttons .btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.service-buttons .btn-primary:hover,
.service-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.service-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--nav-hover-color), #1eb956);
}

.service-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #4b5156);
}

@media (max-width: 767px) {
    #service .row {
        flex-direction: column;
        align-items: center;
    }

    #service .col-md-6 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #service .service-img-container,
    #service .no-image-placeholder {
        max-width: 90%;
        margin: 0 auto 20px;
    }

    #service .col-md-6 p {
        text-align: justify;
        font-family: "Open Sans", system-ui, sans-serif;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
        width: 100%;
    }

    .service-buttons {
        justify-content: center;
        margin-top: 0;
        width: 100%;
    }

    .service-buttons .btn-primary,
    .service-buttons .btn-secondary {
        white-space: nowrap;
    }
}

/* Portfolio Section (Diligências) */
.portfolio .content {
    text-align: justify;
    font-size: 16px;
}

.portfolio .diligencias-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

.portfolio .diligencias-text p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.portfolio .diligencias-text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .portfolio .diligencias-text {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.portfolio .cta-btn {
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: var(--heading-font);
    font-size: 16px;
    transition: 0.3s;
    text-decoration: none !important;
    margin-top: 20px;
}

.portfolio .cta-btn:hover {
    background: var(--nav-hover-color);
}

.portfolio .portfolio-img img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(238, 240, 242, 0.95), rgba(255, 255, 255, 0.95));
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
}

.contact .diligencias-text {
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
    margin-bottom: 20px;
}

.contact .info {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact .info:hover {
    transform: translateY(-5px);
}

.contact .info-item {
    padding: 15px 10px;
    white-space: normal;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

.contact .info-item:last-child {
    border-bottom: none;
}

.contact .info-item:hover {
    background: rgba(14, 162, 189, 0.05);
}

.contact .info-item i {
    margin-right: 8px;
    font-size: 28px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.contact .info-item:hover i {
    color: var(--active-link-color);
}

.contact .info-item h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: var(--heading-color);
}

.contact .info-item p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.contact .php-email-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact .php-email-form:hover {
    transform: translateY(-5px);
}

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

.contact .form-control {
    height: 48px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(14, 162, 189, 0.3);
    outline: none;
}

.contact .form-control[placeholder="Sua mensagem"] {
    height: 150px;
    resize: vertical;
}

.contact .form-control::placeholder {
    color: #aaa;
    font-style: italic;
}

.contact .btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--active-link-color));
    color: var(--contrast-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact .btn-submit:hover {
    background: linear-gradient(135deg, var(--nav-hover-color), #1eb956);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Responsividade da Seção Contato */
@media (max-width: 767px) {
    .contact {
        padding: 20px 0;
    }

    .contact .info,
    .contact .php-email-form {
        padding: 15px;
    }

    .contact .info-item {
        padding: 10px 5px;
    }

    .contact .form-control {
        height: 40px;
    }

    .contact .form-control[placeholder="Sua mensagem"] {
        height: 120px;
    }

    .contact .btn-submit {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Mapa Original (mantido para compatibilidade com outras seções Contact) */
.contact .map-container {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.contact .styled-map {
    width: 100vw;
    height: 400px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    border: none;
}

/* Mapa Full-Width para Localização */
.map-container-full {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 40px 0;
    padding: 0;
    overflow: hidden;
}

.styled-map-full {
    width: 100%;
    height: 400px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

@media (max-width: 767px) {
    .contact .styled-map {
        height: 300px;
    }

    .styled-map-full {
        height: 400px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .styled-map-full {
        height: 400px;
    }
}

/* WhatsApp Dialog */
.btn-success {
    background: linear-gradient(135deg, var(--verde-escuro), #25D366);
    color: var(--contrast-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--default-font);
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-success i {
    color: #ffffff;
    margin-left: 5px;
}

.btn-success:hover {
    background: linear-gradient(135deg, #146B3A, #1eb956);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1200px) {
    .btn-success {
        padding: 8px 20px;
    }
}

.whatsapp-text {
    font-size: 16px;
}

@media (max-width: 768px) {
    .whatsapp-text {
        font-size: 16px;
    }
}





/* Substituir ou adicionar ao final de main.css */
.php-email-form .sent-message,
.php-email-form .error-message {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
    /* Garantir que a mensagem fique acima de outros elementos */
}

.php-email-form .sent-message.active,
.php-email-form .error-message.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    z-index: 10;
}

.php-email-form .sent-message {
    color: #ffffff;
    background: linear-gradient(135deg, #059652, #047a3e);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}