/* ==========================================================================
   Fonte Quente — Homepage (redesign minimal)
   Paleta do logo: teal #00b2b8 + branco + preto. Carregado DEPOIS de
   style.css/fontequente.css. Tudo scoped em .fq-home (e body:has(.fq-home)
   para o header) para não afetar as outras páginas.
   ========================================================================== */

/* variáveis também no body da homepage para o HEADER (que está fora de
   .fq-home) poder usar var(--fq-teal) etc. */
body:has(.fq-home) {
    --fq-teal: #00b2b8;
    --fq-teal-deep: #008fb8;
    --fq-ink: #0c1414;
}

.fq-home {
    --fq-teal: #00b2b8;
    --fq-teal-deep: #008fb8;
    --fq-ink: #0c1414;
    --fq-ink-soft: #56635f;
    --fq-paper: #ffffff;
    --fq-mist: #f2f7f7;
    --fq-line: rgba(12, 20, 20, .10);
    --fq-serif: 'Prata', Georgia, serif;
    --fq-sans: 'Poppins', sans-serif;
    color: var(--fq-ink);
    font-family: var(--fq-sans);
    /* clip e não hidden: hidden num eixo faz o outro passar a "auto", o que
       torna .fq-home um contentor de scroll e o Chrome engole o primeiro
       gesto da roda antes de o passar à página. clip corta sem criar scroll. */
    overflow-x: clip;
}

.fq-home * {
    box-sizing: border-box;
}

.fq-home img {
    max-width: 100%;
    display: block;
}

/* ---- container & ritmo ---- */
.fq-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.fq-section {
    padding: 120px 0;
}

.fq-narrow {
    max-width: 760px;
}

/* ---- tipografia ---- */
.fq-home h1,
.fq-home h2,
.fq-home h3 {
    font-family: var(--fq-serif);
    font-weight: 400;
    color: var(--fq-ink);
    line-height: 1.12;
    margin: 0;
    letter-spacing: -.01em;
}

.fq-eyebrow {
    font-family: var(--fq-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--fq-teal-deep);
    margin: 0 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.fq-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--fq-teal);
    display: inline-block;
}

.fq-lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--fq-ink-soft);
    font-weight: 300;
}

.fq-home p {
    font-weight: 300;
    line-height: 1.75;
    color: var(--fq-ink-soft);
}

/* ---- botões ---- */
.fq-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fq-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 15px;
    text-decoration: none;
    transition: all .35s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.fq-btn--solid {
    background: var(--fq-teal);
    color: #fff;
    margin-right: 23px;
}

.fq-btn--solid:hover {
    background: var(--fq-ink);
    color: #fff;
    transform: translateY(-2px);
}

.fq-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.fq-btn--ghost:hover {
    background: #fff;
    color: var(--fq-ink);
    border-color: #fff;
}

.fq-btn--line {
    background: transparent;
    color: var(--fq-ink);
    border-color: var(--fq-line);
}

.fq-btn--line:hover {
    border-color: var(--fq-teal);
    color: var(--fq-teal-deep);
}

.fq-link {
    font-family: var(--fq-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fq-teal-deep);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .3s ease;
}

.fq-link:hover {
    gap: 14px;
    color: var(--fq-teal-deep);
}

/* ---- header só na homepage: transparente sobre o hero, sólido/sticky ao
   fazer scroll (o template adiciona .fixed-header). Só mexemos no estado
   NÃO-fixo, deixando o estado sticky com o visual sólido do template. ---- */
body:has(.fq-home) .main-header:not(.fixed-header) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 30;
}

body:has(.fq-home) .main-header:not(.fixed-header) .header-upper {
    background: transparent !important;
    box-shadow: none !important;
}

body:has(.fq-home) .main-header:not(.fixed-header) .navigation>li>a {
    color: #fff;
}

body:has(.fq-home) .main-header:not(.fixed-header) .navigation>li>a:hover {
    color: #fff;
}

