/* ============ RESET & VARIÁVEIS ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body, h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

:root {
  --cream: #F6F2EA;
  --cream-alt: #EEE7D8;
  --green-900: #16281D;
  --green-800: #1E3B2B;
  --green-700: #2B4E3A;
  --green-100: #E3EADF;
  --ink: #1B1B17;
  --ink-soft: #5B5C53;
  --white: #FFFFFF;
  --gold: #C9A227;
  --line: rgba(27, 27, 23, 0.12);
  --line-strong: rgba(27, 27, 23, 0.3);
  --shadow-sm: 0 2px 10px rgba(20, 20, 15, 0.05);
  --shadow-md: 0 18px 40px rgba(20, 20, 15, 0.1);
  --shadow-lg: 0 30px 70px rgba(15, 20, 15, 0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.34, 1.15, 0.64, 1);

  --space-2xs: 0.5rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: clamp(2.5rem, 4vw, 3.5rem);
  --space-lg: clamp(4rem, 7vw, 6.5rem);
  --space-xl: clamp(5.5rem, 10vw, 9rem);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  font-variant-ligatures: common-ligatures;
}

::selection { background: var(--green-800); color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--green-800); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ ECRÃ DE ENTRADA ============ */
.intro-veil {
  position: fixed; inset: 0; z-index: 300; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  animation: intro-fade 1.5s var(--ease) 0.5s forwards;
}
.intro-veil .logo-mark {
  width: 64px; height: 64px; font-size: 1.7rem;
  animation: intro-pulse 1.1s var(--ease) infinite alternate;
}
@keyframes intro-fade {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes intro-pulse {
  from { transform: scale(0.92); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-veil { animation: intro-fade 0.4s linear 0.1s forwards; }
  .intro-veil .logo-mark { animation: none; }
}

:focus-visible { outline: 2px solid var(--green-800); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 5.4vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.005em; }

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

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-800); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; flex-shrink: 0; }
.eyebrow-light { color: var(--cream-alt); }

.section-text { color: var(--ink-soft); max-width: 44ch; margin-top: 14px; line-height: 1.65; }

/* Revelação suave ao entrar no ecrã */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.27s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.arrow { display: inline-block; transition: transform 0.2s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap;
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 500;
  font-size: 0.92rem; transition: transform 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateY(102%);
  transition: transform 0.45s var(--ease); border-radius: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }

.btn-primary { background: var(--green-800); color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; box-shadow: 0 10px 26px rgba(30, 59, 43, 0.28); }
.btn-primary::before { background: var(--green-900); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(30, 59, 43, 0.36); }

.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); border-color: var(--ink); }

.btn-outline-dark { border: 1.5px solid var(--ink); color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; padding: 12px 22px; }
.btn-outline-dark::before { background: var(--ink); }
.btn-outline-dark:hover { color: var(--white); }

.btn-sm { padding: 10px 20px; }
.btn-light { background: var(--cream); color: var(--green-800); text-transform: uppercase; letter-spacing: 0.04em; }
.btn-light::before { background: var(--white); }
.icon-inline { width: 18px; height: 18px; }


.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 44px;
}

/* ============ BARRA DE PORTFÓLIO ============ */
.portfolio-bar {
  position: relative; z-index: 160; background: var(--green-900); color: var(--cream);
  font-size: 0.78rem; padding: 9px 0;
}
.portfolio-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.portfolio-bar strong { font-weight: 500; }
.portfolio-bar-sep { opacity: 0.4; margin: 0 4px; }
.portfolio-bar-note { color: rgba(246, 242, 234, 0.7); }
.portfolio-bar a {
  display: inline-flex; align-items: center; gap: 6px; color: var(--cream); white-space: nowrap;
  border-bottom: 1px solid rgba(246, 242, 234, 0.35); padding-bottom: 1px; transition: border-color 0.2s var(--ease);
}
.portfolio-bar a:hover { border-color: var(--cream); }

.footer-credit { display: inline-flex; align-items: center; gap: 4px; }
.footer-credit strong { color: var(--white); font-weight: 500; }
.footer-disclaimer { color: rgba(246, 242, 234, 0.55); max-width: 62ch; }

