:root {
  --cream: #FDE0C9;
  --cream-light: #FFF4EA;
  --ink: #120A06;
  --orange: #FE6102;
  --amber: #FEB71D;
  --green: #123329;
  --green-deep: #0B241D;

  --font-display: var(--font-sans);
  --font-sans: "Cabin", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --ease: cubic-bezier(0, 0, .2, 1);

  /* rota: sobrescrito em cada página */
  --base: var(--ink);
  --on-base: var(--cream);
  --accent: var(--amber);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Tipografia */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}
.h-hero { font-size: clamp(42px, 6.2vw, 96px); }
.h-xl  { font-size: clamp(40px, 7vw, 96px); }
.h-lg  { font-size: clamp(34px, 5.2vw, 72px); }
.h-md  { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px;
}
.lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 34em; margin: 18px 0 0; }
.accent { color: var(--accent); }

/* Botão pílula com seta (padrão do site) */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 6px 6px 6px 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 600 14px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--cream);
  transition: transform .3s var(--ease);
}
.btn .arrow {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); color: var(--ink); transition: transform .3s var(--ease);
}
@media (hover: hover) {
  .btn:hover .arrow { transform: rotate(-45deg); }
}

.icon-arrow {
  position: relative; display: block; flex: none;
  inline-size: 16px; block-size: 16px;
}
.icon-arrow::before, .icon-arrow::after { content: ""; position: absolute; }
.icon-arrow::before {
  inset: 7px 2px auto 1px; block-size: 2px; border-radius: 1px;
  background: currentColor;
}
.icon-arrow::after {
  inset: 4px 2px auto auto; inline-size: 8px; block-size: 8px;
  border-block-start: 2px solid currentColor; border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
}
.icon-arrow--back { transform: scaleX(-1); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light .arrow { background: var(--ink); color: var(--cream); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber .arrow { background: var(--ink); color: var(--amber); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

/* Header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.top img { height: clamp(48px, 5vw, 64px); width: auto; }
.top .btn { min-height: 42px; font-size: 12px; padding-left: 18px; }
.top .btn .arrow { width: 30px; height: 30px; }
@media (max-width: 520px) { .top .btn .label-long { display: none; } }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--cream); isolation: isolate; overflow: hidden;
}
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero picture img { object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, color-mix(in oklab, var(--base) 92%, transparent) 0%, color-mix(in oklab, var(--base) 55%, transparent) 38%, transparent 70%),
    linear-gradient(to bottom, color-mix(in oklab, var(--base) 55%, transparent) 0%, transparent 22%);
}
.hero .wrap { padding-bottom: clamp(40px, 8vh, 88px); padding-top: 120px; }
@media (min-width: 900px) {
  .hero::after {
    background:
      linear-gradient(90deg, color-mix(in oklab, var(--base) 88%, transparent) 0%, color-mix(in oklab, var(--base) 60%, transparent) 38%, transparent 66%),
      linear-gradient(to top, color-mix(in oklab, var(--base) 70%, transparent) 0%, transparent 40%),
      linear-gradient(to bottom, color-mix(in oklab, var(--base) 55%, transparent) 0%, transparent 22%);
  }
  .hero .display, .hero .lead { max-width: 11.5em; }
  .hero .lead { max-width: 30em; }
}
.hero .kicker { color: var(--accent); }
.hero .lead { color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero-note { font-size: 13px; opacity: .85; }

/* Hero dividido: texto na base de cor, foto sem texto por cima */
.hero--split { display: grid; align-items: stretch; background: var(--base); min-height: auto; }
.hero--split::after { display: none; }
.hero-media { position: relative; min-height: 46svh; overflow: hidden; }
@media (max-width: 899px) { .hero--split .hero-text { padding-top: 24px; padding-bottom: 32px; } .hero--split .lead { margin-top: 12px; } .hero--split .hero-actions { margin-top: 20px; } }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-media img { object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; z-index: 1;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--base) 70%, transparent), transparent); }
.hero--split .hero-text { display: flex; flex-direction: column; justify-content: flex-end; padding: 36px var(--gutter) 48px; }
.hero--split .display { max-width: none; }
@media (min-width: 900px) {
  .hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
  .hero--split .hero-media { order: 2; min-height: 100%; }
  .hero--split .hero-media::after { height: 140px; }
  .hero--split .hero-text { padding: 140px clamp(28px, 4vw, 64px) clamp(48px, 8vh, 96px); }
  .hero--split .h-hero { font-size: clamp(44px, 4.3vw, 76px); }
}