body:has(.fq-home) .main-header:not(.fixed-header) .nav-toggler img {
    filter: brightness(0) invert(1);
}

/* estado sticky (scroll): barra escura translúcida com blur, nav branca */
body:has(.fq-home) .main-header.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    /* glass preto (css.glass) */
    background: rgba(0, 0, 0, .25) !important;
    -webkit-backdrop-filter: blur(10.2px);
    backdrop-filter: blur(10.2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    animation: fq-down .45s ease;
    min-height: 70px;
}

body:has(.fq-home) .main-header.fixed-header .header-upper {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
}

/* header mais compacto quando fixo: reduz padding e tamanho do logo */
body:has(.fq-home) .main-header.fixed-header .main-box .logo-box {
    padding: 10px 0;
}

body:has(.fq-home) .main-header.fixed-header .main-box .logo-box .logo img {
    height: 46px;
}

body:has(.fq-home) .main-header.fixed-header .navigation>li>a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(8, 16, 16, .55), 0 1px 14px rgba(8, 16, 16, .5);
    padding: 8px 0 5px;
    line-height: 24px;
}

body:has(.fq-home) .main-header.fixed-header .navigation>li>a:hover {
    color: #fff;
}

body:has(.fq-home) .main-header.fixed-header .nav-toggler img {
    filter: brightness(0) invert(1);
}

@keyframes fq-down {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: translateY(0)
    }
}

/* ---- header mais baixo e tudo centrado verticalmente.
   logo-box: padding 16 + logo 64 + 16 = 96px → nav com a mesma altura,
   por isso logo e texto ficam centrados na "caixa" do header. ---- */
body:has(.fq-home) .main-header .main-box .logo-box {
    padding: 16px 0;
}

body:has(.fq-home) .main-menu .navigation>li {
    padding: 0;
    margin-left: 34px;
    min-height: 96px;
    display: flex;
    align-items: center;
}

/* altura reduzida apenas quando o header está fixo */
body:has(.fq-home) .main-header.fixed-header .main-menu .navigation>li {
    min-height: 65px;
}

body:has(.fq-home) .main-menu .navigation>li>a {
    position: relative;
    padding: 0;
    line-height: 1.3;
}

/* sem a folha (logo-icon) no hover — não justifica header alto só para a mostrar */
body:has(.fq-home) .main-menu .navigation>li>a:before {
    display: none !important;
}

/* feedback de hover minimal: sublinhado teal */
body:has(.fq-home) .main-menu .navigation>li>a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--fq-teal);
    transition: width .3s ease;
}

body:has(.fq-home) .main-menu .navigation>li:hover>a:after,
body:has(.fq-home) .main-menu .navigation>li.current>a:after {
    width: 100%;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.fq-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 140px 0 120px;
}

.fq-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 62%;
    background-repeat: no-repeat;
    transform: scale(1.08);
    animation: fq-zoom 22s ease-out forwards;
}

@keyframes fq-zoom {
    to {
        transform: scale(1);
    }
}

.fq-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 72% 64% at 50% 30%, rgba(8, 16, 16, .45) 0%, rgba(8, 16, 16, 0) 74%), linear-gradient(180deg, rgba(8, 16, 16, .38) 0%, rgba(8, 16, 16, .22) 45%, rgba(8, 16, 16, .55) 100%);
}

.fq-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -20 px;
}

.fq-hero .fq-eyebrow {
    color: #fff;
    justify-content: center;
}

.fq-hero .fq-eyebrow::before {
    background: #fff;
}

.fq-hero .fq-eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: #fff;
    display: inline-block;
}

.fq-hero h1 {
    color: #fff;
    font-size: clamp(38px, 5.6vw, 50px);
    text-shadow: 0 2px 34px rgba(8, 16, 16, .45);
}

.fq-hero__sub {
    margin: 15px auto 30px;
    font-size: clamp(16px, 1.35vw, 15px);
    font-weight: 400;
    line-height: 1.7;
    color: #fff !important;
    max-width: 630px !important;
    text-shadow: 0 0 3px rgba(8, 16, 16, .95), 0 1px 10px rgba(8, 16, 16, .95), 0 0 30px rgba(8, 16, 16, .75);
}

