/* ═══════════════════════════════════════════════
   shared.css — Estilos comuns ArqCen
   Usado por todas as subpáginas e política de privacidade
   ═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: only light;
  --blue: #1B3A6B;
  --blue-light: #2563EB;
  --purple: #7C3AED;
  --purple-mid: #9B2C85;
  --magenta: #9B2C85;
  --gray-100: #F3F4F8;
  --gray-200: #e5e7eb;
  --gray-500: #6B7A9F;
  --text: #1a1a2e;
  --white: #ffffff;
  --off-white: #F8FAFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.1; }

/* ── NAVEGAÇÃO ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px max(5%, calc((100% - 1400px) / 2));
  background: var(--off-white);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

nav.nav-scrolled {
  padding: 10px max(5%, calc((100% - 1400px) / 2));
  background: rgba(248, 250, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

nav.nav-scrolled .nav-logo-link img {
  height: 52px !important;
  transition: height 0.35s ease;
}

nav.nav-scrolled .nav-logo-link span[style*="2.50rem"] {
  font-size: 1.8rem !important;
  transition: font-size 0.35s ease;
}

nav.nav-scrolled .nav-logo-link span[style*="0.8rem"] {
  font-size: 0.65rem !important;
}

nav .nav-logo-link img,
nav .nav-logo-link span {
  transition: all 0.35s ease;
}

.nav-logo-link {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: #374151; text-decoration: none; font-size: 1rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--purple); }


.nav-btns { display: flex; gap: 0.75rem; }

.nav-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #983286; color: white;
  padding: 0.87rem 1.73rem; border-radius: 8px;
  font-size: 1.15rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.nav-cliente {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: white;
  padding: 0.87rem 1.73rem; border-radius: 8px;
  font-size: 1.15rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.nav-phone:hover, .nav-cliente:hover { opacity: 0.88; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: #fff;
  padding: 0.75rem 5% 0.75rem 10%;
  margin-top: 115px;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:last-child { color: var(--blue); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── HERO (subpáginas) ── */
.hero {
  padding: 80px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem; position: relative;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: #fff; margin-bottom: 1rem; position: relative;
}
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  max-width: 640px; margin: 0 auto 2rem; line-height: 1.75; position: relative;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white; padding: 1rem 2.5rem; border-radius: 8px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(124,58,237,0.4); transition: transform 0.2s;
}
.btn-hero:hover { transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 80px 5%; }

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--text); margin-bottom: 1rem;
}
.section-title em { font-style: normal; color: var(--purple); }
.section-desc {
  font-size: 1rem; color: var(--gray-500);
  line-height: 1.75; max-width: 640px; margin-bottom: 2rem;
}

/* ── INTRO GRID ── */
#intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-text p { font-size: 0.975rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 1rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--gray-500); }
.feature-list li i { color: var(--purple); margin-top: 2px; flex-shrink: 0; }

.benefits-card { background: linear-gradient(135deg, #0f172a, #1B3A6B); border-radius: 20px; padding: 2.5rem; color: white; }
.benefits-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; color: #93c5fd; }
.benefit-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.82); line-height: 1.65; }
.benefit-item i { color: #60a5fa; margin-top: 2px; flex-shrink: 0; }

/* ── CARDS GRID ── */
.func-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.func-card { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 2px 16px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; }
.func-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
.func-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--blue), #3b82f6); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; margin-bottom: 1rem; }
.func-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.func-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.65; }

/* ── PROCESSO STEPS ── */
.processo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.processo-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blue), #3b82f6); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; background: linear-gradient(135deg, var(--blue), #3b82f6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; color: white; margin: 0 auto 1rem; box-shadow: 0 0 0 6px white, 0 0 0 8px rgba(27,58,107,0.15); }
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.83rem; color: var(--gray-500); line-height: 1.65; }

/* ── LGPD CARDS ── */
.lgpd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.lgpd-card-item { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 2px 16px rgba(0,0,0,0.05); border-left: 4px solid var(--blue); }
.lgpd-card-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--blue); }
.lgpd-card-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.65; }

/* ── FAQ ── */
#faq { background: #fff; }
.faq-list { max-width: 800px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.faq-question { padding: 1.25rem 1.5rem; font-weight: 600; font-size: 0.975rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: white; border: none; width: 100%; text-align: left; color: var(--text); }
.faq-answer { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--gray-500); line-height: 1.75; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s; color: var(--purple); flex-shrink: 0; }

/* ── CTA FINAL ── */
#cta-final { padding: 80px 5%; text-align: center; }
#cta-final h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: white; margin-bottom: 1rem; }
#cta-final p { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-whats { display: inline-flex; align-items: center; gap: 0.75rem; background: #25D366; color: white; padding: 1rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform 0.2s; }
.btn-whats:hover { transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 1rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* ── WHATSAPP FLUTUANTE ── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ── FOOTER ── */
footer { background: #060E1F; padding: 60px 5% 30px; color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { line-height: 1.7; margin: 0.75rem 0 1.25rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn { width: 40px; height: 40px; background: transparent; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; font-size: 1.4rem; transition: opacity 0.2s, transform 0.2s; }
.social-btn:hover { opacity: 0.7; transform: translateY(-2px); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: white; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #A78BFA; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

/* ── MEDIA QUERIES ── */
@media (max-width: 1024px) {
  nav { padding: 20px 5%; }
  .breadcrumb { padding: 0.75rem 5%; margin-top: 100px; }
  .intro-grid { grid-template-columns: 1fr; }
  .func-grid, .lgpd-cards { grid-template-columns: 1fr 1fr; }
  .processo-steps { grid-template-columns: repeat(2, 1fr); }
  .processo-steps::before { display: none; }
}
@media (max-width: 1290px) {
  nav { padding: 0.75rem 4%; }
  .nav-links, .nav-btns { display: none; }
  .breadcrumb { margin-top: 100px; padding: 0.75rem 4%; }
}

@media (max-width: 768px) {
  .func-grid, .lgpd-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 60px 5%; }
}

/* ── 480 px — smartphones pequenos ── */
@media (max-width: 480px) {
  section { padding: 50px 4%; }
  .section-title { font-size: clamp(1.4rem, 6vw, 1.85rem); }
  .intro-section h1 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .processo-steps { grid-template-columns: 1fr; }
  .intro-visual { min-height: 240px !important; }
  .breadcrumb { font-size: 0.82rem; }
  .cta-final-btns { flex-direction: column; align-items: stretch; }
  .cta-final-btns a { text-align: center; justify-content: center; }
  .footer-col { min-width: unset; }
  .nav-logo-link span[style*="2.50rem"] { font-size: 1.9rem !important; }
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 6px; border-radius: 6px; transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--gray-100); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1290px) {
  .nav-hamburger { display: flex; }
  nav.nav-open { flex-wrap: wrap; padding-bottom: 1rem; }
  nav.nav-open .nav-links {
    display: flex !important; flex-direction: column;
    width: 100%; gap: 0; padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200); order: 3;
  }
  nav.nav-open .nav-links li a {
    display: block; padding: 0.65rem 0;
    border-bottom: 1px solid var(--gray-100); font-size: 1rem;
  }
  nav.nav-open .nav-btns {
    display: flex !important; flex-direction: column;
    width: 100%; order: 4; padding-top: 0.5rem; gap: 0.5rem;
  }
  nav.nav-open .nav-phone,
  nav.nav-open .nav-cliente { justify-content: center; }
}
