/* ============================================================
   Pet Shop Xodó — CSS Principal
   Paleta: Azul escuro #1B2E6B, Laranja #F4820A, Amarelo #FFB830
   Fontes: Playfair Display (títulos) + Nunito (corpo)
============================================================ */

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

:root {
  --blue-dark:    #1B2E6B;
  --blue-mid:     #2D4DB5;
  --blue-light:   #C7D3F5;
  --orange:       #F4820A;
  --orange-dark:  #D46800;
  --orange-light: #FFD49A;
  --yellow:       #FFB830;
  --cream:        #FFFBF5;
  --cream-dark:   #F5EFE6;
  --white:        #FFFFFF;
  --text:         #141E45;
  --text-light:   #4B5563;
  --gray-light:   #F3F4F6;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.16);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .25s ease;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: .85; }
ul  { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── TIPOGRAFIA ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.section-label { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.section-title { color: var(--blue-dark); margin-bottom: 1rem; }
.section-sub   { color: var(--text-light); font-size: 1.05rem; max-width: 620px; margin: 0 auto 3rem; }
.text-center   { text-align: center; }

/* ── BOTÕES ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 1; }
.btn:active { transform: translateY(0); }

.btn--primary         { background: var(--blue-dark); color: var(--white); }
.btn--primary:hover   { background: var(--blue-mid); }
.btn--secondary       { background: transparent; color: var(--blue-dark); border: 2px solid var(--blue-dark); }
.btn--secondary:hover { background: var(--blue-dark); color: var(--white); }
.btn--whatsapp        { background: #25D366; color: var(--white); }
.btn--whatsapp:hover  { background: #1ebe5d; }
.btn--orange          { background: var(--orange); color: var(--white); }
.btn--orange:hover    { background: var(--orange-dark); }
.btn--white           { background: var(--white); color: var(--blue-dark); }
.btn--white:hover     { background: rgba(255,255,255,.9); }
.btn--hero-secondary  { background: rgba(255,255,255,.1); color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn--hero-secondary:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); opacity: 1; }

/* ── TOPBAR ── */
.topbar { background: var(--blue-dark); color: rgba(255,255,255,.85); font-size: .8rem; padding: .45rem 0; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar__item { display: flex; align-items: center; gap: .35rem; }
.topbar__link { display: flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.85); font-weight: 600; }
.topbar__link:hover { color: var(--yellow); opacity: 1; }

/* ── HEADER ── */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: var(--shadow-sm); padding: .5rem 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header__logo { display: flex; align-items: center; text-decoration: none; opacity: 1 !important; }
.logo-img { height: 68px; width: auto; object-fit: contain; }

.nav__list { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav__link { padding: .45rem .75rem; border-radius: 8px; font-weight: 700; font-size: .9rem; color: var(--text); transition: background var(--transition), color var(--transition); }
.nav__link:hover, .nav__link--active { background: var(--cream-dark); color: var(--blue-dark); opacity: 1; }
.nav__cta { padding: .5rem 1.1rem; font-size: .85rem; background: var(--orange); color: var(--white); }
.nav__cta:hover { background: var(--orange-dark); opacity: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: all var(--transition); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0e1a3d 0%, var(--blue-dark) 50%, #243a8a 100%);
  overflow: hidden; padding: 5rem 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero::after { content: '🐾'; position: absolute; right: -2rem; bottom: -2rem; font-size: 20rem; opacity: .04; line-height: 1; pointer-events: none; }
.hero__accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--orange)); }

.hero__inner { position: relative; z-index: 1; max-width: 700px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(244,130,10,.15); border: 1px solid rgba(244,130,10,.4);
  color: var(--yellow); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero__sub { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 2.25rem; max-width: 560px; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__trust { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.75); font-size: .85rem; }
.hero__trust-item strong { color: var(--white); }

/* ── STATS BAR ── */
.stats-bar { background: var(--orange); padding: 1.5rem 0; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item__number { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-item__label { font-size: .8rem; color: rgba(255,255,255,.85); font-weight: 600; margin-top: .2rem; }

section { padding: 5rem 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-dark  { background: var(--blue-dark); }

/* ── SERVIÇOS ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; margin-top: 3rem; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.75rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--yellow)); transform: scaleX(0); transition: transform var(--transition); transform-origin: left; }
.service-card:hover { border-color: var(--orange-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 68px; height: 68px; background: var(--cream-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 2rem; transition: background var(--transition); }
.service-card:hover .service-card__icon { background: var(--orange-light); }
.service-card h3 { color: var(--blue-dark); margin-bottom: .6rem; font-size: 1.15rem; }
.service-card p  { color: var(--text-light); font-size: .9rem; line-height: 1.6; margin-bottom: 1.25rem; }
.service-card__cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .85rem; color: var(--orange); }
.service-card__cta:hover { color: var(--orange-dark); opacity: 1; }

/* ── GALERIA ── */
.gallery-section { background: var(--cream-dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,46,107,.75) 0%, transparent 60%); opacity: 0; transition: opacity var(--transition); display: flex; align-items: flex-end; padding: 1rem; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: var(--white); font-size: .85rem; font-weight: 600; }
.gallery-empty { text-align: center; padding: 3rem; color: var(--text-light); background: var(--white); border-radius: var(--radius-lg); border: 2px dashed var(--blue-light); }
.gallery-empty p { margin-top: .5rem; font-size: .9rem; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); align-items: center; justify-content: center; padding: 1rem; }
.lightbox.active { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close { position: fixed; top: 1rem; right: 1.25rem; background: none; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer; line-height: 1; opacity: .8; transition: opacity var(--transition); }
.lightbox__close:hover { opacity: 1; }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: 1.5rem; padding: .75rem 1rem; border-radius: var(--radius); cursor: pointer; transition: background var(--transition); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.2); }

/* ── INSTAGRAM ── */
.instagram-section { background: linear-gradient(135deg, #833ab4, #fd1d1d, #f77737); color: var(--white); text-align: center; padding: 3.5rem 0; }
.instagram-section h2, .instagram-section p { color: var(--white); }
.instagram-section .section-label { color: rgba(255,255,255,.75); }
.instagram-section p { opacity: .9; margin-bottom: 1.75rem; }

/* ── DEPOIMENTOS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.review-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); position: relative; border-top: 3px solid var(--orange); }
.review-card::before { content: '"'; position: absolute; top: .75rem; right: 1.25rem; font-family: var(--font-display); font-size: 5rem; color: var(--blue-light); line-height: 1; opacity: .5; }
.review-stars { color: #F59E0B; font-size: 1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.review-text  { color: var(--text-light); font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--blue-dark); font-size: .9rem; flex-shrink: 0; }
.review-name   { font-weight: 700; font-size: .9rem; color: var(--text); }
.review-source { font-size: .75rem; color: var(--text-light); }
.review-badge  { display: inline-flex; align-items: center; gap: .25rem; background: #4285F4; color: var(--white); font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 50px; margin-top: .15rem; }

/* ── FAQ ── */
.faq-section { background: var(--cream-dark); }
.faq-list { max-width: 780px; margin: 3rem auto 0; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: color var(--transition); }
.faq-question:hover { color: var(--blue-dark); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--cream-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; transition: transform var(--transition), background var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange-light); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-light); font-size: .92rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CONTATO ── */
.contact-section { background: var(--blue-dark); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info p  { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: .85rem; }
.contact-item__icon { width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--yellow); }
.contact-item__text strong { display: block; color: var(--white); font-size: .85rem; margin-bottom: .1rem; }
.contact-item__text span, .contact-item__text a { color: rgba(255,255,255,.75); font-size: .9rem; display: block; }
.contact-item__text a:hover { color: var(--white); opacity: 1; }
.contact-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrapper iframe { display: block; width: 100%; height: 380px; border: none; }

/* ── SOBRE ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content .section-label, .about-content h2 { text-align: left; }
.about-content p { color: var(--text-light); margin-bottom: 1rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.highlight-item { background: var(--cream-dark); border-radius: var(--radius); padding: 1rem 1.15rem; border-left: 3px solid var(--orange); }
.highlight-item strong { display: block; color: var(--blue-dark); font-size: .9rem; }
.highlight-item span   { color: var(--text-light); font-size: .8rem; }
.about-visual { position: relative; }
.about-visual__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-visual__main img { width: 100%; height: 100%; object-fit: cover; }
.about-visual__badge { position: absolute; bottom: -1.5rem; left: -1.5rem; background: var(--orange); color: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-lg); text-align: center; min-width: 120px; }
.about-visual__badge strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.about-visual__badge span   { font-size: .75rem; opacity: .9; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 500; display: flex; align-items: center; gap: .6rem; background: #25D366; color: var(--white); padding: .85rem 1.25rem .85rem 1rem; border-radius: 50px; box-shadow: 0 4px 20px rgba(37,211,102,.45); font-weight: 700; font-size: .9rem; transition: transform var(--transition), box-shadow var(--transition); opacity: 1 !important; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 30px rgba(37,211,102,.55); opacity: 1 !important; }
.whatsapp-float__label { animation: pulse-label 2s ease infinite; }
@keyframes pulse-label { 0%,100%{opacity:1} 50%{opacity:.7} }

/* ── FOOTER ── */
.footer { background: #0e1a3d; color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.footer__logo { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.footer__logo img { height: 56px; width: auto; }
.footer__tagline { font-size: .9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .6rem; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); opacity: 1 !important; }
.social-btn:hover { transform: scale(1.12); opacity: 1 !important; }
.social-btn--ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: var(--white); }
.social-btn--fb { background: #1877F2; color: var(--white); }
.social-btn--tk { background: #111; color: var(--white); }
.footer__title { color: var(--white); font-family: var(--font-body); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__list { display: flex; flex-direction: column; gap: .6rem; }
.footer__list a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer__list a:hover { color: var(--yellow); opacity: 1; }
.footer__list--info li { display: flex; align-items: flex-start; gap: .6rem; color: rgba(255,255,255,.65); font-size: .88rem; }
.footer__list--info svg { flex-shrink: 0; margin-top: .15rem; color: var(--orange); }
.footer__list--info a { color: rgba(255,255,255,.65); }
.footer__list--info a:hover { color: var(--yellow); opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ── ANIMAÇÕES ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-visual__badge { bottom: -1rem; left: -.5rem; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--gray-light); padding: 1rem; box-shadow: var(--shadow-lg); }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; gap: .25rem; }
  .nav__link { display: block; }
  .nav-toggle { display: flex; }
  .topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
  .hero { min-height: 70vh; padding: 4rem 0; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-ctas { flex-direction: column; }
  .about-visual { display: none; }
  .about-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section { padding: 3rem 0; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}
