/* =========================================================
   KADOSH DOGS
   Base
========================================================= */

:root {
    --color-background: #faf9f6;
    --color-surface: #f3efef;
    --color-text: #222222;
    --color-muted: #625b5d;
    --color-accent: #8f7379;
    --color-white: #ffffff;

    --container-width: 1200px;
    --container-padding: 32px;

    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}


/* =========================================================
   Container
========================================================= */

.site-container {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}


/* =========================================================
   Header
========================================================= */

.site-header {
    background: var(--color-white);
    border-bottom: 1px solid #eeeeee;
}

.site-header__inner {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-nav a {
    font-size: 14px;
}

.site-nav a:hover {
    color: var(--color-accent);
}


/* =========================================================
   Hero
========================================================= */

.hero {
    background: var(--color-background);
}

.hero__container {
    padding-top: 56px;
    padding-bottom: 56px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__eyebrow {
    width: 100%;
    max-width: 900px;

    margin: 0 0 24px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero__image {
    width: 420px;
    max-width: 100%;
}

.hero__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hero__placeholder {
    aspect-ratio: 16 / 9;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: #eeeeee;

    color: var(--color-muted);
    text-align: center;
}

.hero__content {
    margin-top: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.hero__title {
    margin: 0;

    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__description {
    max-width: 760px;

    margin: 16px 0 20px;

    font-size: 15px;
    color: var(--color-muted);
}


/* =========================================================
   Buttons
========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 26px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--color-text);
    color: var(--color-white);
}


/* =========================================================
   Diferenciais
========================================================= */

.features {
    padding: 72px 0 88px;
    background: var(--color-white);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading__eyebrow {
    margin: 0 0 12px;

    color: var(--color-accent);

    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.section-heading__title {
    margin: 0 0 12px;

    font-size: 30px;
    line-height: 1.2;
}

.section-heading__description {
    max-width: 1000px;

    margin: 0;

    color: var(--color-muted);
    font-size: 15px;
}


/* =========================================================
   Cards
========================================================= */

.features__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.feature-card {
    padding: 24px;

    background: var(--color-surface);

    border: 1px solid #e8e1e3;
    border-radius: var(--radius);
}

.feature-card__icon {
    width: 56px;
    height: 56px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #e5dfe1;
    color: #463b3e;
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    margin: 0 0 8px;

    font-size: 18px;
    line-height: 1.3;
}

.feature-card p {
    margin: 0;

    color: var(--color-muted);

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   Footer
========================================================= */

.site-footer {
    padding: 32px 0;

    border-top: 1px solid #eeeeee;

    color: var(--color-muted);

    font-size: 13px;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 900px) {

    :root {
        --container-padding: 24px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 600px) {

    :root {
        --container-padding: 20px;
    }

    .site-header__inner {
        min-height: 64px;
    }

    .hero__container {
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .hero__eyebrow {
        margin-bottom: 20px;
    }

    .hero__image {
        width: 100%;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__description {
        font-size: 14px;
    }

    .features {
        padding: 56px 0 64px;
    }

    .section-heading__eyebrow {
        font-size: 20px;
    }

    .section-heading__title {
        font-size: 26px;
    }

}

/* =========================================================
   Nossos Cães
========================================================= */

.dogs {
    padding: 72px 0;
    background: var(--color-background);
}

.dogs__heading {
    text-align: center;
    margin-bottom: 32px;
}

.dogs__eyebrow {
    margin: 0 0 12px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dogs__title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
}

.dogs__description {
    margin: 0 auto;
    max-width: 760px;
    color: var(--color-muted);
    font-size: 15px;
}

.dogs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    justify-items: center;
}

.dog-card {
    width: 100%;
    max-width: 300px;

    background: var(--color-white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.dog-card__image {
    width: 100%;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: var(--color-white);
}

.dog-card__image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;
}

.dog-card__content {
    padding: 14px 16px;
    text-align: center;
}

.dog-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.dog-card__description {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.dogs__footer {
    margin-top: 24px;
    text-align: center;
}

.dogs__link {
    color: var(--color-text);
    font-weight: 700;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.dogs__link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.dogs__link:focus-visible,
.dog-card__title a:focus-visible {
    color: var(--color-accent);
}

/* Archive e página individual dos cães */
.dogs-archive,
.dog-single {
    padding: 72px 0;
}

.dogs-archive__header,
.dog-single__header {
    margin-bottom: 32px;
}

.dogs-archive__title,
.dog-single__title {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.dogs-archive__description,
.dog-single__excerpt {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--color-muted);
}

.dog-single__image {
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
}

.dog-single__content {
    max-width: 780px;
    margin-top: 32px;
}

.dogs-pagination {
    margin-top: 40px;
}

.dogs-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dogs-pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #e8e1e3;
    border-radius: 4px;
}

.dogs-pagination .current {
    color: var(--color-white);
    background: var(--color-text);
}

@media (max-width: 900px) {

    .dogs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dog-card__image {
        height: 260px;
    }

}

@media (max-width: 600px) {

    .dogs__grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;

        width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        padding: 0 20px 16px;

        margin-left: -20px;
        margin-right: -20px;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dogs__grid::-webkit-scrollbar {
        display: none;
    }

    .dog-card {
        width: auto;
        max-width: none;

        flex: 0 0 85%;

        scroll-snap-align: center;
    }

    .dog-card__image {
        height: 420px;
    }

    .dogs {
        padding: 56px 0;
    }

}

.dogs__grid::-webkit-scrollbar {
    display: none;
}

.dog-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
}

    .dog-card__image {
        height: 420px;
    }

    .dogs {
        padding: 56px 0;
    }

}

/* =========================================================
   Nossa História
========================================================= */

.story {
    padding: 72px 0;
    background: var(--color-white);
}

.story__container {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.story__image {
    width: 360px;
    height: 400px;

    border-radius: var(--radius);
    overflow: hidden;

    background: var(--color-surface);
}

.story__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 35%;
}

.story__placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px;

    color: var(--color-muted);
    text-align: center;
}

.story__content {
    max-width: 560px;
}

.story__eyebrow {
    margin: 0 0 12px;

    color: var(--color-accent);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.story__title {
    max-width: 520px;

    margin: 0 0 20px;

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.story__description {
    max-width: 560px;

    margin: 0 0 16px;

    color: var(--color-muted);

    font-size: 15px;
    line-height: 1.6;
}

.story .button {
    margin-top: 8px;
}

@media (max-width: 900px) {

    .story__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story__image {
        width: 100%;
        max-width: 420px;
        height: 420px;

        justify-self: center;
    }

    .story__content {
        max-width: 620px;
        justify-self: center;
    }

}

@media (max-width: 600px) {

    .story {
        padding: 56px 0;
    }

    .story__image {
        max-width: 100%;
        height: 360px;
    }

    .story__title {
        font-size: 32px;
    }

}

/* =========================================================
   Reserva
========================================================= */

.reservation {
    padding: 88px 0;
    background: var(--color-background);
}

.reservation__heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.reservation__eyebrow {
    margin: 0 0 12px;

    color: var(--color-accent);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.reservation__title {
    margin: 0 0 16px;

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
}

.reservation__description {
    margin: 0;

    color: var(--color-muted);

    font-size: 15px;
    line-height: 1.6;
}

.reservation__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.reservation-step {
    padding: 28px;

    background: var(--color-white);

    border: 1px solid #e8e1e3;
    border-radius: var(--radius);
}

.reservation-step__number {
    width: 48px;
    height: 48px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5dfe1;
    color: var(--color-text);

    font-size: 14px;
    font-weight: 700;
}

.reservation-step h3 {
    margin: 0 0 10px;

    font-size: 20px;
    line-height: 1.3;
}

.reservation-step p {
    margin: 0;

    color: var(--color-muted);

    font-size: 14px;
    line-height: 1.6;
}

.reservation__cta {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 900px) {

    .reservation__steps {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .reservation {
        padding: 64px 0;
    }

    .reservation__heading {
        margin-bottom: 32px;
    }

}

/* =========================================================
   Instagram
========================================================= */

.instagram-section {
    padding: 88px 0;
    background: var(--color-white);
}

.instagram-section__heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.instagram-section__eyebrow {
    margin: 0 0 12px;

    color: var(--color-accent);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.instagram-section__title {
    margin: 0 0 16px;

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
}

.instagram-section__description {
    margin: 0;

    color: var(--color-muted);

    font-size: 15px;
    line-height: 1.6;
}

.instagram-section__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.instagram-photo {
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--color-surface);

    border-radius: var(--radius);

    color: var(--color-muted);
    font-size: 13px;
}

.instagram-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.instagram-section__footer {
    margin-top: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.instagram-section__handle {
    color: var(--color-accent);

    font-size: 18px;
    font-weight: 700;
}

.instagram-section__handle:hover {
    color: var(--color-text);
}

@media (max-width: 900px) {

    .instagram-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .instagram-section {
        padding: 64px 0;
    }

    .instagram-section__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

}

/* =========================================================
   WhatsApp flutuante
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);

    z-index: 999;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.whatsapp-float:hover {
    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;

        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
    padding: 52px 0 0;

    background: #222222;
    color: #ffffff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 72px;

    padding-bottom: 44px;
}

.site-footer__brand {
    max-width: 400px;
}

.site-footer__logo {
    display: inline-block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-footer__logo:hover {
    color: #ffffff;
}

.site-footer__breed {
    margin: 0 0 24px;

    color: #b79ba1;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.site-footer__description {
    max-width: 360px;

    margin: 0 0 20px;

    color: #c9c4c5;

    font-size: 14px;
    line-height: 1.7;
}

.site-footer__location {
    margin: 0;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}

.site-footer__title {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer__menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer__menu li {
    margin-bottom: 12px;
}

.site-footer__menu a {
    color: #c9c4c5;

    font-size: 14px;

    transition: color 0.2s ease;
}

.site-footer__menu a:hover {
    color: #ffffff;
}

.site-footer__bottom {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: #918b8d;

    font-size: 12px;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__signature {
    letter-spacing: 0.04em;
}


/* =========================================================
   Footer responsivo
========================================================= */

@media (max-width: 900px) {

    .site-footer {
        padding-top: 56px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;

        gap: 48px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 600px) {

    .site-footer {
        padding-top: 48px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;

        gap: 36px;

        padding-bottom: 40px;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom {
        min-height: auto;

        padding: 24px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }
}

/* =========================================================
   Header
========================================================= */

.site-header {
    position: relative;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #eee8e9;

    z-index: 1000;
}

.site-header__inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}


/* =========================================================
   Logo
========================================================= */

.site-logo {
    display: inline-flex;
    flex-direction: column;

    flex-shrink: 0;

    text-decoration: none;
}

.site-logo__name {
    color: var(--color-text);

    font-size: 19px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.08em;
}

.site-logo__breed {
    margin-top: 5px;

    color: var(--color-accent);

    font-size: 9px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.16em;
}


/* =========================================================
   Navegação
========================================================= */

.site-header__navigation {
    display: flex;
    align-items: center;

    gap: 32px;
}

.site-nav__menu {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    gap: 28px;

    list-style: none;
}

.site-nav__menu a {
    position: relative;

    display: inline-block;

    padding: 8px 0;

    color: var(--color-text);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.site-nav__menu a::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 2px;

    height: 1px;

    background: var(--color-accent);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.2s ease;
}

.site-nav__menu a:hover {
    color: var(--color-accent);
}

.site-nav__menu a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   WhatsApp no header
========================================================= */

.site-header__whatsapp {
    white-space: nowrap;

    padding: 12px 20px;
}


/* =========================================================
   Botão mobile
========================================================= */

.site-nav-toggle {
    width: 42px;
    height: 42px;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 0;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.site-nav-toggle span {
    width: 22px;
    height: 2px;

    display: block;

    background: var(--color-text);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.site-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   Header responsivo
========================================================= */

@media (max-width: 900px) {

    .site-header__inner {
        min-height: 72px;
    }

    .site-nav-toggle {
        display: flex;
    }

    .site-header__navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        padding: 24px;

        background: var(--color-white);

        border-top: 1px solid #eee8e9;
        border-bottom: 1px solid #eee8e9;

        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .site-header__navigation.is-open {
        display: block;
    }

    .site-nav__menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .site-nav__menu li {
        border-bottom: 1px solid #eee8e9;
    }

    .site-nav__menu a {
        width: 100%;

        padding: 15px 0;
    }

    .site-nav__menu a::after {
        display: none;
    }

    .site-header__whatsapp {
        width: 100%;

        margin-top: 20px;

        justify-content: center;
        text-align: center;
    }
}


@media (max-width: 600px) {

    .site-header__inner {
        min-height: 68px;
    }

    .site-logo__name {
        font-size: 17px;
    }

    .site-logo__breed {
        font-size: 8px;
    }

}