.petnit-home {
    --home-ink: #18232a;
    --home-text: #48554d;
    --home-orange: #ff914d;
    --home-rust: #963b14;
    --home-cream: #fff5ec;
    --home-paper: #fffaf5;
    --home-line: #ebdfd5;
    --home-width: 1200px;
    background: #fff;
}

.home-wrap {
    width: min(var(--home-width), 100% - 64px);
    margin-inline: auto;
}

.home-hero {
    scroll-margin-top: calc(var(--navbar-height, 72px) + 12px);
    padding-block: clamp(44px, 6vw, 80px);
    background: var(--home-cream);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(26px, 6vw, 82px);
}

.home-local {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--home-rust);
    font-size: .875rem;
    font-weight: 600;
}

.home-local i { font-size: 18px; }
.home-hero h1 {
    color: var(--home-ink);
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 4.15vw, 3.65rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.052em;
}

.home-hero h1 span {
    background: linear-gradient(transparent 79%, #ff914d4d 79%, #ff914d4d 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.home-hero-description {
    max-width: 51ch;
    margin: 0 0 24px;
    color: var(--home-text);
    font-size: clamp(.95rem, 1.5vw, 1.05rem);
    line-height: 1.65;
}

.home-search {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(85, 50, 23, .045);
}

.home-service-picker, .home-search-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.home-service-picker { border: 0; padding: 0; margin: 0; }
.home-service-picker legend, .home-search-fields label {
    color: var(--home-ink);
    font-size: .8125rem;
    font-weight: 600;
}
.home-service-picker legend { padding: 0; margin-bottom: 6px; }
.home-service-picker label { position: relative; min-width: 0; cursor: pointer; }
.home-service-picker input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    clip-path: inset(50%);
    overflow: hidden;
}

.home-service-picker span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px;
    border: 1px solid #d7c9be;
    border-radius: 10px;
    color: var(--home-ink);
    font-size: .875rem;
    font-weight: 500;
    text-align: center;
}

.home-service-picker i { font-size: 19px; }
.home-service-picker input:checked + span { background: var(--home-cream); border-color: var(--home-rust); font-weight: 600; }
.home-service-picker input:focus-visible + span { outline: 2px solid var(--home-ink); outline-offset: 2px; }
.home-optional { font-size: .75rem; font-weight: 400; color: var(--home-text); }
.home-search-fields label { display: block; min-width: 0; }
.home-search-fields input, .newsletter-form input {
    display: block;
    min-width: 0;
    width: 100%;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid #d7c9be;
    border-radius: 10px;
    background: white;
    color: var(--home-ink);
    font: 400 1rem Poppins, sans-serif;
}
.home-search-fields input { margin-top: 5px; }
.home-search-fields input[type='date'] { appearance: none; -webkit-appearance: none; }
.home-search-fields input[type='date']::-webkit-date-and-time-value { text-align: left; }
/* Data e Horário sempre do mesmo tamanho, lado a lado (no iPhone a data em
   extenso quebrava em duas linhas e deixava o campo mais alto que o do horário). */
.home-search-fields input[type='date'], .home-search-fields input[type='time'] {
    appearance: none; -webkit-appearance: none;
    box-sizing: border-box; height: 46px; min-height: 46px; line-height: 28px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem;
}
.home-search-fields input[type='time']::-webkit-date-and-time-value { text-align: left; }
.home-search-fields input::-webkit-datetime-edit { padding: 0; }

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    font: 600 .9rem Poppins, sans-serif;
    cursor: pointer;
    text-decoration: none;
}

