@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --cream: #f8f6f1;
    --paper: #ffffff;
    --teal-50: #e9f3f1;
    --teal-100: #d1e7e5;
    --teal-700: #285e59;
    --teal-900: #173e3a;
    --gold: #9b7002;
    --gold-dark: #654800;
    --ink: #2e3332;
    --muted: #687572;
    --line: rgba(23, 62, 58, .14);
    --shadow: 0 24px 65px rgba(25, 49, 46, .12);
    --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; text-decoration: none; }
html { scroll-behavior: smooth; }
body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
    opacity: 1;
    overflow-x: hidden;
    transition: opacity .18s ease;
}
body.page-leaving { opacity: 0; }
img { max-width: 100%; }
.max-width { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Cabeçalho */
.social-topbar {
    align-items: center;
    background: #dcecea;
    border-bottom: 1px solid rgba(23, 82, 76, .14);
    color: var(--teal-900);
    display: flex;
    height: 40px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.social-topbar-inner { align-items: center; display: flex; gap: 8px; justify-content: flex-end; }
.social-topbar-inner > span { color: #426f69; font-size: 11px; font-weight: 600; letter-spacing: .08em; margin-right: 5px; text-transform: uppercase; }
.social-link { align-items: center; background: rgba(255,255,255,.52); border: 1px solid rgba(23,82,76,.20); border-radius: 50%; color: var(--teal-900); display: flex; height: 28px; justify-content: center; transition: background .2s ease, transform .2s ease; width: 28px; }
.social-link:hover, .social-link:focus-visible { background: var(--gold); color: #fff; outline: none; transform: translateY(-1px); }
.social-link i { font-size: 13px; }
.social-x-mark { font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1; }
.social-instagram-icon { border-radius: 50%; display: block; height: 17px; object-fit: cover; width: 17px; }
.social-topbar[hidden], .social-link[hidden] { display: none; }
.socials-hidden .navbar { top: 0; }
.socials-hidden .top, .socials-hidden.internal-page .top { padding-top: 102px; }
.blog-page.socials-hidden { padding-top: 102px; }

.navbar {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(248, 246, 241, .94);
    border-bottom: 1px solid var(--line);
    display: flex;
    min-height: 102px;
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 999;
}
.navbar .max-width { align-items: center; display: flex; justify-content: space-between; gap: 22px; }
.brand-group { align-items: center; display: flex; flex: 0 0 auto; gap: 10px; }
.brand-link, .site-logo { display: block; }
.site-logo { height: auto; object-fit: contain; width: clamp(185px, 19vw, 255px); }
.brand-group .instagram { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; display: flex; height: 38px; justify-content: center; width: 38px; }
.brand-group .instagram img { display: block; height: 22px; object-fit: contain; width: 22px; }
.navbar .menu { align-items: center; display: flex; gap: 2px; list-style: none; }
.navbar .menu li { list-style: none; }
.navbar .menu li a {
    border-radius: 99px;
    color: var(--ink);
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 9px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}
.navbar .menu li a:hover, .navbar .menu li a:focus-visible, .navbar .menu li a.active { background: var(--teal-900); color: #fff; outline: none; }
.navbar .menu li a.client-menu-link { background: var(--gold-dark); color: #fff; margin-left: 5px; padding-inline: 14px; }
.navbar .menu li a.client-menu-link:hover, .navbar .menu li a.client-menu-link:focus-visible { background: var(--teal-900); transform: translateY(-1px); }
.navbar .menu li a.admin-menu-link { border: 1px solid var(--teal-700); color: var(--teal-900); margin-left: 4px; padding-inline: 12px; }
.navbar .menu li a.admin-menu-link:hover, .navbar .menu li a.admin-menu-link:focus-visible { background: var(--teal-900); color: #fff; }
.admin-menu-link i { margin-right: 5px; }
.client-menu-link i { margin-right: 5px; }
.menu-btn { color: var(--teal-900); cursor: pointer; display: none; font-size: 26px; }

/* Banner preservado */
.top {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(209, 231, 229, .94) 0%, rgba(209, 231, 229, .72) 34%, rgba(209, 231, 229, .18) 54%, rgba(209, 231, 229, 0) 68%),
        url('../images/banner_top_v5-2026.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    min-height: 680px;
    height: 100vh;
    padding-top: 142px;
}
.top .max-width { align-items: center; display: flex; width: min(1180px, calc(100% - 40px)); }
.top-content { max-width: 650px; }
.page-kicker { color: var(--gold-dark); font-size: 13px; font-weight: 700; letter-spacing: .16em; margin-bottom: 14px; text-transform: uppercase; }
.top h1 {
    color: var(--teal-900);
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6.3vw, 78px);
    letter-spacing: -.03em;
    line-height: 1.02;
    margin-bottom: 20px;
    max-width: 760px;
}
.page-subtitle { color: #344542; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; max-width: 610px; }
.internal-page .top { background-position: center; height: 100vh; min-height: 680px; padding-top: 142px; }
.internal-page .top::before { display: none; }
.internal-page .top h1 { font-size: clamp(50px, 7vw, 82px); }

/* Faixa de contato */
.contact-bar { background: var(--teal-900); color: #fff; }
.contact-bar-content { align-items: center; display: grid; gap: 30px; grid-template-columns: .9fr 1.35fr auto; min-height: 126px; padding-block: 22px; }
.contact-bar-phone { display: flex; flex-direction: column; }
.contact-bar-label { color: #cdb977; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.contact-bar-phone a { color: #fff; font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; }
.contact-bar p { color: #dce8e6; font-size: 15px; }
.contact-bar i { color: #cdb977; margin-right: 7px; }
.contact-bar-actions { align-items: stretch; display: flex; flex-direction: column; gap: 7px; text-align: center; }
.contact-bar-button { background: #fff; border-radius: 99px; color: var(--teal-900); font-size: 14px; font-weight: 700; padding: 11px 22px; transition: transform .2s ease, background .2s ease; }
.contact-bar-button:hover { background: var(--teal-100); transform: translateY(-2px); }
.vet-access-link { color: #cdb977; font-size: 12px; font-weight: 600; }
.vet-access-link:hover { color: #fff; }

/* Seções */
section:not(.top) { padding: 95px 0; }
.title {
    color: var(--teal-900);
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 46px;
    text-align: center;
}
.title::after { background: var(--gold); content: ''; display: block; height: 2px; margin: 17px auto 0; width: 54px; }

.services { background: var(--cream); }
.serv-content { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.services .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 35px rgba(25, 49, 46, .06);
    min-height: 245px;
    overflow: hidden;
    padding: 38px 30px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.services .card::before { background: var(--teal-100); border-radius: 50%; content: ''; height: 130px; position: absolute; right: -46px; top: -50px; width: 130px; }
.services .card:hover { border-color: rgba(155, 112, 2, .35); box-shadow: var(--shadow); transform: translateY(-7px); }
.services .card i { color: var(--gold); font-size: 36px; margin-bottom: 26px; position: relative; }
.services .card .text { color: var(--teal-900); font-family: 'Playfair Display', serif; font-size: 25px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.services .card p { color: var(--muted); }

.premium { background: var(--teal-50); }
.premium-content { align-items: center; display: grid; gap: clamp(38px, 7vw, 82px); grid-template-columns: .9fr 1.1fr; }
.premium-content .left img { border-radius: 28px; box-shadow: var(--shadow); display: block; height: 470px; object-fit: cover; width: 100%; }
.premium-content .right .text { color: var(--teal-900); font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 1.2; margin-bottom: 22px; }
.premium-content .right p { color: #4c5b58; font-size: 17px; white-space: pre-line; }
.premium-content .right > a { background: var(--gold-dark); border-radius: 99px; color: #fff; display: inline-block; font-weight: 700; margin-top: 28px; padding: 13px 24px; transition: background .2s, transform .2s; }
.premium-content .right > a:hover { background: var(--teal-900); transform: translateY(-2px); }

/* Páginas de conteúdo */
.about { background: var(--cream); }
.about-content {
    align-items: start;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 48px;
    grid-template-columns: 360px minmax(0, 1fr);
    padding: clamp(28px, 5vw, 58px);
}
.about-content .left img { border-radius: 22px; display: block; height: 420px; object-fit: cover; position: sticky; top: 130px; width: 100%; }
.about-content .right .text { color: var(--teal-900); font-family: 'Playfair Display', serif; font-size: clamp(27px, 3vw, 38px); font-weight: 700; line-height: 1.25; margin-bottom: 24px; }
.about-content .right p { color: #4c5755; font-size: 17px; margin-bottom: 17px; white-space: pre-line; }
.about-content h4 { color: var(--gold-dark) !important; font-family: 'Playfair Display', serif; font-size: 24px; line-height: 1.25; margin: 34px 0 10px; }

/* Contato */
.contact { background: var(--cream); }
.contact-content { display: grid; gap: 30px; grid-template-columns: .8fr 1.2fr; }
.contact-content > .column { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(25, 49, 46, .07); padding: clamp(28px, 4vw, 44px); }
.contact-content .left > p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.icons { display: grid; gap: 15px; }
.icons .row { align-items: center; background: var(--teal-50); border-radius: 15px; display: flex; gap: 16px; padding: 16px; }
.icons .row > i { align-items: center; background: var(--teal-900); border-radius: 50%; color: #fff; display: flex; flex: 0 0 42px; height: 42px; justify-content: center; }
.icons .head { color: var(--teal-900); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.icons .sub-title { color: var(--muted); }
.contact-content .right .text { color: var(--teal-900); font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; margin-bottom: 22px; }
.fields { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 14px; }
.field input, .field textarea { background: #fbfcfc; border: 1px solid #cbd6d3; border-radius: 12px; color: var(--ink); font: inherit; outline: none; padding: 14px 16px; resize: vertical; transition: border .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(40, 94, 89, .11); }
.button-area button { background: var(--gold-dark); border: 0; border-radius: 99px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 13px 28px; }
.button-area button:hover { background: var(--teal-900); }

/* Elementos globais */
a[href*='wa.me'] { align-items: center !important; border: 4px solid #fff; bottom: 26px !important; box-shadow: 0 12px 28px rgba(0,0,0,.22) !important; display: flex !important; height: 58px !important; justify-content: center; right: 25px !important; transition: transform .2s ease; width: 58px !important; }
a[href*='wa.me']:hover { transform: translateY(-4px) scale(1.03); }
a[href*='wa.me'] i { margin: 0 !important; }
footer { background: #102e2b; color: #b9cfcc; font-size: 13px; padding: 26px 20px; text-align: center; }

@media (max-width: 1100px) {
    .menu-btn { display: block; position: relative; z-index: 1001; }
    .navbar .menu { background: rgba(248,246,241,.99); flex-direction: column; height: 100vh; justify-content: center; left: -100%; padding: 100px 28px 40px; position: fixed; top: 0; transition: left .3s ease; width: 100%; z-index: 1000; }
    #menu-site.active { left: 0; }
    .navbar .menu li a { font-size: 19px; padding: 8px 18px; }
    .navbar .menu li a.client-menu-link { margin: 8px 0 0; }
    .contact-bar-content { grid-template-columns: 1fr 1fr; }
    .contact-bar-actions { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
    .vet-access-link { align-items: center; display: flex; padding: 0 12px; }
}

@media (max-width: 820px) {
    .top, .internal-page .top { background-position: 61% center; min-height: 650px; }
    .top h1 { font-size: clamp(42px, 12vw, 64px); max-width: 92%; }
    .page-subtitle { max-width: 82%; }
    .contact-bar-content { display: flex; flex-direction: column; gap: 15px; padding-block: 25px; text-align: center; }
    .contact-bar-actions { flex-direction: column; width: min(300px, 100%); }
    section:not(.top) { padding: 70px 0; }
    .serv-content { grid-template-columns: 1fr; }
    .services .card { min-height: auto; }
    .premium-content, .about-content, .contact-content { grid-template-columns: 1fr; }
    .premium-content .left img { height: 350px; }
    .about-content .left img { height: 310px; position: static; }
    .fields { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
    .socials-hidden .top, .socials-hidden.internal-page .top { padding-top: 86px; }
    .blog-page.socials-hidden { padding-top: 86px; }
    .max-width, .top .max-width { width: min(100% - 28px, 1180px); }
    .navbar { min-height: 86px; }
    .site-logo { width: 180px; }
    .social-topbar-inner > span { display: none; }
    .top, .internal-page .top { height: 88vh; min-height: 610px; padding-top: 126px; }
    .top { background-position: 64% center; }
    .top h1 { font-size: 43px; }
    .page-subtitle { font-size: 17px; max-width: 90%; }
    .title { margin-bottom: 32px; }
    .about-content { border-radius: 20px; padding: 23px; }
    .contact-content > .column { padding: 24px; }
}
