/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

/* ===========================
   FONTES
=========================== */

:root{

    --bg:#1B1F23;

    --font-title:'Cormorant Garamond', serif;
    --font-body:'Inter', sans-serif;

    --content-width:1200px;

}


/* ===========================
   LAYOUT
=========================== */

body{

    background:var(--bg);

    font-family:var(--font-body);

}



/****** Links *****/

.a1:link {
  color: #AE7B33;
  text-decoration: none;
}

/* visited link */
.a1:visited {
  color: #AE7B33;
  text-decoration: none;
}

/* mouse over link */
.a1:hover {
  color: #000000;
  text-decoration: none;
}

/* selected link */
.a1:active {
  color: #AE7B33;
  text-decoration: none;
}



.container{

    width:100%;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:30px;

}

.content-inner{

    width:100%;
    max-width:var(--content-width);

}

.content-inner img{

    width:100%;
    display:block;
    cursor:pointer;

    /* efeito semelhante ao mockup */
/*
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
*/
}


/* ===========================
   RESPONSIVE
=========================== */

/* Large */

@media (min-width:1025px){

    .hide-large{
        display:none !important;
    }

}


/* Medium */

@media (min-width:769px) and (max-width:1024px){

    .hide-medium{
        display:none !important;
    }

}


/* Small */

@media (max-width:768px){

    .hide-small{
        display:none !important;
    }

    .container{

        padding:20px;

    }

}


/* ==========================================================================
   PÁGINAS INTERNAS (A partir da pagina2.html)
   ========================================================================== */

body.internal-page {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Cabeçalho */
.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px; /* Ajuste o tamanho conforme o seu logo real */
    width: auto;
    display: block;
}

/* Menu de Navegação */
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #1B1F23;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

/* Linha por baixo da opção ativa */

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #AE7B33;
}


/* Botão Reservar Visita */
/*
.main-nav a.btn-reserve {
    background-color: #1B1F23;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-nav a.btn-reserve:hover {
    background-color: #333a42;
    color: #ffffff;
}

*/

.main-nav a.btn-reserve.active::after {
    display: none; 
}



/* --- EFEITOS HOVER NO MENU (TOPO) --- */

/* 1. Mudar a cor do texto para dourado ao passar o rato (exceto no botão) */
.main-nav ul li a:not(.btn-reserve):hover {
    color: #AE7B33;
}

/* 2. Mudar a cor da linha por baixo para dourado quando o link está ativo ou com o rato por cima */
.main-nav a.active::after,
.main-nav ul li a:not(.btn-reserve):hover::after {
    background-color: #AE7B33;
}

/* 3. Garantir que a linha por baixo também fica dourada se passarmos o rato na opção já ativa */
.main-nav a.active:hover::after {
    background-color: #AE7B33;
}

