/* =========================================================
   Vila Lucas Evangelista
   ========================================================= */

:root {

  --green: #075f46;
  --green-dark: #064f3c;
  --green-smoke: #344e37;

  --gold: #e7a927;
  --gold-hover: #d99a1c;

  --text: #27332f;
  --text-soft: #65706b;

  --background: #ffffff;
  --background-soft: #f5f7f4;

  --border: #dfe5df;

  --container: 1180px;
}


/* =========================================================
   Base
   ========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {

  margin: 0;

  background: var(--background);
  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 16px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

a {
  color: var(--green);
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

strong {
  font-weight: 700;
}


/* =========================================================
   Estrutura
   ========================================================= */

.site-container {

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin: 0 auto;
}

.content-section {
  padding: 100px 0;
}

.section-soft {
  background: var(--background-soft);
}


/* =========================================================
   Títulos das seções
   ========================================================= */

.section-heading {

  max-width: 780px;

  margin-bottom: 50px;
}

.section-heading h2 {

  margin: 8px 0 14px;

  color: var(--green-smoke);

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size: clamp(
    2.25rem,
    5vw,
    3.6rem
  );

  line-height: 1.12;
  font-weight: 700;
}

.section-heading > p {

  max-width: 800px;

  margin: 0;

  color: var(--text-soft);

  font-size: 1.15rem;
  line-height: 1.65;
}

.eyebrow {

  display: block;

  color: var(--green);

  font-size: .76rem;
  line-height: 1.2;

  font-weight: 700;

  letter-spacing: .16em;

  text-transform: uppercase;
}


/* =========================================================
   Header / navegação
   ========================================================= */

.site-header {

  position: sticky;

  top: 0;

  z-index: 998;

  background: #fff;

  border-bottom:
    1px solid rgba(52, 78, 55, .10);
}

.site-nav {

  height: 64px;

  background: #fff;

  box-shadow:
    0 2px 10px rgba(0, 0, 0, .04);
}

.nav-container {

  width: min(
    calc(100% - 48px),
    1280px
  );

  height: 64px;

  margin: 0 auto;

  display: flex;
  align-items: center;
}


/* Marca */

.site-brand {

  display: flex;
  align-items: center;

  gap: 12px;

  flex-shrink: 0;

  color: var(--green-smoke);

  text-decoration: none;
}

.site-brand:hover {
  color: var(--green-smoke);
}

.site-brand img {

  display: block;

  width: 48px;
  height: 48px;

  flex-shrink: 0;

  object-fit: contain;
}

.site-brand span {

  color: var(--green-smoke);

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size: 1.20rem;
  line-height: 1.1;
  font-weight: 600;

  white-space: nowrap;
}


/* Navegação desktop */

.desktop-nav {

  margin: 0 0 0 auto;

  padding: 0;

  display: flex;
  align-items: center;

  list-style: none;
}

.desktop-nav li {
  float: none;
}

.desktop-nav li a {

  height: 64px;
  line-height: 64px;

  padding: 0 12px;

  color: #4b514e;

  font-size: .95rem;
  font-weight: 500;

  text-decoration: none;
}

.desktop-nav li a:hover {

  background: transparent;

  color: var(--green);
}


/* =========================================================
   Botões de doação
   ========================================================= */

