/* ================================
   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;
  } */

/* Pacifico, 'Pacifico Fallback' */

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

    --cl-color-primary: #5D8AF3;
    --cl-color-primary-light: #EAF0FE;

    /* Darker version for focus/active states */
    --cl-color-primary-focus: #3A6DE0;
    --cl-color-focus-ring: rgba(93, 138, 243, 0.4);

    --font-base: 'Poppings', sans-serif;

    --font-title: 'Pacifico', sans-serif;

    --bs-quaternary: #993300 !important;
    /* Footer-specific */
    --footer-bg: #5D8AF3;
    --footer-color: #ffffff;
    --footer-link-color: #ffffff;
    --footer-link-hover-color: #dfe9dd;

}


/* default */
html, body {
    font-family: var(--font-base);
    font-size: 1rem; /* base size, scalable */
    line-height: 1.6;
    color: #333; /* optional: base text color */
    margin: 0;
    padding: 0;
}


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

  .element-header.h2 {
    font-size: 2.25rem;
    color: var(--cl-color-primary);
  }

  .element-header.h3 {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--cl-color-primary);
  }

  /* Normalização de headings menores */
  h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cl-color-primary);
  }

  h5 {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--cl-color-primary);
  }

  h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cl-color-primary);
  }

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

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

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

/* ================================
    webwecare project name
    ================================ */


.webwecare-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: var(--cl-color-primary);
}

.webwecare-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;
}

.webwecare-project-name-long strong {
    font-size: 1.75em;
    color: var(--cl-color-primary);
    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: var(--cl-color-primary);
    text-align: left;
    letter-spacing: 0.02em;
    border-left: 5px solid var(--cl-color-primary);
    padding-left: 1rem;
}

.priority-title .highlight {
    color: var(--cl-color-primary);         /* 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: var(--cl-color-primary);
    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 “webwecare” */
.project-description-card .project-accent {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.5em;
}


/* button */
.webwecare-button {
  background-color: var(--cl-color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.webwecare-button:hover {
  background-color: var(--cl-color-primary);
  transform: translateY(-2px);
}

.webwecare-button:focus,
.webwecare-button:active {
  background-color: var(--cl-color-primary-focus);
  outline: 3px solid var(--cl-color-focus-ring);
  outline-offset: 2px;
}


/* footer */
/* Rodapé principal */
.footer-section-content {
    background-color: var(--cl-color-primary);
    color: var(--cl-color-primary);
    font-family: var(--font-base);
  }

  .footer-section-content a {
    color: var(--cl-color-primary);
    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: var(--cl-color-primary);
}

.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;
}

/*
@media (max-width: 768px) {
    .h-language-menu {
        left: 0;
        right: auto;
        border-radius: 0;
    }
}
*/

@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: var(--cl-color-primary-light);
    font-weight: bold;
}

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



/* casalentaacores */
.cl-card-shadow {
    width: 100%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.95); /* quase branco, translúcido suave */
    padding: 1.5rem;
    border-radius: 10px;
    font-family: var(--font-base);
    font-size: 1.0rem;
    color: #333;
    margin: 1rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    box-sizing: border-box;
}

.cl-card-shadow-author {
    text-align: right;
    font-weight: 600;
    font-style: italic;
    color: #444;
}

/* titles */
.cl-title-h2 {
    font-family: var(--font-title, --font-base, sans-serif); /* fallback in case var is not defined */
    color: var(--cl-color-primary);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-wrap: balance; /* modern text flow for titles */
    font-size: clamp(2.75rem, 2vw + 1rem, 3.44rem); /* responsive title size */
  }

  /* titles */
.cl-title-room-h3 {
    font-family: var(--font-title, --font-base, sans-serif); /* fallback in case var is not defined */
    color: var(--cl-color-primary);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-wrap: balance; /* modern text flow for titles */
    font-size: clamp(1.25rem, 2vw + 1rem, 1.56rem); /* responsive title size */
  }

/* to use in text-image Rooms page */
/* Left indent: first-line only */
.cl-indent {
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  /* Responsive adjustments for mobile devices */
  @media (max-width: 576px) {
    .cl-indent {
      padding-right: 20px;
    }
  }


/* styles for casalentaacores - need to compile scss */

/* pagina where we are */
.cl-two-col-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    margin: 2rem auto;
  }

  .cl-col-left {
    flex: 0 0 auto;
    width: 65vw;
    position: relative;
    z-index: 1;
  }

  .cl-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
  }

  .cl-col-right {
    flex: 0 0 auto;
    margin-left: -200px; /* sobreposição maior */
    margin-right: 100px; /* margem à direita */
    z-index: 2;
    display: flex;
    align-items: center;
  }

  /* Responsivo */
  @media (max-width: 768px) {
    .cl-two-col-layout {
      flex-direction: column;
      align-items: center;
    }

    .cl-col-left,
    .cl-col-right {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }

    .cl-col-right {
      margin-top: -1rem;
    }

    .cl-card-shadow {
      width: 90%;
    }
  }

  .cl-title-overlay {
    font-family: var(--font-base, sans-serif);
    color: #fff;
    font-weight: 700;
    line-height: 1.1; /* linhas mais juntas */
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: clamp(3.5rem, 2vw + 1rem, 4.25rem);
    text-shadow:
      0 2px 4px rgba(0, 0, 0, 0.6),
      0 4px 12px rgba(0, 0, 0, 0.3);
    text-wrap: balance;
  }

  .cl-subtitle-overlay {
    font-family: var(--font-base, sans-serif);
    color: #f9f9f9;
    font-weight: 400;
    line-height: 1.1; /* mais compacto */
    text-align: center;
    font-size: clamp(1.25rem, 1vw + 0.5rem, 1.75rem);
    margin: 0 auto 1.5rem auto;
    max-width: 900px;
    padding: 0.5rem 1rem;
    background-color: rgba(93, 138, 243, 0.3); /* azul primário translúcido */
    border-radius: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }

  .cl-cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: var(--cl-color-primary);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .cl-cta-button:hover {
    background-color: #476ccd; /* tom mais escuro do primário */
    transform: translateY(-2px);
  }

/* link type button */
.cl-title-highlight {
    font-family: var(--font-base, cursive);
    color: var(--cl-color-primary);
    font-size: clamp(0.8rem, 2vw + 1rem, 0.9rem);
    font-weight: 700;
    margin: 2rem auto;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-wrap: balance;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* ligeiro espaçamento entre letras */
  }
