/* =====================================================================
   SELF PSICOLOGIA - identidade verde
   ===================================================================== */

:root {
  /* Escala de verdes da marca */
  --green-950: #072a24;
  --green-900: #0c3b32;
  --green-800: #114b3f;
  --green-700: #175d4d;
  --green-600: #1f7361;
  --green-500: #2a8f77;
  --green-400: #45a98f;
  --green-300: #7cc4ac;
  --green-200: #aeddce;
  --green-100: #d5ece3;
  --green-50:  #eef7f2;

  /* Neutros quentes */
  --bone:   #f4f1ea;
  --bone-2: #eae4d7;
  --sand:   #e2dccf;

  --ink:      #16221f;
  --ink-soft: #45544f;
  --muted:    #7a857f;
  --white:    #ffffff;

  --shadow-sm: 0 4px 16px rgba(7, 42, 36, 0.07);
  --shadow-md: 0 18px 46px rgba(7, 42, 36, 0.13);
  --shadow-lg: 0 34px 80px rgba(7, 42, 36, 0.2);

  --radius:    20px;
  --radius-sm: 13px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--green-50);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Ícones ---------- */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; color: var(--green-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); }
h1 em { font-style: italic; color: var(--green-400); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 16px;
}
.eyebrow .icon { color: var(--green-500); }
.on-dark .eyebrow, .eyebrow.light { color: var(--green-200); }
.on-dark .eyebrow .icon { color: var(--green-300); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.97rem;
  cursor: pointer; border: none; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn .icon { width: 1.05rem; height: 1.05rem; }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 12px 26px rgba(17, 75, 63, 0.32); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(17, 75, 63, 0.42); }
.btn-ghost { background: transparent; color: var(--green-800); border: 1.5px solid var(--green-200); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); transform: translateY(-3px); }
.btn-light { background: var(--white); color: var(--green-800); }
.btn-light:hover { background: var(--green-50); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 22px rgba(7, 42, 36, 0.08); padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { height: 48px; width: auto; transition: height .3s ease, filter .3s ease; }
.site-header.scrolled .brand-logo { height: 42px; }
.nav { display: flex; gap: 28px; margin-left: auto; margin-right: 28px; }
.nav a { font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--green-500); transition: width .25s ease; }
.nav a:hover { color: var(--green-700); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--green-700); }
.btn-header { padding: 10px 22px; }

