﻿:root {
  --blue: #4a90c4;
  --blue-dark: #3478a8;
  --blue-soft: #e8f3fa;
  --blue-mid: #6aa8d4;
  --text: #2f3640;
  --muted: #5c6570;
  --line: #e6eef5;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(40, 90, 130, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 78px;

  /* Families — institutional voice */
  --serif: "Libre Baskerville", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --font-display: var(--serif);
  --font-body: var(--sans);

  /* Role scale */
  --text-display: clamp(2.2rem, 4.6vw, 3.35rem);
  --text-title: clamp(1.75rem, 3vw, 2.35rem);
  --text-title-sm: clamp(1.5rem, 2.5vw, 2rem);
  --text-subtitle: 1.25rem;
  --text-lead: 1.125rem;
  --text-body: 1rem;
  --text-ui: 0.9375rem;
  --text-small: 0.875rem;
  --text-label: 0.8125rem;

  --leading-display: 1.12;
  --leading-title: 1.22;
  --leading-body: 1.62;
  --leading-ui: 1.4;
  --tracking-display: -0.02em;
  --tracking-title: -0.015em;
  --measure: 62ch;
  --measure-narrow: 42ch;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6rem;
  --space-section: clamp(3.25rem, 6vw, 4.5rem);
  --space-section-sm: clamp(2.25rem, 4vw, 3rem);
  --container: 1140px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --overlap-cards: 2.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: var(--leading-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  font-synthesis: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  background: var(--blue-dark);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.container-wide {
  width: min(1200px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 144, 196, 0.1);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 158px;
  height: auto;
  display: block;
}

.header-nav-wrap {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle:hover {
  background: var(--blue-soft);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
  border-radius: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem 1.15rem;
}

.header-nav > li {
  position: relative;
  display: flex;
  align-items: center;
}

.header-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-ui);
  font-weight: 500;
  color: #4a5568;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link-row {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link-row > a,
.nav-link-row > .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-ui);
  font-weight: 500;
  color: #4a5568;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link-row > a:hover,
.nav-link-row > a.is-active,
.nav-link-row > .nav-label.is-active {
  color: var(--blue-dark);
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #4a5568;
  cursor: pointer;
  border-radius: 8px;
  padding: 0;
}

.submenu-toggle:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.has-submenu:hover > .dropdown,
.has-submenu:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header-nav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.header-nav > li > a:hover,
.header-nav > li > a.is-active {
  color: var(--blue-dark);
}

.header-nav > li > a:hover::after,
.header-nav > li > a.is-active::after {
  transform: scaleX(1);
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(30, 70, 110, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.18s ease;
  z-index: 30;
}

.header-nav > li:hover > .dropdown,
.header-nav > li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: #445066;
  border-radius: 10px;
}

.dropdown a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.dropdown-featured {
  font-weight: 600;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  margin-bottom: 0.2rem;
}

.dropdown--services {
  min-width: 280px;
  overflow: visible;
}

.dropdown--services .nav-sector {
  position: relative;
}

.dropdown--services .nav-sector > .nav-link-row {
  width: 100%;
  padding-right: 0.15rem;
}

.dropdown--services .nav-sector > .nav-link-row > a {
  flex: 1;
  padding: 0.65rem 0.55rem 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #445066;
  border-radius: 10px;
}

.dropdown--services .nav-sector > .nav-link-row > a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.dropdown--nested {
  top: 0;
  left: calc(100% + 0.35rem);
  transform: translate(0, 6px);
  min-width: 260px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.dropdown--services .nav-sector:hover > .dropdown--nested,
.dropdown--services .nav-sector:focus-within > .dropdown--nested,
.dropdown--services .nav-sector.is-open > .dropdown--nested {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-ui);
  font-weight: 600;
  line-height: var(--leading-ui);
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(74, 144, 196, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-light {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-light:hover {
  background: #f4f9fc;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-link {
  color: var(--blue);
  padding: 0;
  min-height: auto;
  font-weight: 600;
}

.btn-link:hover {
  color: var(--blue-dark);
}

.header-cta {
  white-space: nowrap;
  min-width: 108px;
  padding-inline: 1.35rem;
}

/* Hero home */
.hero-home {
  position: relative;
  min-height: min(72vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: var(--space-10) 0 0;
  background:
    linear-gradient(105deg, rgba(74, 144, 196, 0.72), rgba(120, 175, 215, 0.55)),
    center / cover no-repeat;
  color: var(--white);
  overflow: visible;
}

.hero-home-inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding-bottom: 0;
}

.hero-home-content {
  max-width: 640px;
  padding-bottom: var(--space-2);
  animation: ink-settle 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions .btn {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hero-actions .btn:active {
  transform: scale(0.98);
}

.hero-home h1 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: #fff;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-home p,
.hero-home .hero-lead {
  margin: 0 0 var(--space-6);
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.55;
  max-width: var(--measure-narrow);
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-actions .btn-light {
  color: #2f4f66;
  min-width: 190px;
}

.hero-actions .btn-outline-light {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  min-width: 210px;
  box-shadow: 0 8px 18px rgba(40, 90, 130, 0.28);
}

.hero-actions .btn-outline-light:hover {
  background: #2a638c;
  border-color: #2a638c;
  color: #fff;
}

.quick-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  transform: translateY(var(--overlap-cards));
  margin: 0 0 calc(var(--overlap-cards) * -1);
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(40, 90, 130, 0.12);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid rgba(74, 144, 196, 0.1);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 4.5rem;
  animation: ledger-row 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.quick-card:nth-child(1) { animation-delay: 0.12s; }
.quick-card:nth-child(2) { animation-delay: 0.18s; }
.quick-card:nth-child(3) { animation-delay: 0.24s; }
.quick-card:nth-child(4) { animation-delay: 0.3s; }

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(40, 90, 130, 0.16);
  border-color: rgba(74, 144, 196, 0.28);
}

.quick-card:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 8px 18px rgba(40, 90, 130, 0.12);
}

.quick-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quick-card strong {
  display: block;
  font-size: var(--text-ui);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.quick-card span span {
  display: block;
  font-size: var(--text-small);
  color: var(--muted);
  margin-top: var(--space-1);
  line-height: 1.35;
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-after-hero {
  padding-top: calc(var(--space-section) + var(--overlap-cards));
}

.section-head--compact {
  margin-bottom: var(--space-5);
}

.trust-section {
  padding-top: calc(var(--space-section) + var(--overlap-cards));
  padding-bottom: var(--space-section-sm);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-strip li {
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--space-5);
}

.trust-strip strong {
  display: block;
  font-size: var(--text-ui);
  font-weight: 600;
  color: #1f2a37;
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.trust-strip span {
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.45;
}

.section-head {
  text-align: center;
  max-width: var(--measure);
  margin: 0 auto var(--space-8);
}

.section-head h2,
.section-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-title);
  color: #243041;
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  font-weight: 700;
  text-wrap: balance;
}

.section-head p {
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.55;
  max-width: var(--measure-narrow);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.value-card {
  position: relative;
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  background: center / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
  box-shadow: var(--shadow);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(20, 45, 70, 0.78) 100%);
}

.value-card > * {
  position: relative;
  z-index: 1;
}

.value-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  line-height: 1.25;
  letter-spacing: var(--tracking-title);
}

.value-card p {
  margin: var(--space-2) 0 0;
  font-size: var(--text-small);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

/* Alternating services — unified grid */
.services-stack {
  padding-top: var(--space-2);
}

.services-stack > .section-head {
  margin-bottom: var(--space-8);
}

.service-row {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-row__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-9);
  align-items: center;
  min-height: 0;
  padding-block: var(--space-section);
}

.service-row--dark {
  color: var(--white);
  background-color: #2f6f9c;
}

.service-row--light + .service-row--dark,
.service-row--dark + .service-row--light {
  box-shadow: none;
}

.services-stack .service-row:first-of-type .service-row__copy h3 {
  font-size: var(--text-title-sm);
}

.service-row__copy {
  max-width: var(--measure-narrow);
}

.service-row__copy .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}

.service-row__copy h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  font-weight: 700;
  text-wrap: balance;
}

.service-row__copy p {
  margin: 0 0 var(--space-5);
  font-size: var(--text-lead);
  line-height: var(--leading-body);
}

.service-row__media {
  width: 100%;
  height: clamp(200px, 28vw, 300px);
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.service-row__media--spacer {
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
  background: transparent;
}

.service-row--dark {
  color: var(--white);
}

.service-row--dark .icon-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.service-row--dark p {
  color: rgba(255, 255, 255, 0.92);
}

.service-row--light {
  background: #f7fafc;
  color: var(--text);
}

.service-row--light .icon-badge {
  background: var(--blue-soft);
  color: var(--blue);
}

.service-row--light p {
  color: var(--muted);
}

.service-row--light .btn-link {
  min-height: 42px;
  padding: 0.55rem 0;
}

/* CTA band */
.cta-band {
  padding: var(--space-11) 0;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(40, 100, 150, 0.82), rgba(80, 150, 195, 0.65)),
    center / cover no-repeat;
}

.cta-band h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  font-weight: 700;
  text-wrap: balance;
}

.cta-band p {
  margin: 0 auto var(--space-6);
  max-width: var(--measure-narrow);
  font-size: var(--text-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

/* Como chegar */
.hero-page--guide .guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.guide-address-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7) var(--space-8);
  align-items: start;
}

.guide-address h2,
.guide-media .section-head--left h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
  color: #243041;
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  font-weight: 700;
}

.guide-address-line {
  margin: 0 0 1rem;
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--text);
  max-width: var(--measure-narrow);
}

