@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('variables.css');
@import url('responsive.css');

body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
    color: #404041 !important;
    font-size: 12px; 
}

.background-destaque{
    background: var(--section-bg-color) !important;
}

.navbar, .navbar.navbar-dark, .navbar.bg-dark {
    background-color: var(--complementary-color-04) !important;
    color: var(--text-color-primary) !important;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-brand,
.icons-group a {
    color: var(--text-color-primary) !important;
}

.navbar .navbar-nav .nav-link.active {
    font-weight: bold;
    color: var(--secondary-color) !important;
}

.navbar-collapse{
    display: flex;
    align-items:center;
    justify-content: space-between;
}

.navbar-nav{
    margin-left: 60px;
}

.icons-group a{
    text-decoration: none;
    color: var(--tertiary-color);
}

.icons-group a:hover {
    color: var(--primary-color); 
}

.footer-info-endereco{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--complementary-color-03);
    color: var(--light-color);
    padding-top: 8px;
}

.footer-info-head {
    background-color: var(--primary-color);
    height: 5px;
}

.button-primary{
    max-width: 250px;
    background-color: var(--primary-color) !important;
    color: var(--light-color) !important;
    font-weight: 500;
}

.button-primary a{
    text-decoration: none;
    color: var(--light-color) !important;
}

.button-primary:hover{
    background-color: var(--complementary-color-01)  !important; 
}

.section-contato {
    background-color: var(--light-color)  !important; 
}

.section-contato-info{
    background-color: var(--complementary-color-04)  !important;
}

.section-contato-info a {
    color: var(--text-color-primary);
    text-decoration: none;
}

.section-contato-info a:hover {
    color: var(--complementary-color-02);
    font-weight: bold;
}

.text-destaque {
    color: var(--text-color-primary) !important;  
}

.info-wrap .dbox .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    border-image: initial;
}

.formas-de-pagamento {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.formas-de-pagamento .card {
    --bs-card-border-width: none !important;
    width: 120px !important;
    min-height: 140px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.formas-de-pagamento .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.formas-de-pagamento img {
    max-width: 100px;
}

.products-info .card img {
    max-width: 130px;
}

.products-info-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 30px;
}

.products-info .card {
    min-height: 525px;
}

.btn_social {
	width:100%; 
	float:left; 
	display:flex; 
	margin:auto; 
}

.btn_social ul  { 
	width:auto; 
	margin:auto; 
	float:left; 
	display:block; 
}

.btn_social ul li  { 
	position:relative; 
	background: var(--soft-black); 
	list-style:none; 
	float:left; 
	margin:5px; 
	z-index:1; 
	overflow:hidden; 
	border-radius:3px; 
	font-size:1.5em; 
	text-align:center; 
}

.btn_social ul li a  { 
	width:60px; 
	height:60px; 
	line-height:53px; 
	display:block; 
	text-decoration:none; 
	color: var(--light-color);
	transition:.4s;
}

.btn_social ul li::before {
	transition:0.4s; 
	position:absolute; 
	content:''; 
	width:100%; 
	height:100%; 
	top:90%; 
	left:0; 
	background:var(--primary-color); 
	z-index:-1; 
	transform: scale(1); 
	transition:.4s; 
}

.btn_social ul li:hover::before { 
    transition:0.4s; top:0%; 
}

.btn_social ul li a:hover { 
    color: var(--complementary-color-02);
}

.products-sell-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.products-sell-items .item {
    max-width: 400px;
    min-height: 400px;
    display: flex;
    flex-direction: column;    
}

.products-sell-items .item img{
    max-width: 380px;
}

/* Estilos para a seção de marcas parceiras */
.marcas-parceiras {
    background: var(--light-color);
    overflow: hidden;
    padding: 60px 0;
    position: relative;
}

.marcas-parceiras .slider {
    position: relative;
    width: 100%;
    height: 80px;
    margin: auto;
    overflow: hidden;
    background: var(--light-color);
}

.marcas-parceiras .slide-track {
    display: flex;
    width: calc(160px * 44);
    animation: scroll 80s linear infinite;
}

.marcas-parceiras .slide {
    width: 160px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marcas-parceiras .slide img {
    width: 100%;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.marcas-parceiras .slide:hover img {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-160px * 22));
    }
}

.marcas-parceiras .slider:hover .slide-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marcas-parceiras {
        padding: 30px 0;
    }
    
    .marcas-parceiras .slider {
        height: 70px;
    }
    
    .marcas-parceiras .slide {
        width: 130px;
        padding: 8px;
    }
    
    .marcas-parceiras .slide img {
        max-height: 40px;
    }
    
    .marcas-parceiras .slide-track {
        width: calc(130px * 44);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-130px * 22));
        }
    }
}

