/* ==========================================================
   BASE GERAL DO SITE
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #e5e7eb;   /* cinza claro, menos “clareira” */
    color: #111827;
    line-height: 1.6;
}


a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================
   TOPO / HEADER – VERDE ESCURO (Aprovado)
   ========================================================== */

.topo {
    background: #0a233a; /* verde petróleo escuro */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topo__inner {
    max-width: 1280px;
    margin: auto;
    padding: 0.9rem 1.5rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topo__brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #ffffff;
}

.topo__logo {
    height: 50px;
    width: auto;
}

.topo__titulo {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.topo__titulo span {
    font-size: 0.75rem;
    opacity: 0.85;
}

.topo__menu {
    display: flex;
    gap: 1.4rem;
}

.topo__link {
    padding: 6px 12px;
    border-radius: 8px;
    color: #eaf6ff;
    transition: 0.25s ease;
}

.topo__link:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

.topo__link--ativo {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    font-weight: 600;
}
/* Botão hambúrguer (desktop: some) */
.topo__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 28px;
    padding: 0;
    margin-left: 0.75rem;
}

.topo__toggle span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #eaf6ff;
    margin: 4px 0;
    transition: 0.25s ease;
}

/* Estado ativo (anima em X leve) */
.topo__toggle--ativo span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.topo__toggle--ativo span:nth-child(2) {
    opacity: 0;
}
.topo__toggle--ativo span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================
   HERO – CLEAN (Branco)
   ========================================================== */

.hero {
    position: relative;                 /* importante pro ::before */
    padding: 3.5rem 1.5rem 3rem;
    background: #edf1f5;                /* cor base por baixo do bg */
    border-bottom: 1px solid #d1d5db;
    overflow: hidden;                   /* garante que o ::before não vaze */
}

/* camada de imagem de fundo que vai trocar */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;                      /* intensidade da imagem */
    pointer-events: none;
    transition: opacity 0.6s ease, background-image 0.6s ease;
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: auto;

    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: space-between;
}

.hero__texto {
    flex: 1 1 480px;
}

.hero__texto h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0b2f2f;
}

.hero__sub {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.hero__acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero__obs {
    font-size: 0.9rem;
    color: #6b7280;
}
.hero__media {
    margin-bottom: 0.8rem;
    text-align: center;
}

.hero__media img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}


/* ==========================================================
   BOTÕES
   ========================================================== */

.btn {
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn--primario {
    background: #146b6f;
    color: #ffffff;
}

.btn--primario:hover {
    background: #0f5153;
}

.btn--secundario {
    background: #ffffff;
    border: 2px solid #146b6f;
    color: #146b6f;
}

.btn--secundario:hover {
    background: #ecfeff;
}
/* Botão dentro do slide NR-12 */
.btn-nr12-video {
  margin-top: 0.75rem;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: #0ea5e9; /* ajuste para a paleta da Shalom se quiser */
  color: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-nr12-video:hover {
  background: #0284c7;
  box-shadow: 0 8px 20px rgba(15, 118, 176, 0.45);
  transform: translateY(-1px);
}

/* Modal NR-12 */
.nr12-modal {
  position: fixed;
  inset: 0;
  display: none; /* escondido por padrão */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999; /* à frente de tudo */
}

.nr12-modal.is-open {
  display: flex;
}

.nr12-modal__backdrop {
  position: absolute;
  inset: 0;
}

.nr12-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 90%;
  background: #0b1120;  /* fundo escuro para não cansar a vista */
  color: #f9fafb;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.nr12-modal__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Botão de fechar */
.nr12-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Área do vídeo – proporção 16:9 */
.nr12-modal__player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #020617;
  margin-bottom: 0.75rem;
}

.nr12-modal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Link p/ YouTube */
.nr12-modal__link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #38bdf8;
  text-decoration: none;
}

.nr12-modal__link:hover {
  text-decoration: underline;
}

/* Ajustes em telas menores */
@media (max-width: 768px) {
  .nr12-modal__dialog {
    width: 94%;
    padding: 1.25rem 0.9rem 1rem;
  }

  .nr12-modal__title {
    font-size: 1rem;
  }
}



/* Botão fechar */
.nr12-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Área do vídeo – proporção 16:9 */
.nr12-modal__player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #020617;
  margin-bottom: 0.75rem;
}

.nr12-modal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Link para assistir no YouTube */
.nr12-modal__link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #38bdf8;
  text-decoration: none;
}

.nr12-modal__link:hover {
  text-decoration: underline;
}

/* Ajuste em telas menores */
@media (max-width: 768px) {
  .nr12-modal__dialog {
    width: 94%;
    padding: 1.25rem 0.9rem 1rem;
  }

  .nr12-modal__title {
    font-size: 1rem;
  }
}

/* ==========================================================
   SLIDER DO HERO – COLUNA DIREITA
   ========================================================== */
/* Cards que são slides (hero__card + slide-item) */
.hero__card.slide-item {
  background: rgba(15, 23, 42, 0.80);  /* fundo escuro */
  border-color: rgba(148, 163, 184, 0.7);
  color: #f9fafb;                      /* texto claro */
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}
/* Título dentro do slide (hero__card + slide-item) */
.hero__card.slide-item h2 {
    color: #cbd5e1;     /* cinza gelo claro */
    font-weight: 700;
    text-align:center;
}


/* Imagem dentro do slide */
.hero__card.slide-item .slide-fig img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Imagem se adapta ao espaço */
.slide-item .slide-fig img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;          /* NUNCA valor fixo aqui */
  border-radius: 10px;
}