.guide-note {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 42ch;
}

.guide-actions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--blue-dark);
  border-color: rgba(74, 144, 196, 0.4);
}

.btn-ghost-dark:hover {
  background: var(--blue-soft);
}

.guide-tips {
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.guide-tips h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #1f2a37;
}

.guide-tips ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
}

.guide-tips li {
  padding-left: 0.15rem;
}

.section-head--left {
  text-align: left;
  margin: 0 0 1.25rem;
  max-width: none;
}

.section-head--left p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.guide-media {
  padding-top: 1.5rem;
}

.guide-media--map {
  padding-top: 0.5rem;
  background: #f7fafc;
}

.guide-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(40, 90, 130, 0.12);
  border: 1px solid var(--line);
  background: #d9e6ef;
}

.guide-frame iframe {
  display: block;
  width: 100%;
  height: min(62vh, 480px);
  border: 0;
}

.guide-frame-note {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.guide-frame-note a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .guide-address-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-hero-actions .btn {
    width: 100%;
  }

  .guide-actions-list {
    flex-direction: column;
  }

  .guide-actions-list .btn {
    width: 100%;
  }

  .guide-frame iframe {
    height: 320px;
  }
}

/* Services page */
.hero-page {
  position: relative;
  padding: var(--space-section) 0 var(--space-9);
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(45, 110, 160, 0.8), rgba(95, 160, 205, 0.62)),
    center / cover no-repeat;
}

