/* ==========================================================================
   Chimiti Arquitetura — estilos do site
   Linguagem visual: referência arthurcasas.com + caderno da marca Chimiti.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Cores oficiais (caderno da marca) */
  --egg: #f5f2f0;          /* Egg White: fundo */
  --sand: #7d786e;         /* Sand Gray: textos grandes e rótulos */
  --sand-ink: #5c574f;     /* Sand Gray escurecido: texto pequeno com contraste AA */
  --cool: #cfc8c4;         /* Cool Gray 5 CP: filetes e superfícies */
  --green: #163838;        /* Revolutionary Green: texto principal e fundos escuros */
  --green-2: #214c4c;      /* Another Green */
  --gold: #d8a53e;         /* Kind Yellow: destaque pontual */
  --paper: #fbfaf8;        /* superfície clara (formulários) */
  --tone: #b8aea3;         /* tom da camada sépia sobre as fotos */

  /* Unidades (mesma lógica da referência: múltiplos de 15px) */
  --u0: 8px;
  --u1: 15px;
  --u2: 30px;
  --u3: 60px;
  --u4: 120px;
  --gutter: var(--u1);

  /* Tipografia */
  --display: "Jost", "Poppins", "Helvetica Neue", Arial, sans-serif; /* substituta da Alta Sans */
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 12px;
  --fs-s: clamp(14px, 0.9vw, 15px);
  --fs-base: clamp(15px, 1vw, 17px);
  --fs-m: clamp(1.35rem, 1.6vw, 1.9rem);
  --fs-l: clamp(1.9rem, 2.8vw, 3.2rem);
  --fs-xl: clamp(2.6rem, 5.4vw, 5.6rem);
  --lh-text: 1.65;
  --lh-display: 1.08;

  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--egg);
  color: var(--green);
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
.grid16 > *, .cards > *, .gallery > *, .mag > *, .pillars > * { min-width: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--u1); top: -60px; z-index: 300; background: var(--green); color: var(--egg); padding: var(--u0) var(--u1); transition: top .3s; }
.skip-link:focus { top: var(--u1); }

.label {
  font-family: var(--body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand-ink);
}
.display { font-family: var(--display); font-weight: 200; line-height: var(--lh-display); letter-spacing: .02em; }
.lead { font-family: var(--display); font-weight: 300; font-size: var(--fs-m); line-height: 1.35; color: var(--green); }
.muted { color: var(--sand-ink); }

