/* ══ FONTS ══ */
@font-face {
  font-family: 'BDO Grotesk';
  src: url('BDOGrotesk-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* ══ TOKENS ══ */
:root {
  --black:   #0c0b09;
  --bg: #6f6259;
  --warm-gray: #d6d1ca;
  --white:   #ffffff;
  --cream:   #e8e0d4;
  --accent:  #c8b89a;
  --dark:    #1a1610;
  --muted:   rgba(26,22,16,0.55);
  --gap:     20px;
  --pad:     40px;
  --ease:    cubic-bezier(0.16,1,0.3,1);
  --col: calc((100vw - var(--pad)*2 - var(--gap)*3) / 4);

  /* ── tipografia ── */
  --fs-xs:   12px;                        /* labels, meta, footer */
  --fs-sm:   14px;                        /* nav links, small ui  */
  --fs-base:  clamp(16px, 1vw, 20px);                       /* body, acordeão       */
  --fs-md:    24px;                       /* parágrafos destaque  */
  --fs-lg:    clamp(24px, 2vw, 36px);    /* section-title        */
  --fs-xl:    clamp(32px, 3vw, 48px);    /* slide title          */
  --fs-hero:  clamp(18px, 2vw, 32px);    /* hero title           */
  --fs-overlay: clamp(32px, 4vw, 48px);  /* menu overlay         */
}

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ══ PAGE LOADER ══ */
#pageLoader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.loader-logo {
  width: clamp(180px, 30vw, 320px);
  opacity: 0;
}
.loader-logo svg { display: block; width: 100%; height: auto; }

/* ══ TYPOGRAPHY — shared title class ══ */
.section-title {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-lg);
  color: var(--warm-gray);
  line-height: 1;
  text-transform: uppercase;
}

/* ══ NAV ══ */
nav {
  padding: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  transition: opacity 0.6s ease;
}

/* hamburger — sempre visível */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 501;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--warm-gray);
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* logo — sempre centrado */
.nav-logo-slot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}
.nav-logo-slot svg { display: block; width: auto; height: 80px; color: white; }