.hero-page h1 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  font-weight: 700;
  text-wrap: balance;
}

.hero-page > .container > p {
  margin: 0 auto var(--space-6);
  max-width: var(--measure-narrow);
  font-size: var(--text-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.search-box {
  width: min(680px, 100%);
  margin: 0 auto var(--space-5);
  background: var(--white);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow);
}

.search-box svg {
  color: #9aa7b5;
  flex-shrink: 0;
}

.search-box input {
  border: 0;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.filter-pill {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.filter-pill.is-active,
.filter-pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.filter-pill.is-active {
  box-shadow: 0 6px 16px rgba(52, 120, 168, 0.28);
}

.filter-pill:active {
  transform: scale(0.97);
}

.services-catalog {
  padding-bottom: var(--space-4);
}

.services-count {
  margin: var(--space-6) 0 0;
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5);
  padding: var(--space-4) 0 var(--space-10);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.service-card.is-stamping {
  animation: stamp-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--stamp-delay, 0ms);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(74, 144, 196, 0.35);
}

.service-card:active {
  transform: translateY(0) scale(0.995);
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-weight: 600;
  font-size: var(--text-small);
}

.service-card .card-link .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 144, 196, 0.35);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, background 0.18s ease;
}

.service-card:hover .card-link .arrow,
.service-card .card-link:focus-visible .arrow {
  transform: translateX(3px);
  border-color: var(--blue);
  background: var(--blue-soft);
}

.services-empty {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto var(--space-10);
  padding: var(--space-8) var(--space-5);
  border: 1px dashed rgba(74, 144, 196, 0.35);
  border-radius: var(--radius);
  background: #f7fafc;
}

.services-empty[hidden] {
  display: none;
}

.services-empty h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  color: #243041;
}

.services-empty p {
  margin: 0 0 var(--space-6);
  color: var(--muted);
}

.mobile-dock__btn:active {
  transform: scale(0.98);
}

.service-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: var(--text-ui);
  font-weight: 600;
  line-height: 1.3;
  color: #1f2a37;
}

.service-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.45;
  flex: 1;
}

.service-card.is-hidden {
  display: none;
}

/* Notas detail */
.hero-detail {
  position: relative;
  padding: var(--space-section-sm) 0 var(--space-10);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(45, 110, 160, 0.82), rgba(95, 160, 205, 0.62)),
    center / cover no-repeat;
}

.back-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.hero-detail h1 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  font-weight: 700;
  max-width: 18ch;
  text-wrap: balance;
}

.hero-detail p {
  margin: 0;
  max-width: var(--measure);
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--text-lead);
  line-height: 1.55;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  padding: var(--space-8) 0 var(--space-10);
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: 0 4px 16px rgba(40, 90, 130, 0.04);
}

.detail-card--featured {
  border-color: rgba(45, 110, 160, 0.35);
  box-shadow: 0 10px 28px rgba(40, 90, 130, 0.1);
  padding: var(--space-6);
}

.category-featured {
  padding-top: 0;
}

.detail-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.detail-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.detail-card h3 {
  margin: 0 0 0.3rem;
  font-size: var(--text-ui);
  font-weight: 600;
  line-height: 1.3;
  color: #1f2a37;
}

.detail-card .lead {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.45;
}

.detail-card ul {
  display: grid;
  gap: 0.4rem;
}

.detail-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #445066;
  font-size: var(--text-small);
  line-height: 1.4;
}

.detail-card li svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.18rem;
}

.detail-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
}

.detail-card .card-link .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 144, 196, 0.35);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.category-overview {
  padding-top: var(--space-9);
  padding-bottom: var(--space-7);
}

.category-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  gap: var(--space-7);
  align-items: start;
}

.category-count {
  margin: 0 0 var(--space-2);
  color: var(--blue-dark);
  font-size: var(--text-small);
  font-weight: 600;
}

.category-overview h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  color: #243041;
}

.category-overview > .container > .category-overview-grid > div > p {
  margin: 0 0 var(--space-6);
  color: var(--muted);
  max-width: var(--measure);
}

.category-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.category-steps li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--text);
}

.category-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  font-size: var(--text-small);
  font-weight: 700;
}

.category-list {
  background: #f7fafc;
  border-top: 1px solid var(--line);
  padding-top: var(--space-8);
}

.category-list .detail-grid {
  padding-top: 0;
}