.btn-donate {

  display: inline-flex;

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

  background:
    var(--gold) !important;

  color:
    var(--green-dark) !important;

  border: 0;
  border-radius: 8px;

  font-weight: 700;

  letter-spacing: .04em;

  text-decoration: none;

  box-shadow:
    0 6px 18px
    rgba(0, 0, 0, .12);

  transition:
    background-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.btn-donate:hover,
.btn-donate:focus {

  background:
    var(--gold-hover) !important;

  color:
    var(--green-dark) !important;

  transform:
    translateY(-1px);

  box-shadow:
    0 8px 22px
    rgba(0, 0, 0, .16);
}


.desktop-nav li a.btn-donate-nav {

  height: 42px;
  line-height: 42px;

  margin-left: 12px;

  padding: 0 24px;

  font-size: .86rem;
}


/* =========================================================
   Menu mobile
   ========================================================= */

.mobile-menu {

  display: none !important;

  /* Mantém o botão no extremo direito do cabeçalho flex,
     neutralizando margens e float do Materialize. */
  margin: 0 0 0 auto !important;
  float: none !important;
  position: static;
  flex: 0 0 auto;

  color: var(--green);
}

.mobile-menu i {
  line-height: 1;
}

.sidenav .btn-donate-mobile {

  margin:
    12px 16px;

  height: 44px;
  line-height: 44px;

  padding: 0 20px;

  font-size: .80rem;

  text-align: center;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {

  position: relative;

  height:
    calc(100vh - 64px);

  min-height: 600px;

  overflow: hidden;

  background-image:
    url('/public/img/background1.jpg');

  background-size: cover;

  background-repeat: no-repeat;

  background-position:
    center 40%;
}


.hero-overlay {

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,

      rgba(29, 52, 43, .78) 0%,

      rgba(29, 52, 43, .60) 35%,

      rgba(29, 52, 43, .24) 67%,

      rgba(29, 52, 43, .05) 100%
    );
}


.hero::after {

  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      to top,

      rgba(24, 47, 39, .34) 0%,

      rgba(24, 47, 39, 0) 45%
    );
}


.hero-content {

  position: relative;

  z-index: 2;

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  height: 100%;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;

  padding-top: 120px;
}


.hero-eyebrow {

  display: block;

  margin-bottom: 14px;

  color: var(--gold);

  font-size: .78rem;

  font-weight: 700;

  letter-spacing: .18em;

  text-transform: uppercase;
}


.hero-title {

  width: 100%;

  max-width: 900px;

  margin:
    0 0 16px;

  color: #fff;

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size:
    clamp(
      2.6rem,
      5vw,
      4.7rem
    );

  line-height: 1.08;

  font-weight: 700;

  text-shadow:
    0 2px 14px
    rgba(0, 0, 0, .18);
}


.hero-subtitle {

  max-width: 620px;

  margin:
    0 0 26px;

  color:
    rgba(255, 255, 255, .90);

  font-size: 1.15rem;

  line-height: 1.6;
}


.hero-actions {

  display: flex;

  align-items: center;

  gap: 20px;
}


.btn-donate-hero {

  height: 48px;

  padding:
    0 30px;

  font-size: .82rem;
}


/* Selo Bliiv */

.bliiv-seal {

  position: relative;

  display: block;

  width: 68px;
  height: 68px;

  flex-shrink: 0;

  overflow: hidden;

  background: #fff;

  border-radius: 50%;

  line-height: 0;
}


.bliiv-seal img {

  position: absolute;

  width: 88px;
  height: 88px;

  max-width: none;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  object-fit: contain;
}


/* =========================================================
   Quem Somos
   ========================================================= */

.about-layout {

  display: grid;

  grid-template-columns:
    240px minmax(0, 1fr);

  gap: 70px;

  align-items: center;

  max-width: 1050px;

  margin: 0 auto;
}


