/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #666;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #666;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

p {
    margin-bottom: 15px;
    color: #555;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #666;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #614949;
}

/* Estilos do Hero Section com layout dividido */
.hero {
    padding: 80px 0;
    background-color: white;
    /* Cor de fundo opcional */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-grid {
    margin-top: 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    padding-right: 30px;
}


.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    /* Impede que os botões quebrem linha */
    flex-wrap: nowrap;
    /* Adiciona scroll horizontal se necessário */
    overflow-x: auto;
    padding-bottom: 5px;
    /* Espaço para o scroll */
}

/* Remove a aparência padrão de scroll */
.hero-buttons::-webkit-scrollbar {
    display: none;
}

/* Mantém o mesmo estilo dos botões */
.btn {
    margin-top: 5%;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Impede que os botões encolham */
    flex-shrink: 0;
}


.btn-primary {
    background-color: #000000;
    color: white;
    border: 2px solid #000000;
}

.btn-primary:hover {
    background-color: #3c3c3c;
    border-color: #3c3c3c;
}

.btn-secondary {
    background-color: transparent;
    color: black;
    border: 2px solid black;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.hero-image img {
    margin-top: -5%;
    margin-left: 25%;
    width: 80%;
    height: auto;
    border-radius: 8px;
}


/* About Section */
#about.about {
    background-color: #ffffff;
    position: relative;
}

.container-about {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilo para o título "SOBRE NÓS" */
#about.about h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
}

/* Efeito decorativo opcional para o título */
#about.about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: black;
    margin: 15px 0 0;
}

/* Estilo para os parágrafos */
.about-text .text1 {
    font-size: 1.1rem;
    color: #444444;
    line-height: 1.8;
    text-align: justify;
}

/* Estilo para hover nos parágrafos (opcional) */
.about-text .text1:hover {
    color: #333333;
    transition: color 0.3s ease;
}


/* Section de soluções */
.solucoes-container {
    background-color: white;
    text-align: center;
}

.solucoes-texto {
    color: black;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.destaque {
    font-weight: bold;
}

.metricas {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.metrica-item {
    display: flex;
    align-items: center;
    /* Centraliza verticalmente o conteúdo */
    gap: 10px;
    /* Espaço entre número e texto */
}

.numero-container {
    display: flex;
    align-items: center;
}

.numero {
    font-size: 3rem;
    font-weight: bold;
    color: black;
    margin-bottom: 5px;
}

.sinal-plus {
    font-size: 2.5rem;
    margin-right: 5px;
    color: black;
    align-self: center;
    /* Centraliza verticalmente com o número */
}

.rotulo {
    text-align: left;
    font-size: 1rem;
    color: black;
    white-space: nowrap;
    /* Evita quebra de linha */
}














/* Services Section */
.services {
    background-color: white;
    padding: 50px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
}

/* Efeito decorativo opcional para o título */
.container h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: black;
    margin: 15px 0 0;
}

.container p {
    font-size: 1.1rem;
    color: #444444;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 8px;
    /* Arredondamento das bordas */
    border: 2px solid #000;
    /* Borda preta de 1px */
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.service-icon {
    font-size: 1.3rem;
    color: black;
}

.service-card h3 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.service-card p {
    align-items: center;
    text-align: justify;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-link {
    display: inline-block;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.service-link:hover {
    text-decoration: underline;
}


/* Testimonials Section */
.testimonials {
    background-color: white;
    padding: 60px 0;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 40px;
}

.rating-badge {
    margin-top: 20px;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 5px;
}

.stars {
    color: #FFB800;
    font-size: 18px;
    margin-right: 8px;
}

.rating {
    font-weight: 600;
    margin-right: 5px;
}

.review-count {
    color: #666;
}

.testimonials h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 600;
    color: #333;
}

.review-date {
    color: #888;
    font-size: 13px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.view-all-reviews {
    text-align: center;
    margin-top: 40px;
}


.testimonial-card {
    transition: opacity 0.5s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Garante que o texto fique alinhado à esquerda */
.testimonial-text {
    text-align: left !important;
    padding-left: 0 !important;
}


.testimonial-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: black;
    /* Azul do Google */
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.3);
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.testimonial-btn:hover {
    background-color: #3c3c3c;
    /* Azul mais escuro */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.testimonial-btn:active {
    transform: translateY(0);
}

/* Efeito opcional de onda ao clicar */
.testimonial-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.testimonial-btn:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}





/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: white;
}

.portfolio h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
}

.portfolio-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s;
}

.portfolio-item:hover img {
    filter: brightness(0.5);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.portfolio-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.portfolio-tech {
    margin-top: 1px
}

.portfolio-tech span {
    display: inline-block;
    background: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.portfolio-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.portfolio-link:hover {
    color: #4dabf7;
    transform: translateX(5px);
}

.portfolio-link::after {
    content: "→";
    margin-left: 5px;
    transition: all 0.3s;
}

.portfolio-link:hover::after {
    margin-left: 10px;
}



/* CTA Section */
.cta {
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
}

.cta p {
    align-items: center;
    text-align: justify;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}



form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 700px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 70px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.submit-btn {
    margin-top: 50px;
    background-color: black;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #666;
}

.terms {
    display: flex;
    align-items: center;
    gap: 10px;
}


.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 colunas */
    gap: 10px 40px;
    /* espaço entre linhas e colunas */
    max-width: 800px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
    cursor: pointer;
}

.checkbox-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}



.politica-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.politica-container label {
    font-size: 14px;
    line-height: 1.4;
    max-width: 500px;
}

.politica-container input[type="checkbox"] {
    accent-color: black;
    width: 16px;
    height: 16px;
}


/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #666;
}