/* 4. Estado inicial do botão RESERVAR VISITA (Fundo Dourado) */
.main-nav a.btn-reserve {
    background-color: #AE7B33;
    color: #ffffff;
    padding: 10px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

/* 5. Estado Hover do botão RESERVAR VISITA (Passa a Preto) */
.main-nav a.btn-reserve:hover {
    background-color: #1B1F23;
    color: #ffffff;
}


/* Botão Hambúrguer (Oculto por padrão em Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1B1F23;
    cursor: pointer;
}

/* ==========================================================================
   CONTEÚDO DA PÁGINA 2
   ========================================================================== */

.main-container {
    flex: 1;
    width: 100%;
    background: #ffffff;
}

/* --- SECÇÃO HERO (BANNER) --- */


.hero-section {
    position: relative;
    width: 100%;
    min-height: 75vh; 
    background-image: url('../img/fundo_pag2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/*
.hero-section {
    position: relative;
    width: 100%;
    max-width: var(--content-width); 
    margin: 0 auto;                  
    min-height: 75vh;
    background-image: url('../img/pagina_inicial.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
*/

/* Película escura suave para garantir a leitura do texto branco */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}


.hero-inner {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 60px 30px;
}

/*
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 30px;
}*/

.hero-content {
    max-width: 550px; /* Alinha e confina o bloco de texto à esquerda */
    color: #ffffff;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 1px;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background-color: #ffffff;
    margin: 25px 0;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Botões do Hero */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
    background-color: #1B1F23;
    color: #ffffff;
    border: 1px solid #1B1F23;
}

.btn-primary:hover {
    background-color: #F8F5F3; /* #333a42; */
	color: #000000;
    border-color: #F8F5F3;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1B1F23;
}


/* --- SECÇÃO DE CARACTERÍSTICAS (4 COLUNAS) --- */
.features-section {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 0;
}

.features-inner {
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}



.feature-icon {
    font-size: 28px;
    /*color: #1B1F23;*/
	/*color: #AE7B33;*/
	color: #C7984C;
    margin-bottom: 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h2 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    color: #1B1F23;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    min-height: 54px; /* Garante que os textos alinham mesmo com quebras de linha diferentes */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    max-width: 240px;
}

/* --- LINHAS VERTICAIS (Apenas em Desktop) --- */

/* Aplica o espaçamento e a linha dourada a partir da 2ª coluna */
.features-inner .feature-card:not(:first-child) {
    border-left: 1px solid #C7984C;
    padding-left: 30px; /* Garante que o texto não cola na linha */
}

/* Ajusta o espaçamento da primeira coluna para ficar simétrico */
.features-inner .feature-card:first-child {
    padding-right: 30px;
}



/* ==========================================================================
   AJUSTES RESPONSIVOS ADICIONAIS
   ========================================================================== */

/* Tablets / Ecrãs Médios */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features-inner {
        grid-template-columns: repeat(2, 1fr); /* Passa a 2 colunas em tablets */
        gap: 40px;
    }
    
    .feature-card h2 {
        min-height: auto; /* Remove a altura fixa em mobile para adaptar dinamicamente */
    }
	
	

    /* Remove as linhas verticais e limpa os paddings em ecrãs médios/pequenos */
    .features-inner .feature-card:not(:first-child) {
        border-left: none;
        padding-left: 10px;
    }
    .features-inner .feature-card:first-child {
        padding-right: 10px;
    }
}
	
}

/* Smartphones */
@media (max-width: 650px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-divider {
        margin: 20px auto; /* Centra o traço em mobile */
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .features-section {
        padding: 50px 0;
    }

    .features-inner {
        grid-template-columns: 1fr; /* Passa a 1 coluna em telemóveis */
        gap: 45px;
    }
}

/* ==========================================================================
   RODAPÉ (100% largura, interior a 1200px)
   ========================================================================== */
.main-footer {
    width: 100%;
    background-color: #1B1F23;
    color: #ffffff;
    padding: 20px 0 20px 0;
    font-family: var(--font-body);
}

.footer-inner {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	padding-left: 25px;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    /*filter: brightness(0) invert(1); /* Torna o logo branco se for escuro */
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-col h3 {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 2px;
}

.footer-col ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* Contactos alinhados com ícones */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.4;
}

.contact-info li i {
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

/* Redes Sociais */
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: #cccccc;
    transform: translateY(-3px);
}

/* Linha Final de Direitos Autorais */
.footer-bottom {
    width: 100%;
    max-width: var(--content-width);
    margin: 5px auto 0 auto;
    padding: 20px 30px 0 30px;
    /*border-top: 1px solid #2d3339;*/
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #888888;
}

/* ==========================================================================
   RESPONSIVIDADE EXTRA (Ecrãs Médios e Pequenos)
   ========================================================================== */

/* Menu Hambúrguer ativa a partir de 1024px (Ecrãs médios e inferiores) */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none; /* Esconde o menu por padrão */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid #eeeeee;
    }

    /* Classe ativada via JavaScript */
    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        align-items: flex-start;
    }

    .main-nav a {
        width: 100%;
        display: block;
    }

    .main-nav a.active::after {
        bottom: -2px;
        width: 40px; /* Linha menor em mobile */
    }

    .main-nav a.btn-reserve {
        display: inline-block;
        text-align: center;
    }

    /* Ajuste do Rodapé para Tablets */
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .main-content h1 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   SECÇÃO COIMBRA É...
   ========================================================================== */

.coimbra-section {
    width: 100%;
    background-color: #fafafa; /* Um fundo subtilmente cinza para destacar da secção anterior */
    padding: 100px 0;
}

.coimbra-inner {
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    /* Divide em duas colunas: a esquerda com 43% e a direita com 52%, deixando um canal de espaço entre elas */
    grid-template-columns: 43% 52%;
    justify-content: space-between;
    align-items: center;
}

/* Coluna da Esquerda (Texto) */
.coimbra-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coimbra-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33; /* Cor dourada de destaque */
    margin-bottom: 10px;
}

.coimbra-left h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    line-height: 1.2;
}

.coimbra-divider {
    width: 60px;
    height: 2px;
    background-color: #AE7B33;
    margin: 25px 0;
}

.coimbra-left p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 35px;
}

/* Botão Descobrir Coimbra */
.btn-coimbra {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 4px;
    background-color: #1B1F23;
    color: #ffffff;
    border: 1px solid #1B1F23;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-coimbra:hover {
    background-color: #AE7B33;
    border-color: #AE7B33;
}

/* Coluna da Direita (Grelha de Imagens) */
.image-grid {
    display: grid;
    /* Cria as 3 colunas iguais para as imagens */
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Espaço entre as fotos */
}

.image-grid img {
    width: 100%;
    height: 180px; /* Altura fixa para manter simetria */
    object-fit: cover; /* Garante que a imagem preenche o quadrado sem distorcer */
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03); /* Efeito opcional ao passar o rato */
}

/* ==========================================================================
   RESPONSIVIDADE DA SECÇÃO COIMBRA
   ========================================================================== */