.about-logo {

  display: flex;

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


.about-logo img {

  display: block;

  width: 100%;
  max-width: 230px;

  height: auto;

  object-fit: contain;
}


.about-content .section-heading {
  margin-bottom: 30px;
}


.intro-text {

  max-width: 720px;

  font-size: 1.15rem;

  line-height: 1.9;
}


.intro-text p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   Imagens de transição
   ========================================================= */

.image-break {

  height: 430px;

  background-position: center;

  background-repeat: no-repeat;

  background-size: cover;

  background-attachment: fixed;
}


/* =========================================================
   História
   ========================================================= */

.timeline {

  display: grid;

  grid-template-columns:
    repeat(7, 1fr);

  margin:
    60px 0 70px;

  border-top:
    1px solid var(--border);
}


.timeline-item {

  position: relative;

  padding:
    28px 16px 0 0;
}


.timeline-item::before {

  content: "";

  position: absolute;

  top: -6px;
  left: 0;

  width: 11px;
  height: 11px;

  background:
    var(--gold);

  border-radius: 50%;
}


.timeline-item strong {

  display: block;

  min-height: 48px;

  margin-bottom: 8px;

  color:
    var(--green);

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size: 1.15rem;

  line-height: 1.25;
}


.timeline-item span {

  display: block;

  color:
    var(--text-soft);

  font-size: .91rem;

  line-height: 1.55;
}


.history-text {

  max-width: 990px;
  margin-inline: auto;

  font-size: 1.1rem;

  line-height: 1.8;
}


.history-text p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   Como é viver na Vila
   ========================================================= */

.feature-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}


.feature-card {

  min-height: 280px;

  padding:
    32px 28px;

  background:
    var(--background-soft);

  border:
    1px solid var(--border);

  border-radius: 12px;
}


.feature-number {

  display: block;

  margin-bottom: 44px;

  color:
    var(--gold);

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size: .95rem;

  font-weight: 700;
}


.feature-card h3 {

  margin:
    0 0 12px;

  color:
    var(--green-smoke);

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size: 1.55rem;

  font-weight: 700;
}


.feature-card p {

  margin: 0;

  color:
    var(--text-soft);

  line-height: 1.65;
}


/* =========================================================
   Chamada para doação
   ========================================================= */

.donation-section {

  padding:
    85px 0;

  background:
    var(--green);

  color: #fff;
}


.donation-layout {

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 70px;
}


.eyebrow-light {
  color: var(--gold);
}


.donation-section h2 {

  max-width: 750px;

  margin:
    10px 0 18px;

  color: #fff;

  font-family:
    'Lora',
    Georgia,
    serif;

  font-size:
    clamp(
      2rem,
      4vw,
      3.3rem
    );

  line-height: 1.15;

  font-weight: 700;
}


.donation-section p {

  max-width: 680px;

  margin: 0;

  color:
    rgba(255, 255, 255, .84);

  font-size: 1.08rem;
}


.donation-action {

  min-width: 210px;

  text-align: center;
}


.btn-donate-large {

  min-width: 200px;

  height: 52px;

  padding:
    0 30px;

  font-size: .86rem;
}


.donation-action span {

  display: block;

  margin-top: 10px;

  color:
    rgba(255, 255, 255, .70);

  font-size: .78rem;
}


/* =========================================================
   Galeria
   ========================================================= */

.gallery-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 14px;
}


.gallery-item {

  aspect-ratio: 4 / 3;

  overflow: hidden;

  background:
    var(--background-soft);

  border-radius: 8px;
}


.gallery-item img {

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  cursor: zoom-in;

  transition:
    transform .35s ease;
}


.gallery-item:hover img {
  transform: scale(1.025);
}


.gallery-item img.active {
  object-fit: contain;
}


/* =========================================================
   Transparência
   ========================================================= */

.transparency-panel {
  width: 100%;
  max-width: 1180px;
}


.transparency-tabs.tabs {

  height: auto;

  display: flex;

  margin-bottom: 24px;

  background: transparent;

  overflow-x: auto;
}


.transparency-tabs.tabs .tab {

  flex:
    0 0 auto;

  height: 44px;

  line-height: 44px;
}


.transparency-tabs.tabs .tab a {

  color:
    var(--green);

  font-weight: 700;
}


.transparency-tabs.tabs .tab a:hover,
.transparency-tabs.tabs .tab a.active {

  color:
    var(--green);
}


.transparency-tabs.tabs .indicator {
  background: var(--gold);
}


.transparency-documents {
  width: 100%;
}


