/* ============================================================
   LAYOUT "MARCA" — referência Engel & Völkers
   ============================================================
   O único dos seis layouts desenhado para quem VENDE. O herói é a
   marca do tenant, não um imóvel; a posição 2 é "venda conosco";
   o formulário principal é uma valoração em 3 passos.

   ASSINATURA: linhas verticais de 1px. Elas separam os blocos, se
   desenham de cima para baixo ao entrar na tela e voltam no fim
   como a faixa de 140 barras que reage ao cursor. É o que esta
   home tem no lugar das molduras e sombras dos outros.

   CONTRAPONTO aos outros cinco:
     layout 1 — grade densa, busca em painel, escala A–G
     layout 2 — 2 colunas, mosaico de 12 col, busca no fim
     layout 3 — seções de tela cheia que se cobrem (sticky)
     aqui ..... coluna centrada, muito branco, UMA superfície de
                acento na página inteira (a faixa de honorários)

   REGRAS DURAS deste arquivo:
     - sem border-radius, exceto os dois botões circulares;
     - sem box-shadow em lugar nenhum;
     - Marcellus nunca em bold (tem um peso só) — a hierarquia é
       por tamanho e caixa alta;
     - cor só por variável do tenant, nunca hex, com a exceção
       das cores oficiais do certificado energético, que vêm do
       css/energy-certificate.css e não pertencem ao cliente.

   Tudo aqui é escopado por html[data-layout="marca"]: as seções
   convivem no mesmo index.html dos outros cinco layouts.
   ============================================================ */

html[data-layout="marca"] {
    --mar-pad-x: clamp(20px, 5vw, 64px);
    --mar-pad-y: clamp(72px, 10vw, 128px);
    --mar-wrap: 1200px;
    --mar-eyebrow-ls: .24em;
}

html[data-layout="marca"] body {
    background: var(--dv2-bg);
    color: var(--dv2-text);
}

/* ---------- blocos de base ---------- */

html[data-layout="marca"] .mar-sec {
    padding: var(--mar-pad-y) var(--mar-pad-x);
    background: var(--dv2-bg);
}

html[data-layout="marca"] .mar-sec-fundo {
    background: var(--dv2-surface);
}

html[data-layout="marca"] .mar-wrap {
    max-width: var(--mar-wrap);
    margin: 0 auto;
}

html[data-layout="marca"] .mar-wrap-estreito {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

html[data-layout="marca"] .mar-eyebrow {
    margin: 0 0 16px;
    font-family: var(--dv2-font-body);
    font-size: 11px;
    letter-spacing: var(--mar-eyebrow-ls);
    text-transform: uppercase;
    color: var(--dv2-text-muted);
}

html[data-layout="marca"] .mar-centro { text-align: center; }

html[data-layout="marca"] .mar-h2,
html[data-layout="marca"] .mar-h2-grande,
html[data-layout="marca"] .mar-h3,
html[data-layout="marca"] .mar-h3-grande {
    margin: 0;
    font-family: var(--dv2-font-display);
    font-weight: 400;          /* Marcellus tem um peso só */
    text-wrap: balance;
}

html[data-layout="marca"] .mar-h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.15;
}
html[data-layout="marca"] .mar-h2-grande {
    font-size: clamp(30px, 4.4vw, 56px);
    line-height: 1.08;
}
html[data-layout="marca"] .mar-h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.2;
}
html[data-layout="marca"] .mar-h3-grande {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
}

/* A linha vertical de 1px: o motivo que amarra a página. */
html[data-layout="marca"] .mar-linha {
    display: block;
    width: 1px;
    height: clamp(48px, 7vw, 88px);
    background: var(--dv2-text);
    transform-origin: top;
}
html[data-layout="marca"] .mar-linha-centro { margin: 0 auto 32px; }

html[data-layout="marca"] .mar-linha-topo {
    display: flex;
    justify-content: center;
}
html[data-layout="marca"] .mar-linha-topo .mar-linha {
    height: clamp(56px, 8vw, 96px);
}

