/* ==========================================================================
   Água na Boca — folha de estilo base (compartilhada por todas as páginas)
   Réplica em HTML/CSS puro do site WordPress/Elementor aguanabocaberlin.de
   Paleta e tipografia extraídas do kit do Elementor (post 623).
   ========================================================================== */

:root {
  --verde:        #93C178;  /* Elementor custom 0097f28 — hover/ativo, destaques */
  --verde-rodape: #98B88B;  /* fundo do rodapé (aplicado a 90% de opacidade)     */
  --cinza-menu:   #54595F;  /* Elementor system "secondary" — itens do menu      */
  --texto:        #7A7A7A;  /* Elementor system "text"                           */
  --branco:       #FFFFFF;
  --sombra-header: 0 2px 10px rgba(0, 0, 0, .12);
  --largura-max:  1400px;
  --altura-header: 92px;
}

/* ---------- reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-stretch: condensed;
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a   { color: inherit; text-decoration: none; }

/* Acessibilidade: link de pular para o conteúdo */
.pular-para-conteudo {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--verde); color: #fff; padding: .75rem 1.25rem;
}
.pular-para-conteudo:focus { left: 0; }

/* ==========================================================================
   CABEÇALHO
   ========================================================================== */
.cabecalho {
  position: sticky; top: 0; z-index: 100;
  background: var(--branco);
  box-shadow: var(--sombra-header);
}

.cabecalho__interno {
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--altura-header);
}

.cabecalho__logo { flex: 0 0 auto; }
.cabecalho__logo img { width: 190px; }

/* ---------- navegação ---------- */
.nav { margin-left: auto; }

.nav__lista {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 1.9rem;
}

.nav__link {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--cinza-menu);
  padding: .4rem 0;
  transition: color .18s ease;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__item--ativo > .nav__link { color: var(--verde); }

/* submenu */
.nav__item { position: relative; }

.nav__submenu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; top: 100%; left: 0;
  min-width: 230px;
  background: var(--branco);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__submenu .nav__link {
  font-size: 18px;
  padding: 7px 27px;   /* mesmos valores do widget nav-menu do Elementor */
  font-weight: 400;
}
.nav__submenu .nav__link:hover { color: var(--verde); }

/* seta do item com submenu */
.nav__item--tem-filhos > .nav__link::after {
  content: ""; display: inline-block;
  width: .42em; height: .42em; margin-left: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* ---------- ícone social ---------- */
.social {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
}
.social__link {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cinza-menu); color: var(--branco);
  display: grid; place-items: center;
  transition: background .18s ease;
}
.social__link:hover { background: var(--verde); }
.social__link svg { width: 12px; height: 12px; fill: currentColor; }

/* ---------- seletor de idioma ---------- */
.idiomas { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.idiomas img {
  width: 30px;
  opacity: .55;
  transition: opacity .18s ease, transform .18s ease;
}
.idiomas a:hover img,
.idiomas a[aria-current="true"] img { opacity: 1; transform: translateY(-1px); }

/* ---------- menu mobile (CSS puro, sem JS) ---------- */
.menu-alternar { display: none; }
.menu-rotulo {
  display: none;
  flex: 0 0 auto;
  width: 42px; height: 42px;
  cursor: pointer;
  border: 0; background: none; padding: 9px;
  margin-left: auto;
}
.menu-rotulo span,
.menu-rotulo span::before,
.menu-rotulo span::after {
  display: block; height: 2px; width: 24px;
  background: var(--cinza-menu);
  transition: transform .22s ease, opacity .22s ease;
}
.menu-rotulo span { position: relative; }
.menu-rotulo span::before,
.menu-rotulo span::after { content: ""; position: absolute; left: 0; }
.menu-rotulo span::before { top: -7px; }
.menu-rotulo span::after  { top:  7px; }

/* ==========================================================================
   BANNER / HERÓI
   ========================================================================== */
.heroi {
  position: relative;
  min-height: 100vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;   /* column_position: top no Elementor */
  justify-content: center;
}
/* overlay preto a 33%, como no Elementor */
.heroi::before {
  content: ""; position: absolute; inset: 0;
  background: #000; opacity: .33;
}

.heroi__conteudo {
  position: relative;
  height: 37vh;               /* slides_height */
  padding-bottom: 7%;         /* slides_padding */
  width: min(31%, 100%);      /* content_max_width */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}

.heroi__titulo {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--branco);
  text-shadow: 0 0 100px #000;
}
.heroi__subtitulo {
  margin: .35rem 0 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--verde);
  text-shadow: 0 0 100px #000;
}

/* ==========================================================================
   CONTEÚDO INTERNO (páginas que não são a home)
   ========================================================================== */
