:root {
  --azul-primario: #43C3E3;
  --azul-escuro: #01356D;
  --preto-texto: #0A1C3F;
  --amarelo: #FCCE73;
  --cinza-claro: #f8f9fa;
  --cinza-escuro: #333;
  --branco: #fff;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
  color: var(--preto-texto);
  background: var(--cinza-claro);
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-padding {
  padding-left: 16px;
  padding-right: 16px;
}

h2, .section-title h2 {
  font-size: 36px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--azul-primario);
  margin: 0 0 20px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--preto-texto);
}

h4 {
  font-size: 18px;
  color: var(--preto-texto);
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

.lead-text {
  font-size: 30px;
  font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 30px;
  color: var(--branco);
  margin: 0 auto 60px auto;
}

*, *::before, *::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #0A1C3F;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 36px;
  color: #43C3E3;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0A1C3F;
}

h4 {
  font-size: 18px;
  color: #0A1C3F;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #43C3E3;
  transition: color 0.3s;
}

a:hover {
  color: #0A1C3F;
}

a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #2D5B44; /* Verde Folhagem */
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.3s ease;
  background-color: transparent;
}

#menu.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
}

#menu.scrolled .navbar-brand,
#menu.scrolled .navbar-nav > li > a {
  color: #0A1C3F;
}

#menu .navbar-brand {
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

#menu .navbar-toggle {
  border: none;
  background: transparent !important;
  transition: all 0.3s ease;
}

#menu .navbar-toggle:hover {
  background: transparent !important;
}

#menu .navbar-toggle .icon-bar {
  background-color: #0A1C3F;
  transition: all 0.3s ease;
}

#menu .navbar-toggle.active .icon-bar:nth-child(2) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu .navbar-toggle.active .icon-bar:nth-child(3) {
  opacity: 0;
}

#menu .navbar-toggle.active .icon-bar:nth-child(4) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  #menu.navbar-default .navbar-nav > li > a {
    margin: 5px 10px;
    font-size: 14px;
    display: block;
    text-align: left;
    padding: 10px 15px;
  }

  #menu .navbar-collapse {
    border-top: none;
    box-shadow: none;
  }

  #menu .navbar-collapse.in {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
}

#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand,
#menu.navbar-default .navbar-nav > li > a {
  font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
  color: #0A1C3F;
}

#menu.navbar-default .navbar-nav > li > a {
  font-family: "Alegreya Sans", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right,  #25282F 0%, #0A1C3F 43%, #43C3E3 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #25282F 0%, #0A1C3F 43%, #43C3E3 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}

.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}

.section-title {
  margin-bottom: 70px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  text-align: center;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 40%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  font-size: 18px;
  text-align: center;
}

.btn-custom {
  font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  color: var(--branco);
  background: var(--azul-primario);
  background-image: linear-gradient(to right, var(--azul-primario) 0%, var(--azul-escuro) 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: none;
}

.btn-secondary {
  background-color: #FCCE73;
  color: #01356D;
}

.btn-secondary:hover {
  background: linear-gradient(90deg, #FCCE73 0%, #FFD98A 100%);
  color: #01356D;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: var(--branco);
  background-image: none;
  background-color: var(--cinza-escuro);
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/intro-bg.jpg) center center no-repeat;
  background-color: var(--cinza-escuro);
  background-size: cover;
  background-position: center center;
  min-height: 70vh;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.5);
}

.intro h1 {
  font-size: 96px;
  font-family: 'Poppins', sans-serif;
  color: var(--branco);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.1;
}

.intro p {
  font-size: 36px;
  font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
  color: var(--branco);
  font-weight: 300;
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto 50px auto;
  padding-left: 0;
  padding-right: 0;
}

header .intro-text {
  padding-top: 20vh;
  padding-bottom: 20vh;
  text-align: center;
}

@media (max-width: 768px) {
  .intro {
    min-height: 60vh;
  }
  header .intro-text {
    padding-top: 15vh;
    padding-bottom: 15vh;
  }
  .intro h1 {
    font-size: 44px;
  }
  .intro p {
    font-size: 24px;
    line-height: 33px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-title p,
  .market-card p,
  .contact-item p,
  #blog-preview .section-title p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--preto-texto);
    padding-left: 16px;
    padding-right: 16px;
  }
  #testimonials .row {
    padding-left: 10px;
    padding-right: 10px;
  }
  #testimonials .col-sm-6,
  #testimonials .col-md-6,
  #testimonials .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
  }
  #contact .form-group {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 18px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section-title p,
  .market-card p,
  .contact-item p,
  #blog-preview .section-title p {
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Features Section */

#features {
  display: none !important;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #01356D;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #FCCE73, #43C3E3);
  box-shadow: 10px 10px 10px rgb(211, 211, 211);
}