/* ---------- botões ---------- */

html[data-layout="marca"] .mar-btn,
html[data-layout="marca"] .mar-btn-vazado,
html[data-layout="marca"] .mar-btn-claro {
    display: inline-block;
    font-family: var(--dv2-font-body);
    font-size: 14px;
    letter-spacing: .04em;
    line-height: 1.2;
    padding: 16px 28px;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity .2s ease;
}

html[data-layout="marca"] .mar-btn {
    background: var(--tenant-accent);
    color: var(--tenant-on-accent);
}

html[data-layout="marca"] .mar-btn-vazado {
    background: transparent;
    color: var(--dv2-text);
    border: 1px solid var(--dv2-text);
    padding: 15px 28px;
}

/* Botão dentro da faixa de acento: inverte, porque ali o fundo já é o acento. */
html[data-layout="marca"] .mar-btn-claro {
    background: var(--tenant-on-accent);
    color: var(--tenant-accent);
    padding: 15px 26px;
}

html[data-layout="marca"] .mar-btn:hover,
html[data-layout="marca"] .mar-btn-vazado:hover,
html[data-layout="marca"] .mar-btn-claro:hover,
html[data-layout="marca"] .mar-link:hover,
html[data-layout="marca"] .mar-btn-texto:hover { opacity: .72; }

html[data-layout="marca"] .mar-btn[disabled],
html[data-layout="marca"] .mar-btn-texto[disabled] {
    opacity: .6;
    cursor: default;
}

html[data-layout="marca"] .mar-btn-texto {
    background: none;
    border: 0;
    padding: 12px 0;
    font-family: var(--dv2-font-body);
    font-size: 14px;
    letter-spacing: .04em;
    color: var(--dv2-text);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 4px;
}

html[data-layout="marca"] .mar-link {
    color: var(--dv2-link);
    font-size: 14px;
    text-underline-offset: 5px;
    white-space: nowrap;
}

html[data-layout="marca"] .mar-circ {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--dv2-text);
    background: transparent;
    color: var(--dv2-text);
    font-size: 18px;
    cursor: pointer;
    transition: background .2s ease;
}
html[data-layout="marca"] .mar-circ:hover { background: var(--dv2-bg); }

/* ---------- 1. herói ---------- */

html[data-layout="marca"] .mar-hero {
    background: var(--dv2-surface);
    padding: clamp(64px, 10vw, 128px) var(--mar-pad-x) 0;
}

html[data-layout="marca"] .mar-hero-col {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

html[data-layout="marca"] .mar-hero .mar-eyebrow { margin-bottom: 28px; }

/* O nome ocupa o lugar do logo quando o tenant não tem imagem. É a peça
   mais pesada da página de propósito: o layout vende a marca. */
html[data-layout="marca"] .mar-hero-nome {
    font-family: var(--dv2-font-display);
    font-size: clamp(44px, 10.5vw, 148px);
    line-height: .95;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-wrap: balance;
}

html[data-layout="marca"] .mar-hero-logo {
    max-width: min(100%, 520px);
    max-height: clamp(64px, 12vw, 160px);
    width: auto;
    height: auto;
    object-fit: contain;
}

html[data-layout="marca"] .mar-hero .mar-linha {
    margin: clamp(32px, 5vw, 56px) 0;
}

html[data-layout="marca"] .mar-hero-h1 {
    margin: 0;
    font-family: var(--dv2-font-display);
    font-weight: 400;
    font-size: clamp(28px, 4.2vw, 52px);
    line-height: 1.12;
    text-wrap: balance;
}
html[data-layout="marca"] .mar-hero-h1 span { display: block; }
html[data-layout="marca"] .mar-hero-h1-2 { color: var(--dv2-text-muted); }

html[data-layout="marca"] .mar-hero-p {
    margin: 28px 0 0;
    max-width: 600px;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.65;
    color: var(--dv2-text-muted);
    text-wrap: pretty;
}

html[data-layout="marca"] .mar-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

html[data-layout="marca"] .mar-hero-foto {
    max-width: 1400px;
    margin: clamp(56px, 8vw, 104px) auto 0;
}
html[data-layout="marca"] .mar-hero-foto img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 280px;
    object-fit: cover;
}