/* Cabeçalho claro sobre hero escuro (enquanto não rolado) */
.site-header.over-hero:not(.scrolled) .nav a { color: rgba(255, 255, 255, 0.88); }
.site-header.over-hero:not(.scrolled) .nav a:hover,
.site-header.over-hero:not(.scrolled) .nav a.active { color: #fff; }
.site-header.over-hero:not(.scrolled) .nav a::after { background: #fff; }
.site-header.over-hero:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header.over-hero:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }
.site-header.over-hero:not(.scrolled) .btn-header { background: #fff; color: var(--green-800); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.site-header.over-hero:not(.scrolled) .btn-header:hover { background: var(--green-50); }

/* Menu mobile aberto: cabeçalho sólido e logo/hambúrguer escuros (consistente com o painel) */
.site-header.menu-open {
  background: rgba(244, 241, 234, 0.98);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 22px rgba(7, 42, 36, 0.08);
}
.site-header.over-hero.menu-open .brand-logo { filter: none; }
.site-header.over-hero.menu-open .nav-toggle span { background: var(--green-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; background: var(--bone); padding: 12px 24px 24px; box-shadow: var(--shadow-sm); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 4px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid rgba(7,42,36,.07); display: flex; align-items: center; gap: 8px; }
.mobile-menu a.active { color: var(--green-700); }
.mobile-menu .btn { margin-top: 14px; border-bottom: none; color: #fff; }
.mobile-menu .btn:hover { color: #fff; }

/* ---------- Page hero (interno) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 160px 0 70px;
  background:
    radial-gradient(1000px 480px at 82% -10%, var(--green-700), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--bone);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin-top: 16px; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--green-200); }
.page-hero .eyebrow .icon { color: var(--green-300); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--green-200); }
.hero-leaf { position: absolute; pointer-events: none; color: var(--green-600); opacity: .22; }
.hero-leaf.a { width: 150px; top: 20%; right: 8%; transform: rotate(-18deg); }
.hero-leaf.b { width: 90px; bottom: -12%; right: 28%; transform: rotate(24deg); opacity: .16; }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; overflow: hidden; padding: 165px 0 96px;
  background:
    radial-gradient(900px 520px at 88% 0%, var(--green-100), transparent 62%),
    radial-gradient(700px 460px at -8% 40%, var(--green-50), transparent 55%),
    var(--green-50);
}
.home-hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; position: relative; z-index: 2; }
.home-hero .lead { font-size: 1.17rem; max-width: 520px; margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; }
.hero-meta .num { font-family: var(--font-display); font-size: 2rem; color: var(--green-700); line-height: 1; }
.hero-meta small { color: var(--muted); font-size: .85rem; }

.hero-visual { position: relative; width: 100%; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 150px 150px 22px 22px;
  background:
    linear-gradient(165deg, rgba(12,59,50,.15), rgba(12,59,50,.02)),
    url("assets/espaco/sala-tranquilidade.jpg") center/cover,
    var(--green-500);
  box-shadow: var(--shadow-lg);
}
.hero-chip {
  position: absolute; bottom: 26px; left: -22px; background: var(--white);
  padding: 15px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero-chip .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; }
.hero-chip .ic .icon { width: 22px; height: 22px; }
.hero-chip strong { display: block; font-family: var(--font-display); color: var(--green-800); font-size: 1.02rem; }
.hero-chip span { font-size: .8rem; color: var(--muted); }
.home-hero .decor-leaf { position: absolute; color: var(--green-400); opacity: .12; pointer-events: none; z-index: 1; }
.home-hero .decor-leaf.a { width: 130px; top: 14%; left: 3%; transform: rotate(-20deg); }
.home-hero .decor-leaf.b { width: 90px; bottom: 8%; right: 46%; transform: rotate(30deg); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.green { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: var(--bone); }
.section.green h2, .section.green h3 { color: var(--white); }
.section.green p { color: rgba(255,255,255,.8); }
.section.mist { background: var(--green-50); }
.section.white { background: var(--white); }

.section-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-sub { font-size: 1.06rem; margin-top: 12px; }
.section-head .btn { margin-top: 24px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ---------- Feature/serviço cards ---------- */
.cards { display: grid; gap: 22px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); padding: 32px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(7,42,36,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.card-ico { width: 56px; height: 56px; border-radius: 15px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin-bottom: 18px; }
.card-ico .icon { width: 27px; height: 27px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .95rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--green-700); }
.card-link .icon { width: 1rem; height: 1rem; transition: transform .2s ease; }
.card:hover .card-link .icon { transform: translateX(4px); }

/* Cards sobre fundo verde */
.section.green .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.section.green .card h3 { color: var(--white); }
.section.green .card p { color: rgba(255,255,255,.75); }
.section.green .card-ico { background: rgba(255,255,255,.1); color: var(--green-200); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; padding: 36px 28px; border-radius: var(--radius); background: linear-gradient(170deg, var(--green-50), var(--white)); border: 1px solid var(--green-100); }
.step-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--green-300); display: block; margin-bottom: 6px; }
.step h3 { margin-bottom: 9px; }
.step p { font-size: .95rem; }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 13px; margin-top: 24px; }
.check-list li { position: relative; padding-left: 36px; color: var(--ink-soft); }
.check-list li .icon { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.section.green .check-list li { color: rgba(255,255,255,.85); }
.section.green .check-list li .icon { background: rgba(255,255,255,.14); color: var(--green-200); }

/* ---------- Foto com moldura ---------- */
.framed { position: relative; }
.framed .photo { width: 100%; border-radius: 22px; box-shadow: var(--shadow-md); background-size: cover; background-position: center; }
.framed .photo.tall { aspect-ratio: 5 / 6; border-radius: 22px 130px 22px 130px; }
.framed .photo.wide { aspect-ratio: 4 / 3; }
.framed .leaf-badge { position: absolute; bottom: -20px; right: -14px; width: 84px; color: var(--green-200); }
.framed .stat-badge { position: absolute; bottom: 24px; left: -24px; background: var(--white); padding: 16px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.framed .stat-badge strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--green-700); display: block; }
.framed .stat-badge span { font-size: .8rem; color: var(--muted); }

/* ---------- Equipe (corpo clínico) ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team.two { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
.member { display: block; color: inherit; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(7,42,36,.06); transition: transform .3s ease, box-shadow .3s ease; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member-photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--green-300), var(--green-600)); display: grid; place-items: center; position: relative; }
.member-photo.has-photo { background-size: cover; background-position: center top; background-repeat: no-repeat; }
/* Fotos locais (<img>) preenchem o quadrado sem esticar o container */
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-photo .initials { font-family: var(--font-display); font-size: 3rem; color: var(--white); opacity: .9; }
.tag-ap { background: var(--green-700); color: #fff; }
.member-body { padding: 24px; }
.member-body h3 { margin-bottom: 2px; }
.member-crp { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--green-600); text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.tag { font-size: .78rem; background: var(--green-50); color: var(--green-700); padding: 4px 11px; border-radius: 20px; }
.member-body p { font-size: .92rem; margin-bottom: 16px; }
.member-body .card-link { margin-top: 0; }

/* ---------- Convênios ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#convGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-cell {
  background: var(--white); border: 1px solid rgba(7,42,36,.07); border-radius: var(--radius-sm);
  aspect-ratio: 3 / 2; display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--green-800); font-family: var(--font-display); font-size: 1.05rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease;
}
.logo-cell:hover { transform: translateY(-4px); border-color: var(--green-200); }
.logo-cell small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.logo-cell img { max-width: 78%; max-height: 52px; width: auto; height: auto; object-fit: contain; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(7,42,36,.06); }
.info-card .badge-num { width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--font-display); display: grid; place-items: center; margin-bottom: 16px; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { font-size: .94rem; }

/* ---------- Accordion (FAQ) ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid rgba(7,42,36,.07); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-size: 1.08rem; color: var(--green-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .icon { color: var(--green-500); transition: transform .3s ease; flex: none; }
.faq-item.open .faq-q .icon { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 84px 0; background: linear-gradient(150deg, var(--green-800), var(--green-950)); color: var(--bone); text-align: center; }
.cta-band h2 { color: var(--white); max-width: 640px; margin: 0 auto 14px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .decor-leaf { position: absolute; color: var(--green-500); opacity: .16; pointer-events: none; }
.cta-band .decor-leaf.a { width: 160px; top: -20px; left: 6%; transform: rotate(20deg); }
.cta-band .decor-leaf.b { width: 120px; bottom: -30px; right: 8%; transform: rotate(-15deg); }

/* ---------- Contato ---------- */
.contact-list { display: grid; gap: 15px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > :not(.ci) { align-self: center; line-height: 1.5; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex: none; }
.contact-list a:hover { color: var(--green-700); }
.socials { display: flex; gap: 11px; margin-top: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: var(--white); display: grid; place-items: center; transition: transform .25s ease, background .25s ease; }
.socials a:hover { background: var(--green-900); transform: translateY(-4px); }
.footer-brand .socials a { background: rgba(255,255,255,.1); }
.footer-brand .socials a:hover { background: var(--green-500); }

.contact-form { background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--sand);
  background: var(--green-50); font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  transition: border .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-400); background: var(--white); }
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------- Galeria do espaço ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,42,36,.25), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3 / 5; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery-item.tall { grid-row: span 1; aspect-ratio: 3 / 4; } }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--green-900), var(--green-950)); color: var(--bone); padding: 68px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { height: 58px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.72); max-width: 300px; font-size: .93rem; margin-bottom: 18px; }
.footer-col h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 15px; }
.footer-col a, .footer-col span { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.72); margin-bottom: 11px; font-size: .92rem; transition: color .2s ease; line-height: 1.5; }
.footer-col a .icon, .footer-col span .icon { color: var(--green-300); margin-top: 3px; flex: none; }
.footer-col a:hover { color: var(--green-200); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-credit { text-align: center; padding: 14px 24px; font-size: .78rem; color: rgba(255,255,255,.4); background: rgba(0,0,0,.15); }
.footer-credit a { color: rgba(255,255,255,.7); font-weight: 500; text-decoration: none; transition: color .2s ease; }
.footer-credit a:hover { color: var(--green-300); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1f7361; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31, 115, 97, .5); animation: pulse 2.6s infinite; transition: transform .25s ease; }
.whatsapp-float .icon { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,115,97,.5); } 70% { box-shadow: 0 0 0 16px rgba(31,115,97,0); } 100% { box-shadow: 0 0 0 0 rgba(31,115,97,0); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Self Store (catálogo) ---------- */
/* Barra de confiança (entrega / pagamento / segurança) */
.store-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 30px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--green-50); border: 1px solid var(--green-100);
}
.trust-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--white); color: var(--green-600);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.trust-ico .icon { width: 21px; height: 21px; }
.trust-item strong { display: block; font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--green-900); }
.trust-item span { font-size: .84rem; color: var(--ink-soft); }

