/*
Theme Name: Kimilu — Brevemente
Theme URI:
Author: Kimilu
Author URI:
Description: Página "Brevemente" (coming soon) da Kimilu — dois carrosséis de fotografias, logótipo ao centro e tipografia Cera Pro.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kimilu-brevemente
*/

/* ---------- FONTES (Cera Pro) ---------- */
@font-face {
  font-family: 'Cera Pro';
  src: url('fonts/Cera Pro Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('fonts/Cera Pro Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('fonts/Cera Pro Regular Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('fonts/Cera Pro Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('fonts/Cera Pro Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('fonts/Cera Pro Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

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

html, body {
  height: 100%;
  background: #ffffff;
  font-family: 'Cera Pro', 'Helvetica Neue', Arial, sans-serif;
  color: #111;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- HEADER ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 126px;      /* altura fixa da barra branca */
  flex-shrink: 0;     /* impede o header de encolher em janelas pequenas */
  padding: 4px 20px;
  background: #ffffff;
}

.site-header .logo {
  height: 65%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ---------- SECÇÃO DOS CARROSSÉIS ---------- */
.stage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: #f2f2f2;
}

.carousel:first-child { border-right: 1px solid #ffffff; }

.carousel .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel .slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Efeito blur nas imagens */
  filter: blur(6px);
  transform: scale(1.08);
}

.carousel .slides img.active { opacity: 1; }

/* ---------- TEXTO CENTRAL POR CIMA ---------- */
.center-text {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  text-align: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(2px);
  padding: 28px 20px;
}

.center-text h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 400; /* 300 fino, 400 normal, 500 médio, 700 bold, 900 black */
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #fff;
}

/* Em janelas pequenas as fotos passam a ficar uma EM CIMA da outra
   (duas linhas), continuando a preencher toda a página abaixo do header. */
@media (max-width: 840px) {
  .stage {
    grid-template-columns: 1fr;   /* uma só coluna */
    grid-template-rows: 1fr 1fr;  /* duas linhas iguais que enchem a altura */
  }
  .carousel:first-child {
    border-right: none;
    border-bottom: 1px solid #ffffff; /* a divisória passa a ser horizontal */
  }
  .center-text h1 { letter-spacing: 4px; }
}
