:root {
  --blue: #8FB6D9;
  --gold: #D9AE79;
  --coral: #E8846D;
  --purple: #6A63A6;
  --navy: #2E3350;
  --cream: #FBF5F0;
  --ink: #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background-color: var(--cream);
  caret-color: transparent;
}

input,
textarea,
[contenteditable]:not([contenteditable="false"]) {
  caret-color: auto;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 245, 240, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 51, 80, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-mark {
  position: relative;
  display: block;
  overflow: hidden;
  width: 44px;
  height: 36px;
  flex-shrink: 0;
}

.brand-logo-image {
  position: absolute;
  top: -11px;
  left: -4.5px;
  display: block;
  width: 55px;
  height: 55px;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
}

@media (max-width: 420px) {
  .brand-logo-mark {
    width: 38px;
    height: 32px;
  }

  .brand-logo-image {
    top: -10px;
    left: -4px;
    width: 49px;
    height: 49px;
  }
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--coral), var(--purple));
  transition: left 0.3s ease, right 0.3s ease;
}

.main-nav a:hover {
  color: var(--coral);
  text-shadow: 0 0 12px rgba(232, 132, 109, 0.4);
}

.main-nav a:hover::after {
  left: 0;
  right: 0;
}

/* Buttons */

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.btn:hover::before {
  left: 125%;
}

