/* ============================================================
   Doguinho Petshop — estilos globais
   Paleta: coral #ec635e · creme #fff8f3 · tinta #26201e
   ============================================================ */

:root {
  --brand: #ec635e;
  --brand-dark: #d84a45;
  --brand-soft: #fde7e4;
  --ink: #26201e;
  --ink-soft: #6b5d59;
  --cream: #fff8f3;
  --paper: #ffffff;
  --line: #f0e3dc;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(38, 32, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(38, 32, 30, 0.10);
  --shadow-lg: 0 20px 50px rgba(236, 99, 94, 0.18);
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.section--alt { background: var(--paper); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-lead { color: var(--ink-soft); max-width: 640px; font-size: 1.05rem; }

/* ---------- Header / Navegação ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { width: 46px; height: 46px; object-fit: contain; }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav__links a.active { color: #fff; background: var(--brand); }
.nav__links a.active:hover { color: #fff; background: var(--brand-dark); }

.nav__cta {
  background: var(--brand);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: transform .15s, background .15s;
}
.nav__cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--brand); }
.hero p { color: var(--ink-soft); font-size: 1.15rem; max-width: 540px; margin-bottom: 28px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__logo {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo img { max-height: 320px; object-fit: contain; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--whats { background: #25d366; color: #fff; }
.btn--whats:hover { background: #1ebe5b; color: #fff; }

/* ---------- Carrossel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.carousel__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 46px 24px 22px;
  background: linear-gradient(transparent, rgba(38,32,30,.72));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: background .15s;
}
.carousel__btn:hover { background: #fff; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.carousel__dot.is-active { width: 26px; border-radius: 999px; background: var(--brand); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Antes/Depois ---------- */
.ba-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.ba-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ba-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.ba-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ba-card:hover .ba-card__img img { transform: scale(1.04); }
.ba-card__body { padding: 18px 20px; }
.ba-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ba-card__tag--antes { background: #eef2f6; color: #64748b; }
.ba-card__tag--depois { background: var(--brand-soft); color: var(--brand-dark); }
.ba-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.ba-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Localização ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.contact-card p { color: var(--ink-soft); margin-bottom: 16px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-row:first-of-type { border-top: none; }
.contact-row__icon {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.contact-row strong { display: block; }
.contact-row span { color: var(--ink-soft); font-size: 0.95rem; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Formulário ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 7px;
  font-size: 0.95rem;
}
.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border .15s, box-shadow .15s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }
.form-submit { width: 100%; justify-content: center; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #e9dfda;
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer p { font-size: 0.95rem; color: #c9bcb6; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: #c9bcb6; }
.footer ul a:hover { color: var(--brand); }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-weight: 800; }
.footer__brand img { width: 40px; height: 40px; }
.footer__bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #9a8b85;
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 4%;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { text-align: left; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .map-embed iframe { min-height: 280px; }
}
