/* Fundação visual compartilhada da Neotec */
:root {
  --color-primary: #00c853;
  --color-primary-hover: #00a845;
  --color-accent: #d4af37;
  --color-background: #f2f6f3;
  --color-surface: #fff;
  --color-surface-elevated: #f7faf8;
  --color-text: #17251d;
  --color-text-muted: #526159;
  --color-border: #d7e3da;
  --color-focus: #e4ba43;
  --space-section: clamp(2.5rem, 5vw, 5rem);
  --radius-card: 1rem;
  --shadow-card: 0 12px 36px rgba(8, 35, 20, .08);
  --content-width: 1400px;
  --transition-ui: 180ms ease;
}
html { scroll-behavior: smooth; }
body { color: var(--color-text); overflow-x: clip; }
img { max-width: 100%; }
a, button, input, select, textarea { transition: color var(--transition-ui), background-color var(--transition-ui), border-color var(--transition-ui), box-shadow var(--transition-ui); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 2000; padding: .75rem 1rem; background: #fff; color: #062b16; border-radius: .5rem; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 1030; background: #07120c; border-bottom: 1px solid rgba(122, 211, 152, .18); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.site-header .navbar { min-height: 78px; padding: .65rem 0; background: #07120c !important; }
.site-header .container { max-width: var(--content-width); gap: .7rem; }
.site-header .navbar-brand { margin-right: .5rem; }
.site-header .site-logo { display: block; width: 150px; height: 40px; object-fit: contain; object-position: left center; }
.site-header .navbar-nav { gap: .1rem; }
.site-header .navbar-nav .nav-link { display: flex; align-items: center; gap: .25rem; min-height: 44px; padding: .6rem .68rem; border-radius: .55rem; color: #e8f1e9; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.site-header .navbar-nav .nav-link:hover, .site-header .navbar-nav .nav-link:focus, .site-header .navbar-nav .nav-link.active { background: rgba(0,200,83,.12); color: #8df5aa; }
.site-header .navbar-nav .linha-neotec { padding: .55rem .9rem !important; border: 1px solid rgba(0,200,83,.65) !important; }
.site-header .dropdown-menu { padding: .55rem; min-width: 15rem; background: #101c15; border: 1px solid #2b4633 !important; border-radius: .85rem; box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.site-header .dropdown-item { color: #eaf4eb; border-radius: .5rem; white-space: normal; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { color: #fff; background: #1b3926; }
.site-header .dropdown-divider { opacity: .3; }
.site-header .navbar-toggler { width: 46px; height: 46px; border: 1px solid #35543d; border-radius: .65rem; }
.site-header .navbar-toggler:focus-visible { box-shadow: none; }
.home-page { background: var(--color-background); }
.home-page #newsCarousel { width: 100%; max-width: none; margin: 0; border-radius: 0; overflow: hidden; background: #0b1b10; }
.home-page #newsCarousel .carousel-item { background: linear-gradient(110deg, #102f1b, #08120c); }
.home-page #newsCarousel .carousel-item img { width: 100%; height: auto; max-height: 450px; object-fit: cover; }
.home-page #newsCarousel .carousel-caption { bottom: 1.5rem; left: 8%; right: 8%; max-width: 760px; margin: 0 auto; padding: .85rem 1.25rem !important; border-color: rgba(0,200,83,.35) !important; }
.home-page #newsCarousel .carousel-caption h3 { color: #b0f6c2 !important; font-size: clamp(1rem, 1.6vw, 1.45rem); }
.home-page #newsCarousel .carousel-caption p { font-size: clamp(.75rem, 1vw, .9rem); }
.home-page #newsCarousel .carousel-indicators { bottom: -.25rem; }
.home-page #newsCarousel .custom-carousel-btn { width: 8% !important; }
.home-page #newsCarousel .carousel-control-icon-box { width: 38px; height: 38px; border-width: 1px; box-shadow: none; }
.home-page .neotec-hero-section { width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; }
.home-page main > .container { max-width: var(--content-width); padding-top: var(--space-section) !important; padding-bottom: var(--space-section) !important; }
.home-page main > .container h2 { letter-spacing: -.035em; line-height: 1.2; }
.home-page main > .container section { margin-bottom: 2.5rem; }
.home-page main > .container .card { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-card) !important; }
.home-page main > .container .card-body { padding: clamp(1.2rem, 2vw, 1.65rem); }
.home-page .btn-neotec { color: #061a0d !important; background: var(--color-primary); border-radius: .65rem; }
.home-page .btn-neotec:hover { color: #fff !important; background: #007d38; }
footer { line-height: 1.6; }
footer .form-control { min-height: 42px; }
footer .btn { min-height: 42px; }
@media (max-width: 1199px) and (min-width: 992px) {
  .site-header .navbar-brand span, .site-header .navbar > .container > .d-lg-flex { display: none !important; }
  .site-header .navbar-nav .nav-link { font-size: .8rem; padding-inline: .45rem; }
}
@media (max-width: 991px) {
  .site-header .navbar-collapse { flex-basis: 100%; max-height: min(75vh, 700px); overflow-y: auto; padding: .75rem 0 1rem; }
  .site-header .navbar-nav { align-items: stretch !important; }
  .site-header .navbar-nav .nav-link { width: 100%; padding: .8rem; }
  .site-header .dropdown-menu { margin: 0 .5rem .5rem; }
}
@media (max-width: 575px) {
  .site-header .navbar { min-height: 68px; }
  .site-header .site-logo { width: 130px; height: 36px; }
  .home-page #newsCarousel .carousel-caption { left: 12%; right: 12%; bottom: 1.5rem; }
  .home-page #newsCarousel .carousel-caption p { display: none; }
  .home-page #newsCarousel .carousel-control-icon-box { width: 30px; height: 30px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Páginas internas: mesmos controles e superfícies, sem alterar seus temas próprios. */
body:not(.home-page) > section.bg-light:first-of-type { padding-block: clamp(2.5rem, 5vw, 4.5rem) !important; background: #eaf2eb !important; }
body:not(.home-page) > section.bg-light:first-of-type h1 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
body:not(.home-page) .card { border-radius: var(--radius-card); overflow: hidden; }
body:not(.home-page) .card.shadow-lg, body:not(.home-page) .card.shadow-sm { box-shadow: var(--shadow-card) !important; }
body:not(.home-page) .form-control, body:not(.home-page) .form-select { min-height: 46px; border-radius: .6rem; }
body:not(.home-page) textarea.form-control { min-height: 8rem; }
body:not(.home-page) .btn { border-radius: .6rem; }
body:not(.home-page) .btn-neotec { color: #062511 !important; }
body:not(.home-page) .btn-neotec:hover { color: #fff !important; background: #007d38; }
.site-header .navbar-nav .nav-link.text-info, .site-header .navbar-nav .nav-link.text-success, .site-header .navbar-nav .nav-link.link-neotec-link { color: #dceee0 !important; }
.site-header .navbar-nav .nav-link.text-info:hover, .site-header .navbar-nav .nav-link.text-success:hover, .site-header .navbar-nav .nav-link.link-neotec-link:hover, .site-header .navbar-nav .nav-link.active { color: #8df5aa !important; }
@media (max-width: 575px) {
  body:not(.home-page) .container { padding-inline: 1.25rem; }
  body:not(.home-page) .container > .row.g-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575px) {
  .home-page .neotec-content { min-width: 0; flex-basis: 100%; }
}