/* Tablets / Ecrãs Médios */
@media (max-width: 1024px) {
    .coimbra-section {
        padding: 60px 0;
    }
    
    .coimbra-inner {
        grid-template-columns: 1fr; /* Transforma as duas colunas numa única coluna vertical */
        gap: 50px;
    }

    .coimbra-left {
        text-align: center;
        align-items: center; /* Centra o texto e o botão em tablets */
    }

    .coimbra-divider {
        margin: 20px auto;
    }
    
    .image-grid img {
        height: 150px; /* Reduz ligeiramente a altura das imagens em tablets */
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .coimbra-left h2 {
        font-size: 2rem;
    }
    
    .btn-coimbra {
        width: 100%;
        text-align: center;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr); /* Em telemóveis muito pequenos, passa a 2 colunas de imagens para não ficarem minúsculas */
    }
}

/* ==========================================================================
   SECÇÃO OS NOSSOS QUARTOS (CSS CORRIGIDO E ALINHADO)
   ========================================================================== */

.rooms-section {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0;
}

/* Força o alinhamento central idêntico ao da coimbra-section */
.rooms-inner {
    margin: 0 auto !important;
    padding: 0 30px !important;
    max-width: var(--content-width) !important;
}

.rooms-header {
    text-align: left;
    margin-bottom: 50px;
}

.rooms-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    display: block;
    margin-bottom: 10px;
}

.rooms-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
}

/* Área do Carrossel relativa ao tamanho do content-inner */
.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-window {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

/* Grid de 4 itens em Desktop */
.room-slide {
    flex: 0 0 calc(25% - 15px); /* Divide em 4 partes exatas */
    margin-right: 20px; /* Espaço entre os cartões */
    display: flex;
    flex-direction: column;
}

.room-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.room-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-slide:hover .room-img-container img {
    transform: scale(1.05);
}

.room-info h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #1B1F23;
    font-weight: 600;
    margin-bottom: 10px;
}

.room-info p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.room-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #AE7B33;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Setas posicionadas nas extremidades exatas dos 1200px */
.carousel-btn {
    position: absolute;
    top: 140px; /* Alinhado ao centro da imagem */
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #eeeeee;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #1B1F23;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #1B1F23;
    color: #ffffff;
}

.prev-btn { left: -22px; } /* Metade do botão para fora do limite esquerdo */
.next-btn { right: -22px; } /* Metade do botão para fora do limite direito */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #AE7B33;
}

/* Responsividade Adaptada */
@media (max-width: 1024px) {
    .room-slide { flex: 0 0 calc(50% - 10px); } /* 2 colunas em Tablet */
    .prev-btn { left: 10px; } /* Encosta as setas para dentro em telas menores */
    .next-btn { right: 10px; }
}

@media (max-width: 600px) {
    .room-slide { flex: 0 0 100%; margin-right: 0; } /* 1 coluna em Mobile */
    .carousel-btn { display: none; }
}


/* ==========================================================================
   SECÇÃO VIVER A HISTÓRIA (5 COLUNAS COM LINHA HORIZONTAL)
   ========================================================================== */

.history-section {
    width: 100%;
    background-color: #ffffff; /* Fundo ligeiramente cinza para alternar ritmos visuais */
    padding: 30px 0;
}

.history-inner {
    margin: 0 auto;
    padding: 0 30px;
    max-width: var(--content-width);
}

.history-header {
    text-align: center;
    margin-bottom: 60px;
}

.history-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    display: block;
    margin-bottom: 10px;
}

.history-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    letter-spacing: 0.5px;
}

/* Container relativo para prender a linha horizontal por trás */
.history-grid-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Colunas iguais */
    gap: 20px;
}

/* A Linha Horizontal que cruza os símbolos */
.history-line-timeline {
    position: absolute;
    top: 25px; /* Alinhada exatamente a meio dos círculos dos ícones */
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: #C7984C;
    z-index: 1;
}

.history-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2; /* Fica por cima da linha */
}

/* --- CONFIGURAÇÃO DOS NOVOS ÍCONES VETORIAIS (SVG) --- */

/* --- AJUSTE DE TAMANHO DO ÍCONE DA TORRE --- */

.history-icon-box {
    background-color: #ffffff; 
    padding: 0 10px;
    //margin-bottom: 35px; /* Aumentado ligeiramente para o ícone maior não colar no texto */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Expandido para alojar o ícone maior verticalmente */
}

.history-vector-icon {
    width: 170px;  /* Multiplicado o tamanho para ficar 4 vezes maior */
    height: 170px; /* Multiplicado o tamanho para ficar 4 vezes maior */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Garante que a imagem do SVG acompanha o novo tamanho gigante */
.history-svg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(61%) sepia(50%) saturate(456%) hue-rotate(357deg) brightness(88%) contrast(89%);
}

/* Reajuste fino da linha do horizonte para continuar a passar no centro do bloco */
.history-line-timeline {
    position: absolute;
    top: 60px; /* Metade dos 120px da box, mantendo o corte perfeito ao meio */
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: #C7984C;
    z-index: 1;
}

