/*
 * CSS PROFISSIONAL E OTIMIZADO - FLARO CLEANING SERVICES
 *
 * Versão: 5.8 (Correção Final de Ícones de Contato)
 * Estrutura: Mobile-First, com Media Queries consolidadas no final.
 * Filosofia: Design limpo, fluido e responsivo.
*/

/* ======================= */
/* 1. RESET E PADRÕES GLOBAIS */
/* ======================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Compensa a altura do header fixo no mobile */
    overflow-x: hidden; /* Evita rolagem lateral em toda a página */
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: #343A40;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Garante que não haja rolagem lateral */
}

/* Classe para bloquear scroll quando o menu mobile está aberto */
body.nav-open {
    overflow: hidden;
}


/* ======================= */
/* 2. TIPOGRAFIA E LAYOUT BASE */
/* ======================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #0A3D62;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    color: #6c757d;
}

a {
    color: #48C9B0;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:not(.btn):hover {
    filter: brightness(0.9);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden; /* Previne que animações internas causem overflow */
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 1rem;
    color: #0A3D62; /* Garante que os títulos da seção sejam escuros */
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    text-align: center;
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.section-title-left {
    text-align: left;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.section-tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #48C9B0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
}
.section-title-left + .section-tag, .about-content .section-tag {
    text-align: left;
}


/* ======================= */
/* 3. BOTÕES (COMPONENTS) */
/* ======================= */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #0A3D62;
    color: #FFFFFF;
    border-color: #0A3D62;
}
.btn-primary:hover {
    background-color: #48C9B0;
    color: #0A3D62;
    border-color: #48C9B0;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(72, 201, 176, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}
.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #0A3D62;
    transform: translateY(-4px);
}

.btn-instagram {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 1rem auto;
    width: fit-content;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}


.btn-instagram:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(220, 39, 67, 0.4);
}


/* ======================= */
/* 4. HEADER & NAVEGAÇÃO */
/* ======================= */
.header {
    width: 100%;
    position: fixed; /* em vez de sticky */
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Aumentado para acomodar a nova logo */
}

.logo-img {
    height: 120px; /* Aumentado em 15% (de 65px) */
    width: auto;
}

/* --- Menu Mobile --- */
.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 350px); /* Ocupa 80% da largura da tela, no máximo 350px */
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.nav-links.active {
    transform: translateX(0);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #0A3D62;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
}

.btn-nav-contact {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
}

