* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 100px;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.6;
    background-color: #ffffff;
}

.logo-dourada {
    width: 40vw;

}

.nav-href:hover {
    transition: 1s;
    color: #d8b000;
}

@media (min-width: 1524px) {
    .hero {
        padding-left: 35vh;
    }
}

@media (min-width: 600px) {
    .logo {
        margin-left: -80px;
    }
}

header {
    background-image: url(../img/justica-verde.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 20px 0;
    width: 100%;
    height: 90vh;
    position: static;
    color: #ffffff;
    padding-bottom: 10vh;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    color: #ffffff;
    padding-left: 5vh;
    width: 150px;
    transition: 0.3s;
}

header .logo img:hover {
    transform: scale(1.05);
}

/* MENU */
nav {
    display: flex;
    gap: 25px;
}

nav p a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}

nav p a:hover {
    color: rgb(231, 197, 0);
    transition: 0.3s;
}


/* =============================
            HERO
============================= */
.hero {
    padding-top: 26vh;
    padding-left: 5vh;
    text-align: left;
    color: white;
    margin-bottom: 100px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

@media (min-width: 1524px) {
    .hero {
        padding-left: 35vh;
    }
}

/* =============================
            SOBRE
============================= */

.sobre {
    width: 100vw;
    height: 100vh;
    background-image: url(../img/martelo-branco.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.sobre h2 {
    font-weight: bold;
    font-size: 39px;
    padding-bottom: 3vh;
}

.sobre-content {
    padding-top: 15vh;
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 24px;
    text-align: justify;
}

.sobre-texto {
    padding: 32px;
    max-width: 600px;
    padding-bottom: 15vh;
}

.logo-dourada {
    width: 400px;
    height: auto;
    display: block;
    margin-bottom: 30vh;
}

@media (min-width: 1524px) {
    .logo-dourada {
        margin-left: -18vw;
        width: 700px;
    }
}

@media (max-width: 992px) {
    .sobre {
        height: 70vh;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sobre-texto {
        margin: 0 auto;
        text-align: justify;
    }

    .sobre-logo {
        justify-self: center;
    }
}

@media (max-width: 576px) {
    .sobre {
        padding-top: 10vh;
        height: 85vh;
    }

    .sobre-texto {
        padding: 24px;
        max-width: 100%;
        border-radius: 12px;
    }

    .sobre-texto h2 {
        padding-top: 5vh;
    }

    .sobre-texto p {
        font-size: 1rem;
    }

    .logo-dourada {
        width: 400px;
        margin-left: -5vw;
    }
}



/* =============================
           ÁREAS DE ATUAÇÃO
============================= */
#areas {
    color: #ffffff;
    background-color: #00362b;
    padding: 80px 0;
    text-align: justify;
}

#areas h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

/* GRID CORRIGIDO */
.service-list {
    margin-bottom: 5vh;
    display: grid;
    gap: 20px;
    width: 100%;
    grid-template-columns: repeat(1fr);
    /* mobile: 2 coluna */
}

/* Breakpoints */
@media (min-width: 600px) {
    .service-list {
        grid-template-columns: repeat(2, 1fr);
        /* tablet: 2 colunas */
    }
}

@media (min-width: 1024px) {
    .service-list {
        grid-template-columns: repeat(3, 1fr);
        /* PC: 3 colunas */
    }
}

/* CARD */
.card {
    position: relative;
    width: 100%;
    /* antes era 380px — isso quebrava tudo */
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #015442;
    color: #fff;
}

/* Imagem do Card */
.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Véu */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(48, 0, 10, 0.021),
            rgba(0, 0, 0, 0.432));
}

.card:hover {
    background: linear-gradient(to bottom,
            rgba(95, 167, 155, 0.342),
            rgba(255, 255, 255, 0.116));
}


.service-list div {
    background-color: #015442;
    color: #ffffff;
    padding: 25px;
    border-radius: 6px;
    font-weight: bold;
    border-left: 4px solid var(--verde-esmeralda);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.service-list div:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* =============================
            CONTATO
============================= */
.contato {
    background-image: url(../img/justica-martelo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 20px 0;
    width: 100%;
    height: 78vh;
    position: static;
    color: #ffffff;
}

.container-contato {
  max-width: 1200px;
  margin: auto;
}

.contato h2 {
    margin-left: 5vw;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 30px;
}

.contato p {
margin-left: 5vw;
  text-align: justify;
  margin-bottom: 50px;
  color: #ffffff;
}

.contato a {
    color: #ffffff;
    text-decoration: none;
}
.contato-mapa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contato-info {
  display: grid;
  gap: 20px;
}

.contato-card {
  display: flex;
  gap: 20px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: 0.3s;
}

.contato-card img {
  width: 80px;
  transition: 0.5s;
}
.contato-card img:hover {
    transform: scale(1.2);
    transition: 0.5s;
}

.contato-card a {
    transition: 0.5s;
}
.contato-card a:hover {
    color: #d8b000;
    transition: 0.5s;
}


.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 10px;
}

@media (min-width: 600px) {
    .contato h2 {
        margin-left: 5px;
    }
    .contato {
        margin-bottom: -35vh;
    }
}

@media (min-width: 1024px) {
    .contato p {
        margin-left: 5px;
    }
}

@media (max-width: 900px) {
  .contato-mapa {
    grid-template-columns: 1fr;
  }

  .mapa iframe {
    min-height: 300px;
  }
}

.dev-area {
margin-top: 40vh;
  background: #002217;
  padding: 12px 20px;
  text-align: center;
}
  
.dev-area p {
  margin: 0;
  font-size: 0.85rem;
  color: #aaa;
}

.dev-area a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.dev-area a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
    .dev-area {
        margin-top: 75vh;
    }
    .sobre {
        height: 120vh;
    }
}



/* =============================
            FOOTER
============================= */
footer {
    padding-top: 1vh;
    background-color: #015442;
    color: white;
    text-align: center;
    margin-bottom: -9vh;

}

footer p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* =============================
        RESPONSIVIDADE
============================= */
@media (max-width: 768px) {
    nav {
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
/* =============================
      MENU HAMBURGUER
============================= */

.menu-mobile {
    position: relative;
}

/* Botão hamburguer */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Menu padrão (desktop) */
#menu {
    display: flex;
    gap: 25px;
}

#menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.5s;
}

#menu a:hover {
    color:#d8b000;
    transition: 0.5s;
}


/* =============================
      MOBILE
============================= */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    #menu {
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 54, 43, 0.95);
        flex-direction: column;
        width: 220px;
        padding: 20px;
        gap: 20px;
        border-radius: 10px;
        display: none;
    }

    #menu.active {
        display: flex;
    }
}
