/* ─── PATAS & CUIDADOS — MAIN CSS ────────────────────────────────────────── */
:root {
    --mint:        #F0FAF5;
    --mint-mid:    #D5F0E6;
    --green:       #27AE60;
    --green-mid:   #219A52;
    --green-dim:   rgba(39,174,96,0.15);
    --green-glow:  rgba(39,174,96,0.35);
    --blue:        #2980B9;
    --blue-dim:    rgba(41,128,185,0.12);
    --warm:        #FFF8F0;
    --slate:       #2C3E50;
    --slate-mid:   rgba(44,62,80,0.6);
    --slate-dim:   rgba(44,62,80,0.08);
    --amber:       #F39C12;
    --amber-dim:   rgba(243,156,18,0.15);
    --red-urgent:  #E74C3C;
    --border:      rgba(39,174,96,0.15);
    --shadow:      0 4px 24px rgba(44,62,80,0.08);
    --shadow-lg:   0 12px 48px rgba(44,62,80,0.14);
    --font:        'Nunito', system-ui, sans-serif;
    --max-w:       1200px;
    --radius-sm:   12px;
    --radius:      20px;
    --radius-lg:   28px;
    --embar-h:     40px;
    --header-h:    72px;
    --top-offset:  calc(var(--embar-h) + var(--header-h));
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-offset); }
body {
    font-family: var(--font);
    background: var(--mint);
    color: var(--slate);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ─── PRELOADER ───────────────────────────────────────────────────────────── */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--mint);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1rem;
    transition: opacity 0.5s var(--ease);
}
#preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader__paw { font-size: 3rem; animation: preloaderBounce 0.9s ease-in-out infinite alternate; }
.preloader__name { font-size: 1.1rem; font-weight: 800; color: var(--green); letter-spacing: 0.1em; }
.preloader__sub  { font-size: 0.75rem; color: var(--slate-mid); letter-spacing: 0.05em; }
@keyframes preloaderBounce {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(-10px) scale(1.1); }
}

/* ─── PAW TRAIL ──────────────────────────────────────────────────────────── */
#pawTrail { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 9000; }
.paw-print {
    position: absolute;
    font-size: 1rem;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.6s ease;
    transform-origin: center center;
    line-height: 1;
    margin-top: -0.5rem;
    margin-left: -0.5rem;
}
.paw-print--fade { opacity: 0; }

/* ─── EMERGENCY BAR ──────────────────────────────────────────────────────── */
.emergency-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--embar-h);
    background: var(--red-urgent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}