.fq-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    justify-content: center;
}

.fq-scroll {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fq-scroll span {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, .5);
    position: relative;
    overflow: hidden;
}

.fq-scroll span::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: fq-scroll 2s ease-in-out infinite;
}

@keyframes fq-scroll {
    0% {
        top: -50%
    }

    100% {
        top: 100%
    }
}

/* ==========================================================================
   ESSÊNCIA (texto contemplativo)
   ========================================================================== */
.fq-essence {
    text-align: center;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* raios de luz (WebGL) azuis sobre fundo branco, por baixo do texto.
   Sem mix-blend para o canvas compor pela própria transparência. */
.fq-essence__rays {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .5;
}

.fq-essence__rays canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.fq-essence .fq-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.fq-essence h2 {
    font-size: clamp(28px, 3.4vw, 36px);
    max-width: 530px;
}

.fq-essence p {
    margin-top: 26px;
    font-size: 18px;
    max-width: 62ch;
}

.fq-rule {
    width: 1px;
    height: 64px;
    background: var(--fq-line);
    margin: 0 auto 40px;
}

.fq-rule--teal {
    background: var(--fq-teal);
    height: 48px;
}

/* ==========================================================================
   SOM SAGRADO (split imagem + texto)
   ========================================================================== */
.fq-sound {
    background-color: #ffffff;
}

.fq-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.fq-split__media {
    position: relative;
}

.fq-split__media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 4px;
}

.fq-split__media::before {
    content: "";
    position: absolute;
    left: -18px;
    top: -18px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--fq-teal);
    border-radius: 4px;
    z-index: -1;
}

.fq-split h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    margin-bottom: 24px;
}

.fq-split__body h3 {
    font-size: 21px;
    margin: 28px 0 10px;
}

.fq-modalities {
    list-style: none;
    margin: 34px 0 36px;
    padding: 0;
}

.fq-modalities li {
    padding: 16px 0;
    border-top: 1px solid var(--fq-line);
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-weight: 300;
    color: var(--fq-ink);
}

.fq-modalities li:last-child {
    border-bottom: 1px solid var(--fq-line);
}

.fq-modalities li b {
    font-family: var(--fq-serif);
    font-weight: 400;
    font-size: 18px;
    min-width: 42px;
    color: var(--fq-teal-deep);
}

.fq-modalities li span {
    color: var(--fq-ink-soft);
}

/* ==========================================================================
   EXPERIÊNCIAS (3 cartões)
   ========================================================================== */
.fq-exp {
    background-color: #eeeeee;
}

.fq-exp__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 54px;
}

.fq-exp__head h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    max-width: 19ch;
}

.fq-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fq-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
}

.fq-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.fq-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 16, 16, 0) 30%, rgba(8, 16, 16, .82) 100%);
}

.fq-card:hover img {
    transform: scale(1.06);
}

.fq-card__body {
    position: relative;
    z-index: 2;
    padding: 32px;
}

.fq-card__body h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.fq-card__body p {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    margin: 0 0 16px;
}

.fq-card__more {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    display: inline-flex;
    gap: 8px;
}

.fq-card__more::after {
    content: "\2192";
    color: var(--fq-teal);
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.fq-gallery {
    background: var(--fq-ink);
    color: #fff;
}

.fq-gallery .fq-eyebrow {
    color: var(--fq-teal);
}

.fq-gallery h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 44px);
    margin-bottom: 48px;
}

.fq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.fq-grid a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.fq-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s ease, opacity .5s ease;
    opacity: .96;
}

.fq-grid a:hover img {
    transform: scale(1.06);
    opacity: 1;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.fq-cta {
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.fq-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
}

.fq-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(60, 64, 66, .60), rgba(20, 22, 22, .70));
}

.fq-cta .fq-wrap {
    position: relative;
    z-index: 2;
}

