@media (max-width:403px){
	/* Container geral com padding ainda menor */
	.container {
		padding: 0 5px !important;
		margin: 0 auto;
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Navigation adjustments - Correção principal para o menu */
	#navigation .navbar {
		padding-bottom: 5px;
		padding-left: 0;
		padding-right: 0;
	}

	#navigation .container {
		padding: 0 5px !important;
		width: 100% !important;
	}

	#navigation .navbar-header {
		width: 100%;
		position: relative;
		padding: 0 5px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#navigation .navbar-brand {
		width: auto !important;
		max-width: none !important;
		overflow: visible;
		padding: 0;
		margin: 0 auto;
		text-align: center;
		position: static;
		float: none !important;
	}

	#navigation .navbar-brand h1 {
		padding: 0;
		margin: 0;
		text-align: center;
	}

	#navigation .navbar-brand h1 img {
		height: 30px !important;
		width: auto;
		max-width: 200px;
		display: block;
		margin: 0 auto;
	}

	#navigation .navbar-toggle {
		margin-top: 8px;
		margin-right: 0;
		padding: 4px 6px;
		border: 1px solid #fff;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 1000;
	}

	#navigation .navbar-collapse {
		border-radius: 15px !important;
		padding: 5px 0 !important;
		margin-top: 5px;
		clear: both;
	}

	#navigation .navbar-nav.navbar-right {
		margin-top: 0 !important;
		text-align: center;
		width: 100%;
		margin-right: 0 !important;
	}

	#navigation .navbar-nav.navbar-right li {
		display: block !important;
		float: none !important;
		width: 100%;
		text-align: center;
		margin-bottom: 2px;
		padding: 0 !important;
	}

	#navigation .navbar-nav.navbar-right li a {
		padding: 8px 10px !important;
		font-size: 13px !important;
		border-radius: 8px !important;
		margin: 2px 10px;
		display: block;
		text-align: center;
		width: calc(100% - 20px);
	}

	/* Prevent menu items from being cut off */
	#navigation .navbar-nav {
		overflow: visible !important;
	}

	#navigation .navbar-collapse.in,
	#navigation .navbar-collapse.collapsing {
		overflow: visible !important;
	}

	/* Home section adjustments */
	#home {
		padding: 0 5px;
	}

	#main-carousel .carousel-caption {
		padding: 10px 5px;
		bottom: 20px;
		left: 5px;
		right: 5px;
	}

	#main-carousel .carousel-caption img {
		max-width: 95% !important;
		height: auto;
	}

	#main-carousel .carousel-caption h2 {
		font-size: 22px !important;
	}

	#main-carousel .carousel-caption h3 {
		font-size: 15px !important;
	}

	/* Services section adjustments */
	#services .container {
		padding: 10px 5px;
	}

	.header {
		padding: 0 5px;
		margin-bottom: 15px;
	}

	.header h2 {
		font-size: 20px !important;
	}

	.plans-grid {
		padding: 0 5px;
		gap: 10px;
	}

	.plan-card {
		max-width: 95%;
		margin: 0 auto;
		padding: 15px 10px;
	}

	/* About section adjustments */
	.about-horizontal-container {
		padding: 10px 5px;
	}

	.about-horizontal-row {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.about-horizontal-left {
		text-align: center;
		margin-bottom: 20px;
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
	}

	.about-horizontal-title {
		text-align: center !important;
		margin: 15px 0;
		font-size: 28px !important;
	}

	.about-horizontal-subtitle {
		text-align: center !important;
		margin-bottom: 15px;
		font-size: 16px !important;
	}

	.about-horizontal-cta {
		text-align: center !important;
		width: 100%;
	}

	.about-horizontal-cta p {
		text-align: center !important;
		font-size: 15px !important;
	}

	.about-horizontal-icon {
		text-align: center !important;
		margin-bottom: 15px;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
	}

	.about-horizontal-icon img {
		display: block !important;
		margin: 0 auto !important;
		max-width: 120px !important;
		width: 120px !important;
		height: auto;
		text-align: center;
	}

	.about-horizontal-right {
		width: 100%;
		text-align: center;
	}

	.about-horizontal-card {
		max-width: 95%;
		padding: 12px 8px;
		margin: 0 auto 10px;
		text-align: center;
	}

	.about-main-card {
		text-align: center;
		margin: 0 auto;
		max-width: 95%;
	}

	.about-card-header {
		text-align: center;
	}

	.about-unified-content {
		text-align: center;
	}

	.about-unified-content p {
		text-align: center !important;
	}

	/* Contact section adjustments */
	#contact .container {
		padding: 10px 5px;
	}

	.quick-actions {
		padding: 0 5px;
		gap: 10px;
	}

	.action-btn {
		max-width: 95%;
		padding: 12px 8px;
		font-size: 14px;
	}

	/* Status badge styles para diferentes estados */
	.online-badge {
		padding: 4px 12px !important;
		border-radius: 12px !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		text-transform: uppercase !important;
		letter-spacing: 0.5px !important;
		transition: all 0.3s ease !important;
		display: inline-block !important;
		margin-top: 8px !important;
		position: relative !important;
		top: auto !important;
		right: auto !important;
		animation: none !important;
	}

	.online-badge.online {
		background: linear-gradient(135deg, #10b981, #059669) !important;
		color: white !important;
		box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
	}

	.online-badge.offline {
		background: linear-gradient(135deg, #ef4444, #dc2626) !important;
		color: white !important;
		box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
	}

	.online-badge.online::before {
		content: "●" !important;
		margin-right: 6px !important;
		color: #dcfdf7 !important;
		animation: pulse-online 2s infinite !important;
	}

	.online-badge.offline::before {
		content: "●" !important;
		margin-right: 6px !important;
		color: #fecaca !important;
	}

	@keyframes pulse-online {
		0%, 100% { opacity: 1; }
		50% { opacity: 0.5; }
	}

	.info-cards {
		padding: 0 5px;
		gap: 10px;
	}

	.info-card {
		max-width: 95%;
		padding: 15px 10px;
	}

	.map-section {
		padding: 0 5px;
	}

	/* Footer adjustments */
	.footer-flex {
		padding: 10px 5px;
	}

	.footer-info-block {
		padding: 0 5px;
		text-align: center;
	}

	.social-icon {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 40px !important;
		height: 40px !important;
		border-radius: 50% !important;
		background: rgba(255, 255, 255, 0.1) !important;
		margin: 0 5px !important;
		transition: all 0.3s ease !important;
	}

	.social-icon i {
		font-size: 20px !important;
		color: #fff !important;
		display: block !important;
		line-height: 1 !important;
	}

	.social-icon .fab.fa-whatsapp {
		color: #25D366 !important;
		font-size: 22px !important;
	}

	.social-icon:hover {
		background: rgba(255, 255, 255, 0.2) !important;
		transform: translateY(-2px) !important;
	}

	/* Modal adjustments for very small screens */
	.modal-content {
		margin: 10px;
		max-width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
		padding: 10px;
	}

	.package-options {
		padding: 5px;
	}

	.package-option {
		margin-bottom: 10px;
		padding: 8px;
	}

	/* WhatsApp button adjustment */
	#whatsapp-icon {
		bottom: 15px;
		right: 15px;
		width: 50px;
		height: 50px;
	}

	/* Typography adjustments */
	.title-one {
		font-size: 18px !important;
	}

	h1 {
		font-size: 20px !important;
	}

	h2 {
		font-size: 18px !important;
	}

	h3 {
		font-size: 16px !important;
	}

	h4 {
		font-size: 14px !important;
	}

	p {
		font-size: 13px !important;
	}

	/* Exceções específicas para a seção Sobre */
	.about-horizontal-title {
		font-size: 26px !important;
		text-align: center !important;
		display: block;
		width: 100%;
	}

	.about-horizontal-subtitle {
		font-size: 15px !important;
		text-align: center !important;
	}

	.about-horizontal-cta p {
		font-size: 14px !important;
		text-align: center !important;
	}

	/* Ensure no horizontal overflow */
	body {
		overflow-x: hidden;
	}

	* {
		box-sizing: border-box;
	}

	/* Fix específico para Font Awesome em iOS/Safari */
	.fab, .fas, .fa {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		font-variant: normal;
		text-rendering: auto;
		line-height: 1;
		font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
		font-weight: 900 !important;
	}

	.fab.fa-whatsapp::before {
		content: "\f232" !important;
	}

	.fab.fa-facebook-f::before {
		content: "\f39e" !important;
	}

	.fab.fa-instagram::before {
		content: "\f16d" !important;
	}

	/* Garantir que os ícones sejam visíveis */
	.footer-social .social-icon i {
		display: inline-block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Additional fixes for very small screens */
	.row {
		margin-left: 0;
		margin-right: 0;
	}

	.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, 
	.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, 
	.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, 
	.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, 
	.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, 
	.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, 
	.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, 
	.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, 
	.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, 
	.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, 
	.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, 
	.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
		padding-left: 5px;
		padding-right: 5px;
	}
}

