/* ============================================================
   VARIÁVEIS E RESET
============================================================ */
:root {
  --roxo:        #3B3178;
  --roxo-escuro: #2a2358;
  --azul:        #4A8FCC;
  --azul-claro:  #6BAED6;
  --azul-pale:   #EAF3FB;
  --branco:      #FFFFFF;
  --cinza-claro: #F5F7FA;
  --cinza-medio: #E8ECF0;
  --cinza-texto: #555F6E;
  --sombra:      0 4px 24px rgba(59, 49, 120, 0.12);
  --raio:        10px;
  --transicao:   0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; color: #333; background: var(--branco); overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   CABEÇALHO
============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(59,49,120,0.10);
  transition: box-shadow var(--transicao);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.logo-link img { height: 56px; width: auto; }

nav ul { display: flex; gap: 28px; align-items: center; }

nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--roxo);
  transition: color var(--transicao);
  position: relative;
  padding-bottom: 2px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--azul);
  transition: width var(--transicao);
}

nav a:hover, nav a.active { color: var(--azul); }
nav a:hover::after, nav a.active::after { width: 100%; }

.btn-header {
  background: var(--roxo) !important;
  color: var(--branco) !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transicao), transform var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-header::after { display: none !important; }
.btn-header:hover  { background: var(--azul) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--roxo);
  border-radius: 2px;
  transition: var(--transicao);
}

/* ============================================================
   BANNER INTERNO (páginas que não são o início)
============================================================ */
.page-banner {
  background: linear-gradient(120deg, var(--roxo-escuro), var(--roxo) 60%, var(--azul));
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../Fachada-limpa.jpg') center/cover no-repeat;
  opacity: 0.10;
}

.page-banner .container { position: relative; }

.page-banner .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.page-banner .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 6px; }

.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--branco);
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   SEÇÕES COMUNS
============================================================ */
section { padding: 88px 0; }

.section-tag {
  display: inline-block;
  background: var(--azul-pale);
  color: var(--azul);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--roxo);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: var(--cinza-texto);
  line-height: 1.7;
  max-width: 560px;
}

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ============================================================
   CARDS DE ESPECIALIDADES
============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--branco);
  border: 1px solid var(--cinza-medio);
  border-radius: 16px;
  padding: 30px 26px;
  transition: var(--transicao);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--roxo), var(--azul));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transicao);
}

.card:hover { border-color: transparent; box-shadow: 0 8px 32px rgba(59,49,120,0.14); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--azul-pale);
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: var(--transicao);
}

.card:hover .card-icon { background: var(--roxo); color: var(--branco); }

.card h3 { font-size: 1.04rem; font-weight: 700; color: var(--roxo); margin-bottom: 9px; }
.card p   { font-size: 0.87rem; color: var(--cinza-texto); line-height: 1.65; }

/* ============================================================
   BOTÕES
============================================================ */
.btn-primary {
  background: var(--roxo);
  color: var(--branco);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: var(--azul); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--roxo);
  color: var(--roxo);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover { background: var(--roxo); color: var(--branco); }

.btn-primary-light {
  background: var(--branco);
  color: var(--roxo);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-primary-light:hover { background: var(--azul-claro); color: var(--branco); transform: translateY(-2px); }

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--branco);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transicao);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--branco); }

/* ============================================================
   RODAPÉ
============================================================ */
footer {
  background: var(--roxo-escuro);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand img {
  height: 52px;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.65); }

.footer-dados { margin-top: 24px; font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.9; }
.footer-dados strong { color: rgba(255,255,255,0.75); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--azul-claro);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color var(--transicao); }
.footer-col ul li a:hover { color: var(--branco); }

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

/* ============================================================
   WHATSAPP FLUTUANTE
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 9999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transicao), box-shadow var(--transicao);
  animation: pulse-wpp 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
  animation: none;
}

.whatsapp-float i { font-size: 1.8rem; color: var(--branco); }

.whatsapp-label {
  position: absolute;
  right: 70px;
  background: var(--branco);
  color: #333;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transicao);
}

.whatsapp-float:hover .whatsapp-label { opacity: 1; }

@keyframes pulse-wpp {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 960px) {
  .cards-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  section         { padding: 60px 0; }
  .cards-grid     { grid-template-columns: 1fr; }
  nav ul          { display: none; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: var(--branco); padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 16px; }
  nav ul.open     { display: flex; }
  .hamburger      { display: flex; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float i { font-size: 1.5rem; }
}
