/* Estilos Gerais (manter os do exemplo anterior ou ajustar) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Ajuste o padding para não ter espaço lateral desnecessário na barra de categorias */
}

h1, h2, h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

p {
    text-align: center;
    margin-bottom: 15px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-flex; /* Usar flex para alinhar ícone e texto */
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin: 10px;
    text-align: center;
    font-size: 1.1em;
}

.btn-primary {
    background-color: #28a745; /* Verde para ligar */
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #218838;
    text-decoration: none;
}

.btn-secondary {
    background-color: #3498db; /* Azul para WhatsApp */
    color: white;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background-color: #217dbb;
    text-decoration: none;
}

.btn-primary i, .btn-secondary i {
    margin-right: 8px; /* Espaçamento entre ícone e texto */
    font-size: 1.2em;
}

/* --------------------- ESTILOS DA PRIMEIRA PARTE (conforme a imagem) --------------------- */

/* Header Principal (Top Bar - cinza escuro) */
.main-header {
    background-color: #FFFFFF; /* Cor similar ao cabeçalho da Reformax */
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Garante padding horizontal */
}
.main-header {
    background-color: #fff; /* ou a cor de fundo desejada */
    padding: 10px 20px;
}

.containera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: #560B0E;
    font-size: 1.6em;
    margin: 0;
    font-weight: bold;
}

/* Menu padrão */
.main-nav {
    display: flex;
    gap: 0; /* gap zero pois usaremos margin nos <a> */
}

.main-nav a {
    color: #560B0E;
    margin-left: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3498db;
    text-decoration: none;
}

/* Botão hamburguer */
.menu-toggle {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    color: #560B0E;
    cursor: pointer;
}

/* Responsivo: tablets e celulares */
@media (max-width: 768px) {
    .containera {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        padding: 10px 0;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        margin: 10px 20px;
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Barra de Categorias Inferior (similar à barra vermelha da Reformax) */
.category-bar {
    background-color: #450B0D; /* Cor similar ao vermelho escuro da Reformax */
    color: white;
    padding: 15px 0;
    position: relative; /* Para o botão flutuante */
    z-index: 999; /* Fica acima de outras seções, mas abaixo do header principal */
}

.category-bar .container {
    display: flex;
    justify-content: space-around; /* Distribui os itens */
    align-items: center;
    flex-wrap: wrap; /* Para responsividade */
}

.category-item {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    flex-grow: 1; /* Faz os itens crescerem para preencher o espaço */
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2); /* Separador vertical */
}

.category-item:last-child {
    border-right: none; /* Remove a borda do último item */
}

.category-item:hover {
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}

.category-text {
    font-size: 1em;
}

/* Botão Flutuante de WhatsApp (no canto inferior direito) */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000; /* Fica acima de tudo */
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    text-decoration: none;
}

/* --------------------- FIM DOS ESTILOS DA PRIMEIRA PARTE --------------------- */


/* (Manter ou adaptar o restante do CSS das seções diferenciais, serviços, contato e footer) */
section {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

section:nth-child(even) { /* Para alternar cores de fundo das seções */
    background-color: #fff;
}

/* Diferenciais e Serviços Grid */
.diferenciais-grid, .servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.diferencial-item, .servico-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.diferencial-item:hover, .servico-item:hover {
    transform: translateY(-5px);
}

.diferencial-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.diferencial-item h4, .servico-item h4 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 10px;
}

.diferencial-item p, .servico-item p {
    text-align: center;
    font-size: 0.95em;
}

/* Seção de Contato */
.contato-section .contact-info {
    text-align: center;
    font-size: 1.1em;
    margin-top: 30px;
}

.contato-section .contact-info p {
    margin-bottom: 10px;
}

/* Rodapé */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9em;
}

footer .social-links a {
    color: white;
    margin: 0 10px;
}