.fq-cta h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    max-width: 18ch;
    margin: 0 auto;
}

.fq-cta p {
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    max-width: 54ch;
    margin: 24px auto 38px;
}

/* ---- reveal on scroll ---- */
.fq-home .fq-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s ease, transform .9s ease;
}

.fq-home .fq-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion:reduce) {
    .fq-home .fq-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .fq-hero__bg {
        animation: none;
        transform: none;
    }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width:991px) {
    .fq-section {
        padding: 84px 0;
    }

    .fq-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fq-split__media img {
        height: 420px;
    }

    .fq-cards {
        grid-template-columns: 1fr;
    }

    .fq-card {
        min-height: 360px;
    }

    .fq-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .fq-grid .fq-wide {
        grid-column: span 2;
    }
}

@media (max-width:575px) {
    .fq-wrap {
        padding: 0 20px;
    }

    .fq-section {
        padding: 64px 0;
    }

    .fq-hero__cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .fq-btn {
        width: 100%;
        justify-content: center;
    }

    .fq-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }
}

/* ==========================================================================
   PÁGINA SOBRE NÓS (reutiliza a linguagem da homepage)
   ========================================================================== */
/* hero de página (mais baixo que o da home) */
.fq-hero--page {
    min-height: 66vh;
    padding: 170px 0 110px;
}

/* overlay mais escuro nos heros de página para o texto ficar mais legível */
.fq-hero--page::after {
    background: radial-gradient(ellipse 72% 64% at 50% 30%, rgba(8, 16, 16, .55) 0%, rgba(8, 16, 16, .15) 74%), linear-gradient(180deg, rgba(8, 16, 16, .60) 0%, rgba(8, 16, 16, .45) 45%, rgba(8, 16, 16, .68) 100%);
}

/* utilitário de fundo azul muito claro */
.fq-soft {
    background-color: #eeeeee;
}

/* citação do fundador */
.fq-quote {
    margin: 38px 0 0;
    padding: 30px 34px;
    border-left: 2px solid var(--fq-teal);
    background: var(--fq-mist);
    border-radius: 4px;
}

.fq-quote p {
    font-family: var(--fq-serif);
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: var(--fq-ink);
    margin: 0;
}

.fq-quote cite {
    display: block;
    margin-top: 18px;
    font-style: normal;
    font-size: 13px;
    color: var(--fq-ink-soft);
}

.fq-quote cite b {
    display: block;
    font-family: var(--fq-sans);
    font-weight: 600;
    color: var(--fq-ink);
    letter-spacing: .02em;
}

/* grelha de valores */
.fq-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 54px;
    background: var(--fq-line);
    border: 1px solid var(--fq-line);
    border-radius: 4px;
    overflow: hidden;
}

.fq-value {
    background: #fff;
    padding: 42px 34px;
}

.fq-value b {
    display: block;
    font-family: var(--fq-serif);
    font-size: 22px;
    color: var(--fq-teal-deep);
    margin-bottom: 18px;
}

.fq-value h3 {
    font-size: 21px;
    margin: 0 0 12px;
}

.fq-value p {
    margin: 0;
    font-size: 15px;
}

/* testemunhos */
.fq-testi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 54px;
}

.fq-testi__item {
    background: #fff;
    border: 1px solid var(--fq-line);
    border-radius: 4px;
    padding: 34px 30px;
}

.fq-testi__stars {
    color: var(--fq-teal);
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 16px;
}

.fq-testi__item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fq-ink);
    margin: 0 0 20px;
}

.fq-testi__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--fq-ink);
}

@media (max-width:991px) {
    .fq-values {
        grid-template-columns: 1fr 1fr;
    }

    .fq-testi {
        grid-template-columns: 1fr;
    }
}