/* ============ PÁGINA 404 ============ */
.error-page { display: flex; align-items: center; min-height: 62vh; padding: 90px 0; }
.error-inner { max-width: 620px; }
.error-inner .section-text { margin: 20px 0 34px; }
.error-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .error-actions { flex-direction: column; align-items: stretch; }
  .error-actions .btn { width: 100%; }
}

/* ============ CABEÇALHO ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 20, 15, 0.06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--green-700), var(--green-900)); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; flex-shrink: 0;
}
.logo-mark.small { width: 30px; height: 30px; font-size: 0.9rem; }
.logo-mark.light { background: var(--cream); color: var(--green-800); }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.main-nav { display: contents; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 0.92rem; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn { width: 22px; height: 22px; }
.icon-btn svg { width: 100%; height: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; padding: 56px 0 84px; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(320px, 430px) 1fr; gap: 56px; align-items: stretch; }

.hero-stat {
  position: absolute; left: clamp(260px, 34vw, 400px); bottom: 46px; z-index: 3;
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 18px 24px; display: flex; flex-direction: column; gap: 2px; max-width: 190px;
  animation: rise-in 0.7s var(--ease) 0.6s backwards;
}
.hero-stat strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--green-800); font-weight: 600; line-height: 1; }
.hero-stat span { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.35; margin-top: 4px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-cue svg { width: 16px; height: 16px; animation: cue-bounce 1.8s ease-in-out infinite; }
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { opacity: 0; animation: rise-in 0.7s ease forwards; }
.hero-content .eyebrow { animation-delay: 0.05s; }
.hero-content h1 { animation-delay: 0.15s; }
.hero-content .hero-text { animation-delay: 0.25s; }
.hero-content .hero-actions { animation-delay: 0.35s; }
.hero-content .hero-features { animation-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { opacity: 1; animation: none; }
  .scroll-cue svg { animation: none; }
}

.hero-text { color: var(--ink-soft); margin: 20px 0 30px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-features { display: flex; flex-wrap: wrap; gap: 26px 22px; }
.hero-features li { display: flex; align-items: flex-start; gap: 10px; max-width: 130px; font-size: 0.82rem; color: var(--ink-soft); }
.feature-icon {
  width: 34px; height: 34px; border-radius: 50%; background: transparent; border: 1.5px solid var(--line-strong); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 16px; height: 16px; }

.art-panel { display: block; width: 100%; height: 100%; }

.hero-photo {
  position: relative; border-radius: var(--radius-lg); background-color: var(--green-100);
  min-height: 460px; display: flex; align-items: flex-end; justify-content: flex-end; overflow: hidden; padding: 30px;
  box-shadow: var(--shadow-md);
}
.hero-photo .art-panel { position: absolute; inset: 0; z-index: 0; }
.hero-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(10, 16, 12, 0.6) 0%, rgba(10, 16, 12, 0) 30%),
              linear-gradient(180deg, rgba(10, 16, 12, 0.4) 0%, rgba(10, 16, 12, 0) 25%);
}
.hero-photo-top {
  position: absolute; top: 32px; right: 32px; z-index: 2; display: flex; flex-direction: column; gap: 6px; text-align: right;
}
.hero-photo-top span {
  color: rgba(255, 255, 255, 0.88); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
  padding-right: 2px; border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-photo-badge {
  position: absolute; top: 44%; left: 30px; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); padding: 10px 18px 10px 10px; border-radius: 999px;
}
.hero-photo-badge strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 0.9rem; font-weight: 500; }
.hero-photo-badge small { display: block; color: rgba(255, 255, 255, 0.78); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-quote {
  position: relative; z-index: 2; color: var(--white); font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; max-width: 260px; text-align: right; line-height: 1.3;
}

/* ============ PARCEIROS ============ */
.partners { background: var(--cream-alt); padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners-inner { display: flex; align-items: center; margin-bottom: 14px; }
.partners-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); flex-shrink: 0; line-height: 1.4; }

.marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
.partner-logo { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-soft); opacity: 0.85; white-space: nowrap; }

