/* ==========================================================
   Dr. Flávio Aleixo — site institucional
   Design system
   ========================================================== */

@font-face {
  font-family: "MirandaSans";
  src: url("fontes/MirandaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MirandaSans";
  src: url("fontes/MirandaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MirandaSans";
  src: url("fontes/MirandaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterTight";
  src: url("fontes/InterTight-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy:        #003049;
  --navy-deep:   #002035;
  --navy-soft:   #0a4060;
  --ivory:       #F2E4D6;
  --ivory-warm:  #e8d5c0;
  --line:        #d5c3ae;
  --line-soft:   #deccb8;
  --gold:        #50100E;
  --gold-soft:   #7a1c19;
  --text:        #2a3a4a;
  --text-mute:   #6b6e76;
  --text-faint:  #9a9b9f;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "MirandaSans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono:  "InterTight", ui-monospace, "SF Mono", Menlo, monospace;

  --ease:  cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --container: 1280px;
  --gutter: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--navy); color: var(--ivory); }

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

/* ==========================================================
   Typography utilities
   ========================================================== */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-top: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 580px;
  margin-top: 22px;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow {
  width: 14px;
  height: 10px;
  transition: transform .45s var(--ease);
}
.btn:hover .arrow { transform: translateX(6px); }

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0,48,73,.25);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(0,48,73,.04); }

.btn-gold {
  background: var(--gold);
  color: var(--ivory);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: #3d0b0a; border-color: #3d0b0a; }

.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(242,228,214,.3);
}
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(242,228,214,.06); }

.btn-ig {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ig:hover { background: var(--gold); color: var(--ivory); }
.btn-ig svg { width: 18px; height: 18px; }
.btn-ig-light svg { display: block; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all .4s var(--ease);
  background: rgba(242,228,214,0);
  backdrop-filter: blur(0);
}
.site-header.scrolled {
  background: rgba(242,228,214,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}
.footer .brand-mark img {
  mix-blend-mode: screen;
}
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .02em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
  font-weight: 500;
}
.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--navy);
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all .35s var(--ease);
}
.header-cta:hover { background: var(--gold); color: var(--ivory); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--navy);
  transition: all .35s var(--ease);
}
.ig-icon svg { width: 18px; height: 18px; }
.ig-icon:hover { background: var(--gold); color: var(--ivory); }

.menu-toggle { display: none; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
  background-image: url("fundos_texturas/FUNDOS(3).png");
  background-size: cover;
  background-position: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.hero-meta .dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--navy);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  display: inline-block;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  margin-top: 32px;
  max-width: 500px;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 560px;
}
.hero-stat .num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
}
.hero-stat .num em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.hero-stat .lbl {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 12px;
  line-height: 1.5;
}

.hero-portrait-wrap {
  position: relative;
  padding-right: 20px;
}
.hero-portrait {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.hero-portrait .frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(28px, 28px);
  z-index: 0;
}
.hero-portrait .img {
  position: relative;
  inset: 0;
  height: 100%;
  z-index: 1;
}
.portrait-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 28px 28px;
  background: linear-gradient(to top, rgba(0,48,73,.52), transparent);
  z-index: 2;
  pointer-events: none;
}
.pw-name {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  color: rgba(242,228,214,.88);
  line-height: 1.1;
}
.pw-crm {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(242,228,214,.5);
  margin-top: 8px;
}


/* ==========================================================
   Image placeholder (striped, premium)
   ========================================================== */