footer .social-links a:hover {
    color: #3498db;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav a {
        margin: 5px 10px;
    }

    .hero-section h2 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 90%;
        margin: 5px 0;
    }

    .category-bar .container {
        flex-direction: column;
    }

    .category-item {
        width: 100%; /* Cada item ocupa a largura total em telas menores */
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 15px 0;
    }

    .category-item:last-child {
        border-bottom: none;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 2em;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 1.8em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
}

/* ... (Manter os estilos gerais e os estilos da primeira parte - header, hero, category-bar) ... */

/* Estilos da Seção de Diferenciais (segunda parte) */
.diferenciais-section {
    background-color: #f0f0e8; /* Cor de fundo creme/verde claro */
    padding: 80px 20px; /* Mais padding para espaçamento */
    text-align: center;
}

.diferenciais-section .section-title {
    font-size: 2em;
    font-weight: normal; /* Para não ser tão bold */
    color: #4a4a4a; /* Cor de texto mais escura */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.diferenciais-section .section-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px; /* Mais espaço antes dos ícones */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.diferenciais-grid {
    display: flex; /* Usar flexbox para os itens */
    justify-content: space-around; /* Espaçamento entre os itens */
    align-items: flex-start; /* Alinha os itens pelo topo */
    flex-wrap: wrap; /* Para quebrar linha em telas menores */
    gap: 30px; /* Espaço entre os cartões */
    margin-top: 40px; /* Espaço do subtítulo */
}

.diferencial-item {
    background-color: transparent; /* Fundo transparente */
    padding: 20px;
    border-radius: 0; /* Remover border-radius se não quiser */
    box-shadow: none; /* Remover sombra */
    text-align: center;
    flex: 1; /* Permite que os itens cresçam */
    max-width: 300px; /* Largura máxima para cada item */
    min-width: 250px;
    transition: none; /* Remover transições de hover se não quiser */
}

.diferencial-item i.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px; /* Tamanho do círculo */
    height: 70px;
    border-radius: 50%;
    border: 2px solid #8B0000; /* Borda vermelha escura como na imagem */
    color: #8B0000; /* Cor do ícone */
    font-size: 2.2em; /* Tamanho do ícone */
    margin-bottom: 20px; /* Espaçamento entre ícone e título */
    transition: all 0.3s ease;
}

.diferencial-item:hover i.icon-circle {
    background-color: #8B0000;
    color: white;
}

