/* ── WP/Theme Reset — override TwentyTwentyFive + block global styles ─── */
body.jm-home-page {
  font-family: var(--font-sans, 'Inter', sans-serif) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: normal !important;
  background-color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.jm-home-page a:where(:not(.wp-element-button)) {
  text-decoration: none !important;
  color: inherit;
}

body.jm-home-page h1,
body.jm-home-page h2,
body.jm-home-page h3,
body.jm-home-page h4,
body.jm-home-page h5,
body.jm-home-page h6 {
  font-family: var(--font-display, 'Outfit', 'Inter', sans-serif) !important;
  font-weight: 800 !important;
  letter-spacing: normal !important;
  line-height: 1.1 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  text-wrap: balance;
}

/* WP adds margin to all direct children of .wp-site-blocks */
body.jm-home-page section,
body.jm-home-page header,
body.jm-home-page footer {
  margin-block-start: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────── */

/* home.css — JetMarine Homepage — mobile-first */

/* ── Base ─────────────────────────────────────────────────────────────── */
.jm-home-page { font-family: var(--font-sans); color: var(--color-ink); margin: 0; padding: 0; }
.jm-home-page * { box-sizing: border-box; }
.jm-container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.jm-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  background: linear-gradient(160deg, #001B3D 0%, #003366 50%, #0055A4 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jm-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.jm-hero__orb--1 {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  background: radial-gradient(circle, rgba(255,107,53,.25) 0%, rgba(0,119,182,.12) 60%, transparent 80%);
  top: -15%;
  right: -15%;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.jm-hero__orb--2 {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: radial-gradient(circle, rgba(0,180,216,.18) 0%, transparent 70%);
  bottom: 5%;
  left: -10%;
  animation: orb-drift 24s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4%, 6%) scale(1.06); }
}

.jm-hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  animation: particle-float var(--duration, 9s) var(--delay, 0s) ease-in-out infinite alternate;
}

@keyframes particle-float {
  from { transform: translateY(0) translateX(0); opacity: .15; }
  to   { transform: translateY(-40px) translateX(12px); opacity: .55; }
}

.jm-hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 2.5rem) 1.25rem 5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.jm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}

.jm-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
}

.jm-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #48cae4 0%, #90e0ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jm-hero__sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  opacity: .8;
  max-width: 480px;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.jm-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.jm-hero__wave svg { display: block; width: 100%; height: auto; }

/* ── Search Form ───────────────────────────────────────────────────────── */
.jm-search {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  width: 100%;
  max-width: 680px;
  text-align: left;
}

.jm-search__fields {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: .875rem;
}

.jm-search__field label {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-muted);
  margin-bottom: .3rem;
}

.jm-search__field select,
.jm-search__field input[type="date"] {
  width: 100%;
  padding: .65rem .85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-surface);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur-normal);
}

.jm-search__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.2rem;
}

.jm-search__field select:focus,
.jm-search__field input:focus {
  outline: none;
  border-color: var(--color-ocean);
}

.jm-search__btn {
  width: 100%;
  padding: .875rem 1.25rem;
  background: var(--color-coral);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background var(--dur-normal), transform var(--dur-normal);
}

.jm-search__btn:hover { background: var(--color-coral-dark); transform: translateY(-1px); }
.jm-search__btn:active { transform: translateY(0); }

@media (min-width: 640px) {
  .jm-search__fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: row;
  }
}

/* ── Tipos / Category Chips ────────────────────────────────────────────── */
.jm-tipos {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: .875rem 0;
  overflow: hidden;
}

.jm-tipos__scroll {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -1.25rem;
  padding: .25rem 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.jm-tipos__scroll::-webkit-scrollbar { display: none; }

.jm-tipo-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .75rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-ink-mid);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color var(--dur-normal), color var(--dur-normal), background var(--dur-normal);
  white-space: nowrap;
  min-width: 72px;
}
.jm-tipo-chip svg { color: var(--color-ocean); }
.jm-tipo-chip:hover,
.jm-tipo-chip:focus-visible {
  border-color: var(--color-ocean);
  color: var(--color-ocean);
  background: rgba(0,119,182,.05);
}