.btn-primary {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(232, 132, 109, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px rgba(232, 132, 109, 0.45),
    0 0 30px rgba(217, 174, 121, 0.35),
    0 0 46px rgba(106, 99, 166, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(46, 51, 80, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 0 26px rgba(106, 99, 166, 0.25);
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero-blob {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(143, 182, 217, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(217, 174, 121, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(232, 132, 109, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 20% 70%, rgba(106, 99, 166, 0.4) 0%, transparent 45%);
  filter: blur(10px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(106, 99, 166, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--navy);
}

.hero-title .highlight {
  background: linear-gradient(180deg, transparent 62%, rgba(232, 132, 109, 0.4) 62%);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(46, 51, 80, 0.75);
  max-width: 560px;
  margin: 0 0 32px;
}

.value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.value-pills li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  border: 1px solid rgba(46, 51, 80, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(46, 51, 80, 0.06);
}

.pill-icon {
  font-size: 1rem;
}

.vc-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pill-icon.vc-icon {
  width: 26px;
  height: 26px;
}

.vc-icon img,
.vc-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (hover: hover) {
  .value-pills li:hover .vc-icon-listen {
    transform: scale(1.05);
  }

  .value-pills li:hover .vc-icon-brain {
    transform: translateY(-1px) scale(1.04);
  }

  .value-pills li:hover .vc-icon-clarity {
    transform: rotate(3deg) scale(1.05);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Team */

.team {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  color: var(--ink);
  background-image: url('assets/equipe.png');
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
}

.team-preview {
  padding: 120px 0;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 51, 80, 0.55) 0%, rgba(46, 51, 80, 0.82) 70%);
}

.team-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.team .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

/* Precisa vencer .section-title, declarada mais abaixo com a mesma especificidade. */
.team .team-title,
.team-title {
  color: var(--ink);
}

.team-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 0 44px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.team-role-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.team-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 14px;
}

.team-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Scroll reveal — see scripts.js */

/* Escopado em .js: sem JavaScript o conteúdo continua visível em vez de ficar em opacity 0. */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.team-grid .team-card:nth-child(2) {
  transition-delay: 0.12s;
}

/* Location */

.location {
  padding: 80px 0 100px;
}

.location-preview,
.contact-preview {
  max-width: 720px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 16px;
  color: var(--navy);
}

.location-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(46, 51, 80, 0.75);
  margin: 0 0 24px;
}

.location-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(46, 51, 80, 0.15);
  border: 1px solid rgba(46, 51, 80, 0.08);
}

.location-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Glow cards — cursor-tracking shine (see scripts.js) */

.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.55), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.glow-card:hover::after {
  opacity: 1;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.footer-tagline {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--coral), var(--purple));
  transition: left 0.3s ease, right 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(217, 174, 121, 0.5);
}

.footer-nav a:hover::after {
  left: 0;
  right: 0;
}

.footer-address {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 20px 16px 0;
  margin: 0;
}

/* Crédito do desenvolvedor — deliberadamente menos destacado que o copyright. */

.footer-credit {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.34);
  padding: 6px 16px 20px;
  margin: 0;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer-credit svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Sobre page */

.page-hero {
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero .hero-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.page-hero .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: 56px 0;
}

.content-section.alt {
  background: var(--ink);
}

.section-intro {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-intro .section-title {
  margin-bottom: 12px;
}

.section-intro p {
  color: rgba(46, 51, 80, 0.75);
  line-height: 1.7;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--ink);
  border: 1px solid rgba(46, 51, 80, 0.1);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(46, 51, 80, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(46, 51, 80, 0.12);
}

.feature-icon {
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(46, 51, 80, 0.72);
  margin: 0;
}

.cta-band {
  text-align: center;
  padding: 72px 24px;
  margin: 0 24px 64px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--blue), var(--purple));
  color: var(--ink);
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.cta-band p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-primary {
  background: var(--ink);
  color: var(--purple);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.cta-band .btn-primary:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

/* Responsive */

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .btn-header {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--cream);
    border-bottom: 1px solid rgba(46, 51, 80, 0.08);
    box-shadow: 0 18px 30px rgba(46, 51, 80, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(46, 51, 80, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 18px;
    text-align: center;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .location-map iframe {
    height: 280px;
  }

  .feature-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team {
    background-attachment: scroll;
    padding: 96px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    margin: 0 16px 48px;
    padding: 56px 20px;
  }
}

/* Contact */

.contact {
  padding: 0 0 100px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(46, 51, 80, 0.75);
  margin: 0 0 24px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  border: 1px solid rgba(46, 51, 80, 0.1);
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(46, 51, 80, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(46, 51, 80, 0.12);
}

.contact-phone-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}

.contact-phone-text small {
  display: block;
  font-size: 0.85rem;
  color: rgba(46, 51, 80, 0.65);
  margin-top: 2px;
}

.contact-hours {
  background: var(--ink);
  border: 1px solid rgba(46, 51, 80, 0.1);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 4px 14px rgba(46, 51, 80, 0.06);
}

.contact-hours h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 16px;
  color: var(--navy);
}

.contact-detail-text,
.contact-note p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(46, 51, 80, 0.75);
  margin: 0;
}

.contact-hours .btn {
  margin-top: 20px;
}

.contact-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(46, 51, 80, 0.08);
}

.contact-note h3 {
  margin-bottom: 8px;
}

/* Canais oficiais — página Contato */

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-channel-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(46, 51, 80, 0.08);
  border-radius: 16px;
  background: rgba(143, 182, 217, 0.16);
  color: var(--purple);
}

.contact-channel-icon svg {
  width: 25px;
  height: 25px;
  transition: transform 0.28s ease;
}

.contact-channel-instagram .contact-channel-icon {
  background: rgba(232, 132, 109, 0.12);
  color: var(--coral);
}

.contact-channel-phone .contact-channel-icon {
  background: rgba(217, 174, 121, 0.16);
  color: var(--navy);
}

.contact-channel-card .contact-channel-value {
  margin-bottom: 22px;
  color: rgba(46, 51, 80, 0.72);
  overflow-wrap: anywhere;
}

.contact-channel-card .btn {
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
}

.contact-secondary {
  max-width: 760px;
  margin: 32px auto 0;
}

