/* Cores principais baseadas nas imagens */
:root {
    --color-light-bg: #e9e5d7; /* Fundo claro com textura */
    --color-dark-bg: #292929; /* Fundo escuro */
    --color-text-dark: #292929;
    --color-text-light: #e9e5d7;
    --color-accent: #8b7d6e; /* Cor da linha e botões */
    --color-divider: #7b7b7b;
}

/* Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #EDE8C9;
    font-family: serif; /* Simular o estilo de fonte */
    color: var(--color-text-dark);
    line-height: 1.6;
}
 
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5em;
    text-align: center;
}

.title-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto 30px auto;
}

/* Backgrounds */
.pattern-background {
    background-color: var(--color-light-bg);
    /* Adicionar aqui a imagem de fundo com textura se tiver */
    padding: 80px 0;
}

.dark-background {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 80px 0;
}


/* ================= NAVBAR ================= */

.navbar-top {
    background-color: #F3ECD2;
    width: 100%;
    position: fixed;   /* FICA FIXA */
    top: 0;            /* COLA NO TOPO */
    left: 0;
    z-index: 9999;     /* FICA ACIMA DE TUDO */
}

/* container da navbar */
.nav-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

/* MENU ESQUERDO */
.nav-links {
    list-style: none;
    display: flex;
    margin-left: 40px;  /* distância da borda esquerda */
    padding: 15px 0;
    gap: 30px;          /* espaço entre os itens */
}

/* LINKS */
.nav-links li a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #4a4a4a;
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: opacity 0.3s;
}

.nav-links li a:hover {
    opacity: 0.6;
}

/* ICONES NO CANTO DIREITO */
.social-icons {
    margin-right: 40px; /* distância da borda direita */
    display: flex;
    gap: 18px;
}

/* ÍCONES */
.social-icons a {
    color: #000;
    font-size: 16px;
}

/* seção principal */
.minha-historia {
  width: 100%;
  background: #FFFCEC;
  margin: 0;
  padding: 0;
}

/* container com flex (desktop) */
.minha-historia-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: stretch; /* força colunas a se esticarem igualmente */
  gap: 0; /* remove qualquer espaçamento entre colunas */
  min-height: 100vh; /* opcional no desktop; se causar problema remova */
}

