/* =========================================================
   Banho e Tosa Pet Peludinho — folha de estilos
   Paleta inspirada na logo: pelagem caramelo, espuma azul
   suave e o vermelho da escova.
   ========================================================= */

:root {
  /* Cores */
  --bg: #F3F9FB;              /* branco azulado, "espuma" */
  --bg-alt: #FFFFFF;
  --brown-deep: #5C3A21;      /* pelagem escura / texto principal */
  --brown-mid: #C08552;       /* pelagem clara / detalhes */
  --brown-soft: #F2E2D2;      /* fundo quente suave */
  --blue-suds: #8FCBDE;       /* espuma / azul da logo */
  --blue-suds-deep: #4E9DB6;
  --coral: #E2604C;           /* cabo da escova */
  --coral-deep: #C64632;
  --ink: #3A2A1E;
  --ink-soft: #7A6656;
  --line: #E4D7C7;

  /* Tipografia */
  --font-display: "Baloo 2", "Quicksand", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-deep);
  margin: 0 0 0.4em 0;
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em 0; color: var(--ink-soft); }

::selection { background: var(--blue-suds); color: var(--brown-deep); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Botões
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(226, 96, 76, 0.6);
}
.btn-primary:hover { background: var(--coral-deep); }

.btn-secondary {
  background: transparent;
  border-color: var(--brown-deep);
  color: var(--brown-deep);
}
.btn-secondary:hover { background: var(--brown-deep); color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--brown-deep); }

/* ---------------------------------------------------------
   Cabeçalho
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 249, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown-deep);
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--blue-suds-deep);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  font-weight: 700;
  color: var(--brown-deep);
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--brown-deep);
  border-radius: 3px;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--blue-suds-deep);
  background: rgba(143, 203, 222, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-figure .bubble-blob {
  position: absolute;
  inset: -6%;
  background: radial-gradient(circle at 30% 30%, rgba(143,203,222,0.55), rgba(143,203,222,0) 70%),
              radial-gradient(circle at 70% 75%, rgba(226,96,76,0.25), rgba(226,96,76,0) 65%);
  border-radius: 50%;
  z-index: 0;
}

.hero-figure img {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  filter: drop-shadow(0 20px 30px rgba(92, 58, 33, 0.18));
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--coral-deep);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   Seções gerais
   --------------------------------------------------------- */

section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 44px 0;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-tag {
  font-weight: 700;
  color: var(--blue-suds-deep);
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: block;
}

.alt-bg { background: var(--bg-alt); }

/* ---------------------------------------------------------
   Serviços
   --------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(92, 58, 33, 0.35);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-soft);
  margin-bottom: 18px;
  font-size: 1.5rem;
}

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

/* ---------------------------------------------------------
   Galeria
   --------------------------------------------------------- */

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

.gallery-grid.gallery-place { grid-template-columns: repeat(3, 1fr); }

.gallery-grid.gallery-dogs { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--blue-suds) 0%, var(--brown-soft) 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--brown-deep);
  text-align: center;
  padding: 16px;
}

.gallery-item.is-empty svg { width: 34px; height: 34px; opacity: 0.6; }
.gallery-item.is-empty span {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.75;
}

.gallery-item:nth-child(3n+1) { background: linear-gradient(135deg, var(--blue-suds) 0%, #fff 100%); }
.gallery-item:nth-child(3n+2) { background: linear-gradient(135deg, var(--brown-soft) 0%, #fff 100%); }
.gallery-item:nth-child(3n+3) { background: linear-gradient(135deg, #fde3dd 0%, #fff 100%); }

/* ---------------------------------------------------------
   CTA faixa
   --------------------------------------------------------- */

.cta-strip {
  background: var(--brown-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(143,203,222,0.35), transparent 70%);
}

.cta-strip h2 { color: #fff; margin-bottom: 6px; }
.cta-strip p { color: rgba(255,255,255,0.78); margin-bottom: 0; }
.cta-text { max-width: 480px; }

/* ---------------------------------------------------------
   Passos / processo
   --------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 4px;
}

.step .step-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blue-suds-deep);
  opacity: 0.55;
  margin-bottom: 6px;
}

/* ---------------------------------------------------------
   Página Sobre / Contato
   --------------------------------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}

.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }

.info-list li { display: flex; gap: 16px; align-items: flex-start; }

.info-list .info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brown-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-list strong { display: block; color: var(--brown-deep); font-family: var(--font-display); }
.info-list a { color: var(--coral-deep); font-weight: 700; }
.info-list a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--brown-deep); }

.instagram-card {
  background: linear-gradient(135deg, var(--coral) 0%, #f0a05a 100%);
  border-radius: var(--radius-md);
  padding: 30px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
}

.instagram-card .ig-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.instagram-card a { font-weight: 700; text-decoration: underline; }

/* ---------------------------------------------------------
   Rodapé
   --------------------------------------------------------- */

.site-footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }

.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* ---------------------------------------------------------
   Responsivo
   --------------------------------------------------------- */

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { width: min(260px, 70%); margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 72px 16px auto 16px; background: var(--bg-alt);
    border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px;
    flex-direction: column; align-items: flex-start; gap: 16px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