@media (max-width:575px) {
    .fq-values {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PÁGINAS LEGAIS (termos / privacidade)
   ========================================================================== */
.fq-legal h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    margin: 48px 0 14px;
}

.fq-legal h2:first-child {
    margin-top: 0;
}

.fq-legal p,
.fq-legal li {
    font-weight: 300;
    line-height: 1.8;
    color: var(--fq-ink-soft);
}

.fq-legal p {
    margin-bottom: 16px;
}

.fq-legal ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.fq-legal li {
    margin-bottom: 8px;
}

.fq-legal__updated {
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--fq-ink-soft);
    margin-bottom: 40px;
}

/* ==========================================================================
   FOOTER — logo grande no fundo
   ========================================================================== */
.footer-two .bg-layer.fq-footer-logo {
    background-repeat: no-repeat;
    background-position: right -60px bottom -40px;
    background-size: 620px auto;
    opacity: .07;
    pointer-events: none;
}

@media (max-width:767px) {
    .footer-two .bg-layer.fq-footer-logo {
        background-position: center bottom -20px;
        background-size: 380px auto;
    }
}

/* ==========================================================================
   PÁGINA CONTACTOS
   ========================================================================== */
.fq-contact {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: start;
}

.fq-contact h2 {
    font-size: clamp(26px, 3vw, 40px);
    margin-bottom: 18px;
}

/* lista de informações */
.fq-info {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.fq-info li {
    padding: 22px 0;
    border-top: 1px solid var(--fq-line);
}

.fq-info li:last-child {
    border-bottom: 1px solid var(--fq-line);
}

.fq-info__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fq-teal-deep);
    margin-bottom: 8px;
}

.fq-info__value,
.fq-info__value a {
    font-size: 17px;
    color: var(--fq-ink);
    font-weight: 300;
    text-decoration: none;
}

.fq-phone {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fq-phone + .fq-phone {
    margin-top: 8px;
}

.fq-phone img {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.fq-phone a {
    margin-left: 4px;
}

.fq-info__value a:hover {
    color: var(--fq-teal-deep);
}

/* formulário */
.fq-form .fq-field {
    margin-bottom: 20px;
}

.fq-form .fq-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fq-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--fq-ink);
    margin-bottom: 8px;
    letter-spacing: .02em;
}

.fq-form label i {
    color: var(--fq-teal);
    font-style: normal;
}

.fq-form input,
.fq-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--fq-line);
    border-radius: 4px;
    background: #fff;
    font-family: var(--fq-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--fq-ink);
    transition: border-color .25s ease;
}

.fq-form input:focus,
.fq-form textarea:focus {
    outline: none;
    border-color: var(--fq-teal);
}

.fq-form textarea {
    min-height: 150px;
    resize: vertical;
}

.fq-form button {
    border: none;
    cursor: pointer;
}

.fq-alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.fq-alert--ok {
    background: #e7f7f4;
    color: #0a6b54;
    border: 1px solid #b7e6db;
}

.fq-alert--err {
    background: #fdecec;
    color: #a3261f;
    border: 1px solid #f3c7c4;
}

/* mapa */
.fq-map {
    line-height: 0;
}

.fq-map iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

