/* =========================================================
   SEFERIN — grid 12 colunas + menu com contraste + Soon + Contato
   Grid do Figma (frame 1920): 12 colunas "stretch",
   margem 20px, gutter 20px. Colunas esticam; margem/gutter fixos.
   Tipografia escala pela largura: 1 unidade = 100vw / 1920 (--v).
   ========================================================= */
:root {
  --v: calc(100vw / 1920);   /* tokens do grid e .grid ficam em style.css */
}

/* ---------- tema (contraste do menu) ----------
   data-theme="dark"  -> fundo escuro: logo e menu claros
   data-theme="light" -> fundo claro: logo e menu pretos   */
[data-theme="dark"]  { --topbar-fg: #fff; --mark-filter: none; }
[data-theme="light"] { --topbar-fg: #000; --mark-filter: brightness(0); }

/* ---------- menu mínimo: logo + Contato ---------- */
.topbar {
  position: absolute;
  z-index: 30;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(21 * var(--v)) var(--grid-margin) 0;
  color: var(--topbar-fg);
}
.js .hero .topbar { opacity: 0; } /* a intro mostra depois do overlay */
.topbar__mark {
  position: relative;
  margin-top: calc(7 * var(--v));
  width: max(26px, calc(35 * var(--v)));
  aspect-ratio: 496 / 503;
  overflow: hidden;
}
.topbar__mark .s70 { filter: var(--mark-filter); }
.topbar__link {
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: max(13px, calc(16.3 * var(--v)));
  line-height: 1.3;
  text-underline-offset: .2em;
  text-decoration-thickness: 5.5%;
}
.topbar__link:hover, .topbar__link[aria-current="page"] { text-decoration-line: underline; }

/* =========================================================
   SOON
   ========================================================= */
.soon-page { background: var(--c-earth); }
.hero--soon { min-height: 520px; }
.hero--soon .hero__media::after {
  background: linear-gradient(to bottom, rgb(0 0 0 / .25), transparent 22%, transparent 42%, rgb(0 0 0 / .32) 58%, rgb(0 0 0 / .4));
}

.soon-info {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  top: calc(604.92 / 1127 * 100%);
  color: var(--c-offwhite);
}
.soon-info::before { /* filete entre as margens do grid */
  content: "";
  position: absolute;
  top: 0;
  left: var(--grid-margin); right: var(--grid-margin);
  height: max(1px, calc(.89 * var(--v)));
  background: var(--c-offwhite);
}
.soon-info__label,
.soon-info__text {
  padding-top: calc(13.7 * var(--v));
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.soon-info__label { grid-column: 1 / 6;  font-size: max(13px, calc(21.32 * var(--v))); }
.soon-info__text  { grid-column: 8 / 13; font-size: max(15px, calc(28.43 * var(--v))); }

.hero-logo--soon { bottom: calc(66 * var(--v)); }

/* =========================================================
   CONTATO
   ========================================================= */
.contact-page { background: var(--c-offwhite); color: #000; }
.ct {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(212.88 * var(--v));
  padding-bottom: var(--section-py, 80px);
  align-items: start;
}

.ct-aside { grid-column: 1 / 5; padding-top: calc(5 * var(--v)); }
.ct-aside__intro {
  font-weight: 500;
  font-size: max(16px, calc(24 * var(--v)));
  line-height: 1.1;
  letter-spacing: .01em;
}
.ct-aside__intro p + p { margin-top: 1.1em; }
.ct-aside__list {
  font-weight: 500;
  font-size: max(16px, calc(24 * var(--v)));
  line-height: 1.23;
}
.ct-aside__list--contacts { margin-top: calc(75 * var(--v)); }
.ct-aside__list--social   { margin-top: calc(106 * var(--v)); }
.ct-aside__list a { transition: opacity .3s; }

.ct-form { grid-column: 6 / 13; color: #231717; font-family: var(--f-ui); }
.ct-form__title {
  font-weight: 500;
  font-size: max(22px, calc(32 * var(--v)));
  line-height: 1.37;
}
.ct-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-form__label {
  display: block;
  padding: 0;
  font-weight: 700;
  font-size: max(13px, calc(16 * var(--v)));
  line-height: 1.37;
}
.ct-form .ct-subject { margin-top: calc(51 * var(--v)); }
.ct-subject__options {
  display: flex;
  gap: calc(40 * var(--v));
  margin-top: calc(26 * var(--v));
}
.ct-radio {
  display: inline-flex;
  align-items: center;
  gap: calc(15 * var(--v));
  font-weight: 700;
  font-size: max(13px, calc(16 * var(--v)));
  cursor: pointer;
}
.ct-radio input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: max(15px, calc(18.65 * var(--v)));
  height: max(15px, calc(18.65 * var(--v)));
  border: 1px solid #bebebe;
  border-radius: 50%;
  position: relative;
  flex: none;
  cursor: pointer;
  transition: border-color .3s;
}
.ct-radio input::before { /* dot no centro do radio selecionado */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 50%;
  border-radius: 50%;
  background: #231717;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .35s var(--ease-out);
}
.ct-radio input:checked { border-color: #231717; }
.ct-radio input:checked::before { transform: translate(-50%, -50%) scale(1); }
.ct-radio input:focus-visible { outline: 1px solid #231717; outline-offset: 3px; }

.ct-field { display: block; margin-top: calc(42 * var(--v)); }
.ct-field + .ct-field { margin-top: calc(33.4 * var(--v)); }
.ct-field input,
.ct-field textarea {
  display: block;
  width: 100%;
  min-height: max(36px, calc(42 * var(--v)));
  padding: calc(8 * var(--v)) 0 calc(6 * var(--v));
  border: 0;
  border-bottom: 1px solid #b7b7b7;
  border-radius: 0;
  background: transparent;
  color: #231717;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: max(16px, calc(20 * var(--v)));
  line-height: 1.3;
  outline: none;
  resize: none;
  transition: border-color .3s;
}
.ct-field textarea { overflow: hidden; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #231717; opacity: .32; transition: opacity .3s; }
.ct-field input:focus::placeholder,
.ct-field textarea:focus::placeholder { opacity: .18; }
.ct-field input:focus,
.ct-field textarea:focus { border-bottom-color: #231717; }

.ct-submit.link-arrow {
  margin-top: calc(58 * var(--v));
  padding: 0 0 .3em;
  border: 0;
  background: none;
  color: #231717;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: max(13px, calc(16 * var(--v)));
  cursor: pointer;
}
.ct-form__status { margin-top: 1em; font-size: max(13px, calc(16 * var(--v))); color: #6b6461; min-height: 1.4em; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  .topbar { padding-top: 16px; }
  .topbar__mark { margin-top: 0; }

  .soon-info { top: auto; bottom: calc((100vw - 32px) * .04855 + 64px); }
  .soon-info__label, .soon-info__text { grid-column: 1 / -1; padding-top: 12px; }
  .soon-info__label { font-size: 13px; }
  .soon-info__text { font-size: 18px; line-height: 1.15; }
  .hero-logo--soon { bottom: 24px; }

  .ct { padding-top: 104px; }
  .ct-aside, .ct-form { grid-column: 1 / -1; }
  .ct-aside { padding-top: 0; }
  .ct-aside__list--contacts { margin-top: 28px; }
  .ct-aside__list--social { margin-top: 20px; }
  .ct-form { margin-top: 56px; }
  .ct-form .ct-subject { margin-top: 28px; }
  .ct-subject__options { gap: 28px; margin-top: 14px; }
  .ct-radio { gap: 10px; }
  .ct-field { margin-top: 28px; }
  .ct-field + .ct-field { margin-top: 24px; }
  .ct-submit { margin-top: 40px; }
}

.js [data-intro-fade] { opacity: 0; } /* a intro revela depois do overlay */