/* Força o SVG a comportar-se bem dentro do espaço */
.history-vector-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Efeito Hover nos traços dos ícones */
.history-card:hover .history-vector-icon {
    transform: translateY(-3px);
}

/* Ícone Especial para o "HOJE" (Preenchimento invertido elegante) */
.history-vector-icon.today-vector {
    background-color: #1B1F23;
    padding: 10px;
    border-radius: 8px; /* Quadrado com cantos ligeiramente arredondados, premium */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Alinhamento fino para a linha horizontal passar exatamente no centro invisível do bloco */
.history-line-timeline {
    position: absolute;
    top: 25px; 
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: #C7984C;
    z-index: 1;
}

.history-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    color: #1B1F23;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.history-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVIDADE DA LINHA DO TEMPO
   ========================================================================== */

/* Tablets / Ecrãs Médios (Quebra para 3 e 2 colunas e esconde a linha) */
@media (max-width: 1024px) {
    .history-line-timeline {
        display: none; /* Desaparece com a linha horizontal */
    }

    .history-grid-container {
        grid-template-columns: repeat(3, 1fr); /* Passa a 3 colunas no topo */
        gap: 40px;
    }
    
    /* Centraliza os dois últimos elementos em ecrãs médios se necessário, ou deixa fluir */
    .history-section {
        padding: 60px 0;
    }
}

/* Smartphones / Ecrãs Pequenos */
@media (max-width: 768px) {
    .history-grid-container {
        grid-template-columns: 1fr; /* 1 Coluna vertical total */
        gap: 50px;
    }
    
    .history-header h2 {
        font-size: 2rem;
    }

    .history-icon-box {
        margin-bottom: 15px;
        padding: 0;
    }
}

/* Garante que o SVG externo herda o tamanho correto e a cor dourada */
.history-svg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Aplica um filtro para forçar a cor exata #C7984C, caso o original seja preto */
    filter: invert(61%) sepia(50%) saturate(456%) hue-rotate(357deg) brightness(88%) contrast(89%);
}

/* ==========================================================================
   SECÇÃO A VIDA ACADÉMICA
   ========================================================================== */

.vida-section {
    width: 100%;
    background-color: #ffffff; /* Fundo branco para contrastar com o cinza anterior */
    padding: 100px 0;
}

.vida-inner {
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    /* Mesma proporção exata da coimbra-section */
    grid-template-columns: 43% 52%;
    justify-content: space-between;
    align-items: center;
}

/* Coluna da Esquerda (Texto) */
.vida-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vida-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    margin-bottom: 10px;
}

.vida-left h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    line-height: 1.2;
}

.vida-divider {
    width: 60px;
    height: 2px;
    background-color: #AE7B33;
    margin: 25px 0;
}

.vida-left p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 35px;
}

/* Botão Ver Mais */
.btn-vida {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 4px;
    background-color: #1B1F23;
    color: #ffffff;
    border: 1px solid #1B1F23;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-vida:hover {
    background-color: #AE7B33;
    border-color: #AE7B33;
}

/* Coluna da Direita (Grelha de 6 Imagens Replicada) */
.vida-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.vida-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.vida-grid img:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   RESPONSIVIDADE (IDÊNTICA À COIMBRA-SECTION)
   ========================================================================== */

@media (max-width: 1024px) {
    .vida-section {
        padding: 60px 0;
    }
    
    .vida-inner {
        grid-template-columns: 1fr; /* Quebra para coluna única vertical */
        gap: 50px;
    }

    .vida-left {
        text-align: center;
        align-items: center; /* Centra textos e botão em tablets */
    }

    .vida-divider {
        margin: 20px auto;
    }
    
    .vida-grid img {
        height: 150px;
    }
}

@media (max-width: 600px) {
    .vida-left h2 {
        font-size: 2rem;
    }
    
    .btn-vida {
        width: 100%;
        text-align: center;
    }

    .vida-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas de fotos em Mobile */
    }
}

/* ==========================================================================
   SECÇÃO DE DEPOIMENTOS (TESTIMONIALS)
   ========================================================================== */

.testimonials-section {
    width: 100%;
    background-color: #fafafa; /* Fundo cinza suave alternado */
    padding: 100px 0;
}

.testimonials-inner {
    margin: 0 auto;
    padding: 0 30px;
    max-width: var(--content-width);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    letter-spacing: 0.5px;
}

/* Grelha de 3 Colunas */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background-color: #ffffff; /* Caixa branca para destacar do fundo cinza */
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empurra o autor sempre para o fundo, alinhando as caixas */
    align-items: center;
    text-align: center;
}

/* Símbolo da Aspa Grande */
.quote-icon {
    font-size: 32px;
    color: #C7984C; /* Tom dourado */
    margin-bottom: 20px;
}

.quote-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
}

/* Bloco do Autor (Avatar + Nome) */
testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center; /* Garante que os filhos alinham estritamente pelo centro */
    justify-content: center;
    gap: 12px;
    width: 100%;       /* Ocupa a largura da caixa */
}