/* botão contato — direita */
.nav-contact {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  border: 1px solid var(--warm-gray);
  padding: 8px 20px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-contact:hover {
  background: var(--warm-gray);
  color: var(--bg);
}

/* overlay menu */
.nav-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 499;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-overlay .nav-link {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-overlay);
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
}
.nav-overlay.is-open .nav-link {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay.is-open .nav-link:nth-child(1) { transition-delay: 0.10s; }
.nav-overlay.is-open .nav-link:nth-child(2) { transition-delay: 0.18s; }
.nav-overlay.is-open .nav-link:nth-child(3) { transition-delay: 0.26s; }
.nav-overlay.is-open .nav-link:nth-child(4) { transition-delay: 0.34s; }
.nav-overlay.is-open .nav-link:nth-child(5) { transition-delay: 0.42s; }
.nav-overlay.is-open .nav-link:nth-child(6) { transition-delay: 0.50s; }
.nav-overlay .nav-link:hover { color: var(--white); }

@media (max-width: 1024px) {
  #mainNav { height: 60px; }
  .nav-logo-slot svg { height: 60px; }
  .nav-contact { display: none; }
}

/* ══ HERO ══ */
.hero {position: relative;height: 100vh;}

/* ══ HERO ══ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* The photo — full width, 100vh initially, shrinks to 50vh on scroll */
.hero-img-wrap {
  position: absolute;
  inset: 0;
  height: 100vh;
  background-image: url(images/arqetto-hero.jpg);
  background-size: cover;
  background-attachment: fixed;
}
.hero-img-wrap img {
  width:100%;
  height:100%;
}
/* title — outside hero-img-wrap, positioned over hero */
.hero-title {
  position: absolute;
  bottom: 10vh;
  left: var(--pad);
  right: var(--pad);
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  text-transform: uppercase;
  color: var(--warm-gray);
  line-height: 1;
  z-index: 5;
  pointer-events: none;
  text-align: center;
}
.hero-title-line {
  display: block;
}
.hero-subtitle {
  display: block;
  font-size: var(--fs-base);
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 20px;
  opacity: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* logo — centred via flex parent, half outside bottom */
.hero-logo-wrap {
  display: flex;
  position: relative;
  width: calc(100vw - var(--pad)*2);
  max-width: calc(100vw - var(--pad)*2);
  z-index: 10;
  pointer-events: none;
}
.hero-logo-wrap svg { display:block; width:100%; height:auto; }

@keyframes scrollHint {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  30%  { opacity: 1; transform: translateX(-50%) translateY(0px);  }
  70%  { opacity: 1; transform: translateX(-50%) translateY(0px);  }
  100% { opacity: 0; transform: translateX(-50%) translateY(8px);  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--pad);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-scroll-hint.is-visible {
  animation: scrollHint 2.2s ease-in-out infinite;
}

.hero-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--warm-gray);
  border-bottom: 1px solid var(--warm-gray);
  transform: rotate(45deg) translateX(-50%);
}

/* bottom spacing so next section doesn't overlap logo */
.hero-spacer {
  height: calc( (var(--col)*2 + var(--gap)) / 628 * 200 / 2 + 40px );
  background: var(--bg);
}

/* ══ SECTION 2 — Perception defines Value ══ */
/* ══ SECTION 2 — About Us ══ */
.s-about-text {
  /* height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 25vh var(--pad);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  max-width: 960px;
}
.about-text .section-title {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}
.about-text p {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-md);
  line-height: 1;
  color: var(--warm-gray);
  /* text-transform: uppercase; */
}
.about-line {
  overflow: hidden;
  display: block;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

/* ══ ABOUT SLIDES — fullscreen com pin ══ */
.s-about-slides {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
}

#aboutSlide1 {
  opacity: 1;
}

.about-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* overlay gradiente da direita para esquerda */
.about-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.5), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.6s ease;
}
#aboutSlide1.overlay-ready .about-slide-bg::after {
  opacity: 1;
}

.about-slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--pad);
}

/* grid: 4 colunas, título em 3-4, textos em 3-4 abaixo */
.about-slide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gap);
  row-gap: 32px;
  align-items: stretch;
}

.about-slide-title {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  color: var(--warm-gray);
  text-transform: uppercase;
  line-height: 1;
}

.about-slide-col {
  grid-row: 2 / 3;
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--warm-gray);
  /* text-transform: uppercase; */
}
.about-slide-col:nth-child(2) { grid-column: 3 / 4; }
.about-slide-col:nth-child(3) { grid-column: 4 / 5; }


.s-about-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gap);
  padding: 0 var(--pad) 100vh;
}

.about-img-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.about-img-1 img {
  width: 100%;
  height: auto;
  display: block;
}

.about-img-2 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  margin-top: 30vh;
}
.about-img-2 img {
  width: 100%;
  height: auto;
  display: block;
}

.about-img-3 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  margin-top: 30vh;
}
.about-img-3 img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══ SECTION 3 — Porque Arquetto ══ */
.s-why {
  background: var(--bg);
  padding: 25vh var(--pad);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gap);
}

.why-header {
  grid-column: 3 / 5;
  padding-bottom: 40px;
}

