:root {
    --cor-principal: #3f4b81;
    --cor-secundaria: #4fe7b2;
    --cor-azul-escuro: #021c66;
    --cor-azul-claro: #017ee8;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

#sobre {
    background: #f9fbff;
    padding: 60px 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #021c66;
}
#sobre h2 {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #3f4b81;
    letter-spacing: 1px;
}
#sobre p.intro {
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555d8b;
}
#sobre .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgb(31 41 55 / 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: white;
}
#sobre .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 30px rgb(31 41 55 / 0.15);
}
#sobre .servico-icon {
    font-size: 3rem;
    color: #4fe7b2;
    margin-bottom: 20px;
}
#sobre .card-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: #017ee8;
    margin-bottom: 12px;
    text-align: center;
}
#sobre .card p {
    flex-grow: 1;
    font-size: 1rem;
    color: #555d8b;
    text-align: center;
}
@media (min-width: 768px) {
    #sobre .row > [class*='col-'] {
        display: flex;
    }
}


.navbar {
    background-color: rgba(0,0,0,0.2);
    padding: 1rem;
}

.navbar-toggler{
    background-color: unset;
    color: white;
}

.navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: white !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--cor-secundaria) !important;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../imgimg/setion-hero.jpg") center center no-repeat;
    color: white;
    align-content: center;
    padding: 100px 20px;
    height: 100vh;
    background-size: cover;
    text-align: center;
}

section {
    padding: 60px 20px;
}

section#nossos-numeros{
    padding: 0;
}

.servico-icon {
    font-size: 2rem;
    color: var(--cor-principal);
}


.footer-title {
    font-weight: bold;
    color: #3f4b81;
}

.footer hr {
    width: 40px;
    border: 2px solid #3f4b81;
    margin: 0.25rem 0 0.75rem;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/*Animação da Section*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.fade-in-top {
    opacity: 0;
    animation: fadeInTop 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

/*Fim da animação*/

/* Estilo do Carrossel */
.carousel-caption-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 12px;
    animation: fadeInUp 1s ease;
}

.carousel-caption-custom.right {
    right: 10%;
    text-align: right;
}

.carousel-caption-custom.left {
    left: 10%;
    text-align: left;
}

.carousel-caption-custom h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption-custom p {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Animação suave de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.nav-link, .carousel-caption-custom h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.bg-cover {
    background-size: cover;
    background-position: center;
}

span#anos_experience{
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cor-secundaria);
}

div#numeros_direito{
    background-color: #3f4b81;
    color: white;
    padding: 20px;
}

.navbar-light-bg {
    background-color: #f5f5f5 !important;
    transition: background-color 0.3s ease;
}

.navbar-light-bg .nav-link {
    color: #333 !important;
}

#contato input,
#contato textarea {
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contato input:focus,
#contato textarea:focus {
    border-color: #4fe7b2;
    box-shadow: 0 0 0 0.2rem rgba(79, 231, 178, 0.25);
}

#formContato {
    background-color: #fff;
    margin: 0px;
}

#servicos {
    background: #f8f9fa;
}

#servicos h2 {
    font-family: 'Poppins', sans-serif;
}

/* Animação fade + slide up */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.service-card.visible {
    opacity: 1;
}

.service-card-inner {
    animation-fill-mode: forwards;
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-name: none;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.service-card.visible .service-card-inner {
    animation-name: fadeSlideUp;
}

/* Hover: escala o card e sombra */
.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.25);
    cursor: pointer;
}

.service-card h5 {
    color: #021c66;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6c757d;
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}
.animate-slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}
.animate-slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Remove fundo padrão do accordion */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #4fe7b2;
}

.accordion-button::after {
    filter: invert(1);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}