/* v83: a restrained travel-site hierarchy, without touching Elementor or Links.
 * Load after styles.css; component fixes (alignment, Salvador, tides) follow.
 * Scoped specificity also protects these rules from the legacy critical CSS.
 */

body:not(.links-standalone) > main:not(.elementor-localiza-page) {
  --refined-shadow: 0 6px 22px rgba(16, 48, 48, .055);
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) .section {
  width: min(1180px, calc(100% - 48px));
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) h2 {
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.16;
  letter-spacing: -.025em;
  text-wrap: balance;
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) .eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.5;
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) :is(.primary-button, .button-link) {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 750;
  box-shadow: none;
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) :is(.tour-card, .catalog-card, .compare-card) {
  border-radius: 20px;
  box-shadow: var(--refined-shadow);
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) :is(.tour-card, .catalog-card, .compare-card)::after {
  content: none;
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) :is(.tour-card, .catalog-card, .compare-card):hover {
  transform: none;
  box-shadow: var(--refined-shadow);
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) :is(.tour-card, .catalog-card) .stat-pill {
  background: #f4f8f7;
  border-color: #e4ece9;
  box-shadow: none;
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) :is(.tour-card, .catalog-card) .card-stats .stat-pill:first-child {
  background: #fff8ed;
  border-color: #f4e6cf;
}

body:not(.links-standalone) > main:not(.elementor-localiza-page) .tag {
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 750;
  box-shadow: none;
}

body .localiza-home > .hero-home {
  min-height: 620px;
  padding: 88px 24px 58px;
  align-items: center;
  background-position: center 56%;
}

body .localiza-home .hero-overlay {
  background: linear-gradient(90deg, rgba(10, 36, 40, .88), rgba(10, 46, 50, .65) 52%, rgba(10, 46, 50, .18));
}

body .localiza-home .hero-content {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin-inline: auto;
}

body .localiza-home .hero-content h1 {
  max-width: 780px;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 750;
  line-height: 1.07;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body .localiza-home .hero-copy {
  max-width: 610px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

body .localiza-home .search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.65fr) minmax(165px, 1fr) minmax(130px, .8fr) auto;
  align-items: end;
  width: min(940px, 100%);
  gap: 14px;
  margin-top: 0;
  padding: 16px;
  border: 1px solid #e2e9e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(8, 30, 36, .12);
  backdrop-filter: none;
}

body .localiza-home .search-panel label {
  min-width: 0;
  gap: 7px;
  color: #526567;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

body .localiza-home .search-panel :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 10px 12px;
  border-radius: 9px;
  border-color: #dfe8e5;
  background: #fafcfb;
  color: #15363d;
  font-size: 14px;
  line-height: 1.4;
}

body .localiza-home .search-panel button {
  min-height: 45px;
  padding: 12px 22px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
}

body .localiza-home .trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  margin-top: 20px;
}

body .localiza-home .trust-strip span {
  display: inline-flex;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  backdrop-filter: none;
}

body .localiza-home .trust-strip span::before {
  content: "\2713";
  flex-basis: auto;
  width: auto;
  height: auto;
  background: transparent;
  color: #8ce0d0;
  font-size: 13px;
}

body.home .localiza-home > .section {
  padding-block: 64px;
}

body .localiza-home > .split-section {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  border-bottom: 1px solid #e0ebe7;
}

body .localiza-home .split-section h2 {
  max-width: 590px;
}

body .localiza-home .split-section p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 0;
  color: #586e73;
  font-size: 16px;
  line-height: 1.75;
}

body .localiza-home .metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