.imgph {
  background:
    repeating-linear-gradient(
      135deg,
      var(--ivory-warm) 0px,
      var(--ivory-warm) 12px,
      var(--line-soft) 12px,
      var(--line-soft) 13px
    ),
    var(--ivory-warm);
  border: 1px solid var(--line);
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: lowercase;
}
.imgph.dark {
  background:
    repeating-linear-gradient(
      135deg,
      var(--navy-deep) 0px,
      var(--navy-deep) 12px,
      var(--navy-soft) 12px,
      var(--navy-soft) 13px
    ),
    var(--navy-deep);
  border-color: rgba(255,255,255,.06);
  color: rgba(242,228,214,.35);
}
.imgph span {
  background: var(--ivory);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.imgph.dark span {
  background: var(--navy-deep);
  border-color: rgba(255,255,255,.1);
}

/* ==========================================================
   Section base
   ========================================================== */
section {
  padding: 130px 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin-bottom: 80px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* ==========================================================
   About
   ========================================================== */
.about { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.about-media {
  position: sticky;
  top: 120px;
}
.about-portrait {
  aspect-ratio: 3/4;
  position: relative;
}
.about-meta-block {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-meta-block .item .k {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.about-meta-block .item .v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-top: 6px;
}

.about-content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mute);
  margin-top: 20px;
}
.about-content p.lead {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 400;
  margin-top: 32px;
}
.about-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-card {
  background: var(--ivory);
  padding: 32px 28px;
  transition: background .4s var(--ease);
}
.about-card:hover { background: #f8f0e6; }
.about-card .icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  margin-bottom: 22px;
}
.about-card h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.about-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mute);
}

.signature {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.signature .sig-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--navy);
  font-weight: 300;
  line-height: 1;
}
.signature .sig-meta {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.signature .sig-meta strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}
.lattes-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 0;
  background: none;
  color: var(--navy);
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  vertical-align: middle;
  transition: color .2s;
}
.lattes-badge:hover { color: var(--gold); }
.lattes-badge img { flex-shrink: 0; }

.about-meta-row {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Tooltip */
.tooltip-wrap { position: relative; display: inline; }
.tooltip-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--gold);
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tooltip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  width: 280px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.tooltip-box a { color: var(--ivory-warm); }
.tooltip-wrap:hover .tooltip-box,
.tooltip-wrap:focus-within .tooltip-box { display: block; }

/* Places contact note */
.pp-contact-note {
  font-size: 14px;
  color: var(--text-mute);
  margin: 14px 0 22px;
  line-height: 1.6;
}

/* ==========================================================
   Specialties — clickable expandable cards
   ========================================================== */
.specialties {
  background: var(--ivory-warm);
  padding-top: 80px;
  overflow: hidden;
}
/* Wine texture wash over the warm base. multiply lets the red read
   without killing card/text legibility (cards sit above via z-index). */
.specialties::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("fundos_texturas/FUNDOS.png");
  background-size: cover;
  background-position: center;
  opacity: .18;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.specialties > .container { position: relative; z-index: 1; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec-card {
  background: var(--ivory);
  padding: 0;
  position: relative;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: inherit;
  border: 0;
  border-radius: 0;
  transition: background .4s var(--ease);
}
.spec-card .sc-head {
  padding: 42px 36px 38px;
  position: relative;
  transition: background .4s var(--ease);
}
.spec-card:hover .sc-head { background: #f8f0e6; }
.spec-card .num {
  display: none;
}
.spec-card .icon {
  width: 36px;
  height: 36px;
  margin: 18px 0 20px;
  color: var(--navy);
  object-fit: contain;
  filter: invert(11%) sepia(96%) saturate(968%) hue-rotate(175deg) brightness(94%) contrast(107%);
  transition: color .4s var(--ease), filter .4s var(--ease);
}
.spec-card svg.icon {
  filter: none;
}
.spec-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.spec-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}
.spec-card .read {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.spec-card .plus {
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: transform .45s var(--ease), background .35s var(--ease);
}
.spec-card .plus::before,
.spec-card .plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: opacity .25s var(--ease), background .35s var(--ease);
}
.spec-card .plus::before { left: 5px; right: 5px; top: 50%; height: 1px; transform: translateY(-50%); }
.spec-card .plus::after  { top: 5px; bottom: 5px; left: 50%; width: 1px; transform: translateX(-50%); }

.spec-card .sc-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
  background: var(--navy);
  color: var(--ivory);
}
.spec-card .sc-details > .sc-details-inner {
  overflow: hidden;
  min-height: 0;
}
.spec-card[aria-expanded="true"] .sc-details {
  grid-template-rows: 1fr;
}
.spec-card .sc-details-inner {
  padding: 0 36px;
  transition: padding .55s var(--ease);
}
.spec-card[aria-expanded="true"] .sc-details-inner {
  padding: 30px 36px 40px;
}
.spec-card .sc-details h5 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242,228,214,.7);
  font-weight: 600;
  margin-bottom: 18px;
}
.spec-card .sc-details ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.spec-card .sc-details li {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ivory);
  padding-left: 22px;
  position: relative;
}
.spec-card .sc-details li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 12px;
  height: 1px;
  background: rgba(242,228,214,.5);
}