/* Link com sublinhado que cresce */
.link-line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.link-line:hover, .link-line:focus-visible { background-size: 100% 1px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 22px;
  font-size: var(--fs-s); font-weight: 500; letter-spacing: .04em;
  border: 1px solid currentColor;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  max-width: 100%;
}
.btn--solid { background: var(--green); border-color: var(--green); color: var(--egg); }
.btn--solid:hover { background: var(--green-2); border-color: var(--green-2); }
.btn--ghost:hover { background: var(--green); border-color: var(--green); color: var(--egg); }
.btn--light { color: var(--egg); border-color: rgba(245, 242, 240, .6); }
.btn--light:hover { background: var(--egg); color: var(--green); border-color: var(--egg); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Fotos com camada sépia (efeito da referência) ---------- */
.toned { position: relative; overflow: hidden; background: #e9e1d9; }
.toned img, .toned video { width: 100%; height: 100%; object-fit: cover; filter: saturate(90%) contrast(88%); opacity: .9; transition: opacity .75s var(--ease), filter .75s var(--ease), transform 1.2s var(--ease); }
.toned::after { content: ""; position: absolute; inset: 0; background: var(--tone); mix-blend-mode: color; pointer-events: none; transition: opacity .75s var(--ease); }
.toned:hover img, .toned.is-lit img, a:focus-visible .toned img, .toned:hover video, .toned.is-lit video { opacity: 1; filter: saturate(100%) contrast(95%); }
.toned:hover::after, .toned.is-lit::after, a:focus-visible .toned::after { opacity: 0; }
@media (hover: none) { .toned::after { opacity: 0; } .toned img, .toned video { opacity: 1; filter: none; } }

/* ---------- Cabeçalho (páginas internas) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  padding: 0 var(--u1);
  color: var(--egg);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-solid, .site-header--solid { background: rgba(245, 242, 240, .96); color: var(--green); box-shadow: 0 1px 0 rgba(22, 56, 56, .08); backdrop-filter: blur(10px); }
.site-header--on-light:not(.is-solid) { color: #111; }
.site-header--on-light:not(.is-solid) .logo-light { display: none; }
.site-header--on-light:not(.is-solid) .logo-dark { display: block; }
.site-header__logo { justify-self: start; display: block; height: 30px; }
.site-header__logo img { height: 100%; width: auto; }
.site-header__logo .logo-dark { display: none; }
.site-header.is-solid .logo-light, .site-header--solid .logo-light { display: none; }
.site-header.is-solid .logo-dark, .site-header--solid .logo-dark { display: block; }
.site-header__title { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(4px); transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: nowrap; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
.site-header.is-solid .site-header__title { opacity: 1; transform: none; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: var(--u2); font-size: var(--fs-s); }
.site-header__cta { font-weight: 500; }
.lang { display: inline-flex; gap: 10px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; }
.lang a, .lang span { opacity: .55; transition: opacity .3s; }
.lang [aria-current="true"] { opacity: 1; }
.lang a:hover { opacity: 1; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.menu-toggle__bars { display: inline-grid; gap: 5px; width: 22px; }
.menu-toggle__bars span { display: block; height: 1px; background: currentColor; }

/* ---------- Menu em tela cheia ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(22, 56, 56, .97);
  color: var(--egg);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--u1) var(--u1) var(--u2);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
  overflow-y: auto;
}
@supports (backdrop-filter: blur(1px)) { .menu { background: rgba(22, 56, 56, .93); backdrop-filter: blur(18px); } }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - var(--u1)); }
.menu__top img { height: 30px; width: auto; }
.menu__close { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--fs-s); }
.menu__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--u3) var(--u2); align-content: center; padding: var(--u3) 0; }
.menu__group > a, .menu__group > span { display: inline-block; font-family: var(--display); font-weight: 200; font-size: clamp(1.6rem, 2.2vw, 2.5rem); line-height: 1.1; margin-bottom: var(--u1); }
.menu__group ul { list-style: none; margin: 0; padding: 0; }
.menu__group li { margin: 6px 0; }
.menu__group li a { font-size: var(--fs-s); opacity: .8; transition: opacity .3s; }
.menu__group li a:hover { opacity: 1; }
.menu__group .menu__sub-title { display: block; margin-top: var(--u1); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.menu__bottom { display: flex; flex-wrap: wrap; gap: var(--u1) var(--u3); justify-content: space-between; align-items: end; font-size: var(--fs-s); border-top: 1px solid rgba(245, 242, 240, .18); padding-top: var(--u1); }
.menu .menu__group, .menu .menu__bottom { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu.is-open .menu__group, .menu.is-open .menu__bottom { opacity: 1; transform: none; }
.menu.is-open .menu__group:nth-child(2) { transition-delay: .06s; }
.menu.is-open .menu__group:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu__group:nth-child(4) { transition-delay: .18s; }
.menu.is-open .menu__group:nth-child(5) { transition-delay: .24s; }
.menu.is-open .menu__bottom { transition-delay: .3s; }

/* ---------- Home: tela dividida ---------- */
.home-split { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; height: 100svh; overflow-anchor: none; }
.home-nav {
  position: relative;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  padding: var(--u1) var(--u2) var(--u2);
  overflow: hidden;
}
.home-nav::before { /* ícone gigante em marca-d'água, como no caderno da marca */
  content: ""; position: absolute; inset: 8% -18% 0 -18%;
  background: url("../../img/brand/icone-4.png") center bottom / contain no-repeat;
  opacity: .045; pointer-events: none;
}
.home-nav > * { position: relative; }
.home-nav__top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.home-nav__brand { align-self: center; text-align: center; }
.home-nav__brand img { width: clamp(180px, 17vw, 260px); height: auto; margin: 0 auto; }
.home-nav__pillars { margin-top: var(--u2); }
.home-nav__menu { list-style: none; margin: 0; padding: 0; text-align: center; }
.home-nav__menu li { margin: 0; }
.home-nav__item {
  display: inline-flex; align-items: baseline; gap: .35em;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.45rem, 1.9vw, 2.25rem); line-height: 1.22;
  color: var(--sand);
  transition: color .5s var(--ease), opacity .5s var(--ease);
}
.home-nav__menu:hover .home-nav__item, .home-nav__menu.is-active .home-nav__item { opacity: .45; }
.home-nav__item:hover, .home-nav__item.is-current, .has-sub.is-open > .home-nav__item { opacity: 1 !important; color: var(--green); }

/* "+" que indica submenu e vira "−" quando aberto */
.home-nav__plus { position: relative; width: .42em; height: .42em; flex: none; align-self: center; }
.home-nav__plus::before, .home-nav__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.home-nav__plus::after { transform: rotate(90deg); }
.has-sub.is-open .home-nav__plus::after { transform: rotate(0deg); }

/* Submenu que se expande abaixo do item */
.home-nav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.home-nav__sub > ul { overflow: hidden; list-style: none; margin: 0; padding: 0; min-height: 0; }
.has-sub.is-open .home-nav__sub { grid-template-rows: 1fr; }
.home-nav__sub li { font-size: var(--fs-s); line-height: 1.5; color: var(--sand-ink); }
.home-nav__sub li:first-child { padding-top: 6px; }
.home-nav__sub li:last-child { padding-bottom: 14px; }
.home-nav__sub a { color: var(--green); opacity: .8; transition: opacity .3s; }
.home-nav__sub a:hover, .home-nav__sub a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.home-nav__sub .label { color: var(--sand-ink); margin-right: 6px; font-size: 11px; }
.home-nav__group { margin: 2px 0; }
.home-nav__all { margin-top: 6px; }
.home-nav__all .label { color: var(--green); margin: 0; }
@media (min-width: 901px) and (max-height: 860px) {
  .home-nav.has-open .home-nav__brand img { width: clamp(120px, 10vw, 170px); }
  .home-nav.has-open .home-nav__pillars { display: none; }
}
@media (max-width: 900px) {
  .home-nav__sub li { line-height: 2.1; }
  .home-nav__sub a { display: inline-block; padding: 2px 0; }
}
.home-nav__cta { margin-top: var(--u2); display: flex; gap: var(--u1); justify-content: center; flex-wrap: wrap; }
.home-nav__quote { display: none; } /* só no celular (ver bloco @media 900px) */
.page-home .site-header { display: none; } /* cabeçalho fixo da Home: só no celular */

.home-galleries { position: relative; background: var(--green); overflow: hidden; }
.home-gallery { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.home-gallery.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.home-gallery__track { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.home-gallery__track::-webkit-scrollbar { display: none; }
.home-slide { position: relative; height: 100vh; height: 100svh; scroll-snap-align: start; }
.home-slide .toned { position: absolute; inset: 0; }
.home-slide__caption {
  position: absolute; top: var(--u1); right: var(--u1); left: var(--u1);
  display: flex; justify-content: space-between; gap: var(--u1);
  color: var(--egg); font-size: var(--fs-s); text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .6s var(--ease); pointer-events: none;
}
.home-slide:hover .home-slide__caption, .home-slide.is-lit .home-slide__caption { opacity: 1; }
.home-slide__caption strong { font-weight: 500; }
.home-gallery__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: var(--u2);
  padding: var(--u4) var(--u2) var(--u2);
  background: linear-gradient(180deg, rgba(10, 26, 26, 0), rgba(10, 26, 26, .72));
  color: var(--egg);
}
.home-gallery__info p { margin: 0; max-width: 30ch; font-family: var(--display); font-weight: 300; font-size: var(--fs-m); line-height: 1.25; }
.home-scroll-cue { position: absolute; left: 50%; bottom: var(--u2); z-index: 3; transform: translateX(-50%); color: var(--egg); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* ---------- Seções da home (abaixo da dobra) ---------- */
.section { padding: var(--u4) var(--u1); }
.section--tight { padding-top: var(--u3); padding-bottom: var(--u3); }
.section--green { background: var(--green); color: var(--egg); }
.section--green .label, .section--green .muted { color: rgba(245, 242, 240, .72); }
.section--green .lead { color: var(--egg); }
.wrap { max-width: 1440px; margin: 0 auto; }

/* Grid de 16 colunas da referência */
.grid16 { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--u2); }
.col-label { grid-column: 1 / span 4; }
.col-text { grid-column: 5 / span 8; }
.col-wide { grid-column: 5 / span 12; }
.col-full { grid-column: 1 / -1; }

/* Linhas com rótulo à esquerda e filete (Sobre / Contato da referência) */
.rows { border-top: 1px solid rgba(22, 56, 56, .16); }
.row { padding: var(--u2) 0; border-bottom: 1px solid rgba(22, 56, 56, .16); }
.section--green .rows, .section--green .row { border-color: rgba(245, 242, 240, .18); }
.row .grid16 { row-gap: var(--u1); }
.row h2, .row h3 { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-ink); }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--u2); }
.pillar { padding-top: var(--u1); border-top: 1px solid rgba(22, 56, 56, .2); }
.pillar__bar { display: block; width: 5px; height: 42px; margin-top: 16px; background: var(--green); margin-bottom: var(--u1); }
.pillar:nth-child(2) .pillar__bar { height: 58px; margin-top: 0; }
.pillar h3 { font-family: var(--display); font-weight: 300; font-size: var(--fs-m); margin-bottom: var(--u0); }
.pillar p { font-size: var(--fs-s); color: var(--sand-ink); margin: 0; }

