/* Golden Pet — CSS puro (Hostinger ready)
   Paleta: #26231F #B96F27 #D4B498 #DCC59A #F6F6F5 */

:root {
  --preto: #26231F;
  --laranja: #B96F27;
  --laranja-escuro: #9c5a1e;
  --bege: #D4B498;
  --bege-claro: #DCC59A;
  --fundo: #F6F6F5;
  --branco: #ffffff;
  --muted: #6b6459;
  --border: #e6ded1;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe57;
  --shadow-soft: 0 4px 18px -6px rgba(38,35,31,.12), 0 2px 6px -2px rgba(38,35,31,.06);
  --shadow-elev: 0 24px 50px -22px rgba(185,111,39,.35);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --gradient-hero: linear-gradient(135deg, #DCC59A 0%, #D4B498 60%, #c99a6d 100%);
  --gradient-warm: linear-gradient(135deg, #B96F27 0%, #d1873a 100%);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--preto);
  background: var(--fundo);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: #3d3830; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.text-muted { color: var(--muted); font-size: .95rem; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--laranja); font-weight: 600; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,246,245,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(38,35,31,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 80px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand-text { display: none; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--laranja); font-weight: 600; }
@media (min-width: 640px) { .brand-text { display: flex; } }

.nav-desktop { display: none; gap: .25rem; align-items: center; }
.nav-desktop a { padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #4a453d; transition: background .2s; }
.nav-desktop a:hover, .nav-desktop a.active { background: var(--bege-claro); color: var(--preto); }
.header-cta { display: none; align-items: center; gap: .5rem; }
.btn-phone { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--branco); font-size: .85rem; font-weight: 500; }
.btn-phone:hover { background: var(--bege-claro); }
@media (min-width: 900px) { .nav-desktop, .header-cta { display: flex; } }

.menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: var(--branco); }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--branco); }
.nav-mobile.open { display: block; }
.nav-mobile .container { display: flex; flex-direction: column; gap: .25rem; padding-top: 1rem; padding-bottom: 1rem; }
.nav-mobile a { padding: .8rem 1rem; border-radius: 10px; font-weight: 500; }
.nav-mobile a:hover { background: var(--bege-claro); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-size: .9rem; font-weight: 600; transition: all .2s; }
.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-elev); }
.btn-wa:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.7); backdrop-filter: blur(4px); border: 1px solid rgba(38,35,31,.15); color: var(--preto); }
.btn-ghost:hover { background: var(--branco); }
.btn-primary { background: var(--laranja); color: #fff; }
.btn-primary:hover { background: var(--laranja-escuro); }
.btn-light { background: var(--branco); color: var(--preto); }

/* HERO */
.hero { background: var(--gradient-hero); overflow: hidden; }
.hero .container { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1fr 1fr; align-items: center; padding-top: 5rem; padding-bottom: 5rem; } }
.hero .badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; background: rgba(255,255,255,.7); border-radius: 999px; font-size: .75rem; font-weight: 500; }
.hero h1 { margin-top: 1rem; }
.hero h1 span { color: var(--laranja); }
.hero p.lead { margin-top: 1.25rem; max-width: 50ch; font-size: 1.05rem; color: #3d3830; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3,1fr); max-width: 420px; gap: 1rem; text-align: center; }
.hero-stat { background: rgba(255,255,255,.6); padding: .75rem; border-radius: 18px; backdrop-filter: blur(4px); }
.hero-stat strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--laranja); display: block; }
.hero-stat span { font-size: .72rem; color: #4a453d; }
.hero-image { position: relative; }
.hero-image img { aspect-ratio: 4/5; width: 100%; border-radius: 32px; object-fit: cover; box-shadow: var(--shadow-elev); }
.hero-chip { position: absolute; bottom: -1.25rem; left: -1rem; display: none; align-items: center; gap: .75rem; background: var(--branco); padding: .75rem 1rem; border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .hero-chip { display: flex; } }
.hero-chip .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--bege-claro); color: var(--laranja); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* SECTIONS */
section.padded { padding: 4rem 0; }
section.padded-lg { padding: 6rem 0; }
.section-muted { background: rgba(220,197,154,.25); }
.section-head { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2.5rem; }
@media (min-width: 700px) {
  .section-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* GRIDS + CARDS */
.grid { display: grid; gap: 1.25rem; }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(3,1fr); } .grid.cols-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--branco); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elev); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bege-claro); color: var(--laranja); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.card h3 { margin-top: 1rem; font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; }
.card p { margin-top: .35rem; font-size: .88rem; color: var(--muted); }