@media (max-width: 576px) {
    .marcas-parceiras .slide {
        width: 100px;
        padding: 6px;
    }
    
    .marcas-parceiras .slide img {
        max-height: 35px;
    }
    
    .marcas-parceiras .slide-track {
        width: calc(100px * 44);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 22));
        }
    }
}

/* Ajustes para telas pequenas - mostrar apenas 1 item */
@media (max-width: 767px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        overflow-x: hidden !important;
    }
    #carouselProdutos {
        overflow: hidden;
    }
    
    #carouselProdutos .carousel-inner {
        width: 100%;
    }
    
    #carouselProdutos .carousel-item {
        width: 100%;
        display: none;
    }
    
    #carouselProdutos .carousel-item.active {
        display: block;
    }
    
    #carouselProdutos .carousel-item .d-flex {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    #carouselProdutos .item {
        width: 100% !important;
        max-width: 320px;
        min-height: auto;
        margin: 0 auto;
        padding: 15px;
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    #carouselProdutos .item img {
        height: 220px;
        object-fit: contain;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }
    
    #carouselProdutos .item h5 {
        font-size: 1rem;
        text-align: center;
    }
    
    #carouselProdutos .item p {
        font-size: 0.85rem;
        text-align: center;
    }
    
    #carouselProdutos .carousel-control-prev,
    #carouselProdutos .carousel-control-next {
        width: 40px;
        height: 40px;
        left: 5px;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    #carouselProdutos .carousel-control-prev-icon,
    #carouselProdutos .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }
    
    #carouselProdutos .carousel-indicators {
        bottom: -40px;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #carouselProdutos .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 0 3px;
        display: inline-block !important;
    }
}

@media (min-width: 768px) {
    #carouselProdutos .carousel-indicators button:nth-child(n+4) {
        display: none !important;
    }
    
    #carouselProdutos .carousel-indicators button:nth-child(-n+3) {
        display: inline-block !important;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 576px) {
    #carouselProdutos .item {
        max-width: 280px;
    }
    
    #carouselProdutos .item img {
        height: 200px;
    }
    
    #carouselProdutos .item h5 {
        font-size: 0.95rem;
    }
    
    #carouselProdutos .item p {
        font-size: 0.8rem;
    }
}

/* Estilos para a nova seção hero */
.home-principal-large {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.4) 100%), url('../images/HVAC Service.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    padding: 40px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 300px;
}

.hero-logo {
    max-width: 480px;
    min-width: 280px;
    width: 40vw;
    height: auto;
    margin-bottom: 35px;
    margin-top: 10px;
    align-self: flex-start;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 22px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #222;
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: none;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.home-principal-large .btn-outline-primary {
    border-color: #0d47a1 !important;
    color: #0d47a1 !important;
    background-color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    text-shadow: none !important;
    transition: background 0.2s, color 0.2s, border 0.2s !important;
}

.home-principal-large .btn-outline-primary:hover, .home-principal-large .btn-outline-primary:focus {
    background-color: #0d47a1 !important;
    border-color: #0d47a1 !important;
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.beneficio-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--tertiary-color);
}

.beneficio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-icon {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
    transform: scale(1.1);
}

.beneficio-icon i {
    font-size: 24px;
    color: var(--light-color);
}

