* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial;}
:root {
    --azul-petroleo: #033683;
    --azul-claro: #064db8;
    --azul: #2e87e0;
    --cinza-escuro: #1E272E;
    --cinza-medio: #3A3F44; /* ADICIONEI ESSE */
    --cinza-claro: #F5F6FA; 
    --branco: #F8F9FA;
    --sombra: 0 10px 30px rgba(0,0,0,0.08);
    --gradienteBrancoCinza: linear-gradient(180deg, 
        #ffffff 0%,     /* branco no topo */
        #9d9d9d 45%,    /* cinza claro no meio */
        #2e2f2f 100%    /* cinza escuro no fim */
    );
}
html { scroll-behavior: smooth; }
body { 
    font-family: 'Arial', sans-serif; 
    color: var(--cinza-escuro); 
    line-height: 1.7; 
    background: var(--branco);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; color: var(--cinza-escuro)}
h1, h2, h3, h4 { font-weight: 700; color: var(--cinza-medio); }
h1 { font-size: 3.2rem; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 16px; color: var(--cinza-escuro); }
.tag { display: inline-block; background: rgba(198,93,33,0.1); color: var(--laranja); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.btn-primary, .btn-secondary, .btn-nav, .btn-whatsapp {
    padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer;
}
.btn-primary { background: var(--azul-petroleo); color: var(--branco); }
.btn-primary:hover { background: var(--azul-claro); transform: translateY(-2px); box-shadow: var(--sombra); }
.btn-secondary { background: transparent; color: var(--branco); border: 2px solid var(--branco); }
.btn-secondary:hover { background: var(--branco); color: var(--azul-petroleo); transform: translateY(-2px); box-shadow: var(--sombra); }

.btn-nav { 
  background: var(--azul-petroleo); 
  color: var(--branco); 
  padding: 10px 20px; 
}
.btn-nav:hover {
    background: var(--azul-claro);
    transform: translateY(-2px);
}

.btn-whatsapp { background: #25D366; color: var(--branco); margin-top: 16px; }
.btn-whatsapp i { margin-right: 8px; }

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--borda-azul), 0 4px 24px rgba(2, 29, 83, 0.06);
    transition: all 0.3s;
}
header.scrolled {
    box-shadow: 0 1px 0 var(--borda-azul), 0 8px 40px rgba(2, 29, 83, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--azul-claro);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}
.nav-links a {
    text-decoration: none;
    color: var(--cinza-medio);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.25s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azul-claro);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover { color: var(--azul-real); }
.nav-links a:hover::after { width: 100%; }

.hero { height: 100vh; background: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?q=80&w=2070') center/cover; position: relative; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,61,98,0.9) 0%, rgba(30,39,46,0.85) 100%); }
.hero-content { position: relative; color: var(--branco); max-width: 700px; }
.hero-content h1 span { color: var(--azul); }
.hero-content p { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin: 24px 0 32px; }
.hero-cta { display: flex; gap: 16px; }

section { padding: 100px 0; position: relative;}
.bg-light { background: var(--branco); }
.section-header { max-width: 700px; margin: 0 auto 60px; text-align: center; }

.section-header p {
  text-align: justify;
  color: var(--cinza-escuro);
}

.section-header h4{
  color: var(--azul-claro);
}

.sobre-texto h2{
  color: var(--cinza-escuro);
}

.sobre-texto p {
  font-size: 20px;
}

.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sobre-stats { display: grid; gap: 20px; }
.card-servicos-lista {
    background: var(--branco);
    border-radius: 16px;
    box-shadow: 5px 20px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, var(--azul-petroleo) 0%, var(--azul-claro) 100%);
    padding: 25px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-header i {
    font-size: 2rem;
    color: var(--branco);
}

.card-header h3 {
    color: var(--branco);
    margin: 0;
    font-size: 1.4rem;
}

.lista-servicos {
    list-style: none;
    padding: 32px;
    margin: auto;
}

.lista-servicos li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #E8EAED;
    transition: all 0.3s ease;
}

.lista-servicos li:last-child {
    border-bottom: none;
}

.lista-servicos li:hover {
    background: rgba(3,54,131,0.03);
    padding-left: 8px;
    border-radius: 8px;
}

.lista-servicos li i {
    color: var(--azul-petroleo);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.lista-servicos li span {
    color: var(--cinza-escuro);
    line-height: 1.6;
    font-size: 1rem;
}
.diferenciais{
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 140px;

}

.servicos{
  background-color: var(--gradienteCinzaBranco);
}

.regularização{
  text-align: left;
}

.regularização h2{
  margin: 23px;
}

.diferenciais-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 32px; /* 40px é muito pra 4 colunas */
}

