


/* =========================================================
   PALETA — LUXO DISCRETO / NATUREZA / PEQUENA ESCALA
========================================================= */

:root {
    --bg-main: #f6f4f1;        /* pedra clara */
    --bg-soft: #ebe7e1;        /* areia */
    --bg-warm: #d8cbb8;        /* argila suave */
    --accent: #bfa678;         /* dourado orgânico */
    --text-main: #1f1f1f;
    --text-soft: #5a5a5a;
}

/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Georgia", "Times New Roman", serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* =========================================================
   LANGUAGE SWITCH — LUXO DISCRETO
========================================================= */

.lang-switch {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 8px;

    font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lang-switch a {
    color: var(--text-soft, #777);
    text-decoration: none;
    padding: 2px 4px;
}

.lang-switch a:hover {
    color: var(--text-main, #000);
}

.lang-switch span {
    color: rgba(0,0,0,0.3);
}

.lang-switch a.active {
    color: var(--text-main, #000);
    font-weight: 500;
    border-bottom: 1px solid currentColor;
}

/* =========================================================
   NAVEGAÇÃO — CALMA, ELEGANTE
========================================================= */

nav {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    height: 34px;
    display: flex;
    justify-content: center;
    background: rgba(246,244,241,0.92);
    backdrop-filter: blur(6px);
    z-index: 100;
}

nav a {
    color: var(--text-soft);
    text-decoration: none;
    padding: 18px 20px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--text-main);
}

/* =========================================================
   SEÇÕES — RESPIRAR, NÃO IMPOR
========================================================= */

section {
    
    padding: 32px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   HERO / START — TEXTO NO CANTO INFERIOR DIREITO
========================================================= */

/* HERO — TEXTO NO CANTO INFERIOR DIREITO */

#start {
	height: 90vh;
    position: relative;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;

    padding: 0 7% 8% 7%;
    text-align: right;
    color: #fff;
}

/* TÍTULO */
#start h2,
#start .slogan {
    color: rgba(255, 255, 255, 1);
}

media (max-width: 768px) {
    #start {
		height: 50vh;
        align-items: center;
        text-align: center;
        padding-bottom: 16%;
    }
}


/* =========================================================
   TEXTO GERAL
========================================================= */

h2 {
    font-size: 1.9rem;
    font-weight: 300;
    margin-bottom: 24px;
}

p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-soft);
    max-width: 640px;
}

/* =========================================================
   SEÇÃO PRINCIPAL — LUXO DISCRETO
========================================================= */

section#html {
    background-color: var(--bg-soft);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

section#html .text {
    font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.02rem;
    line-height: 1.9;
    color: #2a2a2a;
}

/* detalhe gráfico elegante */
section#html .text::before {
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 32px;
}

/* iframe sereno */
section#html iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 4px;
    filter: grayscale(100%) contrast(90%);
}

/* =========================================================
   RESPONSIVO — CONTINUA ELEGANTE
========================================================= */

@media (max-width: 900px) {
    section#html {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    p {
        text-align: center;
        margin: auto;
    }
}

@media (max-width: 500px) {
    section {
        padding: 96px 20px;
    }

    nav a {
        font-size: 0.85rem;
        padding: 16px 12px;
    }
}

/* =========================================================
   MOBILE PREMIUM — LUXO DISCRETO
   Foco: leitura, espaço, serenidade
========================================================= */

@media (max-width: 768px) {

    /* Corpo geral */
    body {
        font-size: 16px;
        line-height: 1.8;
        background-color: var(--bg-main);
    }

    /* Navegação — minimal */
    nav {
        height: 38px;
        justify-content: space-around;
    }

    nav a {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        padding: 14px 8px;
    }

    /* Secções — mais respiro vertical */
    section {
        min-height: auto;
        padding: 88px 22px;
        text-align: center;
    }

    /* HERO */
    #start {
		height: 35vh;
        padding-top: 110px;
        padding-bottom: 90px;
    }

    #start h2 {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    /* Títulos */
    h2 {
        font-size: 1.55rem;
        font-weight: 300;
        margin-bottom: 28px;
    }

    /* Texto */
    p {
        font-size: 1.05rem;
        line-height: 1.9;
        max-width: 560px;
        margin: 0 auto;
        color: var(--text-soft);
    }

    /* Secção principal (grid → coluna única) */
    section#html {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 60px;
    }

    /* Barra elegante antes do texto */
    section#html .text::before {
        margin-left: auto;
        margin-right: auto;
    }

    /* Texto principal */
    section#html .text {
        text-align: center;
        font-size: 1.02rem;
    }

    /* iframe / mapa */
    section#html iframe {
        height: 300px;
        border-radius: 6px;
    }
}

/* =========================================================
   MOBILE MUITO PEQUENO — iPhone SE / pequenos Android
========================================================= */

@media (max-width: 420px) {

    h2 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
    }

    nav a {
        font-size: 0.68rem;
    }

    section {
        padding: 72px 18px;
    }
}

/* =========================================================
   MODO NOTURNO — LUXO DISCRETO
   Ativado automaticamente pelo sistema do utilizador
========================================================= */

@media (prefers-color-scheme: dark) {

    :root {
        --bg-main: #1a1917;      /* noite quente, não preto */
        --bg-soft: #22201d;      /* pedra escura */
        --bg-warm: #2b2824;      /* argila noturna */
        --accent: #c6ae80;       /* dourado suave */
        --text-main: #e8e6e2;    /* branco quente */
        --text-soft: #b9b6b0;    /* texto secundário */
    }

    body {
        background-color: var(--bg-main);
        color: var(--text-main);
    }

    /* Navegação */
    nav {
        background: rgba(26,25,23,0.9);
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    nav a {
        color: var(--text-soft);
    }

    nav a:hover {
        color: var(--text-main);
    }

    /* Secções */
    section {
        background-color: transparent;
    }

    section#html {
        background-color: var(--bg-soft);
    }

    /* Títulos */
    h2 {
        color: var(--text-main);
    }

    /* Texto */
    p {
        color: var(--text-soft);
    }

    section#html .text {
        color: var(--text-soft);
    }

    section#html .text strong {
        color: var(--text-main);
    }

    /* Linha decorativa */
    section#html .text::before {
        background-color: var(--accent);
        opacity: 0.9;
    }

    /* Hero */
    #start {
        position: relative;
    }

    #start::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.55)
        );
        pointer-events: none;
    }

    /* iframe / mapa */
    section#html iframe {
        filter: grayscale(100%) brightness(82%) contrast(92%);
        border-radius: 6px;
    }
}