@media (hover: hover) {
  .contact-channel-whatsapp:hover .contact-channel-icon svg {
    transform: translateY(-2px);
  }

  .contact-channel-instagram:hover .contact-channel-icon svg {
    transform: scale(1.07);
  }

  .contact-channel-phone:hover .contact-channel-icon svg {
    transform: rotate(-7deg);
  }
}

@media (max-width: 900px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-channel-icon svg,
  .contact-channel-card:hover .contact-channel-icon svg {
    transform: none;
    transition: none;
  }
}

.hours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(46, 51, 80, 0.08);
}

.hours-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list li span:first-child {
  color: rgba(46, 51, 80, 0.75);
}

.hours-list li span:last-child {
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 720px) {
  .contact {
    padding: 0 0 72px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.team-actions {
  margin-top: 36px;
}

.contact-more {
  margin: 24px 0 0;
}

/* Menu mobile */

/*
  Declarado mobile-first: este bloco vem depois da media query de 720px no arquivo,
  então esconder por padrão aqui anularia a exibição no mobile. O ocultamento fica
  na media query de min-width mais abaixo.
*/
.nav-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(46, 51, 80, 0.15);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--purple);
  background: rgba(106, 99, 166, 0.08);
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 721px) {
  .nav-toggle,
  .nav-cta {
    display: none;
  }
}

.main-nav a[aria-current="page"] {
  color: var(--purple);
}

.main-nav a[aria-current="page"]::after {
  left: 0;
  right: 0;
}

/* Páginas internas — cabeçalho */

.page-hero-center {
  text-align: center;
}

.page-hero-center .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* Selo aberto / fechado */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.is-open {
  color: #1f7a4d;
  background: rgba(31, 122, 77, 0.1);
  border-color: rgba(31, 122, 77, 0.25);
}

.status-badge.is-closed {
  color: #9a4436;
  background: rgba(154, 68, 54, 0.1);
  border-color: rgba(154, 68, 54, 0.22);
}

/* Bloco editorial (texto + destaque lateral) */

.editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.editorial-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.editorial-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(46, 51, 80, 0.75);
  margin: 0 0 18px;
}

.editorial-text p:last-child {
  margin-bottom: 0;
}

/* Equipe — avatar, tags e modal */

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  background: linear-gradient(140deg, var(--blue), var(--purple));
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* A foto cobre o círculo inteiro; o gradiente só aparece se ela falhar, atrás das iniciais. */
.avatar-photo-frame {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: rgba(143, 182, 217, 0.85);
  background: linear-gradient(140deg, var(--blue), var(--purple));
  box-shadow: 0 4px 12px rgba(106, 99, 166, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 250%;
  height: 250%;
  max-width: none;
  object-fit: cover;
}

/* Sem isto o display:block acima venceria o [hidden] do fallback (ver scripts.js). */
.avatar-photo[hidden] {
  display: none;
}

.avatar-photo-karolina {
  transform: translate(-51%, -28%);
}

.avatar-photo-magno {
  transform: translate(-52.5%, -35.5%);
}

.modal-avatar-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: rgba(143, 182, 217, 0.85);
  background: linear-gradient(140deg, var(--blue), var(--purple));
  box-shadow: 0 4px 12px rgba(106, 99, 166, 0.14);
}