/* coluna esquerda - imagem */
.minha-historia .left {
  width: 50%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.minha-historia .left img {
  display: block;       /* evita whitespace de imagens inline */
  width: 100%;
  height: 100%;
  object-fit: cover;    /* mantém o crop no desktop */
  vertical-align: middle;
}

/* coluna direita - texto */
.minha-historia .right {
  width: 50%;
  background: #242323;
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

/* Tipografia */
.minha-historia h1 { font-size: 32px; font-weight: bold; margin: 0 0 15px 0; color: #F2EACB; font-family: "Playfair Display"; }
.minha-historia .divider { width: 60px; height: 2px; background: #F2EACB; margin: 0 0 35px 0; }
.minha-historia p { font-size: 16px; line-height: 1.8; margin: 0 0 25px 0; color: white; font-family: "Poppins"; }

/* RESPONSIVO - telas menores */
@media (max-width: 900px) {
  .minha-historia-container {
    flex-direction: column; /* empilha imagem + texto */
    min-height: auto;       /* remove forçamento de altura */
  }

  .minha-historia .left,
  .minha-historia .right {
    width: 100%;
    height: auto;
  }

  /* muito importante: no mobile a imagem deve ter height:auto,
     para não "empurrar" espaço em branco */
  .minha-historia .left img {
    height: auto;
    max-height: none;
    object-fit: cover; /* se preferir sem crop use object-fit: contain; */
  }

  /* remove padding/margens que criam folga */
  .minha-historia .right {
    padding: 30px 20px;
  }

  /* garantir que não haja margens verticais sobrando */
  .minha-historia .left,
  .minha-historia .right {
    margin: 0;
  }

  .minha-historia h1 { text-align: center; }
  .minha-historia .divider { margin-left: auto; margin-right: auto; }
}

/* =========================
   HERO DO LIVRO — IGUAL AO MODELO
========================= */

.hero-livro {
    position: relative;
    background: #f3eccf;
    padding-top: 220px; /* espaço para o topo */
    padding-bottom: 0px; /* empurra para baixo igual ao modelo */
    overflow: visible;
}

/* FAIXA PRETA */
.faixa-preta {
    position: absolute;
    top: 70%; /* posição EXATA igual ao modelo */
    left: 0;
    width: 100%;
    height: 250px; /* faixa mais alta igual à imagem */
    background: #242323;
    transform: translateY(-50%);
    z-index: 1;
}

/* CONTEÚDO CENTRAL */
.conteudo-hero {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 110px; /* distância igual ao da imagem */
    max-width: 1250px;
    margin: 0 auto;
}

/* ==== LIVRO ==== */
.livro img {
    width: 300px; /* tamanho igual ao exemplo */
    position: relative;
    top: -120px; /* faz o livro SUBIR e entrar no beige igual ao da imagem */
    box-shadow: 22px 22px 0 rgba(0, 0, 0, 0.22);
}

/* ==== TEXTOS ==== */
.texto-hero {
    position: relative;
    top: 20px; /* desce os textos para ficarem 100% dentro da faixa preta */
    text-align: center;
    color: #f2eacb;
}

.texto-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 22px;
}

.texto-hero p {
    color: white;
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* BOTÃO */
.btn-hero {
    font-family: 'Libre Baskerville', serif;
    border: 1px solid white;
    padding: 12px 38px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: #f2eacb;
    color: #2b2a2a;
}

/* =========================
         MOBILE
========================= */
@media (max-width: 768px) {

    .hero-livro {
        padding-top: 180px;
        padding-bottom: 0px;
    }

    .faixa-preta {
        top: 70%;
        height: 420px;
    }

    .conteudo-hero {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .livro img {
        width: 70%;
        max-width: 260px;
        top: -70px;
    }

    .texto-hero {
        top: -10px;
    }

    .texto-hero h1 {
        font-size: 30px;
    }

    .texto-hero p {
        font-size: 15px;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 13px;
    }
}



/* HERO */
.hero {
    text-align: center;
    margin-top: 90px; /* AFASTA DA NAVBAR FIXA */
}

.hero span {
  font-size: 18px;
  color: #777;
  display: block;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 65px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #292929;
}

/* FAIXA */
.band {
  background: #2F2E2E;
  height: 250px;
  margin-top: 200px;
  margin-bottom: 250px;
  display: flex;
  align-items: center;
}

.band-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 140px;
}

/* LIVRO */
.book-box {
  margin-top: 0px;
}

.book-box img {
    height: 450px;

    /* SOMBRA REALISTA */
    box-shadow:
        -18px 0 25px rgba(0, 0, 0, 0.35),
         10px 12px 30px rgba(0, 0, 0, 0.45);

    /* Suaviza as bordas */
    border-radius: 2px;

    /* Destaca ainda mais */
    background: #f2f2f2;

    /* Leve profundidade */
    transform: translateY(-8px);
}


/* TEXTO FAIXA */
.text {
  color: #f5f1e6;
  max-width: 420px;
  text-align: left;
}

/* TÍTULO */
.text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: #EDE8C9;
}

/* SUBTÍTULO */
.text p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFFCEC;
}

/* BOTÃO */
.text a {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 36px;
  border: 1px solid #f5f1e6;
  color: #f5f1e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER DO BOTÃO */
.text a:hover {
  background-color: #f5f1e6;
  color: #2b2b2b;
}


/* ABOUT */
.about-exact {
  display: flex;
  width: 100%;
  height: 620px;
}

.about-image {
  width: 50%;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel {
  width: 50%;
  background: #2F2E2E;
  color: white;
  padding: 90px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

.about-panel h2 {
  font-size: 36px;
  letter-spacing: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.about-panel .divider {
  width: 60px;
  height: 2px;
  background: #cbbf9c;
  margin-bottom: 30px;
}

.about-panel p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 25px;
  max-width: 420px;
}

/* ================= MEUS LIVROS (IGUAL À IMAGEM) ================= */

.books-section {
    background-color: #FFFCEC;
    background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 120px 0;
    text-align: center;
}

/* TÍTULO */
.books-section .section-title {
    font-size: 34px;
    letter-spacing: 6px;
    font-weight: 600;
}

/* LINHA */
.books-section .title-divider {
    width: 70px;
    height: 1px;
    margin: 18px auto 90px;
    background-colorw: #8b7d6e;
}

/* GRID */
.books-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
    margin: auto;
    gap: 90px;
}

/* CARD */
.book-item {
    text-align: center;
}

/* CAPA */
.book-item img {
    width: 230px;
    height: auto;
    margin-bottom: 32px;
    box-shadow:
        -18px 12px 0 #d8d3c0,
        -28px 18px 0 rgba(0,0,0,0.04);
    transition: 0.3s;
}

.book-item img:hover {
    transform: translateY(-8px);
}

/* TÍTULO */
.book-title-pt {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2b2b2b;
}

/* BOTÃO */
.btn-secondary {
    display: inline-block;
    border: 1px solid #2b2b2b;
    color: #2b2b2b;
    padding: 6px 18px;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    font-size: 12px;
    transition: 0.25s;
}

.btn-secondary:hover {
    background-color: #2b2b2b;
    color: #f2efdf;
}

/* MOBILE */
@media (max-width: 900px) {
    .books-list {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Testimonial Slider */

.press-section {
    background-color: #292929;
    padding-top: 60px;
    color: white;
    padding-bottom: 60px;
}

.press-section .section-title {
color: #F2EACB;
}

.press-section .w {
    color: #F2EACB;
}

.testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.testimonial-quote {
    flex-grow: 1;
    padding: 40px;
    border: 1px solid var(--color-divider);
    margin: 0 20px;
}

.quote-text {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

.press-section .title-divider {
    width: 70px;
    height: 2px;
    background: #F2EACB ;
    margin: 10px auto 35px;
}



.quote-divider {
    width: 40px;
    height: 1px;
    background-color: #F2EACB;
    margin: 15px auto;
}

.quote-source {
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.slider-arrow {
    font-size: 1.5em;
    cursor: pointer;
}

.slider-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: var(--color-divider);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-text-light);
}

/* ====== SEÇÃO PRINCIPAL ====== */
.event-section {
    text-align: center;
    padding: 60px 0px 60px;
}

/* ====== CONTAINER ====== */
.event-content-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ====== TÍTULO ====== */
.section-title {
    font-size: 32px;
    font-family: "Playfair Display", serif;
    color: #2e2e2e;
    margin-bottom: 5px;
}

.title-divider {
    width: 70px;
    height: 2px;
    background: #2e2e2e;
    margin: 10px auto 35px;
}

/* ====== SUBTÍTULO ====== */
.event-subtitle {
    font-size: 18px;
    margin-bottom: 45px;
}

/* ====== GRID ====== */
.event-info-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

/* ====== COLUNAS ====== */
.event-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-col p {
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
}

/* ====== LINHA VERTICAL ====== */
.event-divider {
    width: 1px;
    height: 90px;
    background-color: #2e2e2e;
}

/* ====== BOTÃO ====== */
.btn-register {
    background: transparent;
    border: 1px solid #2e2e2e;
    padding: 10px 35px;
    font-style: italic;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.btn-register:hover {
    background: #2e2e2e;
    color: #fff;
}


/* ====== RESPONSIVO ====== */
@media (max-width: 768px) {
    .event-info-grid {
        grid-template-columns: 1fr;
    }

    .event-divider {
        display: none;
    }

    .event-section {
        padding: 60px 20px;
    }
}


/* --------------------------------------------*/
/* Seção Contato */
.section-contact {
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .section-contact {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
}

.section-contact form {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
    font-size: 32px;
    font-family: "Playfair Display", serif;
    color: #2e2e2e;
    margin-bottom: 5px;
}

.form-description {
  font-size: 1rem;
  color: #3b2e2e;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-grid-two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .form-grid-two-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid black;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow 0.2s ease;
  background-color: #EDE8C9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 1px black;
}

textarea {
  resize: none;
  min-height: 120px;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.form-submit-wrapper {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
    background: transparent;
    border: 1px solid #2e2e2e;
    padding: 10px 35px;
    font-style: italic;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
  width: 100%;
}

.btn-submit:hover {
    background: #2e2e2e;
    color: #fff;
}


/* ==========================
   FOOTER — Estilos isolados
   ========================== */

.footer-site {
  padding: 34px 24px;
  border-top: 1px solid #e1d6c8;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: #292929;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #344229;
}

.footer-copyright {
  font-size: 13px;
  color: #292929;
}

.footer-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Ícones sociais */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #292929;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #344229;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-right {
    align-self: center;
  }
}