/* ---------- Estrutura geral ---------- */
.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--c-coffee); color: var(--c-white);
  padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.section { padding-block: var(--space-6); }
.section--sand { background: var(--c-sand); }
.section--dark { background: var(--c-coffee); color: var(--c-white); }
.section--dark h2 em { color: var(--c-gold); }
.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.section-head p { opacity: 0.85; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-terracotta-deep);
  margin-bottom: var(--space-1);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--c-gold); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--c-white);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  --logo-a: var(--c-gold);
  --logo-b: var(--c-white);
}
.site-header.is-scrolled,
.site-header--solid {
  background: var(--c-cream);
  color: var(--c-coffee);
  box-shadow: 0 2px 18px rgba(59, 47, 37, 0.1);
  --logo-a: var(--c-terracotta);
  --logo-b: var(--c-olive);
}
.site-header--solid { position: sticky; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: var(--space-2);
}
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-symbol { width: 34px; height: 34px; }
.brand-symbol .leaf-a { fill: var(--logo-a); }
.brand-symbol .leaf-b { fill: var(--logo-b); }
.brand .brand-name { font-size: 1.45rem; line-height: 1; }
.site-header:not(.is-scrolled):not(.site-header--solid) .brand-name em { color: var(--c-gold); }

.site-nav { display: flex; gap: var(--space-3); }
.site-nav a {
  text-decoration: none;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 0.6rem;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

@media (max-width: 767px) {
  .nav-toggle { display: flex; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: var(--space-3);
    background: var(--c-coffee); color: var(--c-white);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }
  .site-nav a { font-size: 1.1rem; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: var(--c-white); }
  .menu-open { overflow: hidden; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Abertura ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--c-white);
  overflow: hidden;
  background: var(--c-coffee) url('../assets/video/hero-palm-poster.webp') center / cover no-repeat;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(52, 41, 32, 0.88) 0%, rgba(52, 41, 32, 0.55) 45%, rgba(52, 41, 32, 0.08) 80%),
    linear-gradient(0deg, rgba(52, 41, 32, 0.45) 0%, rgba(52, 41, 32, 0) 30%);
}
.hero-content { position: relative; padding-block: 120px 80px; }
.hero-symbol { width: 74px; height: 74px; margin-bottom: var(--space-1); }
.hero-title {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.92;
  margin-bottom: var(--space-3);
}
.hero-title em { color: var(--c-gold); }
.hero-lead { max-width: 30rem; font-size: 1.12rem; opacity: 0.93; margin-bottom: var(--space-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

@media (max-width: 767px) {
  .hero-overlay { background: linear-gradient(0deg, rgba(52, 41, 32, 0.9) 0%, rgba(52, 41, 32, 0.55) 60%, rgba(52, 41, 32, 0.35) 100%); }
  .hero { align-items: flex-end; }
  .hero-symbol { width: 56px; height: 56px; }
}

/* ---------- Rodapé ---------- */
.site-footer { background: var(--c-coffee); color: var(--c-white); padding-top: var(--space-5); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-4); padding-bottom: var(--space-4); }
.footer-brand { font-size: 1.8rem; margin-bottom: var(--space-1); }
.footer-brand em { color: var(--c-gold) !important; }
.footer-title { font-family: var(--f-body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap;
  border-top: 1px solid rgba(251, 247, 240, 0.15);
  padding-block: var(--space-3) calc(var(--space-3) + 70px);
  font-size: 0.85rem; opacity: 0.8;
}
.footer-bottom p { margin: 0; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Seções da página inicial ---------- */
.section--tight { padding-block: var(--space-4); }
.section-head--row {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap;
}
.section-head--row > div { max-width: 640px; }

/* Números */
.stats-section { background: var(--c-cream); border-bottom: 1px solid rgba(59, 47, 37, 0.1); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); text-align: center; }
.stat-value { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; color: var(--c-terracotta); margin: 0; }
.stat-label { font-size: 0.9rem; letter-spacing: 0.04em; margin: 0.3rem 0 0; }
.stats-note { text-align: center; margin: var(--space-3) 0 0; font-size: 0.85rem; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-4); } }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 899px) { .services { grid-template-columns: 1fr; } }

/* Destaques */
.featured {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: var(--space-2);
}
.featured-item--main { grid-row: span 2; }
@media (max-width: 899px) {
  .featured { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 200px 200px; }
  .featured-item--main { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 559px) {
  .featured { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .featured-item--main { grid-column: auto; }
}

/* Como trabalhamos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); counter-reset: none; }
@media (max-width: 899px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: center; }
.about-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 0.6rem; }
.about-list li { padding-left: 1.8rem; position: relative; }
.about-list li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 1rem; height: 0.7rem;
  background: var(--c-olive); border-radius: 0 100% 0 100%;
}
@media (max-width: 899px) { .about { grid-template-columns: 1fr; gap: var(--space-4); } .about-media { aspect-ratio: 4 / 3; } }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 899px) { .testimonials { grid-template-columns: 1fr; } }

/* Chamada final */
.cta { text-align: center; }
.cta-inner { max-width: 760px; }
.cta p { opacity: 0.88; margin-bottom: var(--space-4); }