/* ---------- Cartões (grade de 3 colunas da lista de projetos da referência) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--u2) var(--u1); }
.cards--offset > :first-child { grid-column-start: 2; }
.card { display: block; }
.card .toned { aspect-ratio: 4 / 3; }
.card__meta { display: flex; justify-content: space-between; gap: var(--u1); padding-top: 10px; font-size: var(--fs-s); }
.card__meta strong { font-weight: 500; }
.card__meta span { color: var(--sand-ink); text-align: right; }
.card:hover .toned img { transform: scale(1.02); }

/* ---------- Páginas internas: capa ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; color: var(--egg); overflow: hidden; background: var(--green); }
.hero--short { height: 72vh; height: 72svh; min-height: 440px; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 26, .45) 0%, rgba(10, 26, 26, .25) 45%, rgba(10, 26, 26, .6) 100%); }
.hero__img--tone::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--tone); mix-blend-mode: color; opacity: .55; }
.hero--light { color: #111; background: var(--egg); }
.hero--light .hero__img::after { background: linear-gradient(180deg, rgba(245, 242, 240, .35) 0%, rgba(245, 242, 240, .12) 50%, rgba(245, 242, 240, .45) 100%); }
.hero--light .hero__crumb, .hero--light .hero__cue { color: #111; }
.hero__content { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--u2) var(--u3); }
.hero__crumb { margin-bottom: var(--u2); color: rgba(245, 242, 240, .8); }
.hero__crumb a:hover { color: var(--egg); }
.hero h1 { font-family: var(--display); font-weight: 200; font-size: var(--fs-xl); line-height: var(--lh-display); letter-spacing: .04em; text-transform: uppercase; max-width: 18ch; margin: 0 auto; }
.hero__meta { display: flex; justify-content: center; gap: var(--u3); margin-top: var(--u2); font-size: var(--fs-s); }
.hero__cue { position: absolute; left: 50%; bottom: var(--u2); z-index: 2; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero__cue::after { content: ""; width: 1px; height: 36px; background: currentColor; animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Entrada suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .hero__content > * { animation: rise 1.2s var(--ease) both; }
.hero .hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero .hero__content > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Galeria no ritmo 1 grande + 3 pequenas ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--u1); }
.gallery figure { margin: 0; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide .frame { aspect-ratio: 16 / 9; }
.gallery .frame { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e1d9; }
.gallery .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery figure:hover .frame img { transform: scale(1.025); }
.gallery figcaption { display: flex; justify-content: space-between; gap: var(--u1); padding-top: 8px; font-size: var(--fs-xs); color: var(--sand-ink); }
.gallery figcaption strong { font-weight: 500; color: var(--green); }
.gallery button.frame { display: block; width: 100%; cursor: zoom-in; }
.gallery .frame--video { background: #0e1a1a; }
.gallery .frame--video video, .vid { width: 100%; height: 100%; object-fit: cover; background: #0e1a1a; }
.vid--ambient { position: absolute; inset: 0; }
.frame--ambient { position: relative; }

/* Lista de projetos da página */
.project-list { list-style: none; margin: 0; padding: 0; }
.project-list li { display: flex; justify-content: space-between; gap: var(--u1); padding: 10px 0; border-bottom: 1px solid rgba(22, 56, 56, .12); font-size: var(--fs-s); }
.project-list li:first-child { border-top: 1px solid rgba(22, 56, 56, .12); }
.project-list strong { font-weight: 500; }
.project-list span { color: var(--sand-ink); text-align: right; }