/* Media query para telas extremamente pequenas (menores que 320px) */
@media (max-width:319px){
	/* Adjustments for very small screens like older phones */
	#navigation .navbar-brand h1 img {
		height: 28px !important;
		max-width: 180px;
	}

	#navigation .navbar-toggle {
		margin-top: 6px;
		padding: 3px 5px;
		right: 8px;
	}

	#main-carousel .carousel-caption h2 {
		font-size: 20px !important;
	}

	#main-carousel .carousel-caption h3 {
		font-size: 14px !important;
	}

	.header h2 {
		font-size: 18px !important;
	}

	h1 {
		font-size: 20px !important;
	}

	h2 {
		font-size: 18px !important;
	}

	h3 {
		font-size: 16px !important;
	}

	h4 {
		font-size: 14px !important;
	}

	p {
		font-size: 12px !important;
	}

	/* Exceções para a seção Sobre */
	.about-horizontal-title {
		font-size: 24px !important;
	}

	.about-horizontal-subtitle {
		font-size: 14px !important;
	}

	.about-horizontal-cta p {
		font-size: 13px !important;
	}

	.about-horizontal-icon img {
		max-width: 100px !important;
		width: 100px !important;
		display: block !important;
		margin: 0 auto !important;
		text-align: center;
	}

	/* Forçar centralização ainda mais específica */
	.about-horizontal-left .about-horizontal-icon {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
		text-align: center !important;
	}

	.about-horizontal-left .about-horizontal-icon img {
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* Fix adicional para ícones sociais em telas muito pequenas */
	.social-icon {
		width: 35px !important;
		height: 35px !important;
		margin: 0 3px !important;
	}

	.social-icon i {
		font-size: 18px !important;
	}

	.social-icon .fab.fa-whatsapp {
		font-size: 20px !important;
	}

	/* Status badge para telas muito pequenas */
	.online-badge {
		font-size: 11px !important;
		padding: 3px 10px !important;
	}
}