@charset "utf-8";
/* CSS Document */

:root {
  --bg: #f9f7f0;
  --laranja: #f98513;
  --azul-escuro: #111141;
  --azul-claro: #223382;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FRAME iPHONE 17 */
body {
  background: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Aktiv Grotesk Hairline", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
}

.app-frame {
  width: 402px;
  height: 874px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
  border-radius: 24px;
}

/* LOGO */
.top-header {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* aplica-se agora ao <a class="logo"> */
.logo {
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;   
}

/* imagem dentro do link */
.logo img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* BARRA LARANJA */
.top-bar {
  position: relative;
  background: var(--laranja);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.top-title {
  margin-left: auto;
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 14px;
  color: #ffffff;
  text-align: right;
}

/* HAMBÚRGUER */
.menu-toggle {
  width: 36px;
  height: 28px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--bg);
}

/* MENU COM SUBMENU ROTAS */
.main-menu {
  position: absolute;
  top: 60px;
  left: 0;
  display: none;
  width: 75%;
  background: transparent;
  padding: 0;
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
}

.menu-col-esq {
  width: 40%;
  background: rgba(34, 51, 130, 0.7);
  padding: 10px 0;
}

.menu-col-esq ul {
  list-style: none;
}

.menu-col-esq li {
  padding: 6px 12px;
}

.menu-col-esq a {
  text-decoration: none;
  color: #000000;
  font-size: 14px;
}

/* Submenu Rotas */
.menu-col-dir {
  width: 60%;
  background: rgba(158, 168, 210, 0.85);
  padding: 10px 12px;
  border-radius: 0 16px 16px 0;
  display: none;
}

.menu-col-dir.open {
  display: block;
}

.menu-col-dir h3 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #000000;
}

.menu-col-dir ul {
  list-style: none;
}

.menu-col-dir li {
  padding: 4px 0;
}

.menu-col-dir a {
  text-decoration: none;
  color: #000000;
  font-size: 13px;
}

/* CONTEÚDO COM SCROLL */
.content {
  padding: 8px 16px 60px;
  overflow-y: auto;
  height: calc(874px - 60px - 60px - 40px);
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 9px;
  color: #666666;
  margin-bottom: 8px;
}

/* TÍTULO PÁGINA */
.sec-titulo h1 {
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 18px;
  color: var(--azul-escuro);
  margin-bottom: 8px;
}

/* TEXTO + MAPA (PRIMEIRA PARTE) */
.sec-texto-mapa h2 {
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 16px;
  color: var(--azul-escuro);
  margin-bottom: 6px;
}

.mapa-grande {
  background: #d9d9d9;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mapa-grande span {
  font-size: 9px;
  color: #999999;
}

/* FREGUESIAS + CARROSSEL */
.sec-freguesias {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.col-lista {
  flex: 1.1;
}

.col-lista h3 {
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 14px;
  margin-bottom: 4px;
}

.linha-freguesia {
  width: 100%;
  border: none;
  background: #d0d0d0;
  height: 18px;
  margin-bottom: 4px;
  text-align: left;
  padding: 0 6px;
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 11px;
  cursor: pointer;
}

.col-carrossel {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.box-carrossel {
  width: 100%;
  height: 150px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-carrossel span {
  font-size: 10px;
  color: #999999;
  text-align: center;
}

/* TEXTO LONGO ENTRE PARTES */
.sec-texto-long h2 {
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 16px;
  color: var(--azul-escuro);
  margin-bottom: 4px;
}

.sec-texto-long p {
  font-size: 11px;
  line-height: 1.4;
  color: #444444;
  text-align: justify;
  margin-bottom: 14px;
}

/* SEGUNDA PARTE: ANIMAÇÃO + TEXTO */
.sec-texto-animacao h2 {
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 16px;
  color: var(--azul-escuro);
  margin-bottom: 6px;
}

.animacao-topo {
  background: #d9d9d9;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.animacao-topo span {
  font-size: 10px;
  color: #999999;
}

.sec-texto-animacao p {
  font-size: 11px;
  line-height: 1.4;
  color: #444444;
  text-align: justify;
  margin-bottom: 12px;
}

/* 4 IMAGENS 2x2 */
.sec-quatro-imagens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px
}

.aldeia-img {
  height: 110px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
	  background: transparent;     
  border: none;
  padding: 0;                   
  overflow: hidden;    
	width: 100%;
  object-fit: cover;
  display: block;   
}


.aldeia-img span {
  font-size: 10px;
  color: #999999;
}

/* TEXTO FINAL */
.sec-texto-final h2 {
  font-family: "Clover Condensed", "Barlow Condensed", sans-serif;
  font-size: 16px;
  color: var(--azul-escuro);
  margin-bottom: 4px;
}

.sec-texto-final p {
  font-size: 11px;
  line-height: 1.4;
  color: #444444;
  text-align: justify;
}

/* NAV INFERIOR */
.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: var(--laranja);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-btn {
  width: 40px;                 
  height: 40px;
  border-radius: 10px;
  border: none;               
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;                 
}

/* ícone PNG */
.nav-btn img {
  width: 25px;                 
  height: 25px;
  object-fit: contain;        
  display: block;
}