.card-highlight { overflow: hidden; padding: 0; }
.card-highlight img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .5s; }
.card-highlight:hover img { transform: scale(1.05); }
.card-highlight .body { padding: 1.5rem; }

.highlights { margin-top: -3rem; position: relative; z-index: 2; }

/* SERVICES PAGE CARDS with CTA */
.service-card { display: flex; flex-direction: column; }
.service-card .wa-link { margin-top: auto; padding-top: 1rem; color: var(--laranja); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.service-card .wa-link:hover { text-decoration: underline; }

/* ABOUT block */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-grid img { aspect-ratio: 4/5; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow-elev); max-width: 480px; }

/* PAYMENTS pills */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.25rem; background: var(--branco); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft); font-size: .88rem; font-weight: 500; }
.pill svg, .pill .ico { color: var(--laranja); }

/* FAQ */
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 2fr; } }
details.faq-item { background: var(--branco); border: 1px solid var(--border); border-radius: 18px; padding: 1.15rem 1.35rem; box-shadow: var(--shadow-soft); margin-bottom: .75rem; }
details.faq-item[open] { box-shadow: var(--shadow-elev); }
details.faq-item summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; list-style: none; gap: 1rem; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--bege-claro); color: var(--laranja); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; font-weight: 700; }
details.faq-item[open] summary .plus { transform: rotate(45deg); }
details.faq-item p { margin-top: .8rem; font-size: .9rem; color: var(--muted); }

/* Final CTA */
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--gradient-warm); color: #fff; padding: 3rem;
  box-shadow: var(--shadow-elev);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; background: url("../assets/clinic-reception.jpg") center/cover; opacity: .12;
}
.cta-box > * { position: relative; }
.cta-box h2 { max-width: 24ch; margin-top: 1rem; }
.cta-box p { color: rgba(255,255,255,.9); margin-top: 1rem; max-width: 46ch; }
.cta-box .btn-light { color: var(--preto); }
.cta-box .btn-outline { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.cta-box .btn-outline:hover { background: rgba(255,255,255,.1); }
@media (min-width: 700px) { .cta-box { padding: 4rem; } }

/* FOOTER */
.footer { background: var(--preto); color: #ede8df; margin-top: 6rem; }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1rem; font-weight: 600; }
.footer a:hover { color: var(--bege); }
.footer .brand-text small { color: rgba(255,255,255,.6); }
.footer .brand-text strong { color: var(--bege); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.footer .contact-list { display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; }
.footer .contact-list li { display: flex; align-items: flex-start; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; flex-direction: column; gap: .5rem; font-size: .75rem; color: rgba(255,255,255,.6); }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Floating WhatsApp */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elev); transition: transform .2s;
  animation: pulseRing 2s infinite;
}
.fab-wa:hover { transform: scale(1.05); background: var(--whatsapp-dark); }
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* CONTACT PAGE */
.contact-grid { display: grid; gap: 2.5rem; padding: 4rem 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.info-card { background: var(--branco); border: 1px solid var(--border); border-radius: 28px; padding: 2rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 1.15rem; }
.info-item { display: flex; gap: .75rem; align-items: flex-start; }
.info-item .ico { color: var(--laranja); margin-top: .2rem; flex-shrink: 0; }
.info-item p { font-size: .88rem; color: var(--muted); margin-top: .15rem; }
.info-item strong { font-size: .95rem; }
.form-card { background: var(--branco); border: 1px solid var(--border); border-radius: 28px; padding: 2rem; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .35rem; }
.field label span { color: var(--laranja); }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--fundo);
  font: inherit; font-size: .9rem; outline: none;
  transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--laranja); box-shadow: 0 0 0 3px rgba(185,111,39,.2); background: var(--branco); }
.field-error { color: #c02827; font-size: .75rem; margin-top: .25rem; display: none; }
.field.error .field-error { display: block; }
.field.error input, .field.error textarea { border-color: #c02827; }
.map-wrap { border-radius: 28px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); margin-bottom: 4rem; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-prose { max-width: 60ch; }