/* Blindagem Definitiva do Avatar */
.avatar {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important; /* Retira qualquer comportamento inline que mude o tamanho */
    margin: 0 auto !important; /* Força a centralização absoluta */
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #1B1F23;
}

/* ==========================================================================
   RESPONSIVIDADE DOS DEPOIMENTOS
   ========================================================================== */

/* Tablets / Ecrãs Médios */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* Passa a 2 colunas */
        gap: 30px;
    }
}

/* Smartphones / Ecrãs Pequenos */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr; /* 1 Coluna vertical total */
        gap: 30px;
    }

    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   SECÇÃO LOGIN (2 COLUNAS RESPONSIVA)
   ========================================================================== */

.login-section {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #eaeaea; /* Separação suave da secção anterior */
}

.login-inner {
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 43% 52%;
    justify-content: space-between;
    align-items: stretch;
	/* align-items: center; */
}

/* Coluna Esquerda: Form */
.login-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    margin-bottom: 10px;
}

.login-left h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    line-height: 1.2;
}

.login-divider {
    width: 60px;
    height: 2px;
    background-color: #AE7B33;
    margin: 25px 0 35px 0;
}

/* Formulário Minimalista */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1B1F23;
}

.form-group input {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #fafafa;
    color: #1B1F23;
    transition: border-color 0.3s, background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #AE7B33;
    background-color: #ffffff;
}

/* Opções extra (Lembrar-me e Esqueci-me) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-top: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #555555;
}

.remember-me input {
    cursor: pointer;
    accent-color: #AE7B33; /* Cor dourada no checkbox */
}

.forgot-password {
    color: #AE7B33;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #1B1F23;
    text-decoration: underline;
}

/* Botão Entrar */
.btn-login {
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px;
    border-radius: 4px;
    background-color: #1B1F23;
    color: #ffffff;
    border: 1px solid #1B1F23;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    margin-top: 15px;
    text-align: center;
}

.btn-login:hover {
    background-color: #AE7B33;
    border-color: #AE7B33;
}

/* Coluna Direita: Imagens (3 por linha) */
/*
.login-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.login-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.login-grid img:hover {
    transform: scale(1.03);
}

*/

/* --- ALTERNATIVA: UMA ÚNICA IMAGEM GRANDE À DIREITA --- */

.login-single-image-box {
    width: 100%;
    height: 100%;
    /* Define uma altura mínima para garantir que a imagem tem impacto em desktop, 
       ajustando-se confortavelmente ao lado da altura do formulário */
    min-height: 450px; 
    display: flex;
}


.login-single-image-box {
    width: 100%;
    height: 100%;
    min-height: 450px; 
    display: flex;
    
    /* --- ALTERAÇÕES AQUI --- */
    background-color: #f5f5f5; /* Cor de fundo ligeira (cinza suave) */
    /*padding: 15px;             /* Espaço interno para criar o efeito de moldura */
    border-radius: 4px;        /* Arredonda também os cantos do fundo */
    box-sizing: border-box;    /* Garante que o padding não deforma o tamanho total */
}



.login-single-img {
    width: 100%;
    height: 100%;
    /*min-height: 450px;*/
    object-fit: cover; /* Corta e enquadra a foto perfeitamente sem a distorcer */
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}



/* ==========================================================================
   AJUSTE DE RESPONSIVIDADE PARA IMAGEM ÚNICA
   ========================================================================== */

@media (max-width: 1024px) {
    .login-single-image-box,
    .login-single-img {
        min-height: 350px; /* Reduz ligeiramente a altura em tablets para não alongar a página verticalmente */
    }
}

@media (max-width: 600px) {
    .login-single-image-box,
    .login-single-img {
        min-height: 250px; /* Altura ideal de destaque para ecrãs de smartphones */
    }
}

/* ==========================================================================
   RESPONSIVIDADE DA SECÇÃO DE LOGIN
   ========================================================================== */

@media (max-width: 1024px) {
    .login-section {
        padding: 60px 0;
    }
    
    .login-inner {
        grid-template-columns: 1fr; /* Transição para coluna única vertical */
        gap: 50px;
    }

    .login-left {
        text-align: center;
        align-items: center;
    }

    .login-divider {
        margin: 20px auto 35px auto;
    }

    .login-form {
        max-width: 480px; /* Evita que o formulário estique demasiado em tablets */
        margin: 0 auto;
        text-align: left;
    }
    
    .login-grid img {
        height: 140px;
    }
}