@media (max-width: 767px) {
  .category-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Single service */
.single-service {
  padding-top: var(--space-9);
  padding-bottom: var(--space-7);
}

.single-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.85fr);
  gap: var(--space-7);
  align-items: start;
}

.single-service-main h2,
.single-service-aside h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  color: #243041;
  font-weight: 700;
}

.single-service-main p,
.single-service-aside p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  max-width: var(--measure);
}

.single-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.single-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text);
}

.single-service-list svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-notes {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 0 12px 12px 0;
}

.service-notes p {
  margin: 0;
  color: var(--ink, #1a2332);
  font-size: var(--text-small, 0.95rem);
}

.service-notes p + p {
  margin-top: 0.55rem;
}

.service-about,
.service-docs {
  margin-top: 1.75rem;
}

.service-docs-section {
  margin-top: 1.25rem;
}

.service-docs-section h3 {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-dark, #1e4d72);
  margin: 0 0 0.65rem;
}

.single-service-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.single-service-aside {
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: sticky;
  top: calc(var(--header-h, 78px) + 0.75rem);
}

.single-service-aside .btn {
  width: 100%;
}

.aside-cat-link {
  margin-top: 0.5rem;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.single-related {
  background: #f7fafc;
  border-top: 1px solid var(--line);
}

/* Request form */
.request-section {
  background: #f7fafc;
  border-top: 1px solid var(--line);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: var(--space-7);
  align-items: start;
}

.request-intro h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
  color: #243041;
}

.request-intro p {
  margin: 0 0 var(--space-5);
  color: var(--muted);
  max-width: var(--measure);
}

.request-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
  color: var(--text);
}

.request-bullets li {
  padding-left: 1.1rem;
  position: relative;
}

.request-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
}

.request-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: 0 10px 28px rgba(40, 90, 130, 0.08);
  display: grid;
  gap: var(--space-4);
}

.request-form .form-row {
  display: grid;
  gap: var(--space-2);
}

.request-form label {
  font-weight: 600;
  color: #314155;
  font-size: var(--text-small);
}

.request-form input,
.request-form textarea,
.request-form select {
  width: 100%;
  border: 1.5px solid #d7e3ee;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus {
  outline: 3px solid rgba(74, 144, 196, 0.28);
  border-color: var(--blue);
}

.request-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.request-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.request-form .hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: var(--text-small);
  font-weight: 600;
}

.form-status.is-loading {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.form-status.is-success {
  background: #e7f7ee;
  color: #14653a;
}

.form-status.is-error {
  background: #fde8e8;
  color: #8a1f1f;
}

@media (max-width: 767px) {
  .request-layout,
  .request-form .form-grid {
    grid-template-columns: 1fr;
  }
}

/* E-notariado */
.enotariado-guide {
  background: #fff;
  border-top: 1px solid var(--line);
}

.eno-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.eno-guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: #f7fafc;
}

.eno-guide-card h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-title-xs, 1.15rem);
  color: #243041;
}

.eno-guide-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--text);
}

.eno-guide-card p {
  margin: 0 0 var(--space-4);
  color: var(--muted);
}

.eno-guide-card--accent {
  background: linear-gradient(160deg, rgba(74, 144, 196, 0.12), #fff 55%);
  border-color: rgba(74, 144, 196, 0.35);
}

.enotariado-section .enotariado-form {
  max-width: 920px;
}

.eno-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  gap: var(--space-4);
}