.home-button i { font-size: 18px; }
.home-button-primary { background: var(--home-orange); color: var(--home-ink); }
.home-button-primary:hover { background: #ffa36b; }
.home-button:disabled { cursor: wait; opacity: .7; }
.home-search .home-button { width: 100%; }

.home-location { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.home-location .home-text-link { flex: 0 0 auto; gap: 6px; }
.home-location .home-text-link i { font-size: 17px; }
.home-location p { flex: 1 1 180px; margin: 0; color: var(--home-text); font-size: .75rem; line-height: 1.5; }

.home-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin-top: 14px;
    color: var(--home-text);
    font-size: .8125rem;
    line-height: 1.6;
}
.home-offer i { color: var(--home-rust); font-size: 16px; align-self: center; }
.home-offer p { margin: 0; flex: 1 1 200px; }
.home-offer a { color: var(--home-rust); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.home-offer a[hidden] { display: none; }
.home-location [hidden] { display: none !important; }

.home-hero-visual { margin: 0; border-radius: 24px; overflow: hidden; background: #e4efee; }
.home-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1.05; object-fit: cover; object-position: 54% center; }

.home-section { padding-block: clamp(32px, 5vw, 64px); }
.home-section h2 { margin: 0 0 14px; color: var(--home-ink); font-size: clamp(1.45rem, 2.8vw, 2.15rem); font-weight: 650; line-height: 1.23; letter-spacing: -.035em; }
.home-section p { margin: 0; color: var(--home-text); line-height: 1.65; }
.home-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.home-section-heading h2 { margin-bottom: 6px; }
.home-section-heading p { font-size: .95rem; }

.home-explore, .home-steps, .home-join-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-explore-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    min-height: 96px;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: white;
    color: var(--home-ink);
    text-decoration: none;
}
.home-explore-card:hover { border-color: #ca9778; background: var(--home-paper); }
.home-explore-card strong, .home-explore-card small { display: block; }
.home-explore-card strong { font-size: .94rem; margin-bottom: 2px; }
.home-explore-card small { color: var(--home-text); font-size: .77rem; }
.home-explore-card > i { font-size: 18px; color: var(--home-rust); }
.home-feature-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: var(--home-cream); color: var(--home-rust); font-size: 22px; }

.home-how { background: var(--home-paper); }
.home-steps { counter-reset: home-step; padding: 0; margin: 18px 0 0; list-style: none; }
.home-steps li { counter-increment: home-step; padding: 14px 16px; border-top: 1px solid #dbc9ba; }
.home-steps li::before { content: counter(home-step); color: var(--home-rust); font-size: .84rem; font-weight: 600; }
.home-steps h3 { color: var(--home-ink); margin: 5px 0; font-size: 1rem; }
.home-steps p, .home-join p { font-size: .88rem; }
.home-text-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--home-rust); font: 600 .875rem Poppins, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.home-text-link:hover { color: var(--home-ink); }
.home-how-activity { margin-left: 16px; }

.home-map-frame { margin-top: 18px; border-radius: 16px; overflow: hidden; }
#mapa-bairros { min-height: 280px; height: min(44vw, 380px); width: 100%; background: #e9e9dc; z-index: 0; }
.home-neighborhoods { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.home-neighborhoods article { max-width: 100%; }

.home-join { padding-block: 0; }
.home-join-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-join-card { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 20px; border-radius: 16px; background: var(--home-cream); }
.home-join-card h2 { margin-bottom: 6px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.home-phone { background: var(--home-paper); border: 1px solid var(--home-line); }
.home-phone-actions { display: flex; flex-wrap: wrap; gap: 0 12px; }
.home-buddy { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.home-install-note { font-size: .8rem; }

.petnit-home .newsletter-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; align-items: center; padding: 22px; border: 1px solid var(--home-line); border-radius: 16px; background: white; }
.petnit-home .newsletter-card h2 { margin-bottom: 6px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.petnit-home .newsletter-card p { font-size: .875rem; }
.petnit-home .newsletter-form { display: flex; gap: 8px; min-width: 0; }
.petnit-home .newsletter-form button { flex: 0 0 auto; }
.petnit-home .footer-logo-svg, .petnit-home .modal-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.petnit-home .modal-logo { justify-content: center; margin-bottom: 24px; }
.petnit-home .modal-logo span { font-size: 24px; font-weight: 800; color: var(--home-ink); }
.petnit-home .modal-logo span b { color: var(--home-rust); }

@media (max-width: 720px) {
    .home-wrap { width: calc(100% - 32px); }
    .home-hero { padding-block: 28px; }
    .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-hero h1 { font-size: clamp(2rem, 7vw, 3rem); max-width: 17ch; }
    .home-hero-description { margin-bottom: 16px; }
    .home-search { padding: 13px; border-radius: 16px; gap: 10px; }
    .home-hero-visual { border-radius: 16px; }
    .home-hero-visual img { aspect-ratio: 1.85; max-height: 230px; object-position: 54% 42%; }
    .home-explore, .home-steps, .home-join-grid, .petnit-home .newsletter-card { grid-template-columns: minmax(0, 1fr); }
    .home-explore-card { min-height: 70px; padding: 10px 12px; }
    .home-steps { gap: 0; margin-top: 6px; }
    .home-steps li { padding: 12px 0; }
    .home-how-activity { margin-left: 0; }
    .home-section-heading { gap: 0 16px; }
}

@media (max-width: 480px) {
    .home-service-picker i { font-size: 16px; }
    .home-service-picker span { font-size: .8125rem; }
    .home-join-card { padding: 16px; }
    .petnit-home .newsletter-card { padding: 16px; }
    .petnit-home .newsletter-form { flex-direction: column; }
}
.home-local-picker { border: 0; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 420px) { .home-local-picker { grid-template-columns: 1fr 1fr; } .home-local-picker label:last-of-type { grid-column: 1 / -1; } }
.home-local-picker legend { color: var(--home-ink); font-size: .8125rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.home-local-picker label { position: relative; cursor: pointer; min-width: 0; }
.home-local-picker input { position: absolute; opacity: 0; }
.home-local-picker label > span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 12px; border: 1px solid #ddd3c8; border-radius: 12px; background: #fff; font-weight: 500; text-align: center; font-size: .95rem; }
.home-local-picker input:checked + span { border-color: #9a4a1c; background: #fff1e8; box-shadow: inset 0 0 0 1px #9a4a1c; }
.home-local-picker input:focus-visible + span { outline: 3px solid #f2a46f; outline-offset: 2px; }
.home-search-fields:has(#home-place-label[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-recentes { margin-top: 14px; display: grid; gap: 8px; }
.home-recentes h2 { font-size: .95rem; margin: 0; }
.home-recente { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 14px; border: 1px solid #eadfd4; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.home-recente small { grid-column: 1; color: #6b625b; }
.home-recente b { grid-row: 1 / span 2; grid-column: 2; color: #9a4a1c; }
.home-recente:hover { border-color: #9a4a1c; }
#home-place-label:not([hidden]) { grid-column: 1 / -1; }
.home-search [hidden], .home-recentes[hidden] { display: none !important; }

/* Dois boxes: Passeio ou Hospedagem (dez/2026). Escolhido o box, aparecem só as perguntas dele. */
.home-service-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-service-boxes label > span { flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 6px; min-height: 150px; padding: 18px; border-radius: 16px; background: #fff; }
.home-service-boxes i { font-size: 26px; width: 48px; height: 48px; border-radius: 14px; background: var(--home-cream); color: var(--home-rust); display: flex; align-items: center; justify-content: center; }
.home-service-boxes strong { font-size: 1.05rem; }
.home-service-boxes small { font-size: .82rem; line-height: 1.4; color: var(--home-text); font-weight: 400; }
.home-service-boxes input:checked + span { box-shadow: inset 0 0 0 1px var(--home-rust); }
.home-service-boxes label > span:hover { border-color: var(--home-rust); }
.home-escolhas { display: grid; gap: 10px; }
.home-local-picker i { font-size: 18px; margin-right: 6px; }
.home-quando { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-duracao { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) { .home-quando { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-duracao { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-quando label:last-of-type, .home-duracao label:last-of-type { grid-column: auto; } .home-service-boxes label > span { min-height: 0; padding: 14px; } .home-service-boxes small { font-size: .76rem; } }
.home-nota { margin: 0; font-size: .8rem; color: var(--home-text); }

/* Instagram @petnitoficial */
.home-insta { padding: 64px 0; background: var(--home-cream); }
.home-insta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; }
.home-insta h2 { margin: 0 0 12px; }
.home-insta p { color: var(--home-text); max-width: 520px; }
.home-insta-celular { display: block; width: 300px; justify-self: center; border: 10px solid var(--home-ink); border-radius: 42px; background: #fff; overflow: hidden; text-decoration: none; color: var(--home-ink); box-shadow: 0 24px 48px rgba(24,35,42,.18); transition: transform .2s; }
.home-insta-celular:hover { transform: translateY(-4px); }
.home-insta-topo { display: flex; align-items: center; gap: 12px; padding: 18px 16px 12px; }
.home-insta-topo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--home-orange); }
.home-insta-topo strong { display: block; font-size: .95rem; }
.home-insta-topo small { color: var(--home-text); font-size: .78rem; }
.home-insta-seguir { margin: 0 16px 12px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-radius: 10px; background: var(--home-orange); font-weight: 700; font-size: .85rem; }
.home-insta-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.home-insta-fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.home-insta-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; }
@media (max-width: 800px) { .home-insta-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Botões do início com o mesmo tamanho (dez/2026): cada grupo divide a linha em partes iguais
   e todos os botões têm a mesma altura, com o texto em uma linha só. */
.home-service-boxes, .home-local-picker { align-items: stretch; }
.home-service-boxes label, .home-local-picker label { display: flex; }
.home-service-boxes label > span, .home-local-picker label > span { flex: 1; width: 100%; box-sizing: border-box; }
.home-service-boxes label > span { min-height: 168px; }
.home-service-boxes input:checked + span i { background: #fff; }
.home-local-picker label > span { height: 56px; min-height: 56px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; padding: 8px 10px; }
.home-local-picker label > span #home-local-casa { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) {
  .home-local-picker label > span { font-size: .82rem; padding: 6px 8px; }
  .home-local-picker i { margin-right: 4px; font-size: 16px; }
  .home-service-boxes label > span { min-height: 150px; }
}
@media (max-width: 420px) { .home-local-picker:not(.home-quando):not(.home-duracao) { grid-template-columns: 1fr; } .home-local-picker label:last-of-type { grid-column: auto; } }
/* Formulário estreito (celular ou coluna apertada no tablet): "Onde" vira uma coluna, cada opção do mesmo tamanho. */
.home-search { container-type: inline-size; }
@container (max-width: 460px) {
  .home-local-picker:not(.home-quando):not(.home-duracao) { grid-template-columns: 1fr; }
  .home-local-picker label:last-of-type { grid-column: auto; }
}