@media (max-width: 600px) {
    .login-left h2 {
        font-size: 2rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .login-grid {
        grid-template-columns: repeat(2, 1fr); /* Passa a 2 colunas de fotos em Mobile para não esmagar */
    }
}

/* Container para colocar os botões lado a lado */
.form-buttons-group {
    display: flex;
    gap: 15px;         /* Espaço de separação entre os dois botões */
    width: 100%;
    margin-top: 15px;
}

/* Base comum para ambos os botões (garante tamanhos idênticos) */
.form-buttons-group .btn {
    flex: 1;           /* Força cada botão a ocupar exatamente 50% da largura */
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

/* Botão Entrar (Mantém o estilo escuro que já tinha) */
.btn-login {
    background-color: #1B1F23;
    color: #ffffff;
    border: 1px solid #1B1F23;
}

.btn-login:hover {
    background-color: #AE7B33;
    border-color: #AE7B33;
}

/* Botão Voltar (Estilo clean/outline em harmonia com o design) */
.btn-back {
    background-color: transparent;
    color: #1B1F23;
    border: 1px solid #1B1F23;
}

.btn-back:hover {
    background-color: #f5f5f5; /* Leve feedback visual ao passar o rato */
    border-color: #AE7B33;
    color: #AE7B33;
}

/* Ajuste para ecrãs muito pequenos (opcional: empilhar botões se o espaço apertar) */
@media (max-width: 400px) {
    .form-buttons-group {
        flex-direction: column-reverse; /* Voltar fica por baixo do Entrar em mobile muito pequeno */
        gap: 10px;
    }
}

/* ==========================================================================
   SECÇÃO DE RESERVAS E CALENDÁRIO
   ========================================================================== */

.booking-section {
    width: 100%;
    background-color: #fafafa;
    padding: 100px 0;
    border-top: 1px solid #eaeaea;
}

.booking-inner {
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 42% 52%;
    justify-content: space-between;
    align-items: flex-start;
}

.booking-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.booking-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    margin-bottom: 10px;
}

.booking-left h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    line-height: 1.2;
}

.booking-divider {
    width: 60px;
    height: 2px;
    background-color: #AE7B33;
    margin: 25px 0 20px 0;
}

.booking-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Painel de Datas Selecionadas */
.booking-dates-display {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
}

.date-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.date-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #AE7B33;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.date-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1B1F23;
}

.date-arrow {
    padding: 0 15px;
    color: #AE7B33;
    font-size: 16px;
}

/* Formulário de Reserva */
.booking-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-booking {
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 15px;
    border-radius: 4px;
    background-color: #1B1F23;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-booking:hover:not(:disabled) {
    background-color: #AE7B33;
}

.btn-booking:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* --- DESIGN DO CALENDÁRIO --- */
.calendar-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #1B1F23;
    margin: 0;
}

.calendar-nav-btn {
    background: none;
    border: 1px solid #e0e0e0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1B1F23;
    transition: all 0.3s;
}

.calendar-nav-btn:hover {
    border-color: #AE7B33;
    color: #AE7B33;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #888888;
    margin-bottom: 15px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* Elemento Dia */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1B1F23;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}

/* Dias vazios para preenchimento de início de mês */
.calendar-day.empty {
    cursor: default;
    background: none !important;
}

/* Dias que já passaram (Bloqueados) */
.calendar-day.past {
    color: #cccccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Dias Bloqueados por outras reservas (Vindos da BD) */
.calendar-day.booked {
    background-color: #e2e2e2;
    color: #888888;
    cursor: not-allowed;
    font-weight: normal;
    text-decoration: line-through;
}

.calendar-day.booked::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #888888;
    border-radius: 50%;
    bottom: 4px;
}

/* Hover nos dias válidos */
.calendar-day:not(.empty):not(.past):not(.booked):hover {
    background-color: #f0f0f0;
}

/* Seleção de Check-in e Check-out (Dourado de Destaque) */
.calendar-day.selected {
    background-color: #AE7B33 !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* Intervalo selecionado entre Check-in e Check-out */
.calendar-day.range {
    background-color: #fcf4e8 !important;
    color: #AE7B33 !important;
    border-radius: 0;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 1024px) {
    .booking-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .booking-left {
        align-items: center;
        text-align: center;
    }
    .booking-divider {
        margin: 20px auto;
    }
    .booking-form {
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }
}

/* ==========================================================================
   BARRA ULTRA-FINA DE LOGOUT
   ========================================================================== */

.logout-bar-section {
    width: 100%;
    background-color: #fafafa; /* Fundo limpo */
    border-bottom: 1px solid #eaeaea; /* Linha divisória subtil */
    padding: 8px 0; /* Garante que a barra fica super fina */
}

.logout-bar-inner {
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: flex-end; /* Encosta o conteúdo totalmente à direita */
    align-items: center;
}
.btn-logout-exit {
    background: none;
    border: none;
    padding: 8px;
    color: #1B1F23; /* Preto do projeto */
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Espaço perfeito entre a palavra SAIR e o ícone */
    
    /* Tipografia alinhada com as restantes frases do site */
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Mantém o ícone com o tamanho certo */
.btn-logout-exit i {
    font-size: 1.1rem;
}

/* Efeito hover (muda para dourado e desliza ligeiramente) */
.btn-logout-exit:hover {
    color: #AE7B33; 
    transform: translateX(3px); 
}

/* ==========================================================================
   SECÇÃO ÁREA DE CLIENTE (COLUNA ÚNICA)
   ========================================================================== */

.dashboard-section {
    width: 100%;
    background-color: #ffffff;
    padding: 90px 0;
    /* border-bottom: 1px solid #eaeaea;*/
}

.dashboard-inner {
    margin: 0 auto;
    padding: 0 30px;
    max-width: 800px; /* Limita a largura para a leitura ficar confortável em ecrãs grandes */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Tipografia e Alinhamentos */
.dashboard-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    display: block;
    margin-bottom: 12px;
}

.dashboard-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 500;
    color: #1B1F23;
    line-height: 1.2;
    margin: 0;
}

.dashboard-divider {
    width: 60px;
    height: 2px;
    background-color: #AE7B33;
    margin: 25px auto;
}

.dashboard-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1B1F23;
    margin-bottom: 40px;
}