.why-item {
  grid-column: 3 / 5;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.why-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.why-title {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  text-transform: uppercase;
  color: var(--warm-gray);
  line-height: 1.3;
}

.why-title::after {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  color: var(--warm-gray);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  flex-shrink: 0;
}
.why-item.is-open .why-title::after {
  transform: rotate(45deg);
}

.why-body {
  overflow: hidden;
  height: 0;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-body p {
  width: calc(50% - var(--gap) / 2);
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--white);
  text-transform: none;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.why-item.is-open .why-body p {
  opacity: 1;
  transform: translateY(0);
}
.why-body p {
  width: calc(50% - var(--gap) / 2);
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--white);
  text-transform: none;
  padding-bottom: 20px;
}

/* ══ SECTION 3 — Form & Essence ══ */
.s-form {
  background: var(--bg);
  padding-top: var(--gap);
}

/* Row A: image (2 col, 100vh) + text (2 col) */
.form-row-a {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: 0 var(--pad);
  height: 100vh;
  position: relative;
}
.form-img-main {
  grid-column: 1 / 3;
  position: relative;
  overflow: hidden;
  background: url(images/202605061326.jpeg);
  background-size: cover;
  background-position: bottom;
}
.form-img-main .ph { width:100%; height:100%; object-fit:cover; display:block; }

/* title centred over image */
.form-img-title {
  pointer-events: none;
  margin-bottom: 1em;
}
.form-col-3 {
  grid-column: 3 / 4;
  display: grid;
  align-content: center;
}
.form-text-col {
  /* grid-column: 4 / 5; */
  /* display: grid; */
  /* flex-direction: column; */
  /* padding: 60px 0 60px var(--gap); */
  /* align-items: end; */
}
.form-text-col p {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--warm-gray);
  /* max-width: 520px; */
}

/* ══ SECTION 4 — Two Disciplines, One Standard ══ */
.s-disciplines {
  background: var(--bg);
  /* padding: 140px 0; */
}

.disciplines-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: 0 var(--pad);
  margin-bottom: 90px;
}

.discipline-title-left {
  grid-column: 1 / 3;
}
.discipline-title-left h2 {
  text-align: right;
}

.discipline-title-right {
  grid-column: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.discipline-title-right h2 {
  padding: 1em 0;
}
.discipline-subtext {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--warm-gray);
}

/* Content block of Disciplines */
.disciplines-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: var(--pad);
  height: 100vh;
  align-items: center;
}

/* ── Disciplines: image stack (desktop) ── */
.disc-img-stack {
  grid-column: 1 / 3;
  height: calc(100% + var(--pad) * 2);
  margin: calc(-1 * var(--pad)) 0 calc(-1 * var(--pad)) calc(-1 * var(--pad));
  position: relative;
  overflow: hidden;
}

.disc-img-vertical {
  grid-column: 1 / 3;
  height: 100%;
  /* overflow: hidden; */
  /* border-radius: 2px; */
  background-image: url(images/interiors-03.jpeg);
  background-size: cover;
  background-position: center;
}
.disc-img-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Col 2 space is empty as negative spacer in grid */

/* Right content container spans columns 3 and 4 */
.disc-main-right {
  grid-column: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.disc-details-title {
    font-family: 'BDO Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 2vw, 24px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 1em;
}

.disc-details-desc {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--warm-gray);
  padding-bottom: 2em;
}

.disc-scope-header {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xs);
  /* letter-spacing: 0.18em; */
  /* text-transform: none; */
  color: #000000ba;
  /* margin-bottom: 1em; */
  height: 17px;
}

.disc-scope-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em 0;
  display: flex;
  flex-direction: column;
  /* gap: 1em; */
}

.disc-scope-item {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xs);
  /* letter-spacing: 0.12em; */
  /* text-transform: uppercase; */
  color: var(--white);
  display: flex;
  align-items: center;
  height: 16px;
}
.disc-scope-item::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
  font-size: var(--fs-base);
}

.disc-quote-btn {
  align-self: flex-start;
  font-family: 'BDO Grotesk', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 6px;
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.disc-quote-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--white);
  padding-left: 8px;
}


/*
 * Row B: asymmetric image grid
 *
 * The grid uses explicit rows so images can share heights and overlap.
 *
 * Layout (4 cols, 3 rows):
 *   col: 1   2   3   4
 * row1:  .   .  [A]  .       A = 1 col wide
 * row2:  .  [B   B   B]      B = 3 cols wide, same height as A (row1=row2 same size)
 * row3:  .  .  [C]   .       C = 1 col wide, starts at row 2.5 (overlaps B by 50%)
 *
 * We achieve the C overlap by using a negative margin-top or by
 * giving row3 a negative start via subgrid rows.
 * Simplest: use a wrapper with position:relative and position C absolutely.
 */