/* Produtos: quem comercializa */
.vendor { display: flex; align-items: center; gap: var(--u2); margin-top: var(--u2); padding: var(--u1) 0; border-top: 1px solid rgba(22, 56, 56, .16); border-bottom: 1px solid rgba(22, 56, 56, .16); }
.vendor img { width: 120px; height: 120px; object-fit: contain; flex: none; mix-blend-mode: multiply; } /* fundo transparente; o branco das logos em JPG some sobre o fundo claro */
/* Logo clicável: sem opacidade, filtro nem transform no hover, que isolariam a imagem do fundo da página
   e fariam o branco da logo aparecer (o "multiply" é o que faz o branco sumir) */
.vendor__logo { flex: none; display: block; }
.vendor__label { margin: 0; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sand-ink); }
.vendor__name { margin: 2px 0 0; font-family: var(--display); font-size: var(--fs-m); line-height: 1.2; }
.vendor__phone { margin: 6px 0 0; font-size: var(--fs-s); }
.seal { display: flex; align-items: center; gap: var(--u1); margin-top: var(--u1); }
.seal img { width: 72px; height: 72px; flex: none; }

/* Chamada para contato */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -6%; bottom: -30%; width: 46%; aspect-ratio: 1; background: url("../../img/brand/icone-1.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
.cta-band h2 { font-family: var(--display); font-weight: 200; font-size: var(--fs-l); line-height: 1.12; margin-bottom: var(--u2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--u1); }

/* Navegação entre páginas irmãs */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(22, 56, 56, .16); }
.pager a { padding: var(--u2) var(--u1); display: grid; gap: 4px; transition: background-color .4s var(--ease); }
.pager a:hover { background: rgba(22, 56, 56, .04); }
.pager a + a { text-align: right; border-left: 1px solid rgba(22, 56, 56, .16); }
.pager strong { font-family: var(--display); font-weight: 300; font-size: var(--fs-m); }