/* ============ ÁREAS CLÍNICAS ============ */
.areas { padding: 104px 0; }
.areas-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.area-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease); grid-column: span 6; }
.area-card:nth-child(1) { grid-column: span 7; }
.area-card:nth-child(2) { grid-column: span 5; }
.area-card:nth-child(3) { grid-column: span 5; }
.area-card:nth-child(4) { grid-column: span 7; }
.area-card:hover { box-shadow: var(--shadow-lg); }
.area-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.area-card:nth-child(1) .area-photo, .area-card:nth-child(4) .area-photo { aspect-ratio: 16 / 12; }
.area-index {
  position: absolute; top: 16px; left: 16px; z-index: 1; font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; color: var(--white); background: rgba(22, 40, 29, 0.45); backdrop-filter: blur(6px);
  padding: 4px 11px; border-radius: 999px; letter-spacing: 0.02em;
}
.area-photo .art-panel { transition: transform 0.6s var(--ease); }
.area-card:hover .area-photo .art-panel { transform: scale(1.06); }
.area-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px; }
.area-info h3 { font-size: 1.08rem; margin-bottom: 4px; }
.area-info p { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.circle-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.area-card:hover .circle-arrow { background: var(--green-800); color: var(--white); border-color: var(--green-800); transform: rotate(45deg); }

/* ============ SOBRE NÓS ============ */
.about { padding: 0 0 104px; }
.about-grid {
  display: grid; grid-template-columns: 0.8fr 1.35fr 0.6fr; grid-template-rows: auto 1fr; gap: 22px;
}
.about-text { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: center; padding-top: 8px; }
.about-text p { color: var(--ink-soft); margin: 18px 0 26px; }

.about-photo {
  grid-column: 2; grid-row: 1 / 3; overflow: hidden;
  position: relative; border-radius: var(--radius-lg); min-height: 420px;
  background-color: var(--green-100); display: flex; align-items: flex-end; padding: 26px;
  box-shadow: var(--shadow-md);
}
.about-photo .art-panel { position: absolute; inset: 0; z-index: 0; }
.about-quote {
  position: relative; z-index: 1;
  background: var(--cream); border-radius: var(--radius-md); padding: 22px 24px; font-family: var(--font-display);
  font-style: italic; font-size: 1.05rem; max-width: 260px; box-shadow: 0 16px 40px rgba(15, 20, 15, 0.18);
}

.about-sidebar { grid-column: 3; grid-row: 1 / 3; background: var(--green-800); border-radius: var(--radius-lg); color: var(--cream); padding: 32px 26px; display: flex; flex-direction: column; justify-content: center; }
.about-sidebar li { display: flex; align-items: center; gap: 14px; font-size: 0.86rem; padding: 14px 0; border-bottom: 1px solid rgba(246, 242, 234, 0.12); }
.about-sidebar li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-sidebar li:first-child { padding-top: 0; }
.about-sidebar svg {
  width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 50%; flex-shrink: 0;
  background: rgba(246, 242, 234, 0.08); color: var(--cream-alt);
}

/* ============ PRÉ MARCAÇÃO / CTA ============ */
.booking-cta { background: var(--green-800); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr 0.85fr; min-height: 460px; }

.booking-info { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; color: var(--cream); }
.booking-info h2 { color: var(--white); }
.booking-info p { color: var(--cream-alt); margin: 18px 0 28px; max-width: 34ch; }

.booking-photo {
  position: relative; overflow: hidden; background-color: var(--green-700);
  display: flex; flex-direction: column; justify-content: space-between; padding: 40px;
}
.booking-photo .art-panel { position: absolute; inset: 0; z-index: 0; }
.booking-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(10, 16, 12, 0.28); }
.booking-photo-quote { position: relative; z-index: 2; font-family: var(--font-display); font-style: italic; color: var(--white); font-size: 1.6rem; line-height: 1.25; }
.booking-photo-logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); }