/* ---------- 2. vender com nosotros ---------- */

html[data-layout="marca"] .mar-vender {
    padding-top: 0;
}

html[data-layout="marca"] .mar-vender-cab {
    text-align: center;
    max-width: 820px;
    margin: clamp(40px, 6vw, 72px) auto 0;
}

html[data-layout="marca"] .mar-pasos {
    list-style: none;
    margin: clamp(56px, 7vw, 88px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 40px 32px;
}
html[data-layout="marca"] .mar-pasos li {
    border-top: 1px solid var(--dv2-text);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
html[data-layout="marca"] .mar-paso-n {
    font-family: var(--dv2-font-display);
    font-size: 40px;
    line-height: 1;
    color: var(--dv2-text-muted);
}
html[data-layout="marca"] .mar-pasos h3 {
    margin: 8px 0 0;
    font-family: var(--dv2-font-display);
    font-weight: 400;
    font-size: 21px;
    line-height: 1.25;
}
html[data-layout="marca"] .mar-pasos p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dv2-text-muted);
    text-wrap: pretty;
}

/* A ÚNICA superfície grande de acento da página inteira. Se outra aparecer,
   o layout perde o que o separa dos outros cinco. */
html[data-layout="marca"] .mar-honorarios {
    margin-top: clamp(56px, 7vw, 88px);
    background: var(--tenant-accent);
    color: var(--tenant-on-accent);
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 40px 64px;
    align-items: start;
}
html[data-layout="marca"] .mar-honorarios .mar-eyebrow { color: inherit; }

html[data-layout="marca"] .mar-hon-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
html[data-layout="marca"] .mar-hon-nota {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 360px;
}
html[data-layout="marca"] .mar-hon-col .mar-btn-claro { margin-top: 8px; }