.conteudo {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.conteudo h1, .conteudo h2, .conteudo h3 {
  color: var(--cinza-menu);
  font-weight: 700;
  line-height: 1.25;
}
.conteudo h1 { font-size: 2.4rem; margin: 0 0 1.5rem; }
.conteudo h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.conteudo p  { margin: 0 0 1.15rem; font-size: 1.05rem; }
.conteudo a:not(.botao) { color: var(--verde); text-decoration: underline; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.rodape {
  background: rgba(152, 184, 139, .9);   /* #98B88BE6 */
  color: var(--branco);
  text-align: center;
  padding: 1.6rem 1.5rem;
  font-size: 16px;
  line-height: .9;
}
.rodape a { color: var(--branco); }
.rodape a:hover { text-decoration: underline; }
.rodape__creditos { display: block; margin-top: .6rem; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .cabecalho__logo img { width: 150px; }
  .nav__lista { gap: 1.15rem; }
  .nav__link  { font-size: 16px; }
  .heroi__conteudo { width: min(60%, 100%); }
}

@media (max-width: 860px) {
  .menu-rotulo { display: block; }
  .social { display: none; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--branco);
    box-shadow: var(--sombra-header);
    max-height: 0; overflow: hidden;
    transition: max-height .28s ease;
  }
  .menu-alternar:checked ~ .nav { max-height: 80vh; overflow-y: auto; }

  .nav__lista { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0; }
  .nav__link  { padding: .85rem 1.5rem; font-size: 17px; }

  /* submenu passa a ficar sempre aberto e recuado no mobile */
  .nav__submenu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; min-width: 0;
  }
  .nav__submenu .nav__link { padding-left: 2.75rem; }
  .nav__item--tem-filhos > .nav__link::after { display: none; }

  .idiomas { margin-left: 0; }
  .heroi__conteudo { width: min(88%, 100%); height: 30vh; }
  .heroi__titulo    { font-size: 38px; }
  .heroi__subtitulo { font-size: 21px; }
}

@media (max-width: 480px) {
  .cabecalho__interno { padding: 0 1rem; gap: .75rem; min-height: 76px; }
  .cabecalho__logo img { width: 124px; }
  .heroi__titulo    { font-size: 32px; }
  .heroi__subtitulo { font-size: 18px; }
}

/* ---------- respeitar preferência de menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   SEÇÃO INTERNA (páginas Über Uns / Mitsingen)
   Fundo: FUNDO-SESSOESueber.png do site atual
   ========================================================================== */
.secao {
  background-image: url("../assets/img/fundo-sessoes.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4.5rem 1.5rem 5rem;
}
.secao__interno { max-width: 1140px; margin: 0 auto; }

.secao__titulo {
  margin: 0 0 1.75rem;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--cinza-menu);
  text-align: center;
}
.secao__texto {
  margin: 0 auto 1.3rem;
  max-width: 62rem;
  font-size: 1.06rem;
  line-height: 1.75;
  color: #5b5f63;
}
.secao__texto:last-child { margin-bottom: 0; }

/* imagem de destaque no topo de uma seção */
.secao__destaque {
  max-width: 420px;
  margin: 0 auto 2.25rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

/* ==========================================================================
   INTEGRANTES DO CORO — réplica dos flip-box do Elementor Pro
   frente: foto (background_a_image)   verso: #465C8B6E + nome/naipe brancos
   efeito original: zoom-in · altura 20vh (50vh no mobile) · largura 30%
   ========================================================================== */
.membros {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.membro {
  position: relative;
  height: 20vh;
  min-height: 165px;
  overflow: hidden;
  background-color: #d9dde4;
  background-size: cover;
  background-position: center center;
}

/* verso: entra com zoom, como o flip_effect "zoom-in" */
.membro__verso {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .15rem;
  background: rgba(70, 92, 139, .43);   /* #465C8B6E */
  color: var(--branco);
  text-align: center;
  opacity: 0;
  transform: scale(1.25);
  transition: opacity .32s ease, transform .32s ease;
}
.membro:hover  .membro__verso,
.membro:focus-within .membro__verso {
  opacity: 1;
  transform: scale(1);
}

.membro__nome  { font-size: 17px; font-weight: 700; line-height: 1.2; }
.membro__naipe { font-size: 13px; font-stretch: normal; letter-spacing: .02em; }

/* sem hover (toque): mostra sempre o nome, senão fica inacessível */
@media (hover: none) {
  .membro__verso { opacity: 1; transform: scale(1); background: rgba(70, 92, 139, .55); }
}

@media (max-width: 900px) {
  .membros { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .membros { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .membro  { height: 34vh; min-height: 210px; }
}

/* ==========================================================================
   MITSINGEN — faixa de três fotos + chamada
   ========================================================================== */
.fotos-tres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.fotos-tres img {
  width: 100%; height: 260px;
  object-fit: cover;
  border-radius: 3px;
}
@media (max-width: 760px) {
  .fotos-tres { grid-template-columns: 1fr; }
  .fotos-tres img { height: 220px; }
}

.chamada {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--verde);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.destaque-email {
  display: inline-block;
  margin-top: .4rem;
  font-weight: 700;
  color: var(--verde);
  text-decoration: underline;
}