.booking-steps { background: var(--cream); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.booking-steps ol { position: relative; display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.booking-steps ol::before {
  content: ''; position: absolute; left: 20px; top: 40px; bottom: 40px; width: 1px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 4px, transparent 4px 9px);
}
.booking-steps li { position: relative; display: flex; align-items: center; gap: 14px; font-size: 0.92rem; font-weight: 500; }
.step-icon {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 14px rgba(20,20,15,0.08);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.booking-steps li:hover .step-icon { background: var(--green-800); color: var(--white); }
.step-icon svg { width: 18px; height: 18px; }
.steps-tagline { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 18px; }

/* ============ TESTEMUNHOS ============ */
.testimonials { padding: 104px 0; }
.carousel-controls { display: flex; gap: 10px; flex-shrink: 0; }
.carousel-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.carousel-controls button:hover { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.carousel-controls svg { width: 17px; height: 17px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.testi-card { position: relative; background: var(--white); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testi-quote-mark { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; color: var(--green-100); z-index: 0; }
.testi-avatar { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; background-size: cover; background-position: center; background-color: var(--green-100); filter: blur(6px); transition: filter 0.5s ease; }
.testi-avatar.is-loaded { filter: none; }
.testi-quote { position: relative; z-index: 1; font-size: 0.96rem; color: var(--ink); line-height: 1.55; flex: 1; transition: opacity 0.2s ease; }
.testi-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.testi-name { font-weight: 500; }
.testi-stars { color: var(--gold); letter-spacing: 1px; font-size: 0.85rem; }

.testi-highlight { background: var(--green-800); color: var(--cream); justify-content: center; }
.testi-quote-mark-light { color: rgba(255, 255, 255, 0.12); }
.testi-highlight-quote { position: relative; z-index: 1; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--white); line-height: 1.3; }

/* ============ LOCALIZAÇÃO ============ */
.location { padding: 104px 0 120px; }
.location-head { margin-bottom: 40px; }
.location-grid { display: grid; grid-template-columns: 0.8fr 1fr 1fr 1.2fr; gap: 22px; }

.location-info { display: flex; flex-direction: column; }
.location-info li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.9rem; color: var(--ink-soft); padding: 16px 0; border-bottom: 1px solid var(--line); }
.location-info li:first-child { padding-top: 0; }
.location-info li:last-child { border-bottom: 0; padding-bottom: 0; }
.location-info svg {
  width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 50%; flex-shrink: 0;
  background: var(--green-100); color: var(--green-800);
}
.location-info a { color: var(--ink); border-bottom: 1px solid var(--line); }
.location-info small { display: block; color: var(--ink-soft); font-size: 0.76rem; margin-top: 2px; }

.location-photo { border-radius: var(--radius-md); min-height: 220px; overflow: hidden; background-color: var(--green-100); box-shadow: var(--shadow-sm); }
.location-map { border-radius: var(--radius-md); overflow: hidden; min-height: 220px; background: var(--cream-alt); box-shadow: var(--shadow-sm); }
.location-map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; filter: grayscale(0.85) contrast(1.05) brightness(1.02); }

.location-faq { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.faq-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; text-align: left; font-size: 0.9rem; font-weight: 500;
}
.faq-icon { font-size: 1.2rem; color: var(--green-800); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { padding: 0 0 16px; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; }
.location-faq > .link-arrow { display: inline-flex; margin-top: 18px; border-bottom-color: var(--ink); }

/* ============ RODAPÉ ============ */
.site-footer { position: relative; background: #12140F; color: var(--cream-alt); padding-top: 56px; }
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--gold));
}
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(246,242,234,0.12);
}
.footer-cta h2 { color: var(--white); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.footer-top {
  display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: 32px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(246,242,234,0.12);
}
.logo-light .logo-sub { color: rgba(246,242,234,0.6); }

.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 0.88rem; }
.footer-col a { color: rgba(246,242,234,0.75); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-col span { color: rgba(246,242,234,0.75); }
.footer-col-title { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,242,234,0.4); margin-bottom: 2px; }

.footer-brand { gap: 18px; }
.footer-tagline { color: rgba(246,242,234,0.6); font-size: 0.86rem; line-height: 1.65; max-width: 30ch; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(246,242,234,0.2);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--green-800); border-color: var(--green-800); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px 28px; font-size: 0.8rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }
.heart { color: #C96B5B; }

/* ============ WHATSAPP FLUTUANTE ============ */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(20, 20, 15, 0.28); z-index: 90; transition: transform 0.3s var(--ease);
  animation: rise-in 0.6s ease 1.4s backwards;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 27px; height: 27px; }