@media (hover: hover) {
  .avatar-photo-frame:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(106, 99, 166, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-photo-frame,
  .avatar-photo-frame:hover {
    transform: none;
    transition: none;
  }
}

.team-page .team-card {
  background: var(--ink);
  border: 1px solid rgba(46, 51, 80, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 14px rgba(46, 51, 80, 0.06);
  display: flex;
  flex-direction: column;
}

.team-page .team-card:hover {
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(46, 51, 80, 0.12);
}

.team-page .team-card h3,
.team-page .team-bio {
  color: var(--navy);
}

.team-page .team-bio {
  color: rgba(46, 51, 80, 0.72);
}

.team-page .team-role {
  color: rgba(46, 51, 80, 0.6);
}

.team-page .team-role-tag {
  background: rgba(106, 99, 166, 0.12);
  color: var(--purple);
}

.team-card-actions {
  margin-top: auto;
  padding-top: 20px;
}

.team-guidance .btn {
  margin-top: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(143, 182, 217, 0.18);
  color: var(--navy);
  border: 1px solid rgba(46, 51, 80, 0.08);
}

.pro-modal {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--ink);
  color: var(--navy);
  box-shadow: 0 30px 80px rgba(46, 51, 80, 0.32);
}

.pro-modal::backdrop {
  background: rgba(46, 51, 80, 0.55);
}

.pro-modal[open] {
  animation: modal-in 0.28s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pro-modal-inner {
  position: relative;
  padding: 34px 32px 32px;
}

.pro-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(46, 51, 80, 0.15);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.pro-modal-close:hover {
  border-color: var(--coral);
  background: rgba(232, 132, 109, 0.1);
}

.pro-modal h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.pro-modal .team-role {
  color: rgba(46, 51, 80, 0.6);
  margin: 0 0 20px;
}

.pro-modal h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 22px 0 12px;
}

.pro-modal p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(46, 51, 80, 0.75);
  margin: 0;
}

/* Localização — cartões de informação */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  display: flex;
  flex-direction: column;
}

.info-card .btn {
  align-self: flex-start;
  margin-top: 18px;
}

.map-wide .location-map iframe {
  height: 440px;
}

