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

:root {
    --primary-color: #003366; /* Azul escuro */
    --secondary-color: #0099CC; /* Azul claro */
    --accent-color: #FF9900; /* Laranja */
    --text-color: #333;
    --light-gray: #f8f9fa;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: #fff url('../images/wave-bg.png') no-repeat top center;
    background-size: 100% auto;
    position: relative; /* Necessário para o overflow funcionar consistentemente */
}


/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar .contact-info i {
    color: white;
}

.top-bar .social-icons a {
    color: white;
    margin-left: 0.5rem; /* Reduzido para mais espaço */
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.top-bar .social-icons a:hover {
    background-color: var(--secondary-color); /* Azul claro */
    color: white;
}

/* Navbar */
.navbar-brand img {
    height: 45px;
}

.navbar .nav-link {
    font-weight: 500;
    color: #000000;
    font-size: 14px;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #e68a00;
    border-color: #e68a00;
}

/* Hero Section */
.hero-section {
    background-color: #004a7c; /* Tom de azul do design */
    color: white;
    padding: 80px 0 120px; /* Aumentado o padding-bottom */
    height: 650px;
    display: flex;
    align-items: center;
    position: relative; /* Necessário para o z-index funcionar */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: background-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #e68a00;
    border-color: #e68a00;
    color: white;
}

.hero-image {
    max-width: 80%;
    margin-top: 80px; /* Desce a imagem para ficar atrás dos cards */
    position: relative;
    left: 50px; /* Move a imagem para a direita */
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: transparent; /* Fundo transparente para não cobrir a onda */
    position: relative;
}

@media (min-width: 992px) {
    .products-section {
        margin-top: -190px; /* Puxa a seção para cima */
        z-index: 10;
    }
}

.product-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Garante que a imagem não saia do card arredondado */
    height: 100%;
    border-top: 4px solid transparent; /* Define uma borda base transparente */
}

.product-card.border-top-blue {
    border-top-color: var(--primary-color);
}

.product-card.border-top-yellow {
    border-top-color: var(--accent-color);
}

.product-card.border-top-green {
    border-top-color: #28a745; /* Verde do botão de sucesso */
}

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

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.product-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}