.spec-card[aria-expanded="true"] .plus { transform: rotate(135deg); background: transparent; }
.spec-card[aria-expanded="true"] .icon { color: var(--gold); }
.spec-card[aria-expanded="true"] h3 { color: var(--navy-deep); }
.spec-card[aria-expanded="true"] .sc-head { background: #f8f0e6; }

/* ==========================================================
   Diferenciais — photo mural + bubbles
   ========================================================== */
.diff { background: var(--ivory); }
.diff-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.diff-left {
  display: flex;
  flex-direction: column;
}
.diff-left .section-head {
  margin-bottom: 22px;
}

.diff-mural {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 180px 300px;
  gap: 10px;
  position: relative;
}
.diff-mural .dm {
  position: relative;
  overflow: hidden;
}
.diff-mural .dm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.diff-mural .dm .imgph { height: 100%; }
.diff-mural .dm:hover img { transform: scale(1.05); }
.dm1 { grid-column: 1; grid-row: 1 / span 2; }
.dm2 { grid-column: 2; grid-row: 1; }
.dm3 { grid-column: 2; grid-row: 2; }
.dm4 { grid-column: 1 / span 2; grid-row: 3; }

.dm-overlay {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  background: var(--navy);
  color: var(--ivory);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
  box-shadow: 0 30px 60px -25px rgba(0,48,73,.5);
}
.dm-overlay::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(80,16,14,.45);
  border-radius: 50%;
}
.dm-overlay-num {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  color: var(--ivory);
  line-height: 1;
}
.dm-overlay-txt {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(242,228,214,.8);
  margin-top: 6px;
  line-height: 1.3;
}

.diff-bubbles {
  display: grid;
  gap: 10px;
}
.bubble {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 22px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 200px 200px 200px 24px;
  transition: all .45s var(--ease);
  position: relative;
}
.bubble:nth-child(even) {
  border-radius: 200px 200px 24px 200px;
  margin-left: 30px;
}
.bubble:hover {
  border-color: var(--gold);
  background: #f8f0e6;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -25px rgba(0,48,73,.18);
}
.bubble .icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  flex-shrink: 0;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--ivory-warm);
  transition: all .45s var(--ease);
}
.bubble:hover .icon { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.bubble h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
}
.bubble p {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 3px;
  line-height: 1.5;
}

/* ==========================================================
   Places — tabbed locations with map
   ========================================================== */
.places { background: var(--ivory-warm); }
.places-tabs { display: none !important; }
.places-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pn-tab {
  position: relative;
  text-align: left;
  padding: 28px 30px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background .4s var(--ease);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  row-gap: 2px;
  align-items: baseline;
}
.pn-tab:last-child { border-right: 0; }
.pn-tab:hover { background: #f8f0e6; }
.pn-tab .pn-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  grid-row: 1 / span 2;
  align-self: center;
}
.pn-tab .pn-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
}
.pn-tab .pn-city {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  grid-column: 2;
}
.pn-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.pn-tab.is-active::after { transform: scaleX(1); }
.pn-tab.is-active { background: var(--ivory); }
.pn-tab.is-active .pn-name { color: var(--navy-deep); }

