@font-face {
  font-family: 'Brand'; src: url('../fonts/Brand.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Mulish'; src: url('../fonts/Mulish-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --color-bg: #fef2ed;
  --color-surface: #f8e6e0;
  --color-text: #2b2224;
  --color-divider: #e7d1cc;
  --color-accent: #a6214b;
  --color-accent-100: #fbeef1;
  --color-accent-200: #e6c1c7;
  --color-accent-300: #d9a1ad;
  --color-accent-400: #ce7e8f;
  --color-accent-500: #a6214b;
  --color-accent-600: #941d43;
  --color-accent-700: #7d1839;
  --color-accent-800: #64132e;
  --color-accent-900: #4a0e22;
  --color-accent-2: #ce7e8f;
  --color-accent-2-500: #ce7e8f;
  --color-accent-2-700: #7d1839;

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #141211;

  --font-heading: 'Brand', Georgia, serif;
  --font-heading-weight: 400;
  --font-body: 'Mulish', system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --radius-sm: 0px; --radius-md: 0px; --radius-lg: 0px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #141211 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #141211 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #141211 22%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-bg); overflow-x: hidden; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.grayscale { filter: none; }


@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
  transition: background .16s, color .16s, border-color .16s;
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; font-family: inherit; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b2224' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; cursor: pointer; padding-right: 28px; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.radio .dot { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--color-divider); }
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot { border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 4px var(--color-bg); }

/* — tags — */
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; border-radius: calc(var(--radius-md) * 0.75); }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); padding: var(--space-2); border-bottom: 2px solid var(--color-divider); white-space: nowrap; }
.table td { padding: var(--space-2); border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: var(--space-4); background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent); }
.dialog { width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: var(--shadow-lg); }
.dialog-title { font-family: var(--font-heading); font-weight: 500; font-size: 20px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — misc — */
.gal-nav { transition: background .2s; }
.gal-nav:hover { background: var(--color-accent) !important; }
.slot-ph { width: 100%; height: 100%; background: var(--color-surface); display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; color: color-mix(in srgb, var(--color-text) 40%, transparent); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.loading-spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--color-text) 20%, transparent); border-top-color: var(--color-accent); animation: spin .7s linear infinite; }

@media (max-width: 720px) {
  .table { font-size: 12.5px; }
}

