:root {
  --brand: #8C4E2E;
  --brand-dark: #6F3C24;
  --ink: #4E4038;
  --muted: #7D7068;
  --bg: #E7E7E7;
  --bg-light: #EDEDED;
  --bg-dark: #E0E0E0;
  --surface: #FFFDFB;
  --surface-2: #FBF8F4;
  --line: rgba(140, 78, 46, .18);
  --line-soft: rgba(207, 207, 207, .45);
  --cream: #FFFFFF;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --pill: 999px;
  --shadow: 0 24px 80px rgba(72, 51, 39, .16);
  --max: 1180px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --hero-overlay: linear-gradient(rgba(31, 19, 12, .68), rgba(31, 19, 12, .68));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-width: 320px;
  background: linear-gradient(45deg, var(--bg-light), var(--bg-dark));
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(140, 78, 46, .45);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.page-shell {
  width: min(calc(100% - 48px), 1240px);
  margin: 38px auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---- header ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 251, .93);
  border-bottom: 1px solid rgba(140, 78, 46, .08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 400;
}

.nav-links a:not(.button) {
  position: relative;
  padding: 6px 0;
}

.nav-links a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.nav-links a:not(.button):hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease;
}

.button:hover {
  transform: scale(1.045);
}

.button-light {
  color: var(--surface);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .78);
}

.button-brand {
  color: var(--brand);
  background: transparent;
  border-color: rgba(140, 78, 46, .46);
}

.button-brand:hover {
  background: rgba(140, 78, 46, .06);
}

.button-ghost {
  color: var(--surface);
  background: transparent;
  border-color: rgba(255, 255, 255, .58);
}

.mobile-button {
  display: none;
}

/* ---- hero ---- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--surface);
  text-align: center;
  background:
    var(--hero-overlay),
    url("/images/kalum-banner.jpeg?v=2026-10-16") center 65%/cover no-repeat;
  background:
    var(--hero-overlay),
    image-set(url("/images/kalum-banner.webp") type("image/webp"), url("/images/kalum-banner.jpeg?v=2026-10-16") type("image/jpeg")) center 65%/cover no-repeat;
}

.hero-content {
  width: min(90%, 760px);
  padding: 64px 20px;
}

.hero-mark {
  width: 150px;
  height: 100px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.4vw, 32px);
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
}

.hero-copy {
  max-width: 62ch;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ---- sections ---- */
.section {
  padding: 72px 0;
  background: var(--surface);
}

.section.alt {
  background: var(--surface-2);
}

.rounded-panel {
  margin: 16px;
  padding: 46px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(140, 78, 46, .08);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}

.split {
  position: relative;
}

