@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* { font-family: 'Montserrat', sans-serif; }
body { background: #f1fbff; }

.section-padding { padding: 100px 0; }

.carousel-item { height: auto; }
.carousel-caption { bottom: 50px; z-index: 2; }
.carousel-caption h5 { font-size: 45px; text-transform: uppercase; letter-spacing: 2px; margin-top: 25px; }
.carousel-caption p { font-size: 18px; line-height: 1.9; }
.carousel-inner:before {
	content: '';
	position: absolute;
	width: 100%; height: 100%;
	top: 0; left: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.navbar .getstarted {
	background: #106eea;
	margin-left: 30px;
	border-radius: 4px;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	padding: .5rem 1rem;
	line-height: 2.3;
}
.navbar-nav a { font-size: 15px; text-transform: uppercase; font-weight: 500; }
.navbar-light .navbar-brand { color: #000; font-size: 25px; text-transform: uppercase; font-weight: bold; letter-spacing: 2px; }
.navbar-light .navbar-brand:focus, .navbar-light .navbar-brand:hover { color: #000; }
.navbar-light .navbar-nav .nav-link { color: #000; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { color: #000; }

.navbar-toggler {
	padding: 1px 5px;
	font-size: 18px;
	line-height: 0.3;
	background: #fff;
}

.portfolio .card,
.team .card { box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15); }

.services .card-body i { font-size: 50px; }
.team .card-body i { font-size: 20px; }

/* Efeito hover sobre os cards das seções */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8); }

/* Efeito hover sobre as imagens das seções */
.about-img { padding-top: 50px; }
.about-img a img {
	box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-img a:hover img { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8); }

/* ===== Responsivo ===== */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.carousel-caption { bottom: 50px; }
	.carousel-caption p { width: 100%; }
	.card { margin-bottom: 30px; }
	.img-area img { width: 100%; }
}
@media only screen and (max-width: 767px) {
	.navbar-nav { text-align: center; }
	.carousel-item { padding-top: 40px; }
	.carousel-caption { bottom: 5px; }
	.carousel-caption h5 { font-size: 17px; }
	.carousel-caption a { padding: 10px 15px; font-size: 15px; }
	.carousel-caption p { width: 100%; line-height: 1.2; font-size: 12px; }
	.about-text { padding-top: 50px; }
	.card { margin-bottom: 30px; }
	.navbar-light .navbar-brand { font-size: 15px; }
}

/* ===== Acessibilidade: mensagens do formulário ===== */
.invalid-feedback {
  color: #ffc107 !important;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  font-weight: 600;
}
.is-invalid {
  border-color: #ffc107 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
}
.form-global-alert {
  background: #ffc107 !important;
  color: #fff !important;
  border: none;
  font-weight: 600;
  text-align: center;
}
.form-control + .invalid-feedback { margin-bottom: 0.25rem; }

/* ===== Leitor de Texto (toolbar flutuante) ===== */
.tts-toolbar {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	gap: .4rem;
	background: rgba(255,255,255,.95);
	border: 1px solid rgba(0,0,0,.1);
	border-radius: .65rem;
	padding: .35rem;
	box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.15);
	z-index: 10000;
	backdrop-filter: blur(2px);
}

/* Botões mais compactos por padrão */
.tts-toolbar .btn {
	border-radius: .5rem;
	padding: .25rem .5rem;
	font-size: .9rem;
	line-height: 1.2;
}

/* Em telas muito pequenas, mostrar só os ícones (texto oculto) */
@media (max-width: 575.98px) {
	.tts-toolbar {
		right: .75rem;
		bottom: .75rem;
		gap: .35rem;
		padding: .3rem;
		border-radius: .6rem;
	}
	.tts-toolbar .btn {
		width: 36px;
		height: 36px;
		padding: .25rem;
		font-size: 0; /* esconde o rótulo textual */
		display: grid;
		place-items: center;
	}
	.tts-toolbar .btn i { font-size: 1.1rem; }
	.tts-toolbar .btn .tts-label { display: none; }
}

/* Container do parágrafo com ícones inline */
.inline-icons {
  gap: .65rem; /* respiro entre texto e ícones (desktop) */
}

/* Links dos ícones: mesma cor do texto, área de toque ampliada */
.inline-icons .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: currentColor;
  text-decoration: none;
  padding: .25rem;          /* aumenta a área clicável sem “aparecer” */
  border-radius: .375rem;
  transition: transform .2s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent; /* melhora toque no mobile */
}

/* Ícones ligeiramente maiores que o texto */
.inline-icons .icon-link i {
  font-size: 1.1em;         /* sutilmente acima do parágrafo (desktop) */
  vertical-align: middle;
}

/* Hover/focus: mais destaque (sem sombra) */
.inline-icons .icon-link:hover i,
.inline-icons .icon-link:focus i {
  opacity: .9;
  transform: translateY(-1px) scale(1.22);  /* aumento visível e elegante */
}

/* Acessibilidade: foco visível ao navegar por teclado */
.inline-icons .icon-link:focus {
  outline: none;
  text-decoration: underline; /* discreto e padrão */
}

/* Mobile: mais espaço e alvo de toque maior */
@media (max-width: 576px) {
  .inline-icons {
    gap: .95rem;              /* mais respiro entre ícones no celular */
  }
  .inline-icons .icon-link {
    padding: .38rem;          /* alvo de toque mais confortável */
  }
  .inline-icons .icon-link i {
    font-size: 1.15em;        /* 1 “tique” maior pro mobile */
  }
}

/* Usuários que preferem menos animação */
@media (prefers-reduced-motion: reduce) {
  .inline-icons .icon-link,
  .inline-icons .icon-link i {
    transition: none;
    transform: none !important;
  }
}