@media (min-width: 768px) {
  .jm-tipos__scroll {
    justify-content: center;
    overflow-x: initial;
    flex-wrap: wrap;
    margin: 0;
  }
}

/* ── Stats ─────────────────────────────────────────────────────────────── */
.jm-stats {
  background: var(--color-surface);
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.jm-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

.jm-stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-ocean);
  letter-spacing: -.04em;
  line-height: 1;
}

.jm-stats__label {
  display: block;
  font-size: .75rem;
  color: var(--color-muted);
  margin-top: .35rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .jm-stats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Section Header ────────────────────────────────────────────────────── */
.jm-section-header { text-align: center; margin-bottom: 2.25rem; }
.jm-section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  flex-wrap: wrap;
  gap: .75rem;
}
.jm-section-header--row > div { text-align: left; }

.jm-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-ocean);
  margin-bottom: .4rem;
}
.jm-eyebrow--light { color: #90e0ef; }

.jm-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -.025em;
  margin: 0;
}

.jm-link-arrow {
  color: var(--color-ocean);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: .1rem;
  transition: opacity var(--dur-normal);
  white-space: nowrap;
}
.jm-link-arrow:hover { opacity: .65; }

/* ── Cards (Destaques) ─────────────────────────────────────────────────── */
.jm-destaques { padding: 3.5rem 0; background: #fff; overflow: hidden; }
.jm-destaques .jm-container { padding-bottom: 1.5rem; }

.jm-cards-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -1.25rem;
  padding: .5rem 1.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.jm-cards-scroll::-webkit-scrollbar { display: none; }

.jm-card {
  flex-shrink: 0;
  width: min(78vw, 300px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  scroll-snap-align: start;
  transition: box-shadow var(--dur-normal), transform var(--dur-normal);
}
.jm-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

.jm-card__link { display: block; text-decoration: none !important; color: inherit; }

.jm-card__img-wrap {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #e2e8f0;
}
.jm-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
  display: block;
}
.jm-card:hover .jm-card__img-wrap img { transform: scale(1.04); }

.jm-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #caf0f8 0%, #90e0ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,119,182,.4);
}

.jm-card__tipo {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(0,27,61,.75);
  color: #fff;
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.jm-card__rating-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(245,158,11,.9);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: .2rem;
}

.jm-card__body { padding: 1rem 1.1rem 1.1rem; }

.jm-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jm-card__location {
  font-size: .73rem;
  color: var(--color-muted);
  margin: 0 0 .75rem;
  display: flex;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jm-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: .75rem;
}

.jm-card__price-from {
  display: block;
  font-size: .62rem;
  color: var(--color-muted);
}

.jm-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-ocean);
  font-size: 1rem;
}

.jm-card__cta {
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-ocean);
  background: rgba(0,119,182,.08);
  padding: .3rem .75rem;
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .jm-cards-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: initial;
    margin: 0;
    padding: .5rem 0 1.5rem;
  }
  .jm-card { width: auto; }
}

@media (min-width: 1024px) {
  .jm-cards-scroll { grid-template-columns: repeat(3, 1fr); }
}

/* ── Como Funciona ─────────────────────────────────────────────────────── */
.jm-como { padding: 4rem 0; background: var(--color-surface); }

.jm-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jm-step {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--dur-normal), transform var(--dur-normal);
}
.jm-step:hover {
  box-shadow: 0 10px 30px rgba(0,119,182,.09);
  transform: translateY(-2px);
}

.jm-step__num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: rgba(0,119,182,.2);
  line-height: 1;
  margin-bottom: .5rem;
}

.jm-step__icon {
  color: var(--color-ocean);
  margin-bottom: .75rem;
  width: 32px;
  height: 32px;
}

.jm-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}