/* Grelha de Botões */
.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Estilo Base dos Botões (Dados Pessoais e Senha) */
.btn-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 20px;
    background-color: transparent;
    color: #1B1F23;
    border: 1px solid #1B1F23;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dashboard:hover {
    background-color: #f9f9f9;
    border-color: #AE7B33;
    color: #AE7B33;
}

/* Estilo do Botão Principal (Ver Quartos) com destaque Escuro */
.btn-dashboardHighlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 20px;
    background-color: #1B1F23;
    color: #ffffff;
    border: 1px solid #1B1F23;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dashboardHighlight:hover {
    background-color: #AE7B33;
    border-color: #AE7B33;
}

/* ==========================================================================
   RESPONSIVIDADE ÁREA DE CLIENTE
   ========================================================================== */

@media (max-width: 768px) {
    .dashboard-section {
        padding: 60px 0;
    }

    .dashboard-header h2 {
        font-size: 2.1rem;
    }

    /* Em tablets, os botões empilham-se verticalmente para manter o espaço de toque confortável */
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 320px; /* Evita que os botões fiquem excessivamente largos */
    }
}

/* Zona de exibição das reservas (vazia ou com mensagem) */
.dashboard-reservations-box {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 50px auto; /* Afasta 50px dos botões de baixo */
    padding: 20px;
    border-radius: 4px;
    background-color: #fbfbfb; /* Um fundo quase impercetível para enquadrar o aviso */
    border: 1px dashed #e0e0e0; /* Linha tracejada elegante para indicar área de conteúdo */
}

.no-reservations-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #777777; /* Cinza intermédio para mensagens informativas */
    margin: 0;
}

/* ==========================================================================
   SECÇÃO HERO COIMBRA (IMAGEM DE FUNDO + CARD SOBREPOSTO À ESQUERDA)
   ========================================================================== */


.hero-coimbra-section {
    width: 100%;
    min-height: 580px;
    background-image: url('../img/CoimbraA.png');
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
    box-sizing: border-box;
}

.hero-coimbra-inner {
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Força o alinhamento do card à esquerda */
}

/* Card Transparente / Semitransparente com Texto */
.hero-coimbra-card {
    /*background-color: rgba(255, 255, 255, 0.92); /* Fundo branco suave para garantir excelente leitura */
    padding: 45px 40px;
    max-width: 480px;
    width: 100%;
    border-radius: 4px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    box-sizing: border-box;
}

.hero-coimbra-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #AE7B33; /* Dourado habitual */
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-coimbra-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: #1B1F23;
    line-height: 1.25;
    margin: 0;
    text-transform: uppercase;
}

.hero-coimbra-divider {
    width: 50px;
    height: 2px;
    background-color: #AE7B33;
    margin: 22px 0;
}

.hero-coimbra-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVIDADE DA SECÇÃO HERO COIMBRA
   ========================================================================== */

@media (max-width: 992px) {
    .hero-coimbra-section {
        min-height: 480px;
        padding: 60px 0;
    }

    .hero-coimbra-card {
        max-width: 420px;
        padding: 35px 30px;
    }

    .hero-coimbra-card h2 {
        font-size: 2rem;
    }
}

/*
@media (max-width: 768px) {
    .hero-coimbra-inner {
        justify-content: center; 
    }

    .hero-coimbra-card {
        max-width: 100%;
        text-align: center;
    }

    .hero-coimbra-divider {
        margin: 20px auto; 
    }
}
*/

/* ==========================================================================
   SEGUNDA SECÇÃO OS NOSSOS QUARTOS (CÓDIGO DUPLICADO E SEPARADO)
   ========================================================================== */

.rooms-section-second {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0;
}

.rooms-second-inner {
    margin: 0 auto !important;
    padding: 0 30px !important;
    max-width: var(--content-width) !important;
}

.rooms-second-header {
    text-align: left;
    margin-bottom: 50px;
}

.rooms-second-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    display: block;
    margin-bottom: 10px;
}

.rooms-second-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
}

.carousel-container-second {
    position: relative;
    width: 100%;
}

.carousel-window-second {
    width: 100%;
    overflow: hidden;
}

