:root{
  --text: #333333;
  --accent: #00BCD4;
  --primary: #f6c27a;
  --cta: #FFC107;
  --dark-gray: #111216;
  --light-gray: #f6f7f9;
  --white: #ffffff;
}

/* Base reset and small helpers */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100% !important;width:100% !important;overflow-x:hidden !important;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;color:var(--text);-webkit-font-smoothing:antialiased}

/* Scroll container / page layout */
.scroll-container{height:100vh;width:100vw;overflow-y:scroll;scroll-snap-type:y mandatory;scroll-behavior:smooth;padding-top:var(--header-height);scroll-padding-top:var(--header-height)}
.scroll-container::-webkit-scrollbar{display:none}

/* Disable scroll snap when section has internal scrolling */
.scroll-container.no-snap { scroll-snap-type: none; }

/* Desktop: seções ocupam 100vh */
.full-section{min-height:calc(100vh - var(--header-height));width:100vw;scroll-snap-align:start;display:flex;align-items:flex-start;justify-content:center;position:relative;padding-top:0;box-sizing:border-box}

/* Mobile/Tablet: seções com altura automática e scroll horizontal */
@media (max-width: 1024px) {
  .scroll-container{scroll-snap-type:y mandatory}
  .full-section{min-height:calc(100vh - var(--header-height));width:100vw;display:flex;flex-direction:column;position:relative;padding-top:0;box-sizing:border-box}
}
.section-header{text-align:center;margin-bottom:3.5rem}
.section-title{font-size:2.2rem;font-weight:700;line-height:1.18}

/* Header / navigation */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,0.96);backdrop-filter:blur(8px);padding:12px 24px;border-bottom:1px solid rgba(0,0,0,0.04);height:var(--header-height)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1200px;margin:0 auto}
.brand .logo{
  width:44px;
  height:44px;
  display:block;
  object-fit:cover; /* crop to fill the box, keeping center */
  object-position:center center;
  border-radius:8px; /* subtle rounding to match design */
}
.nav-list{list-style:none;display:flex;gap:20px;align-items:center}
.nav-list a{color:var(--text);text-decoration:none;font-weight:500}
.nav-list a:hover,.nav-list a:focus{color:var(--accent);outline:none}
.actions .btn-primary{background:var(--cta);color:var(--dark-gray);text-decoration:none;padding:10px 16px}

/* Floating chat widget (global) */
.chat-widget{position:fixed;right:24px;bottom:24px;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--dark-gray);box-shadow:0 8px 24px rgba(0,0,0,0.2);cursor:pointer;z-index:999}
.chat-widget svg path{stroke:var(--accent)}

/* Small utility helpers that are safe to keep global */
.btn-secondary{display:inline-block;background:var(--accent);color:#fff;padding:12px 20px;border-radius:8px;text-decoration:none}
.btn-outline{display:inline-block;border:2px solid var(--accent);color:var(--accent);padding:10px 18px;border-radius:8px;text-decoration:none}

/* Responsive adjustments kept minimal; section-specific responsive lives in module CSS */
@media (max-width:1024px){
  .section-title{font-size:1.9rem}
  .scroll-container{scroll-padding-top:var(--header-offset)}
  .full-section{padding-top:var(--header-offset)}
}
@media (max-width:768px){
  .nav-list{display:none}
  .section-title{font-size:1.6rem}
  .site-header{height:var(--header-height)}
  .scroll-container{scroll-padding-top:var(--header-offset)}
  .full-section{padding-top:var(--header-offset)}
}

/* Hide the nav list and favor mobile nav up to 1366px width to ensure hamburger appears
   without changing other small-screen layout rules. */
@media (max-width:1366px){
  .nav-list{display:none}
}
@media (max-width:480px){
  .header-inner{gap:12px}
  .actions .btn-primary{padding:8px 12px;font-size:0.9rem}
  .site-header{height:var(--header-height)}
  .scroll-container{scroll-padding-top:var(--header-offset)}
  .full-section{padding-top:var(--header-offset)}
  
  /* Garantir altura completa em dispositivos móveis */
  .full-section{min-height:100vh !important}
  .scroll-container{min-height:100vh !important}
}
.btn-outline:hover {
  background: var(--accent);
  color: white;
}

/* Section 5: CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark-gray), #1a1a1a);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: white;
}

.cta-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: #ccc;
  line-height: 1.5;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #444;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-gray);
  color: white;
}

.btn-cta-final {
  background: var(--cta);
  color: var(--dark-gray);
  border: none;
  padding: 18px 36px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-cta-final:hover {
  background: #FFB300;
  transform: translateY(-2px);
}

.cta-guarantee {
  color: #999;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* Floating chat widget */
.chat-widget{
  position:fixed;
  right:24px;
  bottom:24px;
  width:56px;
  height:56px;
  border-radius:50%;
  border:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--dark-gray);
  box-shadow:0 8px 24px rgba(47,47,47,0.2);
  cursor:pointer;
  transition: transform 0.3s ease;
  z-index: 999;
}

.chat-widget:hover {
  transform: scale(1.05);
}

.chat-widget svg{display:block}
.chat-widget svg path{stroke:var(--accent)}

/* Responsive Design */
@media(max-width: 1024px){
  .authority-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
}

@media(max-width: 768px){
  .nav-list{display:none}
  .header-inner{padding-right:8px}
  .brand .logo{height:28px}
  .site-header{height:52px}
  
  .scroll-container{scroll-padding-top:12px}
  .full-section{padding-top:12px}
  
  /* slide-inner layout is defined per-module for predictable behavior */
  .slide-visual{margin-top:18px}
  .slide-title{font-size:1.8rem}

  .section-title {
    font-size: 1.6rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
  
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px){
  .header-inner {
    gap: 12px;
  }

  .site-header{height:52px}
  .scroll-container{scroll-padding-top:12px}
  .full-section{padding-top:12px}
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .slide {
    padding: 24px 16px;
  }
  
  .solution-panel,
  .github-block,
  .expertise-block {
    padding: 1.5rem;
  }
  
  /* .section-inner is controlled in static/css/site/site_shared.css */

}