/* ============================================================
   1. RESET + BASE
   ============================================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.55;
}


/* ============================================================
   TIPOGRAFIA BELLEVIEW — Premium
   ============================================================ */

/* Títulos globais */
h1, h2, h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #003d66;
    margin: 0 0 12px 0;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.35rem;
}

/* Parágrafos */
p {
    font-size: 1.05rem;
    color: #444;
}

/* Labels */
small, label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

/* ============================================================
   3. HERO
   ============================================================ */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 40px;
    align-items: center;
    background-image: url("../img/hero/hero1.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 0;
}

.hero-texto,
.booking-card {
    position: relative;
    z-index: 1;
}

/* Tipografia específica do HERO (override do global) */
.hero-local {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #f8f8f8;
    opacity: 0.95;
    margin-bottom: 6px;
}

.hero-texto h1 {
    color: #ffffff;
    font-size: 2.8rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.hero_sub {
    font-size: 1.2rem;
    color: #f2f2f2;
    line-height: 1.45;
    max-width: 480px;
    opacity: 0.95;
}

/* ============================================================
   2. HEADER
   ============================================================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #005c99;
    letter-spacing: 0.03em;
}

.logo span {
    color: #005c99 !important;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}


header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #005c99;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 6px 12px;
    position: relative;
    transition: all 0.25s ease-in-out;
    letter-spacing: 0.02em;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #005c99;
    transition: width 0.25s ease-in-out;
    border-radius: 2px;
}

header nav a:hover::after {
    width: 100%;
}

header nav a:hover {
    transform: translateY(-2px);
}

/* Bandeiras */
.lang-switch {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.lang-switch img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lang-switch img:hover {
    transform: scale(1.12);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* ============================================================
   4. BOOKING CARD
   ============================================================ */

.booking-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 280px;
}

.booking-card h2 {
    font-size: 1.2rem;
    color: #005c99;
}

.booking-card label {
    font-size: 0.85rem;
    color: #003d66;
}

.booking-card input,
.booking-card select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    font-size: 0.95rem;
    color: #005c99;
}

.booking-card button {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: #005c99;
    color: #fff;
    font-weight: 600;
}

/* DISPLAY DISPONIBILIDADE */
#resultadoDisponibilidade {
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
    background: #eef6fb;
    border: 1px solid #cfe4f2;
    color: #005c99;
    display: none;
}

#resultadoDisponibilidade.disponivel::before {
    content: "✔ ";
    color: #2ecc71;
    font-weight: 700;
}

#resultadoDisponibilidade.indisponivel::before {
    content: "✖ ";
    color: #e74c3c;
    font-weight: 700;
}

/* ============================================================
   5. APARTAMENTOS
   ============================================================ */
.apartamento-bloco {
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d0d7de;
    background: #f9fafb;
}

.apartamento-bloco h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #005c99;
    font-weight: 600;
}

/* ============================================================
   6. CONTADORES
   ============================================================ */
.contador {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0 12px;
}

.contador label {
    font-size: 0.9rem;
    color: #005c99;
    width: 120px;
}

.contador button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #005c99;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contador span {
    font-size: 1rem;
    font-weight: 600;
    width: 28px;
    text-align: center;
    color: #005c99;
}

/* ============================================================
   7. CARD DE DISPONIBILIDADE (PREMIUM)
   ============================================================ */
#resultadoDisponibilidade {
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
    background: #eef6fb;
    border: 1px solid #cfe4f2;
    width: 100%;
    color: #005c99;
    display: none;
}

/* ✔ Disponível */
#resultadoDisponibilidade.disponivel::before {
    content: "✔ ";
    color: #2ecc71;
    font-weight: 700;
}

/* ✖ Indisponível */
#resultadoDisponibilidade.indisponivel::before {
    content: "✖ ";
    color: #e74c3c;
    font-weight: 700;
}

/* ============================================================
   8. SECÇÕES
   ============================================================ */
.secao {
    padding: 50px 40px;
    margin-top: 0; /* transição suave entre hero e alojamento */
    background: transparent;
}



.secao h2 {
    font-family: "Poppins", sans-serif;
    margin-bottom: 12px;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
footer {
    padding: 24px 40px;
    background: #123;
    color: #f7f7f7;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* ============================================================
   10. MOBILE
   ============================================================ */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        text-align: center;
        gap: 24px;
        min-height: 70vh;
    }

    .hero-texto h1 {
        font-size: 1.8rem;
    }

    .hero-texto p {
        font-size: 1rem;
    }

    .booking-card {
        max-width: 330px;
        margin: 0 auto;
        padding: 18px;
    }

    .secao {
        padding: 30px 20px;
        text-align: center;
    }

    footer {
        padding: 20px;
        text-align: center;
    }
}

.booking-card label {
    color: #003d66;
}

.booking-card select {
    background-color: #ffffff;
}

#extraCampos {
    display: none;
}

/* ============================================================
   ALOJAMENTO — BOOKING PREMIUM + AZUL PRAIA BELLEVIEW
   ============================================================ */

#alojamento {
    background: #f5f7fa; /* fundo cinza suave */
    padding: 80px 40px;
    border-radius: 0 0 20px 20px;
}

/* Título principal da secção */
#alojamento h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #005c99; /* azul sistema */
    margin-bottom: 20px;
}

/* Subtítulo introdutório (texto logo abaixo de "Os Alojamentos") */
#alojamento .subtitulo {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
}