/* Faixa de fotos inclinadas (padrão "sobre" do site) */
.strip {
  display: flex; gap: clamp(12px, 2vw, 24px); align-items: center;
  padding: clamp(40px, 6vw, 72px) 0; overflow: hidden;
}
.strip figure { margin: 0; flex: 0 0 auto; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figure:nth-child(odd) { transform: rotate(-2deg); }
.strip figure:nth-child(even) { transform: rotate(1.6deg) translateY(18px); }
.strip .p { width: clamp(150px, 19vw, 270px); aspect-ratio: 3/4; }
.strip .l { width: clamp(220px, 28vw, 400px); aspect-ratio: 4/3; }

/* Seções */
section { position: relative; }
.pad { padding: clamp(64px, 10vw, 140px) 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.on-base { background: var(--base); color: var(--on-base); }
.on-base .kicker { color: var(--accent); }

/* Bloco editorial: foto grande + texto curto */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; } .split.rev > :first-child { order: 2; } }
.split .photo { aspect-ratio: 4/5; overflow: hidden; }
.split .photo img, .split .photo video { width: 100%; height: 100%; object-fit: cover; }

/* Passos */
.steps { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { border-top: 2px solid currentColor; padding-top: 18px; }
.steps .n { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--orange); }
.on-base .steps .n { color: var(--accent); }
.steps h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 26px; line-height: 1.05; margin: 10px 0 8px; }
.steps p { margin: 0; max-width: 28em; }

/* Galeria editorial (recortes variados) */
.gallery { display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: repeat(2, 1fr); margin-top: clamp(32px, 5vw, 56px); }
.gallery figure { margin: 0; overflow: hidden; position: relative; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 10px; color: var(--cream);
  font: 600 11px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.g-a { grid-column: span 2; aspect-ratio: 16/10; }
.g-b, .g-c { aspect-ratio: 3/4; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; }
  .g-a { grid-column: 1 / span 7; grid-row: span 2; aspect-ratio: auto; }
  .g-b { grid-column: 8 / span 5; aspect-ratio: 16/10; }
  .g-c { grid-column: 8 / span 5; aspect-ratio: 16/10; }
}

/* Faixa de citação sobre vídeo */
.quote { position: relative; color: var(--cream); isolation: isolate; overflow: hidden; }
.quote video, .quote .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote::after { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--base) 62%, transparent); z-index: -1; }
.quote .wrap { min-height: 78svh; display: grid; place-content: center; text-align: center; padding-top: 80px; padding-bottom: 80px; }

/* FAQ */
.faq { max-width: 860px; margin: clamp(32px, 5vw, 56px) auto 0; }
.faq details { border-top: 2px solid currentColor; }
.faq details:last-child { border-bottom: 2px solid currentColor; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 4px; inset-block-start: 50%;
  inline-size: 18px; block-size: 18px; transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
}
.faq details[open] summary::after { background-size: 14px 2px, 0 0; }
.faq details p { margin: 0 0 24px; max-width: 44em; }

/* Formulário */
.form-sec .split { align-items: start; }
.form {
  display: grid; gap: 18px; grid-template-columns: 1fr 1fr;
  background: var(--cream-light); color: var(--ink);
  padding: clamp(22px, 3.5vw, 40px); border-radius: 4px;
}
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font: 600 12px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 16px/1.3 var(--font-sans); color: var(--ink);
  background: #fff; border: 1.5px solid color-mix(in oklab, var(--ink) 35%, transparent); border-radius: 4px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: 13px; margin: 6px 0 0; opacity: .75; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink); font: 600 13px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
}
.chips input:checked + span { background: var(--ink); color: var(--cream); }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.legal { font-size: 13px; margin: 0; opacity: .8; }
.form .btn { justify-self: start; }
.form-ok { display: none; grid-column: 1 / -1; padding: 14px 16px; background: var(--green); color: var(--cream); border-radius: 4px; font-size: 15px; }
.form.sent .form-ok { display: block; }

/* Rodapé */
.foot { background: var(--ink); color: var(--cream); padding: 64px 0 28px; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 14px; }
.foot .big { margin: 48px auto 32px; width: min(560px, 80%); }
.foot small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* Botão flutuante mobile */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
    justify-content: space-between; padding-inline-end: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  }
  .sticky-cta.hide { display: none; }
}

/* Nota de direção: só no mockup, para o Yudi */
.dir-note {
  display: inline-block; margin-top: 14px; padding: 6px 10px; border: 1.5px dashed var(--orange);
  color: var(--orange); background: var(--cream-light); font: 600 11px/1.35 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arrow { transition: none; }
  video[autoplay] { display: none; }
}

