body {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fade-in {
    animation: fadeInAnimation 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-in-left {
    animation: slideInLeft 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    opacity: 0;
}
@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in-right {
    animation: slideInRight 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    opacity: 0;
}
@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-600 { animation-delay: 0.6s; }

#header {
    transition: background-color 0.3s ease-in-out;
}

.quem-somos-underline {
    position: relative;
    display: inline-block;
}

.quem-somos-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10%;
    width: 120%;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10" fill="none" stroke="%236EE7B7" stroke-width="3" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.partner-logo img {
    max-height: 4rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.animate-bounce-custom {
    animation: bounceCustom 2s infinite;
}

@keyframes bounceCustom {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 767px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .quem-somos-underline::after {
        bottom: -8px;
        height: 15px;
    }
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #F7C04A;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid #F7C04A;
  outline-offset: 2px;
}
.quem-somos-logo {
    max-width: 200px;
    height: auto;
}

@media (max-width: 767px) {
    .quem-somos-logo {
        max-width: 150px;
    }
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 1s ease-out forwards;
}

.animate-text.delay-1 {
    animation-delay: 0.3s;
}

.animate-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(10px);
    animation: pulse 10s infinite ease-in-out alternate;
    z-index: 0;
}

.hero-shape-1 {
    width: 250px;
    height: 250px;
    background-color: var(--vibrant-orange);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    background-color: var(--creative-yellow);
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background-color: var(--vibrant-blue);
    top: 70%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes pulse {
    0% { transform: scale(1) translateX(0) translateY(0); }
    25% { transform: scale(1.1) translateX(10px) translateY(-10px); }
    50% { transform: scale(1) translateX(0) translateY(0); }
    75% { transform: scale(0.9) translateX(-10px) translateY(10px); }
    100% { transform: scale(1) translateX(0) translateY(0); }
}

@media (max-width: 991px) {
    .hero {
        min-height: 70vh;
        padding: 100px 20px;
    }
    .hero h1 {
        font-size: 4rem;
        letter-spacing: -1px;
        margin-bottom: 30px;
    }
    .hero p {
        font-size: 1.5rem;
        margin-bottom: 50px;
    }
    .hero-shape {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 60vh;
        padding: 80px 20px;
    }
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
        letter-spacing: 0px;
        margin-bottom: 25px;
    }
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 60px 15px;
    }
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