/* Galeria */
#alojamento .galeria {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

#alojamento .galeria img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

/* Grelha 2 colunas */
#alojamento .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Cartões gerais da grelha */
#alojamento .card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
}

/* Títulos dos cartões da grelha */
#alojamento .card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #005c99;
    margin-bottom: 18px;
}

/* Listas */
#alojamento ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#alojamento ul li {
    padding: 8px 0;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ícones das listas */
#alojamento ul li::before {
    content: "•";
    color: #005c99;
    font-size: 1.4rem;
    line-height: 0;
}

/* FAQ */
#alojamento .faq p {
    background: #eef6fb;
    border: 1px solid #cfe4f2;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Regras */
#alojamento .regras ul li {
    background: #fff8e6;
    border: 1px solid #ffe2a8;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Responsivo Alojamento */
@media (max-width: 900px) {
    #alojamento .grid-2 {
        grid-template-columns: 1fr;
    }

    #alojamento .galeria {
        grid-template-columns: 1fr;
    }

    #alojamento .galeria img {
        height: 200px;
    }
}

/* ============================================================
   COMODIDADES — ÍCONES OUTLINE BOLD (ESTILO BOOKING)
   ============================================================ */

.comodidades-booking {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 50px 0;
}

.cb-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cb-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

.cb-icon {
    width: 40px;
    height: 40px;
    stroke: #005c99;
    stroke-width: 2.8; /* ⭐ BOLD OUTLINE */
    fill: none;
    margin-bottom: 12px;
}

.cb-item span {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #005c99; /* ✔ agora está igual ao sistema */
}

/* Responsivo Comodidades */
@media (max-width: 900px) {
    .comodidades-booking {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .comodidades-booking {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   INTRO E DESCRIÇÃO — CARDS FULL-WIDTH
   ============================================================ */

.intro-alojamento,
.descricao-alojamento {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #e6e6e6;
    margin-bottom: 40px;
}

/* Títulos dos cards (O Apartamento, Composição, etc.) */
.descricao-alojamento h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #005c99; /* azul sistema */
    margin-bottom: 15px;
}

/* Texto dos cards intro + descrição */
.intro-alojamento .subtitulo,
.descricao-alojamento p {
    width: 100%;                
    text-align: justify;        
    text-justify: inter-word;   
    hyphens: auto;              
    line-height: 1.6;           
    font-size: 1.2rem;          /* tamanho unificado */
    color: #444;
    margin-bottom: 16px;        
}

/* ============================================================
   GRELLHA DE COMPOSIÇÃO (CARDS PEQUENOS)
   ============================================================ */

.composicao-grid {
    margin-top: 20px;
}

/* Cards pequenos — versão branca (herdada de .cb-item) */
.composicao-grid .cb-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #003d66;
}

/* ============================================================
   VERSÃO AZUL — CARDS DE COMPOSIÇÃO (FUNDO AZUL + TEXTO BRANCO)
   ============================================================ */

.composicao-grid .cb-item.azul {
    background: #005c99; /* azul sistema */
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.composicao-grid .cb-item.azul span {
    color: #ffffff; /* texto branco */
    font-size: 1.05rem;
    font-weight: 600;
}

/* ============================================================
   FOOTER BELLEVIEW — PREMIUM
   ============================================================ */

footer {
    background: #005c99; /* azul sistema */
    padding: 40px 40px;
    color: #ffffff; /* texto branco */
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-top: 60px;
    font-family: "Poppins", sans-serif;
}

.footer-content p,
.footer-content a {
    color: #ffffff !important; /* força texto branco */
}

.footer-content p {
    margin: 6px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.reclamacoes-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    text-decoration: underline;
    color: #ffffff !important; /* link branco */
    transition: opacity 0.2s ease;
}

.reclamacoes-link:hover {
    opacity: 0.75;
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ============================================================
   CARDS FULL-WIDTH — ESTILO PREMIUM BELLEVIEW
   ============================================================ */

.descricao-alojamento {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #e6e6e6;
    margin-bottom: 40px;
}

/* Títulos dos cards */
.descricao-alojamento h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #005c99; /* azul sistema */
    margin-bottom: 15px;
}

/* Texto dos cards */
.descricao-alojamento p {
    width: 100%;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin-bottom: 16px;
}

/* Destaque das perguntas */
.descricao-alojamento p strong {
    color: #005c99;
    font-weight: 700;
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Subtítulo das categorias */
.subtitulo-categoria {
    font-size: 1.3rem;
    font-weight: 700;
    color: #005c99;
    margin: 25px 0 10px;
}

/* Grelha responsiva */
.proximidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

/* Card azul sistema */
.cb-item.azul {
    background: #005c99;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Texto branco */
.cb-item.azul span,
.cb-item.azul small {
    color: #ffffff;
    font-weight: 600;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* remove o sublinhado */
    color: inherit;        /* mantém a cor original */
}

/* ============================================================
   COOKIE — ESTILO PREMIUM BELLEVIEW
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  display: none;
  z-index: 9999;
  animation: slideUp 0.4s ease-out;
  font-family: 'Arial', sans-serif;
}

.cookie-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cookie-text {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.cookie-btn.accept {
  background: #0057b8; /* Azul Belleview */
  color: white;
}

.cookie-btn.reject {
  background: #e0e0e0;
  color: #333;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