#features i.fa:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #FCCE73, #43C3E3);
  color: #01356D;
  box-shadow: 0 10px 20px rgba(67, 195, 227, 0.3);
}

#features .container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1100px;
  align-items: center;
  justify-items: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  margin: 0 auto;
  padding: 0 32px;
  max-width: 1100px;
}

.service-item {
  text-align: center;
  min-width: 280px;
  max-width: 320px;
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item h3 {
  margin: 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.service-item p {
  margin: 0;
  line-height: 1.6;
  color: #01356D;
}

/* About Section */
#about {
  padding: 40px 0 100px;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

/* Sobre nós - alinhado à esquerda */
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 40%;
  bottom: 0;
  left: 0;
  transform: none;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #43e3c3;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#about p {
  line-height: 24px;
  margin: 30px 0;
}

/* Services Section */
#services {
  padding: 40px 0 80px;
  background: #E1F3F9; /* azul claro com personalidade, sem brigar com o texto */
  color: #01356D;
}

#services .service-desc {
  margin: 10px 10px 20px;
}

#services h2 {
  color: #01356d;
}

/* Funcionalidades - mantém como está (50% centralizado) */
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 70%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#services i.fa {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  color: #fff;
  font-size: 56px;
  text-align: center;
  line-height: 120px;
  display: inline-block;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  background: #0376a8;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

/* ========================================
|  BASE: HOVER PADRÃO (fallback geral)
======================================== */
#services i.fa:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #FCCE73, #43C3E3);
  color: #01356D;
  box-shadow: 0 10px 20px rgba(67, 195, 227, 0.3);
}

/* ========================================
|  CHECK-IN INTELIGENTE — Direcionamento
|  ícone: fa-location-arrow
======================================== */
@keyframes pulseArrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) rotate(10deg); }
}

#services i.fa-location-arrow:hover {
  background: linear-gradient(to right, #43C3E3, #FCCE73);
  color: #01356D;
  animation: pulseArrow 1s ease-in-out;
}

/* ========================================
|  MAPA DE CALOR — Detecção térmica
|  ícone: fa-street-view
======================================== */
@keyframes heatPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(245, 146, 33, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(245, 146, 33, 0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(245, 146, 33, 0.2); }
}

#services i.fa-street-view:hover {
  background: linear-gradient(135deg, #43C3E3, #FCCE73, #F59221);
  color: #01356D;
  animation: heatPulse 1.5s ease-in-out infinite;
}

/* ========================================
|  ALERTAS DA COMUNIDADE — Vibração
|  ícone: fa-bell
======================================== */
@keyframes bellShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(6deg); }
  75% { transform: rotate(-6deg); }
}

#services i.fa-bell:hover {
  background: linear-gradient(to right, #fda085, #f6d365);
  color: #01356D;
  animation: bellShake 0.5s ease-in-out;
}

/* ========================================
|  INFRAESTRUTURA LOCAL — Suavidade solar
|  ícone: fa-cutlery
======================================== */
@keyframes glowPulse {
  0% { box-shadow: 0 0 0 rgba(252, 206, 115, 0.2); }
  50% { box-shadow: 0 0 20px rgba(252, 206, 115, 0.5); }
  100% { box-shadow: 0 0 0 rgba(252, 206, 115, 0.2); }
}

#services i.fa-cutlery:hover {
  background: linear-gradient(to right, #FCCE73, #FFD98A);
  color: #2D5B44;
  animation: glowPulse 1.4s ease-in-out infinite;
}

/* ========================================
|  BADGES E CONQUISTAS — Brilho vibrante
|  ícone: fa-trophy
======================================== */
@keyframes pulseTrophy {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(249, 212, 35, 0.5); }
}

#services i.fa-trophy:hover {
  background: linear-gradient(to right, #f9d423, #f83600);
  color: #01356D;
  animation: pulseTrophy 1.2s ease-in-out;
}

/* ========================================
|  GESTÃO PÚBLICA — Sério e institucional
|  ícone: fa-gear
======================================== */
@keyframes gearSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#services i.fa-gear:hover {
  background: linear-gradient(to right, #01356D, #43C3E3);
  color: #fff;
  animation: gearSpin 1.2s linear;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px !important;
    padding: 0 8px;
    max-width: 100%;
  }
  .service-item {
    min-width: 0;
    max-width: 100%;
  }
  .market-card {
    margin-bottom: 24px;
  }
}

@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  h1, h2, h3, h4, h5, h6, p {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }
  body, html {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .container, .container-fluid, section, #features, #services, #portfolio, #about, #testimonials, #team, #contact {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  h2 {
    font-size: 20px !important;
    word-break: break-word;
  }
}

#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #01356d;
}

#services p {
  color: #01356d;
}