.carousel-track-second {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.room-slide-second {
    flex: 0 0 calc(25% - 15px);
    margin-right: 20px;
    display: flex;
    flex-direction: column;
}

.room-img-container-second {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.room-img-container-second img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-slide-second:hover .room-img-container-second img {
    transform: scale(1.05);
}

.room-info-second h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #1B1F23;
    font-weight: 600;
    margin-bottom: 10px;
}

.room-info-second p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.room-link-second {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #AE7B33;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.carousel-btn-second {
    position: absolute;
    top: 140px;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #eeeeee;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #1B1F23;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn-second:hover {
    background-color: #1B1F23;
    color: #ffffff;
}

.prev-btn-second { left: -22px; }
.next-btn-second { right: -22px; }

.carousel-dots-second {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot-second {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot-second.active {
    background-color: #AE7B33;
}

@media (max-width: 1024px) {
    .room-slide-second { flex: 0 0 calc(50% - 10px); }
    .prev-btn-second { left: 10px; }
    .next-btn-second { right: 10px; }
}

@media (max-width: 600px) {
    .room-slide-second { flex: 0 0 100%; margin-right: 0; }
    .carousel-btn-second { display: none; }
}


/* ==========================================================================
   SECÇÃO SOBRE NÓS (ALINHADA COM ROOMS / COIMBRA SECTION)
   ========================================================================== */

.about-section {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0;
}

.about-inner {
    margin: 0 auto !important;
    padding: 0 30px !important;
    max-width: var(--content-width) !important;
}

.about-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    margin: 0;
}

.about-content {
    max-width: 800px; /* Limita a largura para garantir uma leitura confortável */
}

.about-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444;
    margin: 0;
	align: justify;
}

.about-content strong {
    color: #1B1F23;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}


/* ==========================================================================
   SECÇÃO CONTACTOS & MAPA (ALINHADAS COM ABOUT-SECTION)
   ========================================================================== */

.contacts-section {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 0 40px 0;
}

.contacts-inner {
    margin: 0 auto !important;
    padding: 0 30px !important;
    max-width: var(--content-width) !important;
}

.contacts-header {
    text-align: left;
    margin-bottom: 30px;
}

.contacts-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AE7B33;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contacts-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: #1B1F23;
    margin: 0;
}

/* Lista de Contactos */
.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: #AE7B33;
    font-size: 1.2rem;
    margin-top: 4px; /* Alinha visualmente com a primeira linha de texto */
    width: 20px;
    text-align: center;
}

.contact-text p,
.contact-text a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444444;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #AE7B33;
}

/* Secção Mapa Google Centralizado */
.map-section {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 80px;
}

.map-inner {
    margin: 0 auto !important;
    padding: 0 30px !important;
    max-width: var(--content-width) !important;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .contacts-section {
        padding: 60px 0 30px 0;
    }
    
    .contacts-header h2 {
        font-size: 2rem;
    }

    .map-wrapper {
        height: 300px; /* Reduz ligeiramente a altura em mobile para melhor navegação */
    }
}

/* ==========================================================================
   SECÇÃO FEATURES (6 COLUNAS CENTRADAS, 2 EM TELEMÓVEIS)
   ========================================================================== */

.features-section {
    width: 100%;
    background-color: #ffffff;
    padding: 30px 0;
}

.features-inner {
    margin: 0 auto;
    padding: 0 30px;
    max-width: var(--content-width);
}

.features-grid-container {
    display: grid;
    grid-template-columns: repeat(5, max-content); /* <--- AQUI: 5 colunas com ajuste ao conteúdo */
    gap: 30px;
    justify-content: center;
    align-items: start;
}

.features-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-icon-box {
    background-color: #ffffff; 
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.features-vector-icon {
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.features-svg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(61%) sepia(50%) saturate(456%) hue-rotate(357deg) brightness(88%) contrast(89%);
}

.features-vector-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.features-card:hover .features-vector-icon {
    transform: translateY(-3px);
}

.features-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    color: #1B1F23;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.features-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
	width: 100%; /* <--- ADICIONA ESTA LINHA */
}

/* Responsividade */
@media (max-width: 1100px) {
    .features-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .features-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .features-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Colunas lado a lado em telemóveis */
        gap: 30px 15px;
    }

    .features-icon-box {
        margin-bottom: 15px;
        padding: 0;
    }

    .features-vector-icon {
        width: 130px;
        height: 130px;

    }

    .features-card h3 {
        font-size: 1.15rem;
    }
}







/* ==========================================================================
   SECÇÃO FEATURES - ALINHAMENTO ABSOLUTO AO CENTRO
   ========================================================================== */

.features-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.features-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente o conteúdo do card */
    justify-content: flex-start;
    text-align: center;  /* Centra os textos <h3> e <p> */
    width: 100%;
}

.features-icon-box {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;     /* Centra o ícone verticalmente */
    justify-content: center;  /* Centra o ícone horizontalmente */
    margin-bottom: 15px;
}

.features-vector-icon {
    width: 100%;
    max-width: 120px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-svg-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto !important; /* Anula qualquer margem antiga */
}

/* Responsividade: 2 por linha em telemóveis */
@media (max-width: 768px) {
    .features-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}