.form-row-b {
  padding: var(--gap) var(--pad) 0;
  position: relative;
}

.form-grid-b {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: var(--gap);
  position: relative;
}

/* A: col 3, row 1 */
.fg-a {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  overflow: hidden;
  height: 35vmax;
  background: url(images/interiors-02.jpeg);
  background-size: cover;
  background-position: center;
}
/* B: col 2-4, row 2 */
.fg-b {
  grid-column: 1 / 4;
  grid-row: 3 / 5;
  overflow: hidden;
  background-image: url(images/arqetto-05.jpg);
  background-size: cover;
}
/*
 * C: col 3, starts at midpoint of row 2 → row 2 start + 170px
 * We use position:absolute so it floats over B
 */
.fg-c-wrap {
  /* sits in the grid at col 3, row 2, but uses absolute positioning to offset */
  grid-column: 2 / 3;
  grid-row: 4 / 6;
  
  
  /* shift up by half its own height (340/2=170) to overlap B */
  background-image: url(images/armchair.jpeg);
  background-size: cover;
}
.fg-c-wrap .ph { width:100%; height:100%; object-fit:cover; display:block; pointer-events:auto; }

.fg-a .ph, .fg-b .ph {width:100%;height:100%;object-fit:cover;display:block;}

/* bottom padding after grid */
.form-row-b-end { height: calc(340px/2 + var(--gap)); background:var(--bg); }

/* ══ SHARED utils ══ */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity:1; transform:none; }
.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.3s}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ══ Grain ══ */
body::after {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:9990; opacity:.018;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:128px 128px;
}

.s-process {
  background: var(--bg);
  padding: 20vmax 0;
  max-width: 810px;
  margin: 0 auto;
}

.process-intro {
  padding: 0 var(--pad);
  margin-bottom: 80px;
  text-align: center;
}

.process-intro h2 {
  margin-bottom: 20px;
}

.process-intro p {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1;
  color: var(--black);
  letter-spacing: 0.03em;
  margin: 0 auto;
}

.process-steps {
  text-align: center;
  padding: 0 var(--pad);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-line {
  width: 1px;
  background-color: var(--warm-gray);
  height: 10vmax;
  transform-origin: top center;
  transform: scaleY(0);
  margin: var(--pad) 0;
}

.process-step-number {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  color: var(--warm-gray);
  text-transform: uppercase;
  /* letter-spacing: 0.15em; */
  /* line-height: 1; */
  flex-shrink: 0;
  height: auto;
}

.process-step-body {
  /* display: flex; */
  /* align-items: center; */
  flex: 1;
  flex-direction: column;
}

.process-step-title {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 24px);
  color: var(--warm-gray);
  /* line-height: 1; */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex-shrink: 0;
}

.process-step-desc {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  color: var(--black);
  line-height: 1;
}

.process-footer {
  padding: 48px var(--pad) 0;
  display: flex;
  justify-content: center;
}

.process-schedule-btn {
  display: inline-block;
  font-family: 'BDO Grotesk', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), padding-left 0.4s var(--ease);
}

.process-schedule-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--warm-gray);
  padding-left: 8px;
}

/* ══ Responsive ══ */