.document-link {

  font-size: 17px;
  line-height: 1.55;

  min-height: 58px;

  padding:
    15px 18px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 8px;

  background: #fff;

  border:
    1px solid var(--border);

  border-radius: 8px;

  color: var(--text);

  transition:
    border-color .2s ease,
    transform .2s ease;
}


.document-link:hover {

  border-color:
    var(--green);

  transform:
    translateX(3px);
}


.document-link i {

  flex-shrink: 0;

  color: var(--green);

  font-size: 20px;
}


/* =========================================================
   Google Maps
   ========================================================= */

.map-container {

  scroll-margin-top: 64px;
  width: 100%;

  line-height: 0;
}


.map-container iframe {

  display: block;

  width: 100%;
  height: 450px;

  border: 0;
}


/* =========================================================
   Rodapé institucional
   ========================================================= */
.site-footer {
  padding-top: 65px;
  background: var(--green-smoke);
  color: #fff;
  scroll-margin-top: 72px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(155px, .65fr) minmax(0, 1.5fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
  padding-bottom: 55px;
}
.footer-identity, .footer-contact { min-width: 0; }
.site-footer .footer-contact { justify-self: end; position: relative; right: 20px; width: max-content; max-width: 100%; }
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-footer .footer-brand img {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  object-fit: contain;
}
.site-footer .footer-brand > div { min-width: 0; }
.site-footer .footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.375rem;
  line-height: 1.35;
  color: #fff;
}
.site-footer .footer-brand p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.site-footer .footer-description {
  max-width: 350px;
  margin: 22px 0 0;
  line-height: 1.7;
}
.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}
.site-footer p, .site-footer li {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-navigation {
  justify-self: center;
  position: relative;
  left: 20px;
  min-width: 155px;
  width: auto;
  height: auto;
  min-height: 0;
  line-height: normal;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.site-footer .footer-navigation ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.site-footer .footer-navigation li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
.site-footer .footer-navigation a {
  display: inline;
  line-height: inherit;
  padding: 0;
  height: auto;
}
.site-footer .footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
.site-footer .footer-contact-list a { overflow-wrap: anywhere; }
.site-footer .footer-contact-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.86);
}
.site-footer .footer-contact-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}
.site-footer .footer-contact-list li:nth-child(4) .footer-contact-icon svg { width: 18px; height: 18px; }
.site-footer .footer-address { margin-top: 4px; }
@media (min-width: 1100px) {
  .site-footer .footer-address a { white-space: nowrap; }
}
.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
}
.footer-bottom-inner a { color: #fff; font-weight: 600; }
.footer-bottom-inner a:hover { color: #E7A927; }
@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 38px 28px;
  }
  .site-footer .footer-navigation { justify-self: start; left: auto; }
  .site-footer .footer-contact { grid-column: 1 / -1; justify-self: start; right: auto; width: auto; }
}
@media (max-width: 600px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .site-footer .footer-contact { grid-column: auto; }
  .site-footer .footer-description { margin-top: 16px; }
  .footer-bottom-inner { flex-wrap: wrap; }
}

/* =========================================================
   Acessibilidade
   ========================================================= */

.sr-only {

  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;

  margin: -1px;

  overflow: hidden;

  clip:
    rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* =========================================================
   Tablet / menu
   ========================================================= */

@media only screen and (max-width: 1200px) {

  .desktop-nav {
    display: none;
  }

  /* Materialize define float:left e margens no .sidenav-trigger.
     A regra específica mantém o acionador no extremo direito. */
  .site-nav .nav-container > .mobile-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    float: none !important;
    position: static;
  }

}


@media only screen and (max-width: 1100px) {

  .timeline {

    grid-template-columns:
      repeat(4, 1fr);

    row-gap: 40px;
  }


  .feature-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }


  .gallery-grid {

    grid-template-columns:
      repeat(3, 1fr);
  }

}


/* =========================================================
   Mobile
   ========================================================= */