/* Aviso de conteúdo pendente */
.pending { border: 1px dashed var(--sand); padding: var(--u2); background: rgba(216, 165, 62, .07); }
.pending p:last-child { margin: 0; }

/* Páginas de revista / publicações */
.mag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--u1); }
.mag figure { margin: 0; background: var(--paper); padding: var(--u1); box-shadow: 0 1px 0 rgba(22, 56, 56, .08); }
.mag img { width: 100%; height: auto; }
.mag figcaption { padding-top: 8px; font-size: var(--fs-xs); color: var(--sand-ink); }
.mag--book { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Vídeo / vlog */
.video-card { position: relative; display: block; }
.video-card .frame { aspect-ratio: 16 / 9; overflow: hidden; }
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: rgba(245, 242, 240, .92); display: grid; place-items: center; transition: transform .4s var(--ease); }
.video-card:hover .video-card__play { transform: scale(1.08); }
.video-card__play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--green); }

/* ---------- Quem somos ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.about-hero__img { position: relative; overflow: hidden; }
.about-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-hero__text { display: grid; align-content: center; padding: calc(var(--header-h) + var(--u3)) var(--u3) var(--u3); }
.about-hero__text h1 { font-family: var(--display); font-weight: 200; font-size: var(--fs-xl); line-height: 1; letter-spacing: .02em; margin: var(--u1) 0 var(--u2); }
.portraits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--u1); }
.portraits--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portraits .frame { aspect-ratio: 3 / 4; overflow: hidden; }
.portraits img { width: 100%; height: 100%; object-fit: cover; }
.badge-asbea { display: inline-grid; gap: 4px; padding: var(--u1) var(--u2); border: 1px solid rgba(22, 56, 56, .3); }
.badge-asbea strong { font-family: var(--display); font-weight: 300; font-size: var(--fs-m); letter-spacing: .06em; }

/* ---------- Contato ---------- */
.form { background: var(--paper); padding: var(--u2); display: grid; gap: var(--u1); box-shadow: 0 1px 0 rgba(22, 56, 56, .08); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--u1); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--green);
  background: var(--egg); border: 1px solid rgba(22, 56, 56, .22); border-radius: 0;
  transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.form__note { font-size: var(--fs-xs); color: var(--sand-ink); margin: 0; }
