@import "reset.css";

/* =========================================================
   CABEÇALHO
========================================================= */



/* Desktop */
/* =====================================================
   CONTROLO DESKTOP / MOBILE
====================================================== */

#cabecalho {
    display: block;
}

#cabecalho-mobile,
#menu-overlay,
#menu-lateral-mobile {
    display: none;
}

#cabecalho {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
   

}


/* =========================================================
   ESTADO 1 — TOPO DA HOME
========================================================= */

.cabecalho-inicial {
    position: relative;


    width: 100%;

    padding: 50px 7% 0;

    display: flex;

    align-items: flex-start;

    flex-wrap: wrap;

}

.cabecalho-inicial {
    position: relative;
}


/*
   Linha sólida abaixo do logo e do botão
*/

.cabecalho-inicial::after {

    content: "";

    position: absolute;

    top: 95px;

    left: 7%;

    right: 6%;

    height: 0.5px;


    background:var(--corPrincipal);

}


/* =========================================================
   LOGO
========================================================= */

.cabecalho-inicial .logo-site {

    display: block;

}


.cabecalho-inicial .logo-site img {

    display: block;

    width: 150px;

    height: auto;

}

/* =========================================================
   ÁREA DE CONTACTO
========================================================= */

.contactar {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 20px;

}


/* =========================================================
   INFORMAÇÃO DE CONTACTO
========================================================= */

.informacao-contacto {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    line-height: 1.2;

}


/* "Consultar" */

.informacao-contacto span {

        font-size: var(--esp-6);

    font-weight: var(--peso-3);
  

}


/* Número */

.informacao-contacto strong {

    font-size: var(--esp-5);

    font-weight: var(--peso-5);

    white-space: nowrap;

}


/* =========================================================
   BOTÃO CONTACTAR
========================================================= */

.botao-contactar {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    font-weight: var(--peso-3);

    background: var(--corPrincipal);

    font-size: var(--esp-3);

    padding: 5px 12px;

    border-radius: 5px;

    color: var(--corBranca);

    text-decoration: none;

    white-space: nowrap;

}


/* =========================================================
   ÍCONE
========================================================= */

.botao-contactar img {

    width: 11px;

    height: 11px;

}


/* =========================================================
   TEXTO DO BOTÃO
========================================================= */

.botao-contactar span {

    font-size: var(--esp-5);

}

/* =========================================================
   MENU DO TOPO
========================================================= */

.menu-inicial {

    width: 100%;

    margin-top: 12px;

    display: flex;

    justify-content: flex-start;

}


.menu-inicial ul {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 20px;

    margin: 0;

    padding: 0;

}


.menu-inicial a {
    position: relative;

    text-decoration: none;

    font-size: var(--esp-5);
    font-weight: var(--peso-4);

    transition: 0.3s ease;
    color: var(--corBranca);
}


/* =========================================================
   MENU ATIVO
========================================================= */

.menu-inicial a.activo::before {
    content: "";

    position: absolute;

    width: 80%;
    height: 1px;

    left: 40%;
    bottom: -4px;

    transform: translateX(-50%);

    background-color: var(--corPrincipal);

     border-radius: 50px;
}
/* =========================================================
   ESTADO 2 — CABEÇALHO APÓS SCROLL
========================================================= */
/* =========================================================
   CABEÇALHO APÓS SCROLL
========================================================= */

.cabecalho-scroll {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 20px 6%;

    display: flex;
    align-items: center;

    gap: 30px;

    /* COR SECUNDÁRIA COM TRANSPARÊNCIA */
    background: color-mix(
        in srgb,
        var(--corSegundaria) 80%,
        transparent
    );

    border-bottom: 1px solid rgba(255, 255, 255, 0.25);

    transform: translateY(-100%);

    opacity: 0;
    visibility: hidden;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
}

/* =========================================================
   MOSTRAR CABEÇALHO SCROLL
========================================================= */

#cabecalho.scroll .cabecalho-scroll {

    transform: translateY(0);

    opacity: 1;

    visibility: visible;

}


/* =========================================================
   LOGO DO CABEÇALHO SCROLL
========================================================= */

.cabecalho-scroll .logo-site {

    flex-shrink: 0;

}


.cabecalho-scroll .logo-site img {

    display: block;

    width: 120px;

    height: auto;

}


/* =========================================================
   MENU SCROLL
========================================================= */

.menu-scroll {

    flex: 1;

}


.menu-scroll ul {

    list-style: none;

    display: flex;

    align-items: center;

    justify-content: left;

    gap: 25px;

    margin: 0 0 0 40px;

    padding: 0;

}


.menu-scroll a {
    position: relative;

    text-decoration: none;

    font-size: var(--esp-5);
    font-weight: var(--peso-4);
    color: var(--corBranca);

    white-space: nowrap;
}


/* =========================================================
   MENU ATIVO
========================================================= */

.menu-scroll a.activo::before {
    content: "";

    position: absolute;

    width: 80%;
    height: 1.2px;

    left: 40%;
    bottom: -4px;

    transform: translateX(-50%);

    background-color: var(--corPrincipal);

    border-radius: 50px;
}

/* =========================================================
   REDES SOCIAIS
========================================================= */

.redes-sociais {
    display: flex;

    align-items: center;

    gap: 7px;

    flex-shrink: 0;
}


/* =========================================================
   CADA REDE SOCIAL
========================================================= */

.redes-sociais a {
    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: var(--corPrincipal);

    border-radius: 50%;

    text-decoration: none;

    transition: 0.3s ease;
}


/* =========================================================
   ÍCONES
========================================================= */

.redes-sociais img {
    width: 11px;
    height: 11px;

    display: block;
}


/* =========================================================
   HOVER
========================================================= */

.redes-sociais a:hover {
    transform: translateY(-3px);
}