/* ==========================================================================
   Eu Amo Trancoso — estilos base
   ========================================================================== */

:root {
  --eat-navy: #1a2e44;
  --eat-yellow: #f5c518;
  --eat-yellow-dark: #e0ad00;
  --eat-green: #2f6d4f;
  --eat-green-dark: #234f39;
  --eat-ocean: #2e8b99;
  --eat-ink: #222222;
  --eat-muted: #5a5a5a;
  --eat-border: #e2e2e2;
  --eat-bg: #ffffff;
  --eat-bg-soft: #f7f7f5;
  --eat-radius: 6px;
  --eat-max-width: 1200px;
  --eat-font-display: "Poppins", "Segoe UI", sans-serif;
  --eat-font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body.eat-theme {
  margin: 0;
  font-family: var(--eat-font-body);
  color: var(--eat-ink);
  background: var(--eat-bg);
  line-height: 1.55;
}

.eat-container {
  max-width: var(--eat-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* -------------------- Header -------------------- */
.eat-header {
  border-bottom: 1px solid var(--eat-border);
  background: #fff;
}

.eat-header__inner {
  max-width: var(--eat-max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eat-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--eat-font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--eat-navy);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.eat-logo__heart { color: #e2445c; }

.eat-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.eat-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--eat-navy);
  letter-spacing: 0.3px;
}

.eat-nav a:hover { color: var(--eat-ocean); }

.eat-nav-toggle { display: none; }

.eat-logo--image img { display: block; width: auto; }

/* -------------------- Page header (imagem de topo) -------------------- */
.eat-page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.eat-page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
}

.eat-page-header__overlay {
  position: relative;
  z-index: 1;
  max-width: var(--eat-max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 20px 22px;
}

.eat-page-header__title {
  color: #fff;
  font-family: var(--eat-font-display);
  font-size: clamp(24px, 4vw, 38px);
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* -------------------- Footer image -------------------- */
.eat-footer__image { margin-bottom: 14px; }
.eat-footer__image img { height: auto; margin: 0 auto; }

/* -------------------- Banner slots -------------------- */
.eat-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60px;
  border: 1px dashed #b9b9b9;
  background: #ececec;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
}

.eat-banner img { width: 100%; height: 100%; object-fit: cover; }

.eat-banner--filled {
  border-style: solid;
  background: transparent;
}

.eat-banner-wrap { padding: 10px 0; }

.eat-banner-wrap--tight { padding: 0; }

/* -------------------- Hero -------------------- */
.eat-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.eat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0) 100%);
}

.eat-hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: var(--eat-max-width);
  margin: 0 auto;
  width: 100%;
}

.eat-hero__title {
  font-family: var(--eat-font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.eat-hero__title span {
  display: block;
  color: var(--eat-yellow);
}

.eat-hero__subtitle {
  font-size: 18px;
  max-width: 480px;
  margin: 16px 0 0;
}

.eat-hero__cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--eat-yellow);
  color: var(--eat-navy);
  font-weight: 700;
  border-radius: var(--eat-radius);
  text-decoration: none;
}

/* -------------------- Content sections -------------------- */
.eat-section { padding: 48px 0; }
.eat-section--soft { background: var(--eat-bg-soft); }

.eat-layout-2col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.eat-content-stack { display: flex; flex-direction: column; gap: 24px; }

/* Activity / info card */
.eat-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--eat-border);
}

.eat-card__image { border-radius: var(--eat-radius); overflow: hidden; }

.eat-card--stacked { grid-template-columns: 1fr; }
.eat-card--reverse { grid-template-columns: 1fr 320px; }
.eat-card--reverse .eat-card__image { order: 2; }
.eat-card--reverse .eat-card__body { order: 1; }

.eat-card__eyebrow {
  color: var(--eat-ocean);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px;
}

.eat-card__title {
  font-family: var(--eat-font-display);
  font-size: 24px;
  margin: 0 0 10px;
}

.eat-card__text { color: var(--eat-muted); margin: 0 0 16px; }