/* Lista dentro do slide (se quiser bullets e cor clara) */
.hero__card.slide-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}
.hero__card.slide-item ul li {
  color: #e5e7eb;
}

/* Só pra garantir centralização do conteúdo do slider */
.hero__slider-track {
  display: flex;
  /* nada de height fixa aqui também */
}


.hero__slider {
    position: relative;
}
.hero__col-direita {
  /* se tiver height, prefira min-height ou remova */
}

.hero__slide {
    display: none;
}

.hero__slide--ativo {
    display: block;
    animation: heroFade 0.35s ease-out;
}

.hero__slider-controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.hero__slider-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.hero__slider-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.hero__slider-dots {
    display: flex;
    gap: 0.4rem;
}

.hero__slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid #9ca3af;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.hero__slider-dot--ativo {
    background: #146b6f;
    border-color: #146b6f;
}

/* animação suave */
@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   CARDS – Brancos, leves
   ========================================================== */

.hero__painel {
    flex: 1 1 380px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero__card {
    background: #f9fafb;  /* quase branco, menos contraste duro */
    padding: 1.4rem;
    border-radius: 1rem;
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}


.hero__card--destaque {
    border-left: 4px solid #146b6f;
}

.hero__card h2 {
    margin-bottom: 0.7rem;
    color: #0f172a;
}

.hero__card ul {
    list-style: none;
}

.hero__card ul li {
    margin-bottom: 0.4rem;
    color: #4b5563;
}



/* ==========================================================
   SEÇÕES INTERNAS (Clean)
   ========================================================== */
.sec {
    padding: 3rem 1.5rem;
    background: #eef2f7;              /* ligeiramente mais escuro que o hero */
}

.sec + .sec {
    border-top: 1px solid #cbd5e1;
}


.sec__inner {
    max-width: 1280px;
    margin: auto;
}

.sec h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.sec__intro {
    color: #4b5563;
    max-width: 820px;
    margin-bottom: 2rem;
}

/* SERVIÇOS */

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.servico {
    background: #f9fafb;
    padding: 1.4rem;
    border-radius: 1rem;
    border: 1px solid #d1d5db;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.03);
}


.servico h3 {
    margin-bottom: 0.6rem;
    color: #111827;
}

.servico p {
    color: #4b5563;
}

/* SOBRE */

.sec--sobre {
    background: #e2e8f0;              /* tom um pouco diferente */
}

.sobre__texto p + p {
    margin-top: 0.6rem;
}

.sobre__card {
    background: #ffffff;
    padding: 1.4rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.03);
}

/* CTA */

.sec--cta {
    background: #e5f2ee;              /* leve toque esverdeado */
}

.sec__inner--cta {
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.3rem;
}

.sec__cta-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================
   RODAPÉ – Verde escuro
   ========================================================== */

.rodape {
    background: #0c2f30;
    padding: 1.5rem;
    color: #e5f6f5;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.rodape__info {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
/* Layout flex para área SOBRE */
.sobre__flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Coluna da foto */
.sobre__foto {
    flex: 1;
    max-width: 380px;
}

.sobre__foto img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Coluna do texto */
.sobre__texto2 {
    flex: 2;
    line-height: 1.6;
}

/* RESPONSIVO — smartphones */
@media (max-width: 768px) {

/* (suas regras que já existem continuam) */

    .topo__inner {
        padding: 0.6rem 1rem;
    }

    .topo__brand {
        gap: 0.4rem;
    }

    .topo__logo {
        height: 42px;
    }

    .topo__titulo {
        font-size: 0.70rem;
        line-height: 1.2;
        max-width: 150px;
        display: block;
    }

    .topo__titulo span {
        display: block;
    }
    /* mostra o botão e esconde o menu padrão */
    .topo__toggle {
        display: block;
    }
    
    .topo__menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #0a233a;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        display: none; /* escondido por padrão */
        flex-direction: column;
        padding: 0.5rem 1rem 0.8rem;
        gap: 0.4rem;
    }

    .topo__menu.topo__menu--aberto {
        display: flex; /* quando aberto */
    }

    .topo__link {
        padding: 0.35rem 0;
    }
    .sobre__flex {
        flex-direction: column; /* Foto em cima, texto abaixo */
        gap: 24px;
    }

    .sobre__foto {
        max-width: 100%;
    }
     .sobre__foto-card {
        max-width: 360px;
        margin: 0 auto;
    }
        .sobre__perfil,
    .sobre__extra {
        max-width: 100%;
        margin: 0 auto;
    }

    .sobre__texto2 h2 {
        text-align: center;
    }

    .sobre__foto img {
        margin: 0 auto;
    }
    
    .sobre__formacao-item {
    gap: 10px;
    }

    .sobre__formacao-texto {
    font-size: 0.92rem;
    }
}
/* TERCEIRA COLUNA: CARDS À DIREITA */
.sobre__extra {
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.95rem;
}

.sobre__extra h3 {
    margin-bottom: 4px;
}

.sobre__extra-card {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 14px 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.sobre__extra-card h4 {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.sobre__extra-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sobre__extra-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.sobre__extra-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

/* placeholders de logos (trocar depois por imagens) */
.sobre__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.sobre__logo-placeholder {
    flex: 0 0 calc(50% - 6px);
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 4px;
    text-align: center;
    font-size: 0.78rem;
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 820px) {
    .hero__inner {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .topo__menu {
        display: none; /* depois ativamos menu mobile */
    }
}
/* Formação Acadêmica — coluna do meio */
.sobre__formacao {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sobre__formacao-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sobre__formacao-logo {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre__formacao-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sobre__formacao-texto {
    font-size: 0.9rem;
    line-height: 1.4;
}