.footer-bottom p {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid white;
    color: #bbb;
    font-size: 0.9rem;
}

/* Estilo para o container da logo e slogan */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Estilo para o texto do slogan */
.slogan {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}



/* Mantém os estilos existentes para a logo */
.logo img {
    margin-top: 10px;
    height: 50px;
    width: auto;
}


/* Botões de topo e WPP */

.btn-whatsapp, .btn-topo {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none; /* Inicialmente ocultos */
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s;
    z-index: 999;
}

.btn-whatsapp {
    bottom: 90px; /* Posicionado acima do btn-topo */
}

.btn-topo {
    bottom: 30px;
}

.btn-whatsapp:hover, .btn-topo:hover {
    opacity: 0.8;
}

.btn-whatsapp.visivel, .btn-topo.visivel {
    display: flex; /* Aparece ao rolar */
}

.btn-whatsapp::after {
    font-family: "Font Awesome 6 Brands"; /* Família de ícones de marcas */
    content: "\f232"; /* Código Unicode do ícone do WhatsApp */
    font-weight: 400; /* Peso normal (ícones Brands usam 400, não 900) */
}

/* Ajuste opcional para centralizar melhor o ícone */
.btn-whatsapp {
    font-size: 22px; /* Tamanho ligeiramente menor se necessário */
}

.btn-topo::after {
    content: "↑"; /* Ícone do Topo */
}

select[name="Como_nos_encontrou"],
select[name="Como_nos_encontrou"]:hover,
select[name="Como_nos_encontrou"]:focus {
  background-color: white;
  color: #6a6a6a;
}



/* ==================== MEDIA QUERIES ==================== */

