/* =========================================
   INTERNAL HERO SYSTEM
========================================= */

.internal-hero {
  position: relative;

  height: 58vh;
  min-height: 480px;

  overflow: hidden;

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

  padding: 40px;
}

/* IMAGE */
.internal-hero-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}

.casa-hero-image {
  object-position: center 90%;
}

/* OVERLAY */
.internal-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.22),
      rgba(0,0,0,0.38)
    );
}

/* CONTENT */
.internal-hero-content {
  position: relative;

  z-index: 2;

  max-width: 760px;

  text-align: center;
}

/* TITLE */
.internal-hero h1 {
  margin: 22px 0 24px;

  font-size: clamp(34px, 4vw, 52px);

  line-height: 1.08;

  font-weight: 500;

  letter-spacing: -0.02em;

  color: white;
}

.blog-hero .internal-hero-content {
  transform: translateY(-50px);
  font-family: "Gloria Hallelujah", cursive;
}

/* TEXT */
.internal-hero p {
  max-width: 620px;

  margin: 0 auto;

  font-size: 17px;

  line-height: 1.9;

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


/* RESPONSIVE */
@media (max-width: 900px) {

  .internal-hero {
    min-height: 420px;

    padding: 24px;
  }

  .internal-hero h1 {
    font-size:
      clamp(30px, 7vw, 42px);
  }

  .internal-hero p {
    font-size: 16px;
  }

}

/* =========================================
   GENERAL
========================================= */

.soma-section,
.luz-section,
.experience-section {
  padding: 90px 40px;
}

.soma-container,
.luz-container,
.experience-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
}


/* =========================================
   SOMA SECTION
========================================= */

.soma-intro {
  max-width: 700px;
  margin-bottom: 70px;
}

.soma-intro h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.soma-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.soma-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.soma-text p {
  margin: 0;
  line-height: 1.9;
  color: var(--text);
}

