/* ============================================================
   LISA CARIOCA — design system
   Palette: ivory sand, deep teal (Rio ocean at dusk), warm gold
   Display: Fraunces (warm, characterful serif)
   Body: Inter
   Signature: the "horizon" line — a thin curved wave that
   separates sky/sand from sea across the site, echoing the
   Rio coastline and the brand name "Lisa" (smooth/calm).
   ============================================================ */

:root {
  --ivory: #f6f1e8;
  --ivory-deep: #efe6d6;
  --ink: #1c3a37;
  --ink-soft: #3c5c58;
  --teal: #245a54;
  --teal-deep: #123330;
  --teal-darker: #0c2422;
  --gold: #c08a45;
  --gold-soft: #e4c795;
  --coral: #d97355;
  --line: rgba(28, 58, 55, 0.14);
  --line-light: rgba(246, 241, 232, 0.22);
  --shadow: 0 20px 40px -20px rgba(12, 36, 34, 0.35);
  --radius: 2px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.9em;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.8em;
  background: var(--teal);
  color: var(--ivory);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--teal);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}
.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-darker);
}
.btn.gold:hover {
  background: var(--gold-soft);
}
.btn.outline {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-light);
}
.btn.outline:hover {
  background: var(--line-light);
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal-deep);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand small {
  font-family: "Inter", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 6px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
}
.navlinks a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.2s ease;
}
.navlinks a:hover::after,
.navlinks a.active::after {
  width: 100%;
}
.navphone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 0.95rem;
}
.navphone svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}
.menu-toggle {
  display: none;
}
.dropdown {
  position: relative;
}
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-width: 260px;
  padding: 14px;
  display: none;
  max-height: 340px;
  overflow-y: auto;
  column-count: 1;
}
.dropdown:hover .dropdown-panel {
  display: block;
}
.dropdown-panel a {
  display: block;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 2px;
}
.dropdown-panel a:hover {
  background: var(--ivory-deep);
  color: var(--teal-deep);
}
.dropdown-panel a::after {
  display: none;
}

/* ---------- horizon divider (signature element) ---------- */
.horizon {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}
.horizon path {
  fill: var(--teal-deep);
}
.horizon.flip {
  transform: scaleY(-1);
}
.horizon.to-ivory path {
  fill: var(--ivory);
}
.horizon.to-teal path {
  fill: var(--teal-deep);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  padding: 96px 32px 140px;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-art {
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    var(--gold-soft),
    var(--teal) 62%,
    var(--teal-deep) 100%
  );
  position: relative;
  box-shadow: var(--shadow);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(246, 241, 232, 0.5);
  border-radius: 50%;
}
.hero-wave-abs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 0;
}

/* ---------- sections ---------- */
section {
  padding: 88px 32px;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left {
  margin: 0 0 56px;
  text-align: left;
}
.section-dark {
  background: var(--teal-deep);
  color: var(--ivory);
}
.section-dark h2,
.section-dark h3 {
  color: var(--ivory);
}
.section-dark .eyebrow {
  color: var(--gold-soft);
}

/* ---------- treatment / procedure cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards-light h3 {
  color: var(--teal-deep);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .num {
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6em;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.card a.card-link {
  display: block;
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ivory-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-tile svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.6;
}

/* ---------- listing pages (categories) ---------- */
.list-hero {
  background: var(--teal-deep);
  color: var(--ivory);
  padding: 70px 32px 60px;
}
.list-hero .eyebrow {
  color: var(--gold-soft);
}
.list-hero h1 {
  color: var(--ivory);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}
.list-hero p {
  color: rgba(246, 241, 232, 0.78);
  max-width: 60ch;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}
.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------- detail page ---------- */
.detail-hero {
  padding: 60px 32px 50px;
  background: var(--ivory-deep);
}
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-body h2 {
  margin-top: 1.4em;
  font-size: 1.5rem;
}
.detail-body ul {
  padding-left: 1.2em;
  color: var(--ink-soft);
}
.detail-body li {
  margin-bottom: 0.5em;
}
.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}
.sidebar h4 {
  font-size: 1rem;
  margin-bottom: 14px;
}
.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar li {
  margin-bottom: 10px;
}
.sidebar a {
  font-size: 0.87rem;
  font-weight: 500;
}
.sidebar a:hover {
  color: var(--ivory);
}
.sidebar .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal);
  color: var(--ivory);
  padding: 64px 32px;
  text-align: center;
}
.cta-band h2 {
  color: var(--ivory);
}
.cta-band p {
  color: rgba(246, 241, 232, 0.82);
}

/* ---------- footer ---------- */
footer.site {
  background: var(--teal-darker);
  color: rgba(246, 241, 232, 0.85);
  padding: 70px 32px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  color: var(--gold-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li {
  margin-bottom: 9px;
}
.footer-grid a {
  font-size: 0.85rem;
  color: rgba(246, 241, 232, 0.75);
}
.footer-grid a:hover {
  color: var(--gold-soft);
}
.footer-brand {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 10px;
}
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(246, 241, 232, 0.7);
  margin-bottom: 6px;
}
.footer-bottom {
  max-width: var(--wrap);
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(246, 241, 232, 0.55);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- misc ---------- */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--ivory-deep);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.stat-row {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-row .stat b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--gold);
}
.stat-row .stat span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.portrait-block {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--gold-soft), var(--teal) 70%);
  position: relative;
  box-shadow: var(--shadow);
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid,
  .detail-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .navlinks {
    display: none;
  }
}
@media (max-width: 600px) {
  .grid.cols-3,
  .grid.cols-4,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 20px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