/* ============ BARRA DE PROGRESSO ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--green-700), var(--gold)); transition: width 0.1s linear;
}

/* ============ VOLTAR AO TOPO ============ */
.back-to-top {
  position: fixed; right: 24px; bottom: 94px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--green-800); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 90; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-800); color: var(--white); }
.back-to-top svg { width: 18px; height: 18px; }

body.nav-open, body.dialog-open { overflow: hidden; }


/* ============ RESPONSIVO ============ */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .about-text { grid-column: 1 / -1; grid-row: auto; }
  .about-photo { grid-column: 1 / -1; grid-row: auto; }
  .about-sidebar { grid-column: 1 / -1; grid-row: auto; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; }
  .about-sidebar li { border-bottom: 0; padding: 0; flex: 1 1 220px; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-faq { grid-column: 1 / -1; }
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .booking-steps { grid-column: 1 / -1; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card, .area-card:nth-child(1), .area-card:nth-child(2), .area-card:nth-child(3), .area-card:nth-child(4) { grid-column: span 1; }
  .area-card:nth-child(1) .area-photo, .area-card:nth-child(4) .area-photo { aspect-ratio: 4 / 5; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* backdrop-filter no cabeçalho cria um "containing block" para os filhos com
     position:fixed — isso fazia o painel do menu mobile posicionar-se em relação
     ao cabeçalho (pequeno) em vez de ao ecrã todo. Desativa-se aqui e compensa-se
     com um fundo mais opaco. */
  .site-header { backdrop-filter: none; background: rgba(246, 242, 234, 0.98); }

  .main-nav {
    display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
    position: fixed; inset: 72px 0 0 0; z-index: 150; background: var(--cream);
    padding: 32px; transform: translateX(100%); transition: transform 0.35s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav::before {
    content: 'Art'; position: absolute; top: -4vw; right: -3vw; font-family: var(--font-display); font-style: italic;
    font-size: 42vw; color: var(--green-800); opacity: 0.05; pointer-events: none; line-height: 1;
  }

  .nav-links { display: flex; flex-direction: column; gap: 4px; counter-reset: navlink; position: relative; z-index: 1; }
  .nav-links a {
    position: relative; padding: 14px 0 14px 46px; font-family: var(--font-display); font-size: 1.9rem;
    border-bottom: 1px solid var(--line); counter-increment: navlink;
    opacity: 0; transform: translateX(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.2s ease;
  }
  .nav-links a:first-child { padding-top: 0; }
  .nav-links a::before {
    content: counter(navlink, decimal-leading-zero); position: absolute; left: 0; top: 18px;
    font-family: var(--font-body); font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.04em;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--green-800); }
  .nav-links a.active::before { color: var(--green-800); font-weight: 500; }
  .main-nav.is-open .nav-links a { opacity: 1; transform: translateX(0); }
  .main-nav.is-open .nav-links a:nth-child(1) { transition-delay: 0.08s; }
  .main-nav.is-open .nav-links a:nth-child(2) { transition-delay: 0.13s; }
  .main-nav.is-open .nav-links a:nth-child(3) { transition-delay: 0.18s; }
  .main-nav.is-open .nav-links a:nth-child(4) { transition-delay: 0.23s; }
  .main-nav.is-open .nav-links a:nth-child(5) { transition-delay: 0.28s; }
  .main-nav.is-open .nav-links a:nth-child(6) { transition-delay: 0.33s; }

  .nav-extra {
    display: flex; flex-direction: column; gap: 18px; padding-top: 24px; position: relative; z-index: 1;
    opacity: 0; transition: opacity 0.5s var(--ease) 0.4s;
  }
  .main-nav.is-open .nav-extra { opacity: 1; }
  .nav-extra-contact { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink); }
  .nav-extra-contact svg { width: 18px; height: 18px; color: var(--green-800); }
  .nav-extra-social { display: flex; gap: 12px; }
  .nav-extra-social a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center; color: var(--ink);
  }
  .nav-extra-social svg { width: 15px; height: 15px; }
  .nav-extra-cta { width: 100%; }

  @media (prefers-reduced-motion: reduce) {
    .main-nav.is-open .nav-links a, .main-nav.is-open .nav-extra { transition-delay: 0s; }
  }

  .menu-toggle { display: flex; }
  .header-actions .btn-outline-dark { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { min-height: 340px; }
  .hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .hero-features li { max-width: none; }
  .hero-stat { left: 20px; right: 20px; bottom: 20px; max-width: none; flex-direction: row; align-items: center; gap: 14px; }
  .hero-stat span { margin-top: 0; }
  .scroll-cue { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .portfolio-bar { font-size: 0.72rem; padding: 8px 0; }
  .portfolio-bar-inner { justify-content: center; text-align: center; gap: 4px 10px; }
  .portfolio-bar-note, .portfolio-bar-sep { display: none; }
  .header-inner { padding: 14px 20px; }
  .container { padding: 0 20px; }
  .hero { padding: 32px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .areas, .about, .testimonials, .location { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { flex-direction: column; align-items: stretch; gap: 0; }
  .about-sidebar li { border-bottom: 1px solid rgba(246, 242, 234, 0.12); padding: 14px 0; flex: none; }
  .about-sidebar li:first-child { padding-top: 0; }
  .about-sidebar li:last-child { border-bottom: 0; padding-bottom: 0; }
  .about-quote { max-width: 88%; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-photo { min-height: 220px; padding: 28px; }
  .booking-photo-quote { font-size: 1.25rem; }
  .booking-info, .booking-steps { padding: 44px 24px; }
  .location-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { grid-column: span 1 !important; }
  .area-photo, .area-card:nth-child(1) .area-photo, .area-card:nth-child(4) .area-photo { aspect-ratio: 16 / 11; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners-inner { margin-bottom: 10px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-cta .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .back-to-top { right: 16px; bottom: 78px; width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .container { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }
  .hero-photo-top { display: none; }
  .hero-photo-badge { left: 20px; padding: 8px 14px 8px 8px; }
  .about-sidebar, .booking-steps, .booking-info { padding: 28px 20px; }
  .testi-card { padding: 24px; }
}

/* ============ PÁGINA: CASOS DE SUCESSO ============ */
.cases-hero { padding: 76px 0 48px; text-align: center; }
.cases-hero-inner { max-width: 780px; margin: 0 auto; }
.cases-hero .eyebrow { justify-content: center; }
.cases-hero .section-text { margin-left: auto; margin-right: auto; text-align: center; max-width: 56ch; }
.cases-hero h1 { margin-bottom: 6px; }
.cases-stats { display: flex; justify-content: center; gap: 56px; margin-top: 48px; flex-wrap: wrap; }
.cases-stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cases-stats strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--green-800); font-weight: 600; }
.cases-stats span { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

.cases-filter-section { padding-bottom: 104px; }
.cases-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 48px; }
.filter-chip {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 0.86rem;
  color: var(--ink-soft); transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter-chip:hover { border-color: var(--green-800); color: var(--ink); }
.filter-chip.is-active { background: var(--green-800); border-color: var(--green-800); color: var(--white); }

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card.is-hidden { display: none; }
.case-card.is-fading { opacity: 0; transform: scale(0.97); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.case-visual { position: relative; aspect-ratio: 16 / 10; }
.case-visual svg { width: 100%; height: 100%; display: block; }
.case-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px);
  color: var(--ink); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
}
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.case-quote { font-size: 0.96rem; line-height: 1.55; color: var(--ink); min-height: 3.2em; }
.case-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.case-name { font-weight: 500; }
.case-name small { font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.case-stat { font-size: 0.78rem; color: var(--green-800); }
.case-open { align-self: flex-start; font-size: 0.86rem; border-bottom-color: var(--line-strong); }
.case-open:hover { border-bottom-color: var(--ink); }

.cases-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* Janela de detalhe */
.case-dialog {
  border: 0; border-radius: var(--radius-lg); padding: 0; max-width: 560px; width: calc(100% - 48px);
  box-shadow: var(--shadow-lg); background: var(--white); color: var(--ink); position: relative;
}
.case-dialog::backdrop { background: rgba(15, 20, 15, 0.55); backdrop-filter: blur(4px); }
.case-dialog-body { padding: 44px 40px 40px; }
.case-dialog-tag { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-800); margin-bottom: 8px; }
.case-dialog-body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.case-dialog-stat { color: var(--ink-soft); font-size: 0.86rem; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.case-dialog-text { color: var(--ink-soft); line-height: 1.7; }
.case-dialog-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream-alt); display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background 0.2s var(--ease); z-index: 1;
}
.case-dialog-close:hover { background: var(--line-strong); }
.case-dialog-close svg { width: 16px; height: 16px; }

.case-dialog, .booking-dialog {
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.case-dialog.is-open, .booking-dialog.is-open { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .case-dialog, .booking-dialog { transition: opacity 0.15s linear; transform: none; }
}

/* Formulário de marcação */
.booking-dialog {
  border: 0; border-radius: var(--radius-lg); padding: 0; max-width: 620px; width: calc(100% - 48px);
  max-height: min(720px, 90vh); box-shadow: var(--shadow-lg); background: var(--white); color: var(--ink); position: relative;
}
.booking-dialog::backdrop { background: rgba(15, 20, 15, 0.55); backdrop-filter: blur(4px); }
.booking-dialog-body { padding: 44px 40px 36px; max-height: min(720px, 90vh); overflow-y: auto; }

.booking-progress { display: flex; align-items: center; margin-bottom: 32px; }
.booking-progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--ink-soft); text-align: center; width: 100px; flex-shrink: 0; }
.booking-progress-step .step-icon { width: 36px; height: 36px; background: var(--cream-alt); color: var(--ink-soft); box-shadow: none; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.booking-progress-step .step-icon svg { width: 16px; height: 16px; }
.booking-progress-step.is-active { color: var(--ink); font-weight: 500; }
.booking-progress-step.is-active .step-icon, .booking-progress-step.is-done .step-icon { background: var(--green-800); color: var(--white); }
.booking-progress-line { flex: 1; height: 1px; background: var(--line-strong); margin: 0 -4px 22px; }

.booking-step { display: none; flex-direction: column; gap: 16px; }
.booking-step.is-active { display: flex; }
.booking-step h3 { font-size: 1.2rem; margin-bottom: 4px; }

.booking-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; color: var(--ink-soft); flex: 1; }
.booking-field-row { display: flex; gap: 16px; }
.booking-field-row .booking-field { min-width: 0; }
.booking-field input, .booking-field select, .booking-field textarea {
  font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: var(--cream); color: var(--ink); transition: border-color 0.2s var(--ease);
}
.booking-field input:focus, .booking-field select:focus, .booking-field textarea:focus { border-color: var(--green-800); outline: none; }
.booking-field textarea { resize: vertical; min-height: 70px; }
.booking-hint { font-size: 0.78rem; color: var(--ink-soft); }
.booking-error { color: #B3432D; font-size: 0.82rem; min-height: 1.2em; }

.booking-summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 20px; }
.booking-summary dt { color: var(--ink-soft); font-size: 0.84rem; }
.booking-summary dd { margin: 0; font-weight: 500; }

.booking-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 20px 0 8px; }
.booking-success svg { width: 56px; height: 56px; color: var(--green-800); }
.booking-success h3 { font-size: 1.3rem; }
.booking-success p { color: var(--ink-soft); max-width: 40ch; }

.booking-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.booking-nav #booking-next, .booking-nav #booking-submit, .booking-nav #booking-close-success { margin-left: auto; }

@media (max-width: 1080px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-stats { gap: 36px; }
}
@media (max-width: 720px) {
  .cases-hero { padding: 48px 0 36px; }
  .cases-filter-section { padding-bottom: 60px; }
  .cases-grid { grid-template-columns: 1fr; }
  .cases-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; margin: 0 -20px 40px; padding-inline: 20px; }
  .filter-chip { flex-shrink: 0; }
  .case-dialog-body { padding: 40px 24px 28px; }
  .booking-dialog-body { padding: 40px 20px 24px; }
  .booking-field-row { flex-direction: column; gap: 16px; }
  .booking-progress-step { width: auto; gap: 0; }
  .booking-progress-step span:last-child { display: none; }
  .booking-progress-line { margin: 0 4px 0; }
}
