/* =========================================================
   RUAS & FOCINHOS | FOTOGRAFIA PET
   Folha de estilos global — site institucional
   Identidade: profissional, moderna, afetiva sem infantilização
   ========================================================= */

:root {
  --ink: #26221d;
  --ink-soft: #5c554c;
  --paper: #faf7f2;
  --paper-2: #f1ebe1;
  --card: #ffffff;
  --accent: #c07a3d;        /* caramelo — identidade principal */
  --accent-dark: #9c5f2a;
  --accent-soft: #f3e2cf;
  --green: #3d7a5f;         /* apoio — confiança */
  --green-dark: #2f5f4a;
  --line: #e4dcd0;
  --shadow: 0 10px 30px rgba(38, 34, 29, .08);
  --radius: 14px;
  --wa: #25d366;            /* verde WhatsApp */
  --wa-dark: #1eb455;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--accent-dark); }

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

/* ---------- Utilidades ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--paper-2); }
.section--green { background: var(--green); color: #fff; }
.section--green h2, .section--green h3 { color: #fff; }
.section--ink { background: var(--ink); color: #f4efe8; }
.section--ink h2 { color: #fff; }
.section--ink p { color: #d9d2c7; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { font-size: 1.08rem; color: var(--ink-soft); }
.section--green p.lead { color: #e8efe9; }

.muted { color: var(--ink-soft); }
.text-center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #0b3d20; box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.btn--wa:hover { background: var(--wa-dark); }

.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-center .btn-row { justify-content: center; }

.wa-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 50%;
}
.brand-logo--lg { height: 96px; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--accent);
  border-radius: 12px;
  color: #fff;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .01em;
  display: block;
}
.brand-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }

.nav-cta { margin-left: 8px; padding: 11px 20px; font-size: .82rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 2px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(60% 90% at 85% 10%, var(--accent-soft) 0%, transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 560px; }
.hero .lead em { font-style: normal; color: var(--accent-dark); font-weight: 600; }

/* Página interna — hero compacto */
.page-hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(70% 100% at 90% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero p.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 700px; margin: 0; }

/* ---------- Colocações visuais (placeholders de fotografia) ----------
   Substituir cada <div class="photo">…</div> pela fotografia real da
   marca, mantendo a proporção indicada via aspect-ratio. */
.photo{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-dark);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
}