@media (max-width:991px) {
    .fq-contact {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width:575px) {
    .fq-form .fq-grid2 {
        grid-template-columns: 1fr;
    }
}

/* Banner da homepage: sem zoom extra (imagem de 1024px já é ampliada pelo cover) */
.fq-hero--home .fq-hero__bg {
    transform: none;
    animation: none;
    background-position: center;
}

/* ==========================================================================
   ESCOLA — práticas, cartão do formulário e seletor de idioma
   ========================================================================== */

/* lista de práticas: etiquetas em vez de um parágrafo corrido */
.fq-practices {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fq-practices li {
    background: #fff;
    border: 1px solid var(--fq-line);
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 15px;
    color: var(--fq-ink);
}

/* cartão que envolve o formulário, para não flutuar sobre o fundo */
.fq-formcard {
    max-width: 860px;
    margin: 44px auto 0;
    background: #fff;
    border: 1px solid var(--fq-line);
    border-radius: 6px;
    padding: 48px;
    box-shadow: 0 18px 50px rgba(12, 20, 20, .06);
}

@media (max-width: 767px) {
    .fq-formcard {
        padding: 28px 20px;
    }
}

.fq-form__note {
    font-size: 13px;
    color: var(--fq-ink-soft);
    margin: 0 0 8px;
}

/* cabeçalho de cada bloco do formulário, com o número ao lado */
.fq-form__section {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 22px;
    margin: 44px 0 26px;
    padding-top: 30px;
    border-top: 1px solid var(--fq-line);
}

.fq-form__section:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 20px;
}

/* o primeiro campo a seguir ao cabeçalho não pode ficar colado a ele */
.fq-form__section + .fq-grid2,
.fq-form__section + .fq-field {
    margin-top: 8px;
}

.fq-form__section span {
    font-family: var(--fq-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--fq-teal-deep);
}

.fq-field__optional,
.fq-field__legend {
    color: var(--fq-ink-soft);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.fq-field__legend {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fq-teal-deep);
    margin-bottom: 10px;
}

.fq-form select {
    width: 100%;
    padding: 15px 44px 15px 16px;
    border: 1px solid var(--fq-line);
    border-radius: 4px;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2356635f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--fq-sans);
    font-size: 15px;
    color: var(--fq-ink);
    cursor: pointer;
}

.fq-form select:focus,
.fq-form input:focus,
.fq-form textarea:focus {
    outline: none;
    border-color: var(--fq-teal);
    box-shadow: 0 0 0 3px rgba(0, 178, 184, .12);
}

/* consentimentos: caixa clicável em toda a linha */

.fq-form__actions {
    margin-top: 34px;
    text-align: center;
}

/* ---- seletor de idioma ----
   Três siglas em linha competiam com as entradas do menu; passa a ser um botão
   com o idioma atual e uma lista que abre por baixo. */
.fq-lang {
    /* !important porque o template declara position nos <li> do menu; sem isto
       a lista alinhava pela janela e encostava à margem direita. */
    position: relative !important;
    display: flex;
    align-items: center;
}

body:has(.fq-home) .main-menu .navigation>li.fq-lang>a:after {
    display: none;
}

.fq-lang__toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 7px 14px;
    font-family: var(--fq-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    color: inherit;
    cursor: pointer;
    opacity: .85;
    transition: opacity .2s ease, background .2s ease;
}

.fq-lang__toggle:hover {
    opacity: 1;
}

/* no topo transparente da homepage o menu é branco; quando fica fixo também */
body:has(.fq-home) .main-header .main-menu .navigation>li.fq-lang .fq-lang__toggle {
    color: #fff;
}

.fq-lang__menu {
    position: absolute;
    /* O <li> do menu tem 96px de altura, por isso `top: 100%` deixava a lista a
       flutuar muito abaixo do botão. Ancora-se ao meio, logo abaixo da pastilha. */
    top: calc(50% + 26px);
    right: 0;
    left: auto;
    min-width: 190px;
    margin: 0;
    padding: 8px;
    list-style: none;
    /* vidro fosco em vez de branco cheio, para deixar ver a foto por trás */
    background: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(12, 20, 20, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 60;
}

.fq-lang:hover .fq-lang__menu,
.fq-lang:focus-within .fq-lang__menu,
.fq-lang.is-open .fq-lang__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fq-lang__menu li {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
}

body:has(.fq-home) .main-menu .navigation .fq-lang__menu>li>a,
.fq-lang__menu>li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    font-family: var(--fq-sans);
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--fq-ink) !important;
    text-shadow: none;
    white-space: nowrap;
}

.fq-lang__menu>li>a img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(12, 20, 20, .12);
    flex-shrink: 0;
}

.fq-lang__menu>li>a:hover {
    background: rgba(12, 20, 20, .06);
}

.fq-lang__menu>li>a.is-active {
    font-weight: 600;
    color: var(--fq-teal-deep) !important;
}

/* menu lateral (telemóvel): as três siglas em linha, com etiqueta */
.fq-lang--side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fq-lang__label {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fq-ink-soft);
}