.form__error { color: #8a2a1f; font-size: var(--fs-s); }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form .btn { justify-self: start; }
.map-link { display: block; aspect-ratio: 16 / 10; position: relative; overflow: hidden; }

/* ---------- SEO: H1 com complemento, títulos de seção, etapas e perguntas frequentes ---------- */
picture { display: contents; }
.hero h1 .hero__sub, .about-hero__text h1 .hero__sub, h1.display .hero__sub { display: block; margin-top: .55em; font-size: .34em; font-weight: 300; letter-spacing: .06em; text-transform: none; line-height: 1.3; opacity: .92; }
h2.lead { margin-bottom: .8em; }
.h-section, .row .h-section { font-family: var(--display); font-weight: 300; font-size: var(--fs-m); line-height: 1.25; margin-bottom: .7em; color: var(--green); letter-spacing: 0; text-transform: none; }
.col-text p a.link-line, .faq__a a.link-line { background-size: 100% 1px; color: var(--green); font-weight: 400; }
.col-text p a.link-line:hover, .faq__a a.link-line:hover { color: var(--green-2); }
.steps { margin: 0 0 1em; padding: 0; list-style: none; counter-reset: passo; }
.steps li { counter-increment: passo; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid rgba(22, 56, 56, .12); }
.steps li::before { content: counter(passo, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; color: var(--sand-ink); }
.faq-list { border-top: 1px solid rgba(22, 56, 56, .16); }
.faq { border-bottom: 1px solid rgba(22, 56, 56, .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--u1); padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--body); font-size: var(--fs-base); font-weight: 400; margin: 0; }
.faq__icon { position: relative; width: 12px; height: 12px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 0 16px; color: var(--sand-ink); }
.faq__a p { margin: 0; }
/* ---------- Rodapé (no estilo do site da Novaluz, com as cores da Chimiti) ---------- */
/* Verde mais escuro que o da marca, para o rodapé se separar da faixa verde de contato logo acima */
.site-footer, .site-footer.home-after {
  --ft-bg: #0f2828;
  --ft-line: rgba(245, 242, 240, .13);
  --ft-text: #cdc6c0;    /* links: contraste ~10:1 */
  --ft-muted: #a8a29a;   /* descrição: ~6:1 */
  --ft-dim: #9a948c;     /* rótulos do mapa e linha final: ~5:1 */
  background: var(--ft-bg); color: var(--ft-text);
  padding: 80px var(--u1) 88px; /* folga embaixo para o WhatsApp flutuante não cobrir a última linha */
  font-size: 14px; line-height: 1.55;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { transition: color .3s var(--ease); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--egg); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr .75fr 1.3fr; gap: 32px;
  grid-template-areas: "brand projects office social contact";
  margin-bottom: 56px;
}
.site-footer__brand { grid-area: brand; }
.site-footer__col--projects { grid-area: projects; }
.site-footer__col--office { grid-area: office; }
.site-footer__col--social { grid-area: social; }
.site-footer__col--contact { grid-area: contact; }
.site-footer__brand a { display: inline-block; }
.site-footer__brand img { height: 54px; width: auto; }
.site-footer__brand p { margin: 22px 0 0; max-width: 32ch; color: var(--ft-muted); }
.site-footer__brand .site-footer__badges { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.site-footer__badges img { height: 56px; width: auto; }
.site-footer__title { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--egg); }
.site-footer__col li, .site-footer__col address a { display: block; margin-bottom: 11px; }
.site-footer address { font-style: normal; }

/* Mapa do site: fechado, é só uma linha discreta; aberto, mostra todas as páginas */
.sitemap { border-top: 1px solid var(--ft-line); padding: 10px 0; }
.sitemap summary {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 0; /* área de toque maior no celular */
  font-size: 12.5px; color: var(--ft-dim); cursor: pointer; list-style: none; user-select: none;
  transition: color .3s var(--ease);
}
.sitemap summary::-webkit-details-marker { display: none; }
.sitemap summary:hover { color: var(--egg); }
.sitemap__icon { position: relative; width: 9px; height: 9px; flex: none; }
.sitemap__icon::before, .sitemap__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.sitemap__icon::after { transform: rotate(90deg); }
.sitemap[open] .sitemap__icon::after { transform: rotate(0); }
.sitemap__panel {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin: 10px 0 10px; padding-top: 28px; border-top: 1px solid var(--ft-line);
}
.sitemap[open] .sitemap__panel { animation: sitemap-in .6s var(--ease) both; }
@keyframes sitemap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sitemap__title { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ft-dim); }
.sitemap__col ul + .sitemap__title { margin-top: 34px; }
.sitemap__col li { margin-bottom: 9px; font-size: 13.5px; }
.sitemap .sitemap__sub { margin: 10px 0 14px 2px; padding: 2px 0 2px 16px; border-left: 1px solid rgba(245, 242, 240, .26); }
.sitemap__sub li { font-size: 13px; }
.sitemap__sub li:last-child { margin-bottom: 0; }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  padding-top: 24px; border-top: 1px solid var(--ft-line);
  font-size: 13px; color: var(--ft-dim);
}
.site-footer__bottom strong { font-weight: 500; color: var(--ft-text); }
.site-footer__bottom a:hover strong, .site-footer__bottom a:focus-visible strong { color: var(--egg); }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: var(--u1); bottom: var(--u1); z-index: 120;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 14px; border-radius: 999px;
  background: var(--green); color: var(--egg);
  font-size: var(--fs-s); font-weight: 500;
  border: 1px solid rgba(245, 242, 240, .6); /* contorno para destacar sobre fundos verdes */
  box-shadow: 0 8px 24px rgba(10, 26, 26, .25);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.wa-float:hover { background: var(--green-2); transform: translateY(-2px); }
/* Home (desktop): no topo o WhatsApp flutuante fica transparente, só com o contorno, sobre a foto;
   ao rolar a página ele ganha o fundo verde */
@media (min-width: 901px) {
  .page-home .wa-float {
    background: rgba(10, 26, 26, .14);
    border-color: rgba(245, 242, 240, .85);
    box-shadow: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: background-color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease);
  }
  .page-home.is-scrolled .wa-float, .page-home .wa-float:hover {
    background: var(--green);
    border-color: rgba(245, 242, 240, .6);
    box-shadow: 0 8px 24px rgba(10, 26, 26, .25);
    text-shadow: none;
  }
}
/* Na home, a faixa de texto da galeria sobe para não encostar no WhatsApp flutuante */
@media (min-width: 901px) { .page-home .home-gallery__info { padding-bottom: 86px; } .page-home .home-scroll-cue { bottom: 86px; } }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* ---------- Visualizador de imagens ---------- */
/* Artigos e matérias de revista */
.article-head { padding-top: calc(var(--header-h) + var(--u3)); padding-bottom: var(--u1); }
.article-title { font-size: var(--fs-l); line-height: 1.12; letter-spacing: .01em; max-width: 24ch; margin: 0; }
.article-meta { margin: var(--u1) 0 0; color: var(--sand-ink); font-size: var(--fs-s); }
.article-aside { font-size: var(--fs-s); }
.article-head + .section { padding-top: var(--u2); }
@media (max-width: 900px) { .article-aside:empty { display: none; } }
.article-aside .label { margin-bottom: 8px; }
.prose h2.h-section { margin-top: var(--u2); }
.prose > h2.h-section:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; font-size: var(--fs-base); font-weight: 500; }
.prose-list { margin: 0 0 1em; padding-left: 1.2em; }
.prose-list li { margin: .4em 0; padding-left: .2em; }
.prose blockquote { margin: var(--u2) 0; padding-left: var(--u1); border-left: 2px solid var(--gold); font-family: var(--display); font-weight: 300; font-size: var(--fs-m); line-height: 1.3; color: var(--green); }
.art-fig { margin: var(--u2) 0; }
.art-fig .frame, .mag .frame { display: block; width: 100%; overflow: hidden; background: #e9e1d9; cursor: zoom-in; }
.art-fig img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.art-fig .frame:hover img { transform: scale(1.02); }
.art-fig figcaption, .mag figcaption { padding-top: 8px; font-size: var(--fs-xs); letter-spacing: .02em; color: var(--sand-ink); }
.art-figs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--u1); margin: var(--u2) 0; align-items: start; }
.art-figs .art-fig { margin: 0; }
.mag .frame img { display: block; width: 100%; height: auto; }
.lightbox__full { position: absolute; left: var(--u1); top: var(--u1); padding: var(--u1); color: var(--egg); font-size: var(--fs-s); font-weight: 500; }
@media (max-width: 600px) { .art-figs { grid-template-columns: 1fr; } }