.product-card .card-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-success {
    background-color: #28a745; /* Verde do design */
    border-color: #28a745;
    font-weight: 500;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-card-details {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.btn-card-details:hover {
    background-color: #002a52;
    border-color: #002a52;
    color: white;
}

/* General Section Styles */
.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* About Section on Page */
.about-section-page {
    padding: 80px 0;
    background-color: #fff;
}

.about-page-image-container {
    position: relative;
    background-color: #eaf6ff;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: url('../images/pattern.png');
    background-size: contain;
    opacity: 0.5;
}

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

.about-tabs .nav-link {
    border: 1px solid #ddd;
    color: var(--text-color);
    border-radius: 8px;
    margin-right: 10px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-tabs .nav-link.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.about-tabs .nav-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.about-tabs .nav-link.active i {
    transform: translateX(5px);
}

.about-section-page .features-list i {
    margin-right: 8px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: url('../images/empresarial.webp') no-repeat center center;
    background-size: cover;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.8); /* Overlay azul escuro */
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content .section-title {
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-light {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-light i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: #fff;
}

.step-card {
    position: relative;
    height: 100%;
}

.step-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-image-wrapper img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #666;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #eaf6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 20px;
    position: relative;
    z-index: 5;
    border: 4px solid white;
}

.step-icon-wrapper i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.step-connector-line {
    display: none;
}

/* Services Carousel Section */
.services-carousel-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}


.services-slider {
    overflow: hidden; /* Garante que os slides não vazem */
}

.services-slider .swiper-slide {
    transition: opacity 0.4s ease;
}

.services-carousel-section .swiper-button-next,
.services-carousel-section .swiper-button-prev {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.services-carousel-section .swiper-button-next:hover,
.services-carousel-section .swiper-button-prev:hover {
    background: #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Remove completamente o ícone padrão do Swiper */
.services-carousel-section .swiper-button-next::after,
.services-carousel-section .swiper-button-prev::after {
    content: '';
    display: none;
}

/* Estiliza apenas o ícone SVG */
.services-carousel-section .swiper-button-next svg,
.services-carousel-section .swiper-button-prev svg {
    width: 20px;
    height: 20px;
    fill: #0066cc;
    transition: fill 0.3s ease;
}

.services-carousel-section .swiper-button-next:hover svg,
.services-carousel-section .swiper-button-prev:hover svg {
    fill: white;
}

.services-carousel-section .swiper-button-prev {
    left: -25px;
}

.services-carousel-section .swiper-button-next {
    right: -25px;
}

.service-card-bg {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 350px; /* Altura fixa para os cards */
    display: flex;
    align-items: flex-end; /* Alinha o conteúdo na parte inferior */
    background-size: cover;
    background-position: right;
    transition: transform 0.4s ease;
}

.service-card-bg:hover {
    transform: scale(1.05);
}


.service-card-bg-content {
    position: relative;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
}

.service-badge {
    display: inline-block;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-card-bg .service-title {
    font-size: 1.2rem; /* Aumenta um pouco a fonte */
    font-weight: 600;
    color: white; /* Cor do texto para branco */
}

.service-card-bg .service-description {
    font-size: 0.9rem; /* Aumenta um pouco a fonte */
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.service-card-bg .service-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: 120px 0;
    background-color: #f0f7ff;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
}

.quote-form-wrapper {
    position: relative;
    z-index: 2;
}

.quote-man-img, .quote-woman-img {
    position: absolute;
    bottom: 0;
    max-height: 400px;
    z-index: 1;
}

.quote-man-img {
    left: -50px;
}

.quote-woman-img {
    right: -50px;
}

.insurance-types {
    text-align: center;
    margin-bottom: 2rem;
}

.insurance-types .btn {
    margin: 5px;
    border-radius: 8px;
    font-weight: 500;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.insurance-types .btn.active, .insurance-types .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.quote-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 5;
}

.quote-form .form-group {
    margin-bottom: 1.5rem;
}

.quote-form label {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.quote-form .form-control, .quote-form .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.range-slider-group {
    position: relative;
}

.range-slider-group .range-value {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-range:active + .range-value, .form-range:focus + .range-value {
    opacity: 1;
}

.quote-form .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f0f7ff;
}

/* New Professional Testimonial Card Styles */
.testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.08);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.07;
}

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

.testimonial-img {
    border: 3px solid var(--secondary-color);
}

.testimonial-quote {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.testimonial-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.star-rating {
    color: #FFD700;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-quote {
    font-style: italic;
    color: #555;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote .fa-quote-left {
    display: none; /* Remove the old quote icon */
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.star-rating .fa-star {
    color: var(--accent-color);
}

.testimonials-slider .swiper-pagination-bullet {
    background-color: var(--secondary-color);
    width: 10px;
    height: 10px;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}




/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: #fff; /* Fundo branco */
}

.blog-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.blog-img-container {
    position: relative;
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 1.5rem;
}

.blog-author {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-author i {
    margin-right: 5px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.blog-read-more, .blog-comments {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-read-more:hover, .blog-comments:hover {
    color: var(--primary-color);
}

.blog-read-more i, .blog-comments i {
    margin-right: 5px;
}


/* Blog Post Page */
.blog-post-page {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.post-content .post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.post-content .post-meta i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.post-content .post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.post-content .post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content .post-body h2, .post-content .post-body h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content .post-body p {
    margin-bottom: 1.5rem;
}

/* Sidebar Styles */
.sidebar .sidebar-widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar .widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
    position: relative;
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-form .form-control {
    height: 50px;
    border-radius: 25px;
    padding-left: 20px;
    padding-right: 50px;
}

.search-form .btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    width: 50px;
    background: transparent;
    color: var(--primary-color);
    border: none;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list .count {
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
}

.recent-post-title {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.recent-post-title:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 0.8rem;
    color: #888;
}

/* Comments Section */
.comments-title, .comment-form-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.comment-list .comment-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #adb5bd;
    flex-shrink: 0;
}

.comment-header {
    margin-bottom: 0.5rem;
}

.comment-author-name {
    font-weight: 600;
    color: #333;
}

.comment-date {
    font-size: 0.85rem;
    color: #888;
    margin-left: 1rem;
}

.comment-text {
    line-height: 1.7;
    color: #555;
}

.comment-form .form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.navbar .btn-orcamento-header {
    background-color: #003f6e; /* Um azul mais escuro e profissional */
    border-color: #003f6e;
    color: white; /* Garante que a fonte seja branca */
    padding: 6px 15px; /* Padding reduzido */
    font-size: 0.8rem; /* Fonte reduzida */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.navbar .btn-orcamento-header:hover {
    background-color: #002a52; /* Tom mais escuro para o hover */
    border-color: #002a52;
    color: white;
}

.comment-form .btn-primary {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}


/* Tag Cloud */
.tag-cloud a {
    display: inline-block;
    background-color: #e9ecef;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
}


/* Newsletter Section */
.newsletter-section {
    background-color: #3ca994; /* Tom de verde da imagem */
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.newsletter-title {
    color: white;
    font-weight: 700;
    font-size: 2rem;
}

.newsletter-form .form-control {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border: none;
    padding: 1rem;
}

.newsletter-form .btn-warning {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;
    padding: 1rem;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Footer Section */
.footer-section {
    position: relative;
    background: linear-gradient(to right, #003366, #0d4a7a);
}

.main-footer {
    padding: 80px 0; 
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    height: auto;
    max-width: 150px; /* Limita a largura da logo */
    border: 2px solid white;
    padding: 5px;
    background-color: rgba(255,255,255,0.9);
}

.footer-text {
    font-size: 0.9rem;
    margin: 1rem 0;
}

.footer-link-more {
    color: white;
    font-weight: 500;
    text-decoration: none;
}

.social-icons-footer a {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
}

.social-icons-footer a:hover {
    background-color: var(--accent-color);
    color: white;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '»';
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-subscribe-form .form-control {
    background-color: white;
    border: 1px solid white;
    color: var(--text-color);
    border-radius: 8px;
}

.footer-subscribe-form .form-control::placeholder {
    color: #999;
}

.footer-subscribe-form .btn-warning {
    background-color: var(--primary-color); /* Azul escuro */
    border-color: var(--primary-color);
    color: white;
    border-radius: 8px;
}

.footer-bottom {
    background-color: #002a52;
    padding: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-bottom a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

.back-to-top-btn::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 5px;
    z-index: -1;
}

.back-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.blog-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 1.5rem;
}

.blog-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.blog-author span {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.blog-footer a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-footer a:hover {
    color: var(--secondary-color);
}

.blog-footer a i {
    margin-right: 5px;
}

/* Page Header */
.page-header {
    background: var(--primary-color) url('../images/wave-bg.png') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.page-title {
    font-weight: 700;
    font-size: 3rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* =================================== */
/*          Responsive Styles          */
/* =================================== */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    /* Styles for the collapsed navbar items */
    .navbar-collapse {
        padding: 1rem 0;
    }

    .navbar .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

    .navbar .btn-orcamento-header {
        width: 100%;
        margin-top: 1rem;
        margin-left: 0 !important;
        text-align: center;
    }

    .navbar .d-flex a,
    .navbar .d-flex span {
        margin: 0.5rem 0 !important;
        padding: 0.5rem 0;
    }

    .navbar .d-flex span {
        display: none; /* Hide the vertical bar separator */
    }

    /* Remove o padding da seção do banner para eliminar espaços */
    .hero-section {
        padding: 60px 0 !important;
        margin: 0 !important;
        height: auto;
        text-align: center;
    }

    /* Correção FINAL e DEFINITIVA para a seção de produtos no mobile */
    #home-products.products-section {
        margin-top: 0 !important;
        padding: 40px 0;
        background-color: #fff;
    }

    .hero-section .row {
        flex-direction: column-reverse; /* Coloca o texto acima da imagem */
    }

    .hero-image {
        display: none; /* Oculta a imagem principal no mobile para focar no conteúdo */
    }

    .main-footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons-footer {
        justify-content: center;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar .contact-info {
        display: flex;
        flex-direction: column; /* Força o empilhamento */
        align-items: center; /* Centraliza os itens */
        width: 100%; /* Ocupa toda a largura */
        text-align: center;
    }

    .contact-item {
        display: block; /* Garante que cada item ocupe uma linha */
        margin-bottom: 5px;
    }

    .top-bar .social-icons {
        justify-content: center; /* Centraliza os ícones */
        width: 100%;
        display: flex;
        gap: 0.5rem; /* Espaçamento entre os ícones */
    }

    .top-bar .social-icons a {
        margin-left: 0;
    }

    /* Empilha os passos da seção 'Como Funciona' */
    .how-it-works-section .step-card {
        margin-bottom: 3rem;
    }

    /* Esconde as imagens laterais na seção de orçamento */
    .quote-man-img, .quote-woman-img {
        display: none;
    }

    /* Centraliza o conteúdo da seção CTA */
    .cta-section .cta-content {
        text-align: center;
    }

    .insurance-types {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-section .row {
        justify-content: center;
    }

    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom div:last-child {
        margin-top: 0.5rem;
    }

    .footer-bottom a {
        margin: 0 0.5rem;
    }

    .newsletter-section .row {
        text-align: center;
    }

    .newsletter-form {
        margin-top: 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.2rem;
    }
}


/* Filter/Search Section */
.filter-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.filter-form .form-control,
.filter-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* Products Grid Section */
.products-grid-section {
    padding: 80px 0;
}

.product-page-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    position: relative; /* Necessário para posicionar o badge */
    overflow: hidden; /* Garante que nada saia do card arredondado */
}

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

.product-img-container {
    position: relative;
}

.product-page-img {
    width: 100%;
    height: 180px; /* Diminui a altura da imagem */
    object-fit: cover; /* Volta para 'cover' para preencher o espaço */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-category-badge {
    position: absolute;
    top: 160px; /* Desce o badge para a área de conteúdo */
    left: -10px; /* Move um pouco para fora para criar um efeito */
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3; /* Garante que fique sobre o conteúdo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-page-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-page-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.product-page-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* CTA Contact Section */
.cta-contact-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
}

.cta-title {
    font-weight: 700;
}

.cta-text {
    color: rgba(255,255,255,0.9);
    margin-top: 0.5rem;
}

.cta-contact-section .btn-success {
    background-color: #25D366;
    border-color: #25D366;
    font-weight: 600;
}

.cta-contact-section .btn-outline-light {
    font-weight: 600;
}

/* Service Detail Section */
.service-detail-section {
    padding: 80px 0;
}

.sidebar .sidebar-widget {
    background-color: #eaf6ff; /* Azul claro suave */
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #eee;
}

.sidebar .sidebar-widget .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.recent-product-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem;
}

.recent-product-item:hover {
    background-color: #e9ecef;
}

.recent-product-item:last-child {
    margin-bottom: 0;
}

.recent-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.recent-product-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.service-content h2 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content h3 {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
}

.service-content ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

.service-content ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.sidebar-quote-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.sidebar-quote-form h5 {
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.sidebar-quote-form p {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Sobre Nós */
.sobre-nos-section {
    padding: 80px 0;
}

.sobre-nos-content {
    padding: 1.5rem;
}

.sobre-nos-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.sobre-nos-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #ddd;
    margin: 0 2px;
    border-radius: 5px;
}

.pagination .page-link:hover {
    background-color: #f0f7ff;
    color: var(--secondary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    z-index: 1;
}

/* Blog Section V2 */
.blog-section-v2 {
    padding: 80px 0;
    background-color: #fff; /* Changed to white */
}

.section-subtitle-v2 {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title-v2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Article Card - Final Version */
.article-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); /* Final shadow adjustment */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.article-card-img-container {
    position: relative;
}

.article-card-img-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 20px; /* Match card radius */
    border-top-right-radius: 20px; /* Match card radius */
}

.article-card-date {
    position: absolute;
    top: 20px; /* Adjusted position */
    left: 20px;  /* Adjusted position */
    background-color: #0099CC; /* Specific blue from image */
    color: white;
    padding: 8px 15px; /* Adjusted padding */
    border-radius: 10px; /* Adjusted border-radius */
    font-size: 0.8rem;
    font-weight: 600; /* Bolder font */
}

.article-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.article-card-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.article-card-author span {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.article-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.article-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: var(--secondary-color);
}

.article-card-excerpt {
    font-size: 0.9rem;
    color: #777; /* Lighter text color */
    margin-bottom: 1.5rem;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: auto;
}

.article-card-footer a {
    text-decoration: none;
    color: #6c757d; /* Lighter gray for links */
    font-weight: 500;
    font-size: 0.85rem; /* Slightly smaller font */
    transition: color 0.3s ease;
}

.article-card-footer a:hover {
    color: var(--secondary-color);
}

.article-card-footer a i {
    margin-right: 5px;
}

/* Sidebar Styles */
.sidebar .sidebar-widget {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.sidebar .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.recent-services-cards .card-img-top {
    height: 100px;
    object-fit: cover;
}

.sidebar .btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

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

/* Quote Page Styles */
.quote-page-section {
    background-color: var(--light-gray);
}

.quote-form-wrapper .form-label {
    font-weight: 500;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-section {
    background-color: var(--light-gray);
}

.contact-form-wrapper,
.contact-details-wrapper {
    height: 100%;
}

.social-icons-contact a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Recent Services Widget */
.recent-service-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.recent-service-item:hover {
    background-color: #f8f9fa;
}

.recent-service-item:last-child {
    margin-bottom: 0;
}

.recent-service-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.recent-service-item span {
    font-weight: 500;
    font-size: 0.9rem;
}




@media (max-width: 991px) {
    /* Oculta imagens decorativas em telas menores */
    .quote-man-img, .quote-woman-img, .hero-image {
        display: none;
    }
    
    .hero-section {
        height: auto;
        padding: 60px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .main-footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons-footer {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-bottom .row, .top-bar .row {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p, .top-bar p {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom div:last-child, .top-bar div:last-child {
        margin-top: 0.5rem;
    }

    .footer-bottom a {
        margin: 0 0.5rem;
    }

    .newsletter-section .row {
        text-align: center;
    }

    .newsletter-form {
        margin-top: 1.5rem;
    }
}

/* Blog Post Page - New Styles */
.blog-post-page .post-content-wrapper {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.post-tags-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.post-tags a {
    display: inline-block;
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 5px 15px;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #dee2e6;
}

.post-tags a:hover {
    background-color: #e9ecef;
}

.share-icons a {
    color: #adb5bd;
    font-size: 1.2rem;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.share-icons a:hover {
    color: var(--primary-color);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Sidebar adjustments for new design */
.sidebar .sidebar-widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.sidebar .widget-title {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar .category-list a {
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar .category-list a::before {
    content: '»';
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.sidebar .recent-post-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.sidebar .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}lhanda cosnegui tirar