html[data-layout="marca"] .mar-hon-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 0 32px;
}
html[data-layout="marca"] .mar-hon-lista li {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid currentColor;
    font-size: 16px;
    line-height: 1.45;
}
html[data-layout="marca"] .mar-losango {
    flex: none;
    width: 7px;
    height: 7px;
    border: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

/* ---------- 3. valoração ---------- */

html[data-layout="marca"] .mar-val-card {
    max-width: 760px;
    margin: clamp(40px, 5vw, 56px) auto 0;
    background: var(--dv2-bg);
    border: 1px solid var(--dv2-line);
    padding: clamp(24px, 5vw, 56px);
}

html[data-layout="marca"] .mar-val-barra {
    display: flex;
    gap: 6px;
}
html[data-layout="marca"] .mar-val-barra span {
    flex: 1;
    height: 2px;
    background: var(--dv2-line);
    transition: background .4s ease;
}
html[data-layout="marca"] .mar-val-barra span.is-on { background: var(--dv2-text); }

html[data-layout="marca"] .mar-val-passo-rot {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 0 36px;
    font-size: 13px;
    color: var(--dv2-text-muted);
}

html[data-layout="marca"] .mar-val-p {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;             /* fieldset não encolhe sozinho em grid/flex */
}
html[data-layout="marca"] .mar-val-p legend,
html[data-layout="marca"] .mar-campo-rot {
    display: block;
    padding: 0;
    margin-bottom: 16px;
    font-family: var(--dv2-font-display);
    font-size: 22px;
    line-height: 1.25;
}

html[data-layout="marca"] .mar-val-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}
html[data-layout="marca"] .mar-tile {
    min-height: 64px;
    padding: 14px;
    background: var(--dv2-bg);
    color: var(--dv2-text);
    border: 1px solid var(--dv2-line);
    font-family: var(--dv2-font-body);
    font-size: 15px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
html[data-layout="marca"] .mar-tile:hover { border-color: var(--dv2-text); }
html[data-layout="marca"] .mar-tile.is-on {
    border-color: var(--dv2-text);
    box-shadow: inset 0 0 0 1px var(--dv2-text);
}

html[data-layout="marca"] .mar-campo {
    display: block;
    margin-top: 32px;
}
html[data-layout="marca"] .mar-campo .mar-campo-rot { margin-bottom: 6px; }

html[data-layout="marca"] .mar-campo-unid {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border-bottom: 1px solid var(--dv2-text);
}
html[data-layout="marca"] .mar-campo-unid span { color: var(--dv2-text-muted); }

/* 17px e não 15: abaixo de 16px o iOS dá zoom ao focar o campo. */
html[data-layout="marca"] .mar-val-card input[type="text"],
html[data-layout="marca"] .mar-val-card input[type="tel"],
html[data-layout="marca"] .mar-val-card input[type="email"] {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--dv2-text);
    font-family: var(--dv2-font-body);
    font-size: 17px;
    padding: 12px 0;
    outline: none;
}
html[data-layout="marca"] .mar-campo > input,
html[data-layout="marca"] .mar-val-dados input[type="text"],
html[data-layout="marca"] .mar-val-dados input[type="tel"],
html[data-layout="marca"] .mar-val-dados input[type="email"] {
    border-bottom: 1px solid var(--dv2-text);
}
html[data-layout="marca"] .mar-campo-unid input { flex: 1; }
html[data-layout="marca"] .mar-val-card input::placeholder {
    color: var(--dv2-text-muted);
    opacity: 1;
}
html[data-layout="marca"] .mar-val-card input:focus-visible {
    outline: 2px solid var(--tenant-accent);
    outline-offset: 3px;
}

html[data-layout="marca"] .mar-val-sub { margin-top: 36px; }
html[data-layout="marca"] .mar-val-habs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
html[data-layout="marca"] .mar-hab {
    height: 56px;
    background: transparent;
    color: var(--dv2-text);
    border: 1px solid var(--dv2-text);
    font-family: var(--dv2-font-body);
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
html[data-layout="marca"] .mar-hab.is-on {
    background: var(--dv2-text);
    color: var(--dv2-bg);
}

html[data-layout="marca"] .mar-val-dados {
    display: grid;
    gap: 22px;
}
html[data-layout="marca"] .mar-val-dupla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 22px;
}
html[data-layout="marca"] .mar-val-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dv2-text-muted);
    cursor: pointer;
}
html[data-layout="marca"] .mar-val-consent input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex: none;
    accent-color: var(--tenant-accent);
}

/* O erro é caixa de texto com borda, não cor: a paleta é do tenant e um
   vermelho fixo brigaria com ela. */
html[data-layout="marca"] .mar-val-erro {
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--dv2-text);
    font-size: 14px;
    line-height: 1.5;
}

html[data-layout="marca"] .mar-val-acoes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}
html[data-layout="marca"] .mar-val-espaco { flex: 1; }

html[data-layout="marca"] .mar-val-ok {
    text-align: center;
    padding: 16px 0;
}
html[data-layout="marca"] .mar-val-ok h3 {
    margin: 0;
    font-family: var(--dv2-font-display);
    font-weight: 400;
    font-size: 30px;
}
html[data-layout="marca"] .mar-val-ok p {
    margin: 16px auto 0;
    max-width: 440px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dv2-text-muted);
}
html[data-layout="marca"] .mar-val-resumo { font-size: 13px; margin-top: 24px; }
html[data-layout="marca"] .mar-val-ok .mar-btn-vazado { margin-top: 32px; }

/* ---------- 4. destacados ---------- */