.eat-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--eat-green);
  color: #fff;
  border-radius: var(--eat-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.eat-btn:hover { background: var(--eat-green-dark); }

/* Info block (Igreja São João Batista) */
.eat-info-block__caption {
  font-family: var(--eat-font-display);
  font-size: 22px;
  margin: 20px 0 8px;
}

/* Blog grid */
.eat-blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eat-blog__heading {
  font-family: var(--eat-font-display);
  font-size: 20px;
  margin: 0 0 14px;
}

.eat-blog-card { display: flex; flex-direction: column; gap: 10px; }
.eat-blog-card__image { border-radius: var(--eat-radius); overflow: hidden; aspect-ratio: 4/3; background: #e6e6e6; }
.eat-blog-card__title { font-weight: 700; font-size: 15px; margin: 0; }
.eat-blog-card__excerpt { color: var(--eat-muted); font-size: 13px; margin: 0; }

/* Sidebar */
.eat-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Newsletter band */
.eat-newsletter {
  position: relative;
  background: var(--eat-yellow);
  padding: 64px 20px;
  text-align: center;
  overflow: hidden;
}

.eat-newsletter__title {
  font-family: var(--eat-font-display);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 34px);
  color: var(--eat-navy);
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
}

.eat-newsletter__form {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eat-newsletter__form input[type="email"] {
  padding: 12px 16px;
  border-radius: var(--eat-radius);
  border: none;
  min-width: 260px;
  font-size: 14px;
}

.eat-newsletter__form button {
  padding: 12px 24px;
  border-radius: var(--eat-radius);
  border: none;
  background: var(--eat-navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.eat-newsletter__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: var(--eat-navy);
  clip-path: polygon(0 100%, 0 40%, 4% 40%, 4% 20%, 8% 20%, 8% 40%, 20% 40%, 20% 10%, 26% 10%, 26% 0, 32% 0, 32% 10%, 38% 10%, 38% 40%, 50% 40%, 50% 15%, 56% 15%, 56% 40%, 68% 40%, 68% 25%, 74% 25%, 74% 40%, 86% 40%, 86% 20%, 92% 20%, 92% 40%, 100% 40%, 100% 100%);
}

/* -------------------- Footer -------------------- */
.eat-footer {
  background: var(--eat-navy);
  color: #d9dde3;
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .eat-layout-2col { grid-template-columns: 1fr; }
  .eat-card { grid-template-columns: 1fr; }
  .eat-blog { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .eat-nav { width: 100%; order: 3; }
  .eat-nav ul { gap: 16px; }
  .eat-blog { grid-template-columns: 1fr; }
  .eat-hero { min-height: 320px; }
}

/* -------------------- Highlights grid (destaques do site) -------------------- */
.eat-highlights { padding: 48px 0; max-width: var(--eat-max-width); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.eat-highlights__title {
  font-family: var(--eat-font-display);
  font-size: 28px;
  text-align: center;
  margin: 0 0 28px;
  color: var(--eat-navy);
}

.eat-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eat-highlights__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.eat-highlights__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.eat-highlight-card {
  border: 1px solid var(--eat-border);
  border-radius: var(--eat-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.eat-highlight-card__image { aspect-ratio: 16/10; background: #e6e6e6; overflow: hidden; }
.eat-highlight-card__image img { width: 100%; height: 100%; object-fit: cover; }

.eat-highlight-card__body { padding: 18px 20px 22px; }
.eat-highlight-card__title { font-family: var(--eat-font-display); font-size: 17px; margin: 0 0 8px; color: var(--eat-navy); }
.eat-highlight-card__text { font-size: 13.5px; color: var(--eat-muted); margin: 0 0 12px; }
.eat-highlight-card__link { font-weight: 700; font-size: 13.5px; color: var(--eat-ocean); text-decoration: none; }
.eat-highlight-card__link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .eat-highlights__grid,
  .eat-highlights__grid--cols-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .eat-highlights__grid,
  .eat-highlights__grid--cols-2,
  .eat-highlights__grid--cols-4 { grid-template-columns: 1fr; }
}

/* -------------------- Elementor editor preview helper -------------------- */
.elementor-editor-active .eat-banner { min-height: 50px; }