@media only screen and (max-width: 768px) {

  html {
    scroll-padding-top: 56px;
  }


  .site-container {

    width:
      calc(100% - 36px);
  }


  .content-section {
    padding: 72px 0;
  }


  .section-heading {
    margin-bottom: 38px;
  }


  .section-heading h2 {
    font-size: 2.35rem;
  }


  /* Header */

  .site-nav,
  .nav-container {
    height: 56px;
  }


  .nav-container {
    width: calc(100% - 28px);
  }


  .site-brand {
    gap: 9px;
  }


  .site-brand img {

    width: 40px;
    height: 40px;
  }


  .site-brand span {
    font-size: 1.05rem;
  }


  /* Hero */

  .hero {

    height:
      calc(100svh - 56px);

    min-height: 580px;

    background-size:
      auto 115%;

    background-position:
      center 70%;
  }


  .hero-overlay {

    background:
      linear-gradient(
        to top,

        rgba(29, 52, 43, .92) 0%,

        rgba(29, 52, 43, .72) 38%,

        rgba(29, 52, 43, .24) 68%,

        rgba(29, 52, 43, .04) 100%
      );
  }


  .hero::after {
    display: none;
  }


  .hero-content {

    width:
      calc(100% - 36px);

    justify-content:
      flex-end;

    padding-top: 0;

    padding-bottom: 46px;
  }


  .hero-eyebrow {

    margin-bottom: 9px;

    font-size: .68rem;
  }


  .hero-title {

    max-width: 100%;

    margin-bottom: 12px;

    font-size: 2.25rem;

    line-height: 1.1;
  }


  .hero-subtitle {

    margin-bottom: 22px;

    font-size: 1rem;
  }


  .hero-actions {
    gap: 15px;
  }


  .btn-donate-hero {

    height: 44px;

    padding:
      0 24px;

    font-size: .76rem;
  }


  .bliiv-seal {

    width: 58px;
    height: 58px;
  }


  .bliiv-seal img {

    width: 76px;
    height: 76px;
  }


  /* Quem Somos */

  .about-layout {

    grid-template-columns: 1fr;

    gap: 34px;
  }


  .about-logo {

    justify-content:
      flex-start;
  }


  .about-logo img {
    width: 160px;
  }


  .about-content .section-heading {
    margin-bottom: 26px;
  }


  .intro-text {
    font-size: 1rem;
  }


  /* Imagens */

  .image-break {

    height: 300px;

    background-attachment: scroll;
  }


  /* História */

  .timeline {

    grid-template-columns:
      repeat(2, 1fr);

    margin:
      45px 0 55px;
  }


  .timeline-item strong {
    min-height: 0;
  }


  .history-text {
    font-size: 1rem;
  }


  /* Cards */

  .feature-grid {
    grid-template-columns: 1fr;
  }


  .feature-card {
    min-height: 0;
  }


  .feature-number {
    margin-bottom: 24px;
  }


  /* Doação */

  .donation-section {
    padding: 65px 0;
  }


  .donation-layout {

    grid-template-columns:
      1fr;

    gap: 35px;
  }


  .donation-action {
    text-align: left;
  }


  /* Galeria */

  .gallery-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }

  /* Mapa */

  .map-container iframe {
    height: 340px;
  }


  /* Rodapé */

  .footer-grid {

    grid-template-columns:
      1fr;

    gap: 35px;
  }


  .footer-bottom-inner {

    flex-direction: column;

    align-items: flex-start;

    gap: 6px;
  }

}


/* =========================================================
   Telefones pequenos
   ========================================================= */

@media only screen and (max-width: 480px) {

  .site-container {

    width:
      calc(100% - 28px);
  }


  .site-brand span {
    font-size: .98rem;
  }


  .section-heading h2 {
    font-size: 2.05rem;
  }


  .hero-content {

    width:
      calc(100% - 28px);
  }


  .hero-title {
    font-size: 2rem;
  }


  .timeline {
    grid-template-columns: 1fr;
  }


  .gallery-grid {

    grid-template-columns:
      1fr 1fr;
  }

}
