/* ===== SHARED CSS — Indusales Website ===== */
/* Usado por todas as páginas: index.html, pricing.html, contact.html, etc. */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a; background: #F8F9FB; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--indigo); color: var(--white); padding: 12px 24px;
  border-radius: 0 0 12px 12px; font-size: 14px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
*:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== AURA UX VARIABLES ===== */
:root {
  --indigo: #5550D6; --teal: #16C8C7; --periwinkle: #9087F5;
  --bg: #F8F9FB; --white: #ffffff;
  --slate-900: #0f172a; --slate-700: #334155; --slate-500: #64748b;
  --slate-400: #94a3b8; --slate-200: #e2e8f0; --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --radius-card: 32px; --radius-btn: 24px; --radius-pill: 9999px;
  --shadow-aura: 0 25px 50px -12px rgba(85, 80, 214, 0.1);
  --shadow-sm: 0 4px 20px rgba(85, 80, 214, 0.06);
  --shadow-card: 0 8px 30px rgba(85, 80, 214, 0.08);
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tag { font-size: 13px; font-weight: 500; color: var(--indigo); letter-spacing: 0.02em; }
.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.section-subtitle { font-size: 16px; color: var(--slate-500); max-width: 560px; line-height: 1.7; }
.pill-badge {
  display: inline-block; background: var(--indigo); color: var(--white);
  padding: 6px 20px; border-radius: var(--radius-pill); font-weight: 900; font-style: italic;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--slate-900); font-size: 14px; font-weight: 500;
  color: var(--slate-900); background: var(--white); transition: all 0.2s;
}
.btn-outline:hover { background: var(--slate-900); color: var(--white); }
.btn-outline:active { transform: scale(0.95); }
.btn-filled {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-pill);
  background: var(--indigo); color: var(--white);
  font-size: 14px; font-weight: 600; border: none; transition: all 0.2s;
}
.btn-filled:hover { background: #4540b8; }
.btn-filled:active { transform: scale(0.95); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.aura-card {
  background: var(--white); border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.04); box-shadow: var(--shadow-aura);
}
.grid-bg {
  background-image:
    linear-gradient(rgba(85,80,214,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,80,214,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== HEADER/NAV ===== */
.header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1200px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; z-index: 100;
}
.header-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--slate-900); }
.header-logo svg { width: 28px; height: 28px; }
.header-nav { display: flex; gap: 36px; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--slate-700); transition: color 0.2s; }
.header-nav a:hover { color: var(--indigo); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .signin { font-size: 14px; font-weight: 500; color: var(--slate-700); }
.header-actions .signup {
  font-size: 14px; font-weight: 500; padding: 10px 24px;
  border: 1.5px solid var(--slate-900); border-radius: var(--radius-pill);
  color: var(--slate-900); transition: all 0.2s;
}
.header-actions .signup:hover { background: var(--slate-900); color: var(--white); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--bg); }
.testimonials-header { text-align: center; margin-bottom: 48px; }
.testimonials-header .tag { margin-bottom: 12px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px; border-radius: 24px; position: relative; }
.testimonial-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.testimonial-card > p { font-size: 14px; color: var(--slate-500); line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; opacity: 0.7; }
.author-name { font-size: 14px; font-weight: 600; display: block; }
.author-handle { font-size: 12px; color: var(--slate-400); }
.social-icon { margin-left: auto; font-size: 18px; }
.testimonial-cta-card { overflow: hidden; }
.testimonial-cta-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(85,80,214,0.85);
  display: flex; align-items: center; justify-content: center; border-radius: 24px;
}

/* ===== CTA TRIAL ===== */
.cta-trial { padding: 80px 0; background: var(--bg); }
.cta-trial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-trial-text .tag { margin-bottom: 8px; }
.cta-trial-text .section-title { margin: 0 0 12px; }
.inline-form { display: flex; gap: 0; margin-bottom: 16px; }
.inline-form input {
  flex: 1; padding: 14px 24px; border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 14px; outline: none; background: var(--white);
}
.inline-form input:focus { border-color: var(--indigo); }
.inline-form .btn-filled { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; white-space: nowrap; }
.trust-badges { display: flex; gap: 24px; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-500); }
.badge-check { color: var(--teal); font-weight: 700; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 0; background: var(--white); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: var(--slate-500); margin-top: 16px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--slate-500); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-top: 1px solid var(--slate-100);
  font-size: 13px; color: var(--slate-400);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { font-size: 18px; transition: transform 0.2s; }
.footer-socials a:hover { transform: scale(1.15); }

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; background: var(--white); position: relative; overflow: hidden; }
.faq-section-header { text-align: center; margin-bottom: 48px; }
.faq-section-header .tag { margin-bottom: 12px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-100); padding: 24px 0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; font-size: 16px; font-weight: 600; color: var(--slate-900);
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 0; font-family: inherit;
}
.faq-question:active { transform: scale(0.99); }
.faq-chevron { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 200px; padding-top: 12px; }
.faq-answer p { font-size: 14px; color: var(--slate-500); line-height: 1.7; }
.faq-blur-circle {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--periwinkle); opacity: 0.06; filter: blur(80px);
  right: -100px; bottom: -100px; pointer-events: none;
}

/* ===== COOKIE BANNER LGPD ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 997;
  background: var(--slate-900); color: var(--white); padding: 16px 24px;
  display: none; align-items: center; justify-content: center; gap: 16px;
  font-size: 13px; line-height: 1.5;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { max-width: 600px; }
.cookie-banner a { color: var(--teal); text-decoration: underline; }
.cookie-banner button {
  background: var(--indigo); color: var(--white); border: none;
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background 0.2s;
}
.cookie-banner button:hover { background: #4540b8; }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; text-align: center; gap: 12px; padding: 20px 16px; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn { display: none; padding: 4px; color: var(--slate-700); }
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 998; opacity: 0; transition: opacity 0.3s;
}
.mobile-menu-overlay.open { display: block; opacity: 1; }
.mobile-menu {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
  background: var(--white); z-index: 999; padding: 24px;
  box-shadow: -8px 0 30px rgba(0,0,0,0.1);
  transition: right 0.3s ease; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--slate-100);
}
.mobile-menu-close { padding: 4px; color: var(--slate-500); }
.mobile-menu-close:hover { color: var(--slate-900); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 0; flex: 1; }
.mobile-menu-links a {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500;
  color: var(--slate-700); border-bottom: 1px solid var(--slate-50);
  transition: color 0.2s;
}
.mobile-menu-links a:hover { color: var(--indigo); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--slate-100); }

/* ===== SHARED RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header { padding: 12px 20px; }
  .header-actions .signin { display: none; }
  .header-actions .signup { display: none; }
  .mobile-menu-btn { display: block; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-trial-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-trial-text .section-subtitle { margin: 0 auto 20px; }
  .inline-form { flex-direction: column; gap: 12px; }
  .inline-form input { border-radius: var(--radius-pill); }
  .inline-form .btn-filled { border-radius: var(--radius-pill); justify-content: center; }
  .trust-badges { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }
  .section-subtitle { font-size: 15px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header { width: calc(100% - 24px); padding: 10px 16px; top: 8px; }
  .header-actions .signin { display: none; }
  .header-actions .signup { padding: 8px 16px; font-size: 13px; }
  .header-logo { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .trust-badges { flex-direction: column; gap: 8px; }
  .btn-outline, .btn-filled { width: 100%; justify-content: center; }
  .section-title { font-size: clamp(22px, 6vw, 32px); }
}