.places-stage { position: relative; }
.place-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
  animation: fadeIn .55s var(--ease);
}
.place-panel.is-active { display: grid; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pp-info {
  background: var(--ivory);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: 240px 1fr;
}
.pp-photo { overflow: hidden; border-bottom: 1px solid var(--line); }
.pp-body { padding: 36px; display: flex; flex-direction: column; }
.pp-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  margin-bottom: 18px;
}
.pp-body h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
}
.pp-data {
  list-style: none;
  display: grid;
  gap: 14px;
  flex: 1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.pp-data li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.pp-data li span {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 2px;
  font-weight: 500;
}
.pp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pp-actions .btn { padding: 13px 22px; font-size: 12px; }

.pp-map {
  border: 1px solid var(--line);
  background: var(--ivory);
  overflow: hidden;
  min-height: 540px;
  position: relative;
}
.pp-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.4) contrast(1.05);
}

/* ==========================================================
   Locais — carousel (estilo Emanoela)
   ========================================================== */
.loc-strip {
  padding: 56px 0;
  background: var(--ivory);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.loc-strip-head {
  margin-bottom: 36px;
}
.loc-carousel {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(20px, 2vw, 28px);
}
.loc-track {
  display: flex;
  gap: 0;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: locScroll 22s linear infinite;
}
.loc-carousel:hover .loc-track { animation-play-state: paused; }
@keyframes locScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-260px * 4)); }
}
.loc-cell {
  flex: 0 0 auto;
  width: 260px;
  height: 110px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
  opacity: 0.65;
  transition: opacity .3s ease;
  cursor: default;
}
.loc-cell:hover { opacity: 1; }
.loc-mark {
  font-family: var(--serif);
  text-align: center;
  line-height: 1.05;
  display: grid;
  gap: 6px;
  color: var(--navy);
}
.loc-big { font-size: 28px; font-weight: 500; letter-spacing: .01em; }
.loc-sm {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 400;
}
.loc-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  z-index: 2;
  cursor: pointer;
  transition: transform .2s ease;
}
.loc-ctrl:hover { transform: translateY(-50%) scale(1.06); }
.loc-left  { left: 12px; }
.loc-right { right: 12px; }
.loc-ctrl svg { width: 16px; height: 16px; color: var(--navy); }

/* ==========================================================
   Timeline — horizontal trajectory in About
   ========================================================== */
.timeline-wrap {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.timeline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.timeline-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  letter-spacing: -.01em;
  margin-top: 16px;
  max-width: 600px;
  line-height: 1.15;
}
.timeline-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.timeline { overflow: hidden; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

/* Photo (top) + dot row (single line crossing all dots) + body */
.tl-step {
  display: grid;
  grid-template-rows: 24px auto;
  row-gap: 18px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.4s var(--ease-out),
    transform 1.4s var(--ease-out);
  transition-delay: calc(var(--i) * 200ms + 300ms);
}
.timeline.in-view .tl-step { opacity: 1; transform: none; }

/* The horizontal connecting line sits through the dots */
.timeline-line {
  position: absolute;
  top: 12px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
  overflow: hidden;
  transform-origin: left center;
}
.timeline-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2.8s var(--ease-out) .6s;
}
.timeline.in-view .timeline-line::before { transform: scaleX(1); }

.tl-dot {
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
  position: relative;
  z-index: 2;
  transform: scale(0);
  transition: transform .6s var(--ease) calc(var(--i) * 280ms + 1200ms);
}
.timeline.in-view .tl-dot { transform: scale(1); }
.tl-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
  transform: scale(0);
  transition: transform .35s var(--ease);
}
.tl-step:hover .tl-dot::after { transform: scale(1); }
.tl-dot-current {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(80,16,14,.18);
  animation: tlPulse 2.4s ease-in-out infinite;
}
.tl-dot-current::after { transform: scale(1); background: var(--ivory); }
@keyframes tlPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(80,16,14,.18); }
  50%      { box-shadow: 0 0 0 9px rgba(80,16,14,.04); }
}

.tl-body { grid-row: 2; display: grid; gap: 8px; padding: 0 6px; }
.tl-year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--gold);
}
.tl-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}
.tl-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-mute);
}