.jm-step p {
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .jm-steps-list { flex-direction: row; }
  .jm-step { flex: 1; }
}

/* ── Diferenciais ─────────────────────────────────────────────────────── */
.jm-diferenciais { padding: 4rem 0; background: #fff; }

.jm-dif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jm-dif-item {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--dur-normal), transform var(--dur-normal);
}
.jm-dif-item:hover { box-shadow: 0 8px 24px rgba(0,119,182,.1); transform: translateY(-2px); }

.jm-dif-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(0,119,182,.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ocean);
  margin-bottom: 1rem;
}

.jm-dif-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}

.jm-dif-item p {
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 540px) { .jm-dif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jm-dif-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── CTA Locador ───────────────────────────────────────────────────────── */
.jm-cta-locador {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #001B3D 0%, #003366 60%, #0055A4 100%);
  color: #fff;
}

.jm-cta-locador__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

.jm-cta-locador__text p {
  font-size: clamp(.9rem, 2vw, 1rem);
  opacity: .82;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.jm-cta-locador__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: #fff;
  margin: .75rem 0 1rem;
}

.jm-cta-locador__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.jm-cta-locador__list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  opacity: .85;
}

.jm-cta-locador__list li svg { color: #48cae4; flex-shrink: 0; }

.jm-cta-locador__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

.jm-cta-locador__note {
  font-size: .72rem;
  opacity: .5;
}

@media (min-width: 768px) {
  .jm-cta-locador__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .jm-cta-locador__text { flex: 1; }
  .jm-cta-locador__action { align-items: center; text-align: center; flex-shrink: 0; }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.jm-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .8rem 1.75rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background var(--dur-normal), transform var(--dur-normal), box-shadow var(--dur-normal);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.jm-btn--coral {
  background: var(--color-coral);
  color: #fff;
}
.jm-btn--coral:hover {
  background: var(--color-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,.35);
}

.jm-btn--primary {
  background: var(--color-ocean);
  color: #fff;
}
.jm-btn--primary:hover {
  background: var(--color-ocean-dark);
  transform: translateY(-2px);
}

.jm-btn--outline {
  background: transparent;
  color: var(--color-ocean);
  border: 2px solid var(--color-ocean);
}
.jm-btn--outline:hover { background: var(--color-ocean); color: #fff; }

.jm-btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.jm-footer {
  background: #0A1628;
  color: #94a3b8;
  padding: 3.5rem 1.25rem 2rem;
}

.jm-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.jm-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none !important;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.jm-footer__brand p { font-size: .875rem; line-height: 1.65; }
.jm-footer__tagline { color: rgba(255,255,255,.3) !important; font-size: .73rem !important; }

.jm-footer__nav h4 {
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .875rem;
}

.jm-footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.jm-footer__nav a {
  color: #94a3b8;
  text-decoration: none !important;
  font-size: .875rem;
  transition: color var(--dur-normal);
}
.jm-footer__nav a:hover { color: #fff; }

.jm-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  font-size: .75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .jm-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ── Scroll Reveal Animations ─────────────────────────────────────────── */
[data-reveal-item] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.jm-revealed [data-reveal-item] {
  opacity: 1;
  transform: none;
}

.jm-revealed [data-reveal-item]:nth-child(1) { transition-delay: 0ms; }
.jm-revealed [data-reveal-item]:nth-child(2) { transition-delay: 80ms; }
.jm-revealed [data-reveal-item]:nth-child(3) { transition-delay: 160ms; }
.jm-revealed [data-reveal-item]:nth-child(4) { transition-delay: 240ms; }
.jm-revealed [data-reveal-item]:nth-child(5) { transition-delay: 320ms; }
.jm-revealed [data-reveal-item]:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal-item] { opacity: 1; transform: none; transition: none; }
  .jm-hero__orb, .jm-hero__particle { animation: none; }
  .jm-step, .jm-card, .jm-dif-item { transition: none; }
}

/* ── Empty State ──────────────────────────────────────────────────────── */
.jm-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-muted);
}