body .localiza-home .metrics-grid article {
  min-width: 0;
  min-height: 106px;
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body .localiza-home .metrics-grid article + article {
  border-left: 1px solid #dbe7e3;
}

body .localiza-home .metrics-grid strong {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

body .localiza-home .metrics-grid span {
  display: block;
  margin-top: 10px;
  color: #586e73;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

body .localiza-home .section-heading {
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

body .localiza-home .section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #586e73;
  font-size: 15px;
}

body .localiza-home .section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
  font-size: 13px;
}

body .localiza-home .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body .localiza-home .tour-card > img {
  width: 100%;
  height: var(--card-image-height, auto) !important;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

body .localiza-home .tour-card > div {
  padding: 22px;
}

body .localiza-home .tour-card h3 {
  min-height: 50px;
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.015em;
}

body .localiza-home .card-grid .tour-card p {
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
  margin: 0 0 12px;
  color: var(--card-text, #586e73);
  font-size: 14px;
  line-height: 1.6;
}

body .localiza-home .tour-card > div .card-stats .stat-pill {
  min-height: 58px !important;
  padding: 11px 13px !important;
  border-radius: 11px !important;
}

body .localiza-home .tour-card > div .card-stats .stat-pill:first-child strong {
  font-size: clamp(26px, 2.45vw, 32px) !important;
  line-height: 1.2 !important;
}

body .localiza-home .tour-card > div .card-stats .stat-pill:not(:first-child) strong {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

body .localiza-home .tour-card > div .card-stats .stat-pill span {
  font-size: 9px !important;
  line-height: 1.4 !important;
  letter-spacing: .025em;
}

body.home .localiza-home > .feature-band {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  padding: 38px 42px;
  border-radius: 20px;
  background: #104c50;
  box-shadow: none;
}

body .localiza-home .feature-band h2 {
  max-width: 670px;
  color: #fff;
  font-size: clamp(26px, 2.7vw, 35px);
}

body .localiza-home .feature-band p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.65;
}

body .localiza-home .contact-options {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 44px;
}

body .localiza-home .contact-options h2 {
  font-size: clamp(27px, 2.5vw, 34px);
}

body .localiza-home .contact-options p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.7;
}

body .localiza-home .contact-options-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body .localiza-home .contact-options .contact-option {
  min-height: 180px;
  align-content: start;
  gap: 11px;
  padding: 22px 18px;
  border: 1px solid #dce8e3;
  border-radius: 16px;
  background: #fff;
  color: #153f44;
  box-shadow: none;
}

body .localiza-home .contact-option > span:not(.contact-option-avatar) {
  color: #647c7e;
  font-size: 10px;
  letter-spacing: .04em;
}

body .localiza-home .contact-option > strong {
  max-width: none;
  font-size: 18px;
  line-height: 1.25;
}

body .localiza-home .contact-option .contact-option-avatar {
  border: 1px solid #e1ebe7;
  background: #e9f5f0;
}

body .localiza-home > .cta-section {
  max-width: 1180px;
  margin-bottom: 64px;
  padding: 52px 28px;
  border: 1px solid #dfebe5;
  border-radius: 22px;
  background: #edf5f1;
}

body .localiza-home .cta-section h2 {
  max-width: 690px;
  margin-inline: auto;
}

body .localiza-home .cta-section p:not(.eyebrow) {
  max-width: 630px;
  margin: 18px auto 24px;
  color: #586e73;
  font-size: 15px;
  line-height: 1.7;
}

body .localiza-home .cta-section .primary-button {
  width: auto;
  min-width: 210px;
  max-width: 100%;
}

@media (max-width: 1080px) {
  body .localiza-home .search-panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .85fr) auto;
    gap: 10px;
  }

  body .localiza-home > .split-section,
  body .localiza-home .contact-options {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body .localiza-home .metrics-grid {
    max-width: 560px;
  }

  body .localiza-home .card-grid {
    gap: 16px;
  }

  body .localiza-home .tour-card > div {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  body:not(.links-standalone) > main:not(.elementor-localiza-page) .section {
    width: min(1180px, calc(100% - 36px));
  }

  body.home .localiza-home > .section {
    padding-block: 44px;
  }

  body .localiza-home > .hero-home {
    min-height: 0 !important;
    padding: 48px 22px 34px !important;
  }

  body .localiza-home .hero-overlay {
    background: linear-gradient(100deg, rgba(10, 36, 40, .85), rgba(10, 46, 50, .57));
  }

  body .localiza-home .hero-content h1 {
    max-width: 590px !important;
    font-size: clamp(34px, 6.4vw, 47px) !important;
    line-height: 1.09 !important;
    letter-spacing: -.03em !important;
  }

  body .localiza-home .hero-copy {
    margin: 18px 0 24px;
    font-size: 16px;
  }

  body .localiza-home .search-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  body .localiza-home .search-panel label:first-child,
  body .localiza-home .search-panel button {
    grid-column: 1 / -1;
  }

  body .localiza-home .search-panel button {
    min-height: 46px;
  }

  body .localiza-home .trust-strip {
    gap: 8px 15px;
  }

  body .localiza-home .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
  }

  body .localiza-home .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body .localiza-home .tour-card > img {
    aspect-ratio: 1.6 / 1;
  }

  body .localiza-home .tour-card > div {
    padding: 22px;
  }

  body .localiza-home .tour-card h3 {
    min-height: 0;
  }

  body.home .localiza-home > .feature-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px;
  }

  body .localiza-home .feature-band .primary-button {
    justify-self: start;
  }

  body .localiza-home .contact-options-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body .localiza-home .contact-options .contact-option {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    align-items: center;
    gap: 4px 16px;
    padding: 18px;
  }

  body .localiza-home .contact-option .contact-option-avatar {
    grid-row: 1 / 3;
  }

  body .localiza-home .contact-option > strong {
    grid-column: 2;
  }

  body .localiza-home > .cta-section {
    margin-bottom: 44px;
    padding: 36px 24px;
  }
}

@media (max-width: 380px) {
  body .localiza-home > .hero-home {
    padding-inline: 18px !important;
  }

  body .localiza-home .metrics-grid article {
    padding-inline: 10px;
  }

  body .localiza-home .metrics-grid strong {
    font-size: 25px;
  }

  body .localiza-home .metrics-grid span {
    font-size: 11px;
  }

  body .localiza-home .search-panel {
    gap: 10px;
    padding: 13px;
  }

  body .localiza-home .search-panel :is(input, select) {
    padding-inline: 8px;
    font-size: 12px;
  }

  body .localiza-home .tour-card > div {
    padding: 18px;
  }
}