.emergency-bar.is-hidden { transform: translateY(-100%); }
.emergency-bar__dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: emergencyPulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes emergencyPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    50%       { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 4px rgba(255,255,255,0); }
}
.emergency-bar__text { color: rgba(255,255,255,0.85); }
.emergency-bar__phone { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: 0.03em; }
.emergency-bar__phone:hover { text-decoration: underline; }
.emergency-bar__close { position: absolute; right: 1rem; font-size: 1.2rem; color: rgba(255,255,255,0.7); line-height: 1; padding: 0.2rem; }
.emergency-bar__close:hover { color: #fff; }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: var(--embar-h);
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--header-h);
    background: rgba(240,250,245,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: top 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.emergency-bar.is-hidden ~ .site-header { top: 0; }
.site-header.no-bar { top: 0; }

.header__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.header__logo { display: flex; align-items: center; gap: 0.65rem; }
.header__logo-paw { font-size: 1.8rem; line-height: 1; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-name { font-size: 1.05rem; font-weight: 800; color: var(--slate); }
.header__logo-sub { font-size: 0.68rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; }

.header__nav { display: flex; align-items: center; gap: 1.75rem; }
.header__links { display: flex; align-items: center; gap: 1.5rem; }
.header__link { font-size: 0.9rem; font-weight: 600; color: var(--slate-mid); transition: color 0.2s; }
.header__link:hover { color: var(--green); }
.header__link--urgent { color: var(--red-urgent); font-weight: 700; }
.header__link--urgent:hover { color: #c0392b; }
.header__link--cta {
    background: var(--green);
    color: #fff !important;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 12px var(--green-dim);
}
.header__link--cta:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: 0 6px 16px var(--green-glow); }

.header__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.header__burger span { display: block; width: 22px; height: 2px; background: var(--slate); border-radius: 2px; }

/* ─── MOBILE MENU ────────────────────────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: var(--warm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__close { position: absolute; top: 1.5rem; right: 1.75rem; font-size: 2rem; color: var(--slate-mid); padding: 0.25rem; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu__link {
    display: block;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 800;
    color: var(--slate);
    padding: 0.35rem 0;
    transition: color 0.2s, padding-left 0.25s;
    border-bottom: 1px solid var(--slate-dim);
}
.mobile-menu__link:hover { color: var(--green); padding-left: 0.5rem; }
.mobile-menu__link--urgent { color: var(--red-urgent); }
.mobile-menu__emergency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: rgba(231,76,60,0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(231,76,60,0.2);
}
.mobile-menu__emergency-dot { width: 10px; height: 10px; background: var(--red-urgent); border-radius: 50%; animation: emergencyPulse 1.2s ease-in-out infinite; flex-shrink: 0; }
.mobile-menu__emergency-phone { font-size: 1.1rem; font-weight: 800; color: var(--red-urgent); }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 4px 16px var(--green-dim); }
.btn--primary:hover { background: var(--green-mid); box-shadow: 0 8px 24px var(--green-glow); }
.btn--lg { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn--emergency { background: var(--red-urgent); color: #fff; box-shadow: 0 4px 16px rgba(231,76,60,0.3); animation: emergencyPulse 2s ease-in-out infinite; }
.btn--emergency:hover { background: #c0392b; box-shadow: 0 8px 24px rgba(231,76,60,0.4); }
.btn--outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section--alt { background: var(--warm); }
.section__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--green);
    margin-bottom: 0.65rem;
}
.section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--slate);
    line-height: 1.25;
    margin-bottom: 0.85rem;
}
.section__body { font-size: 1rem; color: var(--slate-mid); line-height: 1.8; max-width: 600px; margin-bottom: 2rem; }
.text-center .section__body { margin-left: auto; margin-right: auto; }
[data-animate] { opacity: 0; transform: translateY(20px); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--slate);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--top-offset);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(44,62,80,0.88) 0%,
        rgba(44,62,80,0.60) 55%,
        rgba(44,62,80,0.25) 100%
    );
}
.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2rem;
    max-width: 700px;
    padding-left: 4rem;
}
.hero__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero__subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.78); margin-bottom: 2rem; line-height: 1.7; }
.hero__actions { margin-bottom: 1.75rem; }
.hero__emergency {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(231,76,60,0.15);
    border: 1px solid rgba(231,76,60,0.35);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
}
.hero__emergency-dot { width: 8px; height: 8px; background: var(--red-urgent); border-radius: 50%; animation: emergencyPulse 1.2s ease-in-out infinite; flex-shrink: 0; }
.hero__emergency-label { font-weight: 600; }
.hero__emergency-phone { font-weight: 800; color: #fff; font-size: 1rem; }

/* ─── SERVICES GRID ──────────────────────────────────────────────────────── */
.services-grid { display: grid; gap: 1.5rem; margin-top: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__icon { font-size: 2.2rem; display: block; margin-bottom: 0.75rem; }
.card__title { font-size: 1rem; font-weight: 800; color: var(--slate); margin-bottom: 0.5rem; }
.card__body { font-size: 0.875rem; color: var(--slate-mid); line-height: 1.7; }
.text-center .card, .text-center .services-grid { text-align: left; }

/* ─── TEAM ───────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 0; }
.team-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card__photo { aspect-ratio: 4/3; overflow: hidden; background: var(--mint-mid); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; color: var(--green); }
.team-card__name { font-size: 1.05rem; font-weight: 800; color: var(--slate); padding: 1.25rem 1.25rem 0.2rem; }
.team-card__role { font-size: 0.78rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 1.25rem 0.75rem; }
.team-card__bio { font-size: 0.85rem; color: var(--slate-mid); padding: 0 1.25rem 1.25rem; line-height: 1.65; }

/* ─── URGÊNCIAS ──────────────────────────────────────────────────────────── */
.urgencias {}
.urgencias__card {
    background: linear-gradient(135deg, #c0392b 0%, var(--red-urgent) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 12px 48px rgba(231,76,60,0.3);
    position: relative;
    overflow: hidden;
}
.urgencias__card::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.12), transparent 60%);
    pointer-events: none;
}
.urgencias__icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.urgencias__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: #fff; margin-bottom: 0.75rem; }
.urgencias__text { color: rgba(255,255,255,0.82); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.urgencias__details { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2rem; flex-wrap: wrap; }
.urgencias__detail { display: flex; flex-direction: column; gap: 0.2rem; }
.urgencias__detail-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.65); }
.urgencias__detail-value { font-size: 1.1rem; font-weight: 800; color: #fff; }
.urgencias__detail a:hover { text-decoration: underline; }

/* ─── MARCAÇÕES ──────────────────────────────────────────────────────────── */
.form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: left;
}

/* ─── CONTACTO ───────────────────────────────────────────────────────────── */
.contacto-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contacto__list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.contacto__item { display: flex; gap: 1rem; align-items: flex-start; }
.contacto__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.contacto__item strong { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); margin-bottom: 0.2rem; }
.contacto__item p, .contacto__item a { font-size: 0.9rem; color: var(--slate-mid); }
.contacto__item a:hover { color: var(--green); }
.contacto__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contacto__map iframe { border-radius: var(--radius-lg) !important; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--slate);
    color: rgba(255,255,255,0.55);
    padding: 4rem 0 0;
}
.footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer__logo { display: block; font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 220px; }
.footer__heading { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--green); margin-bottom: 1.25rem; }
.footer__list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__list li, .footer__list a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__list a:hover { color: var(--green); }
.footer__emergency strong { display: block; color: var(--red-urgent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.footer__emergency a { color: rgba(255,255,255,0.7); font-weight: 700; font-size: 1rem; }
.footer__emergency a:hover { color: var(--red-urgent); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 2rem;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--green); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .header__links { display: none; }
    .header__burger { display: flex; }
    .grid-3 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero__inner { padding-left: 2rem; }
    .section { padding: 4rem 0; }
    .urgencias__card { padding: 2.5rem 1.5rem; }
    .urgencias__details { gap: 1.5rem; }
}
@media (max-width: 480px) {
    :root { --embar-h: 48px; }
    .emergency-bar { flex-wrap: wrap; height: auto; padding: 0.5rem 1rem; gap: 0.4rem; }
    .emergency-bar__close { top: 0.5rem; }
    .hero__title { font-size: 1.9rem; }
    .footer__inner { grid-template-columns: 1fr; }
}