/* Vlog: biblioteca de vídeos do YouTube (tocam na própria página) */
.yt-feature { position: relative; aspect-ratio: 16 / 9; background: #0e1a1a; overflow: hidden; }
.yt-feature iframe, .yt-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-feature__link, .vcard__link { position: relative; display: block; }
.yt-feature__link { height: 100%; }
.yt-thumb { display: block; height: 100%; }
.vcard .yt-thumb { aspect-ratio: 16 / 9; height: auto; }
.yt-feature__link:hover .toned img, .vcard__link:hover .toned img { opacity: 1; filter: saturate(100%) contrast(95%); transform: scale(1.02); }
.yt-feature__link:hover .toned::after, .vcard__link:hover .toned::after { opacity: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 78px; height: 78px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(245, 242, 240, .92); display: grid; place-items: center; transition: transform .4s var(--ease); }
.yt-play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--green); }
.yt-play--s { width: 52px; height: 52px; }
.yt-play--s svg { width: 18px; height: 18px; margin-left: 3px; }
a:hover > .yt-play, a:focus-visible > .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-time { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 7px; background: rgba(14, 26, 26, .82); color: var(--egg); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .04em; }
.vlist { margin: 0; padding: 0; list-style: none; }
.vcard[hidden] { display: none; }
.vcard__meta { display: grid; gap: 2px; margin: 0; padding-top: 10px; font-size: var(--fs-s); }
.vcard__meta strong { font-weight: 500; }
.vcard__meta span { color: var(--sand-ink); }
.vfilters { display: flex; flex-wrap: wrap; gap: 8px; }
.vfilter { padding: 8px 14px; border: 1px solid rgba(22, 56, 56, .25); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.vfilter span { margin-left: 6px; opacity: .6; }
.vfilter:hover { border-color: var(--green); }
.vfilter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--egg); }
.yt-modal { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; padding: var(--u3) var(--u1); background: rgba(10, 20, 20, .94); }
.yt-modal.is-open { display: grid; }
.yt-modal__box { width: min(1100px, 100%, calc((100vh - 180px) * 16 / 9)); }
.yt-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.yt-modal__bar { display: flex; justify-content: space-between; gap: var(--u1); padding-top: var(--u1); color: rgba(245, 242, 240, .85); font-size: var(--fs-s); }
.yt-modal__bar a { color: var(--egg); white-space: nowrap; }
.yt-modal__close { position: absolute; top: var(--u1); right: var(--u1); padding: var(--u1); color: var(--egg); font-size: var(--fs-s); font-weight: 500; }
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(10, 20, 20, .94); display: none; place-items: center; padding: var(--u3) var(--u1); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; color: var(--egg); font-size: var(--fs-s); font-weight: 500; padding: var(--u1); }
.lightbox__close { top: var(--u1); right: var(--u1); }
.lightbox__prev { left: var(--u1); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--u1); top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: var(--u1); text-align: center; color: rgba(245, 242, 240, .8); font-size: var(--fs-s); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .menu__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-label { grid-column: 1 / span 4; }
  .col-text, .col-wide { grid-column: 5 / -1; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "brand brand contact" "projects office social"; row-gap: 48px; }
  .sitemap__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --fs-base: 16px; }
  /* ---- Home no celular: foto em faixa de largura total, menu logo abaixo ---- */
  .home-split { display: flex; flex-direction: column; height: auto; }
  .home-galleries { order: -1; position: relative; inset: auto; z-index: 0; height: 40vh; height: 40svh; min-height: 270px; max-height: 420px; }
  .home-galleries::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(10, 26, 26, .5), rgba(10, 26, 26, 0)); } /* legibilidade do cabeçalho sobre a foto */
  .home-gallery__info, .home-scroll-cue, .home-slide__caption { display: none; }
  .home-gallery__track { overflow: hidden; }
  .home-slide { height: 100%; }
  .home-nav {
    position: relative; z-index: 1; margin: 0; padding: var(--u2) var(--u1) var(--u2);
    background: var(--egg); gap: var(--u1); grid-template-rows: auto auto auto; justify-items: stretch;
  }
  .home-nav::before { display: none; }
  .home-nav__top { justify-content: center; }
  .home-nav__top .lang { display: none; } /* os idiomas ficam no cabeçalho fixo */
  .home-nav__brand img { display: none; } /* a logo fica no cabeçalho fixo: sem logo grande no meio da página */
  .home-nav__brand { align-self: start; }
  .home-nav__pillars { margin-top: 0; }
  .home-nav__menu { text-align: left; }
  .home-nav__menu:hover .home-nav__item, .home-nav__menu.is-active .home-nav__item { opacity: 1; }
  .home-nav__item { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 13px 2px; color: var(--green); font-size: 1.5rem; line-height: 1.2; border-bottom: 1px solid rgba(22, 56, 56, .14); }
  .home-nav__plus { width: 14px; height: 14px; }
  .home-nav__sub li { padding-left: 2px; font-size: 15px; }
  .home-nav__group { padding: 8px 0 10px; }
  .home-nav__group .label { display: block; margin: 0 0 2px; }
  .home-nav__sub a { display: inline-block; padding: 7px 0; }
  .home-nav__cta { margin-top: var(--u1); }
  .home-nav__cta .btn { width: 100%; justify-content: center; padding: 16px 22px; }
  .page-home .site-header { display: grid; }
  .home-nav__quote { display: inline-flex; }
  .home-nav__full { display: none; } /* o botão Menu já está no cabeçalho fixo */
  /* Sépia → cor: a foto chega em tom sépia, como no desktop, e ganha cor depois de um instante na tela */
  .home-slide .toned::after { opacity: 1; transition: opacity 1.2s ease; }
  .home-slide .toned img, .home-slide .toned video { opacity: .9; filter: saturate(90%) contrast(88%); transition: opacity 1.2s ease, filter 1.2s ease; }
  .home-slide.is-lit .toned::after { opacity: 0; transition-delay: .8s; }
  .home-slide.is-lit .toned img, .home-slide.is-lit .toned video { opacity: 1; filter: saturate(100%) contrast(95%); transition-delay: .8s; }
  .home-after { position: relative; z-index: 1; background: var(--egg); }
  .site-header__title, .site-header__cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header__actions { gap: var(--u1); }
  .grid16 { grid-template-columns: 1fr; }
  .col-label, .col-text, .col-wide, .col-full { grid-column: 1 / -1; }
  .cards, .mag { grid-template-columns: 1fr 1fr; }
  .cards--offset > :first-child { grid-column-start: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__img { min-height: 70svh; }
  .about-hero__text { padding: var(--u3) var(--u1); }
  .portraits, .portraits--3 { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: var(--u2); flex-wrap: wrap; }
  .section { padding: var(--u3) var(--u1); }
}