.eno-fieldset + .eno-fieldset {
  margin-top: var(--space-2);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.eno-fieldset legend {
  padding: 0;
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #243041;
}

.eno-hint {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
}

.eno-req {
  color: #b42318;
  font-weight: 600;
}

.request-form .form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.request-form .form-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.request-form input[type="file"] {
  padding: 0.55rem 0.65rem;
  background: #f8fafc;
}

@media (max-width: 900px) {
  .eno-guide-grid,
  .request-form .form-grid--3,
  .request-form .form-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .eno-guide-grid,
  .request-form .form-grid--3,
  .request-form .form-grid--4 {
    grid-template-columns: 1fr;
  }
}

.services-grid--related {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-detail .btn-outline-light {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

.hero-detail .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

@media (max-width: 767px) {
  .single-service-grid {
    grid-template-columns: 1fr;
  }

  .single-service-aside {
    position: static;
  }
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: #f7fafc;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-7) var(--space-6);
  padding: var(--space-9) 0 var(--space-8);
}

.footer-brand-block p {
  margin: 0.85rem 0 0;
  max-width: var(--measure-narrow);
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.55;
}

.footer-logo img {
  width: 156px;
  height: auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: var(--text-small);
  color: #1f2a37;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-col a {
  color: #526074;
  font-size: var(--text-small);
  line-height: 1.4;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--blue-dark);
}

.footer-contact p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.55;
}

.footer-contact a {
  color: var(--blue-dark);
  font-weight: 600;
}

.footer-maps-link {
  margin-top: 0.35rem;
}

.footer-map {
  border-top: 1px solid rgba(74, 144, 196, 0.12);
  background: #eef4f8;
}

.footer-map-inner {
  padding: 0 0 0;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 16px;
  margin: 1.25rem 0 1.5rem;
  box-shadow: 0 10px 28px rgba(40, 90, 130, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(74, 144, 196, 0.12);
  background: #fff;
}

.footer-bottom-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.footer-brasao {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: block;
}

.footer-bottom-inner p {
  margin: 0;
  color: #8b95a5;
  font-size: var(--text-label);
  line-height: 1.4;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.footer-bottom-links a {
  color: #6b7788;
  font-size: var(--text-label);
}

.footer-bottom-links a:hover {
  color: var(--blue-dark);
}

@keyframes ink-settle {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes ledger-row {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stamp-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* Mobile dock — hidden on desktop; sticky thumbs-first CTAs on phone */
.mobile-dock {
  display: none;
}

.mobile-dock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-ui);
  font-weight: 600;
  text-align: center;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-dock__btn:not(.mobile-dock__btn--ghost) {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(74, 144, 196, 0.28);
}

.mobile-dock__btn--ghost {
  background: var(--white);
  color: var(--blue-dark);
  border-color: rgba(74, 144, 196, 0.35);
}

.mobile-dock__btn:active {
  transform: scale(0.98);
}

/* Touch / no-hover: larger targets, no hover-only affordances */
@media (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }

  .btn-link {
    min-height: 44px;
    padding: 0.35rem 0;
  }

  .nav-toggle,
  .submenu-toggle {
    width: 44px;
    height: 44px;
  }

  .header-nav > li > a {
    min-height: 44px;
  }

  .filter-pill {
    min-height: 44px;
    padding: 0.65rem 1.1rem;
  }
}

@media (hover: none) {
  .quick-card:hover,
  .btn-primary:hover,
  .btn-light:hover,
  .btn-outline-light:hover,
  .btn-ghost:hover {
    transform: none;
  }

  .filter-pill:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.75);
    color: var(--blue-dark);
  }

  .quick-card:active {
    box-shadow: 0 10px 24px rgba(40, 90, 130, 0.14);
  }
}

/* Compact desktop / large tablet landscape */
@media (max-width: 1100px) {
  .header-inner {
    gap: 1rem;
  }

  .header-nav {
    gap: 0.1rem 0.85rem;
  }

  .header-nav > li > a {
    font-size: var(--text-small);
  }

  .brand img {
    width: 140px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet: hybrid two-column where it helps */
@media (max-width: 1024px) {
  .quick-cards,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-row__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    min-height: 0;
    padding-block: var(--space-section-sm);
  }

  .service-row__media {
    height: 220px;
    order: -1;
  }

  .service-row__media--spacer {
    display: none;
  }

  .hero-home {
    min-height: min(58vh, 560px);
  }
}

/* Phone + small tablet: drawer nav, single column, bottom dock */
@media (max-width: 767px) {
  :root {
    --text-display: clamp(1.75rem, 7vw, 2.2rem);
    --text-title: clamp(1.45rem, 5.5vw, 1.9rem);
    --text-title-sm: clamp(1.35rem, 5vw, 1.7rem);
    --text-lead: 1.0625rem;
    --header-h: 64px;
    --dock-h: calc(64px + env(safe-area-inset-bottom, 0px));
    --overlap-cards: 1.25rem;
    --space-section: 3rem;
    --space-section-sm: 2.25rem;
    --gutter: 1.5rem;
  }

  body {
    padding-bottom: var(--dock-h);
  }

  .container,
  .container-wide,
  .hero-home-inner {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand img {
    width: 128px;
  }

  .header-nav-wrap {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: block;
  }

  /* Dock inferior cobre o Agendar no celular */
  .header-cta {
    display: none;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.65rem var(--gutter) calc(0.85rem + env(safe-area-inset-bottom, 0px));
    max-height: min(78vh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20, 50, 80, 0.1);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav > li {
    width: 100%;
  }

  .header-nav > li > a {
    width: auto;
    flex: 1;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid #eef3f7;
    white-space: normal;
    font-size: 1rem;
  }

  .nav-link-row {
    width: 100%;
    border-bottom: 1px solid #eef3f7;
  }

  .nav-link-row > a {
    border-bottom: 0;
  }

  .nav-link-row > a,
  .nav-link-row > .nav-label {
    flex: 1;
    padding: 0.9rem 0.25rem;
    white-space: normal;
    font-size: 1rem;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
  }

  .has-submenu.is-open .caret {
    transform: rotate(180deg);
  }

  .header-nav > li > a::after {
    display: none;
  }

  .header-nav .btn {
    width: 100%;
    min-height: 48px;
  }

  .dropdown {
    position: static;
    left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    display: none;
    min-width: 0;
    padding: 0.15rem 0 0.35rem 0.65rem;
    background: transparent;
  }

  .header-nav > li.is-open > .dropdown {
    display: block;
  }

  .dropdown--services {
    max-height: none;
    overflow: visible;
  }

  .dropdown--services .nav-sector > .nav-link-row {
    border-bottom: 1px solid #eef3f7;
  }

  .dropdown--services .nav-sector > .nav-link-row > a {
    font-weight: 600;
    padding: 0.75rem 0.25rem;
  }

  .dropdown--nested {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.1rem 0 0.35rem 0.75rem;
    min-width: 0;
  }

  .dropdown--services .nav-sector.is-open > .dropdown--nested {
    display: block;
  }

  .nav-sector.is-open > .nav-link-row .caret {
    transform: rotate(180deg);
  }

  .dropdown a {
    padding: 0.7rem 0.4rem;
    font-size: var(--text-ui);
  }

  .hero-home {
    min-height: auto;
    padding: 3rem 0 0;
    align-items: flex-end;
  }

  .hero-home-content {
    padding-bottom: 1.75rem;
  }

  .hero-home h1 {
    max-width: 18ch;
  }

  .hero-home p,
  .hero-home .hero-lead {
    font-size: var(--text-body);
    max-width: 36ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn-light,
  .hero-actions .btn-outline-light {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .quick-cards,
  .value-grid,
  .services-grid,
  .detail-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .quick-cards {
    gap: var(--space-3);
  }

  .quick-card {
    padding: var(--space-4);
    min-height: 72px;
  }

  .section-after-hero,
  .trust-section {
    padding-top: calc(var(--space-section) + var(--overlap-cards));
  }

  .section {
    padding: var(--space-section) 0;
  }

  .section-head {
    margin-bottom: var(--space-6);
    text-align: left;
  }

  .service-row__grid {
    padding-block: var(--space-section-sm);
    gap: var(--space-5);
  }

  .service-row__media {
    height: 180px;
    border-radius: 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 1.75rem;
  }

  .footer-map iframe {
    height: 220px;
    border-radius: 12px;
    margin: 1rem 0 1.15rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .footer-bottom-brand {
    gap: 0.7rem;
  }

  .footer-brasao {
    width: 42px;
    height: 42px;
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(40, 90, 130, 0.1);
  }
}

/* Narrow phones */
@media (max-width: 380px) {
  :root {
    --gutter: 1.25rem;
  }

  .brand img {
    width: 112px;
  }

  .hero-actions .btn-outline-light,
  .hero-actions .btn-light {
    font-size: 0.9rem;
  }

  .mobile-dock {
    gap: 0.5rem;
  }

  .mobile-dock__btn {
    font-size: 0.88rem;
    padding-inline: 0.65rem;
  }
}

/* Landscape phones: keep dock usable, compress hero */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero-home {
    min-height: auto;
    padding-top: 2rem;
  }

  .quick-cards {
    grid-template-columns: 1fr 1fr;
    transform: translateY(1rem);
  }

  .mobile-dock {
    display: grid;
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}

/* Mid tablet portrait: keep hamburger earlier than old 920 break */
@media (min-width: 768px) and (max-width: 920px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    min-height: 68px;
  }

  .header-nav-wrap {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: block;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.75rem 1.1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20, 50, 80, 0.1);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav > li {
    width: 100%;
  }

  .header-nav > li > a {
    width: auto;
    flex: 1;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid #eef3f7;
    white-space: normal;
  }

  .nav-link-row {
    width: 100%;
    border-bottom: 1px solid #eef3f7;
  }

  .nav-link-row > a {
    border-bottom: 0;
  }

  .nav-link-row > a,
  .nav-link-row > .nav-label {
    flex: 1;
    padding: 0.9rem 0.25rem;
    white-space: normal;
    font-size: 1rem;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
  }

  .has-submenu.is-open .caret {
    transform: rotate(180deg);
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section-after-hero,
  .trust-section {
    padding-top: calc(var(--space-section) + var(--overlap-cards));
  }

  .header-nav > li > a::after {
    display: none;
  }

  .header-nav .btn {
    width: 100%;
  }

  .dropdown {
    position: static;
    left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    display: none;
    min-width: 0;
    padding: 0.15rem 0 0.35rem 0.65rem;
    background: transparent;
  }

  .header-nav > li.is-open > .dropdown {
    display: block;
  }

  .dropdown--services .nav-sector > .nav-link-row {
    border-bottom: 1px solid #eef3f7;
  }

  .dropdown--nested {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.1rem 0 0.35rem 0.75rem;
    min-width: 0;
  }

  .dropdown--services .nav-sector.is-open > .dropdown--nested {
    display: block;
  }

  .nav-sector.is-open > .nav-link-row .caret {
    transform: rotate(180deg);
  }

  .dropdown a {
    padding: 0.55rem 0.4rem;
  }

  .hero-home {
    min-height: auto;
    padding: var(--space-9) 0 0;
  }

  .hero-home-content {
    padding-bottom: var(--space-2);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    padding: var(--space-8) 0 var(--space-7);
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-home-content,
  .quick-card,
  .service-card.is-stamping {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .quick-cards {
    transform: translateY(var(--overlap-cards));
  }
}

.legal-doc {
  max-width: 48rem;
}

.legal-doc__section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, #e4ebf2);
}

.legal-doc__section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-doc__section h2 {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
  color: var(--blue-dark, #1e4d72);
}

.legal-doc__section p,
.legal-doc__section li {
  color: #445066;
  line-height: 1.65;
}

.legal-doc__section p + p {
  margin-top: 0.85rem;
}

.legal-doc__section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.legal-doc__section li + li {
  margin-top: 0.4rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #445066;
  cursor: pointer;
}

.form-check input {
  margin-top: 0.3rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
}

/* LGPD floating button (beside Milla — Milla ~138×119 at right:0) */
.lgpd-fab {
  position: fixed;
  right: 152px;
  bottom: 78px;
  z-index: 1200;
}

.lgpd-fab__btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(145deg, #2f6fa0, #1f4f74);
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 79, 116, 0.35);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lgpd-fab__btn:hover,
.lgpd-fab__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(31, 79, 116, 0.42);
  outline: none;
}

.lgpd-fab__btn:focus-visible {
  outline: 3px solid rgba(74, 144, 196, 0.45);
  outline-offset: 3px;
}

.lgpd-fab.is-open .lgpd-fab__btn {
  background: linear-gradient(145deg, #1f4f74, #163a56);
}

.lgpd-fab__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lgpd-fab__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(320px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(40, 90, 130, 0.18);
  padding: 1rem 1.1rem 1.15rem;
}

.lgpd-fab__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.lgpd-fab__panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #243041;
  line-height: 1.3;
}

.lgpd-fab__close {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
}

.lgpd-fab__panel-body {
  display: grid;
  gap: 0.75rem;
}

.lgpd-fab__panel-body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.45;
}

.lgpd-fab__panel-body .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.lgpd-fab__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(20, 35, 50, 0.28);
}

@media (max-width: 767px) {
  .lgpd-fab {
    right: 148px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .lgpd-fab__panel {
    position: fixed;
    right: var(--gutter);
    left: var(--gutter);
    bottom: calc(160px + env(safe-area-inset-bottom, 0px));
    width: auto;
  }
}

/* Certidão Animal — detalhes fofinhos no layout institucional */
.animal-paw {
  color: var(--blue);
  vertical-align: -0.15em;
  display: inline-block;
}

.animal-tips-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.animal-tips__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.animal-tip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: #f7fafc;
}

.animal-tip .animal-paw {
  color: #5a9ec4;
}

.animal-tip h3 {
  margin: 0.55rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #243041;
}

.animal-tip p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.45;
}

.animal-form-section .animal-form {
  max-width: 920px;
}

.animal-pet-block {
  background: linear-gradient(160deg, rgba(74, 144, 196, 0.08), rgba(255, 255, 255, 0.9));
  border-radius: 16px;
  padding: 1rem 1rem 1.1rem !important;
  border: 1px solid rgba(74, 144, 196, 0.18);
}

.animal-pet-block + .eno-fieldset,
.eno-fieldset + .animal-pet-block {
  border-top: none;
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .animal-tips__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .animal-tips__grid {
    grid-template-columns: 1fr;
  }
}

/* Entrada de Casamento */
.casamento-info {
  background: #fff;
  border-top: 1px solid var(--line);
}

.casamento-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.casamento-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: #f7fafc;
}

.casamento-info-card h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #243041;
}

.casamento-info-card ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text);
}

.casamento-info-card p {
  margin: 0 0 var(--space-4);
  color: var(--muted);
}

.casamento-form-section .casamento-form {
  max-width: 960px;
}

.casamento-block + .casamento-block {
  margin-top: 0.25rem;
}

.casamento-block--soft {
  background: #f8fbfd;
  border-radius: 14px;
  padding: 1rem !important;
  border: 1px solid rgba(74, 144, 196, 0.14);
}

.casamento-block--soft + .eno-fieldset,
.eno-fieldset + .casamento-block--soft {
  border-top: none;
}

@media (max-width: 900px) {
  .casamento-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .casamento-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Sala de Casamento */
.wedding-hero {
  position: relative;
  min-height: min(74vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.wedding-hero__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.wedding-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 36, 54, 0.15) 0%, rgba(18, 36, 54, 0.45) 45%, rgba(14, 28, 42, 0.9) 100%),
    linear-gradient(90deg, rgba(18, 36, 54, 0.5), transparent 60%);
}

.wedding-hero__content {
  position: relative;
  z-index: 1;
  padding: 5.75rem 0 3.25rem;
  text-align: left;
  max-width: 46rem;
}

.wedding-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.wedding-hero__content h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

.wedding-hero__content > p {
  margin: 0 0 1rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.wedding-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.wedding-days li {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wedding-schedule {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

.wedding-hero .guide-hero-actions {
  justify-content: flex-start;
}

/* Highlights strip */
.wedding-highlights {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.wedding-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.wedding-highlight {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(40, 90, 130, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wedding-highlight:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 144, 196, 0.35);
  box-shadow: 0 16px 36px rgba(40, 90, 130, 0.14);
}

.wedding-highlight__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.wedding-highlight__icon--live {
  background: #fdecec;
  color: #c0392b;
}

.wedding-highlight strong {
  font-size: 1rem;
  color: #1f2937;
}

.wedding-highlight span:last-child {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* About */
.wedding-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.25rem;
  align-items: center;
}

.wedding-about__copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
}

.wedding-about__copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 38rem;
}

.wedding-about__list {
  margin: 0 0 1.35rem;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}

.wedding-about__list li + li {
  margin-top: 0.35rem;
}

.wedding-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.wedding-photo {
  margin: 0;
}

.wedding-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(40, 90, 130, 0.14);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.wedding-photo figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.wedding-section-head {
  margin-bottom: 1.35rem;
  max-width: 36rem;
}

.wedding-section-head__label {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wedding-section-head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
}

.wedding-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wedding-tour {
  background: #f8fbfd;
}

.guide-frame--tour iframe {
  height: min(72vh, 560px);
}

/* Casamento ao vivo */
.wedding-live {
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
}

.wedding-live-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(40, 90, 130, 0.1);
}

.wedding-live-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, #1a3349 0%, #2d6ea0 100%);
  color: #fff;
}

.wedding-live-card__intro h2 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.wedding-live-card__intro p {
  margin: 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.wedding-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wedding-live-pulse span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff6b6b;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55);
  animation: wedding-live-dot 1.8s ease infinite;
}

