/* Lila Estética Animal — estilos */

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #F7C900;
  --turquoise: #1BB5B5;
  --turquoise-cta: #0B7575;
  --navy: #1E3A6E;
  --white: #FFFFFF;
  --cream: #FFFBEF;
  --turquoise-tint: #E9F7F7;
  --shadow: 0 2px 10px rgba(30, 58, 110, 0.08);
  --radius-card: 20px;
  --radius-pill: 999px;
  --max-width: 1180px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.9rem;
  color: var(--navy);
}

.section-lead {
  font-size: 1.05rem;
  max-width: 56ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  min-height: 48px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--turquoise-cta);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

a.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--turquoise-cta);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid rgba(30, 58, 110, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.brand img {
  width: 48px;
  height: 48px;
}

.main-nav {
  display: none;
  gap: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  padding: 8px 2px;
}

.header-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 0 56px;
  background: var(--yellow);
  overflow: hidden;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 28px;
  z-index: 1;
}

.hero-copy {
  order: 2;
}

.hero .badge {
  background: var(--navy);
  color: var(--yellow);
}

.hero-media {
  order: 1;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 10px 30px rgba(30, 58, 110, 0.18);
  aspect-ratio: 4 / 5;
}

.hero-media img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
}

.hero h1 {
  font-size: 2.1rem;
  color: var(--navy);
}

.foam-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  animation: foam-float 7s ease-in-out infinite;
}

/* No mobile, o hero empilha foto + texto numa só coluna — as bolhas ficam
   restritas à faixa da foto (topo) pra nunca cair em cima do texto. */
.foam-bubble.b1 { width: 40px; height: 40px; top: 3%; left: 6%; animation-delay: 0s; }
.foam-bubble.b2 { width: 22px; height: 22px; top: 27%; left: 3%; background: rgba(27, 181, 181, 0.3); animation-delay: 1.2s; }
.foam-bubble.b3 { width: 28px; height: 28px; top: 9%; right: 6%; background: rgba(27, 181, 181, 0.25); animation-delay: 2s; }
.foam-bubble.b4 { width: 18px; height: 18px; top: 19%; right: 4%; animation-delay: 0.6s; }

@media (min-width: 860px) {
  /* No desktop a foto e o texto ficam lado a lado, então as bolhas podem
     ocupar toda a altura do hero sem esbarrar no texto. */
  .foam-bubble.b1 { width: 54px; height: 54px; top: 8%; left: 6%; }
  .foam-bubble.b2 { width: 28px; height: 28px; top: 70%; left: 4%; }
  .foam-bubble.b3 { width: 36px; height: 36px; top: 16%; right: 6%; }
  .foam-bubble.b4 { width: 20px; height: 20px; top: 46%; right: 3%; }
}

@keyframes foam-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .foam-bubble {
    animation: none;
  }
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 50ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  margin: 0;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--turquoise);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
}

@media (min-width: 860px) {
  .service-card {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
  }

  .service-card:nth-child(even) .service-icon {
    background: var(--navy);
  }

  .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .service-icon svg {
    width: 32px;
    height: 32px;
  }

  .service-card h3 {
    font-size: 1.4rem;
  }

  .service-card p {
    font-size: 1.02rem;
  }
}

/* Um pet por vez */
.humanizado {
  background: var(--navy);
  color: var(--white);
  border-radius: 28px;
  overflow: hidden;
}

.humanizado .container {
  padding-top: 0;
  padding-bottom: 0;
}

.humanizado-grid {
  display: grid;
  gap: 0;
}

.humanizado-copy {
  padding: 40px 24px;
}

.humanizado h2 {
  color: var(--yellow);
}

.humanizado p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.humanizado-media {
  aspect-ratio: 4 / 5;
}

.humanizado-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Galeria */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.galeria-grid figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.galeria-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Nova fase */
.nova-fase {
  background-color: var(--turquoise-tint);
  background-image: url("../svg/patinhas.svg");
  background-size: 72px 72px;
  background-repeat: repeat;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.nova-fase .container {
  position: relative;
}

.nova-fase-card {
  max-width: 60ch;
  padding: 40px 28px;
}

@media (min-width: 860px) {
  .nova-fase-card {
    padding: 56px;
  }
}

.nova-fase a {
  color: var(--turquoise-cta);
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border-top: 1px solid rgba(30, 58, 110, 0.15);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(30, 58, 110, 0.15);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
  font-size: 0.98rem;
}

/* Contato */
.contato {
  background: var(--navy);
  color: var(--white);
}

.contato h2 {
  color: var(--yellow);
}

.contato-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.contato-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  padding: 24px;
}

.contato-card h3 {
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 10px;
}

.contato-card p, .contato-card a:not(.btn) {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.contato-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contato .btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* Footer */
.site-footer {
  padding: 28px 0 96px;
  font-size: 0.85rem;
  color: rgba(30, 58, 110, 0.75);
  text-align: center;
}

.site-footer p {
  margin: 4px 0;
}

/* Barra fixa mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--yellow);
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(30, 58, 110, 0.18);
}

.sticky-cta .btn {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.sticky-cta .btn-primary {
  flex: 1.4;
}

.sticky-cta .btn-call {
  background: var(--navy);
  color: var(--white);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* Desktop */
@media (min-width: 860px) {
  section {
    padding: 64px 0;
  }

  .main-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
    aspect-ratio: 1 / 1;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .humanizado-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .humanizado-copy {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .galeria-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contato-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (min-width: 1100px) {
  .container {
    padding: 0 32px;
  }
}