@media (max-width: 600px) {
  .home-nav__pillars { letter-spacing: .06em; font-size: 11px; } /* "Conexão · Sustentabilidade · Tecnologia" cabe na largura do cartão */
  .pillars { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.75rem, 9.5vw, 2.6rem); letter-spacing: .02em; hyphens: auto; }
  .hero__content { padding-left: var(--u1); padding-right: var(--u1); }
  .about-hero__text h1, .page-contato h1.display { font-size: clamp(2rem, 11vw, 2.6rem); }
  .cards, .mag, .mag--book, .gallery { grid-template-columns: 1fr; }
  .vendor { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .menu__nav { grid-template-columns: 1fr; gap: var(--u2); padding: var(--u2) 0; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { text-align: left; border-left: 0; border-top: 1px solid rgba(22, 56, 56, .16); }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .site-footer, .site-footer.home-after { padding-top: var(--u3); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "brand brand" "projects office" "contact contact" "social social"; gap: 40px 24px; }
  .site-footer__col--social ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .sitemap__panel { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 901px) and (max-height: 700px) {
  .home-nav { padding-bottom: var(--u1); }
  .home-nav__brand img { width: clamp(130px, 12vw, 180px); }
  .home-nav__pillars { margin-top: var(--u1); }
  .home-nav__item { font-size: clamp(1.15rem, 1.5vw, 1.6rem); line-height: 1.16; }
  .home-nav__cta { margin-top: var(--u1); }
  .home-nav__cta .btn { padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