.diferencial-item h4 {
    color: #4a4a4a; /* Cor de texto do título do item */
    font-size: 1.15em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.diferencial-item p {
    color: #777; /* Cor do texto do parágrafo */
    font-size: 0.95em;
    line-height: 1.5;
}

.diferenciais-section .section-bottom-text {
    font-size: 1.1em;
    color: #666;
    margin-top: 50px; /* Espaço antes do botão */
    margin-bottom: 40px;
}

/* Botão "ACESSE NOSSO PORTFÓLIO" (agora "VEJA NOSSOS SERVIÇOS") */
.cta-portfolio {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px; /* Espaçamento inferior para a seção */
}

.btn-portfolio {
    display: inline-block;
    padding: 20px 50px; /* Padding maior para o botão */
    border: 2px solid #555; /* Borda escura como na imagem */
    color: #555; /* Cor do texto */
    font-size: 1.4em; /* Fonte maior */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0; /* Sem borda arredondada */
    transition: all 0.3s ease;
}

.btn-portfolio:hover {
    background-color: #555;
    color: white;
    text-decoration: none;
}

/* --------------------- FIM DOS ESTILOS DA SEGUNDA PARTE --------------------- */


/* ... (Manter o restante do CSS para as seções de serviços, contato, footer e responsividade) ... */

/* Adaptação da responsividade para a nova estrutura */
@media (max-width: 768px) {
    /* ... (manter responsividade do header e hero) ... */

    .diferenciais-section .section-title {
        font-size: 1.6em;
    }

    .diferenciais-section .section-subtitle,
    .diferenciais-section .section-bottom-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .diferenciais-grid {
        flex-direction: column; /* Coluna em telas menores */
        align-items: center;
    }

    .diferencial-item {
        max-width: 90%; /* Ocupa mais largura em telas menores */
    }

    .btn-portfolio {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}


/* ... (Manter os estilos gerais e os estilos das seções anteriores: header, hero, category-bar, diferenciais) ... */


/* Estilos da Seção de Serviços (manter ou ajustar cores/padding) */
.servicos-section {
    background-color: #f0f0e8; /* Fundo claro para contrastar */
    padding: 80px 20px;
    text-align: center;
    border-bottom: none; /* Remover borda inferior se for a penúltima seção visível */
}

.servicos-section h3 {
    color: #4a4a4a;
    font-size: 2em;
    margin-bottom: 40px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 colunas em telas maiores, ou ajuste */
    gap: 30px;
    margin-top: 30px;
}

.servico-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* Sombra mais suave */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.servico-item h4 {
    color: #3498db; /* Azul para os títulos dos serviços */
    font-size: 1.3em;
    margin-bottom: 15px;
}

.servico-item p {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}

/* --------------------- ESTILOS DA SEÇÃO "SEJA BEM-VINDO" (FINAL) --------------------- */

.welcome-section {
    background-color: white; /* Fundo branco ou claro */
    padding: 80px 20px;
    border-bottom: 1px solid #eee;
}

.welcome-section .welcome-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px; /* Espaço entre texto e imagem */
    flex-wrap: wrap; /* Permite quebrar em telas menores */
    justify-content: center; /* Centraliza em telas menores */
}

.welcome-text {
    flex: 1; /* Ocupa espaço flexível */
    min-width: 300px; /* Largura mínima para o texto */
    text-align: left; /* Alinhamento do texto */
}

.welcome-text h2 {
    font-size: 2.2em;
    color: #4a4a4a;
    text-align: left; /* Alinhar à esquerda */
    margin-bottom: 20px;
}

.welcome-text p {
    font-size: 1.1em;
    color: #666;
    text-align: left; /* Alinhar à esquerda */
    line-height: 1.7;
}

.welcome-image {
    flex-shrink: 0; /* Não permite que a imagem encolha tanto */
    position: relative;
    width: 400px; /* Largura fixa para a imagem */
    height: 300px; /* Altura fixa para a imagem */
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    border: 1px solid #ddd; /* Borda sutil como na imagem */
    background-color: #f8f8f8; /* Fundo para o caso da imagem não carregar */
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    display: block;
}

.image-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-text {
    position: absolute;
    bottom: 0; /* Alinha na parte inferior */
    left: 0;
    width: 100%;
    background-color: #450B0D; /* Fundo branco */
    padding: 15px 0;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    border-top: 1px solid #ddd; /* Borda superior como na imagem */
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

.image-text h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em; /* Ajuste o tamanho da fonte */
}


/* BARRA INFERIOR DE CONTATO (COR VINHO ESCURO) */
.bottom-contact-bar {
    background-color: #450B0D; /* Vinho escuro */
    color: white;
    text-align: center;
}

.bottom-contact-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px; /* Espaço entre os itens */
}

.contact-item {
    flex: 1; /* Ocupa espaço flexível */
    min-width: 280px;
    text-align: center;
    padding: 15px;
}

.contact-item .contact-icon {
    font-size: 2.5em;
    color: #fff; /* Ícones brancos */
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 1.1em;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 1em;
    color: white;
    margin-bottom: 5px;
    text-align: center;
}

.contact-item .contact-link {
    color: white;
    font-weight: bold;
}

.contact-item .contact-link:hover {
    text-decoration: underline;
}

.contact-item .contact-subtext {
    font-size: 0.85em;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}


/* RODAPÉ FINAL (COR CINZA ESCURO) */
.final-footer {
    background-color: #333; /* Cinza escuro */
    color: white;
    padding: 40px 20px;
    font-size: 0.95em;
}