/* Toolbar: busca + ordenação + contador */
.store-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.store-search {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px;
  padding: 11px 18px; border-radius: 100px;
  background: var(--white); border: 1.5px solid var(--green-100);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.store-search:focus-within { border-color: var(--green-400); box-shadow: 0 0 0 4px var(--green-50); }
.store-search .icon { color: var(--green-500); width: 1.1rem; height: 1.1rem; }
.store-search input {
  border: none; outline: none; background: transparent; width: 100%;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
}
.store-search input::placeholder { color: var(--muted); }
.store-sort { position: relative; }
.store-sort select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 11px 42px 11px 18px; border-radius: 100px;
  background: var(--white); border: 1.5px solid var(--green-100);
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; color: var(--green-800);
  transition: border-color .2s ease;
}
.store-sort select:hover { border-color: var(--green-300); }
.store-sort-caret {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg);
  width: 1rem; height: 1rem; color: var(--green-600); pointer-events: none;
}
.store-count { font-size: .9rem; color: var(--muted); white-space: nowrap; margin-left: auto; }

.store-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .88rem; font-weight: 500;
  padding: 9px 16px; border-radius: 100px; cursor: pointer;
  background: var(--white); color: var(--ink-soft);
  border: 1.5px solid var(--green-100);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--green-300); color: var(--green-700); transform: translateY(-2px); }