html[data-layout="marca"] .mar-dest-cab {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 5vw, 64px);
}

html[data-layout="marca"] .mar-dest-grade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 56px 32px;
}

html[data-layout="marca"] .mar-card {
    display: flex;
    flex-direction: column;
    color: var(--dv2-text);
    text-decoration: none;
}
html[data-layout="marca"] .mar-card-foto {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--dv2-surface);
}
html[data-layout="marca"] .mar-card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
html[data-layout="marca"] .mar-card:hover .mar-card-foto img { transform: scale(1.03); }

html[data-layout="marca"] .mar-card-selos {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
html[data-layout="marca"] .mar-selo {
    background: var(--dv2-bg);
    color: var(--dv2-text);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 7px 10px;
    white-space: nowrap;
}

html[data-layout="marca"] .mar-card-zona {
    margin: 20px 0 0;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dv2-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html[data-layout="marca"] .mar-card-titulo {
    margin: 8px 0 0;
    font-family: var(--dv2-font-display);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    text-wrap: pretty;
}
html[data-layout="marca"] .mar-card-pe {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dv2-line);
}
html[data-layout="marca"] .mar-card-preco { font-size: 18px; font-weight: 500; }
html[data-layout="marca"] .mar-card-specs { font-size: 14px; color: var(--dv2-text-muted); }

/* ---------- 5. quiénes somos ---------- */

html[data-layout="marca"] .mar-sobre {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
html[data-layout="marca"] .mar-sobre-foto img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
html[data-layout="marca"] .mar-sobre-esp {
    margin: 14px 0 0;
    font-family: var(--dv2-font-display);
    font-size: 20px;
    color: var(--dv2-text-muted);
}
html[data-layout="marca"] .mar-sobre-corpo {
    margin: 28px 0 0;
    font-size: 17px;
    line-height: 1.7;
    text-wrap: pretty;
}

html[data-layout="marca"] .mar-cred {
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 24px 32px;
}
html[data-layout="marca"] .mar-cred > div {
    border-top: 1px solid var(--dv2-line);
    padding-top: 16px;
}
html[data-layout="marca"] .mar-cred dt {
    font-family: var(--dv2-font-display);
    font-size: 26px;
    line-height: 1.2;
}
html[data-layout="marca"] .mar-cred dd {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dv2-text-muted);
}

/* ---------- 6. reseñas ---------- */

html[data-layout="marca"] .mar-res-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}
html[data-layout="marca"] .mar-res-col .mar-eyebrow { margin-bottom: 40px; }

html[data-layout="marca"] .mar-res {
    margin: 0;
    transition: opacity .35s ease;
}
html[data-layout="marca"] .mar-res-texto {
    margin: 0;
    font-family: var(--dv2-font-display);
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.35;
    text-wrap: balance;
}
html[data-layout="marca"] .mar-res-autor {
    margin-top: 28px;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dv2-text-muted);
}

html[data-layout="marca"] .mar-res-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 44px;
}
html[data-layout="marca"] .mar-res-pos {
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--dv2-text-muted);
    min-width: 64px;
}

/* ---------- 7. recrutamento ---------- */

