/* ================================================================
   CRÏA — Componentes Extra  |  Website v2 multi-page
   ================================================================ */

/* ================================================================
   PAGE HERO — secções de cabeçalho das páginas internas
   ================================================================ */
.page-hero {
  padding-top: calc(64px + var(--sp-12));
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(ellipse at center,
    rgba(124,58,237,0.15) 0%,
    rgba(37,99,255,0.07) 45%,
    transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.35; }
.breadcrumb-current { color: var(--violet); font-weight: 600; }

.page-hero-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-2);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}
.page-hero-title em { font-style: normal; color: var(--violet); }
.page-hero-sub {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}
.page-hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ================================================================
   STATS STRIP — prova social
   ================================================================ */
.stats-section {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--near-black);
  padding: var(--sp-4);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1;
}
.stat-number em { font-style: normal; color: var(--violet); }
.stat-label {
  font-size: var(--text-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats-strip { grid-template-columns: 1fr; } }

/* ================================================================
   SERVICE CARD — link wrapper + seta CTA
   ================================================================ */
.service-card-link { text-decoration: none; color: inherit; display: block; }
.service-cta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--violet);
  transition: gap 0.2s;
}
.service-card:hover .service-cta-row { gap: 0.85rem; }
.service-cta-row svg { transition: transform 0.2s; flex-shrink: 0; }
.service-card:hover .service-cta-row svg { transform: translateX(4px); }

/* ================================================================
   PACKAGES GRID — pacotes comerciais
   ================================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: start;
}
.package-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.package-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.package-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, rgba(37,99,255,0.07) 0%, var(--surface-1) 60%);
}
.package-card.featured:hover { border-color: var(--blue); }
.package-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.3rem 1rem;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}
.package-tier {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-2);
}
.package-icon { font-size: 1.6rem; line-height: 1; }
.package-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
}
.package-tagline {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--sp-4);
  line-height: 1.65;
  min-height: 3em;
}
.package-pricing {
  padding: var(--sp-3) 0;
  margin-bottom: var(--sp-4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-setup {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.pricing-setup strong { color: var(--white); font-weight: 700; }
.pricing-monthly {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}
.pricing-monthly span {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}
.pricing-monthly .pricing-period { margin-left: 0.15rem; }

/* Nota de exclusão dentro do pacote (ex.: "Sem gestão de redes sociais") */
.package-note {
  font-size: var(--text-xs);
  color: var(--muted);
  font-style: italic;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

/* Nota de renovação semestral abaixo da grelha de pacotes */
.packages-renewal {
  text-align: center;
  margin-top: var(--sp-6);
  font-size: var(--text-sm);
  color: var(--white);
  max-width: 640px;
  margin-inline: auto;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius);
  background: rgba(124,58,237,0.06);
}
.package-includes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--sp-5);
  flex: 1;
}
.package-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.45;
}
.pi-check { color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }
.package-cta {
  display: block;
  text-align: center;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: var(--text-sm);
  transition: all 0.2s;
  margin-top: auto;
  text-decoration: none;
}
.pkg-primary { background: var(--blue); color: var(--white) !important; }
.pkg-primary:hover { background: #1a4fd6; transform: translateY(-1px); }
.pkg-ghost { border: 1px solid var(--border); color: var(--muted) !important; }
.pkg-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--white) !important; }
@media (max-width: 960px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* ================================================================
   EXTENDED SERVICES GRID — 10 serviços adicionais
   ================================================================ */
.ext-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
.ext-service-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  transition: border-color 0.2s, background 0.2s;
}
.ext-service-card:hover {
  border-color: rgba(37,99,255,0.4);
  background: var(--surface-2);
}
.ext-service-icon { font-size: 1.5rem; display: block; margin-bottom: var(--sp-2); }
.ext-service-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.ext-service-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}
.ext-service-value {
  font-size: var(--text-xs);
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
  display: block;
}
@media (max-width: 900px) { .ext-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .ext-services-grid { grid-template-columns: 1fr; } }