#services .service-desc {
  margin-bottom: 40px;
}

/* Portfolio Section */
#portfolio {
  display: none !important;
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(1, 53, 109, 0.8) 0%,
    rgba(67, 195, 227, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

/* Testimonials Section */
/* Nova identidade visual para a seção de Mercado */
#testimonials {
  padding: 60px 0 100px;
  background: #EAF8FB;
  color: var(--azul-escuro);
}

#testimonials .section-title h2 {
  color: var(--azul-primario);
  font-weight: 700;
}

.market-card {
  padding: 30px;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.market-card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--azul-primario);
}

.market-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2D5B44;
  margin-bottom: 10px;
}

.market-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--azul-escuro);
  margin-bottom: 0;
}

.market-card i:hover {
  color: #FCCE73;
  transform: scale(1.1);
  transition: color 0.3s, transform 0.3s;
}

/* Team Section */
#team {
  padding: 40px 0 100px;
}
.team-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#team h4 {
  margin: 5px 0;
}

#team .team-img {
  width: 240px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #01356D;
}

/* Contact Section */
#contact {
  padding: 40px 0 100px;
  background: var(--amarelo);
  color: var(--cinza-escuro);
}

#contact .section-title {
  margin-bottom: 40px;
  text-align: left;
}

#contact .section-title h2 {
  text-align: left;
}

#contact .section-title h2::after {
  left: 0;
  transform: none;
}

#contact .section-title p {
  text-align: left;
}

#contact h2 {
  background: none !important;
  color: var(--cinza-escuro);
}

#contact h3 {
  color: #333;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: var(--cinza-escuro);
  border: 2px solid var(--cinza-escuro);
  color: var(--branco);
}

#contact .btn-custom:hover {
  color: var(--azul-escuro);
  background: var(--cinza-escuro);
}

label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Alegreya Sans", sans-serif;
  float: left;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #43e3c3;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}

.form-control::-webkit-input-placeholder {
  color: #777;
}

.form-control:-moz-placeholder {
  color: #777;
}

.form-control::-moz-placeholder {
  color: #777;
}

.form-control:-ms-input-placeholder {
  color: #777;
}

#contact .contact-item {
  margin: 20px 0;
}

#contact .contact-item span {
  color: #333;
  margin-bottom: 10px;
  display: block;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}

#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}

/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}

#footer p {
  color: #888;
  font-size: 14px;
}

#footer a {
  color: #608dfd;
}

#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}

.section-spacer {
  margin-bottom: 80px;
}

@media (max-width: 600px) {
  #about img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px 0 !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h3 {
    font-size: 18px !important;
  }
  section,
  #features,
  #services,
  #portfolio,
  #about,
  #testimonials,
  #team,
  #contact {
    padding: 16px 0 32px !important;
  }
}

@media (max-width: 600px) {
  .service-item {
    padding: 10px 20px;
  }
  .portfolio-item {
    margin: 1px 0 0 0;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* Sobre nós - alinhado à esquerda */
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 40%;
  bottom: 0;
  left: 0;
  transform: none;
}

/* Porque a UEIVE é necessária - 80% centralizado */
#testimonials .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Como será o app - mantém como está (50% centralizado) */
#portfolio .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Funcionalidades - mantém como está (50% centralizado) */
#features .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Conheça o time - mantém como está (50% centralizado) */
#team .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #43C3E3 0%, #01356D 100%);
  height: 4px;
  width: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
/* Blog na Home - 20% centralizado */
#blog-preview .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, var(--azul-primario) 0%, var(--azul-escuro) 100%);
  height: 4px;
  width: 20%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Subtítulo do blog - padrão global */
#blog-preview .section-title p {
  font-size: 18px !important;
  font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--preto-texto);
}

.crystal-water-btn {
  color: #333;
  transition: all 0.3s ease;
}

.crystal-water-btn:hover {
  background-color: #7FDBFF !important;
  color: #fff !important;
  border-color: #7FDBFF !important;
}

#testimonials .row {
  display: flex;
  flex-wrap: wrap;
}

#testimonials .col-sm-6,
#testimonials .col-md-6,
#testimonials .col-lg-3 {
  display: flex;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  #testimonials .row {
    padding-left: 10px;
    padding-right: 10px;
  }
  #testimonials .col-sm-6,
  #testimonials .col-md-6,
  #testimonials .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
  }
  #contact .form-group {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Reforço para garantir subtítulo grande no desktop */
@media (min-width: 769px) {
  .intro p {
    font-size: 30px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  #contact .btn-custom {
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }
}

/* Verde Folhagem para destaques ESG e dados públicos */
.esg-icon, .dados-publicos, .sustentabilidade {
  color: #2D5B44 !important;
}

@media (min-width: 992px) {
  .intro p {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }
}