/* ==========================================================
   Testimonials
   ========================================================== */
.testi { background: var(--ivory); }
.testi-stage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
.testi-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 38px 32px;
  position: relative;
  transition: all .5s var(--ease);
  display: flex;
  flex-direction: column;
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 50px -30px rgba(0,48,73,.18);
}
.testi-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  color: var(--gold);
}
.testi-card .stars svg { width: 14px; height: 14px; }
.testi-card .quote-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 400;
  flex: 1;
}
.testi-card .quote-text::before {
  content: "“";
  font-size: 60px;
  line-height: 0;
  color: var(--gold);
  vertical-align: -18px;
  margin-right: 4px;
  font-family: var(--serif);
}
.testi-card .author {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--navy);
  flex-shrink: 0;
}
.testi-card .author .name {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: .02em;
}
.testi-card .author .role {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}
.testi-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.testi-meta .rating {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-meta .rating .num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--navy);
}
.testi-meta .rating .stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 4px;
}
.testi-meta .rating .stars svg { width: 16px; height: 16px; }
.testi-meta .rating .lbl {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ==========================================================
   CTA
   ========================================================== */
.cta {
  background-color: var(--navy);
  background-image: url("fundos_texturas/FUNDOS(2).png");
  background-size: cover;
  background-position: center;
  color: var(--ivory);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(80,16,14,.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(80,16,14,.08), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.cta .eyebrow { color: var(--ivory); }
.cta .eyebrow::before { background: var(--ivory); }
.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.1;
  margin-top: 24px;
  letter-spacing: -.012em;
}
.cta-title em { color: var(--ivory-warm); font-style: italic; }
.cta-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(242,228,214,.7);
  max-width: 580px;
  margin: 26px auto 0;
}
.cta-actions {
  margin-top: 48px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-extras {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(242,228,214,.12);
  display: grid;
  grid-template-columns: repeat(2, 200px);
  gap: 30px;
  justify-content: center;
}
.cta-extras .ext {
  text-align: center;
}
.cta-extras .ext .k {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(242,228,214,.65);
  font-weight: 500;
}
.cta-extras .ext .v {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  margin-top: 10px;
  font-weight: 400;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(242,228,214,.7);
  padding: 100px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(242,228,214,.1);
}
.footer .brand { color: var(--ivory); }
.footer .brand-name { color: var(--ivory); }
.footer .brand-name small { color: rgba(242,228,214,.6); }
.footer-intro {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 24px;
  color: rgba(242,228,214,.55);
  max-width: 320px;
}
.footer-signature {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  opacity: .9;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(242,228,214,.75);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col li {
  font-size: 14px;
  color: rgba(242,228,214,.7);
  line-height: 1.5;
}
.footer-col a { transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-col .label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(242,228,214,.4);
  display: block;
  margin-bottom: 4px;
}
.footer-col .val {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ivory);
  margin-bottom: 16px;
  line-height: 1.3;
}

.map-wrap {
  margin-top: 70px;
  height: 280px;
  border: 1px solid rgba(242,228,214,.1);
  position: relative;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.6) brightness(.85) invert(.92) hue-rotate(180deg);
}

.footer-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(242,228,214,.45);
  letter-spacing: .05em;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242,228,214,.15);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(242,228,214,.6);
  transition: all .35s var(--ease);
}
.footer-bottom .socials a:hover {
  border-color: var(--ivory);
  color: var(--ivory);
}
.footer-bottom .socials svg { width: 15px; height: 15px; }
.footer-bottom .socials img { width: 15px; height: 15px; object-fit: contain; }

/* ==========================================================
   Floating WhatsApp
   ========================================================== */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 18px 36px -10px rgba(37,211,102,.5);
  transition: transform .35s var(--ease);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; }

.float-ig {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 50%, #cc2366 70%, #bc1888);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 18px 36px -10px rgba(220,39,67,.5);
  transition: transform .35s var(--ease);
}
.float-ig:hover { transform: scale(1.08); }
.float-ig svg { width: 28px; height: 28px; }