.chip.active { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.chip-count {
  font-size: .74rem; font-weight: 600; line-height: 1;
  padding: 3px 7px; border-radius: 100px;
  background: var(--green-50); color: var(--green-600);
}
.chip.active .chip-count { background: rgba(255,255,255,.22); color: #fff; }

.store-empty { text-align: center; color: var(--muted); font-size: 1rem; padding: 40px 0; }

.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--green-100);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.product:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.product-media {
  position: relative; display: block; aspect-ratio: 1 / 1;
  background: var(--green-50); overflow: hidden;
}
/* Skeleton (shimmer) enquanto a imagem carrega da CDN */
.product-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--green-50) 30%, var(--green-100) 50%, var(--green-50) 70%);
  background-size: 200% 100%; animation: storeShimmer 1.3s ease-in-out infinite;
  transition: opacity .3s ease;
}
.product-media.is-loaded::before { opacity: 0; }
@keyframes storeShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.product-media img {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease, transform .5s ease;
}
.product-media.is-loaded img { opacity: 1; }
.product:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(244, 241, 234, .92); color: var(--green-700);
  backdrop-filter: blur(4px);
}
.product-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  background: var(--green-700); color: #fff;
  box-shadow: 0 6px 16px rgba(17, 75, 63, .34);
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.product-name {
  font-size: 1.02rem; line-height: 1.28; color: var(--green-900);
  margin-bottom: 16px; min-height: 2.5em;
}
.product-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; }
.product-price { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--green-700); }
.product-buy { width: 100%; padding: 11px 18px; font-size: .9rem; }
.product-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: .82rem; font-weight: 600; color: var(--green-600);
  padding: 4px 0; transition: color .2s ease;
}
.product-wa .icon { width: 1rem; height: 1rem; }
.product-wa:hover { color: var(--green-800); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { width: 100%; max-width: 420px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-2 .framed { max-width: 480px; margin: 0 auto; width: 100%; }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .cards.c3, .steps, .team, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .store-trust { grid-template-columns: 1fr; gap: 12px; }
  .logo-grid, #convGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 66px 0; }
  .home-hero { padding: 132px 0 64px; }
  .page-hero { padding: 130px 0 56px; }
  .cards.c4, .cards.c3, .cards.c2, .steps, .team, .team.two, .info-cards { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .store-search { flex: 1 1 100%; order: -1; }
  .store-sort select { width: 100%; }
  .store-sort { flex: 1; }
  /* Filtros: faixa deslizável horizontal (sangra até as bordas da tela) */
  .store-filters {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    gap: 8px; margin: 0 -24px 26px; padding: 2px 24px 10px;
    scrollbar-width: none;
  }
  .store-filters::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; scroll-snap-align: start; padding: 8px 15px; }
  .product-body { padding: 14px 14px 16px; }
  .product-name { font-size: .92rem; min-height: 0; margin-bottom: 12px; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-price { text-align: center; }
  .product-buy { padding: 10px 14px; font-size: .85rem; }
  .product-wa { font-size: .78rem; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #convGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .socials-contato { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .btn { width: 100%; }
  .hero-actions, .cta-band .btn-group { flex-direction: column; }
  .framed .stat-badge, .hero-chip { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