.nav-cta {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #0A3D62;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ======================= */
/* 5. SEÇÃO HERO */
/* ======================= */
.hero {
    background-image: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.85)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzNzc0fDB8MHwxfGFsbHx8fHx8fHx8fDE3MjU2NjgyMTB8&ixlib=rb-4.0.3&q=85&w=1920');
    background-size: cover;
    background-position: center center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 10rem 1rem 4rem 1rem;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

/* ======================= */
/* 6. SEÇÃO SERVIÇOS */
/* ======================= */
.services-features {
    background-color: #F8F9FA;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(72, 201, 176, 0.2);
    border-color: #48C9B0;
}

.feature-icon svg {
    color: #48C9B0;
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem auto;
    transition: color 0.3s ease, transform 0.3s ease;
}
.feature-card:hover .feature-icon svg {
    color: #0A3D62;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* ======================= */
/* 7. SEÇÃO PROCESSO */
/* ======================= */
.processo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.processo-step .processo-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #F8F9FA;
    border: 2px solid #48C9B0;
    margin-bottom: 1.5rem;
    transition: 0.3s ease;
}
.processo-step .processo-icon svg {
    width: 40px;
    height: 40px;
    color: #0A3D62;
    transition: 0.3s ease;
}
.processo-step:hover .processo-icon {
    background-color: #48C9B0;
}
.processo-step:hover .processo-icon svg {
    color: #FFFFFF;
    transform: scale(1.1);
}

.processo-step h3 {
    font-size: 1.3rem;
}

/* ======================= */
/* 8. SEÇÃO QUEM SOMOS (ABOUT) */
/* ======================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content p:first-of-type {
    font-size: 1.15rem;
    color: #343A40;
}
.about-content strong {
    color: #0A3D62;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.benefits-list .icon {
    flex-shrink: 0;
    color: #48C9B0;
    width: 24px;
    height: 24px;
    margin-top: 3px;
}
.benefits-list span strong {
    color: #343A40;
}

/* ======================= */
/* 9. GALERIA (CARROSSEL) */
/* ======================= */
.gallery-carousel {
    margin-top: 3rem;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 2rem 0 3rem 0;
}

.gallery-pair {
    display: grid;
    grid-template-columns: 1fr; /* UMA COLUNA: ANTES E DEPOIS FICAM UM EM CIMA DO OUTRO */
    gap: 1.5rem; /* AUMENTADO PARA MAIS ESPAÇO */
    width: 100%;
    padding: 0 1rem;
}

.gallery-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding-bottom: 75%; /* PROPORÇÃO DA IMAGEM */
}
.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #FFFFFF;
    z-index: 10;
    text-transform: uppercase;
}
.image-label.before { background-color: #e74c3c; }
.image-label.after { background-color: #48C9B0; }

/* --- AJUSTE DAS SETAS DO CARROSSEL (VISÍVEIS EM TODAS AS TELAS) --- */
.gallery-carousel .swiper-button-next,
.gallery-carousel .swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #0A3D62;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}
.gallery-carousel .swiper-button-next:hover,
.gallery-carousel .swiper-button-prev:hover {
    background-color: #FFFFFF;
}
.gallery-carousel .swiper-button-next::after,
.gallery-carousel .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
}
/* --- FIM DO AJUSTE --- */

.swiper-pagination-bullet-active {
    background-color: #0A3D62;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}
/* ======================= */
/* 10. DEPOIMENTOS (MURAL) */
/* ======================= */
.testimonials {
    background-color: #0A3D62; /* Revertido para azul escuro */
    color: #FFFFFF; /* Revertido para texto claro */
}
.testimonials .section-tag { color: #48C9B0; }
.testimonials .section-title { color: #FFFFFF; } /* Revertido para texto claro */
.testimonials .section-subtitle { color: rgba(255, 255, 255, 0.85); } /* Revertido para texto claro */

.testimonial-mural-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop padrão */
  gap: 2rem;
  margin-top: 3.5rem;
}

.mural-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.mural-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.mural-item:hover img {
  transform: scale(1.05);
}

.testimonial-footer {
  margin-top: 12px;
  text-align: center;
}

.client-name {
  font-weight: bold;
  font-size: 18px;
  margin: 6px 0;
  color: #0A3D62;
}

.stars {
  color: #FFD700;
  font-size: 20px;
}

/* Tablet (máx 992px) */
@media (max-width: 992px) {
  .testimonial-mural-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-name {
    font-size: 16px;
  }
  .stars {
    font-size: 18px;
  }
}

/* Mobile (máx 600px) */
@media (max-width: 600px) {
  .testimonial-mural-grid {
    grid-template-columns: 1fr;
  }
  .client-name {
    font-size: 15px;
  }
  .stars {
    font-size: 17px;
  }
}


/* ======================= */
/* 11. FAQ (INTERATIVO) */
/* ======================= */
.faq {
    background-color: #F8F9FA; /* De branco para azul claro */
}
.faq .section-title {
    color: #0A3D62;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-grid {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item details {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}
.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0A3D62;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: #48C9B0;
    transition: transform 0.2s ease;
}
.faq-item details[open] { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.faq-item details[open] summary { color: #48C9B0; }
.faq-item details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #F8F9FA;
    color: #6c757d;
}

/* ======================= */
/* 12. CONTATO E FORMULÁRIO */
/* ======================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-wrapper h2 { text-align: left; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%; padding: 1rem; border: 1px solid #ccc;
    border-radius: 8px; font-family: 'Lato', sans-serif;
    font-size: 1rem; transition: 0.3s ease;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none; border-color: #48C9B0;
    box-shadow: 0 0 0 3px rgba(72, 201, 176, 0.3);
}

.form-group-radio { border: none; padding: 0; margin: 2rem 0 1.5rem 0; }
.form-group-radio legend {
    font-weight: 600; font-family: 'Poppins', sans-serif;
    color: #0A3D62; margin-bottom: 1rem; font-size: 1.1rem;
}
.radio-options-wrapper { display: flex; flex-wrap: wrap; gap: 1rem; }
.radio-option input[type="radio"] { opacity: 0; position: fixed; width: 0; }
.radio-option label {
    display: inline-block; padding: 0.75rem 1.5rem;
    background: #FFFFFF; border: 2px solid #ddd;
    border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: all 0.2s ease;
    color: #343A40; /* AJUSTE: Garante que o texto do radio seja escuro */
}
.radio-option input[type="radio"]:checked + label {
    background-color: #48C9B0;
    border-color: #48C9B0; color: #0A3D62;
    box-shadow: 0 4px 10px rgba(72, 201, 176, 0.3);
}
.btn-submit-full { width: 100%; padding: 1rem; font-size: 1.15rem; }

/* AJUSTE FINAL: Cor do texto e ícones para informações de contato */
.contact-grid > div:last-child p,
.contact-grid > div:last-child li {
    color: #343A40;
}

/* Seletor mais robusto para os ícones */
.contact-grid i,
.contact-grid [class*="fa-"] {
    color: #343A40 !important; /* Força a cor do ícone para escuro */
}

.contact-grid > div:last-child a {
    color: #0A3D62;
    font-weight: 600;
}

/* Ajuste dos ícones SVG no contato */
.contact-grid svg {
    width: 22px;         /* Ajuste de tamanho */
    height: 22px;
    stroke: #343A40;     /* Cor do traço */
    fill: none;          /* Remove preenchimento sólido */
    stroke-width: 2;     /* Espessura da linha */
    flex-shrink: 0;      /* Não deixar o ícone achatar */
    margin-right: 10px;  /* Espaço entre ícone e texto */
}


/* ======================= */
/* 13. FOOTER (RODAPÉ) */
/* ======================= */
.footer {
    background: #0A3D62; /* Revertido para azul escuro */
    color: rgba(255, 255, 255, 0.8); /* Revertido para texto claro */
    padding: 5rem 0 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Borda escura */
}
.footer-col:first-child p { max-width: 300px; }
.footer-socials { margin-top: 1.5rem; display: flex; gap: 1rem; }
.footer-socials a { color: #FFFFFF; }
.footer-socials a:hover { color: #48C9B0; transform: scale(1.1); }
.footer h4 {
    color: #FFFFFF; /* Revertido para texto claro */
    font-size: 1.1rem;
    margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer ul a { color: rgba(255, 255, 255, 0.8); }
.footer ul a:hover { color: #48C9B0; padding-left: 5px; }
.footer-bottom-bar { text-align: center; padding: 2rem 0; font-size: 0.9rem; }
.footer-bottom-bar a { color: #48C9B0; font-weight: 600; }

/* =================================================== */
/* 14. CLASSES DE SUPORTE AO JS */
/* =================================================== */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.nav-link.active-link { color: #48C9B0; }
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }
.back-to-top {
    position: fixed; bottom: 20px; right: 20px;
    background-color: #0A3D62; color: #FFFFFF;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    z-index: 998; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0; transform: translateY(100px); visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.back-to-top.active { opacity: 1; transform: translateY(0); visibility: visible; }
.back-to-top:hover { background-color: #48C9B0; transform: translateY(-5px); }


/* =================================================== */
/* 15. MEDIA QUERIES (RESPONSIVIDADE) */
/* =================================================== */

/* --- TABLETS (768px ou mais) --- */
@media (min-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
    .navbar {
        height: 100px; /* Aumentado para acomodar a nova logo */
    }
    .logo-img {
        height: 150px; /* Aumentado em 22% (de 75px) */
    }
    section {
        padding: 5rem 0;
    }
    .hero {
        min-height: 90vh;
        background-attachment: fixed;
    }
    .features-grid,
    .processo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-mural-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
    .gallery-pair {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0;
    }
    .gallery-image-wrapper {
        margin: 0;
    }
    .swiper-button-next, .swiper-button-prev {
        display: flex;
    }
    .faq-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        padding: 3rem;
    }
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* --- DESKTOPS (1024px ou mais) --- */
@media (min-width: 1024px) {

    /* Centraliza o conteúdo de cada seção verticalmente */
    section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Ajuste para o Hero não ficar com altura dupla */
    .hero {
        min-height: calc(100vh - 80px);
    }

    /* Garante que o footer não ocupe a tela inteira */
    .footer {
        min-height: auto;
    }
    
    .menu-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: transparent;
        transform: none;
        padding: 0;
        overflow-y: visible;
        box-shadow: none;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 1rem;
        right: 1rem;
        height: 3px;
        background-color: #48C9B0; /* Verde Menta Fresco */
        border-radius: 2px;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active-link::after {
        transform: scaleX(1);
    }
    
    .btn-nav-contact {
        display: none;
    }

    .nav-cta {
        display: inline-block;
    }

    .features-grid,
    .processo-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    /* ADICIONADO: Regra para centralizar o mural de depoimentos */
.testimonial-mural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;   /* Centraliza o grid em si */
    align-items: center;       /* Centraliza os itens verticalmente */
    max-width: 1200px;       /* Limita a largura total para não esticar demais */
}

    .contact-grid {
        grid-template-columns: 60% 1fr;
        padding: 4rem;
        gap: 4rem;
    }
}


/* Estilo para o fundo escuro do menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998; /* Fica abaixo do menu, mas acima do conteúdo */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Classe para bloquear a rolagem do body */
body.nav-open {
    overflow: hidden;
}
/* =================================== */
/* 16. PRELOADER (TELA DA LOGO)        */
/* =================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.preloader-logo {
    max-width: 1400px; /* AUMENTADO PARA 1400px (era 180px). Ajuste para o tamanho que preferir! */
    opacity: 0;
    animation: fadeInLogo 1.5s ease forwards;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =================================== */
/* 17. INFORMAÇÃO DE SEGURO (INSURANCE) */
/* =================================== */

/* --- Estilo para a "PÍLULA" de seguro na SEÇÃO HOME (visível em todas as telas) --- */
.hero-insurance-note {
    display: inline-block;
    margin-top: 2.5rem; /* AJUSTE 3: Espaçamento extra abaixo dos botões */
    padding: 0.5rem 1.25rem;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeInUp 1s ease-out 0.9s;
    animation-fill-mode: both;
}

/* --- Estilo para a "PÍLULA" de seguro no MENU MOBILE --- */
.navbar-insurance-note {
    background-color: rgba(10, 61, 98, 0.05);
    color: #0A3D62;
    border: 1px solid rgba(10, 61, 98, 0.2);
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 50px;
    /* Posicionamento entre a logo e o menu hamburger */
    flex-grow: 1;
    max-width: max-content;
    margin: 0 1rem; /* Margens laterais para não colar nos outros itens */
}

/* --- Regra para DESKTOP (esconde a pílula do menu) --- */
@media (min-width: 1024px) {
    .navbar-insurance-note {
        display: none;
    }
}