/* Título de seção lido por leitores de tela, sem impacto visual. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Foco visível para navegação por teclado */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .editorial {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .map-wide .location-map iframe {
    height: 300px;
  }

  .pro-modal-inner {
    padding: 30px 22px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
  Troca de ícones — microinteração.

  O ícone de destino fica sobreposto ao original (inset: 0), então a troca não
  desloca nada no layout. O easing com overshoot dá o leve "bounce" pedido.
*/

.icon-swap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-swap-from,
.icon-swap-to {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity 0.26s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vc-icon .icon-swap-from,
.vc-icon .icon-swap-to {
  width: 100%;
  height: 100%;
}

.icon-swap-to {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.8) rotate(-14deg);
}

/* Só em ponteiro real: evita hover "grudado" em telas de toque. */
@media (hover: hover) {
  .icon-swap-host:hover .icon-swap-from,
  .icon-swap-host:focus-visible .icon-swap-from {
    opacity: 0;
    transform: scale(0.72) rotate(12deg);
  }

  .icon-swap-host:hover .icon-swap-to,
  .icon-swap-host:focus-visible .icon-swap-to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* No toque, o ícone dá uma "espiada" única ao entrar na tela (ver scripts.js). */
.icon-swap.is-peeking .icon-swap-from {
  opacity: 0;
  transform: scale(0.72) rotate(12deg);
}

.icon-swap.is-peeking .icon-swap-to {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  .vc-icon,
  .value-pills li:hover .vc-icon {
    transform: none;
    transition: none;
  }

  .icon-swap-to {
    display: none;
  }

  .icon-swap-host:hover .icon-swap-from,
  .icon-swap-host:focus-visible .icon-swap-from,
  .icon-swap.is-peeking .icon-swap-from {
    opacity: 1;
    transform: none;
  }
}

/* Transições temáticas entre páginas */

.js body {
  animation: page-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-header,
main,
.site-footer {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.is-page-leaving .site-header,
.is-page-leaving main,
.is-page-leaving .site-footer {
  opacity: 0;
  transform: translateY(-8px);
}

.page-transition {
  --page-transition-duration: 540ms;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 38% 36%, rgba(143, 182, 217, 0.28), transparent 34%),
    radial-gradient(circle at 64% 62%, rgba(106, 99, 166, 0.2), transparent 36%),
    rgba(251, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.14s ease, visibility 0.14s ease;
}

.page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-transition-stage {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 22px 54px rgba(46, 51, 80, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: scale(0.94);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition.is-active .page-transition-stage {
  transform: scale(1);
}

.page-transition-motif {
  position: relative;
  width: 72px;
  height: 72px;
}

.transition-symbol {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.35rem;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(46, 51, 80, 0.16));
  will-change: opacity, transform;
}

.transition-symbol-image {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.transition-symbol-image[hidden] {
  display: none;
}

.transition-symbol-to {
  opacity: 0;
}

.transition-accent,
.transition-route-line {
  position: absolute;
  display: block;
  pointer-events: none;
}

/* Sobre: cérebro se converte em coração com pequenos brilhos. */
.page-transition.is-active .transition-sobre .transition-symbol-from {
  animation: symbol-soft-out var(--page-transition-duration) ease both;
}

.page-transition.is-active .transition-sobre .transition-symbol-to {
  animation: symbol-heart-in var(--page-transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.transition-sobre .transition-accent::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.transition-sobre .transition-accent-1 {
  top: 5px;
  right: 4px;
}

.transition-sobre .transition-accent-2 {
  bottom: 7px;
  left: 5px;
}

.transition-sobre .transition-accent-3 {
  top: 18px;
  left: 0;
}

.page-transition.is-active .transition-sobre .transition-accent {
  animation: transition-sparkle var(--page-transition-duration) ease both;
}

.page-transition.is-active .transition-sobre .transition-accent-2 {
  animation-delay: 70ms;
}

.page-transition.is-active .transition-sobre .transition-accent-3 {
  animation-delay: 120ms;
}

/* Equipe: uma pessoa dá lugar a um grupo conectado. */
.page-transition.is-active .transition-equipe .transition-symbol-from {
  animation: person-to-group-out var(--page-transition-duration) ease both;
}

.page-transition.is-active .transition-equipe .transition-symbol-to {
  animation: person-to-group-in var(--page-transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.transition-equipe .transition-accent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(143, 182, 217, 0.16);
  opacity: 0;
}

.transition-equipe .transition-accent-1 {
  top: 8px;
  left: 7px;
}

.transition-equipe .transition-accent-2 {
  top: 8px;
  right: 7px;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 132, 109, 0.14);
}

.transition-equipe .transition-accent-3 {
  bottom: 5px;
  left: 32px;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(106, 99, 166, 0.14);
}

.page-transition.is-active .transition-equipe .transition-accent {
  animation: connection-dot var(--page-transition-duration) ease both;
}

/* Localização: pin com queda curta e rota desenhada. */
.page-transition.is-active .transition-localizacao .transition-symbol-from {
  animation: location-pin-drop var(--page-transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.transition-localizacao .transition-symbol-to {
  display: none;
}

.transition-localizacao .transition-route-line {
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
}

.page-transition.is-active .transition-localizacao .transition-route-line {
  animation: route-draw var(--page-transition-duration) ease both;
}

/* Contato: balão com bounce curto que se converte em telefone. */
.page-transition.is-active .transition-contato .transition-symbol-from {
  animation: contact-bubble-out var(--page-transition-duration) ease both;
}

.page-transition.is-active .transition-contato .transition-symbol-to {
  animation: contact-phone-in var(--page-transition-duration) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.transition-contato .transition-accent {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
}

.transition-contato .transition-accent-1 {
  top: 6px;
  right: 10px;
}

.transition-contato .transition-accent-2 {
  right: 1px;
  top: 22px;
  background: var(--coral);
}

.transition-contato .transition-accent-3 {
  right: 7px;
  bottom: 9px;
  background: var(--purple);
}

.page-transition.is-active .transition-contato .transition-accent {
  animation: message-dot var(--page-transition-duration) ease both;
}

@keyframes symbol-soft-out {
  0%, 34% { opacity: 1; transform: scale(0.88); }
  48% { opacity: 1; transform: scale(1.06); }
  70%, 100% { opacity: 0; transform: scale(0.68) rotate(-8deg); }
}

@keyframes symbol-heart-in {
  0%, 48% { opacity: 0; transform: scale(0.56) rotate(10deg); }
  72% { opacity: 1; transform: scale(1.08) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes transition-sparkle {
  0%, 36% { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  62% { opacity: 1; transform: scale(1.2) rotate(8deg); }
  100% { opacity: 0.78; transform: scale(1) rotate(0); }
}

@keyframes person-to-group-out {
  0%, 32% { opacity: 1; transform: translateX(0) scale(0.9); }
  62%, 100% { opacity: 0; transform: translateX(-15px) scale(0.72); }
}

@keyframes person-to-group-in {
  0%, 42% { opacity: 0; transform: translateX(16px) scale(0.66); }
  72% { opacity: 1; transform: translateX(0) scale(1.08); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes connection-dot {
  0%, 28% { opacity: 0; transform: translate(0, 10px) scale(0.5); }
  62% { opacity: 0.9; transform: translate(0, 0) scale(1.12); }
  100% { opacity: 0.72; transform: translate(0, 0) scale(1); }
}

@keyframes location-pin-drop {
  0% { opacity: 0; transform: translateY(-22px) scale(0.8); }
  48% { opacity: 1; transform: translateY(3px) scale(1.04); }
  66% { transform: translateY(-3px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes route-draw {
  0%, 42% { opacity: 0; transform: scaleX(0); }
  58% { opacity: 1; }
  100% { opacity: 1; transform: scaleX(1); }
}

@keyframes contact-bubble-out {
  0%, 28% { opacity: 1; transform: translateY(0) scale(0.9); }
  42% { transform: translateY(-5px) scale(1.06); }
  68%, 100% { opacity: 0; transform: translateY(4px) scale(0.72); }
}

@keyframes contact-phone-in {
  0%, 48% { opacity: 0; transform: translateY(8px) scale(0.62) rotate(-10deg); }
  76% { opacity: 1; transform: translateY(-2px) scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes message-dot {
  0%, 42% { opacity: 0; transform: translateX(-7px) scale(0.4); }
  68% { opacity: 1; transform: translateX(0) scale(1.15); }
  100% { opacity: 0.8; transform: translateX(0) scale(1); }
}

/* Em páginas separadas, o underline entra suavemente no novo item ativo. */
.main-nav a[aria-current="page"]::after {
  transform-origin: left center;
  animation: active-underline-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes active-underline-in {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 720px) {
  .page-transition {
    --page-transition-duration: 420ms;
  }

  .page-transition-stage {
    width: 94px;
    height: 94px;
    border-radius: 28px;
  }

  .page-transition-motif {
    width: 62px;
    height: 62px;
  }

  .transition-symbol {
    font-size: 2rem;
  }

  .transition-symbol-image {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js body {
    animation: page-enter-reduced 0.12s ease both !important;
  }

  .is-page-leaving .site-header,
  .is-page-leaving main,
  .is-page-leaving .site-footer {
    transform: none;
  }

  .page-transition {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity 0.1s ease, visibility 0.1s ease !important;
  }

  .page-transition-stage,
  .page-transition.is-active .page-transition-stage {
    transform: none;
    transition: none;
  }

  .page-transition.is-active .page-transition-motif .transition-symbol-from,
  .page-transition.is-active .page-transition-motif .transition-accent,
  .page-transition.is-active .page-transition-motif .transition-route-line {
    opacity: 0;
    animation: none !important;
    transform: none;
  }

  .page-transition.is-active .page-transition-motif .transition-symbol-to {
    opacity: 1;
    animation: none !important;
    transform: none;
  }

  .page-transition.is-active .transition-localizacao .transition-symbol-from {
    opacity: 1;
  }

  .main-nav a[aria-current="page"]::after {
    animation: active-underline-fade 0.12s ease both !important;
  }
}

@keyframes page-enter-reduced {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes active-underline-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