.Etapas{
  background: var(--gradienteBrancoCinza);
}

.dif-item p{
  color: var(--cinza-medio);
}
.dif-item { text-align: center; .dif-item i { font-size: 2.5rem; color: var(--laranja); margin-bottom: 16px; }}

.contato { background: var(--cinza-escuro); color: var(--branco); }
.contato h2, .contato .tag { color: var(--branco); }
.contato .tag { background: rgba(255,255,255,0.1); }
.contato-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contato-info p { color: rgba(255,255,255,0.8); }
.contato-item { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: rgba(255,255,255,0.9); }
.contato-item i { color: var(--dourado); }
.form-contato { background: var(--branco); padding: 40px; border-radius: 12px; display: grid; gap: 16px; }
.form-contato input, .form-contato select, .form-contato textarea { padding: 14px; border: 1px solid #ddd; border-radius: 8px; font-family: 'Montserrat'; font-size: 1rem; }
.form-contato input:focus, .form-contato select:focus, .form-contato textarea:focus { outline: none; border-color: var(--laranja); }

footer { background: #0D1117; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo { color: var(--branco); margin-bottom: 16px; }
.footer-links h4, .footer-social h4 { color: var(--branco); margin-bottom: 16px; font-size: 1.1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-links a:hover { color: var(--dourado); }
.social-icons { display: flex; gap: 16px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--branco); transition: all 0.3s; }
.social-icons a:hover { background: var(--laranja); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.9rem; }

/*Tratamento de imagens*/
  img {
    height: 200px;
    border-radius: 10px;
}

/* tramento de itens separados*/

.caracteristicas{
  color: var(--branco);
}

/* CSS do acordion */
/* ===== ACCORDION CUSTOM - SEM BOOTSTRAP ===== */

/* ===== ACCORDION FINAL - TRANSPARENTE + BRANCO + ARREDONDADO ===== */
#accordionFAQ {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:last-of-type {
  margin-bottom: 0;
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff; /* TEXTO BRANCO */
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button:hover {
  background: var(--azul-petroleo);
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.22);
  color: var(--branco); /* TEXTO BRANCO QUANDO ABERTO */
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
  outline: none;
}

/* SETA BRANCA */
.accordion-button::after {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.35rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

/* CLASSES PRA FUNCIONAR SEM BOOTSTRAP */
.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.accordion-body {
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.05); /* CORPO TRANSPARENTE */
  font-size: 1rem;
  line-height: 1.7;
  color: var(--branco); /* TEXTO DO CORPO BRANCO */
}

.accordion-body p {
  margin: 0;
  color: var(--branco);
}

.accordion-body strong {
  color: var(--branco);
  font-weight: 700;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
/* ===== MENU HAMBÚRGUER - VERSÃO FINAL ===== */

/* Remove o display: none antigo do 768px */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .btn-nav { display: none; } /* só esconde o botão, não o nav-links */
    .hero-cta { flex-direction: column; }
    .sobre-grid, .contato-grid, .footer-grid { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
}

/* Botão hambúrguer */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--azul-petroleo);
  color: var(--azul-petroleo); /* Cor escura pra aparecer no header branco */
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s ease;
  z-index: 1001;
}

.menu-toggle:hover {
  background: var(--azul-petroleo);
  color: var(--branco);
}

.menu-toggle.active {
  background: var(--laranja);
  border-color: var(--laranja);
  color: var(--branco);
}

/* MOBILE - 992px pra pegar tablet também */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  nav .btn-nav {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cinza-escuro);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 32px;
    gap: 0;
    transition: right .4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    color: var(--branco);
    font-size: 1.1rem;
    padding: 16px 0;
    width: 100%;
    transition: all .3s;
  }

  .nav-links a:hover {
    color: var(--dourado);
    padding-left: 8px;
  }
}


.hero { 
    height: 100vh; 
    background: url('imgSobreNos.jpg') center/cover no-repeat;
    position: relative; 
    display: flex; 
    align-items: center; 
}

/* Tablet pra baixo - até 992px */
@media (max-width: 992px) {
    .hero {
        background-size: 80%; /* imagem fica com 80% no tablet */
        background-color: var(--azul-petroleo); /* cor pro fundo que sobrar */
    }
}

/* Celular - até 768px */
@media (max-width: 768px) {
    .hero {
        height: 70vh; /* diminui a altura no celular */
        background: url('imgSobreNos.jpg') center/cover no-repeat;
        background-attachment: scroll; /* tira o fixed que buga no mobile */
    }
    
    .hero-content {
        max-width: 100%; /* ocupa a largura toda */
        padding: 0 20px;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}