.fq-lang__links {
    display: flex;
    gap: 12px;
}

.fq-lang__links a.is-active {
    font-weight: 600;
    border-bottom: 2px solid var(--fq-teal);
}

/* ---- logo branco sobre a foto do banner ----
   O logo é azul-turquesa e desaparecia sobre a imagem; só no estado
   transparente é que passa a branco. */
body:has(.fq-home) .main-header:not(.fixed-header) .logo img,
body:has(.fq-home) .main-header.fixed-header .logo img {
    filter: brightness(0) invert(1);
}

/* O template posiciona os submenus do menu principal com left/width próprios e
   ganha em especificidade; sem estas três linhas a lista de idiomas abria para
   fora da janela, encostada à margem direita. */
body:has(.fq-home) .main-menu .navigation>li.fq-lang>ul.fq-lang__menu {
    left: auto !important;
    right: 0 !important;
    width: auto !important;
}

/* Logo com mais folga à esquerda, em vez de colado ao limite do ecrã. */
body:has(.fq-home) .main-header .auto-container {
    padding-left: 48px;
    padding-right: 48px;
}

@media (max-width: 767px) {
    body:has(.fq-home) .main-header .auto-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Escola: secções mais curtas (80px em vez dos 120px gerais). A classe
   .fq-escola só existe nesta página, por isso nenhuma outra é afetada. */
.fq-escola .fq-section {
    padding: 80px 0;
}

/* A regra geral `.fq-form input` dá padding de 14px e borda a TODOS os inputs,
   incluindo as caixas de seleção — era isso que as deixava desalinhadas do
   texto ao lado, e não o alinhamento do contentor. */
.fq-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 3px;
    background: none;
    accent-color: var(--fq-teal);
    vertical-align: middle;
}

/* O template pinta os submenus do menu principal com `background:#ffffff` e
   ganha em especificidade — era daí que vinha o branco cheio, e não da regra
   acima. O mesmo seletor repete aqui o vidro fosco. */
body:has(.fq-home) .main-menu .navigation>li.fq-lang>ul.fq-lang__menu {
    padding: 8px !important;
    background: rgba(255, 255, 255, .55) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 18px 44px rgba(12, 20, 20, .18) !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    border-radius: 10px !important;
}

/* Consentimentos: uma só definição, para não haver regras a competir.
   A caixa e o texto ficam na mesma linha, centrados um com o outro. */
.fq-form .fq-consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    font-weight: 400;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--fq-ink);
    background: var(--fq-mist);
    border-radius: 4px;
    padding: 16px 18px;
    cursor: pointer;
}

.fq-form .fq-consent > input[type="checkbox"] {
    display: inline-block;
    width: 18px !important;
    height: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    accent-color: var(--fq-teal);
}

.fq-form .fq-consent > span {
    flex: 1 1 auto;
    display: inline-block;
    line-height: 1.5;
}

/* ---- destaque de uma formação única ----
   Um cartão sozinho numa grelha de três fica perdido; quando só há uma
   formação publicada, ocupa a largura toda. Com duas ou mais volta à grelha. */
.fq-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--fq-line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(12, 20, 20, .07);
    transition: transform .35s ease, box-shadow .35s ease;
}

.fq-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(12, 20, 20, .12);
}

.fq-feature__media {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.fq-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.fq-feature:hover .fq-feature__media img {
    transform: scale(1.04);
}

.fq-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 56px;
}

.fq-feature__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fq-teal-deep);
    margin-bottom: 18px;
}

.fq-feature__body h3 {
    font-family: var(--fq-serif);
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.15;
    margin: 0 0 18px;
    color: var(--fq-ink);
}

.fq-feature__body p {
    margin: 0 0 28px;
    color: var(--fq-ink-soft);
}

@media (max-width: 991px) {
    .fq-feature {
        grid-template-columns: 1fr;
    }

    .fq-feature__media {
        min-height: 300px;
    }

    .fq-feature__body {
        padding: 34px 26px 40px;
    }
}
