/* ═══════════════════════════════════════════════════════════
   Guardian Pet Saúde — css/main.css
   Inter · #21252B (header) · #F29F05 (primary) · #F20574 (accent)
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary:        #F20574;
  --primary-dark:   #c90460;
  --primary-light:  #ffe0ef;
  --secondary:      #F29F05;
  --header-bg:      #F20574;
  --shadow-primary: 0 8px 32px rgba(242,5,116,.25);

  --dark:         #111827;
  --dark-2:       #1f2937;
  --text:         #111827;
  --text-soft:    #6B7280;
  --text-lighter: #9CA3AF;
  --bg:           #FFFFFF;
  --bg-alt:       #F9FAFB;
  --border:       #E5E7EB;

  --header-h:  72px;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --t:         all .28s ease;
  --max-w:     1200px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { font-size: 16px; scroll-behavior: smooth; }
body   { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img    { display: block; max-width: 100%; height: auto; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Container / Layout ──────────────────────────────────── */
.container   { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 28px; }
.section     { padding-block: 96px; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
section[id]  { scroll-margin-top: calc(var(--header-h) + 8px); }
.grid-2         { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.grid-2-reverse { grid-template-columns: 1fr 1.1fr; }

/* ── Section headers ─────────────────────────────────────── */
.section-header   { text-align: center; margin-bottom: 56px; }
.section-label    { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.section-title    { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 800; color: var(--secondary); line-height: 1.2; margin-bottom: 14px; }
.section-subtitle { font-size: .98rem; color: var(--text-soft); max-width: 580px; margin-inline: auto; line-height: 1.75; }
.section-label-dark    { display: inline-block; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.section-title-dark    { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.section-subtitle-dark { font-size: .98rem; color: rgba(255,255,255,.65); max-width: 580px; margin-inline: auto; line-height: 1.75; }

/* ── Scroll animation ────────────────────────────────────── */
.animate-in         { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.animate-in.visible { opacity: 1; transform: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 700; transition: var(--t); white-space: nowrap; }
.btn i { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-header { background: var(--primary); color: #fff; padding: 10px 20px; font-size: .82rem; font-weight: 700; border-radius: 50px; box-shadow: 0 2px 12px rgba(0,0,0,.18); transition: var(--t); }
.btn-header i { width: 15px; height: 15px; }
.btn-header:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-sm { padding: 11px 22px; font-size: .84rem; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 16px 36px; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; box-shadow: 0 6px 24px rgba(37,211,102,.4); transition: var(--t); }
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }

/* ── Header ──────────────────────────────────────────────── */
.header          { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: var(--header-bg); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.35); }
.nav      { display: flex; align-items: center; height: var(--header-h); }
.nav-logo { flex-shrink: 0; margin-right: auto; }
.nav-logo img { height: 52px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-right: 20px; }
.nav-link { font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 7px; transition: var(--t); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; margin-left: 12px; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero banner ─────────────────────────────────────────── */
.hero-banner     { width: 100%; line-height: 0; }
.hero-banner img { width: 100%; height: auto; display: block; }

/* ── Sobre section ───────────────────────────────────────── */
.sobre-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sobre-label   { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }
.sobre-title   { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--secondary); line-height: 1.15; margin-bottom: 20px; }
.sobre-text    { font-size: .97rem; color: var(--text-soft); line-height: 1.8; margin-bottom: 12px; }
.sobre-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ── Especialidades section ──────────────────────────────── */
.servicos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.servico-card  { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg); transition: var(--t); }
.servico-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.servico-icon  { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.servico-icon i { width: 22px; height: 22px; color: var(--primary-dark); }
.servico-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.servico-desc  { font-size: .86rem; color: var(--text-soft); line-height: 1.65; }

/* ── Planos section ──────────────────────────────────────── */
.planos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plano-card  { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); transition: var(--t); display: flex; flex-direction: column; }
.plano-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plano-header { padding: 28px 24px 20px; border-bottom: 1px solid var(--border); }
.plano-tipo   { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary-dark); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.plano-tipo i { width: 13px; height: 13px; }
.plano-nome   { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.plano-desc   { font-size: .83rem; color: var(--text-soft); line-height: 1.5; }
.plano-body   { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.plano-btn    { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 700; background: var(--primary); color: #fff; margin-top: auto; transition: var(--t); box-shadow: 0 4px 16px rgba(242,159,5,.3); }
.plano-btn i  { width: 16px; height: 16px; }
.plano-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Parceiros section ───────────────────────────────────── */
.parceiros { background: #21252B; padding-block: 80px; }
.parceiros-header { text-align: center; margin-bottom: 40px; }
.parceiros-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.parceiros-header p  { font-size: .92rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 6px; max-width: 640px; margin-inline: auto; }

/* Carousel */
.carousel          { position: relative; display: flex; align-items: center; gap: 12px; }
.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track    { display: flex; gap: 16px; transition: transform .4s ease; }
.carousel-slide    { flex: 0 0 calc(25% - 12px); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.08); }
.carousel-slide img { width: 100%; height: 180px; object-fit: cover; object-position: center; display: block; }
.carousel-btn      { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.6rem; line-height: 1; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: var(--t); }
.carousel-btn:hover { background: var(--primary-dark); transform: scale(1.08); }

/* ── Footer ──────────────────────────────────────────────── */
.footer         { background: #c90460; color: rgba(255,255,255,.85); }
.footer-content { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 52px; padding-block: 64px; }
.footer-logo    { height: 80px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; line-height: 1.65; margin-bottom: 18px; }
.footer-contato h4, .footer-nav h4 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-contato p   { display: flex; align-items: center; gap: 8px; font-size: .85rem; margin-bottom: 10px; }
.footer-contato i   { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.footer-contato a:hover { color: #fff; }
.footer-nav ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a   { font-size: .85rem; transition: var(--t); }
.footer-nav a:hover { color: #fff; padding-left: 6px; }
.footer-bottom  { border-top: 1px solid rgba(255,255,255,.2); padding-block: 20px; background: #a00350; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-credit  { color: rgba(255,255,255,.35) !important; }
.footer-credit strong { color: rgba(255,255,255,.55); }

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 22px rgba(37,211,102,.55); z-index: 999; transition: var(--t); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.65); }

/* ══ SEÇÕES ESPECÍFICAS DO SITE ══════════════════════════════ */

/* Planos subpage */
.planos-page-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.planos-page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.planos-page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.planos-page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.5) 0%, rgba(13,13,13,.85) 100%); }
.planos-page-hero-content { position: relative; z-index: 1; padding: 48px 0; }
.planos-page-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 10px; }
.planos-page-hero-content p { font-size: .97rem; color: rgba(255,255,255,.75); }
.page-title-bar { background: var(--header-bg); padding: 32px 0; }
.page-title-bar h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--primary); }
.page-title-bar p { font-size: .95rem; color: rgba(255,255,255,.65); margin-top: 6px; }

/* Plan cards on subpages */
.planos-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plano-detail-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plano-detail-header { padding: 24px 24px 18px; background: var(--primary-light); border-bottom: 1px solid rgba(0,0,0,.07); }
.plano-detail-header h2 { font-size: 1.3rem; font-weight: 800; color: var(--secondary); }
.plano-detail-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.plano-detail-note { font-size: .8rem; font-style: italic; color: var(--text-lighter); margin-bottom: 16px; }
.plano-detail-benefits { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-bottom: 20px; }
.plano-detail-benefits li { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--text-soft); line-height: 1.5; }
.plano-detail-benefits li i { flex-shrink: 0; width: 15px; height: 15px; color: var(--primary-dark); stroke-width: 2.5; margin-top: 2px; }
.plano-detail-opcionals { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; font-size: .82rem; color: var(--text-soft); }
.plano-detail-opcionals strong { color: var(--dark); font-weight: 700; }
.plano-detail-actions { display: flex; flex-direction: column; gap: 8px; }
.plano-detail-btn { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); font-size: .83rem; font-weight: 600; color: var(--dark); transition: var(--t); }
.plano-detail-btn:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); }
.plano-detail-btn i { width: 14px; height: 14px; }
.reembolso-info { background: #fff8e8; border: 1px solid #f0d875; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; }
.reembolso-info summary { font-size: .83rem; font-weight: 600; color: var(--dark); cursor: pointer; }
.reembolso-info p { font-size: .82rem; color: var(--text-soft); margin-top: 10px; line-height: 1.65; }
.reembolso-info strong { color: var(--dark); }
.parceiros-club { background: var(--primary-light); border: 1px solid rgba(242,159,5,.3); border-radius: var(--radius-sm); padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 6px; }

/* Contact info on subpages */
.contato-bar { background: var(--header-bg); padding: 28px 0; text-align: center; }
.contato-bar .container { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.contato-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.8); font-size: .9rem; }
.contato-item i { width: 16px; height: 16px; color: var(--primary); }
.contato-item a { color: inherit; transition: var(--t); }
.contato-item a:hover { color: #fff; }

/* ══ RESPONSIVO ═════════════════════════════════════════════ */
@media (max-width: 960px) {
  .grid-2, .grid-2-reverse { grid-template-columns: 1fr; gap: 44px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 36px; }
  .servicos-grid { grid-template-columns: 1fr 1fr; }
  .planos-grid { grid-template-columns: 1fr 1fr; }
  .planos-cards { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .carousel-slide { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 640px) {
  .section { padding-block: 60px; }
  .nav-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--header-bg); flex-direction: column; gap: 0; padding: 12px 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; padding: 12px 28px; border-radius: 0; font-size: .95rem; color: rgba(255,255,255,.85); }
  .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }
  .servicos-grid { grid-template-columns: 1fr; }
  .planos-grid { grid-template-columns: 1fr; }
  .carousel-slide { flex: 0 0 calc(100% - 0px); }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .contato-bar .container { flex-direction: column; gap: 16px; }
}