.photo::after {
  content: attr(data-caption);
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(38,34,29,.35);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.photo .paw-wm { width: 64px; height: 64px; opacity: .5; }
.photo--g1 { background: linear-gradient(135deg, #6b8f7c, #2f5f4a); }
.photo--g2 { background: linear-gradient(135deg, #c07a3d, #9c5f2a); }
.photo--g3 { background: linear-gradient(135deg, #8a7a68, #55483b); }
.photo--g4 { background: linear-gradient(135deg, #3d7a5f, #24503d); }
.photo--g5 { background: linear-gradient(135deg, #a98467, #7d5c42); }
.photo--g6 { background: linear-gradient(135deg, #4f6d5f, #2c4438); }

/* ---------- Foto real dentro de quadro fixo (sem corte) ----------
   O quadro mantém a proporção da página; a foto é exibida inteira
   (object-fit: contain) sobre um fundo desfocado criado pela própria
   foto (variável CSS --img). Legenda embaixo à esquerda preservada.
   Uso:
     <div class="photo photo--g4 photo--fit" data-caption="Legenda"
          style="--img:url('img/foto.jpg')">
       <picture><img src="img/foto.jpg" alt="..."></picture>
     </div> */
.photo--fit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.1) brightness(.82);
  transform: scale(1.25);
}
.photo--fit picture { position: absolute; inset: 0; display: block; }
.photo--fit picture img { width: 100%; height: 100%; object-fit: contain; display: block; }

.photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* If your .photo--fit class shows the full image without cropping (object-fit: contain) */
.photo--fit video {
  object-fit: contain;
  position: absolute;
  inset: 0;
  display: block;
}


.hero-photo {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.hero-photo .paw-wm { width: 96px; height: 96px; }

/* ---------- Grades ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- Cartões ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.card--tint { background: var(--accent-soft); border-color: #e8cfb2; }
.card--tint p { color: #6b4a26; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--accent { background: var(--accent); }

/* número grande (etapas) */
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

/* lista com marcador pata */
.paw-list { list-style: none; padding: 0; margin: 1em 0 0; }
.paw-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
.paw-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='black'%3E%3Cellipse cx='5.5' cy='9' rx='2.3' ry='3' transform='rotate(-25 5.5 9)'/%3E%3Cellipse cx='10' cy='5.5' rx='2.2' ry='3' transform='rotate(-8 10 5.5)'/%3E%3Cellipse cx='15' cy='5.5' rx='2.2' ry='3' transform='rotate(8 15 5.5)'/%3E%3Cellipse cx='19' cy='9' rx='2.3' ry='3' transform='rotate(25 19 9)'/%3E%3Cpath d='M12 11c-2.5 0-6.5 4.2-6.5 7.2 0 2 1.5 3.3 3.5 3.3 1.2 0 2-.6 3-.6s1.8.6 3 .6c2 0 3.5-1.3 3.5-3.3 0-3-4-7.2-6.5-7.2Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='black'%3E%3Cellipse cx='5.5' cy='9' rx='2.3' ry='3' transform='rotate(-25 5.5 9)'/%3E%3Cellipse cx='10' cy='5.5' rx='2.2' ry='3' transform='rotate(-8 10 5.5)'/%3E%3Cellipse cx='15' cy='5.5' rx='2.2' ry='3' transform='rotate(8 15 5.5)'/%3E%3Cellipse cx='19' cy='9' rx='2.3' ry='3' transform='rotate(25 19 9)'/%3E%3Cpath d='M12 11c-2.5 0-6.5 4.2-6.5 7.2 0 2 1.5 3.3 3.5 3.3 1.2 0 2-.6 3-.6s1.8.6 3 .6c2 0 3.5-1.3 3.5-3.3 0-3-4-7.2-6.5-7.2Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;  color: var(--accent);
}

/* caixa de aviso */
.note {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: .97rem;
  color: #5d431f;
}
.note strong { color: #463112; }

/* ---------- Fluxo (como funciona) ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.flow-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.flow-arrow { color: var(--accent); font-size: 1.2rem; font-weight: 700; }

/* ---------- Etapa detalhada ---------- */
.step-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.step-block:last-child { border-bottom: none; }
.step-block .big-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.step-block p { color: var(--ink-soft); max-width: 640px; }
@media (max-width: 620px) {
  .step-block { grid-template-columns: 1fr; gap: 8px; }
  .step-block .big-num { font-size: 3rem; }
}

/* ---------- Portfólio ---------- */
.folio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.folio .photo { aspect-ratio: 4 / 3; }
.folio .photo--tall { aspect-ratio: 3 / 4; }
.folio .photo--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (max-width: 920px) { .folio { grid-template-columns: repeat(2, 1fr); } .folio .photo--wide { grid-column: span 2; } }
@media (max-width: 620px) { .folio { grid-template-columns: 1fr; } .folio .photo--wide { grid-column: span 1; } }

.cat-title {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 48px 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-title::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.cat-title:first-of-type { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-q .chev { flex: none; width: 22px; height: 22px; transition: transform .25s ease; color: var(--accent); }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 26px 22px; color: var(--ink-soft); font-size: .98rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- CTA final ---------- */
.cta-band {
  background:
    radial-gradient(80% 120% at 15% 0%, rgba(192,122,61,.35) 0%, transparent 55%),
    var(--ink);
  color: #f4efe8;
  text-align: center;
  padding: 84px 0;
}
.cta-band h2 { color: #fff; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 620px; margin: 0 auto; color: #cfc7bb; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-card:last-child { border-bottom: none; }
.contact-card .icon-badge { margin-bottom: 0; }
.contact-card h3 { margin-bottom: .2em; font-size: 1.1rem; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.contact-card a { font-weight: 600; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-hint { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.checkbox-row input { width: auto; margin-top: 3px; }
.checkbox-row a { font-weight: 600; }

.socials { display: flex; gap: 12px; margin-top: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-weight: 600; font-size: .9rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.social-btn svg { width: 18px; height: 18px; }

/* ---------- Rodapé ---------- */
.site-footer {
  background:
    linear-gradient(rgba(30, 26, 21, .93), rgba(30, 26, 21, .93)),
    url("../img/site_background.jpeg") center / cover no-repeat var(--ink);
  color: #cfc7bb;
  padding: 64px 0 0;
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 44px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 340px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #cfc7bb; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .82rem;
  color: #a79f92;
}
.footer-bottom a { color: #cfc7bb; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Ícones utilitários ---------- */
.i { width: 24px; height: 24px; }

/* ---------- Acessibilidade ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: 10px 18px; z-index: 300; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