/* Tablet e telas médias (768px - 1024px) */
@media (max-width: 1024px) {
    /* Ajustes gerais */
    section {
        padding: 70px 0;
    }
    
    h2 {
        font-size: 2rem;
        margin: 0 20px 20px 20px;
    }
    
    p {
        font-size: 1rem;
        margin: 0 20px 15px 20px;
        line-height: 1.5;
    }
    
    /* Hero section */
    .hero-grid {
        gap: 30px;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-image img {
        display: none;
    }

    .hero-subtitle {
        width: 100%;
        margin-top: 15%;
    }

    /* Ajustes nas métricas */
    .metricas {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
    
    .numero-container {
        margin-left: 17%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px; /* aumenta um pouquinho o espaço entre + e número */
        font-size: 2rem;
        line-height: 1;
      }
      
      .sinal-plus {
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .numero {
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      
    
    /* Serviços */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    
    /* Formulário */
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    .hero .hero-content h1 {
        font-size: 85%;
        line-height: 1.2; /* Espaçamento entre linhas menor */
        max-width: 600px; /* Limita a largura para forçar a quebra */
        margin: 0 auto 20px auto; /* Centraliza e adiciona margem inferior */
        text-align: center;
        word-spacing: normal; /* Evita espaçamento excessivo entre palavras */
    }

    .hero .hero-content p {
        width: 90%;
    }

    .solucoes-texto .destaque {
        font-size: 90%;
    }

      
      .politica-container label {
        margin-top: -18%;
        margin-left: 10%;
        text-align: left;
      }

    
      .footer-content {
        display: block;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    
    /* Coloca Serviços e Links lado a lado */
    .footer-column:nth-child(2) {  /* Serviços */
        display: inline-block;
        width: 45%;  /* Reduzi um pouco para dar espaço */
        text-align: left;
        vertical-align: top;
    }
    
    .footer-column:nth-child(3) {  /* Links */
        display: inline-block;
        width: 40%;  /* Reduzi um pouco para dar espaço */
        text-align: left;
        vertical-align: top;
        margin-left: 13%;  /* Espaçamento maior entre colunas */
    }
    
    /* Mantém Contato com largura total */
    .footer-column:last-child {
        display: block;
        width: 100%;
    }
    
    /* Centraliza ícones sociais */
    .social-links {
        justify-content: center;
    }

    .portfolio-content p {
        color: white;
        font-size: 1rem;
        line-height: 1.5;
        margin-left: 0%; /* ajusta conforme necessário */
    }

}

/* Telas pequenas (576px - 768px) */
@media (max-width: 768px) {
    /* Ajustes gerais */
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.8rem;
        margin: 0 15px 20px 15px;
    }
    
    p {
        font-size: 0.95rem;
        margin: 0 15px 15px 15px;
    }
    
    /* Menu hamburguer */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.5s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        line-height: 85px;
    }
    
    .slogan {
        font-size: 0.8rem;
    }

    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero section */
    .hero-grid {
        grid-template-columns: 1fr;
        margin-top: 70px;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero .hero-content h1 {
        font-size: 85%;
        line-height: 1.2; /* Espaçamento entre linhas menor */
        max-width: 600px; /* Limita a largura para forçar a quebra */
        margin: 0 auto 20px auto; /* Centraliza e adiciona margem inferior */
        text-align: center;
        word-spacing: normal; /* Evita espaçamento excessivo entre palavras */
    }
    
    .hero .hero-content p {
        width: 90%;
    }

    .hero-image img {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
        margin: 0 15px;
    }


    .solucoes-container {
        width: 90%; /* Melhor para responsividade do que 95% */
        max-width: 1200px; /* Limita a largura em telas grandes */
        margin: 0 auto; /* Centraliza o container */
        padding: 2rem 1rem; /* Espaçamento interno proporcional */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem; /* Espaço consistente entre elementos */
    }
    
    .solucoes-container p {
        text-align: justify; /* Justificado não é ideal para UX em textos curtos */
        width: 100%;
        font-size: 105%;        line-height: 1.6; /* Melhora legibilidade */
        color: #333; /* Cor mais acessível que preto puro */
        margin: 0 auto; /* Remove margens inconsistentes */
        max-width: 800px; /* Limita largura para melhor leitura */
    }
    
    /* Métricas */
    .metricas {
        margin-right: 20%;
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .sinal-plus {
        margin-bottom: 10%;
    }
    
    /* Serviços */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card p {

        position: relative;
        width: 100%;
        margin: 5px 0 15px 0; /* Espaçamento vertical (ajuste conforme necessidade) */
        text-align: justify;    /* Alinhamento do texto */
    }

    
    .rating-badge {
        margin-right: 20%;
    }

    /* Testemunhos */

    .testimonial-header {
        text-align: center;
      }
      
      .rating-badge {
        display: flex;
        flex-direction: column; /* ou row se quiser tudo na mesma linha */
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin: 16px auto 0 auto;
      }
      
      .google-icon {
        width: 70px;
        height: auto;
      }
      
      .stars {
        font-size: 1.2rem;
        color: gold;
      }
      
      .rating {
        font-weight: bold;
      }
      
      .review-count {
        font-size: 0.9rem;
        color: #555;
      }
      
      

    .testimonial-header h2 {
        font-size: 1.1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .portfolio-item {
        height: 350px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }

    .container h2 {
        font-size: 1.1rem;
    }

    /* Estilo para o título "SOBRE NÓS" */
    #about.about h2 {
        font-size: 1.2rem;

    }

    .politica-container label {
        margin-top: -18%;
        margin-left: 10%;
        text-align: left;
      }


}

/* Telas muito pequenas (até 576px) */
@media (max-width: 576px) {
    /* Ajustes gerais */
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 1.6rem;
        margin: 0 10px 15px 10px;
    }
    
    p {
        font-size: 0.9rem;
        margin: 0 10px 15px 10px;
    }
    
    /* Hero section */
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-image img {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    
    .btn {
        width: 100%;
    }
    
    /* Formulário */
    .checkbox-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    .politica-container label {
        margin-top: -18%;
        margin-left: 10%;
        text-align: left;
      }

}

/* Ajustes para telas muito pequenas (até 400px) */
@media (max-width: 400px) {
    /* Ajustes gerais */
    h2 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 0.85rem;
    }
    
    /* Hero section */
    .hero h1 {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Métricas */
    .numero {
        font-size: 2rem;
    }
    
    .sinal-plus {
        font-size: 1.8rem;
    }
    
    /* Portfolio */
    .portfolio-item {
        height: 300px;
    }
    
    .portfolio-content h3 {
        font-size: 1.3rem;
    }
    .politica-container label {
        margin-top: -18%;
        margin-left: 10%;
        text-align: left;
      }

}