/* Global Styles */
:root {
    --primary: #0057D1;
    --primary-dark: #004494;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #212529;
}

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

a:hover {
    color: var(--primary-dark);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* .section-heading {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
} */
.section-heading {
    font-family: 'Mulish', sans-serif;
    font-size: 30px;
    font-weight: 300;
    color: #0062d7;
    text-align: center;
    margin-bottom: 0.25rem;
    line-height: 1.3; /* reduz o espaço entre linhas */
}

/* Negrito apenas na frase do meio */
.highlighted {
    font-weight: 600;
    color: #0057D1;
}

.section-subheading {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

/* Navigation */
#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(33, 37, 41, 0.9);
    transition: var(--transition);
}

#mainNav .navbar-brand {
    font-weight: 700;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 0.75rem 0;
    margin: 0 1rem;
    transition: var(--transition);
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--white);
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        background-color: transparent;
    }
    
    #mainNav.navbar-scrolled {
        background-color: rgba(33, 37, 41, 0.9);
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-image: url('../img/background7.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinha à esquerda */
    text-align: left;
    padding-left: 5%;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Mulish', sans-serif;
    font-size: 2.75rem; /* maior que antes */
    font-weight: 300;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
}

.hero-custom {
    background: linear-gradient(180deg, #2AA7F9 0%, #006DE4 100%);
    padding-top: 6rem;
    padding-bottom: 4rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    overflow: hidden;
    position: relative;
    min-height: 50vh;
}

.hero-custom h1 {
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.hero-custom p {
    font-weight: 300;
    font-size: 1.1rem;
    color: #f0f8ff;
    margin-bottom: 2rem;
}

.hero-img {
    max-width: 75%;
    height: auto;
    border-radius: 0.75rem;
}

.btn-hero {
    background: #2FFFAD;
    color: #0057D1;
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: 0.3s ease-in-out;
}

.btn-hero:hover {
    background: #28e2a0;
    color: #001f2b;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

/* Page Headers */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 300px;
    /* background-image: url('../img/background1.png'); */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* Services */
.service-card {
  background-color: #0057D1; /* Azul escuro */
  border-radius: 16px;
  padding: 1.5rem;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.service-card .icon-wrapper {
    width: 200px;
    height: 200px;
    object-fit: contain;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-card .icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
  color: #2FFFAD; /* Verde Tegge */
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #ffffff;
  font-size: 0.95rem;
}

.service-card .btn-link {
    color: #2FFFAD;
    text-decoration: none;
    font-weight: 500;
    display: block;
    text-align: center;
}

.service-card .btn-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.service-detail .service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.service-detail .service-features li {
    margin-bottom: 0.5rem;
}

/* Portfolio */
.portfolio-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    overflow: hidden;
}

.portfolio-img img {
    transition: var(--transition);
    width: 100%;
}

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

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

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

.portfolio-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.portfolio-filters .btn {
    margin-right: 5px;
    margin-bottom: 10px;
}

.portfolio-filters .btn.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5em;
    color: var(--primary);
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.testimonial-author h5 {
    margin-bottom: 0;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--secondary);
}

/* Team */
.team-member {
    text-align: center;
    margin-bottom: 20px;
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
    margin-top: 15px;
    margin-bottom: 5px;
}

.team-member p {
    margin-bottom: 15px;
}

.team-member .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.team-member .social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #e9e9e9;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-badge {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
}

.timeline-content h4 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-badge {
        left: 40px;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        margin-left: 90px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 90px;
    }
}

/* Contact */
.contact-info .icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

/* Footer */
.footer {
    background-color: #0F1114;
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer hr {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Error Page */
.error-page {
    background-color: #f8f9fa;
}

.error-page h1 {
    font-size: 8rem;
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
    .section-heading {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}


/* Botão duplo */
.btn-switch {
    border: 1px solid #ccc;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-switch .btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #fff;
    color: #0057D1;
    border: none;
}

.btn-switch .btn-switch-left {
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.btn-switch .btn-switch-right {
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.btn-switch .active {
    background-color: #0057D1;
    color: white;
}

.swiper-servicos {
  padding-bottom: 2rem;
}

.swiper-navigation {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.swiper-slide {
  height: auto !important;
}
.swiper-slide.hidden-slide {
  display: none !important;
}
.service-card .icon-wrapper img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.service-img {
  max-height: 320px;       /* altura uniforme */
  object-fit: contain;     /* evita corte e distorção */
  width: 100%;
}

/* .icon-wrapper img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
} */

.btn-hero-rounded {
  background-color: #0057D1;
  color: #ffffff;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 87, 209, 0.15);
}

.btn-hero-rounded:hover {
  background-color: #0044b3;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 87, 209, 0.25);
}

.about-green-theme {
  background-color: #4EF291;
  position: relative;
  overflow: hidden; /* Verde-claro pastel */
}
.about-title,
.about-subtitle,
.about-desc {
  color: #0057D1; /* Azul escuro */
}


.about-green-theme .about-title {
  color: #0057D1;
  font-weight: 700;
  font-size: 2.25rem;
  font-family: 'Mulish', sans-serif;
  margin-bottom: 1rem;
}

.about-green-theme .about-subtitle {
  color: #595F6B;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.about-green-theme .about-desc {
  color: #0057D1;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-hero-rounded {
  background-color: #0057D1;
  color: white;
  border-radius: 2rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  border: none;
}

.btn-hero-rounded:hover {
  background-color: #003f9e;
  color: white;
}
.about-float-image {
  position: absolute;
  left: -100px;
  bottom: 0;
  height: 340px;
  z-index: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Estilo personalizado para alertas de sucesso */
.alert-success {
    background-color: #2FFFAD !important; /* Verde Tegge */
    color: #333 !important; /* Cinza escuro para texto */
    border: none;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

/* Botão de fechar no alerta */
.alert-success .btn-close {
    filter: invert(40%) grayscale(1); /* deixa o ícone cinza escuro */
    opacity: 0.7;
}
.alert-success .btn-close:hover {
    opacity: 1;
}

.titulo-principal {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff; /* branco */
}

.titulo-verde {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4EF291; /* verde Tegge */
    margin-top: 8px;
}

.service-card p {
    color: #ffffff;
    margin-top: 10px;
}

.icon-wrapper img {
    display: block;
    margin: 0 auto;
}
.service-card {
  padding: 30px !important;
  min-height: 330px;
}

.swiper-slide {
  width: 300px !important;
}
.flash-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 9999;
}

.flash-message {
    min-width: 380px;
    max-width: 90vw;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
    animation: flashSlideDown 0.4s ease-out;
}

/* Sucesso */
.flash-success {
    background: #11e29b; /* Verde Tegge */
    color: #004c3f;
}

/* Erro */
.flash-error {
    background: #ff6961;
    color: white;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-icon {
    font-size: 1.3rem;
}

.flash-close {
    border: none;
    background: transparent;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes flashSlideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}