/* ── Tablet e abaixo (≤1024px) ── */
@media(max-width:1024px) {
  :root { --pad:24px; }

  /* hero logo: já usa calc(100vw - pad*2), sem override necessário */
  /* perception */
  .s-about { grid-template-columns: 1fr 1fr; padding: 15vh var(--pad) 0; }
  .about-text { grid-column: 1 / 3; }
  .about-img-top { grid-column: 1 / 3; height: 50vw; }
  .about-img-bottom { grid-column: 2 / 3; }

  /* form */
  .form-row-a    { height:auto; grid-template-columns:repeat(2,1fr); }
  .form-img-main { grid-column:1/3; height:60vw; }
  .form-col-3    { grid-column:1/3; }
  .form-text-col { grid-column:1/3; }
  .form-grid-b   { grid-template-columns:repeat(2,1fr); }
  .fg-a          { grid-column:2/3; }
  .fg-b          { grid-column:1/3; }
  .fg-c-wrap     { grid-column:2/3; }

  /* disciplines header */
  .disciplines-header {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 48px;
  }
  .discipline-title-left  { grid-column: 1/2; }
  .discipline-title-left h2 { text-align: left; }
  .discipline-title-right { grid-column: 2/3; }

  /* disciplines content: empilhado — imagem em cima, texto embaixo */
  .disciplines-content {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh 50vh;
    height: 100vh;
    padding: 0;
    gap: 0;
    align-items: start;
  }
  .disc-img-stack {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    height: 50vh;
    margin: 0;
  }
  .disc-main-right {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 50vh;
    padding: 32px var(--pad) 24px;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .disc-details-desc { line-height: 1.5; }
  .disc-scope-item   { height: auto; padding: 4px 0; }
  #disciplinesContent { height: 100vh !important; }
}

/* ── Mobile (≤600px) ── */
@media(max-width:600px) {
  :root { --pad:20px; --gap:16px; }

  .hero-title { font-size:14px; }

  .form-text-col p { font-size:14px; }
  .form-grid-b { grid-template-columns:1fr; grid-template-rows:auto auto; }
  .fg-a,.fg-b,.fg-c-wrap { grid-column:1/2; }
  .fg-c-wrap { margin-top:0; position:static; }

  /* disciplines header: coluna única */
  .disciplines-header {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .discipline-title-right { grid-column: 1/2; }

  /* disciplines content: imagem menor no mobile */
  .disc-img-stack { height: 50vh; margin: 0; }
  .disc-main-right { height: 50vh; padding: 24px var(--pad) 16px; overflow-y: auto; }

  .disc-details-title { font-size: 18px; }
  .disc-details-desc  { font-size: var(--fs-xs); padding-bottom: 1.2em; }
  .disc-scope-header  { font-size: var(--fs-xs); }
  .disc-scope-item    { font-size: var(--fs-xs); }
  .disc-service-counter { margin-bottom: 14px; }
}
/* ══ WHY GALLERY ══ */
.why-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gap);
  row-gap: var(--gap);
  padding: var(--pad) var(--pad) 0;
}

.why-gallery-img {
  will-change: transform;
}
.why-gallery-img img {
  width: 100%;
  height: auto;
  display: block;
}

.why-gallery-img--1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.why-gallery-img--2 { grid-column: 3 / 4; grid-row: 2 / 3; }
.why-gallery-img--3 { grid-column: 2 / 4; grid-row: 3 / 4; }

/* ══ WHY CTA ══ */
.why-cta {
  grid-column: 1 / 5;
  text-align: center;
  padding: 15vh var(--pad) 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.why-cta-title {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xl);
  color: var(--warm-gray);
  text-transform: uppercase;
  line-height: 1;
}

.why-cta-line {
  display: block;
}

.why-cta-sub {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  color: var(--white);
  text-transform: uppercase;
}

.why-cta-btn {
  display: inline-block;
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  letter-spacing: 0.1em;
  border: 1px solid var(--warm-gray);
  padding: 14px 32px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.why-cta-btn:hover {
  background: var(--warm-gray);
  color: var(--bg);
}

/* ══ FOOTER ══ */
.site-footer {
  position: relative;
  height: 100vh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url(images/footer.jpg) center/cover no-repeat;
  background-attachment: fixed;
}

.footer-bg { display: none; }

.footer-bg {
  position: absolute;
  inset: 0;
  background: url(images/footer.jpg) center/cover no-repeat;
  z-index: 0;
}
.footer-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* logo topo — largura total */
.footer-logo {
  position: relative;
  z-index: 1;
  width: 100%;
}
.footer-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* rodapé */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.footer-copy {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  gap: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.footer-nav a,
.footer-bottom-right a {
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 300;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-nav a:hover,
.footer-bottom-right a:hover {
  color: var(--white);
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

/* ══ SCROLL SMOOTHER ══ */
#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
#smooth-content {
  will-change: transform;
}
