   :root {
            --primary: #a8d5ba;
            --secondary: #e8f5e8;
            --accent: #4a90e2;
            --text: #333;
            --light: #f8f9fa;
            --white: #ffffff;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background-color: #fff;
    color: #007BFF;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logoimg {
    display: flex;
    align-items: center;
}

.logoimg img {
    height: 60px;
    width: auto;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}



nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

.submenu {
    max-width: 1200px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

    .submenu ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .submenu li {
        margin-left: 2rem;
    }

    .submenu ul li a {
        color: #007BFF;
        text-decoration: none;
        font-weight: 400;
        transition: color 0.3s;
    }

    .submenu ul li a:hover {
        color: #ffd700;
    }

    .first-submenu {
        margin-left: 200px;
    }

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3 {
    color: #007BFF;
}

section {
    margin-bottom: 3rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
  .metodologia h2, h3 {
    margin-bottom: 2rem;
  }  
  .metodologia ul {
            list-style:disc;
            max-width: 1200px;
            margin-left: 3rem;
        }

        .metodologia ul li {
            margin-bottom: 2rem;
            padding-left: 1rem;
            position: relative;
            line-height: 1pt;
        }
    .metodologia ol {
            list-style:none;
            max-width: 1200px;
            margin-left: 3rem;
        }
        .metodologia ol li {
            margin-bottom: 2rem;
            padding-left: 1rem;
            line-height: 3pt;
        }

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 700;
}

.service-card-protocolo {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: justify;
    transition: transform 0.3s;
}

.service-card-protocolo h3 {
    text-align: center;
}

.service-card-protocolo ul {
    margin-left: 2rem;
}

.service-card-protocolo:hover {
    transform: translateY(-5px);
}

#sobreMim.sobre-container {
  display: flex;
  height: auto;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
  box-sizing: border-box;
}

/* Coluna de texto */
.sobre-texto {
  flex: 1;
  overflow-y: auto;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Coluna da imagem */
.sobre-imagem {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sobre-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Responsivo: empilha */
@media (max-width: 900px) {
  #sobreMim.sobre-container {
    flex-direction: column-reverse;
    height: auto;
  }

  .sobre-imagem {
    height: 350px;
  }

  .sobre-texto {
    height: auto;
    overflow: visible;
  }
}
.signature {
    text-align: right;
    margin-top: 20px;
}
form {
    max-width: 600px;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #007BFF;
}

form input, form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

form button {
    background: #007BFF;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    font-weight: 700;
}

form button:hover {
    background: #0056b3;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer a {
    color: #ffd700;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #007BFF;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 0;
        text-align: center;
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    .submenu {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* === Correção: Exibir hambúrguer + comportamento mobile === */
@media (max-width: 768px) {

  /* Forçar exibição do hambúrguer */
  .hamburger {
    display: block !important;
    cursor: pointer;
    font-size: 2rem;
    color: #007BFF;
    z-index: 9999;
  }

  /* Menu fechado por padrão no mobile */
  nav ul#nav-menu {
    display: none !important;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  /* Menu aberto */
  nav ul#nav-menu.active {
    display: flex !important;
  }

  nav ul#nav-menu li a {
    padding: 1rem 0;
    color: #007BFF !important;
    text-align: center;
  }

  /* Submenu no mobile */
  .menu-item-has-children > .sub-menu {
    display: none !important;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .menu-item-has-children.active > .sub-menu {
    display: flex !important;
  }

  .sub-menu li a {
    padding: 0.8rem 1rem;
    color: #007BFF !important;
    text-align: left;
  }
}