.final-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left; /* Alinhar texto das colunas à esquerda */
}

.footer-column h4 {
    color: white;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: left; /* Alinhar título da coluna à esquerda */
}

.footer-column p, .footer-column address, .footer-column li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    line-height: 1.6;
    text-align: left; /* Alinhar texto da coluna à esquerda */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #3498db; /* Cor de destaque no hover */
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para responsividade */
    text-align: center; /* Centraliza em telas pequenas */
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    text-align: left; /* Alinha o copyright à esquerda */
}
@media (max-width: 768px) {
    .footer-bottom p {
        width: 100%;
        text-align: center; /* Centraliza o copyright em telas pequenas */
        margin-bottom: 10px;
    }
}

.social-links-footer {
    display: flex;
    gap: 15px;
}

.social-links-footer a {
    color: white;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-links-footer a:hover {
    color: #3498db; /* Cor de destaque no hover */
}


/* --------------------- FIM DOS ESTILOS DA PARTE FINAL --------------------- */


/* Responsividade geral (ajustar conforme necessário) */
@media (max-width: 992px) {
    .welcome-section .welcome-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .welcome-text {
        text-align: center;
        max-width: 80%; /* Para não ficar muito largo */
    }
    .welcome-text h2, .welcome-text p {
        text-align: center;
    }
    .welcome-image {
        width: 100%;
        max-width: 400px; /* Limita o tamanho em telas menores */
        height: auto; /* Altura automática para a imagem */
    }
    .image-box img {
        height: auto;
    }
}

@media (max-width: 768px) {
    /* ... (manter responsividade das seções anteriores) ... */

    .bottom-contact-bar .container {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 100%;
        max-width: 400px; /* Limita a largura dos itens de contato */
    }

    .final-footer .footer-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
        text-align: center;
    }

    .footer-column h4, .footer-column p, .footer-column address, .footer-column li {
        text-align: center; /* Centraliza textos das colunas no rodapé */
    }

    .footer-column ul {
        display: flex; /* Para centralizar os itens da lista */
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-column ul li {
        margin: 5px 10px; /* Espaçamento entre os itens da lista */
    }

    .footer-bottom {
        flex-direction: column;
    }

    .social-links-footer {
        margin-top: 15px;
    }
}

/* ... (Manter os estilos gerais e os estilos do header) ... */

.hero-section {
    /* The linear-gradient serves as a dark overlay on the image for text contrast */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('public/banner.png') no-repeat center center;
    background-size: cover; /* Ensures the image covers the entire section */
    background-attachment: scroll; /* Keeps background image scrolling with the page (optional, but good for mobile) */
    color: white;
    text-align: center;
    min-height: 550px; /* Adjust this height as desired for a prominent image on desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px; /* Add some padding to prevent content from touching edges */
}

/* Os estilos para h2, p e cta-buttons dentro da hero-section podem ser mantidos */
.hero-section h2 {
    font-size: 3.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    color: white;
    line-height: 1.2;
    max-width: 90%; /* Prevents text from being too wide on large screens */
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ... (Rest of your CSS for cta-buttons and other sections) ... */

/* Adaptação da responsividade para a nova estrutura */
@media (max-width: 768px) {
    /* ... (keep existing header responsiveness) ... */

    .hero-section {
        min-height: 400px; /* Adjusted minimum height for better mobile experience */
        padding: 80px 20px; /* More vertical padding for smaller screens */
        /* background-attachment: scroll; - Already defined globally for hero-section, but can be set here if needed for mobile specifically */
    }

    .hero-section h2 {
        font-size: 2em; /* Smaller font size for mobile headings */
        margin-bottom: 15px;
    }

    .hero-section p {
        font-size: 1em; /* Smaller font size for mobile paragraphs */
        margin-bottom: 30px;
    }

    /* Adjust button styling for mobile if needed */
    .cta-buttons {
        flex-direction: column; /* Stack buttons vertically on small screens */
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 80%; /* Make buttons take up more width */
        margin: 10px 0; /* Adjust margin for stacked buttons */
        font-size: 1em; /* Smaller font size for buttons */
        padding: 10px 20px;
    }

    /* ... (Rest of your existing responsiveness) ... */
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 350px; /* Even smaller height for very small phones */
        padding: 60px 15px;
    }

    .hero-section h2 {
        font-size: 1.6em;
    }

    .hero-section p {
        font-size: 0.9em;
    }

    .btn-primary, .btn-secondary {
        width: 90%;
        padding: 8px 15px;
    }
}
/* ... (Manter todos os estilos existentes para o cabeçalho, hero, category-bar, diferenciais, serviços, welcome-section, bottom-contact-bar e footer) ... */


/* Estilos da Seção "UM POUCO DA NOSSA HISTÓRIA" (about-history-section) */
.about-history-section {
    background-color: #f8f8f8; /* Cor de fundo clara para contrastar */
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.about-history-section .section-title {
    font-size: 2.2em;
    color: #4a4a4a;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: normal; /* Sem negrito para seguir o exemplo */
    letter-spacing: 1px;
}

.about-history-section .history-text {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    max-width: 800px; /* Limita a largura do texto para melhor leitura */
    margin: 0 auto 20px auto; /* Centraliza e adiciona espaço */
    text-align: justify; /* Alinha o texto justificado, como no print */
}

/* Estilos da Seção MISSÃO, VISÃO, VALORES */
.mision-vision-values-section {
    background-color: white; /* Fundo branco ou a cor do print */
    padding: 80px 20px;
    border-bottom: 1px solid #eee;
}

.mision-vision-values-grid {
    display: flex; /* Flexbox para alinhar os 3 itens */
    justify-content: space-around;
    align-items: flex-start; /* Alinhar pelo topo */
    flex-wrap: wrap; /* Para responsividade */
    gap: 30px; /* Espaço entre os itens */
    margin-top: 40px;
}

.mision-vision-values-item {
    flex: 1; /* Permite que os itens cresçam */
    min-width: 280px; /* Largura mínima para cada item */
    max-width: 350px; /* Largura máxima */
    text-align: center;
    padding: 20px;
}

.mision-vision-values-item .icon-rounded-border {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Tamanho do círculo */
    height: 60px;
    border-radius: 50%;
    border: 2px solid #8B0000; /* Borda vermelha escura */
    color: #8B0000; /* Cor do ícone */
    font-size: 2em; /* Tamanho do ícone */
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.mision-vision-values-item:hover .icon-rounded-border {
    background-color: #8B0000;
    color: white;
}

.mision-vision-values-item h4 {
    color: #4a4a4a;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.mision-vision-values-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.7;
    text-align: left; /* Alinhamento do texto à esquerda dentro do item, como no print */
}

/* --------------------- FIM DOS NOVOS ESTILOS --------------------- */


/* Responsividade para as novas seções */
@media (max-width: 768px) {
    /* ... (manter responsividade geral) ... */

    .about-history-section .section-title {
        font-size: 1.8em;
    }
    .about-history-section .history-text {
        font-size: 1em;
        text-align: left; /* Pode manter left ou centralizar, dependendo do design */
    }

    .mision-vision-values-grid {
        flex-direction: column; /* Em coluna em telas menores */
        align-items: center;
    }

    .mision-vision-values-item {
        max-width: 90%; /* Ocupa mais largura em telas menores */
    }

    .mision-vision-values-item p {
        text-align: center; /* Centraliza o texto em telas menores se preferir */
    }
}

/* ... (Manter todos os estilos existentes para o cabeçalho, hero, category-bar, diferenciais, serviços, welcome-section, bottom-contact-bar e footer) ... */

/* Estilos para a Página de Portfólio */
.portfolio-title-section {
    background-color: #fff;
    padding: 60px 20px 20px 20px;
    text-align: center;
}

.portfolio-title-section .section-title {
    font-size: 2.5em;
    color: #4a4a4a;
    text-transform: uppercase;
    font-weight: normal;
}

.portfolio-carousels-section {
    background-color: #f9f9f9; /* Fundo claro para a seção de carrosséis */
    padding: 40px 20px 60px 20px;
}

.carousel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 3 colunas em telas grandes, adapta para menos */
    gap: 30px; /* Espaço entre os carrosséis */
    justify-content: center; /* Centraliza os itens quando há menos de 3 */
}

.project-carousel {
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden; /* Garante que as imagens não passem dos limites */
    padding-bottom: 15px; /* Espaço para as miniaturas */
}

.project-carousel .project-title {
    font-size: 1.2em;
    color: #4a4a4a;
    text-align: center;
    padding: 15px 10px;
    margin: 0;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    background-color: #f0f0f0;
}

.carousel-display {
    position: relative;
    width: 100%;
    /* Ajuste a altura para um bom visual */
    height: 250px; /* Altura fixa para a área da imagem principal */
    overflow: hidden;
    display: flex; /* Para centralizar a imagem */
    align-items: center;
    justify-content: center;
}

.carousel-display .current-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    display: block;
    transition: opacity 0.5s ease; /* Transição suave na mudança de imagem */
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10; /* Para ficar acima da imagem */
    transition: background-color 0.3s ease;
}

.nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev-arrow {
    left: 10px;
    border-radius: 0 5px 5px 0;
}

.next-arrow {
    right: 10px;
    border-radius: 5px 0 0 5px;
}

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    padding: 15px 10px 0 10px;
    gap: 10px; /* Espaço entre as miniaturas */
    flex-wrap: wrap; /* Para quebrar linha se houver muitas miniaturas */
}