html[data-layout="marca"] .mar-recruit-caixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    background: var(--dv2-surface);
    margin-top: clamp(40px, 5vw, 64px);
}
html[data-layout="marca"] .mar-recruit-foto {
    min-height: 340px;
}
html[data-layout="marca"] .mar-recruit-foto img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}
html[data-layout="marca"] .mar-recruit-texto {
    padding: clamp(32px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
html[data-layout="marca"] .mar-recruit-corpo {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--dv2-text-muted);
    max-width: 480px;
    text-wrap: pretty;
}
html[data-layout="marca"] .mar-recruit-texto .mar-btn { margin-top: 8px; }

/* ---------- 8. boletim ---------- */

html[data-layout="marca"] .mar-boletin {
    padding-top: 0;
}
html[data-layout="marca"] .mar-bol-grid {
    border-top: 1px solid var(--dv2-line);
    border-bottom: 1px solid var(--dv2-line);
    padding: clamp(40px, 5vw, 56px) 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 24px 64px;
    align-items: center;
}
html[data-layout="marca"] .mar-bol-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
    border-bottom: 1px solid var(--dv2-text);
}
html[data-layout="marca"] .mar-bol-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--dv2-text);
    font-family: var(--dv2-font-body);
    font-size: 17px;
    padding: 14px 0;
    outline: none;
}
html[data-layout="marca"] .mar-bol-form input::placeholder {
    color: var(--dv2-text-muted);
    opacity: 1;
}
html[data-layout="marca"] .mar-bol-form .mar-btn-texto {
    text-decoration: none;
    padding: 0 0 0 12px;
}
html[data-layout="marca"] .mar-bol-msg {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.6;
}
html[data-layout="marca"] .mar-bol-msg.is-erro {
    padding: 12px 14px;
    border: 1px solid var(--dv2-text);
    font-size: 14px;
}

/* ---------- 9. contato (seção compartilhada, recomposta) ---------- */

/* O #contato é o mesmo de todos os layouts — tem o widget de agendamento e
   as mensagens rápidas de WhatsApp do tenant, que não se duplicam aqui. O
   que muda é a composição: coluna única, centrada, sem moldura. */
html[data-layout="marca"] .contact-section {
    background: var(--dv2-surface);
    padding: var(--mar-pad-y) var(--mar-pad-x);
}
html[data-layout="marca"] .contact-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 72px);
    max-width: 720px;
    margin: 0 auto;
}
html[data-layout="marca"] .contact-title {
    font-family: var(--dv2-font-display);
    font-weight: 400;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    text-align: center;
}
html[data-layout="marca"] .contact-subtitle {
    text-align: center;
    color: var(--dv2-text-muted);
}
html[data-layout="marca"] .contact-chat,
html[data-layout="marca"] .contact-col-right {
    border: 1px solid var(--dv2-line);
    border-radius: 0;
    box-shadow: none;
    background: var(--dv2-bg);
}
html[data-layout="marca"] .contact-info-grid {
    margin-top: 28px;
    text-align: center;
}
html[data-layout="marca"] .contact-info-label {
    font-size: 11px;
    letter-spacing: var(--mar-eyebrow-ls);
    text-transform: uppercase;
    color: var(--dv2-text-muted);
}

/* ---------- faixa de barras ---------- */

html[data-layout="marca"] .mar-barras {
    background: var(--dv2-bg);
    height: clamp(110px, 14vw, 170px);
    padding: 0 clamp(8px, 2vw, 24px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid var(--dv2-text);
    overflow: hidden;
}
html[data-layout="marca"] .mar-barras span {
    flex: none;
    width: 1px;
    background: var(--dv2-text-muted);
    transition: height .6s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reveal ---------- */

/* Só o JS adiciona .mar-oculto, e só quando o movimento está permitido —
   quem pede prefers-reduced-motion nunca tem nada escondido para revelar. */
html[data-layout="marca"] .mar-oculto {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
html[data-layout="marca"] .mar-oculto.mar-linha,
html[data-layout="marca"] .mar-oculto[data-mar-reveal="line"] {
    opacity: 1;
    transform: scaleY(0);
    transition: transform 1.1s cubic-bezier(.65, 0, .35, 1);
}
html[data-layout="marca"] .mar-oculto.is-visivel,
html[data-layout="marca"] [data-mar-reveal].is-visivel {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html[data-layout="marca"] .mar-oculto,
    html[data-layout="marca"] [data-mar-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html[data-layout="marca"] .mar-card-foto img,
    html[data-layout="marca"] .mar-barras span,
    html[data-layout="marca"] .mar-res { transition: none; }
    html[data-layout="marca"] .mar-card:hover .mar-card-foto img { transform: none; }
}