/* ==========================================================
   WhatsApp Modal
   ========================================================== */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wa-modal[hidden] { display: none; }
.wa-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,20,32,.55);
  backdrop-filter: blur(4px);
}
.wa-modal-card {
  position: relative;
  background: var(--ivory);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 32px;
  box-shadow: 0 32px 80px -10px rgba(0,20,32,.35);
  animation: wa-slide-in .25s var(--ease) both;
}
@keyframes wa-slide-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.wa-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--text-mute);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.wa-modal-close:hover { color: var(--navy); background: rgba(0,48,73,.07); }
.wa-modal-header { text-align: center; margin-bottom: 24px; }
.wa-modal-icon {
  width: 52px;
  height: 52px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.wa-modal-header h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
}
.wa-modal-header p {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: .04em;
}
.wa-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.wa-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.wa-field input,
.wa-field select,
.wa-field textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.wa-field select { cursor: pointer; 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' stroke='%23003049' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.wa-field input:focus,
.wa-field select:focus,
.wa-field textarea:focus { border-color: var(--navy); }
.wa-modal-send {
  width: 100%;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.wa-modal-send:hover { background: #1ebe5d; transform: translateY(-1px); }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  section { padding: 90px 0; }
  .hero-grid, .about-grid, .diff-layout { grid-template-columns: 1fr; gap: 60px; }
  .about-media { position: static; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .testi-stage { grid-template-columns: 1fr; }
  .place-panel { grid-template-columns: 1fr; }
  .pp-map { min-height: 360px; }
  .timeline-track {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }
  .tl-step { scroll-snap-align: center; }
  .timeline { overflow: visible; }
  .timeline-line { left: 6%; right: 6%; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav, .header-cta, .ig-icon { display: none; }
  .menu-toggle { display: grid; }
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-scroll { display: none; }
  .hero-portrait-wrap { padding-right: 0; }
  .pw-name { font-size: 22px; }
  .portrait-watermark { padding: 40px 18px 18px; }
  .spec-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-extras { grid-template-columns: 1fr; }
  .signature { flex-wrap: wrap; }

  /* strip */
  .strip-item { flex: 0 0 240px; }

  /* timeline → vertical */
  .timeline { overflow: visible; }
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 0;
  }
  .timeline-line {
    top: 0;
    bottom: 0;
    left: 30px;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--line);
    transform-origin: top center;
  }
  .timeline-line::before {
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1.6s var(--ease-out) .3s;
  }
  .timeline.in-view .timeline-line::before { transform: scaleY(1); }

  .tl-step {
    grid-template-rows: none;
    grid-template-columns: 24px 1fr;
    grid-auto-rows: auto;
    row-gap: 0;
    column-gap: 18px;
    text-align: left;
    padding-left: 0;
    transform: translateX(28px);
  }
  .timeline.in-view .tl-step { transform: none; }

  .tl-dot {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    justify-self: center;
  }
  .tl-body { grid-row: 1; grid-column: 2; padding: 0; }
  .tl-title { font-size: 18px; }

  /* diff bubbles */
  .bubble { border-radius: 32px !important; padding: 20px; }
  .bubble:nth-child(even) { margin-left: 0; }
  .diff-mural { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 160px 120px; }
  .dm1 { grid-column: 1; grid-row: 1 / span 2; }
  .dm2 { grid-column: 2; grid-row: 1; }
  .dm3 { grid-column: 2; grid-row: 2; }
  .dm4 { grid-column: 1 / span 2; grid-row: 3; }

  /* places */
  .places-nav { grid-template-columns: 1fr; }
  .pn-tab { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .pn-tab:last-child { border-bottom: 0; }
  .pp-info { grid-template-rows: 200px 1fr; }
  .pp-body { padding: 28px 24px; }
  .pp-body h3 { font-size: 28px; }
  .pp-data li { grid-template-columns: 1fr; gap: 4px; }
}
