/* =========================================================
   MENU NATÁLIA — ESTILOS
   Paleta principal:
   #C594AA = rosa antigo
   #F6D4E4 = rosa claro
   #955874 = ameixa
   ========================================================= */

:root {
  --rose: #c594aa;
  --rose-light: #f6d4e4;
  --plum: #955874;
  --bg: #fffafc;
  --surface: #ffffff;
  --text: #3f3037;
  --muted: #7e6871;
  --border: rgba(149, 88, 116, 0.16);
  --shadow: 0 18px 45px rgba(87, 45, 63, 0.09);
  --radius: 22px;
}

body.dark {
  --bg: #241d21;
  --surface: #30272c;
  --text: #fff4f8;
  --muted: #d0bfc7;
  --border: rgba(246, 212, 228, 0.15);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------------- HEADER ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Italiana", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-style: regular;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo span {
  color: var(--plum);
}
.logo strong {
  color: var(--rose);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions a,
.header-actions button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--plum);
  transition: 0.2s ease;
}

.header-actions a:hover,
.header-actions button:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
}

.search-area {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
}

.search-area.open {
  max-height: 110px;
  padding: 0 0 18px;
  opacity: 1;
}

.search-area label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.search-box i {
  color: var(--plum);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

/* ---------------- CONTEÚDO ---------------- */

main {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.hero {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 70px 0 60px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.82;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--plum);
  font-weight: 600;
}

.hero-text {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 999px;
  background: var(--plum);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.primary-button:hover {
  transform: translateY(-3px);
}

section {
  padding: 55px 0;
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.9;
  font-weight: 600;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.clear-filter {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--plum);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.75rem;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.category-card {
  min-height: 135px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(87, 45, 63, 0.04);
  transition: 0.2s ease;
}

.category-card:hover,
.category-card.active {
  background: var(--rose-light);
  color: var(--plum);
  transform: translateY(-4px);
}

.category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #f1d0df;
  color: var(--plum);
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.recipe-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.recipe-card:hover {
  transform: translateY(-5px);
}

.recipe-card.hidden {
  display: none;
}

.recipe-image {
  height: 190px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 3.2rem;
}

.image-carrot {
  background: linear-gradient(135deg, #c894a8, #955874);
}
.image-brigadeiro {
  background: linear-gradient(135deg, #955874, #684050);
}
.image-lasagna {
  background: linear-gradient(135deg, #c594aa, #ad718e);
}
.image-quiche {
  background: linear-gradient(135deg, #b47b94, #955874);
}
.image-lemon {
  background: linear-gradient(135deg, #d4a4b7, #955874);
}
.image-hot-chocolate {
  background: linear-gradient(135deg, #955874, #523642);
}

.recipe-content {
  padding: 22px;
}

.tag {
  color: var(--plum);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.recipe-content h3 {
  margin: 7px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.recipe-content p {
  min-height: 50px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.recipe-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--plum);
  font-size: 0.75rem;
  font-weight: 700;
}

.recipe-link i {
  transition: transform 0.2s ease;
}
.recipe-link:hover i {
  transform: translateX(4px);
}

.empty-message {
  padding: 45px 0;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin-top: 60px;
  padding: 45px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 1.8rem;
  font-style: regular;
}

.site-footer p span {
  color: var(--plum);
}
.site-footer small {
  color: var(--muted);
}

/* ---------------- PÁGINAS DE RECEITA ---------------- */

.recipe-page {
  width: min(900px, calc(100% - 40px));
  margin: auto;
  padding: 70px 0;
}

.recipe-page .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 700;
}

.recipe-page h1 {
  margin: 8px 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.85;
}

.recipe-intro {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 40px;
}

.recipe-meta span {
  padding: 9px 13px;
  background: var(--rose-light);
  color: var(--plum);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.recipe-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 45px;
}

.recipe-box {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.recipe-box h2 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.recipe-box ul,
.recipe-box ol {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.share-button {
  margin-top: 25px;
  padding: 12px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: white;
  font-weight: 700;
}

/* ---------------- RESPONSIVIDADE ---------------- */

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .category-grid,
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recipe-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner,
  main {
    width: min(100% - 28px, 1180px);
  }
  .header-inner {
    min-height: 72px;
  }
  .header-actions {
    gap: 0;
  }
  .header-actions a {
    display: none;
  }
  .hero {
    padding: 55px 0 35px;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.3rem);
  }
  section {
    padding: 40px 0;
  }
  .category-grid,
  .recipe-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    min-height: 105px;
  }
  .recipe-image {
    height: 170px;
  }
  .recipe-page {
    width: min(100% - 28px, 900px);
    padding: 50px 0;
  }
}

/* ---------------- IMAGEM RECEITA ---------------- */

.recipe-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================
   REDES SOCIAIS DO FOOTER
   ================================ */

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--rose-light);
  color: var(--plum);

  font-size: 1rem;

  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--plum);
  color: white;
  transform: translateY(-4px);
}

/* =====================================================
   IMAGEM DA RECEITA
   ===================================================== */

.recipe-photo {
  position: relative;
  width: 100%;
  height: 430px;
  margin: 10px 0 45px;

  overflow: hidden;

  border-radius: var(--radius);

  background: var(--surface);

  box-shadow: var(--shadow);

  cursor: zoom-in;
}

/* Imagem principal */

.recipe-photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.4s ease;
}

/* Pequeno zoom ao passar o mouse */

.recipe-photo:hover img {
  transform: scale(1.03);
}

/* Indicador "Clique para ampliar" */

.zoom-hint {
  position: absolute;

  right: 18px;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);

  color: var(--plum);

  font-size: 0.72rem;
  font-weight: 700;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   MODAL / ZOOM
   ===================================================== */

.image-modal {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 40px;

  background: rgba(35, 25, 30, 0.88);

  backdrop-filter: blur(8px);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;

  cursor: zoom-out;
}

/* Modal aberto */

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Imagem ampliada */

.image-modal img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 16px;

  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);

  transform: scale(0.92);

  transition: transform 0.3s ease;
}

/* Animação de entrada */

.image-modal.active img {
  transform: scale(1);
}

/* Botão fechar */

.modal-close {
  position: absolute;

  top: 22px;
  right: 25px;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  color: var(--plum);

  font-size: 1.2rem;

  cursor: pointer;

  transition: 0.2s ease;
}

.modal-close:hover {
  background: var(--rose-light);

  transform: rotate(90deg);
}

/* ------------ @media (max-width: 600px)------------- */
.recipe-photo {
  height: 280px;
  margin-bottom: 35px;
}

.zoom-hint {
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  font-size: 0.65rem;
}

.image-modal {
  padding: 20px;
}

.image-modal img {
  max-width: 96vw;
  max-height: 82vh;
}

.modal-close {
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
}

/* =========================================
   SOBRE QUEM ESCREVE
========================================= */

.about-author {
  width: 100%;
  margin-top: 80px;
  padding: 65px 8%;
  background: #955874;
  color: #fff;

  display: grid;
  grid-template-columns: 220px 1px minmax(0, 1fr);
  align-items: center;
  gap: 58px;
}

/* IMAGEM DO PERFIL */

.about-author-image {
  width: 190px;
  height: 190px;

  border-radius: 50%;
  overflow: hidden;

  background: #955874;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);

  justify-self: center;
}

.about-author-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.about-author-image:hover img {
  transform: scale(1.06);
}

/* LINHA VERTICAL */

.about-author-divider {
  width: 1px;
  height: 185px;
  background: rgba(255, 255, 255, 0.28);
}

/* TEXTO */

.about-author-text {
  max-width: 850px;
}

.about-eyebrow {
  display: block;

  margin-bottom: 12px;

  color: #c594aa;

  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-author-text h2 {
  margin: 0 0 20px;

  color: #f6d4e4;

  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.about-author-text p {
  margin: 0;

  max-width: 800px;

  color: rgba(255, 255, 255, 0.88);

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);

  line-height: 1.7;
}

/* REDES SOCIAIS */

.about-social {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 25px;
}

.about-social a {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 8px;

  background: #c594aa;
  color: #fff;

  font-size: 1rem;

  text-decoration: none;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.about-social a:hover {
  background: #f6d4e4;
  color: #955874;

  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 800px) {
  .about-author {
    grid-template-columns: 1fr;

    gap: 28px;

    padding: 55px 7%;

    text-align: center;
  }

  .about-author-image {
    width: 160px;
    height: 160px;
  }

  .about-author-divider {
    width: 80px;
    height: 1px;

    justify-self: center;
  }

  .about-author-text {
    margin: 0 auto;
  }

  .about-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-author {
    margin-top: 60px;
    padding: 45px 22px;
  }

  .about-author-image {
    width: 140px;
    height: 140px;
  }

  .about-author-text p {
    font-size: 1.15rem;
    line-height: 1.6;
  }
}

/* =========================================
   HERO COM CARROSSEL DE RECEITAS
========================================== */

.hero-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  min-height: 690px;
}

/* TEXTO DO HERO */

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .hero-text {
  max-width: 650px;
  margin-bottom: 28px;
}

/* BOTÃO ABAIXO DO TEXTO */

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
  text-decoration: none;
}

/* =========================================
   CARROSSEL
========================================== */

.hero-photo-carousel {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 540px;
  margin-left: auto;
  overflow: hidden;
}

/* CADA FOTO */

.hero-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateX(80px) scale(0.96);

  transition:
    opacity 1s ease,
    transform 1s ease;

  pointer-events: none;
}

/* FOTO ATIVA */

.hero-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* IMAGEM */

.hero-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 28px;

  box-shadow: 0 25px 60px rgba(100, 50, 80, 0.15);
}

