/* ==========================================================
   PATRICAO — SITE INSTITUCIONAL
   Design tokens conforme documento de especificação visual, seção 5.
   ========================================================== */
:root {
  --bg: #020B12;
  --bg-deep: #01070D;
  --bg-secondary: #03111A;
  --surface: #061622;
  --surface-elevated: #081C28;
  --border: #12303D;
  --border-soft: #183746;

  --gold: #D6A62C;
  --gold-light: #F0C95A;
  --gold-dark: #9C7417;

  --white-main: #F4F2EA;
  --white: #FFFFFF;
  --text-secondary: #AEB9BE;
  --text-tertiary: #718087;

  --green: #20C77A;
  --yellow: #F1B93A;
  --red: #EF4B52;
  --blue: #3D9BE9;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white-main);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Manrope", "Inter", sans-serif; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--gold-light);
  color: #071018;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.section { max-width: 1400px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.eyebrow { font-size: 12px; letter-spacing: 4px; color: var(--gold-light); font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }

/* ---------------- HEADER ---------------- */
.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(2, 11, 18, .58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(18, 48, 61, .7);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { background: rgba(2, 11, 18, .88); border-color: rgba(18, 48, 61, .95); }
.site-header:not(.has-hero) { background: rgba(2, 11, 18, .9); }

.brand { display: flex; align-items: center; gap: 10px; letter-spacing: 5px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.brand img { width: 22px; height: 22px; }
.desktop-nav { display: flex; align-items: center; gap: 25px; margin: auto; font-size: 13px; color: var(--text-secondary); }
.desktop-nav a { padding: 27px 0; position: relative; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white-main); }
.desktop-nav a[aria-current="page"]::after {
  content: ""; position: absolute; height: 2px; background: var(--gold); left: 0; right: 0; bottom: 15px;
}
.header-actions { display: flex; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; color: var(--white-main); font-size: 24px; padding: 8px; min-width: 44px; min-height: 44px; }

.mobile-nav { display: none; }
.mobile-nav.open {
  display: flex; flex-direction: column; gap: 2px;
  position: fixed; inset: 74px 0 0 0; z-index: 39;
  background: var(--bg-deep); padding: 12px 6vw 32px; overflow-y: auto;
}
.mobile-nav a { padding: 16px 4px; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--white-main); }
.mobile-nav .header-actions { flex-direction: column; margin-top: 20px; }
.mobile-nav .btn { width: 100%; }

/* ---------------- BUTTONS ---------------- */
.btn {
  border: 1px solid transparent;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13.5px;
  transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #071018; border-color: var(--gold-light); }
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-gold:active { transform: translateY(0); filter: brightness(.97); }
.btn-outline { background: transparent; color: var(--white-main); border-color: var(--gold-dark); }
.btn-outline:hover { background: rgba(214, 166, 44, .08); border-color: var(--gold-light); }
.btn-text { color: var(--gold-light); font-weight: 600; font-size: 14px; padding: 4px 0; min-height: auto; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 14px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; pointer-events: none; }

/* ---------------- HERO (Home) ---------------- */
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-copy { z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.hero h1 {
  font: 700 clamp(40px, 5vw, 72px)/1.04 "Manrope", sans-serif;
  letter-spacing: -2px;
  margin: 0 0 22px;
  max-width: 620px;
}
.hero h1 em, em.gold { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 560px; color: var(--text-secondary); line-height: 1.7; font-size: 16px; margin: 0; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.store-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--border);
  background: var(--surface); padding: 8px 13px; border-radius: 10px; font-size: 10px; color: var(--text-secondary);
  min-height: 44px;
}
.store-badge b { color: var(--white); font-size: 12px; display: block; }
.store-badge svg { flex: none; }

.hero-art { height: 100%; position: relative; min-height: 560px; }
.hero-photo { position: absolute; inset: 0 -48px 0 0; overflow: hidden; border-radius: 0 0 0 28px; }
.photo-placeholder {
  height: 100%; position: relative;
  background:
    radial-gradient(circle at 62% 42%, rgba(214, 166, 44, .18), transparent 45%),
    linear-gradient(125deg, var(--bg-secondary) 10%, #0A1E29 50%, #15100B 100%);
}
.photo-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(2, 11, 18, .1) 45%, rgba(2, 11, 18, .05) 100%);
}
.photo-placeholder::after {
  content: "Fotografia final: cão e gato em ambiente premium (ver README)";
  position: absolute; bottom: 14px; left: 14px; font-size: 10px; color: var(--text-tertiary);
  letter-spacing: .5px;
}
.pet-emoji { position: absolute; font-size: 230px; right: 16%; top: 20%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.pet-emoji.cat { font-size: 145px; right: 2%; top: 46%; }
.hero-script {
  position: absolute; right: 4%; top: 24%; font: 500 36px/1.08 "Segoe Script", cursive; color: var(--gold-light);
  transform: rotate(-6deg); text-align: center; text-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}

.entrance { opacity: 0; transform: translateY(16px); animation: subir .5s ease forwards; }
.entrance.d1 { animation-delay: .05s; } .entrance.d2 { animation-delay: .15s; } .entrance.d3 { animation-delay: .25s; }
@keyframes subir { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .entrance { opacity: 1; transform: none; animation: none; } }

/* ---------------- PAGE HERO (páginas internas) ---------------- */
.page-hero {
  padding: 150px 0 70px;
  background: radial-gradient(circle at 20% 0%, rgba(214, 166, 44, .08), transparent 40%), var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font: 700 clamp(34px, 4.5vw, 58px)/1.06 "Manrope", sans-serif; letter-spacing: -1.5px; margin: 0 0 18px; max-width: 760px; }
.page-hero p { color: var(--text-secondary); max-width: 620px; line-height: 1.7; font-size: 16px; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }

/* ---------------- FAIXA DE SERVIÇOS (tiles) ---------------- */
.service-strip { padding-top: 0; }
.service-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.service-tile { padding: 28px 22px; border-right: 1px solid var(--border); min-height: 160px; transition: background .2s ease; }
.service-tile:last-child { border-right: 0; }
.service-tile:hover, .service-tile:focus-within { background: var(--surface-elevated); }
.service-icon {
  width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light); margin-bottom: 18px; transition: transform .2s ease;
}
.service-tile:hover .service-icon { transform: scale(1.03); }
.service-icon svg { width: 20px; height: 20px; }
.service-tile h3 { margin: 0 0 7px; font-size: 17px; }
.service-tile p { margin: 0; color: var(--text-tertiary); font-size: 12.5px; line-height: 1.5; }

/* ---------------- SEÇÃO SERVIÇOS (cards grandes, página /servicos) ---------------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; min-height: 320px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background:
    linear-gradient(180deg, transparent 40%, rgba(1, 7, 13, .92) 100%),
    linear-gradient(135deg, var(--surface-elevated), var(--bg-secondary));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  transition: transform .22s ease, border-color .22s ease;
}
.service-card:hover, .service-card:focus-within { transform: scale(1.01); border-color: var(--gold-dark); }
.service-card .service-icon { position: absolute; top: 22px; left: 22px; background: rgba(2,11,18,.55); }
.service-card h3 { margin: 0 0 8px; font-size: 21px; }
.service-card p { margin: 0 0 14px; color: var(--text-secondary); font-size: 13.5px; }
.service-card .card-link { color: var(--gold-light); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-card .card-link span { transition: transform .2s ease; }
.service-card:hover .card-link span { transform: translateX(3px); }

/* ---------------- APP PATRICAO ---------------- */
.app-section { display: grid; grid-template-columns: 1.1fr .78fr 1fr; gap: 60px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.app-section h2, .number-section h2, .section-heading h2, .about-section h2, .final-cta h2, .page-hero h1 { letter-spacing: -1.5px; }
.app-copy h2, .number-copy h2, .section-heading h2, .about-copy h2, .final-copy h2 {
  font: 700 clamp(32px, 4vw, 50px)/1.1 "Manrope", sans-serif; margin: 0 0 20px;
}
.app-copy p, .number-copy p, .about-copy p, .final-copy p { color: var(--text-secondary); line-height: 1.7; max-width: 560px; margin: 0; }

.phone-mock {
  width: 258px; height: 526px; margin: auto; border: 7px solid #132936; border-radius: 38px;
  background: linear-gradient(160deg, var(--surface), var(--bg));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 40px rgba(214, 166, 44, .08);
  padding: 34px 18px 18px; position: relative; text-align: center;
}
.phone-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 92px; height: 18px; border-radius: 20px; background: #000; }
.phone-brand { font-size: 8px; letter-spacing: 3px; color: var(--gold-light); }
.phone-pet { font-size: 84px; margin: 26px auto 4px; }
.phone-pet-name { display: block; font-size: 15px; color: var(--white); }
.phone-mock small { color: var(--text-tertiary); }
.phone-status { font-size: 11px; color: var(--green); margin: 10px; }
.phone-card { margin-top: 30px; padding: 15px; background: var(--surface-elevated); border: 1px solid var(--border); border-radius: 14px; text-align: left; }
.phone-card span, .phone-card small { display: block; color: var(--text-tertiary); font-size: 10px; }
.phone-card b { display: block; margin: 6px 0; }
.phone-card button { margin-top: 10px; border: 1px solid var(--gold-dark); border-radius: 20px; background: transparent; color: var(--gold-light); padding: 6px 12px; font-size: 10px; min-height: auto; }
.phone-nav {
  position: absolute; bottom: 14px; left: 20px; right: 20px; border-top: 1px solid var(--border); padding-top: 10px;
  display: flex; justify-content: space-between; color: var(--text-tertiary); font-size: 9px; line-height: 1.6;
}
.phone-nav span:first-child { color: var(--gold-light); }

.benefit-list { display: flex; flex-direction: column; gap: 26px; }
.benefit-list div { display: flex; gap: 15px; align-items: flex-start; color: var(--white-main); }
.benefit-list span.icon {
  width: 38px; height: 38px; flex: none; border: 1px solid var(--gold-dark); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light);
}
.benefit-list b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.4; }