@keyframes wedding-live-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.wedding-live-schedule {
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wedding-live-schedule li {
  min-width: 4.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.wedding-live-schedule strong {
  display: block;
  font-size: 0.95rem;
}

.wedding-live-schedule span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.wedding-live-card__body {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 0;
}

.wedding-live-guide {
  padding: 1.5rem 1.6rem;
  border-right: 1px solid var(--line);
  background: #fbfdff;
}

.wedding-live-guide h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: #1f2937;
}

.wedding-live-steps {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}

.wedding-live-steps li + li {
  margin-top: 0.55rem;
}

.wedding-live-note {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.wedding-live-feed {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f4f7fa;
}

.wedding-live-feed__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #dde6ef;
  background: #eef3f8;
}

.wedding-live-feed__dots::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: #ff5f57;
  box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840;
}

.wedding-live-feed__title {
  font-size: 0.82rem;
  color: #526074;
  font-weight: 600;
}

.wedding-live-feed__frame {
  flex: 1;
  min-height: 520px;
  background: #fff;
}

.wedding-live-feed__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}

.wedding-cta-band .wedding-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .wedding-highlights__grid,
  .wedding-about__grid,
  .wedding-live-card__body {
    grid-template-columns: 1fr;
  }

  .wedding-highlights {
    margin-top: -1.25rem;
  }

  .wedding-hero {
    min-height: min(68vh, 520px);
  }

  .wedding-hero__content {
    padding: 4.5rem 0 2.25rem;
  }

  .wedding-live-guide {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .wedding-live-feed__frame,
  .wedding-live-feed__frame iframe {
    min-height: 420px;
  }

  .guide-frame--tour iframe {
    height: min(58vh, 420px);
  }
}