.beneficio-card h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.beneficio-card p {
    color: #333333;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsividade para a seção hero */
@media (max-width: 991.98px) {
    .home-principal-large {
        padding: 60px 0;
        text-align: center;
        background-attachment: scroll;
        min-height: 65vh;
    }
    
    .hero-logo {
        max-width: 320px;
        width: 55vw;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .beneficios-grid {
        margin-top: 40px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        overflow-x: hidden !important;
    }
    .home-principal-large {
        background: none !important;
        min-height: unset !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        align-items: center;
    }
    .home-principal-large > .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-content {
        background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.4) 100%), url('../images/HVAC Service mobile.png') center center no-repeat !important;
        background-size: cover !important;
        min-height: 700px;
        padding: 32px 18px 40px 18px;
        margin: 0 auto;
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        box-sizing: border-box;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .hero-logo {
        max-width: 220px;
        width: 65vw;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 24px;
        margin-bottom: 24px;
        align-self: unset;
    }
    .hero-title, .hero-subtitle {
        text-shadow: none !important;
        color: #1a1a1a !important;
    }
    .hero-title {
        font-weight: bold;
    }
    .hero-subtitle {
        font-weight: normal;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .btn-outline-primary {
        width: 100%;
        min-width: 180px;
        text-align: center;
    }
    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .beneficio-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-logo {
        max-width: 180px;
        width: 80vw;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .beneficio-icon {
        width: 50px;
        height: 50px;
    }
    
    .beneficio-icon i {
        font-size: 20px;
    }
    
    .hero-content {
        background-size: contain;
        background-position: center top;
        min-height: 60vh;
    }
}

/* Estilos para a seção hero mobile */
.home-principal-mobile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.5) 100%), url('../images/HVAC Service.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.beneficios-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

/* Responsividade específica para mobile */
@media (max-width: 767.98px) {
    .home-principal-mobile {
        background-attachment: scroll;
    }
    
    .beneficios-grid-mobile {
        grid-template-columns: 1fr;
    }
    
    .beneficios-grid-mobile .beneficio-card {
        padding: 15px;
    }
}

@media (max-width: 575.98px) {
    .home-principal-mobile {
        background-attachment: scroll;
    }
    
    .beneficios-grid-mobile {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 400px) {
    .hero-content {
        background-size: contain;
        background-position: center top;
        min-height: 50vh;
        padding: 20px 15px;
    }
    
    .hero-logo {
        max-width: 150px;
        width: 100vw;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Estilos para o grid de produtos (substituindo o carrossel) */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.product-item {
    flex: 1 1 300px;
    max-width: 350px;
    min-width: 280px;
    background: var(--light-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--tertiary-color);
}

.product-item img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-item h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.product-item p {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsividade para o grid de produtos */
@media (max-width: 768px) {
    .products-grid {
        gap: 20px;
    }
    
    .product-item {
        flex: 1 1 250px;
        max-width: 300px;
        padding: 20px;
    }
    
    .product-item img {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        gap: 15px;
    }
    
    .product-item {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
    }
    
    .product-item img {
        max-width: 300px;
    }
}

.contato-hometech{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.motivos-para-contratar .pagamentos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pagamentos .items {
    max-width: 420px;
}

.pagamentos .items img{
    max-width: 100px;
    max-height: 100px;
}

.pagamentos .card {
    background-color: var(--complementary-color-04);
}

.section-bg-alt {
    background: var(--section-bg-alt) !important;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.08);
    color: #fff;
}

/* Ícone do menu hambúrguer preto */
.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Alinha o botão à direita no mobile */
@media (max-width: 991.98px) {
    .navbar .container {
        justify-content: space-between !important;
    }
    .navbar-brand {
        display: none !important;
    }
}

.navbar-toggler {
    margin-left: auto;
}

/* Estilos para o carrossel de serviços */
#carouselServicos .card {
    min-height: 680px;
    margin: 0 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: none;
    border-radius: 15px;
}

#carouselServicos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#carouselServicos .carousel-control-prev,
#carouselServicos .carousel-control-next {
    width: 5%;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

#carouselServicos .carousel-control-prev:hover,
#carouselServicos .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
}

#carouselServicos .carousel-control-prev {
    left: 20px;
}

#carouselServicos .carousel-control-next {
    right: 10px;
}

#carouselServicos .carousel-indicators {
    bottom: -50px;
}

#carouselServicos .carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#carouselServicos .carousel-indicators button.active {
    opacity: 1;
}

#carouselServicos .carousel-indicators button:hover {
    opacity: 0.8;
}

/* Responsividade para o carrossel de serviços */
@media (max-width: 768px) {
    #carouselServicos .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    #carouselServicos .card {
        width: 100% !important;
        max-width: 16rem;
        margin: 5px 0;
    }
    
    #carouselServicos .carousel-control-prev,
    #carouselServicos .carousel-control-next {
        width: 10%;
        height: 40px;
    }
    
    #carouselServicos .carousel-indicators {
        bottom: -40px;
    }
}

/* Estilos para a seção de marcas parceiras */
.payment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.payment-icon i {
    font-size: 20px;
    color: var(--light-color);
}

.formas-de-pagamento .card:hover .payment-icon {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
    transform: scale(1.1);
}

.formas-de-pagamento .card-title {
    font-size: 0.9rem;
    margin: 0;
    font-weight: bold;
}

/* Estilos para texto com asterisco */
.asterisk-note {
    font-size: 0.75rem !important;
    font-weight: bold !important;
    display: block !important;
    margin-top: 5px !important;
    color: var(--primary-color) !important;
    line-height: 1.2 !important;
}

.card-text .asterisk-note {
    font-size: 0.75rem !important;
    font-weight: bold !important;
    display: block !important;
    margin-top: 5px !important;
    color: var(--primary-color) !important;
    line-height: 1.2 !important;
}

/* Estilos para texto com asterisco em cards de produtos */
.produtos-grid .card-text .asterisk-note {
    font-size: 0.75rem !important;
    font-weight: bold !important;
    display: block !important;
    margin-top: 5px !important;
    color: var(--primary-color) !important;
    line-height: 1.2 !important;
}
