/* Reset e Estilos Globais */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
}


.footer-btn {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #128C7E;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 60px;
  box-shadow: 0 6px 20px rgba(39, 180, 62, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 10;
  max-width: fit-content;
     animation: pulse-green 2s infinite;

}

.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #5BD066, #27B43E);
  z-index: -1;
  border-radius: 60px;
  opacity: 0.95;
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(39, 180, 62, 0.6);
}

.whatsapp-button:active {
  transform: translateY(0) scale(1);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Efeito de pulso para chamar atenção (opcional) */
.whatsapp-button {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {transform:scale(0)}
  50% { transform:scale(1)}
  100% {transform:scale(1.2) }
}

/* Responsivo */
@media (max-width: 768px) {
  .whatsapp-button {
    font-size: 1.1rem;
    padding: 14px 24px;
  }
  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-button {
    font-size: 1rem;
    padding: 12px 20px;
    gap: 8px;
  }
  .whatsapp-button svg {
    width: 24px;
    height: 24px;
  }
}

.nolink {
  text-decoration: none; /* Remove o sublinhado do link */
  color: inherit;         /* Mantém a cor do texto herdada do elemento pai */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: green;
    color: var(--white);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar ul li a:hover::after {
    width: 100%;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Serviços */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
}

/* Portfólio */
.portfolio {
    background-color: var(--light-color);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 10px 10px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 152, 219, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-link:hover {
    transform: rotate(90deg);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Sobre */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.skills {
    margin-top: 30px;
}

.skills h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item p {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #5dade2);
    border-radius: 5px;
    position: relative;
    transition: width 1.5s ease;
}

.skill-level::after {
    content: attr(data-percent);
    position: absolute;
    right: 10px;
    top: -25px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Depoimentos */
.testimonials {
    background-color: var(--light-color);
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 20px;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(52, 152, 219, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contato */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.info-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 0 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.back-to-top a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 992px) {
    .navbar ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
    }

    .navbar ul.active {
        left: 0;
    }

    .navbar ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 30px 20px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}



.service-banner {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-top: 80px;
}

.service-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.service-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.service-main {
    padding: 60px 0;
}

.service-intro {
    margin-bottom: 50px;
    text-align: center;
}

.service-intro h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-intro p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.service-highlight {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.service-highlight i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.service-highlight p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.service-features {
    margin: 60px 0;
}

.service-features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
}

.service-applications {
    margin: 60px 0;
}

.service-applications h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.applications-list {
    max-width: 800px;
    margin: 0 auto;
}

.application-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.application-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.application-item h3 i {
    margin-right: 15px;
    color: var(--primary-color);
}

.application-item p {
    color: var(--text-light);
    padding-left: 40px;
}

.service-cta {
    text-align: center;
    padding: 60px 0;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    margin-top: 60px;
}

.service-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .service-banner {
        padding: 80px 0;
    }
    
    .service-banner h1 {
        font-size: 2.2rem;
    }
    
    .service-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .service-highlight i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .application-item h3 {
        font-size: 1.1rem;
    }
    
    .application-item p {
        padding-left: 0;
    }
}


/* Animações CSS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classes de animação */
.animate-on-scroll {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fade-in-up {
    animation-name: fadeInUp;
}

/* Delay para animações em sequência */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }