/* CF236 Static Site — Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #2862fc;
  --primary-rgb: 40,98,252;
  --primary-hover: #1e50d4;
  --secondary: #5b21f0;
  --navy: #002a74;
  --navy-rgb: 0,42,116;
  --foreground: #002a74;
  --muted-fg: #5f6d82;
  --border: #e5e8ed;
  --bg: #ffffff;
  --muted-bg: #f8f9fb;
  --accent-bg: #f0f4ff;
  --radius: 1rem;
  --shadow-card: 0 4px 20px -2px rgba(var(--primary-rgb),0.08);
  --shadow-card-hover: 0 8px 30px -4px rgba(var(--primary-rgb),0.15);
  --shadow-button: 0 4px 14px 0 rgba(var(--primary-rgb),0.35);
  --gradient-primary: linear-gradient(135deg, #2862fc 0%, #5b21f0 100%);
  --gradient-hero: linear-gradient(135deg, #002a74 0%, #1a4db3 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--foreground);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.section-container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:640px){ .section-container { padding: 0 1.5rem; } }
@media(min-width:1024px){ .section-container { padding: 0 2rem; } }

/* Buttons */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-weight: 600; color: #fff; border-radius: 0.75rem;
  background: var(--gradient-primary); box-shadow: var(--shadow-button);
  border: none; cursor: pointer; font-size: 0.95rem; transition: all 0.2s;
  font-family: 'Montserrat', sans-serif; text-decoration: none;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(var(--primary-rgb),0.45); }

.btn-cta-xl { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; font-weight: 600; color: var(--foreground); border-radius: 0.75rem;
  background: transparent; border: 2px solid var(--border); cursor: pointer;
  font-size: 0.9rem; transition: all 0.2s; font-family: 'Montserrat', sans-serif; text-decoration: none;
}
.btn-outline:hover { border-color: rgba(var(--primary-rgb),0.3); background: var(--accent-bg); }

/* Card */
.card-premium {
  background: #fff; border-radius: 1rem; border: 1px solid rgba(229,232,237,0.5);
  box-shadow: var(--shadow-card); transition: all 0.3s;
}
.card-premium:hover { border-color: rgba(var(--primary-rgb),0.2); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

/* Badges */
.badge-primary { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; border-radius: 9999px; background: rgba(var(--primary-rgb),0.1); color: var(--primary); }
.badge-secondary { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; border-radius: 9999px; background: rgba(91,33,240,0.1); color: var(--secondary); }

/* Topbar */
.topbar { background: var(--gradient-hero); color: #fff; padding: 0.5rem 0; font-size: 0.875rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(229,232,237,0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media(min-width:1024px){ .header-inner { height: 5rem; } }
.nav-link { font-weight: 500; color: rgba(0,42,116,0.8); transition: color 0.2s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }

.desktop-nav { display: none; align-items: center; gap: 2rem; }
@media(min-width:1024px){ .desktop-nav { display: flex; } }
.desktop-cta { display: none; }
@media(min-width:1024px){ .desktop-cta { display: flex; align-items: center; gap: 1rem; } }
.mobile-toggle { display: block; padding: 0.5rem; background: none; border: none; cursor: pointer; color: var(--foreground); }
@media(min-width:1024px){ .mobile-toggle { display: none; } }
.mobile-nav { display: none; padding: 1rem 0; border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; flex-direction: column; gap: 1rem; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding: 2rem 0; text-align: center; }
.footer a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer a:hover { color: #fff; }

/* Text Gradient */
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Glass */
.glass { background: rgba(255,255,255,0.8); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.2); }

/* Section backgrounds */
.bg-muted { background: var(--muted-bg); }
.bg-accent { background: var(--accent-bg); }
.bg-navy { background: var(--gradient-hero); color: #fff; }

/* Grid helpers */
.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:768px){ .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px){ .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Flex helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }

/* Text */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-muted { color: var(--muted-fg); }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-poppins { font-family: 'Poppins', sans-serif; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.75; }
.line-through { text-decoration: line-through; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-auto { margin-top: auto; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

/* Max width */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Rounded */
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Responsive hide */
.hidden { display: none; }
@media(min-width:1024px){ .lg-block { display: block; } .lg-flex { display: flex; } .lg-hidden { display: none; } .lg-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:768px){ .md-block { display: block; } .md-grid-2 { grid-template-columns: repeat(2, 1fr); } .md-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Prose */
.prose { max-width: 65ch; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--foreground); }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--foreground); }
.prose p { color: var(--muted-fg); line-height: 2; margin-bottom: 1.25rem; }
.prose ul, .prose ol { color: var(--muted-fg); margin: 1rem 0; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.8; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.75rem 1rem; text-align: left; font-size: 0.875rem; }
.prose th { background: var(--muted-bg); font-weight: 600; color: var(--foreground); }
.prose td { color: var(--muted-fg); }
.prose strong { color: var(--foreground); font-weight: 600; }
.prose a { color: var(--primary); }
.prose a:hover { text-decoration: underline; }
.prose em { font-style: italic; }
.prose blockquote { border-left: 4px solid rgba(var(--primary-rgb),0.6); padding: 1rem 1.5rem; background: rgba(var(--primary-rgb),0.03); border-radius: 0 0.5rem 0.5rem 0; margin: 1.5rem 0; }

/* Accordion */
.accordion-item { overflow: hidden; }
.accordion-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.25rem 0; background: none; border: none; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--foreground); text-align: left; transition: color 0.2s; }
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger .chevron { width: 20px; height: 20px; transition: transform 0.3s; flex-shrink: 0; }
.accordion-trigger.open .chevron { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--muted-fg); line-height: 1.75; white-space: pre-line; }
.accordion-content.open { max-height: 2000px; padding-bottom: 1.25rem; }

/* Help strip cards - same as index.css */
.help-strip { padding: 1.6rem 1.5rem 1.8rem; background: #f5f7fa; }
.help-strip-container { max-width: 1120px; margin: 0 auto; }
.help-strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
@media(max-width:960px){ .help-strip-grid { grid-template-columns: 1fr; } }
.help-strip-card { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.95rem 1.1rem; background: #fff; border-radius: 20px; border: 1px solid rgba(191,219,254,0.9); box-shadow: 0 14px 32px rgba(15,23,42,0.12); transition: all 0.22s; }
.help-strip-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,0.16); border-color: rgba(59,130,246,0.7); }
.help-strip-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; background: radial-gradient(circle at top left, #fff, #dbeafe); border: 1px solid #bfdbfe; box-shadow: 0 8px 18px rgba(59,130,246,0.25); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.help-strip-content h3 { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 700; color: #003399; }
.help-strip-content p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #111827; }

/* Mentoria illustration */
.help-illus-section { padding: 1.5rem 0; display: flex; justify-content: center; }
.help-illus-art { position: relative; width: min(380px, 100%); display: flex; align-items: center; justify-content: center; }
.help-illus-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,51,153,0.25), transparent 65%); filter: blur(5px); opacity: 0.85; transform: translateY(10px); pointer-events: none; }
.help-laptop { position: relative; width: 100%; animation: float-main 6s ease-in-out infinite; }
.help-laptop-screen { background: #fff; border-radius: 16px 16px 12px 12px; box-shadow: 0 14px 35px rgba(15,23,42,0.18); border: 1px solid rgba(148,163,184,0.7); overflow: hidden; }
.help-laptop-topbar { display: flex; align-items: center; gap: 0.25rem; padding: 0.35rem 0.7rem; background: linear-gradient(90deg, #e5e7eb, #f3f4f6); border-bottom: 1px solid rgba(209,213,219,0.9); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-red { background: #f87171; }
.dot-yellow { background: #facc15; }
.dot-green { background: #34d399; }
.help-screen-content { padding: 0; background: #000; }
.help-screen-bg { width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.help-call-controls { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0.7rem; border-top: 1px solid rgba(209,213,219,0.9); background: #f9fafb; }
.help-pill { font-size: 0.68rem; padding: 0.18rem 0.8rem; border-radius: 999px; border: 1px solid rgba(248,113,113,0.5); background: rgba(248,113,113,0.08); color: #b91c1c; font-weight: 600; }
.help-buttons { display: flex; align-items: center; gap: 0.3rem; }
.ctrl-btn { width: 22px; height: 22px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; border: none; }
.ctrl-btn.mic, .ctrl-btn.cam { background: #fff; border: 1px solid rgba(209,213,219,0.9); color: #111827; }
.ctrl-btn.end { background: #ef4444; color: #fff; }
.help-laptop-base { margin: 0.1rem auto 0; height: 14px; width: 68%; border-radius: 0 0 999px 999px; background: linear-gradient(90deg, #e5e7eb, #d1d5db); box-shadow: 0 8px 18px rgba(15,23,42,0.35); transform: translateY(-3px); }
.help-float { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px rgba(15,23,42,0.16); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #001f66; animation: float-icon 7s ease-in-out infinite; }
.help-float-1 { top: 2%; right: 8%; animation-delay: 0s; }
.help-float-2 { top: 64%; right: -4%; animation-delay: 0.8s; }
.help-float-3 { top: 7%; left: 8%; animation-delay: 1.3s; }
.help-float-4 { bottom: -10%; left: -2%; animation-delay: 2s; }
.help-float-5 { bottom: 14%; right: 18%; animation-delay: 2.7s; }

@keyframes float-main { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float-icon { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-8px); opacity: 0.9; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }

/* Misc */
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.w-full { width: 100%; }
.h-auto { height: auto; }
.object-cover { object-fit: cover; }
.aspect-video { aspect-ratio: 16/9; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sticky { position: sticky; }
.top-24 { top: 6rem; }

/* SVG icons inline */
.icon { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: middle; }

/* === Cookie Banner LGPD === */
#cookie-banner{
  position:fixed; left:1rem; right:1rem; bottom:1rem;
  max-width:42rem; margin:0 auto;
  background:#fff; border:1px solid #e5e7eb;
  border-radius:1rem; padding:1.25rem 1.5rem;
  box-shadow:0 25px 60px -20px rgba(0,42,116,.35);
  z-index:9999;
  opacity:0; transform:translateY(20px);
  transition:opacity .3s, transform .3s;
  font-family:'Montserrat',sans-serif;
}
#cookie-banner.show{ opacity:1; transform:translateY(0); }
#cookie-banner.hide{ opacity:0; transform:translateY(20px); }
.cookie-banner-inner{
  display:flex; gap:1.25rem; align-items:center; flex-wrap:wrap;
}
.cookie-banner-text{ flex:1; min-width:18rem; }
.cookie-banner-text strong{
  display:block; font-family:'Poppins',sans-serif;
  font-size:.95rem; color:#1a2236; margin-bottom:.35rem;
}
.cookie-banner-text p{
  font-size:.85rem; line-height:1.5; color:#6b7280; margin:0 0 .35rem;
}
.cookie-banner-text a{
  font-size:.8rem; color:#002a74; font-weight:600; text-decoration:none;
}
.cookie-banner-text a:hover{ text-decoration:underline; }
.cookie-banner-actions{
  display:flex; gap:.5rem; align-items:center;
}
.cookie-btn{
  padding:.55rem 1.1rem; border-radius:.5rem;
  font-family:inherit; font-size:.85rem; font-weight:600;
  cursor:pointer; border:1px solid transparent;
  transition:all .15s;
}
.cookie-btn-decline{
  background:#fff; color:#6b7280; border-color:#e5e7eb;
}
.cookie-btn-decline:hover{ border-color:#1a2236; color:#1a2236; }
.cookie-btn-accept{
  background:linear-gradient(135deg,#002a74,#0057ff); color:#fff;
}
.cookie-btn-accept:hover{ transform:translateY(-1px); box-shadow:0 8px 20px -8px rgba(0,87,255,.5); }
@media (max-width:600px){
  #cookie-banner{ left:.5rem; right:.5rem; padding:1rem; }
  .cookie-banner-actions{ width:100%; }
  .cookie-btn{ flex:1; }
}
