/* ============================
   Base / Reset
============================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #0b1f22;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #006d77;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid #6ec6ca;
    outline-offset: 2px;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: #f6fbfb;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 12px;
}

p {
    margin: 0 0 12px;
}

small,
.small,
.muted {
    color: #546e7a;
}

.brand {
    color: #006d77;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 8px;
    background: #e0f2f1;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #006d77;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #006d77;
}

.btn:hover {
    text-decoration: none;
    filter: brightness(0.95);
}

.btn-primary {
    background: #006d77;
    color: #fff;
    border-color: #006d77;
}

.btn-outline {
    background: transparent;
    color: #006d77;
    border-color: #006d77;
}

.btn-cta {
    background: #ff9f1c;
    border-color: #ff9f1c;
    color: #1f1300;
}

.btn-cta:hover {
    filter: brightness(0.95);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fffffffa;
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #e3efef;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 12px;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: #003e42;
}

.main-nav .menu-list {
    list-style: none;
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    padding: 8px 10px;
    border-radius: 8px;
}

.main-nav a:hover {
    background: #e0f2f1;
    text-decoration: none;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #003e42;
    margin: 5px 0;
    border-radius: 2px;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-block;
    }

    .menu-list {
        position: absolute;
        left: 0;
        right: 0;
        top: 60px;
        background: #fff;
        border-bottom: 1px solid #e3efef;
        display: none;
        flex-direction: column;
        padding: 12px;
    }

    .menu-list.open {
        display: flex;
    }
}

/* Hero */
.hero {
    padding: 56px 0 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.hero-bullets {
    margin: 12px 0 0;
    padding-left: 18px;
}

.hero-media img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border: 1px solid #e3efef;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
}

.card .icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #e6f6f7;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card h3 {
    margin: 6px 0 6px;
}

@media (max-width: 920px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
}

.about-media img {
    border-radius: 16px;
}

.stats {
    display: flex;
    gap: 18px;
    padding: 0;
    list-style: none;
    margin: 16px 0;
}

.stats li {
    background: #e6f6f7;
    color: #003e42;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
}

@media (max-width: 920px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Pets */
.pets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.pet-card {
    background: #fff;
    border: 1px solid #e3efef;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pet-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.pet-info {
    padding: 14px;
}

.note {
    font-size: .95rem;
    color: #355a5e;
    margin-top: 10px;
}

@media (max-width: 920px) {
    .pets-grid {
        grid-template-columns: 1fr;
    }
}

/* Before/After */
.before-after {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.before-after figure {
    margin: 0;
    background: #fff;
    border: 1px solid #e3efef;
    border-radius: 12px;
    overflow: hidden;
}

.before-after img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.before-after figcaption {
    padding: 8px;
    font-size: .9rem;
    color: #355a5e;
}

.partners img {
    border-radius: 14px;
    margin-top: 18px;
}

@media (max-width: 920px) {
    .before-after {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .before-after {
        grid-template-columns: 1fr;
    }
}

/* Mutirão / forms */
.mutirao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 12px;
}

.form {
    display: grid;
    gap: 12px;
}

.form .grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: #08363a;
}

.form input,
.form select,
.form textarea {
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #bde3e5;
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.form textarea {
    height: auto;
}

.form .check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.form .form-feedback {
    min-height: 1.25em;
    font-weight: 600;
}

.hp {
    position: absolute !important;
    left: -999em;
}

@media (max-width: 920px) {

    .mutirao,
    .form .grid {
        grid-template-columns: 1fr;
    }
}

/* Posts */
.posts .post-card {
    background: #fff;
    border: 1px solid #e3efef;
    border-radius: 14px;
    padding: 12px;
}

.posts img {
    border-radius: 10px;
    margin-bottom: 8px;
}

.post-card .meta {
    font-size: .9rem;
    color: #546e7a;
}

.readmore {
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.testimonial {
    background: #fff;
    border: 1px solid #e3efef;
    border-radius: 14px;
    padding: 12px;
}

.testimonial img {
    border-radius: 50%;
    margin-bottom: 8px;
}

.testimonial blockquote {
    margin: 6px 0;
    color: #355a5e;
}

@media (max-width: 920px) {
    .testimonials {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .testimonials {
        grid-template-columns: 1fr;
    }
}

/* Contato */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: start;
}

.map-wrap iframe,
.footer-map iframe {
    width: 100%;
    border-radius: 12px;
}

.contact-data p {
    margin: 6px 0;
}

@media (max-width: 920px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    background: #0a2326;
    color: #e9f6f7;
    padding: 40px 0 12px;
    margin-top: 40px;
}

.site-footer h3 {
    color: #cdeff1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.footer-links a {
    color: #cdeff1;
}

.footer-testimonials .quote {
    margin: 6px 0;
    color: #b6e2e5;
    font-style: italic;
}

.legal {
    border-top: 1px solid #20484d;
    margin-top: 14px;
    padding-top: 10px;
    text-align: center;
    font-size: .95rem;
}

@media (max-width: 920px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #08363a;
    color: #e9f6f7;
    border: 1px solid #0d4f55;
    border-radius: 12px;
    padding: 12px;
    display: none;
    gap: 12px;
    align-items: center;
    z-index: 60;
}

.cookie-banner a {
    color: #9be0e4;
    text-decoration: underline;
}

.cookie-banner .cookie-text {
    flex: 1;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 70;
}

.modal-content {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    max-width: 680px;
    width: 100%;
    border: 1px solid #e3efef;
}

.modal-close {
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    transform: translate(630px, -8px);
    color: #355a5e;
}

@media (max-width: 720px) {
    .modal-close {
        transform: translate(0, 0);
        position: static;
    }
}

/* Utilities */
.header-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.hero .hero-text p,
.section p {
    max-width: 64ch;
}

.table-wrap {
    overflow-x: auto;
}