.soma-quote {
  padding-left: 35px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

.soma-quote p:first-child {
  margin-bottom: 30px;

  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.soma-quote p:last-child {
  margin: 0;

  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
}


/* =========================================
   SOBRE LUZ
========================================= */

.luz-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.luz-image {
  display: flex;
  justify-content: center;
}

.luz-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
}

.luz-content h2 {
  max-width: 700px;
  margin: 0 0 45px;

  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.luz-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.luz-text p {
  margin: 0;

  max-width: 540px;

  line-height: 1.9;
  color: var(--text);
}


/* =========================================
   EXPERIENCE
========================================= */

.experience-container {
  max-width: 820px;
}

.experience-section h2 {
  margin: 0 0 50px;

  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.experience-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.experience-text p {
  margin: 0;

  line-height: 1.9;
  color: var(--text);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

  .soma-grid,
  .luz-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .luz-image {
    order: -1;
  }

  .soma-section,
  .luz-section,
  .experience-section {
    padding: 90px 25px;
  }

  .soma-quote {
    padding-left: 25px;
  }

}

/* ==============================
   RECURSOS
============================== */

/* FEATURED ARTICLE */
.featured-article {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 70px;

  align-items: start;

  padding: 80px 40px 140px;
}

/* IMAGE */
.featured-article-image img {
  width: 100%;
  height: 420px;

  object-fit: cover;

  object-position: bottom;

  border-radius: 28px;
}

/* CONTENT */
.featured-article-content {
  max-width: 620px;
}

.article-category {
  display: inline-block;

  margin-bottom: 18px;

  font-size: 11px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: var(--secondary);
}

.featured-article-content h2 {
  margin: 0 0 24px;

  font-size: clamp(28px, 2vw, 38px);

  line-height: 1.08;

  font-weight: 500;
}

.featured-article-content p {
  margin-bottom: 10px;

  line-height: 1.9;

  max-width: 520px;
}

/* EXPANDED */
.featured-expanded {
  display: grid;

  grid-template-rows: 0fr;

  opacity: 0;

  transition:
    grid-template-rows 0.6s ease,
    opacity 0.35s ease,
    margin-top 0.35s ease;

  margin-top: 0;
}

/* INNER */
.featured-expanded-inner {
  overflow: hidden;

}

/* ACTIVE */
.featured-article.active .featured-expanded {
  grid-template-rows: 1fr;

  opacity: 1;

  margin-top: 10px;
}

/* TEXT */
.featured-expanded p {
  margin-bottom: 24px;

  line-height: 1.95;

  max-width: 620px;
}

/* CLOSE BUTTON */
.featured-close {
  margin-top: 40px;
}

/* HIDE OPEN BTN */
.featured-article.active .featured-toggle {
  display: none;
}

/* ARTICLE HIGHLIGHT */
.article-highlight {
  margin: 60px 0 40px;

  padding-left: 28px;

  border-left:
    1px solid rgba(210,164,50,0.35);
}

.article-highlight p {
  margin: 0;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size: clamp(22px, 2.2vw, 30px);

  line-height: 1.35;

  color: var(--dark);
}


/* FINAL QUESTION */
.article-question {
  margin-top: 15px;

  padding-top: 20px;

  border-top:
    1px solid rgba(91,59,30,0.08);
}

.article-question span {
  display: inline-block;

  margin-bottom: 14px;

  font-size: 10px;
  font-weight:bolder;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: var(--secondary);
}

.article-question p {
  margin: 0;

  max-width: 760px;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size: clamp(22px, 2.2vw, 30px);

  line-height: 1.2;

  color: var(--dark);
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .featured-article,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  
  .featured-article-image img {
    height: 420px;
  }

}

/* ARTICLES SECTION */
.articles-section {
  padding: 0 40px 160px;
}

/* LIST */
.articles-list {
  display: grid;

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

gap: 80px;
}

/* ENTRY */
.journal-entry {
  padding: 40px 0;

  border-top:
    1px solid rgba(91,59,30,0.08);
}

/* LAST BORDER */
.journal-entry:last-child {
  border-bottom:
    1px solid rgba(91,59,30,0.08);
}

/* TITLE */
.journal-entry h3 {
  margin: 0 0 20px;

  max-width: 720px;

  font-size: clamp(26px, 2.2vw, 34px);

  line-height: 1.08;

  font-weight: 500;

  color: var(--dark);
}

/* EXCERPT */
.journal-excerpt {
  margin-bottom: 10px;

  max-width: 620px;

  line-height: 1.9;
}

/* BUTTON */
button.link {
  background: none;
  border: none;

  padding: 0;

  cursor: pointer;

  font: inherit;

  color: inherit;
}

/* EXPANDED */
.journal-expanded {
  display: grid;

  grid-template-rows: 0fr;

  opacity: 0;

  transition:
    grid-template-rows 0.6s ease,
    opacity 0.35s ease,
    margin-top 0.35s ease;

  margin-top: 0;
}

/* ACTIVE */
.journal-entry.active .journal-expanded {
  grid-template-rows: 1fr;

  opacity: 1;

  margin-top: 10px;
}

/* INNER */
.journal-expanded-inner {
  overflow: hidden;

  max-width: 760px;
}

/* TEXT */
.journal-expanded p {
  margin-bottom: 20px;

  line-height: 1.95;
}

/* IMAGE */
/* INLINE MEDIA */
.journal-inline-media {
  float: right;

  width: 320px;

  margin:
    10px 0 10px 10px;
}

.journal-inline-media img {
  width: 100%;

  height: 260px;

  object-fit: cover;

  border-radius: 22px;
}

/* JOURNAL HIGHLIGHT */
.journal-highlight {
  margin: 50px 0 35px;

  padding-left: 22px;

  border-left:
    1px solid rgba(210,164,50,0.28);
}

.journal-highlight p {
  margin: 0;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size: clamp(18px, 1.8vw, 24px);

  line-height: 1.45;

  color: var(--dark);
}

/* JOURNAL QUESTION */
.journal-question {
  margin-top: 15px;

  padding-top: 20px;

  border-top:
    1px solid rgba(91,59,30,0.08);
}

.journal-question span {
  display: inline-block;

  margin-bottom: 10px;

  font-size: 10px;

  font-weight:bolder;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: var(--secondary);
}

.journal-question p {
  margin: 0;

  max-width: 520px;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size: clamp(20px, 2vw, 28px);

  line-height: 1.3;

  color: var(--dark);
}

/* CLOSE */
.journal-close {
  margin-top: 50px;
}

/* HIDE OPEN BTN */
.journal-entry.active .journal-toggle {
  display: none;
}

@media (max-width: 900px) {

  .journal-inline-media {
    float: none;

    width: 100%;

    margin: 40px 0;
  }

  .journal-inline-media img {
    height: 260px;
  }

}


/* ============================
   FAQS
============================= */   

/* HERO */
.faq-hero {
  max-width: 760px;

  margin:
    140px auto 64px;

  padding:
    0 40px;

  text-align: center;
}

.faq-hero h1 {
  margin: 0 0 18px;

  font-size:
    clamp(34px, 4vw, 48px);

  line-height: 1.08;

  font-weight: 500;

  letter-spacing: -0.02em;

  color: var(--dark);
}

.faq-hero p {
  max-width: 620px;

  margin: 0 auto;

  line-height: 1.8;

  color:
    rgba(91,59,30,0.82);
}


.faq-section {
  max-width: 760px;

  margin: 0 auto;

  padding:
    0 40px 110px;
}


/* ITEM */
.faq-item {
  padding: 34px 0;

  border-top:
    1px solid rgba(91,59,30,0.08);
}

.faq-item:first-child {
  padding-top: 0;

  border-top: none;
}



/* QUESTION */
.faq-item h2 {
  margin: 0 0 18px;

  font-size:
    clamp(24px, 2vw, 30px);

  line-height: 1.22;

  font-weight: 500;

  color: var(--dark);

  max-width: 760px;
}



/* ANSWER */
.faq-item p {
  margin: 0;

  max-width: 680px;

  line-height: 1.82;

  color:
    rgba(91,59,30,0.88);
}



/* FOOTER */
.faq-footer {
  max-width: 760px;

  margin:
    10px auto 110px;

  padding:
    34px 40px 0;

  border-top:
    1px solid rgba(91,59,30,0.08);
}

.faq-footer p {
  margin-bottom: 18px;

  line-height: 1.82;
}


/* RESPONSIVE */
@media (max-width: 900px) {

  .faq-hero {
    margin:
      120px auto 54px;

    padding:
      0 24px;
  }

  .faq-section,
  .faq-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .faq-section {
    padding-bottom: 90px;
  }

  .faq-item {
    padding:
      28px 0;
  }

  .faq-footer {
    margin-bottom: 90px;
  }

}