/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS --- */
:root {
    --yellow-gold: #FFC107; /* Amarelo/Dourado do logo */
    --black-pure: #000000;  /* PRETO PURO */
    --off-white: #f8f9fa;   /* Branco levemente acinzentado para fundos */
    --SlateGray: #708090; 
	--text-color: #333;
    --white-color: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

/* --- EFEITO DE ANIMAÇÃO AO ROLAR --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s ease-in-out forwards;
}

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- HEADER --- */
header {
    background-color: var(--black-pure);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 55px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav a {
    text-decoration: none;
    color: var(--white-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--yellow-gold);
}

/* --- SEÇÃO HERO --- */
#hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(https://images.unsplash.com/photo-1621257412472-4719e7ca8568?q=80&w=1932) no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 7rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem 0;
}

#hero h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--yellow-gold);
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* --- NOVA SEÇÃO DE NÚMEROS --- */
#numeros {
    background-color: var(--black-pure);
    color: var(--white-color);
    padding: 4rem 0;
}
#numeros .section-title h2 {
    color: var(--white-color);
    border-bottom-color: var(--yellow-gold);
}
.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 3rem;
}
.numero-item {
    padding: 1rem;
}
.numero-item .contador {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--yellow-gold);
}
.numero-item p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.cta-button {
    background-color: var(--yellow-gold);
    color: var(--black-pure);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.cta-button i {
    margin-right: 10px;
}

/* --- ESTILOS GERAIS DE SEÇÃO --- */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--black-pure);
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid var(--yellow-gold);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* --- SEÇÕES INDIVIDUAIS --- */
#servicos { background-color: var(--off-white); }
.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.servico-card { background: var(--white-color); padding: 2.5rem 1.5rem; border-radius: 10px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.servico-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.servico-card .icon { font-size: 3rem; color: var(--yellow-gold); margin-bottom: 1.5rem; }
.servico-card h3 { font-size: 1.4rem; font-weight: 600; color: var(--black-pure); margin-bottom: 1rem; }

.sobre-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sobre-texto .section-title { text-align: left; }
.sobre-texto .section-title h2 { margin-bottom: 1rem; }
.sobre-texto p { margin-bottom: 1rem; }
.sobre-imagem img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

#estrutura { background-color: var(--off-white); }
.estrutura-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.estrutura-item { background-color: var(--white-color); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.estrutura-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.estrutura-item img { width: 100%; height: 220px; object-fit: cover; }
.estrutura-item h3 { font-size: 1.3rem; margin: 1.5rem 0 0.5rem 0; color: var(--black-pure); }
.estrutura-item p { padding: 0 1.5rem 1.5rem 1.5rem; }

#depoimentos { background-color: var(--white-color); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--off-white); padding: 2rem; border-radius: 10px; border-left: 5px solid var(--yellow-gold); }
.testimonial-card .stars { color: var(--yellow-gold); margin-bottom: 1rem; }
.testimonial-card blockquote { font-style: italic; color: #555; border-left: none; padding-left: 0; margin-bottom: 1rem; }
.testimonial-card footer { 
    font-weight: 700;
    color: var(--black-pure);
    font-size: 1.05rem;
}

#dicas { background-color: var(--off-white); }
.blog-grid {
    display: grid;
    grid-template-columns: 1fr; /* Padrão: 1 coluna em telas pequenas (celular) */
    gap: 30px;
}

/* Para telas médias (tablets) ou maiores */
@media (min-width: 600px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    }
}

/* Para telas grandes (desktops) ou maiores */
@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 colunas, como você pediu */
    }
}
.blog-card { background: var(--white-color); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.blog-content p { flex-grow: 1; margin-bottom: 1.5rem; }
.read-more-btn { background: none; border: 2px solid var(--yellow-gold); color: var(--yellow-gold); padding: 10px 15px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; align-self: flex-start; }
.read-more-btn:hover { background: var(--yellow-gold); color: var(--black-pure); }
.read-more-btn i { margin-left: 5px; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 2rem; }
.modal-content { background: var(--white-color); padding: 2rem; border-radius: 10px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: slideIn 0.4s ease-out; }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 1.8rem; color: #888; cursor: pointer; }
#modal-title { margin-bottom: 1.5rem; font-size: 2rem; }
#modal-body p { margin-bottom: 1rem; }
#modal-body ul { margin-left: 20px; margin-bottom: 1rem; }

#localizacao { background-color: var(--white-color); }
.map-container { border-radius: 10px; overflow: hidden; margin-bottom: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.large-cta { padding: 20px 40px; font-size: 1.3rem; display: block; width: fit-content; margin: 2rem auto 0 auto; }
.location-status { text-align: center; margin-top: 1rem; font-weight: 600; color: #555; }

#faq { background-color: var(--off-white); }
.faq-list { max-width: 800px; margin: 3rem auto 0 auto; }
.faq-item { background: var(--white-color); margin-bottom: 1rem; border-radius: 5px; border: 1px solid #eee; overflow: hidden; }
.faq-question { font-weight: 600; padding: 1.5rem; cursor: pointer; position: relative; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 1.5rem; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 1.5rem 1.5rem 1.5rem; }

#contato { background-color: var(--black-pure); color: var(--white-color); }
#contato .section-title h2 { color: var(--white-color); }
#contato .section-description { color: #ccc; }
.contato-container { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-top: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid #555; background-color: #333; color: var(--white-color); border-radius: 5px; font-size: 1rem; font-family: var(--font-family); transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--yellow-gold); }
.contato-info { padding-left: 2rem; border-left: 2px solid var(--yellow-gold); }
.contato-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contato-info p { margin-bottom: 1rem; }
.contato-info a { color: var(--white-color); text-decoration: none; transition: color 0.3s ease; }
.contato-info a:hover { color: var(--yellow-gold); }
.contato-info i { color: var(--yellow-gold); width: 25px; }
#form-status { margin-top: 1rem; text-align: center; font-weight: 600; }

footer {
    background: #FFC107;
    color: #aaa;
    text-align: center;
    padding: 1.5rem 0;
}

@media (max-width: 992px) {
    .sobre-container, .contato-container { grid-template-columns: 1fr; }
    .sobre-imagem { order: -1; margin-bottom: 2rem; }
    .contato-info { border-left: none; padding-left: 0; margin-top: 3rem; }
}

@media (max-width: 768px) {
    header .container { flex-direction: column; }
    header .logo { margin-bottom: 1rem; }
    header nav { width: 100%; }
    header nav ul { flex-wrap: wrap; justify-content: center; }
    header nav ul li { margin: 5px 10px; }
    #hero h1 { font-size: 1.5rem; }
    #hero h2 { font-size: 2rem; }
    .section-title h2 { font-size: 2.2rem; }
}