/* download card (App page) */
.download-card {
  border-radius: 18px; border: 1px solid var(--gold-dark); padding: 34px;
  background: linear-gradient(145deg, var(--surface-elevated), var(--bg-secondary));
  display: grid; gap: 16px;
}
.download-card h3 { margin: 0; font: 700 26px "Manrope"; }
.download-card p { margin: 0; color: var(--text-secondary); }

/* variante com ilustração de telefone (home) — mesmo card do /app, com um
   emblema à direita no lugar da foto real (mão segurando o telefone) que
   ainda não existe como asset. */
.download-card--phone { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.download-card-copy { display: grid; gap: 16px; }
.download-card-phone {
  width: 120px; height: 120px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 40% 35%, rgba(214, 166, 44, .16), transparent 60%), var(--surface);
  border: 1px solid var(--gold-dark); display: grid; place-items: center; font-size: 48px;
}
@media (max-width: 720px) { .download-card--phone { grid-template-columns: 1fr; text-align: center; } .download-card-phone { margin: 0 auto; } }

/* ---------------- NÚMERO DO PET ---------------- */
.number-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-top: 100px; padding-bottom: 100px; background: linear-gradient(90deg, var(--bg), var(--surface) 50%, var(--bg)); }
.number-copy em { color: var(--gold-light); font-style: normal; }
.pet-card {
  max-width: 480px; border: 1px solid var(--gold-dark); border-radius: 22px;
  background: linear-gradient(145deg, #0B2230, var(--bg-secondary)); padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.pet-card-top, .pet-card-bottom { display: flex; justify-content: space-between; color: var(--text-tertiary); font-size: 10px; letter-spacing: 2px; }
.pet-card-top { color: var(--gold-light); }
.pet-avatar { font-size: 110px; text-align: center; margin: 18px; }
.pet-name { font: 700 28px "Manrope"; }
.pet-meta { color: var(--text-secondary); margin-top: 5px; font-size: 13.5px; }
.pet-number { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-tertiary); font-size: 12px; }
.pet-number strong { color: var(--gold-light); font-size: 18px; }
.pet-card-bottom { margin-top: 18px; letter-spacing: 0; }
.pet-card-bottom span:last-child { color: var(--green); }

/* ---------------- PLANOS ---------------- */
.plans-section { padding-top: 100px; padding-bottom: 60px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.plan.featured { border-color: var(--gold); box-shadow: 0 0 40px rgba(214, 166, 44, .07); }
.plan-period { font-size: 15px; color: var(--text-secondary); }
.plan strong { font: 700 48px "Manrope"; color: var(--gold-light); margin: 16px 0 0; }
.plan .discount-label { color: var(--text-tertiary); margin-bottom: 6px; }
.plan .savings { font-size: 12.5px; color: var(--green); margin: 6px 0 10px; }
.plan .conditions { font-size: 11.5px; color: var(--text-tertiary); line-height: 1.6; margin: 0 0 16px; }
.plan .btn { margin-top: auto; width: 100%; }
.tag {
  position: absolute; top: 15px; right: 15px; font-size: 9px; letter-spacing: 1.5px;
  color: #071018; background: var(--gold-light); padding: 6px 9px; border-radius: 999px; font-weight: 700;
}
.plan-note { color: var(--text-tertiary); font-size: 12.5px; margin-top: 18px; line-height: 1.6; max-width: 720px; }

.loyalty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.loyalty-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.loyalty-card .service-icon { margin-bottom: 14px; }
.loyalty-card h3 { margin: 0 0 8px; font-size: 17px; }
.loyalty-card p { margin: 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ---------------- PROVA SOCIAL / NÚMEROS ---------------- */
.trust-section {
  padding-top: 80px; padding-bottom: 80px; background: var(--white-main); color: #071018;
  max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-left: 9vw; padding-right: 9vw;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.stats div { border-right: 1px solid #C9C2B3; padding-right: 20px; }
.stats div:last-child { border: 0; }
.stats strong { display: block; font: 700 34px "Manrope"; }
.stats span { font-size: 12px; color: #5B5B55; }
.testimonial { display: flex; gap: 18px; align-items: center; }
.quote-avatar {
  width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #E7E1D1; font-size: 30px;
}
.testimonial p { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.testimonial b { display: block; }
.testimonial span { font-size: 11px; color: #6B6B63; }
.placeholder-note { font-size: 10.5px; color: #8B8B80; margin-top: 4px; }

/* ---------------- SOBRE ---------------- */
.about-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; max-width: none; padding: 0; }
.about-image {
  background: radial-gradient(circle at 50% 40%, rgba(240, 201, 90, .16), transparent 45%), linear-gradient(135deg, #0C1E28, var(--bg));
  position: relative; overflow: hidden; min-height: 360px;
}
.about-image .emoji-row { position: absolute; font-size: 120px; left: 10%; top: 30%; opacity: .85; filter: drop-shadow(0 20px 20px #000); }
.about-overlay { position: absolute; bottom: 46px; left: 9vw; font: 700 clamp(28px,3.4vw,45px) "Manrope"; color: var(--white-main); }
.about-overlay span { color: var(--gold-light); }
.about-copy { padding: 100px 9vw; display: flex; justify-content: center; flex-direction: column; }
.mini-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mini-points span { padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-secondary); font-size: 12.5px; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.value-card h3 { margin: 14px 0 8px; font-size: 16px; }
.value-card p { margin: 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ---------------- CONTATO ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 90px; padding-bottom: 110px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
}
.contact-item .service-icon { flex: none; margin-bottom: 0; }
.contact-item b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.contact-item span, .contact-item a { color: var(--text-secondary); font-size: 13.5px; }
.contact-item a:hover { color: var(--gold-light); }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center;
  color: var(--gold-light); transition: border-color .2s ease, transform .2s ease;
}
.social-row a:hover { border-color: var(--gold-light); transform: translateY(-2px); }

.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.contact-form-card h2 { font: 700 26px "Manrope"; margin: 0 0 6px; }
.contact-form-card > p { color: var(--text-secondary); font-size: 13.5px; margin: 0 0 22px; }
.form-grid { display: grid; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 48px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--white-main); padding: 0 14px; outline: none; font-size: 14px; font-family: inherit;
}
.field textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12px; min-height: 16px; }
.form-feedback { min-height: 20px; font-size: 13px; margin-top: 4px; }
.form-feedback.is-error { color: var(--red); }
.form-feedback.is-success { color: var(--green); }
.form-feedback.is-loading { color: var(--text-secondary); }

/* ---------------- FINAL CTA ---------------- */
.final-cta {
  min-height: 420px; display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden; background: radial-gradient(circle at center, rgba(214, 166, 44, .12), transparent 45%), var(--bg-secondary);
}
.final-copy .hero-actions { justify-content: center; }
.final-copy p { margin: 0 auto; max-width: 600px; }

/* ---------------- FOOTER ---------------- */
.footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 70px 9vw 25px; background: var(--bg-deep); color: var(--text-secondary); }
.footer .brand { color: var(--white-main); }
.footer-brand p { font-size: 13px; max-width: 250px; line-height: 1.6; }
.footer div:not(.footer-brand):not(.footer-bottom) { display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; }
.footer b { color: var(--white-main); margin-bottom: 4px; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 20px; font-size: 11px; color: var(--text-tertiary); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------------- WHATSAPP FLOAT ---------------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #06210f; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.4);
  z-index: 30; border: none; transition: transform .18s ease;
}
.whatsapp-float:hover { transform: scale(1.05); }
@media (max-width: 800px) { .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; } }

/* ---------------- MODAL (login) ---------------- */
.modal { position: fixed; inset: 0; display: none; z-index: 60; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: min(460px, calc(100% - 32px)); margin: 6vh auto; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--gold-dark); border-radius: 22px; padding: 34px;
  box-shadow: 0 30px 100px #000;
}
.modal-card h2 { font: 700 30px "Manrope"; margin: 0 0 10px; }
.modal-card > p { color: var(--text-secondary); font-size: 13px; }
.modal-close { position: absolute; right: 15px; top: 12px; background: none; border: 0; color: var(--text-secondary); font-size: 28px; min-height: 44px; min-width: 44px; }
.role-tabs { display: flex; gap: 8px; margin: 18px 0; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.role-tabs button {
  flex: 1; border: 0; background: transparent; color: var(--text-secondary); padding: 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  min-height: 40px;
}
.role-tabs button[aria-selected="true"] { background: var(--gold); color: #071018; }
.modal-card form { display: grid; gap: 15px; margin-top: 6px; }
.modal-card label { font-size: 12px; color: var(--text-secondary); display: grid; gap: 7px; }
.modal-card input { min-height: 48px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--white); padding: 0 13px; outline: none; font-size: 14px; }
.modal-card input:focus { border-color: var(--gold); }
.modal-links { display: flex; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; gap: 8px; }
.modal-links button { background: none; border: 0; color: var(--gold-light); font-size: 12px; min-height: auto; padding: 4px 0; }
.live-area { border-top: 1px solid var(--border); margin-top: 25px; padding-top: 25px; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 15px 0; }
.live-grid div { background: var(--surface-elevated); border: 1px solid var(--border); border-radius: 12px; padding: 15px; }
.live-grid span { display: block; font-size: 10px; color: var(--text-tertiary); }
.live-grid strong { display: block; font-size: 22px; margin-top: 4px; }
.live-list { display: grid; gap: 8px; margin-bottom: 18px; }
.live-list div { padding: 11px; border-bottom: 1px solid var(--border); font-size: 12px; background: none; border-radius: 0; }
.live-list small { display: block; color: var(--text-tertiary); margin-top: 3px; }

/* ---------------- RESPONSIVIDADE ---------------- */
@media (max-width: 1100px) {
  .desktop-nav { gap: 14px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-tile:nth-child(3) { border-right: 0; }
  .service-tile:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .app-section { grid-template-columns: 1fr .8fr; }
  .benefit-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .loyalty-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .section { padding-left: 20px; padding-right: 20px; }
  .site-header { padding: 0 20px; }
  .desktop-nav, .header-actions { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 50px; }
  .hero-art { min-height: 420px; margin-top: -20px; order: -1; }
  .hero-photo { inset: 0 -20px; }
  .hero-script { right: 5%; top: 16%; font-size: 26px; }
  .pet-emoji { font-size: 160px; right: 20%; top: 22%; }
  .pet-emoji.cat { font-size: 96px; }
  .page-hero { padding: 120px 0 50px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tile:nth-child(2n) { border-right: 0; }
  .service-tile:nth-child(3) { border-right: 1px solid var(--border); }
  .service-tile:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .service-cards { grid-template-columns: 1fr; }
  .app-section { grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 70px; }
  .phone-mock { order: 2; }
  .benefit-list { order: 3; grid-template-columns: 1fr; }
  .number-section { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
  .pet-card { margin: auto; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .loyalty-grid, .values-grid { grid-template-columns: 1fr; }
  .trust-section { grid-template-columns: 1fr; padding: 60px 20px; }
  .about-section { grid-template-columns: 1fr; }
  .about-copy { padding: 60px 20px; }
  .about-overlay { left: 20px; bottom: 30px; }
  .footer { grid-template-columns: 1fr 1fr; padding: 50px 20px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 40px; }
  .hero-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-tile { padding: 20px 14px; }
  .plan-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid #C9C2B3; padding-bottom: 15px; }
  .footer { grid-template-columns: 1fr; }
  .footer-brand, .footer-bottom { grid-column: auto; }
  .modal-card { padding: 26px 20px; }
  .pet-avatar { font-size: 84px; }
}