@media (max-width: 600px) {
  .wedding-live-card__header {
    padding: 1.25rem;
  }

  .wedding-live-schedule {
    width: 100%;
    justify-content: space-between;
  }

  .wedding-live-schedule li {
    flex: 1;
    min-width: 0;
  }
}

/* Agendamento */
.schedule-section {
  background: #f8fbfd;
}

.schedule-shell {
  max-width: 920px;
}

.schedule-intro {
  margin-bottom: 1.35rem;
}

.schedule-intro h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--text-title-sm);
}

.schedule-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.schedule-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 14px 36px rgba(40, 90, 130, 0.08);
}

.schedule-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.schedule-step {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef4f8;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.schedule-step.is-active {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.schedule-step.is-done {
  background: #e7f7ee;
  color: #14653a;
}

.schedule-panel[hidden] {
  display: none !important;
}

.schedule-panel.is-active:not([hidden]) {
  display: block;
}

.schedule-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.schedule-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.schedule-card:hover,
.schedule-card.is-selected {
  border-color: rgba(74, 144, 196, 0.45);
  box-shadow: 0 10px 24px rgba(40, 90, 130, 0.1);
  transform: translateY(-1px);
}

.schedule-card strong {
  color: #1f2937;
  font-size: 0.98rem;
}

.schedule-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.schedule-datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.schedule-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #334155;
  font-size: 0.92rem;
}

.schedule-field input,
.schedule-field select,
.schedule-field textarea {
  width: 100%;
  border: 1.5px solid #d7e3ee;
  border-radius: 12px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  background: #fff;
}

.schedule-field input:focus,
.schedule-field select:focus,
.schedule-field textarea:focus {
  outline: none;
  border-color: #4a90c4;
  box-shadow: 0 0 0 4px rgba(74, 144, 196, 0.12);
}

.schedule-field--full {
  grid-column: 1 / -1;
}

.schedule-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.schedule-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.schedule-slot {
  min-width: 120px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  color: var(--blue-dark);
  cursor: pointer;
}

.schedule-slot.is-selected,
.schedule-slot:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.schedule-loading,
.schedule-empty {
  margin: 0 0 1rem;
  color: var(--muted);
}

.schedule-summary {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
}

.schedule-summary p {
  margin: 0.25rem 0;
  color: #334155;
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.schedule-back {
  margin-top: 0.35rem;
}

@media (max-width: 767px) {
  .schedule-datetime,
  .schedule-fields {
    grid-template-columns: 1fr;
  }

  .schedule-form {
    padding: 1rem;
  }
}

