/* ================================
   TIPOGRAFIA GERAL
   ================================ */
   /* h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Helvetica Neue', sans-serif;
    line-height: 1.2;
    color: #778104;
    margin-bottom: 0.5rem;
  } */


  /* -------- Project Description Card -------- */
:root {
    /* Paleta básica – ajuste aqui e tudo muda */
    --accent: #778104;
    --card-bg: #fdfdf9;
    --card-border: #ccc;
    --shadow: 0 8px 16px rgba(0, 0, 0, .25);
    --font-base: 'Poppins', sans-serif;

    /* Footer-specific */
    --footer-bg: #778104;           /* atualizada para o tom desejado */
    --footer-color: #ffffff;
    --footer-link-color: #ffffff;
    --footer-link-hover-color: #dfe9dd;
}



  html, body {
    font-family: var(--font-base);
  }

  /* ================================
     HEADINGS COM CONTEXTO (element-header)
     ================================ */
  .element-header.h1 {
    font-size: 3rem;
    color: #778104;
  }

  .element-header.h2 {
    font-size: 2.25rem;
    color: #4B3F0F;
  }

  .element-header.h3 {
    font-size: 1.75rem;
    font-weight: 500;
    color: #4B3F0F;
  }

  /* Normalização de headings menores */
  h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4B3F0F;
  }

  h5 {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #4B3F0F;
  }

  h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4B3F0F;
  }

  /* ================================
     CARD STYLING
     ================================ */
     .card-title {
        font-family: var(--font-base);
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.3;
        color: #778104;
        position: relative;
        margin-bottom: 1rem;
        letter-spacing: 0.02em;
        padding-left: 0.5rem;
        border-left: 4px solid #778104;
        margin-bottom: 1.25rem;
    }

    /* .card-title::after {
        content: "";
        position: absolute;
        bottom: -0.5rem;
        left: 0;
        width: 250px;
        height: 3px;
        background-color: #778104;
        opacity: 0.6;
    }
 */
    .card-subtitle {
        font-family: var(--font-base);
        font-size: 1.25rem;
        font-weight: 600;
        color: #4B3F0F;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        letter-spacing: 0.01em;
    }

  /* ================================
     UTILITÁRIOS
     ================================ */
  /* .heading-accent, .text-muted, etc. podem ser definidos aqui */

/* ================================
    SPARROWS project name
    ================================ */


.sparrows-project-name {
    font-family: var(--font-base);
    font-size: clamp(3rem, 5vw, 4rem); /* min 2rem, preferred 5vw, max 4rem */
    text-align: center;
    line-height: 1.4;
    font-weight: 700;
    color: #778104;
}

.sparrows-project-name-long {
    font-size: clamp(1.5rem, 5vw, 2.0rem); /* min 2rem, preferred 5vw, max 4rem */
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sparrows-project-name-long strong {
    font-size: 1.75em;
    color: #778104;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/*
Priorities
*/
.priority-title {
    font-family: var(--font-base);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #4B3F0F;
    text-align: left;
    letter-spacing: 0.02em;
    border-left: 5px solid #778104;
    padding-left: 1rem;
}

.priority-title .highlight {
    color: #778104;         /* brand green */
    font-weight: 800;
    background-color: rgba(119, 129, 4, 0.1); /* subtle highlight background */
    padding: 0 0.2rem;
    border-radius: 4px;
}


/* objectives */
.heading-objectives-title {
    font-family: var(--font-base);
    font-size: clamp(2.5rem, 5vw, 3rem); /* scales between 1.5rem and 3rem */
    line-height: 1.4;
    font-weight: 700;
    color: #778104;
    transform: rotate(-1.5deg);
    display: inline-block;
    position: relative;
    top: 1.2rem;
    z-index: 2;
    padding: 0 1rem;
}

.heading-objectives {
    font-family: var(--font-base);
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    background-color: #fff8b5;
    padding: 2rem 1.5rem 1rem;   /* Add top padding for overlap space */
    border: 1px solid #e0d97a;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    transform: rotate(-1.5deg);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* project description */

/* Container principal */
.project-description-card {
    font-family: var(--font-base);
    font-weight: 400;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 5px solid var(--accent);
    border-right: 5px solid var(--accent); /* Added right border */
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 95%;
    border-radius: .5rem;
    line-height: 1.8;
    color: #333;
}

/* Parágrafos internos */
.project-description-card p {
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); /* 20 px → 24 px */
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Realce da palavra “SPARROWS” */
.project-description-card .project-accent {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.5em;
}


/* button */
.sparrows-button {
    display: inline-block;
    background-color: #778104; /* verde musgo */
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sparrows-button:hover {
    background-color: #5f6c03;
    transform: translateY(-2px);
}

.sparrows-button:focus {
    outline: 2px solid #cbd500;
    outline-offset: 3px;
}


/* footer */
/* Rodapé principal */
.footer-section-content {
    background-color: #778104;
    color: #4B3F0F;
    font-family: var(--font-base);
  }

  .footer-section-content a {
    color: #4B3F0F;
    text-decoration: underline;
    transition: color 0.3s ease;
  }

  .footer-section-content a:hover {
    color: #ffffff;
    text-decoration: none;
  }

  /* Sub-rodapé (meta) */
  .footer-section-meta {
    background-color: #ffffff;
    color: #333333;
    font-size: 0.9rem;
    padding: 1rem;
    text-align: center;
  }

  .footer-section-meta a {
    color: #0288D1;
    text-decoration: none;
  }

  .footer-section-meta a:hover {
    text-decoration: underline;
  }



.footer-legal-links {
    font-family: var(--font-base);
    font-size: 0.95rem;
    color: var(--footer-color); /* tipicamente branco */
    margin-top: 1rem;
    opacity: 0.9;
}

.footer-legal-links a {
    color: #ffffff;
    text-decoration: underline;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #dfe9dd; /* tom mais claro para hover */
    text-decoration: none;
}

/* **************************************************************** */
/* language drop down header */
.h-language-dropdown {
    position: relative;
    z-index: 9999;
}

.h-language-button {
    font-family: var(--font-base);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;

    display: flex;
    align-items: center;
    gap: 0.5rem; /* espaço entre imagem e texto */

    margin-left: 2rem; /* ✅ adiciona espaço à esquerda */
}
.lang-flag {
    width: 18px;
    height: auto;
    margin-right: 6px;
    vertical-align: middle;
    border-radius: 2px;
    display: inline-block;
    object-fit: contain;
}


.h-language-button:hover {
    background-color: #5f6c03;
}

.h-language-menu {
    top: 100%;
    display: none;
    position: absolute;
    /* right: 0; */
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* when in mobile opens menu up - usability */
@media (max-width: 768px) {
    .h-language-menu {
        bottom: 100%;
        top: auto;
        transform: translateY(-0.5rem);
        border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    }
}


.h-language-menu.show {
    display: block;
}

.h-language-menu li {
    border-bottom: 1px solid #eee;
}

.h-language-menu li:last-child {
    border-bottom: none;
}

.h-language-menu a,
.h-language-menu span {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    font-family: var(--font-base);
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.h-language-menu a:hover {
    background-color: #f4f4f4;
}

.h-lang-flag {
    width: 20px;
    height: auto;
    margin-right: 10px;
    border-radius: 2px;
}

.h-language-menu .active {
    background-color: #f1f7e6;
    font-weight: bold;
}

.h-language-menu .inactive {
    opacity: 0.5;
    pointer-events: none;
}