.carousel-thumbnails .thumbnail {
    width: 60px; /* Tamanho da miniatura */
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
    border-radius: 4px; /* Pequeno arredondamento */
}

.carousel-thumbnails .thumbnail:hover {
    border-color: #3498db; /* Borda azul no hover */
    transform: scale(1.05);
}

.carousel-thumbnails .thumbnail.active-thumb {
    border-color: #8B0000; /* Borda vermelha para a miniatura ativa */
    box-shadow: 0 0 5px rgba(139, 0, 0, 0.5);
}

/* SEÇÃO GALERIA INFERIOR */
.other-projects-gallery {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #eee; /* Borda superior para separar */
}

.other-projects-gallery .gallery-title {
    font-size: 2em;
    color: #4a4a4a;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: normal;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 3-4 colunas, adapta */
    gap: 20px;
    justify-content: center;
}

.gallery-grid img {
    width: 100%;
    height: 200px; /* Altura fixa para as imagens da galeria */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}


/* Responsividade para o Portfólio */
@media (max-width: 992px) {
    .portfolio-carousels-section {
        padding: 30px 20px;
    }
    .carousel-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Pode ir para 2 colunas */
        gap: 25px;
    }
    .project-carousel {
        margin: 0 auto; /* Centraliza itens */
        max-width: 450px; /* Limita o tamanho em telas menores */
    }
    .carousel-display {
        height: 220px; /* Reduz altura */
    }
    .project-carousel .project-title {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .portfolio-title-section .section-title {
        font-size: 2em;
    }
    .carousel-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas muito pequenas */
        gap: 30px;
    }
    .project-carousel {
        max-width: 90%; /* Ocupa mais largura */
    }
    .carousel-display {
        height: 200px;
    }
    .nav-arrow {
        padding: 8px 12px;
        font-size: 1.2em;
    }
    .carousel-thumbnails .thumbnail {
        width: 50px;
        height: 50px;
    }
    .other-projects-gallery .gallery-title {
        font-size: 1.8em;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ajusta grid da galeria */
    }
    .gallery-grid img {
        height: 160px;
    }
}