/* ================================================================
   CTA BANNER — conversão final de cada página
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(37,99,255,0.10), rgba(124,58,237,0.10));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, var(--text-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--sp-3);
}
.cta-banner-title em { font-style: normal; color: var(--violet); }
.cta-banner-sub {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto var(--sp-6);
  line-height: 1.65;
}
.cta-banner-actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 540px) { .cta-banner { padding: var(--sp-8) var(--sp-4); } }

/* ================================================================
   PILLAR FULL CARDS — serviços (página de serviços)
   ================================================================ */
.pillar-full-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  scroll-margin-top: 80px;
  transition: border-color 0.25s;
}
.pillar-full-card:hover { border-color: rgba(124,58,237,0.35); }
.pillar-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-2);
}
.pillar-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}
.pillar-desc {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
  max-width: 520px;
}
.pillar-services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
.pillar-service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem var(--sp-3);
  background: var(--surface-2);
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.pillar-service-item:hover { background: rgba(124,58,237,0.12); color: var(--white); }
.pillar-service-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}
@media (max-width: 640px) { .pillar-services-list { grid-template-columns: 1fr; } }

/* ================================================================
   PROCESSO — cards de passo completo
   ================================================================ */
.processo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.processo-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color 0.25s, transform 0.2s;
}
.processo-card:hover { border-color: rgba(124,58,237,0.35); transform: translateY(-3px); }
.processo-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(124,58,237,0.2);
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.processo-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.processo-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 900px) { .processo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .processo-grid { grid-template-columns: 1fr; } }

/* ================================================================
   HIGHLIGHT QUOTE — citação / frase de impacto
   ================================================================ */
.highlight-quote {
  padding: var(--sp-6) var(--sp-8);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37,99,255,0.07), rgba(124,58,237,0.07));
  border: 1px solid rgba(124,58,237,0.2);
  text-align: center;
  margin: var(--sp-8) 0;
}
.highlight-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}
.highlight-quote em { font-style: normal; color: var(--violet); }

/* ================================================================
   TEAM CARDS — equipa
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.team-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color 0.2s;
}
.team-card:hover { border-color: rgba(124,58,237,0.35); }
.team-role {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-1);
}
.team-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.team-bio {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.75;
}
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ================================================================
   VALUES GRID — DNA da CRÏA
   ================================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.value-card {
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--violet);
  background: var(--surface-1);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.2s;
}
.value-card:hover { background: var(--surface-2); }
.value-key {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.value-desc { font-size: var(--text-sm); color: var(--muted); line-height: 1.65; }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

/* ================================================================
   CONTACT GRID — info + formulário
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--sp-12);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--sp-1);
}
.contact-info-value { font-size: var(--text-base); color: var(--white); font-weight: 500; }
.contact-info-value a { color: var(--white); transition: color 0.2s; }
.contact-info-value a:hover { color: var(--violet); }
.contact-locations { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-locations span { font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ================================================================
   PORTFOLIO PLACEHOLDER
   ================================================================ */
.portfolio-placeholder {
  background: var(--surface-1);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.portfolio-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(124,58,237,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.portfolio-placeholder-icon { font-size: 3rem; display: block; margin-bottom: var(--sp-4); opacity: 0.5; }
.portfolio-placeholder h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--sp-2);
}
.portfolio-placeholder p {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto var(--sp-6);
  line-height: 1.65;
}

/* ================================================================
   SECTION BG ALTERNATE
   ================================================================ */
.section-alt { background: var(--surface-1); }

/* ================================================================
   LANGUAGE SWITCHER - botoes de idioma
   ================================================================ */
.lang-switcher {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-left: var(--sp-2);
}

.lang-link {
  padding: 0.45rem 0.65rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  background: var(--surface-1);
}

.lang-link:hover {
  background: var(--surface-2);
  color: var(--white);
}

.lang-link.active {
  background: var(--blue);
  color: var(--white);
}

/* Ajuste para mobile (menu hamburger) */
@media (max-width: 820px) {
  .lang-switcher {
    position: absolute;
    top: 64px;
    right: var(--sp-2);
    z-index: 300;
    background: var(--near-black);
    border: 1px solid var(--border);
  }
}