/* =========================================
   RESPONSIVO
========================================== */

@media (max-width: 1000px) {
  .hero-carousel {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 70px;
  }

  .hero-photo-carousel {
    margin: 0 auto;
    max-width: 600px;
    height: 500px;
  }
}

@media (max-width: 600px) {
  .hero-carousel {
    gap: 35px;
    min-height: auto;
  }

  .hero-photo-carousel {
    width: 100%;
    height: 380px;
  }

  .hero-slide img {
    border-radius: 20px;
  }

  .hero-button {
    margin-top: 5px;
  }
}

/* =========================================
   IMAGEM DOS CARDS DE CARDÁPIO
========================================== */

.cardapio-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.cardapio-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================================
   RESPONSIVO — CARDÁPIO
========================================== */

@media (max-width: 768px) {
  .cardapio-image {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .cardapio-image {
    height: 220px;
  }
}

/* =========================================
   BOTÃO COMPARTILHAR POSTAGEM
========================================== */

.share-post {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 22px;

  border: 1px solid #955874;
  border-radius: 30px;

  background: transparent;
  color: #955874;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.share-button i {
  font-size: 15px;
}

.share-button:hover {
  background: #955874;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================
   RESPONSIVO
========================================== */

@media (max-width: 480px) {
  .share-post {
    margin: 25px 0;
  }

  .share-button {
    width: 100%;
    max-width: 280px;
  }
}

/* =========================================
   IMAGEM PRINCIPAL DA POSTAGEM
========================================== */

.recipe-main-image {
  width: 100%;
  max-width: 1000px;
  margin: 35px auto 0;
  overflow: hidden;
  border-radius: 20px;
}

.recipe-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* =========================================
   BOTÃO COMPARTILHAR
========================================== */

.share-post {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 28px auto 40px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 24px;

  border: 1px solid #955874;
  border-radius: 30px;

  background: transparent;
  color: #955874;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.share-button i {
  font-size: 16px;
}

.share-button:hover {
  background: #955874;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================
   CELULAR
========================================== */

@media (max-width: 768px) {
  .recipe-main-image {
    margin-top: 25px;
    border-radius: 15px;
  }

  .share-post {
    margin: 24px auto 35px;
  }
}

@media (max-width: 480px) {
  .recipe-main-image {
    border-radius: 12px;
  }

  .share-button {
    width: 100%;
    max-width: 280px;
    padding: 13px 18px;
  }
}