.split + .split::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.eyebrow,
.label {
  margin: 0;
  color: var(--brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 20px;
  color: var(--brand);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-title em {
  font-style: italic;
  font-weight: 500;
}

.section-copy {
  margin: 0 0 16px;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.section-copy:last-child {
  margin-bottom: 0;
}

.section-lead {
  max-width: 690px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 10px;
  color: var(--brand);
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 28px;
}

/* ---- experience cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.card {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(140, 78, 46, .07);
}

.card-media {
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.card-body {
  padding: 20px;
  position: relative;
  min-height: 150px;
}

.card h3 {
  margin: 0 42px 9px 0;
  color: var(--brand-dark);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 78, 46, .46);
  border-radius: 50%;
  color: var(--brand);
}

.go {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-block: 6px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.go:hover {
  color: var(--brand-dark);
}

/* ---- experience panel ---- */
.experience {
  display: grid;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}

.experience-copy {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- localidades ---- */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.location {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(140, 78, 46, .07);
}

.location-media {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.location-media-pending {
  background: linear-gradient(135deg, rgba(140, 78, 46, .16), rgba(140, 78, 46, .05));
}

.location-copy {
  padding: 28px;
  display: flex;
  align-items: center;
}

.location h3 {
  margin: 0;
  color: var(--brand);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

/* ---- cta band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  margin: 18px;
  padding: 56px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: var(--brand-dark);
  background: linear-gradient(90deg, #FAEDE0, #EFC09A);
}

.cta-band .section-title {
  margin: 0;
  color: var(--brand-dark);
}

.cta-band .eyebrow {
  display: block;
  margin-top: 10px;
  color: #6B4A34;
}

.contato-band {
  display: flex;
  justify-content: center;
}

.contato-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---- mapa ---- */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 3;
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(140, 78, 46, .07);
}

@media (max-width: 900px) {
  .map-embed {
    aspect-ratio: 4 / 3;
  }
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- footer ---- */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(140, 78, 46, .08);
}

.footer-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  color: #6E5D54;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
}

.footer p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.footer-links h2 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.footer-links ul {
  margin: 0;
  padding: 0;
}

.footer-links li {
  list-style: none;
  margin: 0 0 8px;
}

.footer-links a {
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(140, 78, 46, .35);
  text-underline-offset: 3px;
}

.socials {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(140, 78, 46, .45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- páginas de experiência ---- */
.breadcrumb {
  padding: 20px 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(125, 112, 104, .6);
}

.breadcrumb a {
  text-decoration: underline;
  text-decoration-color: rgba(125, 112, 104, .45);
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

.hero--compact {
  min-height: 0;
  padding: 64px 0 56px;
  background:
    linear-gradient(rgba(31, 19, 12, .74), rgba(31, 19, 12, .82)),
    var(--hero-photo, url("/images/modelo-1/experiencia.jpg")) center/cover no-repeat;
}

.hero--compact .hero-copy {
  max-width: 62ch;
}

.note-band {
  padding: 0 0 72px;
}

.note {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 56px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--brand);
  background: rgba(140, 78, 46, .07);
  padding: 36px 44px;
}

.note .section-title {
  margin-top: 0;
}

.note .section-copy {
  color: var(--brand-dark);
  font-size: 15px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 40px;
}

.service-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.service-item h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

.js-reveal-ready .fade-up {
  opacity: 0;
  transform: translateY(16px);
}

.js-reveal-ready .fade-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .page-shell {
    width: calc(100% - 24px);
    margin: 12px auto;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: var(--surface);
    box-shadow: 0 24px 60px -42px rgba(72, 51, 39, .5);
  }

  .nav-links.is-open a:not(.button) {
    padding: 14px 12px;
  }

  .mobile-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(140, 78, 46, .35);
    border-radius: var(--pill);
    background: none;
    color: var(--brand);
  }

  .mobile-button span,
  .mobile-button span::before,
  .mobile-button span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mobile-button span {
    position: relative;
  }

  .mobile-button span::before,
  .mobile-button span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .mobile-button span::before {
    top: -6px;
  }

  .mobile-button span::after {
    top: 6px;
  }

  .mobile-button[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .mobile-button[aria-expanded="true"] span::before {
    opacity: 0;
  }

  .mobile-button[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-90deg);
  }

  .hero:not(.hero--compact) {
    min-height: 620px;
    background:
      var(--hero-overlay),
      url("/images/kalum-banner-mobile.jpeg?v=2026-10-16") center 65%/cover no-repeat;
    background:
      var(--hero-overlay),
      image-set(url("/images/kalum-banner-mobile.webp") type("image/webp"), url("/images/kalum-banner-mobile.jpeg?v=2026-10-16") type("image/jpeg")) center 65%/cover no-repeat;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split + .split::before {
    left: 0;
    top: -20px;
    bottom: auto;
    right: 0;
    width: 100%;
    height: 1px;
  }

  /* carrossel horizontal com snap; o próximo card fica visível para indicar o scroll */
  .cards {
    --cards-bleed: 20px;
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * var(--cards-bleed));
    padding: 0 var(--cards-bleed) 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--cards-bleed);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 min(82%, 360px);
    scroll-snap-align: start;
  }

  /* cards fora da tela no eixo X não disparam o reveal; mantê-los sempre visíveis */
  .js-reveal-ready .cards .card {
    opacity: 1;
    transform: none;
  }

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

  .location {
    grid-template-columns: 42% 1fr;
    grid-template-rows: auto;
  }

  .location-media {
    height: 100%;
    min-height: 190px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 26px 0;
    gap: 16px;
  }

  .footer-brand-lockup {
    justify-content: center;
  }

  .footer-links ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-links li {
    margin: 0;
  }

  .socials {
    justify-content: center;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .note {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .cards {
    --cards-bleed: 14px;
  }

  .rounded-panel {
    margin: 10px;
    padding: 30px 22px;
  }

  .hero-content {
    padding: 48px 16px;
  }

  .section {
    padding: 52px 0;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .experience-copy {
    padding: 32px 24px;
  }

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

  .location-media {
    min-height: 200px;
  }

  .cta-band {
    margin: 10px;
    padding: 36px 24px;
  }

  .hero--compact {
    padding: 48px 0 40px;
  }
}