/* — tela de carregamento — */
.ptk-loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--color-accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .5s ease, visibility .5s ease;
}
.ptk-loader.ptk-loader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ptk-loader-mark { width: 88px; height: 88px; object-fit: contain; animation: ptk-mark-in .9s cubic-bezier(.2,.8,.2,1) .1s both; }
@keyframes ptk-mark-in {
  0% { transform: scale(.72); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.ptk-loader-word {
  font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: #fff; opacity: 0; animation: ptk-fade-in .6s ease .55s both;
}
.ptk-loader-bar { width: 148px; height: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.ptk-loader-bar-fill { height: 100%; width: 0%; background: #fff; animation: ptk-bar-fill 1.3s cubic-bezier(.3,.7,.3,1) .3s forwards; }
@keyframes ptk-bar-fill { to { width: 100%; } }
@keyframes ptk-fade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ptk-loader-mark, .ptk-loader-word, .ptk-loader-bar-fill { animation: none !important; opacity: 1 !important; }
  .ptk-loader-bar-fill { width: 100% !important; }
}

/* — aviso de cookies — */
.ptk-cookie-bar {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 250; max-width: 620px; margin: 0 auto;
  background: var(--color-text); color: var(--color-bg); padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  box-shadow: var(--shadow-lg); animation: rise .4s cubic-bezier(.2,.8,.2,1) both;
}
.ptk-cookie-bar p { margin: 0; font-size: 12.5px; line-height: 1.55; flex: 1 1 260px; color: rgba(254,242,237,.88); }
.ptk-cookie-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ptk-cookie-bar .btn-primary { flex: none; }

.ptk-property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.ptk-card { min-width: 0; height: 100%; display: flex; flex-direction: column; }
.ptk-card-media { flex: none; }
.ptk-card > a { display: flex !important; flex-direction: column; flex: 1; }
.ptk-card > a > div:first-child { min-height: 2.28em; }
.ptk-card > a > div:nth-child(2) { margin-bottom: 16px; }
.ptk-card-meta { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (max-width: 850px) { .ptk-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ptk-property-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.ptk-method-steps {
  margin-top: 34px; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.ptk-method-step {
  padding: 22px 20px; background: var(--color-surface);
  border-top: 2px solid var(--color-accent-300);
}
.ptk-method-step:last-child { grid-column: 1 / -1; }
.ptk-method-step > div:first-child { letter-spacing: .12em; margin-bottom: 12px !important; }
@media (max-width: 480px) {
  .ptk-method-steps { grid-template-columns: 1fr; gap: 12px; }
  .ptk-method-step { padding: 20px; }
}

.ptk-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: stretch;
}
.ptk-about-copy { min-width: 0; }
.ptk-about-copy > p:first-child { margin-top: 0; }
.ptk-about-photo {
  min-height: 520px;
  overflow: hidden;
  background: var(--color-surface);
}
.ptk-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
@media (max-width: 820px) {
  .ptk-about-layout { grid-template-columns: 1fr; }
  .ptk-about-photo { min-height: 0; aspect-ratio: 4 / 5; }
}

.ptk-services-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ptk-services-heading {
  width: 100%;
  max-width: 1100px;
}
.ptk-services-heading h1 {
  margin: 0;
  max-width: 18em;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ptk-services-heading h1 span {
  display: block;
  white-space: nowrap;
}
.ptk-service-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--color-surface);
  border-top: 2px solid var(--color-accent-300);
}
@media (max-width: 720px) {
  .ptk-services-grid { grid-template-columns: 1fr; }
  .ptk-services-heading h1 {
    max-width: none;
    font-size: clamp(26px, 9vw, 40px);
    line-height: 1.06;
  }
}

/* Movimento leve, sem deslocar o layout ou alterar as cores das fotos. */
.ptk-page-enter { animation: ptk-page-in .38s ease-out both; }
.ptk-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.ptk-reveal.ptk-revealed, .ptk-reveal:focus-within { opacity: 1; transform: none; }
.ptk-card-media img { transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.ptk-card > a { transition: color .2s ease; }
.ptk-card button svg { transition: transform .22s ease; }
.btn { transition: background .2s, color .2s, border-color .2s, translate .2s, box-shadow .2s; }
.btn:active { translate: 0 1px; }
.ptk-hero-enter > div:first-child img { animation: ptk-hero-in 1.6s cubic-bezier(.2,.65,.3,1) both; }
.ptk-hero-enter .ptk-hero-copy > * { animation: rise .85s cubic-bezier(.2,.75,.25,1) both; }
.ptk-hero-enter .ptk-hero-copy > :nth-child(2) { animation-delay: .12s; }
.ptk-hero-enter .ptk-hero-copy > :nth-child(3) { animation-delay: .24s; }
.ptk-slide-enter { animation: ptk-photo-in .45s ease-out both; }
.dialog { animation: ptk-dialog-in .25s cubic-bezier(.2,.75,.25,1) both; }
@media (hover: hover) and (pointer: fine) {
  .ptk-card:hover .ptk-card-media img, .ptk-card:focus-within .ptk-card-media img { transform: scale(1.035); }
  .ptk-card:hover > a { color: var(--color-accent) !important; }
  .ptk-card button:hover svg { transform: scale(1.16); }
  .btn:hover { translate: 0 -2px; }
  .btn-primary:hover { box-shadow: 0 5px 16px color-mix(in srgb, var(--color-accent) 20%, transparent); }
}
@keyframes ptk-page-in { from { opacity: .4; } to { opacity: 1; } }
@keyframes ptk-hero-in { from { transform: scale(1.055); } to { transform: scale(1); } }
@keyframes ptk-photo-in { from { opacity: .25; transform: scale(1.012); } to { opacity: 1; transform: none; } }
@keyframes ptk-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ptk-reveal { opacity: 1; transform: none; }
  .ptk-card-media img { transform: none !important; }
  .btn { translate: none !important; }
}

/* Identidade oficial — manual de setembro de 2026. */
body { font-synthesis: none; }
.ptk-brand-logo { width: 260px; height: auto; flex: none; }
.ptk-footer-logo { width: 280px; height: auto; margin-bottom: 28px; }
.ptk-brand-footer { position: relative; isolation: isolate; }
.ptk-brand-footer::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('../images/brand/estampa_rosapalido.svg') right center / 360px auto repeat;
  opacity: .18;
}
.ptk-hero-copy h1 { line-height: 1.12 !important; letter-spacing: 0 !important; }
h1, h2, h3 { font-weight: 400; }
@media (max-width: 560px) {
  .ptk-brand-logo { width: 240px; max-width: 100%; }
  .ptk-footer-logo { width: 260px; max-width: 100%; }
}