/* v2: CTA direto ao WhatsApp */
.btn .wa { width: 18px; height: 18px; }
.occasions { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; }
.occasions li {
  display: grid; gap: 10px 32px; align-items: center;
  border-top: 2px solid currentColor; padding: 22px 0;
}
.occasions li:last-child { border-bottom: 2px solid currentColor; }
.occasions h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.06; margin: 0; }
.occasions p { margin: 0; max-width: 30em; }
.occasions .go {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 600 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; border-bottom: 2px solid var(--orange);
}
@media (min-width: 900px) { .occasions li { grid-template-columns: 1.2fr 1.3fr auto; } .occasions .go { justify-self: end; } }

/* Localização */
.place { display: grid; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
@media (min-width: 900px) { .place { grid-template-columns: 1fr 1.3fr; } }
.place address { font-style: normal; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; margin-top: 22px; }
.place .links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; align-items: center; }
.place .links a.plain { font-weight: 600; text-underline-offset: 4px; }
.map { min-height: 340px; border: 0; width: 100%; height: 100%; filter: saturate(.85); }

/* Faixa final */
.final { text-align: center; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .btn { margin-top: 32px; }

/* Rooftop: diferenciais em linhas, sem cards */
.perks { list-style: none; margin: 28px 0 0; padding: 0; }
.perks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1.5px solid color-mix(in oklab, currentColor 35%, transparent); }
.perks li:last-child { border-bottom: 1.5px solid color-mix(in oklab, currentColor 35%, transparent); }
.perks .n { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--accent); }
.perks strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.1; }
.perks span.t { display: block; margin-top: 4px; opacity: .9; }
.roof-photos { display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: 1fr 1fr; }
.roof-photos figure { margin: 0; overflow: hidden; }
.roof-photos img { width: 100%; height: 100%; object-fit: cover; }
.roof-photos .big { grid-column: span 2; aspect-ratio: 16/10; }
.roof-photos .sm { aspect-ratio: 4/5; }

/* Horários */
.hours { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: 16px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* Ajustes mobile first (2026-11-27) */
.occasions .go { min-height: 48px; padding: 12px 0; }
.place .links a.plain { display: inline-flex; align-items: center; min-height: 48px; }
.top .btn { min-height: 44px; }
.map-wrap { display: none; }
@media (min-width: 900px) { .map-wrap { display: block; } }
@media (max-width: 760px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sticky-cta { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 899px) {
  .roof-photos { order: -1; margin-bottom: 8px; }
  .roof-split > div:first-child { order: 1; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero-media { min-height: 34svh; }
  .hero--split .h-hero { font-size: 38px; }
}
.map-wrap .map { height: 100%; min-height: 380px; }
/* Primeira dobra no celular: CTA visível em 360x640 e 390x844 */
@media (max-width: 899px) {
  .hero-media { min-height: 38svh; }
  .hero--split .h-hero { font-size: clamp(32px, 9.4vw, 44px); }
  .hero--split .kicker { font-size: 11px; letter-spacing: .16em; margin-bottom: 12px; }
  .hero--split .hero-text { padding-top: 20px; padding-bottom: 28px; }
  .top .btn { min-height: 46px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero-media { min-height: 30svh; }
  .hero--split .lead { font-size: 15px; }
}
@media (max-width: 899px) { .final .h-xl, .quote .h-xl { font-size: clamp(28px, 8.2vw, 40px); } }

/* Escala dos títulos */
.display { line-height: 1.02; letter-spacing: .01em; }
.h-xl { font-size: clamp(46px, 8.4vw, 116px); }
.h-lg { font-size: clamp(40px, 6.4vw, 92px); }
.steps .n { font-size: 64px; }
.steps h3, .faq summary { font-size: clamp(26px, 2.6vw, 32px); }
.occasions h3 { font-size: clamp(32px, 4vw, 54px); }
.perks strong { font-size: clamp(24px, 2.4vw, 30px); }
@media (min-width: 900px) { .hero--split .h-hero { font-size: clamp(56px, 5.6vw, 100px); } }
@media (max-width: 899px) {
  .hero--split .h-hero { font-size: clamp(44px, 12.5vw, 56px); }
  .final .h-xl, .quote .h-xl { font-size: clamp(38px, 11vw, 52px); }
}
@media (max-width: 899px) and (max-height: 700px) { .hero--split .h-hero { font-size: 42px; } }
