/* =========================================================
   PATAS PA' CASA — Landing page v2
   Lista para Firebase
   ========================================================= */

:root {
  --bg: #efe6da;
  --bg-soft: #f6f1ea;
  --surface: #fffdfb;
  --surface-soft: #f8f4ee;
  --surface-cream: #f4ecdf;

  --text: #2b211b;
  --muted: #74665d;
  --line: #e3d8cb;

  --brand: #2ecf67;
  --brand-dark: #24b45a;
  --brand-soft: #dff6e7;

  --sage: #6f8b79;
  --sage-dark: #4f6a59;
  --brown: #8a684f;

  --shadow-sm: 0 10px 30px rgba(76, 57, 43, 0.08);
  --shadow-md: 0 18px 45px rgba(76, 57, 43, 0.10);
  --shadow-lg: 0 28px 80px rgba(76, 57, 43, 0.14);

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;

  --container: 1180px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 139, 121, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(46, 207, 103, 0.08), transparent 26%),
    var(--bg);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(227, 216, 203, 0.72);
  background: rgba(246, 241, 234, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links > a:not(.button):hover {
  color: var(--text);
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(46, 207, 103, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 14px 30px rgba(46, 207, 103, 0.28);
}

.button:focus-visible,
.social-links a:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(111, 139, 121, 0.35);
  outline-offset: 4px;
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.button-secondary {
  border-color: #d9cebf;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover {
  background: #fffaf5;
  border-color: #cdbda9;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 106px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 68px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-orb-one {
  top: 70px;
  right: -160px;
  width: 450px;
  height: 450px;
  background: rgba(111, 139, 121, 0.12);
}

.hero-orb-two {
  bottom: 18px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: rgba(46, 207, 103, 0.08);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: var(--sage-dark);
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-message-visual {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-card {
  width: min(500px, 100%);
  overflow: hidden;
  border: 1px solid rgba(227, 216, 203, 0.9);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.hero-statement {
  position: absolute;
  left: -34px;
  bottom: 34px;
  width: min(390px, 74%);
  padding: 24px 26px 22px;
  border: 1px solid rgba(227, 216, 203, 0.88);
  border-radius: 26px;
  background: rgba(255, 253, 251, 0.94);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.statement-paw {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  font-size: 22px;
}

.hero-statement p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-statement strong {
  display: block;
  margin-top: 4px;
  color: var(--sage-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.statement-note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

/* Sections */
.section {
  padding: 98px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2,
.benefits-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.benefits-copy > p:last-child,
.final-cta > p {
  margin: 18px auto 0;
  color: var(--muted);
  max-width: 700px;
}

/* Steps */
.steps-section {
  background: rgba(255, 251, 247, 0.56);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 251, 0.88);
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brown);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.step-image {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-soft);
  aspect-ratio: 4 / 3;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card h3 {
  margin: 24px 10px 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 8px 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Benefits */
.benefits-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 207, 103, 0.12), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(111, 139, 121, 0.16), transparent 34%),
    linear-gradient(135deg, #5b7363, #6f8b79 45%, #8aa18f);
  color: #fff;
}

.benefits-copy .eyebrow {
  color: #e9f3ee;
}

.benefits-copy > p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefit {
  min-height: 138px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.benefit > span {
  font-size: 24px;
}

.benefit strong {
  display: block;
  font-size: 0.98rem;
}

.benefit p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

/* Final CTA */
.final-cta {
  padding-top: 54px;
}

.final-cta-inner {
  padding: 72px 20px;
  text-align: center;
}

.cta-paw {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-soft);
  font-size: 30px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.social-links a {
  min-width: 150px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #dccfbe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: #cdbca7;
  box-shadow: var(--shadow-sm);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 251, 247, 0.7);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .benefits-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions,
  .micro-proof {
    justify-content: center;
  }

  .hero-message-visual {
    min-height: 610px;
    max-width: 620px;
    margin-inline: auto;
  }

  .hero-statement {
    left: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .benefits-card {
    gap: 38px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: 68px;
  }

  .nav-links > a:not(.button) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav .button-small {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 54px 0 74px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-message-visual {
    min-height: auto;
    display: block;
  }

  .hero-photo-card {
    width: 100%;
    border-radius: 28px;
    transform: none;
  }

  .hero-photo-card img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .hero-statement {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -54px auto 0;
    padding: 22px;
    border-radius: 22px;
  }

  .section {
    padding: 76px 0;
  }

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

  .step-card {
    padding: 14px 14px 24px;
  }

  .benefits-card {
    padding: 34px 22px;
    border-radius: 28px;
  }

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

  .benefit {
    min-height: auto;
  }

  .final-cta {
    padding-top: 24px;
  }

  .final-cta-inner {
    padding-block: 54px;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-links a {
    width: 100%;
  }

  .footer-inner {
    min-height: 140px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 0.93rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav .button-small {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
